build ()
{
my_configure --enable-native-code="${ARCH}" \
- --with-mcrypt=no --with-libpq=no --with-db-4=no \
- --with-default-target=compile-microcode
- my_make all
+ --with-mcrypt=no --with-libpq=no --with-db-4=no
+ my_make
+ touch .native-release-marker
}
OUT_ROOT=${NATIVE_OUT}-${ARCH}
USA.
])
+if test -f .native-release-marker; then
+ IS_NATIVE_RELEASE=yes
+else
+ IS_NATIVE_RELEASE=no
+fi
+
AC_ARG_ENABLE([debugging],
AS_HELP_STRING([--enable-debugging],
[Compile with debugging support [[no]]]))
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}
+ : ${enable_host_scheme_test=yes}
fi
AC_ARG_WITH([default-target],
AS_HELP_STRING([--with-default-target],
[Set the default make target [[all]]]))
-DEFAULT_TARGET=${with_default_target=all}
+if test x"${IS_NATIVE_RELEASE}" = xyes; then
+ : ${with_default_target=compile-microcode}
+else
+ : ${with_default_target=all}
+fi
+DEFAULT_TARGET=${with_default_target}
AC_CANONICAL_HOST