summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)