From 63c1fd8e4162aa995d6bbc76dae954bcf1d85deb Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Wed, 19 May 2010 16:37:11 -0400 Subject: [PATCH] Bug 565191 - Add build option "--with-debug-label". r=ted --- configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.in b/configure.in index bb3ec51ba10..49e36194a74 100644 --- a/configure.in +++ b/configure.in @@ -6959,6 +6959,14 @@ MOZ_ARG_ENABLE_STRING(debug, MOZ_DEBUG=) MOZ_DEBUG_ENABLE_DEFS="-DDEBUG -D_DEBUG" +MOZ_ARG_WITH_STRING(debug-label, +[ --with-debug-label=LABELS + Define DEBUG_ for each comma-separated + value given.], +[ for option in `echo $withval | sed 's/,/ /g'`; do + MOZ_DEBUG_ENABLE_DEFS="$MOZ_DEBUG_ENABLE_DEFS -DDEBUG_${option}" +done]) + case "${target_os}" in beos*) MOZ_DEBUG_ENABLE_DEFS="$MOZ_DEBUG_ENABLE_DEFS -DDEBUG_${USER}"