From 837311e324f7d9d041ee406ff8bb24578b7b727e Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 13 Dec 2009 16:02:07 -0800 Subject: [PATCH] Make sure AC_CHECK_DECL is run *after* AC_PROG_CC. --- src/microcode/configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/microcode/configure.ac b/src/microcode/configure.ac index c66f4d0fc..2ac03f540 100644 --- a/src/microcode/configure.ac +++ b/src/microcode/configure.ac @@ -203,11 +203,6 @@ EXE_NAME= INSTALL_INCLUDE= AC_CANONICAL_HOST -case ${host_cpu} in -i?86) - AC_CHECK_DECL([__x86_64__],[host_cpu=x86_64]) - ;; -esac dnl Save these prior to running AC_PROG_CC. SAVED_CFLAGS=${CFLAGS} @@ -273,6 +268,11 @@ if test "x${FOO}" != x; then fi CCLD=${CC} +case ${host_cpu} in +i?86) + AC_CHECK_DECL([__x86_64__],[host_cpu=x86_64]) + ;; +esac AC_MSG_CHECKING([for native-code support]) SCM_ARCH=`"${srcdir}"/choose-arch.sh "${enable_native_code}" "${host_cpu}"` case ${SCM_ARCH} in -- 2.25.1