[tor-commits] [tor/master] Turn --enable-buf-freelists off by default
nickm at torproject.org
nickm at torproject.org
Thu May 22 20:39:57 UTC 2014
commit 17435384c050b29cd3c70819ac7176c407f4d1bb
Author: Andrea Shepard <andrea at torproject.org>
Date: Mon May 12 17:28:26 2014 -0700
Turn --enable-buf-freelists off by default
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index f921dd5..936d61b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,7 @@ CPPFLAGS="$CPPFLAGS -I\${top_srcdir}/src/common"
#XXXX020 We should make these enabled or not, before 0.2.0.x-final
AC_ARG_ENABLE(buf-freelists,
- AS_HELP_STRING(--disable-buf-freelists, disable freelists for buffer RAM))
+ AS_HELP_STRING(--enable-buf-freelists, enable freelists for buffer RAM))
AC_ARG_ENABLE(openbsd-malloc,
AS_HELP_STRING(--enable-openbsd-malloc, Use malloc code from openbsd. Linux only))
AC_ARG_ENABLE(instrument-downloads,
@@ -54,7 +54,7 @@ if test "$enable_static_tor" = "yes"; then
CFLAGS="$CFLAGS -static"
fi
-if test x$enable_buf_freelists != xno; then
+if test x$enable_buf_freelists = xyes; then
AC_DEFINE(ENABLE_BUF_FREELISTS, 1,
[Defined if we try to use freelists for buffer RAM chunks])
fi
More information about the tor-commits
mailing list