From 26517e9e8cef13b3f766dab9f9f6eb6d0e5d9aef Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 9 Jun 2013 00:24:05 -0700 Subject: [PATCH] Some tweaks while debugging a problem. --- src/configure.ac | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/configure.ac b/src/configure.ac index cf275a08f..ec0b17425 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -64,11 +64,6 @@ else fi DEFAULT_TARGET=${with_default_target} -AC_ARG_WITH([default-target], - AS_HELP_STRING([--with-default-target], - [Set the default make target [[all]]])) -DEFAULT_TARGET=${with_default_target=all} - AC_CANONICAL_HOST MIT_SCHEME_NATIVE_CODE([${enable_native_code}],[${host_cpu}]) @@ -99,8 +94,9 @@ AUXDIR='$(libdir)'/${AUXDIR_NAME} # src/configure.ac # src/etc/make-native.sh +native_exe=mit-scheme-${mit_scheme_native_code} if test x"${enable_host_scheme_test}" = xno; then - : ${MIT_SCHEME_EXE:=mit-scheme-${mit_scheme_native_code}} + : ${MIT_SCHEME_EXE=${native_exe}} else AC_MSG_CHECKING([for an existing MIT/GNU Scheme installation]) # Kinda hairy logic to detect this: (1) Use MIT_SCHEME_EXE, and @@ -112,8 +108,7 @@ else # the right thing?) found_p=no env_p=no - native_exe="mit-scheme-${mit_scheme_native_code}" - if test x"${MIT_SCHEME_EXE:+set}" = xset; then + if test x"${MIT_SCHEME_EXE}" != x; then env_p=yes if "${MIT_SCHEME_EXE}" --batch-mode --eval '(%exit)' >/dev/null 2>&1; then @@ -127,7 +122,7 @@ else found_p=yes fi if test x"${found_p}" = xyes; then - AC_MSG_RESULT([yes]) + AC_MSG_RESULT([yes, using ${MIT_SCHEME_EXE}]) else message= if test x"${env_p}" = xyes; then @@ -137,7 +132,7 @@ else else message="the following programs do not run it: - mit-scheme-${mit_scheme_native_code} + ${native_exe} mit-scheme" fi AC_MSG_ERROR([ -- 2.25.1