comparison auto/os/conf @ 4:4b2dafa26fe2 NGINX_0_1_2

nginx 0.1.2 *) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS options in configure. *) Feature: the server_name directive supports *.domain.tld. *) Bugfix: the portability improvements. *) Bugfix: if configuration file was set in command line, the reconfiguration was impossible; bug appeared in 0.1.1. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used. *) Bugfix: with sendfile the response was not recoded according to the charset module directives; bug appeared in 0.1.1. *) Bugfix: very seldom bug in the kqueue processing. *) Bugfix: the gzip module compressed the proxied responses that was already compressed.
author Igor Sysoev <http://sysoev.ru>
date Thu, 21 Oct 2004 00:00:00 +0400
parents f0b350454894
children 46833bd150cb
comparison
equal deleted inserted replaced
3:8beaf7b3241f 4:4b2dafa26fe2
29 SunOS:*) 29 SunOS:*)
30 . auto/os/solaris 30 . auto/os/solaris
31 ;; 31 ;;
32 32
33 win32) 33 win32)
34 CORE_INCS="$WIN32_INCS" 34 . auto/os/win32
35 CORE_DEPS="$WIN32_DEPS"
36 CORE_SRCS="$WIN32_SRCS $IOCP_SRCS"
37 OS_CONFIG="$WIN32_CONFIG"
38 EVENT_MODULES="$EVENT_MODULES $IOCP_MODULE"
39 EVENT_FOUND=YES
40
41 if [ $EVENT_SELECT = NO ]; then
42 CORE_SRCS="$CORE_SRCS $SELECT_SRCS"
43 EVENT_MODULES="$EVENT_MODULES $SELECT_MODULE"
44 fi
45
46 have=HAVE_AIO . auto/have
47 have=HAVE_IOCP . auto/have
48 CORE_LIBS="$CORE_LIBS ws2_32.lib"
49 ;; 35 ;;
50 36
51 *) 37 *)
52 CORE_INCS="$UNIX_INCS" 38 CORE_INCS="$UNIX_INCS"
53 CORE_DEPS="$UNIX_DEPS $POSIX_DEPS" 39 CORE_DEPS="$UNIX_DEPS $POSIX_DEPS"
54 CORE_SRCS="$UNIX_SRCS" 40 CORE_SRCS="$UNIX_SRCS"
55 ;; 41 ;;
56 42
57 esac 43 esac
44
45
46 if [ $PLATFORM != win32 ]; then
47
48 ngx_feature="/dev/poll"
49 ngx_feature_name="devpoll"
50 ngx_feature_run=no
51 ngx_feature_incs="#include <sys/devpoll.h>"
52 ngx_feature_libs=
53 ngx_feature_test="int n, dp; struct dvpoll dvp;
54 dp = 0;
55 dvp.dp_fds = NULL;
56 dvp.dp_nfds = 0;
57 dvp.dp_timeout = 0;
58 n = ioctl(dp, DP_POLL, &dvp)"
59 . auto/feature
60
61 if [ $ngx_found = yes ]; then
62 have=HAVE_DEVPOLL . auto/have
63 CORE_SRCS="$CORE_SRCS $DEVPOLL_SRCS"
64 EVENT_MODULES="$EVENT_MODULES $DEVPOLL_MODULE"
65 EVENT_FOUND=YES
66 fi
67
68
69 if test -z "$NGX_KQUEUE_CHECKED"; then
70 ngx_feature="kqueue"
71 ngx_feature_name="kqueue"
72 ngx_feature_run=no
73 ngx_feature_incs="#include <sys/event.h>"
74 ngx_feature_libs=
75 ngx_feature_test="int kq; kq = kqueue()"
76 . auto/feature
77
78 if [ $ngx_found = yes ]; then
79
80 have=HAVE_KQUEUE . auto/have
81 have=HAVE_CLEAR_EVENT . auto/have
82 EVENT_MODULES="$EVENT_MODULES $KQUEUE_MODULE"
83 CORE_SRCS="$CORE_SRCS $KQUEUE_SRCS"
84 EVENT_FOUND=YES
85
86 ngx_feature="kqueue's NOTE_LOWAT"
87 ngx_feature_name="HAVE_LOWAT_EVENT"
88 ngx_feature_run=no
89 ngx_feature_incs="#include <sys/event.h>"
90 ngx_feature_libs=
91 ngx_feature_test="struct kevent kev;
92 kev.fflags = NOTE_LOWAT;"
93 . auto/feature
94 fi
95 fi
96 fi