[Python-checkins] r78818 - in python/branches/py3k: configure configure.in
benjamin.peterson
python-checkins at python.org
Tue Mar 9 22:46:49 CET 2010
Author: benjamin.peterson
Date: Tue Mar 9 22:46:49 2010
New Revision: 78818
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/py3k/ (props changed)
python/branches/py3k/configure
python/branches/py3k/configure.in
Modified: python/branches/py3k/configure
==============================================================================
--- python/branches/py3k/configure (original)
+++ python/branches/py3k/configure Tue Mar 9 22:46:49 2010
@@ -4521,7 +4521,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/py3k/configure.in
==============================================================================
--- python/branches/py3k/configure.in (original)
+++ python/branches/py3k/configure.in Tue Mar 9 22:46:49 2010
@@ -819,7 +819,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