From 3e8e6c74ed04267747d7c987b32aff704c2203b5 Mon Sep 17 00:00:00 2001 From: q-posev Date: Mon, 3 May 2021 15:05:54 +0200 Subject: [PATCH] updated FCFLAGS when HDF5 is found with pkg-config --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index a490995..2c5f481 100644 --- a/configure.ac +++ b/configure.ac @@ -71,6 +71,7 @@ elif test "x${hdf5}" = xyes; then if test "x${have_hdf5}" = xno; then PKG_CHECK_MODULES([HDF5], [hdf5 >= 1.8]) CFLAGS="${HDF5_CFLAGS} ${CFLAGS}" + FCFLAGS="${HDF5_CFLAGS} ${FCFLAGS}" LIBS="${HDF5_LIBS} -lhdf5_hl ${LIBS}" fi