File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61329,7 +61329,6 @@ esac
6132961329fi
6133061330
6133161331
61332-
6133361332 if test "x$enablehdf5" = "xyes"
6133461333then :
6133561334
@@ -61369,6 +61368,11 @@ fi
6136961368
6137061369is_package_required=$hdf5required
6137161370
61371+ if test "x$is_package_required" = "xyes"
61372+ then :
61373+ with_hdf5=yes
61374+ fi
61375+
6137261376if test "x${with_hdf5}" != "xno"
6137361377then :
6137461378
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ AC_DEFUN([CONFIGURE_HDF5],
3333 [ AC_MSG_ERROR ( bad value ${enableval} for -- enable-hdf5-required ) ] ) ] ,
3434 [ hdf5required=no] )
3535
36-
3736 AS_IF ( [ test "x$enablehdf5" = "xyes"] ,
3837 [
3938 AX_PATH_HDF5(1.8.0,$hdf5required)
@@ -120,6 +119,14 @@ dnl expands to the string in 'equal', otherwise to the string in
120119dnl 'not-equal'.
121120is_package_required=ifelse ( [ $2 ] , ,no , $2 )
122121
122+ dnl If we're told that HDF5 is required, but we weren't told where to
123+ dnl look for it, let's hope it's in the compiler paths already: we'll
124+ dnl set with_hdf5=yes so that we have a chance to auto-detect it and
125+ dnl so that we hit the code paths where we scream if we don't detect
126+ dnl it (or detect too old a version of it).
127+ AS_IF ( [ test "x$is_package_required" = "xyes"] ,
128+ [ with_hdf5=yes] )
129+
123130AS_IF ( [ test "x${with_hdf5}" != "xno"] ,
124131 [
125132 AS_IF ( [ test -d "${HDF5_PREFIX}/lib"] ,
You can’t perform that action at this time.
0 commit comments