Bug 565191: Add --with-debug-label to js. r=ted

--HG--
extra : rebase_source : 7924c1d60929cd8a163052323927e7ca70de21d3
This commit is contained in:
Justin Wood 2010-06-17 18:43:13 -07:00
parent 67dfc086ac
commit 26464d9284

View File

@ -4147,6 +4147,14 @@ MOZ_ARG_ENABLE_STRING(debug,
MOZ_DEBUG=)
MOZ_DEBUG_ENABLE_DEFS="-DDEBUG -D_DEBUG -DTRACING"
MOZ_ARG_WITH_STRING(debug-label,
[ --with-debug-label=LABELS
Enabled the use of DEBUG_label ifdefs
(comma separated)],
[ for option in `echo $withval | sed 's/,/ /g'`; do
MOZ_DEBUG_ENABLE_DEFS="$MOZ_DEBUG_ENABLE_DEFS -DDEBUG_${option}"
done])
MOZ_DEBUG_DISABLE_DEFS="-DNDEBUG -DTRIMMED"