From: Chris Hanson Date: Mon, 14 Dec 2009 00:02:07 +0000 (-0800) Subject: Make sure AC_CHECK_DECL is run *after* AC_PROG_CC. X-Git-Tag: 20100708-Gtk~210 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=837311e324f7d9d041ee406ff8bb24578b7b727e;p=mit-scheme.git Make sure AC_CHECK_DECL is run *after* AC_PROG_CC. --- 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