mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r5396] Purpose:
Bug Fix Description: Placed quotes around strings which could be empty so that the shell script doesn't complain to us about "too many arguments for test" problems. Platforms tested: Linux
This commit is contained in:
parent
0cf1b5cee2
commit
8e13c3a260
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user