From: Benjamin Peterson Date: Tue, 9 Mar 2010 21:47:28 +0000 (+0000) Subject: Merged revisions 78817 via svnmerge from X-Git-Tag: v2.6.5rc2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a5b6225102534736411354a3789ad9b64ccf3b7;p=python Merged revisions 78817 via svnmerge from 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 ........ --- diff --git a/configure b/configure index 7294edc208..1be4632065 100755 --- 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) diff --git a/configure.in b/configure.in index 7eea51f1e0..6b002c40e2 100644 --- a/configure.in +++ b/configure.in @@ -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)