diff options
author | dos-reis <gdr@axiomatics.org> | 2008-08-20 03:16:46 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-08-20 03:16:46 +0000 |
commit | 98693c75a9f6c613f715d18c0d3749fc4a98ac3f (patch) | |
tree | 730413baab485ce9cbc13cce8255202fb62aa12d | |
parent | e4b84ff6e392b5f1eda1529d4eec99e9e13ac2a8 (diff) | |
download | open-axiom-98693c75a9f6c613f715d18c0d3749fc4a98ac3f.tar.gz |
2008-08-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* configure.ac.pamphlet: Activate safety+debug build for ECL-based
system.
src/
2008-08-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* lisp/core.lisp.in (|$useDynamicLink|)[ECL]: Test for :DFFI feature.
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | configure | 9 | ||||
-rw-r--r-- | configure.ac | 9 | ||||
-rw-r--r-- | configure.ac.pamphlet | 9 | ||||
-rw-r--r-- | src/lisp/core.lisp.in | 2 |
5 files changed, 32 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2008-08-19 Gabriel Dos Reis <gdr@cs.tamu.edu> + + * configure.ac.pamphlet: Active safety+debug build for ECL-base system. + 2008-08-16 Gabriel Dos Reis <gdr@cs.tamu.edu> * configure.ac.pamphlet: Don't generate rules for extracting @@ -21144,6 +21144,15 @@ if test x"$axiom_enable_checking" = xyes; then echo "$as_me: runtime checking may increase compilation time" >&6;} fi +## ??? There currently seems to be a bug in ECL such that +## ??? only a debug+safety build can succeed. +case $axiom_lisp_flavor,$axiom_enable_checking in + ecl,no) + axiom_optimize_options="$axiom_optimize_options safety debug" + ;; + *) ;; +esac + diff --git a/configure.ac b/configure.ac index 56015133..821c994a 100644 --- a/configure.ac +++ b/configure.ac @@ -354,6 +354,15 @@ if test x"$axiom_enable_checking" = xyes; then AC_MSG_NOTICE([runtime checking may increase compilation time]) fi +## ??? There currently seems to be a bug in ECL such that +## ??? only a debug+safety build can succeed. +case $axiom_lisp_flavor,$axiom_enable_checking in + ecl,no) + axiom_optimize_options="$axiom_optimize_options safety debug" + ;; + *) ;; +esac + AC_SUBST(axiom_enable_checking) AC_SUBST(axiom_optimize_options) diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet index 25423e46..4a680c4e 100644 --- a/configure.ac.pamphlet +++ b/configure.ac.pamphlet @@ -461,6 +461,15 @@ if test x"$axiom_enable_checking" = xyes; then AC_MSG_NOTICE([runtime checking may increase compilation time]) fi +## ??? There currently seems to be a bug in ECL such that +## ??? only a debug+safety build can succeed. +case $axiom_lisp_flavor,$axiom_enable_checking in + ecl,no) + axiom_optimize_options="$axiom_optimize_options safety debug" + ;; + *) ;; +esac + AC_SUBST(axiom_enable_checking) AC_SUBST(axiom_optimize_options) @ diff --git a/src/lisp/core.lisp.in b/src/lisp/core.lisp.in index d9ea0578..77e44fe3 100644 --- a/src/lisp/core.lisp.in +++ b/src/lisp/core.lisp.in @@ -154,7 +154,7 @@ ;; Almost every supported Lisp use dynamic link for FFI. ;; ECL's support is partial. GCL-2.6.x hasn't discovered it yet. (defconstant |$useDynamicLink| - #+:ecl si::*use-dffi* + #+:ecl (member :dffi *features*) #+:gcl nil #-(or :ecl :gcl) t) |