mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-03 10:06:01 +01:00
Merge branch 'master' of github.com:TREX-CoE/trexio
This commit is contained in:
commit
baf94a2700
@ -49,6 +49,7 @@ m4_version_prereq([2.70],[], [AC_PROG_CC_C99])
|
|||||||
AS_IF([test "$ac_cv_prog_cc_c99" = "no"],
|
AS_IF([test "$ac_cv_prog_cc_c99" = "no"],
|
||||||
[AC_MSG_ERROR([The compiler does not support C99])])
|
[AC_MSG_ERROR([The compiler does not support C99])])
|
||||||
AC_PROG_CC_C_O
|
AC_PROG_CC_C_O
|
||||||
|
AM_PROG_CC_C_O
|
||||||
|
|
||||||
|
|
||||||
# Fortran API [default: --with-fortran], do not disable in the dev mode
|
# 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
|
Configuring with the HDF5 library is
|
||||||
recommended to build efficient TREXIO.
|
recommended to build efficient TREXIO.
|
||||||
------------------------------------------])
|
------------------------------------------])
|
||||||
|
else
|
||||||
|
AC_HAVE_LIBRARY([hdf5_hl], [], AC_MSG_ERROR([
|
||||||
|
-----------------------------------
|
||||||
|
Error: hdf5_hl library is required
|
||||||
|
-----------------------------------
|
||||||
|
]), [])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CFLAGS="${HDF5_CFLAGS} ${CFLAGS}"
|
CFLAGS="${HDF5_CFLAGS} ${CFLAGS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user