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 70d5cb565e..d736fb7705 100755
--- a/configure
+++ b/configure
@@ -4533,7 +4533,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 219e9256f8..9c8bde224d 100644
--- a/configure.in
+++ b/configure.in
@@ -828,7 +828,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)