aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorArturo Filastò <hellais@gmail.com>2011-11-24 07:53:04 +0100
committerNick Mathewson <nickm@torproject.org>2011-11-30 14:54:15 -0500
commit6db69d9d612462489600df641b91e6ae49dfd382 (patch)
treee2264087023cabbc55063105e588ea8be79edf0c /configure.in
parentc90c33fd53463b67810b4e2b4c994e952e087698 (diff)
downloadtor-6db69d9d612462489600df641b91e6ae49dfd382.tar
tor-6db69d9d612462489600df641b91e6ae49dfd382.tar.gz
Add support for tor2web mode via configure
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 64d9d6db7..b723f610f 100644
--- a/configure.in
+++ b/configure.in
@@ -145,6 +145,13 @@ if test "$enable_local_appdata" = "yes"; then
[Defined if we default to host local appdata paths on Windows])
fi
+# Tor2web mode flag
+AC_ARG_ENABLE(tor2web-mode,
+ AS_HELP_STRING(--enable-tor2web-mode, support tor2web non-anonymous mode),
+[if test x$enableval = xyes; then
+ CFLAGS="$CFLAGS -D ENABLE_TOR2WEB_MODE=1"
+fi])
+
AC_ARG_ENABLE(bufferevents,
AS_HELP_STRING(--enable-bufferevents, use Libevent's buffered IO.))