handle an empty OPT variable correctly #8100

This commit is contained in:
Benjamin Peterson 2010-03-09 21:43:36 +00:00
parent 4d42f2b4d1
commit 3281067e09
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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)

View File

@ -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)