projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
978a698
)
Make sure AC_CHECK_DECL is run *after* AC_PROG_CC.
author
Chris Hanson
<org/chris-hanson/cph>
Mon, 14 Dec 2009 00:02:07 +0000
(16:02 -0800)
committer
Chris Hanson
<org/chris-hanson/cph>
Mon, 14 Dec 2009 00:02:07 +0000
(16:02 -0800)
src/microcode/configure.ac
patch
|
blob
|
history
diff --git
a/src/microcode/configure.ac
b/src/microcode/configure.ac
index c66f4d0fcbee32895bc16b66aac78910f653e5e9..2ac03f540caea61a56450b05d306b1c350c24526 100644
(file)
--- 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