mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-12-23 04:43:57 +01:00
Fixed Fortran test
This commit is contained in:
parent
6ee9221f33
commit
ed66a8c0cf
@ -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
|
||||||
|
|
||||||
|
1586
Makefile.in
1586
Makefile.in
File diff suppressed because it is too large
Load Diff
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user