From 603917f64f661aa76a2ee21ba181b940962f0346 Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 13 Dec 2001 10:09:38 +0000 Subject: [PATCH] don't call config.guess ourselves, let autoconf do it. (This way, the user can supply options to configure when cross compiling) --- aclocal.m4 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 9869169..66a1b30 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -12,11 +12,9 @@ export CROSSCOMPILE if test "x${CROSSCOMPILE}" = "x1"; then AC_MSG_RESULT(we are cross compiling- trying to guess from system type) - AC_MSG_CHECKING(for system type) - systemguess=`./config.guess` - AC_MSG_RESULT(${systemguess}) + AC_CANONICAL_SYSTEM AC_MSG_CHECKING([for byte order, try 2]) - case "${systemguess}" in + case "${target}" in *86* | *-pc-* ) LITTLEENDIAN=1 ;; -- 1.7.10.4