summaryrefslogtreecommitdiffstats
path: root/configure.in
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.in
parent4d42f2b4d1287f369295be206d962d86a3a0cb25 (diff)
downloadcpython-3281067e0914637d9ca68056cb9ce657d67d0f06.zip
cpython-3281067e0914637d9ca68056cb9ce657d67d0f06.tar.gz
cpython-3281067e0914637d9ca68056cb9ce657d67d0f06.tar.bz2
handle an empty OPT variable correctly #8100
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 7d14bfd..5491778 100644
--- a/configure.in
+++ b/configure.in
@@ -881,7 +881,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)