]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix SF # 614587, configure.in patch from Tim Rice
authorNeal Norwitz <nnorwitz@gmail.com>
Wed, 25 Sep 2002 20:35:57 +0000 (20:35 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Wed, 25 Sep 2002 20:35:57 +0000 (20:35 +0000)
Need to quote $GCC in case it isn't set.

configure
configure.in

index 6f1df7820974d098bcf4121e17f067d2fdfbc1d8..c8047edab322d01747535e38147ff0fc0c771167 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# From configure.in Revision: 1.288.6.7 
+# From configure.in Revision: 1.288.6.8 
 
 # Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using autoconf version 2.13 
@@ -1664,7 +1664,7 @@ fi
 
 if test -z "$OPT"
 then
-       case $GCC in
+       case "$GCC" in
        yes)
                case $ac_cv_prog_cc_g in
        yes)
@@ -1996,7 +1996,7 @@ fi
 # some of the headers (Redhat 6 if kernel headers don't match glibc
 # headers). Thus, disable warnings. This can go away if autoconf 2.50
 # is used, since it considers the gcc status to determine errors.
-if test $GCC = yes
+if test "$GCC" = yes
 then
    CPPFLAGS_save=$CPPFLAGS
    CPPFLAGS="$CPPFLAGS -w"
@@ -2049,7 +2049,7 @@ fi
 done
 
 
-if test $GCC = yes
+if test "$GCC" = yes
 then
    CPPFLAGS=$CPPFLAGS_save
 fi
index d997e0c7debe925b76a851a5ee5219a72fa860e8..547908ef5ec682d95aae9ecbe44e7f68f74679ed 100644 (file)
@@ -373,7 +373,7 @@ fi],
 AC_SUBST(OPT)
 if test -z "$OPT"
 then
-       case $GCC in
+       case "$GCC" in
        yes)
                case $ac_cv_prog_cc_g in
        yes)
@@ -526,7 +526,7 @@ AC_HEADER_STDC
 # some of the headers (Redhat 6 if kernel headers don't match glibc
 # headers). Thus, disable warnings. This can go away if autoconf 2.50
 # is used, since it considers the gcc status to determine errors.
-if test $GCC = yes
+if test "$GCC" = yes
 then
    CPPFLAGS_save=$CPPFLAGS
    CPPFLAGS="$CPPFLAGS -w"
@@ -540,7 +540,7 @@ sys/param.h sys/poll.h sys/select.h sys/socket.h sys/time.h sys/times.h \
 sys/un.h sys/utsname.h sys/wait.h pty.h term.h libutil.h \
 ndbm.h db1/ndbm.h gdbm/ndbm.h sys/resource.h netpacket/packet.h)
 
-if test $GCC = yes
+if test "$GCC" = yes
 then
    CPPFLAGS=$CPPFLAGS_save
 fi