From 3281067e0914637d9ca68056cb9ce657d67d0f06 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 9 Mar 2010 21:43:36 +0000 Subject: [PATCH] handle an empty OPT variable correctly #8100 --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)