1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-23 04:43:57 +01:00

print HDF5 version in the configure output

This commit is contained in:
q-posev 2021-06-09 13:57:11 +02:00
parent 57b2b63902
commit e8732c3611

View File

@ -21,7 +21,6 @@ AC_SUBST([VERSION_MINOR])
AC_SUBST([VERSION_PATCH]) AC_SUBST([VERSION_PATCH])
## ------------------- ## -------------------
## Checks for programs ## Checks for programs
## ------------------- ## -------------------
@ -88,8 +87,7 @@ CPPFLAGS="${HDF5_CPPFLAGS} ${CPPFLAGS}"
LDFLAGS="${HDF5_LDFLAGS} ${LDFLAGS}" LDFLAGS="${HDF5_LDFLAGS} ${LDFLAGS}"
LIBS="${HDF5_LIBS} ${LIBS}" 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_CHECK_MODULES([HDF5], [hdf5 >= 1.8], [
PKG_HDF5="hdf5" PKG_HDF5="hdf5"
@ -169,7 +167,8 @@ LDFLAGS .......: ${LDFLAGS}
LIBS ..........: ${LIBS} LIBS ..........: ${LIBS}
Package features: Package features:
Compilation with HDF5: ${with_hdf5} Compilation with HDF5...: ${with_hdf5}
HDF5 version............: ${HDF5_VERSION}
Now type 'make @<:@<target>@:>@' Now type 'make @<:@<target>@:>@'
where the optional <target> is: where the optional <target> is: