diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2005-10-24 11:49:02 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2005-10-24 11:49:02 +0000 |
commit | e5507768177bd04231c44d6671851f98b15a1622 (patch) | |
tree | e577c7130893d276cfd44127f24282b4979d5708 /linux/Makefile | |
parent | f42b66df986e7a7eb617841ee5550ffbad567449 (diff) | |
download | rsyslog-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/Makefile | 7 |
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 |