aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-01 10:02:05 -0500
committerTed Gould <ted@canonical.com>2009-10-01 10:02:05 -0500
commit1e19ab10790ca563234c30aa727106744e9a287c (patch)
treef09dedca826d3785e5d2fec56c11c453fea1b820
parentffc186aab01578f1380802958077acfbd966d768 (diff)
downloadlibdbusmenu-1e19ab10790ca563234c30aa727106744e9a287c.tar.gz
libdbusmenu-1e19ab10790ca563234c30aa727106744e9a287c.tar.bz2
libdbusmenu-1e19ab10790ca563234c30aa727106744e9a287c.zip
Adding in a massive debugging flag for generating massive debugging.
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0448f80..00085b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -84,6 +84,16 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the default get
AM_GLIB_GNU_GETTEXT
###########################
+# Massive Debugging
+###########################
+
+with_massivedebugging="no"
+AC_ARG_ENABLE(massivedebugging, AS_HELP_STRING([--enable-massivedebugging], [Print out so much information your brain will hurt]), with_massivedebugging=$enableval, with_massivedebugging=no)
+if test "x$with_massivedebugging" = "xyes"; then
+ AC_DEFINE([MASSIVEDBUGGING], [1], [Print everyting])
+fi
+
+###########################
# Files
###########################
@@ -109,5 +119,6 @@ AC_MSG_NOTICE([
libdbusmenu Configuration:
Prefix: $prefix
+ Massive Debugging: $with_massivedebugging
])