aboutsummaryrefslogtreecommitdiff
path: root/libjava/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/configure.ac')
-rw-r--r--libjava/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/libjava/configure.ac b/libjava/configure.ac
index 0085b47..72f2549 100644
--- a/libjava/configure.ac
+++ b/libjava/configure.ac
@@ -253,6 +253,13 @@ AC_ARG_ENABLE(libgcj-debug,
LIBGCJDEBUG="true"
fi])
+# Check for gc debugging. This option is handled both here and in the GC.
+AC_ARG_ENABLE(gc-debug,
+[ --enable-gc-debug include full support for pointer backtracing etc.],
+[ if test "$enable_gc_debug" = "yes"; then
+ AC_DEFINE(LIBGCJ_GC_DEBUG)
+ fi])
+
# See if the user has the interpreter included.
AC_ARG_ENABLE(interpreter,
AS_HELP_STRING([--enable-interpreter],