summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-02 13:59:47 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-02 13:59:47 -0400
commit4d4ccc505b0c9639c68b42645d5a29497c48fe4d (patch)
treee4c12832ff423ac86ba16e39444b88ab5f648d1b /configure.ac
parent46ef4487d3914cac1aba148ec58ff271bda3c636 (diff)
downloadtor-4d4ccc505b0c9639c68b42645d5a29497c48fe4d.tar.gz
tor-4d4ccc505b0c9639c68b42645d5a29497c48fe4d.zip
Search for remaining references to 'bufferevent'.
Remove or adjust as appropriate.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac27
1 files changed, 0 insertions, 27 deletions
diff --git a/configure.ac b/configure.ac
index 140bd4c8e1..bc2f515c4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -161,9 +161,6 @@ AC_ARG_ENABLE(tor2web-mode,
CFLAGS="$CFLAGS -D ENABLE_TOR2WEB_MODE=1"
fi])
-AC_ARG_ENABLE(bufferevents,
- AS_HELP_STRING(--enable-bufferevents, [use Libevent's buffered IO]))
-
AC_ARG_ENABLE(tool-name-check,
AS_HELP_STRING(--disable-tool-name-check, [check for sanely named toolchain when cross-compiling]))
@@ -550,30 +547,6 @@ LIBS="$save_LIBS"
LDFLAGS="$save_LDFLAGS"
CPPFLAGS="$save_CPPFLAGS"
-dnl bufferents require version 2.0.13
-if test "$enable_bufferevents" = "yes"; then
- AC_CHECK_HEADERS(event2/bufferevent_ssl.h)
-
- CPPFLAGS="$CPPFLAGS $TOR_CPPFLAGS_libevent"
-
- AC_MSG_CHECKING([whether Libevent is new enough for bufferevents])
- AC_COMPILE_IFELSE([AC_LANG_SOURCE([
-#include <event2/event.h>
-#if !defined(LIBEVENT_VERSION_NUMBER) || LIBEVENT_VERSION_NUMBER < 0x02000d00
-#error
-int x = y(zz);
-#else
-int x = 1;
-#endif
- ])], [ AC_MSG_RESULT([yes]) ],
- [ AC_MSG_RESULT([no])
- AC_MSG_ERROR([Libevent does not seem new enough to support bufferevents. We require 2.0.13-stable or later]) ] )
-fi
-
-LIBS="$save_LIBS"
-LDFLAGS="$save_LDFLAGS"
-CPPFLAGS="$save_CPPFLAGS"
-
AC_SUBST(TOR_LIBEVENT_LIBS)
dnl ------------------------------------------------------