зеркало из https://github.com/mozilla/gecko-dev.git
Autoconfing leaky tool, cvs checkout mozilla/tools/leaky; ./configure --enable-leaky. a=shaver, r=kipp
This commit is contained in:
Родитель
85f5f2de91
Коммит
d56a7aacf4
|
@ -77,6 +77,10 @@ ifdef MOZ_MAIL_NEWS
|
|||
DIRS += mailnews
|
||||
endif
|
||||
|
||||
ifdef MOZ_LEAKY
|
||||
DIRS += tools/leaky
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
real_all: all
|
||||
|
|
|
@ -577,3 +577,10 @@ if [ "$NECKO" ]; then
|
|||
htmlparser/robot/test/Makefile
|
||||
END_NECKO_MAKEFILES
|
||||
fi
|
||||
|
||||
# tools/leaky
|
||||
if [ "$MOZ_LEAKY" ]; then
|
||||
add_makefiles <<END_LEAKY_MAKEFILES
|
||||
tools/leaky/Makefile
|
||||
END_LEAKY_MAKEFILES
|
||||
fi
|
||||
|
|
|
@ -45,6 +45,7 @@ MOZ_DEBUG = @MOZ_DEBUG@
|
|||
MOZ_DEBUG_MODULES = @MOZ_DEBUG_MODULES@
|
||||
MOZ_EXTENSIONS = @MOZ_EXTENSIONS@
|
||||
MOZILLA_GPROF = @MOZILLA_GPROF@
|
||||
MOZ_LEAKY = @MOZ_LEAKY@
|
||||
BUILD_PROFILE = @MOZILLA_GPROF@
|
||||
MOZ_MAIL_NEWS = @MOZ_MAIL_NEWS@
|
||||
MOZ_EDITOR = @MOZ_EDITOR@
|
||||
|
|
|
@ -2606,6 +2606,11 @@ MOZ_ARG_ENABLE_BOOL(profile,
|
|||
[ --enable-profile Enable profiling (solaris only)],
|
||||
MOZILLA_GPROF=1)
|
||||
|
||||
dnl mozilla/tools/leaky not part of default build.
|
||||
MOZ_ARG_ENABLE_BOOL(leaky,
|
||||
[ --enable-leaky Enable leaky memory tool],
|
||||
MOZ_LEAKY=1)
|
||||
|
||||
MOZ_ARG_DISABLE_BOOL(double-buffer,
|
||||
[ --disable-double-buffer Disable double buffering],
|
||||
AC_DEFINE(NO_DOUBLE_BUFFER))
|
||||
|
@ -2803,6 +2808,7 @@ AC_SUBST(MOZ_DEBUG)
|
|||
AC_SUBST(MOZ_DEBUG_MODULES)
|
||||
AC_SUBST(MOZ_EXTENSIONS)
|
||||
AC_SUBST(MOZILLA_GPROF)
|
||||
AC_SUBST(MOZ_LEAKY)
|
||||
AC_SUBST(MOZ_INSURE)
|
||||
AC_SUBST(MOZ_INSURE_DIRS)
|
||||
AC_SUBST(MOZ_INSURE_EXCLUDE_DIRS)
|
||||
|
|
Загрузка…
Ссылка в новой задаче