Mercurial > hg > nginx-quic
annotate auto/modules @ 6321:bc9ea464e354
Slice filter: never run subrequests when main request is buffered.
With main request buffered, it's possible, that a slice subrequest will send
output before it. For example, while main request is waiting for aio read to
complete, a slice subrequest can start an aio operation as well. The order
in which aio callbacks are called is undetermined.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 08 Dec 2015 17:39:56 +0300 |
parents | 29f35e60840b |
children | c529555949b7 |
rev | line source |
---|---|
444
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
1 |
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
2 # Copyright (C) Igor Sysoev |
4412 | 3 # Copyright (C) Nginx, Inc. |
444
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
4 |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
5 |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
6 if [ $EVENT_SELECT = NO -a $EVENT_FOUND = NO ]; then |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
7 EVENT_SELECT=YES |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
8 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
9 |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
10 if [ $EVENT_SELECT = YES ]; then |
469 | 11 have=NGX_HAVE_SELECT . auto/have |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
12 CORE_SRCS="$CORE_SRCS $SELECT_SRCS" |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
13 EVENT_MODULES="$EVENT_MODULES $SELECT_MODULE" |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
14 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
15 |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
16 |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
17 if [ $EVENT_POLL = NO -a $EVENT_FOUND = NO ]; then |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
18 EVENT_POLL=YES |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
19 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
20 |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
21 if [ $EVENT_POLL = YES ]; then |
469 | 22 have=NGX_HAVE_POLL . auto/have |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
23 CORE_SRCS="$CORE_SRCS $POLL_SRCS" |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
24 EVENT_MODULES="$EVENT_MODULES $POLL_MODULE" |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
25 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
26 |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
27 |
469 | 28 if [ $NGX_TEST_BUILD_DEVPOLL = YES ]; then |
29 have=NGX_HAVE_DEVPOLL . auto/have | |
30 have=NGX_TEST_BUILD_DEVPOLL . auto/have | |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
31 EVENT_MODULES="$EVENT_MODULES $DEVPOLL_MODULE" |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
32 CORE_SRCS="$CORE_SRCS $DEVPOLL_SRCS" |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
33 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
34 |
719
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
35 |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
36 if [ $NGX_TEST_BUILD_EVENTPORT = YES ]; then |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
37 have=NGX_HAVE_EVENTPORT . auto/have |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
38 have=NGX_TEST_BUILD_EVENTPORT . auto/have |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
39 EVENT_MODULES="$EVENT_MODULES $EVENTPORT_MODULE" |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
40 CORE_SRCS="$CORE_SRCS $EVENTPORT_SRCS" |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
41 fi |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
42 |
469 | 43 if [ $NGX_TEST_BUILD_EPOLL = YES ]; then |
44 have=NGX_HAVE_EPOLL . auto/have | |
5372
36b58ddb566d
Events: support for EPOLLRDHUP (ticket #320).
Valentin Bartenev <vbart@nginx.com>
parents:
5329
diff
changeset
|
45 have=NGX_HAVE_EPOLLRDHUP . auto/have |
3052
6060225e9261
FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents:
2985
diff
changeset
|
46 have=NGX_HAVE_EVENTFD . auto/have |
469 | 47 have=NGX_TEST_BUILD_EPOLL . auto/have |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
48 EVENT_MODULES="$EVENT_MODULES $EPOLL_MODULE" |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
49 CORE_SRCS="$CORE_SRCS $EPOLL_SRCS" |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
50 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
51 |
473 | 52 if [ $NGX_TEST_BUILD_SOLARIS_SENDFILEV = YES ]; then |
53 have=NGX_TEST_BUILD_SOLARIS_SENDFILEV . auto/have | |
54 CORE_SRCS="$CORE_SRCS $SOLARIS_SENDFILEV_SRCS" | |
55 fi | |
56 | |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
57 |
521 | 58 if [ $HTTP != YES ]; then |
59 have=NGX_CRYPT . auto/nohave | |
60 CRYPT_LIB= | |
61 fi | |
62 | |
63 | |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
64 if [ $HTTP_CACHE = YES ]; then |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
65 USE_MD5=YES |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
66 have=NGX_HTTP_CACHE . auto/have |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
67 HTTP_SRCS="$HTTP_SRCS $HTTP_FILE_CACHE_SRCS" |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
68 fi |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
69 |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
70 |
509 | 71 if [ $HTTP_SSI = YES ]; then |
72 HTTP_POSTPONE=YES | |
73 fi | |
74 | |
641 | 75 |
6317 | 76 if [ $HTTP_SLICE = YES ]; then |
77 HTTP_POSTPONE=YES | |
78 fi | |
79 | |
80 | |
641 | 81 if [ $HTTP_ADDITION = YES ]; then |
82 HTTP_POSTPONE=YES | |
83 fi | |
84 | |
85 | |
541 | 86 # the module order is important |
2139 | 87 # ngx_http_static_module |
88 # ngx_http_gzip_static_module | |
89 # ngx_http_dav_module | |
541 | 90 # ngx_http_autoindex_module |
91 # ngx_http_index_module | |
2235 | 92 # ngx_http_random_index_module |
541 | 93 # |
577 | 94 # ngx_http_access_module |
95 # ngx_http_realip_module | |
96 # | |
541 | 97 # |
391
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
98 # the filter order is important |
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
99 # ngx_http_write_filter |
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
100 # ngx_http_header_filter |
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
101 # ngx_http_chunked_filter |
6246
257b51c37c5a
The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents:
6197
diff
changeset
|
102 # ngx_http_v2_filter |
391
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
103 # ngx_http_range_header_filter |
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
104 # ngx_http_gzip_filter |
509 | 105 # ngx_http_postpone_filter |
3485
74d652462d73
change ngx_http_ssi_filter and ngx_http_charset_filter order
Igor Sysoev <igor@sysoev.ru>
parents:
3482
diff
changeset
|
106 # ngx_http_ssi_filter |
391
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
107 # ngx_http_charset_filter |
2139 | 108 # ngx_http_xslt_filter |
3482 | 109 # ngx_http_image_filter |
2139 | 110 # ngx_http_sub_filter |
629 | 111 # ngx_http_addition_filter |
4837 | 112 # ngx_http_gunzip_filter |
541 | 113 # ngx_http_userid_filter |
114 # ngx_http_headers_filter | |
391
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
115 # ngx_http_copy_filter |
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
116 # ngx_http_range_body_filter |
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
117 # ngx_http_not_modified_filter |
6317 | 118 # ngx_http_slice_filter |
391
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
119 |
392
d1222d46b3f9
nginx-0.0.7-2004-07-15-00:07:58 import
Igor Sysoev <igor@sysoev.ru>
parents:
391
diff
changeset
|
120 HTTP_FILTER_MODULES="$HTTP_WRITE_FILTER_MODULE \ |
d1222d46b3f9
nginx-0.0.7-2004-07-15-00:07:58 import
Igor Sysoev <igor@sysoev.ru>
parents:
391
diff
changeset
|
121 $HTTP_HEADER_FILTER_MODULE \ |
5121
c0f7b94e88ba
Preliminary experimental support for SPDY draft 2.
Valentin Bartenev <vbart@nginx.com>
parents:
4837
diff
changeset
|
122 $HTTP_CHUNKED_FILTER_MODULE" |
c0f7b94e88ba
Preliminary experimental support for SPDY draft 2.
Valentin Bartenev <vbart@nginx.com>
parents:
4837
diff
changeset
|
123 |
6246
257b51c37c5a
The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents:
6197
diff
changeset
|
124 if [ $HTTP_V2 = YES ]; then |
257b51c37c5a
The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents:
6197
diff
changeset
|
125 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_V2_FILTER_MODULE" |
5121
c0f7b94e88ba
Preliminary experimental support for SPDY draft 2.
Valentin Bartenev <vbart@nginx.com>
parents:
4837
diff
changeset
|
126 fi |
c0f7b94e88ba
Preliminary experimental support for SPDY draft 2.
Valentin Bartenev <vbart@nginx.com>
parents:
4837
diff
changeset
|
127 |
c0f7b94e88ba
Preliminary experimental support for SPDY draft 2.
Valentin Bartenev <vbart@nginx.com>
parents:
4837
diff
changeset
|
128 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_RANGE_HEADER_FILTER_MODULE" |
391
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
129 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
130 if [ $HTTP_GZIP = YES ]; then |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
280
diff
changeset
|
131 have=NGX_HTTP_GZIP . auto/have |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
132 USE_ZLIB=YES |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
133 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_GZIP_FILTER_MODULE" |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
134 HTTP_SRCS="$HTTP_SRCS $HTTP_GZIP_SRCS" |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
135 fi |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
136 |
509 | 137 if [ $HTTP_POSTPONE = YES ]; then |
138 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_POSTPONE_FILTER_MODULE" | |
1932 | 139 HTTP_SRCS="$HTTP_SRCS $HTTP_POSTPONE_FILTER_SRCS" |
509 | 140 fi |
141 | |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
142 if [ $HTTP_SSI = YES ]; then |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
280
diff
changeset
|
143 have=NGX_HTTP_SSI . auto/have |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
144 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_SSI_FILTER_MODULE" |
597 | 145 HTTP_DEPS="$HTTP_DEPS $HTTP_SSI_DEPS" |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
146 HTTP_SRCS="$HTTP_SRCS $HTTP_SSI_SRCS" |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
147 fi |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
148 |
3485
74d652462d73
change ngx_http_ssi_filter and ngx_http_charset_filter order
Igor Sysoev <igor@sysoev.ru>
parents:
3482
diff
changeset
|
149 if [ $HTTP_CHARSET = YES ]; then |
74d652462d73
change ngx_http_ssi_filter and ngx_http_charset_filter order
Igor Sysoev <igor@sysoev.ru>
parents:
3482
diff
changeset
|
150 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_CHARSET_FILTER_MODULE" |
74d652462d73
change ngx_http_ssi_filter and ngx_http_charset_filter order
Igor Sysoev <igor@sysoev.ru>
parents:
3482
diff
changeset
|
151 HTTP_SRCS="$HTTP_SRCS $HTTP_CHARSET_SRCS" |
74d652462d73
change ngx_http_ssi_filter and ngx_http_charset_filter order
Igor Sysoev <igor@sysoev.ru>
parents:
3482
diff
changeset
|
152 fi |
74d652462d73
change ngx_http_ssi_filter and ngx_http_charset_filter order
Igor Sysoev <igor@sysoev.ru>
parents:
3482
diff
changeset
|
153 |
2139 | 154 if [ $HTTP_XSLT = YES ]; then |
155 USE_LIBXSLT=YES | |
156 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_XSLT_FILTER_MODULE" | |
157 HTTP_SRCS="$HTTP_SRCS $HTTP_XSLT_SRCS" | |
158 fi | |
159 | |
2788 | 160 if [ $HTTP_IMAGE_FILTER = YES ]; then |
161 USE_LIBGD=YES | |
162 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_IMAGE_FILTER_MODULE" | |
163 HTTP_SRCS="$HTTP_SRCS $HTTP_IMAGE_SRCS" | |
164 fi | |
165 | |
1172 | 166 if [ $HTTP_SUB = YES ]; then |
167 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_SUB_FILTER_MODULE" | |
168 HTTP_SRCS="$HTTP_SRCS $HTTP_SUB_SRCS" | |
169 fi | |
170 | |
629 | 171 if [ $HTTP_ADDITION = YES ]; then |
172 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_ADDITION_FILTER_MODULE" | |
173 HTTP_SRCS="$HTTP_SRCS $HTTP_ADDITION_SRCS" | |
174 fi | |
175 | |
4837 | 176 if [ $HTTP_GUNZIP = YES ]; then |
177 have=NGX_HTTP_GZIP . auto/have | |
178 USE_ZLIB=YES | |
179 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_GUNZIP_FILTER_MODULE" | |
180 HTTP_SRCS="$HTTP_SRCS $HTTP_GUNZIP_SRCS" | |
181 fi | |
182 | |
409
8ac40cae79f0
nginx-0.0.10-2004-08-29-07:55:41 import
Igor Sysoev <igor@sysoev.ru>
parents:
408
diff
changeset
|
183 if [ $HTTP_USERID = YES ]; then |
8ac40cae79f0
nginx-0.0.10-2004-08-29-07:55:41 import
Igor Sysoev <igor@sysoev.ru>
parents:
408
diff
changeset
|
184 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_USERID_FILTER_MODULE" |
8ac40cae79f0
nginx-0.0.10-2004-08-29-07:55:41 import
Igor Sysoev <igor@sysoev.ru>
parents:
408
diff
changeset
|
185 HTTP_SRCS="$HTTP_SRCS $HTTP_USERID_SRCS" |
8ac40cae79f0
nginx-0.0.10-2004-08-29-07:55:41 import
Igor Sysoev <igor@sysoev.ru>
parents:
408
diff
changeset
|
186 fi |
8ac40cae79f0
nginx-0.0.10-2004-08-29-07:55:41 import
Igor Sysoev <igor@sysoev.ru>
parents:
408
diff
changeset
|
187 |
6317 | 188 if [ $HTTP_SLICE = YES ]; then |
189 HTTP_SRCS="$HTTP_SRCS $HTTP_SLICE_SRCS" | |
190 else | |
191 HTTP_SLICE_FILTER_MODULE="" | |
192 fi | |
193 | |
5121
c0f7b94e88ba
Preliminary experimental support for SPDY draft 2.
Valentin Bartenev <vbart@nginx.com>
parents:
4837
diff
changeset
|
194 |
6246
257b51c37c5a
The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents:
6197
diff
changeset
|
195 if [ $HTTP_V2 = YES ]; then |
257b51c37c5a
The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents:
6197
diff
changeset
|
196 have=NGX_HTTP_V2 . auto/have |
257b51c37c5a
The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents:
6197
diff
changeset
|
197 HTTP_MODULES="$HTTP_MODULES $HTTP_V2_MODULE" |
257b51c37c5a
The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents:
6197
diff
changeset
|
198 HTTP_INCS="$HTTP_INCS $HTTP_V2_INCS" |
257b51c37c5a
The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents:
6197
diff
changeset
|
199 HTTP_DEPS="$HTTP_DEPS $HTTP_V2_DEPS" |
257b51c37c5a
The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents:
6197
diff
changeset
|
200 HTTP_SRCS="$HTTP_SRCS $HTTP_V2_SRCS" |
5121
c0f7b94e88ba
Preliminary experimental support for SPDY draft 2.
Valentin Bartenev <vbart@nginx.com>
parents:
4837
diff
changeset
|
201 fi |
c0f7b94e88ba
Preliminary experimental support for SPDY draft 2.
Valentin Bartenev <vbart@nginx.com>
parents:
4837
diff
changeset
|
202 |
457 | 203 HTTP_MODULES="$HTTP_MODULES $HTTP_STATIC_MODULE" |
204 | |
1802
7c832e132dbc
set ngx_http_gzip_static module just before ngx_http_static_module
Igor Sysoev <igor@sysoev.ru>
parents:
1790
diff
changeset
|
205 if [ $HTTP_GZIP_STATIC = YES ]; then |
7c832e132dbc
set ngx_http_gzip_static module just before ngx_http_static_module
Igor Sysoev <igor@sysoev.ru>
parents:
1790
diff
changeset
|
206 have=NGX_HTTP_GZIP . auto/have |
7c832e132dbc
set ngx_http_gzip_static module just before ngx_http_static_module
Igor Sysoev <igor@sysoev.ru>
parents:
1790
diff
changeset
|
207 HTTP_MODULES="$HTTP_MODULES $HTTP_GZIP_STATIC_MODULE" |
7c832e132dbc
set ngx_http_gzip_static module just before ngx_http_static_module
Igor Sysoev <igor@sysoev.ru>
parents:
1790
diff
changeset
|
208 HTTP_SRCS="$HTTP_SRCS $HTTP_GZIP_STATIC_SRCS" |
7c832e132dbc
set ngx_http_gzip_static module just before ngx_http_static_module
Igor Sysoev <igor@sysoev.ru>
parents:
1790
diff
changeset
|
209 fi |
7c832e132dbc
set ngx_http_gzip_static module just before ngx_http_static_module
Igor Sysoev <igor@sysoev.ru>
parents:
1790
diff
changeset
|
210 |
633 | 211 if [ $HTTP_DAV = YES ]; then |
637 | 212 have=NGX_HTTP_DAV . auto/have |
633 | 213 HTTP_MODULES="$HTTP_MODULES $HTTP_DAV_MODULE" |
214 HTTP_SRCS="$HTTP_SRCS $HTTP_DAV_SRCS" | |
215 fi | |
216 | |
457 | 217 if [ $HTTP_AUTOINDEX = YES ]; then |
218 HTTP_MODULES="$HTTP_MODULES $HTTP_AUTOINDEX_MODULE" | |
219 HTTP_SRCS="$HTTP_SRCS $HTTP_AUTOINDEX_SRCS" | |
220 fi | |
221 | |
222 HTTP_MODULES="$HTTP_MODULES $HTTP_INDEX_MODULE" | |
364
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
223 |
2235 | 224 if [ $HTTP_RANDOM_INDEX = YES ]; then |
225 HTTP_MODULES="$HTTP_MODULES $HTTP_RANDOM_INDEX_MODULE" | |
226 HTTP_SRCS="$HTTP_SRCS $HTTP_RANDOM_INDEX_SRCS" | |
227 fi | |
228 | |
5329
00bdc9f08a16
Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5121
diff
changeset
|
229 if [ $HTTP_AUTH_REQUEST = YES ]; then |
00bdc9f08a16
Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5121
diff
changeset
|
230 HTTP_MODULES="$HTTP_MODULES $HTTP_AUTH_REQUEST_MODULE" |
00bdc9f08a16
Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5121
diff
changeset
|
231 HTTP_SRCS="$HTTP_SRCS $HTTP_AUTH_REQUEST_SRCS" |
00bdc9f08a16
Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5121
diff
changeset
|
232 fi |
00bdc9f08a16
Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5121
diff
changeset
|
233 |
503 | 234 if [ $HTTP_AUTH_BASIC = YES ]; then |
3922
9c057d5e1c27
"$apr1", "{PLAIN}", and "{SSHA}" password methods in auth basic module
Igor Sysoev <igor@sysoev.ru>
parents:
3773
diff
changeset
|
235 USE_MD5=YES |
9c057d5e1c27
"$apr1", "{PLAIN}", and "{SSHA}" password methods in auth basic module
Igor Sysoev <igor@sysoev.ru>
parents:
3773
diff
changeset
|
236 USE_SHA1=YES |
503 | 237 have=NGX_CRYPT . auto/have |
238 HTTP_MODULES="$HTTP_MODULES $HTTP_AUTH_BASIC_MODULE" | |
239 HTTP_SRCS="$HTTP_SRCS $HTTP_AUTH_BASIC_SRCS" | |
240 CORE_LIBS="$CORE_LIBS $CRYPT_LIB" | |
241 fi | |
242 | |
368
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
243 if [ $HTTP_ACCESS = YES ]; then |
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
244 HTTP_MODULES="$HTTP_MODULES $HTTP_ACCESS_MODULE" |
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
245 HTTP_SRCS="$HTTP_SRCS $HTTP_ACCESS_SRCS" |
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
246 fi |
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
247 |
4280
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4127
diff
changeset
|
248 if [ $HTTP_LIMIT_CONN = YES ]; then |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4127
diff
changeset
|
249 HTTP_MODULES="$HTTP_MODULES $HTTP_LIMIT_CONN_MODULE" |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4127
diff
changeset
|
250 HTTP_SRCS="$HTTP_SRCS $HTTP_LIMIT_CONN_SRCS" |
985
36f70b8776e7
ngx_http_limit_zone_module must run after ngx_http_realip_module
Igor Sysoev <igor@sysoev.ru>
parents:
980
diff
changeset
|
251 fi |
36f70b8776e7
ngx_http_limit_zone_module must run after ngx_http_realip_module
Igor Sysoev <igor@sysoev.ru>
parents:
980
diff
changeset
|
252 |
2294 | 253 if [ $HTTP_LIMIT_REQ = YES ]; then |
254 HTTP_MODULES="$HTTP_MODULES $HTTP_LIMIT_REQ_MODULE" | |
255 HTTP_SRCS="$HTTP_SRCS $HTTP_LIMIT_REQ_SRCS" | |
256 fi | |
257 | |
573 | 258 if [ $HTTP_REALIP = YES ]; then |
259 have=NGX_HTTP_REALIP . auto/have | |
4697
09187f9b0950
Fixed compile-time conditionals used to detect if X-Forwarded-For support
Ruslan Ermilov <ru@nginx.com>
parents:
4654
diff
changeset
|
260 have=NGX_HTTP_X_FORWARDED_FOR . auto/have |
573 | 261 HTTP_MODULES="$HTTP_MODULES $HTTP_REALIP_MODULE" |
262 HTTP_SRCS="$HTTP_SRCS $HTTP_REALIP_SRCS" | |
263 fi | |
264 | |
367
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
265 if [ $HTTP_STATUS = YES ]; then |
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
266 HTTP_MODULES="$HTTP_MODULES $HTTP_STATUS_MODULE" |
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
267 HTTP_SRCS="$HTTP_SRCS $HTTP_STATUS_SRCS" |
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
268 fi |
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
269 |
485 | 270 if [ $HTTP_GEO = YES ]; then |
4697
09187f9b0950
Fixed compile-time conditionals used to detect if X-Forwarded-For support
Ruslan Ermilov <ru@nginx.com>
parents:
4654
diff
changeset
|
271 have=NGX_HTTP_X_FORWARDED_FOR . auto/have |
485 | 272 HTTP_MODULES="$HTTP_MODULES $HTTP_GEO_MODULE" |
273 HTTP_SRCS="$HTTP_SRCS $HTTP_GEO_SRCS" | |
274 fi | |
275 | |
2985 | 276 if [ $HTTP_GEOIP = YES ]; then |
4697
09187f9b0950
Fixed compile-time conditionals used to detect if X-Forwarded-For support
Ruslan Ermilov <ru@nginx.com>
parents:
4654
diff
changeset
|
277 have=NGX_HTTP_X_FORWARDED_FOR . auto/have |
2985 | 278 HTTP_MODULES="$HTTP_MODULES $HTTP_GEOIP_MODULE" |
279 HTTP_SRCS="$HTTP_SRCS $HTTP_GEOIP_SRCS" | |
280 fi | |
281 | |
589 | 282 if [ $HTTP_MAP = YES ]; then |
283 HTTP_MODULES="$HTTP_MODULES $HTTP_MAP_MODULE" | |
284 HTTP_SRCS="$HTTP_SRCS $HTTP_MAP_SRCS" | |
285 fi | |
286 | |
3513
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3511
diff
changeset
|
287 if [ $HTTP_SPLIT_CLIENTS = YES ]; then |
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3511
diff
changeset
|
288 HTTP_MODULES="$HTTP_MODULES $HTTP_SPLIT_CLIENTS_MODULE" |
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3511
diff
changeset
|
289 HTTP_SRCS="$HTTP_SRCS $HTTP_SPLIT_CLIENTS_SRCS" |
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3511
diff
changeset
|
290 fi |
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3511
diff
changeset
|
291 |
577 | 292 if [ $HTTP_REFERER = YES ]; then |
293 HTTP_MODULES="$HTTP_MODULES $HTTP_REFERER_MODULE" | |
294 HTTP_SRCS="$HTTP_SRCS $HTTP_REFERER_SRCS" | |
295 fi | |
296 | |
364
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
297 if [ $HTTP_REWRITE = YES -a $USE_PCRE != DISABLED ]; then |
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
298 USE_PCRE=YES |
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
299 HTTP_MODULES="$HTTP_MODULES $HTTP_REWRITE_MODULE" |
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
300 HTTP_SRCS="$HTTP_SRCS $HTTP_REWRITE_SRCS" |
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
301 fi |
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
302 |
395
f8f0f1834266
nginx-0.0.7-2004-07-16-21:11:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
393
diff
changeset
|
303 if [ $HTTP_SSL = YES ]; then |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
395
diff
changeset
|
304 USE_OPENSSL=YES |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
395
diff
changeset
|
305 have=NGX_HTTP_SSL . auto/have |
395
f8f0f1834266
nginx-0.0.7-2004-07-16-21:11:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
393
diff
changeset
|
306 HTTP_MODULES="$HTTP_MODULES $HTTP_SSL_MODULE" |
f8f0f1834266
nginx-0.0.7-2004-07-16-21:11:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
393
diff
changeset
|
307 HTTP_DEPS="$HTTP_DEPS $HTTP_SSL_DEPS" |
f8f0f1834266
nginx-0.0.7-2004-07-16-21:11:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
393
diff
changeset
|
308 HTTP_SRCS="$HTTP_SRCS $HTTP_SSL_SRCS" |
f8f0f1834266
nginx-0.0.7-2004-07-16-21:11:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
393
diff
changeset
|
309 fi |
f8f0f1834266
nginx-0.0.7-2004-07-16-21:11:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
393
diff
changeset
|
310 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
311 if [ $HTTP_PROXY = YES ]; then |
4697
09187f9b0950
Fixed compile-time conditionals used to detect if X-Forwarded-For support
Ruslan Ermilov <ru@nginx.com>
parents:
4654
diff
changeset
|
312 have=NGX_HTTP_X_FORWARDED_FOR . auto/have |
446
91e0d6a8f980
nginx-0.1.0-2004-09-30-19:30:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
444
diff
changeset
|
313 #USE_MD5=YES |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
314 HTTP_MODULES="$HTTP_MODULES $HTTP_PROXY_MODULE" |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
315 HTTP_DEPS="$HTTP_DEPS $HTTP_PROXY_DEPS" |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
316 HTTP_SRCS="$HTTP_SRCS $HTTP_PROXY_SRCS" |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
317 fi |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
318 |
479 | 319 if [ $HTTP_FASTCGI = YES ]; then |
320 HTTP_MODULES="$HTTP_MODULES $HTTP_FASTCGI_MODULE" | |
321 HTTP_SRCS="$HTTP_SRCS $HTTP_FASTCGI_SRCS" | |
322 fi | |
323 | |
3541
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
324 if [ $HTTP_UWSGI = YES ]; then |
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
325 HTTP_MODULES="$HTTP_MODULES $HTTP_UWSGI_MODULE" |
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
326 HTTP_SRCS="$HTTP_SRCS $HTTP_UWSGI_SRCS" |
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
327 fi |
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
328 |
3637 | 329 if [ $HTTP_SCGI = YES ]; then |
330 HTTP_MODULES="$HTTP_MODULES $HTTP_SCGI_MODULE" | |
331 HTTP_SRCS="$HTTP_SRCS $HTTP_SCGI_SRCS" | |
332 fi | |
333 | |
599 | 334 if [ $HTTP_PERL = YES ]; then |
335 USE_PERL=YES | |
336 HTTP_MODULES="$HTTP_MODULES $HTTP_PERL_MODULE" | |
337 HTTP_INCS="$HTTP_INCS $HTTP_PERL_INCS" | |
338 HTTP_DEPS="$HTTP_DEPS $HTTP_PERL_DEPS" | |
339 HTTP_SRCS="$HTTP_SRCS $HTTP_PERL_SRCS" | |
340 fi | |
341 | |
581 | 342 if [ $HTTP_MEMCACHED = YES ]; then |
343 HTTP_MODULES="$HTTP_MODULES $HTTP_MEMCACHED_MODULE" | |
344 HTTP_SRCS="$HTTP_SRCS $HTTP_MEMCACHED_SRCS" | |
345 fi | |
346 | |
577 | 347 if [ $HTTP_EMPTY_GIF = YES ]; then |
348 HTTP_MODULES="$HTTP_MODULES $HTTP_EMPTY_GIF_MODULE" | |
349 HTTP_SRCS="$HTTP_SRCS $HTTP_EMPTY_GIF_SRCS" | |
350 fi | |
351 | |
700 | 352 if [ $HTTP_BROWSER = YES ]; then |
353 HTTP_MODULES="$HTTP_MODULES $HTTP_BROWSER_MODULE" | |
354 HTTP_SRCS="$HTTP_SRCS $HTTP_BROWSER_SRCS" | |
355 fi | |
356 | |
2260 | 357 if [ $HTTP_SECURE_LINK = YES ]; then |
358 USE_MD5=YES | |
359 HTTP_MODULES="$HTTP_MODULES $HTTP_SECURE_LINK_MODULE" | |
360 HTTP_SRCS="$HTTP_SRCS $HTTP_SECURE_LINK_SRCS" | |
361 fi | |
362 | |
3326 | 363 if [ $HTTP_DEGRADATION = YES ]; then |
3773 | 364 have=NGX_HTTP_DEGRADATION . auto/have |
3326 | 365 HTTP_MODULES="$HTTP_MODULES $HTTP_DEGRADATION_MODULE" |
366 HTTP_SRCS="$HTTP_SRCS $HTTP_DEGRADATION_SRCS" | |
367 fi | |
368 | |
753 | 369 if [ $HTTP_FLV = YES ]; then |
370 HTTP_MODULES="$HTTP_MODULES $HTTP_FLV_MODULE" | |
371 HTTP_SRCS="$HTTP_SRCS $HTTP_FLV_SRCS" | |
372 fi | |
373 | |
4085 | 374 if [ $HTTP_MP4 = YES ]; then |
375 HTTP_MODULES="$HTTP_MODULES $HTTP_MP4_MODULE" | |
376 HTTP_SRCS="$HTTP_SRCS $HTTP_MP4_SRCS" | |
377 fi | |
378 | |
5717
efc84a5723b3
Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents:
5397
diff
changeset
|
379 if [ $HTTP_UPSTREAM_HASH = YES ]; then |
efc84a5723b3
Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents:
5397
diff
changeset
|
380 HTTP_MODULES="$HTTP_MODULES $HTTP_UPSTREAM_HASH_MODULE" |
efc84a5723b3
Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents:
5397
diff
changeset
|
381 HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_HASH_SRCS" |
efc84a5723b3
Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents:
5397
diff
changeset
|
382 fi |
efc84a5723b3
Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents:
5397
diff
changeset
|
383 |
884 | 384 if [ $HTTP_UPSTREAM_IP_HASH = YES ]; then |
385 HTTP_MODULES="$HTTP_MODULES $HTTP_UPSTREAM_IP_HASH_MODULE" | |
386 HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_IP_HASH_SRCS" | |
387 fi | |
388 | |
4654
a2ca3a6ee680
Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4639
diff
changeset
|
389 if [ $HTTP_UPSTREAM_LEAST_CONN = YES ]; then |
a2ca3a6ee680
Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4639
diff
changeset
|
390 HTTP_MODULES="$HTTP_MODULES $HTTP_UPSTREAM_LEAST_CONN_MODULE" |
a2ca3a6ee680
Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4639
diff
changeset
|
391 HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_LEAST_CONN_SRCS" |
a2ca3a6ee680
Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4639
diff
changeset
|
392 fi |
a2ca3a6ee680
Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4639
diff
changeset
|
393 |
4127
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
394 if [ $HTTP_UPSTREAM_KEEPALIVE = YES ]; then |
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
395 HTTP_MODULES="$HTTP_MODULES $HTTP_UPSTREAM_KEEPALIVE_MODULE" |
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
396 HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_KEEPALIVE_SRCS" |
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
397 fi |
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
398 |
6103
79ddb0bdb273
Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents:
6018
diff
changeset
|
399 if [ $HTTP_UPSTREAM_ZONE = YES ]; then |
79ddb0bdb273
Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents:
6018
diff
changeset
|
400 have=NGX_HTTP_UPSTREAM_ZONE . auto/have |
79ddb0bdb273
Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents:
6018
diff
changeset
|
401 HTTP_MODULES="$HTTP_MODULES $HTTP_UPSTREAM_ZONE_MODULE" |
79ddb0bdb273
Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents:
6018
diff
changeset
|
402 HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_ZONE_SRCS" |
79ddb0bdb273
Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents:
6018
diff
changeset
|
403 fi |
79ddb0bdb273
Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents:
6018
diff
changeset
|
404 |
487 | 405 if [ $HTTP_STUB_STATUS = YES ]; then |
406 have=NGX_STAT_STUB . auto/have | |
407 HTTP_MODULES="$HTTP_MODULES ngx_http_stub_status_module" | |
408 HTTP_SRCS="$HTTP_SRCS src/http/modules/ngx_http_stub_status_module.c" | |
409 fi | |
410 | |
489 | 411 #if [ -r $NGX_OBJS/auto ]; then |
412 # . $NGX_OBJS/auto | |
413 #fi | |
414 | |
415 | |
416 if test -n "$NGX_ADDONS"; then | |
417 | |
418 echo configuring additional modules | |
419 | |
420 for ngx_addon_dir in $NGX_ADDONS | |
421 do | |
422 echo "adding module in $ngx_addon_dir" | |
423 | |
424 if test -f $ngx_addon_dir/config; then | |
425 . $ngx_addon_dir/config | |
426 | |
427 echo " + $ngx_addon_name was configured" | |
428 | |
429 else | |
430 echo "$0: error: no $ngx_addon_dir/config was found" | |
431 exit 1 | |
432 fi | |
433 done | |
336
ca9a7f8c86da
nginx-0.0.3-2004-05-18-19:29:08 import
Igor Sysoev <igor@sysoev.ru>
parents:
334
diff
changeset
|
434 fi |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
435 |
489 | 436 |
1136 | 437 if [ $MAIL_SSL = YES ]; then |
438 have=NGX_MAIL_SSL . auto/have | |
541 | 439 USE_OPENSSL=YES |
440 fi | |
441 | |
442 | |
6115 | 443 if [ $STREAM_SSL = YES ]; then |
444 have=NGX_STREAM_SSL . auto/have | |
445 USE_OPENSSL=YES | |
446 fi | |
447 | |
448 | |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
449 modules="$CORE_MODULES $EVENT_MODULES" |
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
450 |
541 | 451 |
6018
466bd63b63d1
Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents:
5717
diff
changeset
|
452 # thread pool module should be initialized after events |
466bd63b63d1
Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents:
5717
diff
changeset
|
453 if [ $USE_THREADS = YES ]; then |
466bd63b63d1
Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents:
5717
diff
changeset
|
454 modules="$modules $THREAD_POOL_MODULE" |
466bd63b63d1
Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents:
5717
diff
changeset
|
455 fi |
466bd63b63d1
Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents:
5717
diff
changeset
|
456 |
466bd63b63d1
Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents:
5717
diff
changeset
|
457 |
541 | 458 if [ $USE_OPENSSL = YES ]; then |
459 modules="$modules $OPENSSL_MODULE" | |
460 CORE_DEPS="$CORE_DEPS $OPENSSL_DEPS" | |
461 CORE_SRCS="$CORE_SRCS $OPENSSL_SRCS" | |
462 fi | |
463 | |
4388
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
464 if [ $USE_PCRE = YES ]; then |
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
465 modules="$modules $REGEX_MODULE" |
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
466 CORE_DEPS="$CORE_DEPS $REGEX_DEPS" |
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
467 CORE_SRCS="$CORE_SRCS $REGEX_SRCS" |
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
468 fi |
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
469 |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
470 if [ $HTTP = YES ]; then |
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
471 modules="$modules $HTTP_MODULES $HTTP_FILTER_MODULES \ |
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
472 $HTTP_HEADERS_FILTER_MODULE \ |
577 | 473 $HTTP_AUX_FILTER_MODULES \ |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
474 $HTTP_COPY_FILTER_MODULE \ |
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
475 $HTTP_RANGE_BODY_FILTER_MODULE \ |
6317 | 476 $HTTP_NOT_MODIFIED_FILTER_MODULE \ |
477 $HTTP_SLICE_FILTER_MODULE" | |
489 | 478 |
479 NGX_ADDON_DEPS="$NGX_ADDON_DEPS \$(HTTP_DEPS)" | |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
480 fi |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
481 |
489 | 482 |
1136 | 483 if [ $MAIL = YES ]; then |
484 modules="$modules $MAIL_MODULES" | |
521 | 485 |
1136 | 486 if [ $MAIL_SSL = YES ]; then |
487 modules="$modules $MAIL_SSL_MODULE" | |
1487
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
488 MAIL_DEPS="$MAIL_DEPS $MAIL_SSL_DEPS" |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
489 MAIL_SRCS="$MAIL_SRCS $MAIL_SSL_SRCS" |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
490 fi |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
491 |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
492 if [ $MAIL_POP3 = YES ]; then |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
493 modules="$modules $MAIL_POP3_MODULE" |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
494 MAIL_DEPS="$MAIL_DEPS $MAIL_POP3_DEPS" |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
495 MAIL_SRCS="$MAIL_SRCS $MAIL_POP3_SRCS" |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
496 fi |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
497 |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
498 if [ $MAIL_IMAP = YES ]; then |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
499 modules="$modules $MAIL_IMAP_MODULE" |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
500 MAIL_DEPS="$MAIL_DEPS $MAIL_IMAP_DEPS" |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
501 MAIL_SRCS="$MAIL_SRCS $MAIL_IMAP_SRCS" |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
502 fi |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
503 |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
504 if [ $MAIL_SMTP = YES ]; then |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
505 modules="$modules $MAIL_SMTP_MODULE" |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
506 MAIL_DEPS="$MAIL_DEPS $MAIL_SMTP_DEPS" |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
507 MAIL_SRCS="$MAIL_SRCS $MAIL_SMTP_SRCS" |
539 | 508 fi |
509 | |
1136 | 510 modules="$modules $MAIL_AUTH_HTTP_MODULE" |
511 MAIL_SRCS="$MAIL_SRCS $MAIL_AUTH_HTTP_SRCS" | |
521 | 512 |
1136 | 513 modules="$modules $MAIL_PROXY_MODULE" |
514 MAIL_SRCS="$MAIL_SRCS $MAIL_PROXY_SRCS" | |
5397
ae73d7a4fcde
Mail: mail dependencies are now honored while building addons.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5372
diff
changeset
|
515 |
ae73d7a4fcde
Mail: mail dependencies are now honored while building addons.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5372
diff
changeset
|
516 NGX_ADDON_DEPS="$NGX_ADDON_DEPS \$(MAIL_DEPS)" |
417
0526206251f6
nginx-0.0.10-2004-09-07-19:29:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
415
diff
changeset
|
517 fi |
0526206251f6
nginx-0.0.10-2004-09-07-19:29:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
415
diff
changeset
|
518 |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
519 |
6115 | 520 if [ $STREAM = YES ]; then |
521 have=NGX_STREAM . auto/have | |
522 modules="$modules $STREAM_MODULES" | |
523 | |
524 if [ $STREAM_SSL = YES ]; then | |
525 modules="$modules $STREAM_SSL_MODULE" | |
526 STREAM_DEPS="$STREAM_DEPS $STREAM_SSL_DEPS" | |
527 STREAM_SRCS="$STREAM_SRCS $STREAM_SSL_SRCS" | |
528 fi | |
529 | |
6197
0dcef374b8bb
Stream: connection limiting module.
Vladimir Homutov <vl@nginx.com>
parents:
6175
diff
changeset
|
530 if [ $STREAM_LIMIT_CONN = YES ]; then |
0dcef374b8bb
Stream: connection limiting module.
Vladimir Homutov <vl@nginx.com>
parents:
6175
diff
changeset
|
531 modules="$modules $STREAM_LIMIT_CONN_MODULE" |
0dcef374b8bb
Stream: connection limiting module.
Vladimir Homutov <vl@nginx.com>
parents:
6175
diff
changeset
|
532 STREAM_SRCS="$STREAM_SRCS $STREAM_LIMIT_CONN_SRCS" |
0dcef374b8bb
Stream: connection limiting module.
Vladimir Homutov <vl@nginx.com>
parents:
6175
diff
changeset
|
533 fi |
0dcef374b8bb
Stream: connection limiting module.
Vladimir Homutov <vl@nginx.com>
parents:
6175
diff
changeset
|
534 |
6175 | 535 if [ $STREAM_ACCESS = YES ]; then |
536 modules="$modules $STREAM_ACCESS_MODULE" | |
537 STREAM_SRCS="$STREAM_SRCS $STREAM_ACCESS_SRCS" | |
538 fi | |
539 | |
6115 | 540 if [ $STREAM_UPSTREAM_HASH = YES ]; then |
541 modules="$modules $STREAM_UPSTREAM_HASH_MODULE" | |
542 STREAM_SRCS="$STREAM_SRCS $STREAM_UPSTREAM_HASH_SRCS" | |
543 fi | |
544 | |
545 if [ $STREAM_UPSTREAM_LEAST_CONN = YES ]; then | |
546 modules="$modules $STREAM_UPSTREAM_LEAST_CONN_MODULE" | |
547 STREAM_SRCS="$STREAM_SRCS $STREAM_UPSTREAM_LEAST_CONN_SRCS" | |
548 fi | |
549 | |
550 if [ $STREAM_UPSTREAM_ZONE = YES ]; then | |
551 have=NGX_STREAM_UPSTREAM_ZONE . auto/have | |
552 modules="$modules $STREAM_UPSTREAM_ZONE_MODULE" | |
553 STREAM_SRCS="$STREAM_SRCS $STREAM_UPSTREAM_ZONE_SRCS" | |
554 fi | |
555 | |
556 NGX_ADDON_DEPS="$NGX_ADDON_DEPS \$(STREAM_DEPS)" | |
557 fi | |
558 | |
559 | |
1949 | 560 if [ $NGX_GOOGLE_PERFTOOLS = YES ]; then |
561 modules="$modules $NGX_GOOGLE_PERFTOOLS_MODULE" | |
562 NGX_MISC_SRCS="$NGX_MISC_SRCS $NGX_GOOGLE_PERFTOOLS_SRCS" | |
563 fi | |
564 | |
565 | |
2172
c31c569708bd
fix ngx_cpp_test_module configure
Igor Sysoev <igor@sysoev.ru>
parents:
2157
diff
changeset
|
566 if [ $NGX_CPP_TEST = YES ]; then |
2157 | 567 NGX_MISC_SRCS="$NGX_MISC_SRCS $NGX_CPP_TEST_SRCS" |
4639
944839adc406
Fixed building --with-cpp_test_module on some systems.
Valentin Bartenev <vbart@nginx.com>
parents:
4412
diff
changeset
|
568 CORE_LIBS="$CORE_LIBS -lstdc++" |
2157 | 569 fi |
570 | |
571 | |
461 | 572 cat << END > $NGX_MODULES_C |
573 | |
574 #include <ngx_config.h> | |
575 #include <ngx_core.h> | |
576 | |
577 $NGX_PRAGMA | |
578 | |
579 END | |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
580 |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
581 for mod in $modules |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
582 do |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
583 echo "extern ngx_module_t $mod;" >> $NGX_MODULES_C |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
584 done |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
585 |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
586 echo >> $NGX_MODULES_C |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
587 echo 'ngx_module_t *ngx_modules[] = {' >> $NGX_MODULES_C |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
588 |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
589 for mod in $modules |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
590 do |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
591 echo " &$mod," >> $NGX_MODULES_C |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
592 done |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
593 |
461 | 594 cat << END >> $NGX_MODULES_C |
595 NULL | |
596 }; | |
597 | |
598 END |