[Python-checkins] r78820 - in python/branches/release26-maint: configure configure.in
benjamin.peterson
python-checkins at python.org
Tue Mar 9 22:47:29 CET 2010
Author: benjamin.peterson
Date: Tue Mar 9 22:47:28 2010
New Revision: 78820
Log:
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
........
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/configure
python/branches/release26-maint/configure.in
Modified: python/branches/release26-maint/configure
==============================================================================
--- python/branches/release26-maint/configure (original)
+++ python/branches/release26-maint/configure Tue Mar 9 22:47:28 2010
@@ -4578,7 +4578,7 @@
# 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)
Modified: python/branches/release26-maint/configure.in
==============================================================================
--- python/branches/release26-maint/configure.in (original)
+++ python/branches/release26-maint/configure.in Tue Mar 9 22:47:28 2010
@@ -863,7 +863,7 @@
# 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)
More information about the Python-checkins
mailing list