From: Benjamin Peterson Date: Wed, 10 Mar 2010 22:28:52 +0000 (+0000) Subject: Merged revisions 78818 via svnmerge from X-Git-Tag: v3.1.2~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2417634087b6532ad555b4fa367aceb0ebab44cc;p=python Merged revisions 78818 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r78818 | benjamin.peterson | 2010-03-09 15:46:49 -0600 (Tue, 09 Mar 2010) | 9 lines 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 70d5cb565e..d736fb7705 100755 --- a/configure +++ b/configure @@ -4533,7 +4533,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 219e9256f8..9c8bde224d 100644 --- a/configure.in +++ b/configure.in @@ -828,7 +828,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)