From 233119e18b9a480c2c2b40d4c610d4dfa8303383 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 1 May 2005 07:16:51 +0000 Subject: [PATCH] change $target logic to $host logic for cross-compiling SVN revision: 14521 --- configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index b79a785..47e5f02 100644 --- a/configure.in +++ b/configure.in @@ -75,7 +75,7 @@ AC_DEFINE_UNQUOTED(UTMP_IDENT, "`grep '$''Id:' $srcdir/src/utmp.c | sed 's/^.*\$ AC_DEFINE_UNQUOTED(WINDOWS_IDENT, "`grep '$''Id:' $srcdir/src/windows.c | sed 's/^.*\$''Id: //;s/ \$.*$//;s/.v / /;s/ Exp//'`", [windows.c RCS ID]) dnl# Check for build/host/target system types -AC_CANONICAL_TARGET +AC_CANONICAL_HOST dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure' if test ! -z "${CFLAGS}" -o ! -z "${CCOPTS}"; then @@ -506,7 +506,7 @@ HAVE_MMX_64="" AC_ARG_ENABLE(mmx, [ --enable-mmx enable MMX assembly routines], [ test "x$enableval" = "xyes" && HAVE_MMX="yes" ], [ - case $target_cpu in + case $host_cpu in i*86) grep mmx /proc/cpuinfo >/dev/null 2>&1 && HAVE_MMX="yes" ;; @@ -1050,9 +1050,9 @@ Configuration: Source code location: $srcdir Host System Type: $host Preprocessor: $CPP $CPPFLAGS - Compiler: $CC $CFLAGS + Compiler: $CC $CFLAGS Linker: $CC $LDFLAGS $LIBS - Install path: $prefix + Install path: $prefix See src/feature.h for further configuration information.