1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-10-02 14:31:05 +02:00

Check for C99

This commit is contained in:
Anthony Scemama 2021-05-28 12:16:32 +02:00
parent 1c0b17f809
commit e46d314a5f

View File

@ -22,6 +22,9 @@ PKG_LIBS=""
PKG_CFLAGS=""
# Checks for programs.
AC_PROG_CC
# Make sure the c compiler supports C99
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
AC_PROG_FC
@ -32,6 +35,7 @@ AC_PROG_FC_C_O
AC_PROG_INSTALL
AC_PROG_LN_S
# Configure with HDF5 (default: --with-hdf5 using pkg-config) [optional]:
# ./configure [--with-hdf5 or --with-hdf5=yes]
# Configure with user-provided path to HDF5: