Merge from release-9.1 branch.
authorChris Hanson <org/chris-hanson/cph>
Wed, 9 Nov 2011 06:55:37 +0000 (22:55 -0800)
committerChris Hanson <org/chris-hanson/cph>
Wed, 9 Nov 2011 06:55:37 +0000 (22:55 -0800)
1  2 
src/configure.ac

index 5298d576466e2569ccdc8362cc6e600884764115,3c794692f9943f5afca238e4ea510e604af587cb..fb7558d24a300e7feec10fb121761d494d9ae4f4
@@@ -42,17 -48,22 +48,27 @@@ AC_ARG_ENABLE([native-code]
  AC_ARG_ENABLE([host-scheme-test],
      AS_HELP_STRING([--enable-host-scheme-test],
        [Test for working scheme on build host [[if necessary]]]))
- if test -f lib/all.com; then
-   : ${enable_host_scheme_test=no}
+ if test x"${IS_NATIVE_RELEASE}" = xyes || test -f lib/all.com; then
+     : ${enable_host_scheme_test=no}
+ else
+     : ${enable_host_scheme_test=yes}
+ fi
+ AC_ARG_WITH([default-target],
+     AS_HELP_STRING([--with-default-target],
+       [Set the default make target [[all]]]))
+ if test x"${IS_NATIVE_RELEASE}" = xyes; then
+     : ${with_default_target=compile-microcode}
  else
-   : ${enable_host_scheme_test=yes}
+     : ${with_default_target=all}
  fi
+ DEFAULT_TARGET=${with_default_target}
  
 +AC_ARG_WITH([default-target],
 +    AS_HELP_STRING([--with-default-target],
 +      [Set the default make target [[all]]]))
 +DEFAULT_TARGET=${with_default_target=all}
 +
  AC_CANONICAL_HOST
  
  MIT_SCHEME_NATIVE_CODE([${enable_native_code}],[${host_cpu}])