1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-07-22 10:47:43 +02:00

Merge branch 'master' of github.com:TREX-CoE/trexio

This commit is contained in:
Anthony Scemama 2022-12-26 13:36:35 +01:00
commit baf94a2700

View File

@ -49,6 +49,7 @@ m4_version_prereq([2.70],[], [AC_PROG_CC_C99])
AS_IF([test "$ac_cv_prog_cc_c99" = "no"],
[AC_MSG_ERROR([The compiler does not support C99])])
AC_PROG_CC_C_O
AM_PROG_CC_C_O
# Fortran API [default: --with-fortran], do not disable in the dev mode
@ -128,6 +129,12 @@ if test "x${with_hdf5}" = xno; then
Configuring with the HDF5 library is
recommended to build efficient TREXIO.
------------------------------------------])
else
AC_HAVE_LIBRARY([hdf5_hl], [], AC_MSG_ERROR([
-----------------------------------
Error: hdf5_hl library is required
-----------------------------------
]), [])
fi
CFLAGS="${HDF5_CFLAGS} ${CFLAGS}"