Fix configure with host Scheme check disabled.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 30 Apr 2011 19:44:58 +0000 (19:44 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 30 Apr 2011 19:44:58 +0000 (19:44 +0000)
src/configure.ac

index 974cebef0c10f98ff70b9335cef8c717b5f39b97..e60130522e53e777f6987dc8016ca6c336321e48 100644 (file)
@@ -78,7 +78,9 @@ AUXDIR='$(libdir)'/${AUXDIR_NAME}
 #   src/configure.ac
 #   src/etc/make-native.sh
 
-if test x"${enable_host_scheme_test}" = xyes; then
+if test x"${enable_host_scheme_test}" = xno; then
+    : ${MIT_SCHEME_EXE:=mit-scheme-${mit_scheme_native_code}}
+else
     AC_MSG_CHECKING([for an existing MIT/GNU Scheme installation])
     # Kinda hairy logic to detect this: (1) Use MIT_SCHEME_EXE, and
     # don't try to detect anything automagically, if it's set -- this