aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-08-20 03:16:46 +0000
committerdos-reis <gdr@axiomatics.org>2008-08-20 03:16:46 +0000
commit98693c75a9f6c613f715d18c0d3749fc4a98ac3f (patch)
tree730413baab485ce9cbc13cce8255202fb62aa12d
parente4b84ff6e392b5f1eda1529d4eec99e9e13ac2a8 (diff)
downloadopen-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--ChangeLog4
-rwxr-xr-xconfigure9
-rw-r--r--configure.ac9
-rw-r--r--configure.ac.pamphlet9
-rw-r--r--src/lisp/core.lisp.in2
5 files changed, 32 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c367e0e0..54193a99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/configure b/configure
index b950df9f..3d2fd9eb 100755
--- a/configure
+++ b/configure
@@ -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)