#! /bin/sh
-# From configure.in Id: configure.in 59458 2009-03-09 22:41:02Z VZ .
+# From configure.in Id: configure.in 59561 2009-03-15 16:07:56Z KO .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
#
-if test "$cross_compiling" = "yes"; then
+if test "$cross_compiling" != "no"; then
HOST_PREFIX="${host_alias}-"
HOST_SUFFIX="-$host_alias"
else
fi
-if test "$cross_compiling" = "yes"; then
+if test "$cross_compiling" != "no"; then
OSINFO="\"$host\""
else
OSINFO=`uname -s -r -m`
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
-if test "$cross_compiling" = "yes"; then
+dnl notice that if --host was given but --build was not, cross_compiling is
+dnl only set to "maybe" and not "yes" and will be either set to "yes" later or
+dnl configure will exit with error in AC_PROG_CC so don't test for = "yes" here
+if test "$cross_compiling" != "no"; then
HOST_PREFIX="${host_alias}-"
HOST_SUFFIX="-$host_alias"
else
dnl get the string with OS info - used by wxGetOsDescription() on MacOS X
dnl ---------------------------------------------------------------------------
-if test "$cross_compiling" = "yes"; then
+if test "$cross_compiling" != "no"; then
dnl Use best guess from host as we can't use uname when cross compiling
OSINFO="\"$host\""
else