From e8732c36112d69f0091e05ef00b8c9203e3f9c9f Mon Sep 17 00:00:00 2001 From: q-posev Date: Wed, 9 Jun 2021 13:57:11 +0200 Subject: [PATCH] print HDF5 version in the configure output --- configure.ac | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index ae24f4b..488be87 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,6 @@ AC_SUBST([VERSION_MINOR]) AC_SUBST([VERSION_PATCH]) - ## ------------------- ## Checks for programs ## ------------------- @@ -88,8 +87,7 @@ CPPFLAGS="${HDF5_CPPFLAGS} ${CPPFLAGS}" LDFLAGS="${HDF5_LDFLAGS} ${LDFLAGS}" LIBS="${HDF5_LIBS} ${LIBS}" - -# Check if hdf5 if available with pkg-config +# Check if HDF5 if available with pkg-config PKG_CHECK_MODULES([HDF5], [hdf5 >= 1.8], [ PKG_HDF5="hdf5" @@ -169,7 +167,8 @@ LDFLAGS .......: ${LDFLAGS} LIBS ..........: ${LIBS} Package features: - Compilation with HDF5: ${with_hdf5} + Compilation with HDF5...: ${with_hdf5} + HDF5 version............: ${HDF5_VERSION} Now type 'make @<:@@:>@' where the optional is: