From cd673917e767ed4cdb4b850b2de4ebd8408e017c Mon Sep 17 00:00:00 2001
From: Taylor R Campbell <campbell@mumble.net>
Date: Sat, 30 Apr 2011 19:44:58 +0000
Subject: [PATCH] Fix configure with host Scheme check disabled.

---
 src/configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/configure.ac b/src/configure.ac
index 974cebef0..e60130522 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -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
-- 
2.25.1