From 9de9b8f0fcceb7c41a5002b65ab5285eb0a9fd8b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 28 Jun 2003 11:39:19 +0000 Subject: [PATCH] don't output strange "base (hosted)" message when not cross-compiling git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure | 11 +++++++++-- configure.in | 6 +++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 6e86d26164..a94ad7eae4 100755 --- 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 @@ -34725,12 +34730,13 @@ fi 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 diff --git a/configure.in b/configure.in index f3bcffeadb..dcecf7cf1c 100644 --- a/configure.in +++ b/configure.in @@ -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 --------------------------------------------------------------------------- -- 2.47.2