diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-07-07 23:48:31 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-07-07 23:48:31 +0400 |
commit | 8e811c11b96bafca446404c6256d8edbb01900b0 (patch) | |
tree | d5d1c81259b76c997da6635192eb33b9dfc6048e /auto | |
parent | 2b97993c7a6525bf41c694414450943d39605757 (diff) |
nginx-0.0.7-2004-07-07-23:48:31 import
Diffstat (limited to 'auto')
-rw-r--r-- | auto/threads | 9 |
1 files changed, 9 insertions, 0 deletions
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" |