summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile
index 0dd25f95..7b05766f 100644
--- a/freebsd/Makefile
+++ b/freebsd/Makefile
@@ -34,6 +34,11 @@ FEATURE_RFC3195=0
# Enable multithreading via pthreads (experimental!)
FEATURE_PTHREADS=1
+# Enable zlib compression
+# Depending on the messages, turning zlib compression on
+# results in moderate savings of network traffic.
+FEATURE_NETZIP=1
+
# Enable debug mode (much slower code)
FEATURE_DEBUG=0
@@ -66,6 +71,10 @@ MANDIR = /usr/share/man
WITHDB=-DWITH_DB
.endif
+.if $(FEATURE_NETZIP) == 1
+ NETZIP=-DWITH_DB
+.endif
+
.if $(FEATURE_REGEXP) == 1
F_REGEXP=-DFEATURE_REGEXP
.endif