Do not set either of the logrefcnt defines unless given a specific --enable-logrefcnt option.

Bug #108044
This commit is contained in:
seawood%netscape.com 2001-11-01 22:55:43 +00:00
parent 52c25cf1e0
commit 05cf83e0d4

View File

@ -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