浏览代码

Add support for tor2web mode via configure

Arturo Filastò 14 年之前
父节点
当前提交
6db69d9d61
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      configure.in

+ 7 - 0
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.))