comparison auto/threads @ 493:975f62e77f02 release-0.1.21

nginx-0.1.21-RELEASE import *) Bugfix: the ngx_http_stub_status_module showed incorrect statistics if "rtsig" method was used or if several worker process ran on SMP. *) Bugfix: nginx could not be built by the icc compiler on Linux or if the zlib-1.2.x library was building from sources. *) Bugfix: nginx could not be built on NetBSD 2.0.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 22 Feb 2005 14:40:13 +0000
parents 2ff194b74f1e
children 174f1e853e1e
comparison
equal deleted inserted replaced
492:a3fac9a5aa5b 493:975f62e77f02
7 have=NGX_THREADS . auto/have 7 have=NGX_THREADS . auto/have
8 have=NGX_USE_RFORK . auto/have 8 have=NGX_USE_RFORK . auto/have
9 CORE_DEPS="$CORE_DEPS $FREEBSD_RFORK_DEPS" 9 CORE_DEPS="$CORE_DEPS $FREEBSD_RFORK_DEPS"
10 CORE_SRCS="$CORE_SRCS $FREEBSD_RFORK_SRCS" 10 CORE_SRCS="$CORE_SRCS $FREEBSD_RFORK_SRCS"
11 11
12 case $NGX_PLATFORM in 12 case "$NGX_PLATFORM" in
13 *:i386) 13 *:i386)
14 if [ \( $version -gt 500000 -a $version -lt 501000 \) \ 14 if [ \( $version -gt 500000 -a $version -lt 501000 \) \
15 -o $version -lt 491000 ] 15 -o $version -lt 491000 ]
16 then 16 then
17 CORE_SRCS="$CORE_SRCS $FREEBSD_RFORK_THREAD_SRCS" 17 CORE_SRCS="$CORE_SRCS $FREEBSD_RFORK_THREAD_SRCS"
40 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" 40 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS"
41 CORE_LIBS="$CORE_LIBS -L /usr/local/lib -llthread -llgcc_r" 41 CORE_LIBS="$CORE_LIBS -L /usr/local/lib -llthread -llgcc_r"
42 ;; 42 ;;
43 43
44 libc_r) 44 libc_r)
45 case $NGX_PLATFORM in 45 case "$NGX_PLATFORM" in
46 FreeBSD:[34]*) 46 FreeBSD:[34]*)
47 have=NGX_THREADS . auto/have 47 have=NGX_THREADS . auto/have
48 CFLAGS="$CFLAGS -pthread" 48 CFLAGS="$CFLAGS -pthread"
49 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" 49 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS"
50 CORE_LIBS="$CORE_LIBS -pthread" 50 CORE_LIBS="$CORE_LIBS -pthread"