]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add support for tor2web mode via configure
authorArturo Filastò <hellais@gmail.com>
Thu, 24 Nov 2011 06:53:04 +0000 (07:53 +0100)
committerNick Mathewson <nickm@torproject.org>
Wed, 30 Nov 2011 19:54:15 +0000 (14:54 -0500)
configure.in

index 64d9d6db7b052ea993308f735ffa9443eb147d68..b723f610f777100400db6e20c1f5e6ccbda1538e 100644 (file)
@@ -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.))