diff options
author | Vivek Dasmohapatra <vivek@collabora.co.uk> | 2011-02-03 15:10:41 +0000 |
---|---|---|
committer | Vivek Dasmohapatra <vivek@collabora.co.uk> | 2011-02-09 16:05:58 +0000 |
commit | 3862ea9d9577437a48bf0d798fe7387fe1bd4176 (patch) | |
tree | 650bc00e677fc1ee930fe79e1f48e1438f974d27 | |
parent | 89a693adfa0366bc9966b56cd1e01dc3237429e6 (diff) |
New configure option + docs for disabling the debug message cache.
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3c242be4..a2a8f862 100644 --- a/configure.ac +++ b/configure.ac @@ -100,6 +100,17 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--disable-debug],[compile without debug code (note that this will disable much of the debug code in all GLib connection managers)]), enable_debug=$enableval, enable_debug=yes ) +AC_ARG_ENABLE(debug-cache, + AS_HELP_STRING([--enable-debug-cache], + [compile with code to unconditionally cache all debug messages whether or not they are actually emitted]), + [enable_debug_cache=$enableval], + [enable_debug_cache=yes]) + +if test x"$enable_debug_cache" != xno +then + AC_DEFINE([ENABLE_DEBUG_CACHE], [1], [Define to enable debug message cache]) +fi + AC_ARG_ENABLE(handle-leak-debug, AC_HELP_STRING([--enable-handle-leak-debug],[compile with handle leak debugging code (the CM should be built with -rdynamic)]), enable_handle_leak_debug=$enableval, enable_handle_leak_debug=no ) |