summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2013-04-01 02:16:00 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2013-04-01 02:16:00 (GMT)
commit91bcf7432e992d58741fe1925bb93bf32feb3358 (patch)
treef279fcd4a483dc25229eeabae8045fc4d6ae52ed
parenta46ee1a136ca7f62879a536cf3905b8fe0c768f2 (diff)
downloadhdf5-91bcf7432e992d58741fe1925bb93bf32feb3358.zip
hdf5-91bcf7432e992d58741fe1925bb93bf32feb3358.tar.gz
hdf5-91bcf7432e992d58741fe1925bb93bf32feb3358.tar.bz2
[svn-r23506] reverted changes in FFLAGS setting.
Tested: jam (gnu)
-rwxr-xr-xconfigure10
-rw-r--r--configure.ac8
2 files changed, 11 insertions, 7 deletions
diff --git a/configure b/configure
index 812a748..978a277 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Id: configure.ac 23440 2013-03-24 21:34:35Z hdftest .
+# From configure.ac Id: configure.ac 23504 2013-03-31 21:36:11Z hdftest .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for HDF5 1.8.11-snap16.
#
@@ -5246,9 +5246,11 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
## --------------------------------------------------------------------
## General Fortran flags
- ##
- AM_FCFLAGS="${AM_FCFLAGS} ${FFLAGS}"
- FCFLAGS="${FCFLAGS} ${FFLAGS}"
+ ## Only add FFLAGS to FCFLAGS if it's set.
+ if test "x$FFLAGS" != "x" ; then
+ AM_FCFLAGS="${AM_FCFLAGS} ${FFLAGS}"
+ FCFLAGS="${FCFLAGS} ${FFLAGS}"
+ fi
## --------------------------------------------------------------------
## Fortran source extention
diff --git a/configure.ac b/configure.ac
index 1768a71..60d2501 100644
--- a/configure.ac
+++ b/configure.ac
@@ -434,9 +434,11 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
## --------------------------------------------------------------------
## General Fortran flags
- ##
- AM_FCFLAGS="${AM_FCFLAGS} ${FFLAGS}"
- FCFLAGS="${FCFLAGS} ${FFLAGS}"
+ ## Only add FFLAGS to FCFLAGS if it's set.
+ if test "x$FFLAGS" != "x" ; then
+ AM_FCFLAGS="${AM_FCFLAGS} ${FFLAGS}"
+ FCFLAGS="${FCFLAGS} ${FFLAGS}"
+ fi
## --------------------------------------------------------------------
## Fortran source extention