summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-01-30 22:20:13 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-01-30 22:20:13 (GMT)
commitceec9c45d9345bb6e864a492ad49932537dd4fdc (patch)
treef5f5378eab3a5032264921b1e154159252a8dbb7 /configure
parent1e35713691e20b00fa3458c77391fbc84efbb7a5 (diff)
downloadhdf5-ceec9c45d9345bb6e864a492ad49932537dd4fdc.zip
hdf5-ceec9c45d9345bb6e864a492ad49932537dd4fdc.tar.gz
hdf5-ceec9c45d9345bb6e864a492ad49932537dd4fdc.tar.bz2
[svn-r6353] Purpose:
Update Description: Updated the configure scripts. Fortran and C++ didn't have proper checks for Linux LFS support. Also needed to remove the "-g" flag from the compile line if --enable-production is set. For that, I took how it's being done in HDF5 Lite... Platforms tested: Linux
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index c0de588..3eedd61 100755
--- a/configure
+++ b/configure
@@ -7442,6 +7442,17 @@ case "X-$enable_production" in
enable_production="yes"
echo "$as_me:$LINENO: result: production" >&5
echo "${ECHO_T}production" >&6
+
+ CFLAGS_temp=""
+ if test -n "$CFLAGS"; then
+ for d in $CFLAGS ; do
+ if test "X$d" != "X-g"; then
+ CFLAGS_temp="$CFLAGS_temp $d"
+ fi
+ done
+ CFLAGS=$CFLAGS_temp
+ fi
+
CONFIG_MODE=production
CFLAGS="$CFLAGS $PROD_CFLAGS"
CPPFLAGS="$CPPFLAGS $PROD_CPPFLAGS"