summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-09 21:43:36 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-03-09 21:43:36 (GMT)
commit3281067e0914637d9ca68056cb9ce657d67d0f06 (patch)
tree3164fab33a85aa7ed488af342ee18bf6378cc0fc /configure
parent4d42f2b4d1287f369295be206d962d86a3a0cb25 (diff)
downloadcpython-3281067e0914637d9ca68056cb9ce657d67d0f06.zip
cpython-3281067e0914637d9ca68056cb9ce657d67d0f06.tar.gz
cpython-3281067e0914637d9ca68056cb9ce657d67d0f06.tar.bz2
handle an empty OPT variable correctly #8100
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 56e6030..90bcad4 100755
--- a/configure
+++ b/configure
@@ -4596,7 +4596,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)