LIARC_BUNDLES = $(LIARC_BOOT_BUNDLES) ffi sos ssp xml
SUBDIRS = $(INSTALLED_SUBDIRS) win32 xdoc
-INSTALLED_SUBDIRS = microcode runtime $(LIARC_BUNDLES)
+INSTALLED_SUBDIRS = microcode runtime $(OPTION_SUBDIRS) $(LIARC_BUNDLES)
OPTION_SUBDIRS = @OPTION_SUBDIRS@
MIT_SCHEME_EXE = @MIT_SCHEME_EXE@
MIT_SCHEME_PROJECT=mit-scheme
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
- echo " (system-library-directory-pathname)))" ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
-MIT_SCHEME_INCLUDEDIR=`( echo "(display (->namestring" ;\
- echo " (directory-pathname" ;\
- echo " (system-library-pathname" ;\
- echo ' "mit-scheme.h"))))' ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
+default_libdir=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_LIBDIR=${default_libdir}}
+default_includedir=`( echo "(display (->namestring" ;\
+ echo " (directory-pathname" ;\
+ echo " (system-library-pathname" ;\
+ echo ' "mit-scheme.h"))))' ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_INCLUDEDIR=${default_includedir}}
cc_type=`echo "(display microcode-id/compiled-code-type)" \
| ${MIT_SCHEME_EXE} --batch-mode`
AUXDIR_NAME=mit-scheme-${mit_scheme_native_code}
AUXDIR='$(libdir)'/${AUXDIR_NAME}
+MIT_SCHEME_LIBDIR=${AUXDIR}/
+MIT_SCHEME_INCLUDEDIR=${AUXDIR}/
# Please keep the following messages synchronized with the messages in
# these files:
])
fi
fi
-export MIT_SCHEME_EXE
# A 32bit host running LIAR/svm needs a large heap.
small_words='(= 4 (vector-ref (gc-space-status) 0))'
|| exit $?
compiler/configure "${mit_scheme_compiler_target}" || exit $?
+# configure scripts for subdirs care about these
+export MIT_SCHEME_EXE
+export MIT_SCHEME_LIBDIR
+export MIT_SCHEME_INCLUDEDIR
+
AC_CONFIG_SUBDIRS([microcode])
if test x"${enable_blowfish}" = xyes; then
AC_CONFIG_SUBDIRS([blowfish])
MIT_SCHEME_PROJECT=mit-scheme
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
- echo " (system-library-directory-pathname)))" ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
+default_libdir=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_LIBDIR=${default_libdir}}
MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
| ${MIT_SCHEME_EXE} --batch-mode`
MIT_SCHEME_SOURCES=`./sources.sh scm`
MIT_SCHEME_PROJECT=mit-scheme
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
- echo " (system-library-directory-pathname)))" ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
-MIT_SCHEME_INCLUDEDIR=`( echo "(display (->namestring" ;\
- echo " (directory-pathname" ;\
- echo " (system-library-pathname" ;\
- echo ' "mit-scheme.h"))))' ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
+default_libdir=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_LIBDIR=${default_libdir}}
+default_includedir=`( echo "(display (->namestring" ;\
+ echo " (directory-pathname" ;\
+ echo " (system-library-pathname" ;\
+ echo ' "mit-scheme.h"))))' ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_INCLUDEDIR=${default_includedir}}
cc_type=`echo "(display microcode-id/compiled-code-type)" \
| ${MIT_SCHEME_EXE} --batch-mode`
MIT_SCHEME_PROJECT=mit-scheme
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
- echo " (system-library-directory-pathname)))" ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
+default_libdir=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_LIBDIR=${default_libdir}}
MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
| ${MIT_SCHEME_EXE} --batch-mode`
MIT_SCHEME_PROJECT=mit-scheme
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
- echo " (system-library-directory-pathname)))" ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
-MIT_SCHEME_INCLUDEDIR=`( echo "(display (->namestring" ;\
- echo " (directory-pathname" ;\
- echo " (system-library-pathname" ;\
- echo ' "mit-scheme.h"))))' ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
+default_libdir=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_LIBDIR=${default_libdir}}
+default_includedir=`( echo "(display (->namestring" ;\
+ echo " (directory-pathname" ;\
+ echo " (system-library-pathname" ;\
+ echo ' "mit-scheme.h"))))' ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_INCLUDEDIR=${default_includedir}}
cc_type=`echo "(display microcode-id/compiled-code-type)" \
| ${MIT_SCHEME_EXE} --batch-mode`
MIT_SCHEME_PROJECT=mit-scheme
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
- echo " (system-library-directory-pathname)))" ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
-MIT_SCHEME_INCLUDEDIR=`( echo "(display (->namestring" ;\
- echo " (directory-pathname" ;\
- echo " (system-library-pathname" ;\
- echo ' "mit-scheme.h"))))' ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
+default_libdir=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_LIBDIR=${default_libdir}}
+default_includedir=`( echo "(display (->namestring" ;\
+ echo " (directory-pathname" ;\
+ echo " (system-library-pathname" ;\
+ echo ' "mit-scheme.h"))))' ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_INCLUDEDIR=${default_includedir}}
cc_type=`echo "(display microcode-id/compiled-code-type)" \
| ${MIT_SCHEME_EXE} --batch-mode`
EXTRA_DIST += $(sources) compile.sh x11-screen.pkg
EXTRA_DIST += x11-screen-check.sh x11-screen-test.scm
-EXTRA_DIST += make.scm optiondb.scm
+EXTRA_DIST += make.scm optiondb.scm compile.scm
install-data-hook:
( echo '(add-plugin "x11-screen" "@MIT_SCHEME_PROJECT@"'; \
MIT_SCHEME_PROJECT=mit-scheme
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
- echo " (system-library-directory-pathname)))" ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
+default_libdir=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_LIBDIR=${default_libdir}}
cc_type=`echo "(display microcode-id/compiled-code-type)" \
| ${MIT_SCHEME_EXE} --batch-mode`
AC_SUBST([MIT_SCHEME_PROJECT])
AC_SUBST([MIT_SCHEME_EXE])
AC_SUBST([MIT_SCHEME_LIBDIR])
-AC_SUBST([MIT_SCHEME_INCLUDEDIR])
AC_SUBST([MIT_SCHEME_PKD])
AC_SUBST([MIT_SCHEME_SCMs])
AC_SUBST([MIT_SCHEME_BCIs])
MIT_SCHEME_PROJECT=mit-scheme
: ${MIT_SCHEME_EXE=mit-scheme}
-MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
- echo " (system-library-directory-pathname)))" ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
-MIT_SCHEME_INCLUDEDIR=`( echo "(display (->namestring" ;\
- echo " (directory-pathname" ;\
- echo " (system-library-pathname" ;\
- echo ' "mit-scheme.h"))))' ) \
- | ${MIT_SCHEME_EXE} --batch-mode`
+default_libdir=`( echo "(display (->namestring" ;\
+ echo " (system-library-directory-pathname)))" ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_LIBDIR=${default_libdir}}
+default_includedir=`( echo "(display (->namestring" ;\
+ echo " (directory-pathname" ;\
+ echo " (system-library-pathname" ;\
+ echo ' "mit-scheme.h"))))' ) \
+ | ${MIT_SCHEME_EXE} --batch-mode`
+: ${MIT_SCHEME_INCLUDEDIR=${default_includedir}}
cc_type=`echo "(display microcode-id/compiled-code-type)" \
| ${MIT_SCHEME_EXE} --batch-mode`