From: Chris Hanson Date: Sun, 9 Jun 2013 07:24:05 +0000 (-0700) Subject: Some tweaks while debugging a problem. X-Git-Tag: release-9.2.0~158 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=26517e9e8cef13b3f766dab9f9f6eb6d0e5d9aef;p=mit-scheme.git Some tweaks while debugging a problem. --- 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([