summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2018-02-25 23:42:31 +0000
committerrofl0r <rofl0r@users.noreply.github.com>2018-02-27 20:13:35 +0000
commita53f62a212947600a785b3e94db55a856325920e (patch)
tree542438e6e7f7f803fe3ddc32bfedc5126ea0c968
parentb8c6a2127de637c2c41eaf5d9b61c857116690e6 (diff)
enable transparent proxy by default
by having all features turned on by default, the binary is only slightly bigger, but users of binary distros get the whole package and don't need to compile tinyproxy by hand if they need a feature that wasn't compiled in. it also prevents the confusion from getting syntax errors when a config file using those features is parsed. another advantage is that by enabling them these features may actually get some more testing.
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 6b40679..66e6031 100644
--- a/configure.ac
+++ b/configure.ac
@@ -124,8 +124,8 @@ dnl Include the transparent proxy support
AH_TEMPLATE([TRANSPARENT_PROXY],
[Include support for using tinyproxy as a transparent proxy.])
TP_ARG_ENABLE(transparent,
- [Enable transparent proxying code (default is NO)],
- no)
+ [Enable transparent proxying code (default is YES)],
+ yes)
if test x"$transparent_enabled" = x"yes"; then
ADDITIONAL_OBJECTS="$ADDITIONAL_OBJECTS transparent-proxy.o"
AC_DEFINE(TRANSPARENT_PROXY)