summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-09 21:46:49 +0000
committerBenjamin Peterson <benjamin@python.org>2010-03-09 21:46:49 +0000
commit1718bd13908cb6153a6ce47b6192062ee31bdcc0 (patch)
tree3dc1415a390781ff80668325f1e7e5113e4ea12d
parent92fb9410a833953ef70305b6b23ff74a58302e6f (diff)
downloadcpython-git-1718bd13908cb6153a6ce47b6192062ee31bdcc0.tar.gz
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 ........
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index bcb8205cbb..7481efeadd 100755
--- a/configure
+++ b/configure
@@ -4521,7 +4521,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 d1f3a5e3eb..7c7647980e 100644
--- a/configure.in
+++ b/configure.in
@@ -819,7 +819,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)