From: Chris Hanson Date: Tue, 20 Nov 2018 03:57:38 +0000 (-0800) Subject: Pass IS_NATIVE_RELEASE to microcode during configuration. X-Git-Tag: mit-scheme-pucked-10.1.2~16^2~5 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=316559569ed04ddb4aaac162c01732003bc806d1;p=mit-scheme.git Pass IS_NATIVE_RELEASE to microcode during configuration. --- diff --git a/src/configure.ac b/src/configure.ac index 0c586350a..64a1d3788 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -389,6 +389,7 @@ etc/create-makefiles.sh "${MIT_SCHEME_EXE}" "${mit_scheme_compiler_target}" \ compiler/configure "${mit_scheme_compiler_target}" || exit $? # configure scripts for subdirs care about these +export IS_NATIVE_RELEASE export MIT_SCHEME_EXE export MIT_SCHEME_LIBDIR export MIT_SCHEME_INCLUDEDIR diff --git a/src/microcode/configure.ac b/src/microcode/configure.ac index 704099d74..076a2a31b 100644 --- a/src/microcode/configure.ac +++ b/src/microcode/configure.ac @@ -128,7 +128,11 @@ AC_ARG_ENABLE([debugging], AC_ARG_ENABLE([native-code], AS_HELP_STRING([--enable-native-code], [Support native compiled code if available [[yes]]])) -: ${enable_native_code='yes'} +if test x"${IS_NATIVE_RELEASE}" != x; then + : ${enable_native_code=${IS_NATIVE_RELEASE}} +else + : ${enable_native_code=yes} +fi AC_ARG_WITH([compiler-target], AS_HELP_STRING([--with-compiler-target],