diff --git a/configure b/configure index 56e6030f345..90bcad4c50d 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) diff --git a/configure.in b/configure.in index 7d14bfdfe98..5491778a0ab 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)