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}])
# 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
# 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
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
else
message="the following programs do not run it:
- mit-scheme-${mit_scheme_native_code}
+ ${native_exe}
mit-scheme"
fi
AC_MSG_ERROR([