From efb8d6305f86a7246f0afd454968cb0490c8d2de Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Thu, 25 Oct 2007 22:43:57 +0000 Subject: [PATCH] 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 --- configure | 4 ++-- configure.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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//'` -- 2.45.2