]> granicus.if.org Git - python/commitdiff
Merged revisions 78817 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Tue, 9 Mar 2010 21:47:28 +0000 (21:47 +0000)
committerBenjamin Peterson <benjamin@python.org>
Tue, 9 Mar 2010 21:47:28 +0000 (21:47 +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 7294edc208f83cfb1c0c2fedf2f663beefb9c277..1be46320650622b49c9b803c7bc100a3cecdec83 100755 (executable)
--- a/configure
+++ b/configure
@@ -4578,7 +4578,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 7eea51f1e0080537788e3520ee8b3f2de2d82db5..6b002c40e2b7536e502fd50614cf86547363da3a 100644 (file)
@@ -863,7 +863,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)