From 2daeae549f78cc0123e51491c40bb187afd679f9 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Thu, 6 Feb 2020 07:47:15 -0700 Subject: [PATCH] fixed call to AC_SUBST inside an if-endif in configure.ac --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 23795b60e..c015e67bf 100644 --- a/configure.ac +++ b/configure.ac @@ -1062,7 +1062,6 @@ if test "x$enable_hdf5" = xyes; then fi AC_MSG_CHECKING([whether HDF5 is version 1.10.3 or greater]) AC_MSG_RESULT([$ac_cv_func_H5Dread_chunk]) - AC_SUBST([HAS_PAR_FILTERS], [$hdf5_supports_par_filters]) # Check to see if we need to search for and link against szlib. if test "x$ac_cv_func_H5Z_SZIP" = xyes; then @@ -1070,14 +1069,14 @@ if test "x$enable_hdf5" = xyes; then [AC_MSG_ERROR([libhdf5 installed with szip support, but cannot find or link to the szip library.])]) fi - + # Check to see if user asked for parallel build, but HDF5 does not support it. if test "x$hdf5_parallel" = "xno"; then if test "x$enable_parallel_tests" = "xyes"; then AC_MSG_ERROR([Parallel tests requested, but no parallel HDF5 installation detected.]) fi fi - # The user may have built HDF5 with the SZLIB library. + # Check whether HDF5 was built with the SZLIB library. AC_MSG_CHECKING([whether szlib was used when building HDF5]) enable_szlib=no if test "x$ac_cv_func_H5Z_SZIP" = xyes; then @@ -1088,6 +1087,7 @@ if test "x$enable_hdf5" = xyes; then fi AM_CONDITIONAL(HAS_PAR_FILTERS, [test x$hdf5_supports_par_filters = xyes ]) +AC_SUBST([HAS_PAR_FILTERS], [$hdf5_supports_par_filters]) # If the user wants hdf4 built in, check it out. if test "x$enable_hdf4" = xyes; then