summaryrefslogtreecommitdiffstats
path: root/linux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linux/Makefile')
-rw-r--r--linux/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux/Makefile b/linux/Makefile
index 45299baa..0bc3b810 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -30,6 +30,11 @@ FEATURE_DB=0
# Enable regular expressions
FEATURE_REGEXP=1
+# Enable zlib compression
+# Depending on the messages, turning zlib compression on
+# results in moderate savings of network traffic.
+FEATURE_NETZIP=1
+
# Enable RFC 3195 support (REQUIRES LIBLOGGING 0.6.0 or above!)
FEATURE_RFC3195=0
@@ -71,6 +76,10 @@ ifeq ($(strip $(FEATURE_REGEXP)), 1)
F_REGEXP=-DFEATURE_REGEXP
endif
+ifeq ($(strip $(FEATURE_NETZIP)), 1)
+ WITHDB=-DUSE_NETZIP
+endif
+
ifeq ($(strip $(FEATURE_PTHREADS)), 1)
F_PTHREADS=-DUSE_PTHREADS
LPTHREAD=-lpthread