diff --git a/INSTALL b/INSTALL index b84fb1bf..4d3e1af9 100644 --- a/INSTALL +++ b/INSTALL @@ -99,8 +99,8 @@ any of the following arguments (not a definitive list) to 'configure': Enable support for page allocation/deallocation via sbrk(2), in addition to mmap(2). ---enable-fill - Enable support for junk/zero filling of memory. See the "opt.junk"/ +--disable-fill + Disable support for junk/zero filling of memory. See the "opt.junk"/ "opt.zero" option documentation for usage details. --enable-xmalloc diff --git a/configure.ac b/configure.ac index 78f7c8e5..b503f646 100644 --- a/configure.ac +++ b/configure.ac @@ -425,7 +425,8 @@ fi dnl Enable statistics calculation by default. AC_ARG_ENABLE([stats], - [AS_HELP_STRING([--enable-stats], [Enable statistics calculation/reporting])], + [AS_HELP_STRING([--disable-stats], + [Disable statistics calculation/reporting])], [if test "x$enable_stats" = "xno" ; then enable_stats="0" else @@ -594,16 +595,16 @@ if test "x$enable_dss" = "x1" ; then fi AC_SUBST([enable_dss]) -dnl Do not support the junk/zero filling option by default. +dnl Support the junk/zero filling option by default. AC_ARG_ENABLE([fill], - [AS_HELP_STRING([--enable-fill], [Support junk/zero filling option])], + [AS_HELP_STRING([--disable-fill], [Disable support for junk/zero filling])], [if test "x$enable_fill" = "xno" ; then enable_fill="0" else enable_fill="1" fi ], -[enable_fill="0"] +[enable_fill="1"] ) if test "x$enable_fill" = "x1" ; then AC_DEFINE([JEMALLOC_FILL], [ ])