diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-05-10 22:22:21 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-05-10 22:22:21 (GMT) |
commit | cb91fd22e6cf4b206a36ff098585f28b903f2740 (patch) | |
tree | 7febcab5ee2fc46794be9b235effaaab0cb1aa7a | |
parent | 848cbd9f8d7de52711c81c70b0e600639b4489b0 (diff) | |
download | hdf5-cb91fd22e6cf4b206a36ff098585f28b903f2740.zip hdf5-cb91fd22e6cf4b206a36ff098585f28b903f2740.tar.gz hdf5-cb91fd22e6cf4b206a36ff098585f28b903f2740.tar.bz2 |
[svn-r5398] Purpose:
Bug Fix
Description:
Put quotes around some of the shell environment variables sothat, if
htey're blank, then they won't cause the shell to output a "too many
arguments" warning during configuration.
Platforms tested:
Linux
-rw-r--r-- | config/gnu-flags | 7 | ||||
-rw-r--r-- | fortran/config/gnu-flags | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/config/gnu-flags b/config/gnu-flags index b60ca93..951cc30 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -34,7 +34,7 @@ if test X = "X$cc_flags_set"; then fi # GCC compilers before gcc-2.8.1 have problems with `long long'. -if test gcc = $cc_vendor -a $cc_vers_all -lt 2008001; then +if test gcc = "$cc_vendor" -a "$cc_vers_all" -lt 2008001; then cat <<EOF ** ** This compiler may be unable to properly compile the long long @@ -49,7 +49,7 @@ EOF # Current EGCS compilers have problems with `long long' and register # allocation when optimizations are turned on for x86 systems. -elif test egcs = $cc_vendor -a $cc_vers_all -le 2091066; then +elif test egcs = "$cc_vendor" -a "$cc_vers_all" -le 2091066; then if test "$HSIZET" != "large"; then cat <<EOF ** @@ -62,7 +62,7 @@ EOF fi # All current versions of PGCC have problems also. -elif test pgcc = $cc_vendor -a $cc_vers_all -le 2091066; then +elif test pgcc = "$cc_vendor" -a "$cc_vers_all" -le 2091066; then cat <<EOF ** ** This compiler may have problems allocating registers for long @@ -73,7 +73,6 @@ elif test pgcc = $cc_vendor -a $cc_vers_all -le 2091066; then ** EOF sleep 5 - fi # Architecture-specific flags diff --git a/fortran/config/gnu-flags b/fortran/config/gnu-flags index 99c9419..a14d70e 100644 --- a/fortran/config/gnu-flags +++ b/fortran/config/gnu-flags @@ -34,7 +34,7 @@ if test X = "X$cc_flags_set"; then fi # GCC compilers before gcc-2.8.1 have problems with `long long'. -if test gcc = $cc_vendor -a $cc_vers_all -lt 2008001; then +if test gcc = "$cc_vendor" -a "$cc_vers_all" -lt 2008001; then cat <<EOF ** ** This compiler may be unable to properly compile the long long @@ -49,7 +49,7 @@ EOF # Current EGCS compilers have problems with `long long' and register # allocation when optimizations are turned on for x86 systems. -elif test egcs = $cc_vendor -a $cc_vers_all -le 2091066; then +elif test egcs = "$cc_vendor" -a "$cc_vers_all" -le 2091066; then cat <<EOF ** ** This compiler may have problems allocating registers when @@ -60,7 +60,7 @@ EOF sleep 5 # All current versions of PGCC have problems also. -elif test pgcc = $cc_vendor -a $cc_vers_all -le 2091066; then +elif test pgcc = "$cc_vendor" -a "$cc_vers_all" -le 2091066; then cat <<EOF ** ** This compiler may have problems allocating registers for long |