Suppress host Scheme test by default only if lib/all.com exists.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 30 Apr 2011 15:37:15 +0000 (15:37 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 30 Apr 2011 15:37:15 +0000 (15:37 +0000)
src/configure.ac

index e5191965443870b0bf23e715535958557079bde3..30eb1cd43d19d77a3b791a47069d510bdfa546c8 100644 (file)
@@ -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