From: Michael Wetherell <mike.wetherell@ntlworld.com>
Date: Thu, 25 Oct 2007 22:43:57 +0000 (+0000)
Subject: Fix missing word 'test' causing 'yes' to run during configure on Solaris.
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/efb8d6305f86a7246f0afd454968cb0490c8d2de

Fix missing word 'test' causing 'yes' to run during configure on Solaris.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/configure b/configure
index 6aa5b0b12e..d74a1b7d37 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Id: configure.in 49352 2007-10-23 13:40:27Z VZ .
+# From configure.in Id: configure.in 49376 2007-10-23 22:19:34Z VZ .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
 #
@@ -52537,7 +52537,7 @@ WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
 
 case "${host}" in
     *-*-solaris2* )
-                        if "$GCC" = yes; then
+                        if test "$GCC" = yes; then
             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
             LIBS=`echo $LIBS | sed 's/-mt//'`
             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
diff --git a/configure.in b/configure.in
index 30bc78ef17..98ecc0812b 100644
--- a/configure.in
+++ b/configure.in
@@ -7680,7 +7680,7 @@ case "${host}" in
     *-*-solaris2* )
         dnl system packages are compiled with Sun CC and so pkg-config outputs
         dnl CC-specific "-mt" flag, remove it when using gcc
-        if "$GCC" = yes; then
+        if test "$GCC" = yes; then
             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
             LIBS=`echo $LIBS | sed 's/-mt//'`
             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`