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

Fixed Fortran test

This commit is contained in:
Anthony Scemama 2021-06-02 11:54:07 +02:00
parent 6ee9221f33
commit ed66a8c0cf
3 changed files with 4 additions and 1591 deletions

View File

@ -81,7 +81,7 @@ tests_test_c_LDFLAGS = -no-install
test_trexio_f = $(srcdir)/tests/trexio_f.f90 test_trexio_f = $(srcdir)/tests/trexio_f.f90
tests_test_f_SOURCES = $(trexio_f) $(test_trexio_f) tests_test_f_SOURCES = tests/test_f.f90 $(test_trexio_f)
tests_test_f_LDADD = src/libtrexio.la tests_test_f_LDADD = src/libtrexio.la
tests_test_f_LDFLAGS = -no-install tests_test_f_LDFLAGS = -no-install

File diff suppressed because it is too large Load Diff

View File

@ -100,12 +100,11 @@ elif test "x${hdf5}" = xyes; then
AC_CHECK_HEADERS([hdf5.h]) AC_CHECK_HEADERS([hdf5.h])
AC_CHECK_LIB([hdf5], [H5open], [], [have_hdf5=no]) AC_CHECK_LIB([hdf5], [H5open], [], [have_hdf5=no])
# If HDF5 is not configured, try using pkg-config
if test "x${have_hdf5}" = xno; then if test "x${have_hdf5}" = xno; then
# If HDF5 is not configured, try using pkg-config
PKG_CHECK_MODULES([HDF5], [hdf5 >= 1.8]) PKG_CHECK_MODULES([HDF5], [hdf5 >= 1.8])
CFLAGS="${HDF5_CFLAGS} ${CFLAGS}" CFLAGS="$(pkg-config --cflags hdf5) ${CFLAGS}"
FCFLAGS="${HDF5_CFLAGS} ${FCFLAGS}" LDFLAGS="$(pkg-config --libs hdf5) -lhdf5_hl ${LDFLAGS}"
LIBS="${HDF5_LIBS} -lhdf5_hl ${LIBS}"
PKG_HDF5="hdf5" PKG_HDF5="hdf5"
PKG_LIBS="${PKG_LIBS} -lhdf5_hl" PKG_LIBS="${PKG_LIBS} -lhdf5_hl"
else else