summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-01-30 07:30:20 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-01-30 07:30:20 +0000
commit7f3886e54be0f3b7f8c4912c192a6fa4f74cadf7 (patch)
tree4f1dd9d7882a4d6cb1d3bc44d833ddfa59b6c767 /freebsd
parent1580c701aedeadaa2c864f81b96bb38fc5461b31 (diff)
downloadrsyslog-7f3886e54be0f3b7f8c4912c192a6fa4f74cadf7.tar.gz
rsyslog-7f3886e54be0f3b7f8c4912c192a6fa4f74cadf7.tar.xz
rsyslog-7f3886e54be0f3b7f8c4912c192a6fa4f74cadf7.zip
fixed a makefile bug that disabled db suppot when netzip was enabled
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/Makefile9
1 files changed, 9 insertions, 0 deletions
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