hdf5/hdf5-1.8.11-abort_unknown_host_config.patch
Atri Bhattacharya 1d8bf0ac15 Accepting request 992096 from home:badshah400:hdf5
- Update to version 1.12.2
- Minor re-base of existing patches to apply cleanly:
- Drop upstreamed patch: hdf5-1.10.8-pr1494-fix-release-check-version.patch.

OBS-URL: https://build.opensuse.org/request/show/992096
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=155
2022-08-11 19:19:20 +00:00

27 lines
778 B
Diff

Index: configure
===================================================================
--- configure.orig
+++ configure
@@ -4343,6 +4343,8 @@ done
if test "X$host_config" != "Xnone"; then
CC_BASENAME="`echo $CC | cut -f1 -d' ' | xargs basename 2>/dev/null`"
. $host_config
+else
+ as_fn_error $? "no usable host config found" "$LINENO" 5
fi
## Source any special site-specific file
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -330,6 +330,8 @@ done
if test "X$host_config" != "Xnone"; then
CC_BASENAME="`echo $CC | cut -f1 -d' ' | xargs basename 2>/dev/null`"
. $host_config
+else
+ AC_MSG_ERROR([no usable host config found])
fi
## Source any special site-specific file