From bce77e093ba6c3fc6e4a5d18db046d6c161b06ac Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 24 Oct 2005 13:47:08 +0000 Subject: doing some tests with cross-platform pthreads (mutex object as tester) --- freebsd/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'freebsd') diff --git a/freebsd/Makefile b/freebsd/Makefile index bd099f56..747ddaab 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -31,6 +31,9 @@ FEATURE_REGEXP=1 # Enable RFC 3195 support (REQUIRES LIBLOGGING 0.6.0 or above!) FEATURE_RFC3195=0 +# Enable multithreading via pthreads (very experimental!) +FEATURE_PTHREADS=1 + # Enable debug mode (much slower code) FEATURE_DEBUG=0 @@ -74,6 +77,10 @@ MANDIR = /usr/share/man LIBLOGGING_BIN= .endif +.if $(FEATURE_PTHREADS) == 1 + F_PTHREADS=-DUSE_PTHREADS +.endif + .if $(FEATURE_DEBUG) == 0 DBG=-DNDEBUG .endif -- cgit