This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libcpp/configure


libcpp/configure falls over on a Solaris 9 machine (not tested on
others)

[spimcmw@taskmaster libcpp]1% uname -a
SunOS taskmaster 5.9 Generic_118558-06 sun4u sparc SUNW,Sun-Fire-V240
[spimcmw@taskmaster libcpp]0%

Adding quotes to the appropriate line fixes the problem:

[spimcmw@taskmaster libcpp]1% diff
configure /software/system/src/gcc/gcc-4.0.0/libcpp/
2760c2760
< if test $GCC = yes; then
---
> if test "$GCC" = yes; then
[spimcmw@taskmaster libcpp]1%

These quotes are in place in other tests:

[spimcmw@taskmaster libcpp]0% grep -n GCC configure | grep test
2145:GCC=`test $ac_compiler_gnu = yes && echo yes`
2205:  if test "$GCC" = yes; then
2211:  if test "$GCC" = yes; then
2760:if test $GCC = yes; then
6386:if test "$GCC" = yes; then
6721:                  if test -n "$GCC"; then
6765:                        if test -n "$GCC"; then
[spimcmw@taskmaster libcpp]0%



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]