From 27781d350297813a58fec6e0928b03290aaf218e Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 30 Nov 2006 10:28:26 +0000 Subject: on the way to implement on-the-wire zip compression (not yet complete) --- linux/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'linux') 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 -- cgit