diff options
author | dos-reis <gdr@axiomatics.org> | 2008-08-07 22:27:42 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-08-07 22:27:42 +0000 |
commit | 0b7e16bb78d7715409c44bf6b41f9fb234b8f987 (patch) | |
tree | 5213ebcd45ff338825d2d41bb3cea47e44d0e3bb /configure.ac | |
parent | b026c698fddcfeba5d125e09583555f6fbffd5e9 (diff) | |
download | open-axiom-0b7e16bb78d7715409c44bf6b41f9fb234b8f987.tar.gz |
* lisp/core.lisp.in (boot-completed-p): New.
(|$useDynamicLink|): Likewise.
(|$effectiveFaslType|): Hold extension of linkable FASL.
(|$NativeModuleExt|): Tidy.
(|$CoreLibName|): New.
(|$ExtraRuntimeLibraries|): Likewise.
(extra-runtime-libs): Likewise.
(complete-fasl-list-for-link): Likewise.
(|link|) [ECL]: Link against system libraries.
(|compileLispFile|): Tidy.
(begin-compile-time): New.
(end-compile-time): Likewise.
(compile-time-p): Likewise.
(import-module): Use it.
* lisp/Makefile.in ($(OUT)/lisp$(EXEEXT)): Use oa_c_runtime_extra.
* lib/Makefile.in (oa_installed_corelib): New.
* boot/initial-env.lisp: Don't export systemRootDirectory and
systemLibraryDirectory from here.
* boot/translator.boot (systemRootDirectory): Move to lisp/core.lisp.
(systemLibraryDirectory): Likewise.
(loadSystemRuntimeCore): Do nothing for GCL and ECL.
* interp/boot-pkg.lisp: Inform that Boot system is compleye.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7f169139..a6709fa4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ sinclude(config/open-axiom.m4) sinclude(config/aclocal.m4) -AC_INIT([OpenAxiom], [1.2.0-2008-08-05], +AC_INIT([OpenAxiom], [1.2.0-2008-08-07], [open-axiom-bugs@lists.sf.net]) AC_CONFIG_AUX_DIR(config) @@ -279,16 +279,22 @@ case $axiom_lisp_flavor,$target in ;; esac AC_SUBST(axiom_gcl_rsym_hack) +## Can we use dynamically linked libraries? +## Tentatively answer `yes' -- this is modern time. +oa_use_dynamic_lib=yes + ## How are we supposed to tell the Lisp system to eval an expression ## in batch mode? What is the extension of a compiled Lisp file? case $axiom_lisp_flavor in gcl) axiom_quiet_flags='-batch' axiom_eval_flags='-eval' + oa_use_dynamic_lib=no ;; ecl) axiom_quiet_flags= axiom_eval_flags='-eval' + oa_use_dynamic_lib=no ;; sbcl) axiom_quiet_flags='--noinform --noprint' @@ -302,13 +308,14 @@ case $axiom_lisp_flavor in esac AC_SUBST(axiom_quiet_flags) AC_SUBST(axiom_eval_flags) +AC_SUBST(oa_use_dynamic_lib) if test -z $axiom_fasl_type; then AC_MSG_CHECKING([compiled Lisp file extension]) ## We set the IFS to <space> as we don't want automatic ## replacement of <newline> by <space>. axiom_save_IFS=$IFS IFS=' ' - axiom_fasl_type=`$axiom_lisp $axiom_quiet_flags $axiom_eval_flags '(progn (format t "axiom_fasl_type=~a" (pathname-type (compile-file-pathname "foo.lisp" #+:ecl :type #+:ecl :object))) (quit))'` + axiom_fasl_type=`$axiom_lisp $axiom_quiet_flags $axiom_eval_flags '(progn (format t "axiom_fasl_type=~a" (pathname-type (compile-file-pathname "foo.lisp"))) (quit))'` ## Now pull out the fasl type. ECL has the habit of spitting noise ## about internal loading. Therefore, we must look only for a line that |