]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Turn --enable-buf-freelists off by default
authorAndrea Shepard <andrea@torproject.org>
Tue, 13 May 2014 00:28:26 +0000 (17:28 -0700)
committerAndrea Shepard <andrea@torproject.org>
Tue, 13 May 2014 00:28:26 +0000 (17:28 -0700)
configure.ac

index f921dd503ff780694cdd7df8de9686b21e3d2b72..936d61bb2eaa9e486b837f3afbe719aad8bdc2c0 100644 (file)
@@ -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