From 8e811c11b96bafca446404c6256d8edbb01900b0 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 7 Jul 2004 19:48:31 +0000 Subject: nginx-0.0.7-2004-07-07-23:48:31 import --- auto/threads | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'auto/threads') diff --git a/auto/threads b/auto/threads index 8f7e10bfc..301dacfe0 100644 --- a/auto/threads +++ b/auto/threads @@ -30,6 +30,15 @@ case $USE_THREADS in CORE_LIBS="$CORE_LIBS -pthread" ;; + linuxthreads) + have=NGX_THREADS . auto/have + have=NGX_LINUXTHREADS . auto/have + CFLAGS="$CFLAGS -D_THREAD_SAFE" + CFLAGS="$CFLAGS -I /usr/local/include/pthread/linuxthreads" + CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" + CORE_LIBS="$CORE_LIBS -L /usr/local/lib -llthread -llgcc_r" + ;; + lc_r) have=NGX_THREADS . auto/have CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" -- cgit