aboutsummaryrefslogtreecommitdiff
path: root/configure.ac.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac.pamphlet')
-rw-r--r--configure.ac.pamphlet13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet
index 161704bf..379668b4 100644
--- a/configure.ac.pamphlet
+++ b/configure.ac.pamphlet
@@ -451,9 +451,16 @@ 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"
+ case $axiom_lisp_flavor in
+ gcl) # GCL-2.6.x does not understand debug.
+ axiom_optimize_options="$axiom_optimize_options safety"
+ ;;
+ *) axiom_optimize_options="$axiom_optimize_options safety debug"
+ ;;
+ esac
AC_MSG_NOTICE([runtime checking may increase compilation time])
fi
+
AC_SUBST(axiom_enable_checking)
AC_SUBST(axiom_optimize_options)
@
@@ -890,6 +897,7 @@ case $axiom_include_gcl,$axiom_lisp in
esac
AC_MSG_RESULT([$axiom_lisp_flavor])
esac
+
AC_SUBST(axiom_include_gcl)
AC_SUBST(axiom_lisp_flavor)
AC_DEFINE_UNQUOTED([OPENAXIOM_BASE_RTS],
@@ -1275,8 +1283,6 @@ AC_SUBST(oa_shrlib_flags)
<<initialize shared libraries tool>>
-<<runtime checking>>
-
axiom_src_subdirs="lib hyper lisp boot interp share algebra input etc doc"
AC_SUBST(axiom_src_subdirs)
@@ -1295,6 +1301,7 @@ case $host in
esac
<<build utils>>
+<<runtime checking>>
# FIXME: Move this out of here.
axiom_c_runtime=