From 7f3886e54be0f3b7f8c4912c192a6fa4f74cadf7 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 30 Jan 2007 07:30:20 +0000 Subject: fixed a makefile bug that disabled db suppot when netzip was enabled --- freebsd/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'freebsd') 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 -- cgit