]> git.saurik.com Git - wxWidgets.git/commitdiff
don't output strange "base (hosted)" message when not cross-compiling
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 28 Jun 2003 11:39:19 +0000 (11:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 28 Jun 2003 11:39:19 +0000 (11:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 6e86d26164662a9c2dd2437507f30718b1e1d696..a94ad7eae49fc8da4aeecea43e4fb70149e17ef3 100755 (executable)
--- a/configure
+++ b/configure
@@ -9494,8 +9494,13 @@ echo "${ECHO_T}$toolkit_echo" >&6
       fi
     done
 else
-    echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
+    if test "x$host_alias" != "x"; then
+        echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
 echo "${ECHO_T}base ($host_alias hosted) only" >&6
+    else
+        echo "$as_me:$LINENO: result: base only" >&5
+echo "${ECHO_T}base only" >&6
+    fi
 fi
 
 wants_win32=0
           ac_config_commands="$ac_config_commands default"
 
 
+
 if test "$wxUSE_GUI" = "yes"; then
     SUBDIRS="samples demos utils contrib"
 else         SUBDIRS="samples utils"
 fi
 
-for subdir in `echo $SUBDIRS`; do
+for subdir in echo `$SUBDIRS`; do
     if test -d ${srcdir}/${subdir} ; then
         if test "$wxUSE_GUI" = "yes"; then
             makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
@@ -34750,6 +34756,7 @@ for subdir in `echo $SUBDIRS`; do
     fi
 done
 
+
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure
index f3bcffeadb5b8411527f207e52845a94f64cd9e3..dcecf7cf1c9c3704a5b1c35785bd91084e25a5cb 100644 (file)
@@ -1186,7 +1186,11 @@ if test "$wxUSE_GUI" = "yes"; then
       fi
     done
 else
-    AC_MSG_RESULT(base ($host_alias hosted) only)
+    if test "x$host_alias" != "x"; then
+        AC_MSG_RESULT(base ($host_alias hosted) only)
+    else
+        AC_MSG_RESULT(base only)
+    fi
 fi
 
 dnl ---------------------------------------------------------------------------