diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2006-11-30 10:28:26 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2006-11-30 10:28:26 +0000 |
commit | 27781d350297813a58fec6e0928b03290aaf218e (patch) | |
tree | a1a0a89d7dfeff4a8b8ed11ab0b6203ec3548a8b /linux/Makefile | |
parent | 1652cc3105c551152b43c0129e157843472311c4 (diff) | |
download | rsyslog-27781d350297813a58fec6e0928b03290aaf218e.tar.gz rsyslog-27781d350297813a58fec6e0928b03290aaf218e.tar.bz2 rsyslog-27781d350297813a58fec6e0928b03290aaf218e.zip |
on the way to implement on-the-wire zip compression (not yet complete)
Diffstat (limited to 'linux/Makefile')
-rw-r--r-- | linux/Makefile | 9 |
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 |