summaryrefslogtreecommitdiffstats
path: root/linux/Makefile
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-10-24 11:49:02 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-10-24 11:49:02 +0000
commite5507768177bd04231c44d6671851f98b15a1622 (patch)
treee577c7130893d276cfd44127f24282b4979d5708 /linux/Makefile
parentf42b66df986e7a7eb617841ee5550ffbad567449 (diff)
downloadrsyslog-e5507768177bd04231c44d6671851f98b15a1622.tar.gz
rsyslog-e5507768177bd04231c44d6671851f98b15a1622.tar.xz
rsyslog-e5507768177bd04231c44d6671851f98b15a1622.zip
some non-intrusive preparations for dual-threading
Diffstat (limited to 'linux/Makefile')
-rw-r--r--linux/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/Makefile b/linux/Makefile
index 50d3d5a5..7d0498bf 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -33,6 +33,9 @@ FEATURE_REGEXP=1
# Enable RFC 3195 support (REQUIRES LIBLOGGING 0.6.0 or above!)
FEATURE_RFC3195=1
+# Enable multithreading via pthreads (very experimental!)
+FEATURE_PTHREADS=1
+
# Enable debug mode (much slower code)
FEATURE_DEBUG=1
@@ -68,6 +71,10 @@ ifeq ($(strip $(FEATURE_REGEXP)), 1)
F_REGEXP=-DFEATURE_REGEXP
endif
+ifeq ($(strip $(FEATURE_PTHREADS)), 1)
+ F_PTHREADS=-DUSE_PTHREADS
+endif
+
ifeq ($(strip $(FEATURE_RFC3195)), 1)
F_RFC3195=-DFEATURE_RFC3195
else