From 0f69a55a2646a3781795b17790e4835e9c132979 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sat, 30 Apr 2011 15:37:15 +0000 Subject: [PATCH] Suppress host Scheme test by default only if lib/all.com exists. --- src/configure.ac | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/configure.ac b/src/configure.ac index e51919654..30eb1cd43 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -40,8 +40,12 @@ 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 [[no]]])) -: ${enable_host_scheme_test=no} + [Test for working scheme on build host [[if necessary]]])) +if test -f lib/all.com; then + : ${enable_host_scheme_test=no} +else + : ${enable_host_scheme_test=yes} +fi AC_CANONICAL_HOST -- 2.25.1