summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure1
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index f5bf889..77a76ae 100755
--- a/configure
+++ b/configure
@@ -5246,6 +5246,7 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
## General Fortran flags
## Only add FFLAGS to FCFLAGS if it's set.
if test "x$FFLAGS" != "x" ; then
+ AM_FCFLAGS="${AM_FCFLAGS} ${FFLAGS}"
FCFLAGS="${FCFLAGS} ${FFLAGS}"
fi
diff --git a/configure.ac b/configure.ac
index ff5151f..ad15bdf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -436,6 +436,7 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
## General Fortran flags
## Only add FFLAGS to FCFLAGS if it's set.
if test "x$FFLAGS" != "x" ; then
+ AM_FCFLAGS="${AM_FCFLAGS} ${FFLAGS}"
FCFLAGS="${FCFLAGS} ${FFLAGS}"
fi