This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libcpp/configure
- From: Chris Webb <c dot webb at iop dot kcl dot ac dot uk>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 May 2005 09:02:31 +0100
- Subject: 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%