r=waterson sr=cls

Adding a newer version of the libc malloc.c from the author.  It is
 compiled switched in via --enable-lea.
This commit is contained in:
kandrot%netscape.com 2001-02-06 04:28:59 +00:00
parent 098f279a10
commit 59870281dc
2 changed files with 16 additions and 0 deletions

View File

@ -79,6 +79,7 @@ BUILD_IDLC = @BUILD_IDLC@
NEED_BASE_DLL_NAME_ALSO = @NEED_BASE_DLL_NAME_ALSO@
MOZ_ENDER_LITE = @MOZ_ENDER_LITE@
MOZ_LDAP_XPCOM = @MOZ_LDAP_XPCOM@
XPCOM_USE_LEA = @XPCOM_USE_LEA@
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS = @MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS@
MOZ_COMPONENT_NSPR_LIBS=@MOZ_COMPONENT_NSPR_LIBS@

View File

@ -3107,6 +3107,20 @@ MOZ_ARG_ENABLE_BOOL(crash-on-assert,
Make NS_ASSERTION crash on Unix],
AC_DEFINE(UNIX_CRASH_ON_ASSERT))
dnl ========================================================
dnl =
dnl = --enable-lea
dnl =
dnl = Enable Lea malloc in xpcom. OFF by default.
dnl =
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(lea,
[ --enable-lea Enable Lea malloc for Linux ],
[ XPCOM_USE_LEA=1
AC_DEFINE(XPCOM_USE_LEA)] )
dnl ========================================================
dnl =
dnl = --enable-optimize
@ -3835,6 +3849,7 @@ AC_SUBST(MOZ_INSURIFYING)
AC_SUBST(MOZ_BUILD_XPFE)
AC_SUBST(MOZ_LDAP_XPCOM)
AC_SUBST(XPCOM_USE_LEA)
AC_SUBST(UNIX_CRASH_ON_ASSERT)
AC_SUBST(NO_UNIX_ASYNC_DNS)
AC_SUBST(NO_SHARED_LIB)