summaryrefslogtreecommitdiffstats
path: root/linux/Makefile
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-06-11 08:39:23 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-06-11 08:39:23 +0000
commitf87e084925dec6b82734cd2dc44695633b0c3ee5 (patch)
tree200133b2bdf86d45f5fe9fb0470a3b94151f7ccc /linux/Makefile
parent81378442ff2a89b20595ee52a25b21383df7bf9d (diff)
downloadrsyslog-f87e084925dec6b82734cd2dc44695633b0c3ee5.tar.gz
rsyslog-f87e084925dec6b82734cd2dc44695633b0c3ee5.tar.xz
rsyslog-f87e084925dec6b82734cd2dc44695633b0c3ee5.zip
some more fixes for FEATURE_KLOGD mechanism
Diffstat (limited to 'linux/Makefile')
-rw-r--r--linux/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux/Makefile b/linux/Makefile
index 75d68507..39ea440c 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -41,6 +41,11 @@ FEATURE_RFC3195=0
# Enable multithreading via pthreads (experimental!)
FEATURE_PTHREADS=1
+# This feature indicates if klogd functionality
+# should be integrated. If it is switched off, klogd
+# is still compiled, but it is an empty shell.
+FEATURE_KLOGD=1
+
# Enable debug mode (much slower code)
FEATURE_DEBUG=0
@@ -72,6 +77,10 @@ ifeq ($(strip $(FEATURE_DB)), 1)
WITHDB=-DWITH_DB
endif
+ifeq ($(strip $(FEATURE_KLOGD)), 1)
+ FEATKLOGD=-DFEATURE_KLOGD
+endif
+
ifeq ($(strip $(FEATURE_REGEXP)), 1)
F_REGEXP=-DFEATURE_REGEXP
endif