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
This commit is contained in:
Michael Wetherell
2007-10-25 22:43:57 +00:00
parent 04453a9e1e
commit efb8d6305f
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@@ -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//'`

View File

@@ -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//'`