mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Do not set either of the logrefcnt defines unless given a specific --enable-logrefcnt option.
Bug #108044
This commit is contained in:
parent
52c25cf1e0
commit
05cf83e0d4
@ -3067,12 +3067,8 @@ dnl = dnl This will enable logging of addref, release, ctor, dtor.
|
||||
dnl ========================================================
|
||||
MOZ_ARG_ENABLE_BOOL(logrefcnt,
|
||||
[ --enable-logrefcnt Enable logging of refcounts (default=debug) ],
|
||||
_ENABLE_LOGREFCNT=1)
|
||||
if test "$_ENABLE_LOGREFCNT"; then
|
||||
AC_DEFINE(FORCE_BUILD_REFCNT_LOGGING)
|
||||
else
|
||||
AC_DEFINE(NO_BUILD_REFCNT_LOGGING)
|
||||
fi
|
||||
AC_DEFINE(FORCE_BUILD_REFCNT_LOGGING),
|
||||
AC_DEFINE(NO_BUILD_REFCNT_LOGGING))
|
||||
|
||||
dnl ========================================================
|
||||
dnl = detect webshell leaks
|
||||
|
Loading…
x
Reference in New Issue
Block a user