summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2006-11-30 10:28:26 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2006-11-30 10:28:26 +0000
commit27781d350297813a58fec6e0928b03290aaf218e (patch)
treea1a0a89d7dfeff4a8b8ed11ab0b6203ec3548a8b /linux
parent1652cc3105c551152b43c0129e157843472311c4 (diff)
downloadrsyslog-27781d350297813a58fec6e0928b03290aaf218e.tar.gz
rsyslog-27781d350297813a58fec6e0928b03290aaf218e.tar.xz
rsyslog-27781d350297813a58fec6e0928b03290aaf218e.zip
on the way to implement on-the-wire zip compression (not yet complete)
Diffstat (limited to 'linux')
-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