comparison auto/threads @ 6:80ba094c6b3e NGINX_0_1_3

nginx 0.1.3 *) Feature: the ngx_http_autoindex_module and the autoindex directive. *) Feature: the proxy_set_x_url directive. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used.
author Igor Sysoev <http://sysoev.ru>
date Mon, 25 Oct 2004 00:00:00 +0400
parents f0b350454894
children 6f8b0dc0f8dd
comparison
equal deleted inserted replaced
5:985c56ebe724 6:80ba094c6b3e
18 fi 18 fi
19 ;; 19 ;;
20 esac 20 esac
21 ;; 21 ;;
22 22
23 pthread) 23 pthreads)
24 have=NGX_THREADS . auto/have 24 have=NGX_THREADS . auto/have
25 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" 25 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS"
26 CORE_LIBS="$CORE_LIBS -lpthread" 26 CORE_LIBS="$CORE_LIBS -lpthread"
27 ;; 27 ;;
28 28
29 freebsd4) 29 libthr)
30 have=NGX_THREADS . auto/have 30 have=NGX_THREADS . auto/have
31 CFLAGS="$CFLAGS -pthread"
32 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" 31 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS"
33 CORE_LIBS="$CORE_LIBS -pthread" 32 CORE_LIBS="$CORE_LIBS -lthr"
34 ;; 33 ;;
35 34
36 linuxthreads) 35 linuxthreads)
37 have=NGX_THREADS . auto/have 36 have=NGX_THREADS . auto/have
38 have=NGX_LINUXTHREADS . auto/have 37 have=NGX_LINUXTHREADS . auto/have
40 CFLAGS="$CFLAGS -I /usr/local/include/pthread/linuxthreads" 39 CFLAGS="$CFLAGS -I /usr/local/include/pthread/linuxthreads"
41 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" 40 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS"
42 CORE_LIBS="$CORE_LIBS -L /usr/local/lib -llthread -llgcc_r" 41 CORE_LIBS="$CORE_LIBS -L /usr/local/lib -llthread -llgcc_r"
43 ;; 42 ;;
44 43
45 lc_r) 44 libc_r)
45 case $PLATFORM in
46 FreeBSD:[34]*)
47 have=NGX_THREADS . auto/have
48 CFLAGS="$CFLAGS -pthread"
49 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS"
50 CORE_LIBS="$CORE_LIBS -pthread"
51 ;;
52
53 FreeBSD:5*)
54 have=NGX_THREADS . auto/have
55 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS"
56 CORE_LIBS="$CORE_LIBS -lc_r"
57 ;;
58 esac
59 ;;
60
61 NO)
62 ;;
63
64 *)
46 have=NGX_THREADS . auto/have 65 have=NGX_THREADS . auto/have
47 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS" 66 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS"
48 CORE_LIBS="$CORE_LIBS -lc_r" 67 CORE_LIBS="$CORE_LIBS -l$USE_THREADS"
49 ;;
50
51 lthr)
52 have=NGX_THREADS . auto/have
53 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS"
54 CORE_LIBS="$CORE_LIBS -lthr"
55 ;;
56
57 lkse)
58 have=NGX_THREADS . auto/have
59 CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS"
60 CORE_LIBS="$CORE_LIBS -lkse"
61 ;; 68 ;;
62 69
63 esac 70 esac