From 157f4368b440536001959ad58167b09357273edc Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 8 Sep 2007 14:15:37 +0000 Subject: * configure.ac.pamphlet (axiom_optimize_options): New substitued variable. Genrate src/lisp/core.lisp at configure time. * configure.ac: Regenerate. * configure: Likewise. * config/setup-dep.mk ($(top_builddir)/src/lisp/core.lisp): New rule. src/lisp/ * Makefile.pamphlet (fasl_ext): New. Factor out the logic for computing file extensions. (FASLS): Rename from CORE. Use it to compute the list of files to load. ($(OUT)/lisp$(EXEEXT)): Adjust. (base-lisp$(EXEEXT)): sb-cltl2 module is no longer need. (core.lisp): Now depend on core.lisp.in. Regenerate if necessary. (mostlyclean-local): Remove FASLs too. * Makefile.in: Regenerate. * core.lisp.in: New. * core.lisp.pamphlet: Move content to core.lisp.in. Remove. --- configure.ac.pamphlet | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac.pamphlet') diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet index db35ea70..73e82a62 100644 --- a/configure.ac.pamphlet +++ b/configure.ac.pamphlet @@ -428,6 +428,7 @@ runtime checking. This may be useful when chasing Heinsenbugs. It probably should be the default mode on development or experimental branches. <>= +axiom_optimize_options=speed ## Shall we proclaim safety? axiom_enable_checking=no # don't turn on checking by default. AC_ARG_ENABLE([checking], [ --enable-checking turn runtime checking on], @@ -436,9 +437,11 @@ AC_ARG_ENABLE([checking], [ --enable-checking turn runtime checking on], *) AC_MSG_ERROR([erroneous value for --enable-checking]) ;; esac]) if test x"axiom_enable_checking" = xyes; then + axiom_optimize_options="$axiom_optimize_options safety" AC_MSG_NOTICE([runtime checking may increase compilation time]) fi AC_SUBST(axiom_enable_checking) +AC_SUBST(axiom_optimize_options) @ @@ -1076,6 +1079,7 @@ AXIOM_MAKEFILE([Makefile]) AXIOM_MAKEFILE([src/Makefile]) AXIOM_MAKEFILE([src/lib/Makefile]) AXIOM_MAKEFILE([src/lisp/Makefile]) +AC_CONFIG_FILES([src/lisp/core.lisp]) AXIOM_MAKEFILE([src/boot/Makefile]) AXIOM_MAKEFILE([src/interp/Makefile]) AXIOM_MAKEFILE([src/share/Makefile]) -- cgit v1.2.3