From: kramm Date: Thu, 13 Dec 2001 10:09:38 +0000 (+0000) Subject: don't call config.guess ourselves, let autoconf do it. (This way, the X-Git-Tag: release-0-2-1~30 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=603917f64f661aa76a2ee21ba181b940962f0346 don't call config.guess ourselves, let autoconf do it. (This way, the user can supply options to configure when cross compiling) --- 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 ;;