It is to be interpreted as a pathname, provided that no character in
it be a make meta-character, or a shell meta-character that has
meaning within double-quotes. It shouldn't have such constraints,
but Unix sucks. To set the library path, use MITSCHEME_LIBRARY_PATH
rather than sticking a `--library' argument in MIT_SCHEME_EXE.
compiler/machines/svm/assembler-runtime.scm \
compiler/machines/svm/compile-assembler.scm
( cd compiler/machines/svm/ \
- && $(MIT_SCHEME_EXE) --batch-mode --load compile-assembler \
+ && "$(MIT_SCHEME_EXE)" --batch-mode --load compile-assembler \
</dev/null )
all-liarc:
# src/configure.ac
# src/etc/make-native.sh
-if ! ${MIT_SCHEME_EXE} --batch-mode --eval '(%exit)' > /dev/null 2> /dev/null
+if ! "${MIT_SCHEME_EXE}" --batch-mode --eval '(%exit)' > /dev/null 2> /dev/null
then
cat <<EOF >&2
*** Error in ${0}
exit 1
}
-test_program='(begin (write microcode-id/compiled-code-type) (%exit 0))'
+test_exp='(begin (write microcode-id/compiled-code-type) (%exit 0))'
scheme_failure=
-cc_type=`${MIT_SCHEME_EXE} --batch-mode --eval "${test_program}" 2>/dev/null` \
+cc_type=`"${MIT_SCHEME_EXE}" --batch-mode --eval "${test_exp}" 2>/dev/null` \
|| scheme_failure=yes
if [ yes = "${scheme_failure}" ]; then
# "config.h", because dependencies are generated by running GCC -M on
# the source files, which refer to "config.h".
-${MIT_SCHEME_EXE:=mit-scheme} --batch-mode <<EOF
+"${MIT_SCHEME_EXE:-mit-scheme}" --batch-mode <<EOF
(begin
(load "makegen/makegen.scm")
(generate-makefile))