nginx-0.0.7-2004-07-07-23:48:31 import
diff --git a/auto/threads b/auto/threads index 8f7e10b..301dacf 100644 --- a/auto/threads +++ b/auto/threads
@@ -30,6 +30,15 @@ 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"