]> granicus.if.org Git - python/commitdiff
Merged revisions 78817 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Tue, 9 Mar 2010 21:46:49 +0000 (21:46 +0000)
committerBenjamin Peterson <benjamin@python.org>
Tue, 9 Mar 2010 21:46:49 +0000 (21:46 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78817 | benjamin.peterson | 2010-03-09 15:43:36 -0600 (Tue, 09 Mar 2010) | 1 line

  handle an empty OPT variable correctly #8100
........

configure
configure.in

index bcb8205cbb9aec4b10086d5e5ad429a274fc7e3a..7481efeaddcb0c871b7946e406102d4fd34f81ab 100755 (executable)
--- a/configure
+++ b/configure
@@ -4521,7 +4521,7 @@ fi
 # tweak OPT based on compiler and platform, only if the user didn't set
 # it on the command line
 
-if test -z "$OPT"
+if test "${OPT-unset}" == "unset"
 then
     case $GCC in
     yes)
index d1f3a5e3eb18a38a135c2ae3483f76d5f5e3eb74..7c7647980eb9585f5d5e5b558204b1cc373fffe4 100644 (file)
@@ -819,7 +819,7 @@ fi],
 # tweak OPT based on compiler and platform, only if the user didn't set
 # it on the command line
 AC_SUBST(OPT)
-if test -z "$OPT"
+if test "${OPT-unset}" == "unset"
 then
     case $GCC in
     yes)