From: Matt Birkholz Date: Sat, 4 Feb 2017 00:49:19 +0000 (-0700) Subject: microcode/mit_scheme_native_code.m4: Copy master's aclocal.m4. X-Git-Tag: mit-scheme-pucked-9.2.12~228 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=5b11090ec73b9bacbb1b1ec79ef494d8b2698bfa;p=mit-scheme.git microcode/mit_scheme_native_code.m4: Copy master's aclocal.m4. --- diff --git a/src/microcode/mit_scheme_native_code.m4 b/src/microcode/mit_scheme_native_code.m4 index 4b1b78904..0d43d87f8 100644 --- a/src/microcode/mit_scheme_native_code.m4 +++ b/src/microcode/mit_scheme_native_code.m4 @@ -3,11 +3,19 @@ AC_DEFUN([MIT_SCHEME_NATIVE_CODE],[ _mit_scheme_native_code_spec=$1 _mit_scheme_native_code_host_cpu=$2 -case ${_mit_scheme_native_code_host_cpu} in -i?86) - AC_CHECK_DECL([__x86_64__],[_mit_scheme_native_code_host_cpu=x86_64]) + +case ${_mit_scheme_native_code_spec} in +yes|YES|y|Y) + case ${_mit_scheme_native_code_host_cpu} in + i?86) + AC_CHECK_DECL([__x86_64__], + [_mit_scheme_native_code_host_cpu=x86_64], + [_mit_scheme_native_code_host_cpu=i386]) + ;; + esac ;; esac + AC_MSG_CHECKING([for native-code support]) case ${_mit_scheme_native_code_spec} in yes|YES|y|Y)