diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-01-30 22:20:13 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-01-30 22:20:13 (GMT) |
commit | ceec9c45d9345bb6e864a492ad49932537dd4fdc (patch) | |
tree | f5f5378eab3a5032264921b1e154159252a8dbb7 /configure | |
parent | 1e35713691e20b00fa3458c77391fbc84efbb7a5 (diff) | |
download | hdf5-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-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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" |