Mercurial > hg > nginx-quic
annotate auto/modules @ 1334:80de622646b0 release-0.6.5
nginx-0.6.5-RELEASE
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 23 Jul 2007 07:57:08 +0000 |
parents | 383ae25c3171 |
children | f69493e8faab |
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 |
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
|
3 |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
4 |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
5 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
|
6 EVENT_SELECT=YES |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
7 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
8 |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
9 if [ $EVENT_SELECT = YES ]; then |
469 | 10 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
|
11 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
|
12 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
|
13 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
14 |
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 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
|
17 EVENT_POLL=YES |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
18 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
19 |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
20 if [ $EVENT_POLL = YES ]; then |
469 | 21 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
|
22 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
|
23 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
|
24 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
25 |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
26 |
469 | 27 if [ $NGX_TEST_BUILD_DEVPOLL = YES ]; then |
28 have=NGX_HAVE_DEVPOLL . auto/have | |
29 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
|
30 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
|
31 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
|
32 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
33 |
719
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
34 |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
35 if [ $NGX_TEST_BUILD_EVENTPORT = YES ]; then |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
36 have=NGX_HAVE_EVENTPORT . auto/have |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
37 have=NGX_TEST_BUILD_EVENTPORT . auto/have |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
38 EVENT_MODULES="$EVENT_MODULES $EVENTPORT_MODULE" |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
39 CORE_SRCS="$CORE_SRCS $EVENTPORT_SRCS" |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
40 fi |
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
41 |
469 | 42 if [ $NGX_TEST_BUILD_EPOLL = YES ]; then |
43 have=NGX_HAVE_EPOLL . auto/have | |
44 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
|
45 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
|
46 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
|
47 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
48 |
469 | 49 if [ $NGX_TEST_BUILD_RTSIG = YES ]; then |
50 have=NGX_HAVE_RTSIG . auto/have | |
51 have=NGX_TEST_BUILD_RTSIG . auto/have | |
260
5dacbb4daaf6
nginx-0.0.2-2004-02-17-20:53:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
255
diff
changeset
|
52 EVENT_MODULES="$EVENT_MODULES $RTSIG_MODULE" |
5dacbb4daaf6
nginx-0.0.2-2004-02-17-20:53:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
255
diff
changeset
|
53 CORE_SRCS="$CORE_SRCS $RTSIG_SRCS" |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
54 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
55 |
473 | 56 if [ $NGX_TEST_BUILD_SOLARIS_SENDFILEV = YES ]; then |
57 have=NGX_TEST_BUILD_SOLARIS_SENDFILEV . auto/have | |
58 CORE_SRCS="$CORE_SRCS $SOLARIS_SENDFILEV_SRCS" | |
59 fi | |
60 | |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
61 |
521 | 62 if [ $HTTP != YES ]; then |
63 have=NGX_CRYPT . auto/nohave | |
64 CRYPT_LIB= | |
65 fi | |
66 | |
67 | |
509 | 68 if [ $HTTP_SSI = YES ]; then |
69 HTTP_POSTPONE=YES | |
70 fi | |
71 | |
641 | 72 |
73 if [ $HTTP_ADDITION = YES ]; then | |
74 HTTP_POSTPONE=YES | |
75 fi | |
76 | |
77 | |
541 | 78 # the module order is important |
79 # ngx_http_autoindex_module | |
80 # ngx_http_index_module | |
81 # | |
577 | 82 # ngx_http_access_module |
83 # ngx_http_realip_module | |
84 # | |
541 | 85 # |
391
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
86 # 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
|
87 # 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
|
88 # 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
|
89 # ngx_http_chunked_filter |
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
90 # 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
|
91 # ngx_http_gzip_filter |
509 | 92 # ngx_http_postpone_filter |
391
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
93 # ngx_http_charset_filter |
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
94 # ngx_http_ssi_filter |
629 | 95 # ngx_http_addition_filter |
541 | 96 # ngx_http_userid_filter |
97 # 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
|
98 # 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
|
99 # 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
|
100 # ngx_http_not_modified_filter |
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
101 |
392
d1222d46b3f9
nginx-0.0.7-2004-07-15-00:07:58 import
Igor Sysoev <igor@sysoev.ru>
parents:
391
diff
changeset
|
102 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
|
103 $HTTP_HEADER_FILTER_MODULE \ |
d1222d46b3f9
nginx-0.0.7-2004-07-15-00:07:58 import
Igor Sysoev <igor@sysoev.ru>
parents:
391
diff
changeset
|
104 $HTTP_CHUNKED_FILTER_MODULE \ |
d1222d46b3f9
nginx-0.0.7-2004-07-15-00:07:58 import
Igor Sysoev <igor@sysoev.ru>
parents:
391
diff
changeset
|
105 $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
|
106 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
107 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
|
108 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
|
109 USE_ZLIB=YES |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
110 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
|
111 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
|
112 fi |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
113 |
509 | 114 if [ $HTTP_POSTPONE = YES ]; then |
115 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_POSTPONE_FILTER_MODULE" | |
116 HTTP_SRCS="$HTTP_SRCS $HTPP_POSTPONE_FILTER_SRCS" | |
117 fi | |
118 | |
387
236611271946
nginx-0.0.7-2004-07-12-19:30:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
386
diff
changeset
|
119 if [ $HTTP_CHARSET = YES ]; then |
236611271946
nginx-0.0.7-2004-07-12-19:30:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
386
diff
changeset
|
120 have=NGX_HTTP_CHARSET . auto/have |
236611271946
nginx-0.0.7-2004-07-12-19:30:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
386
diff
changeset
|
121 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_CHARSET_FILTER_MODULE" |
236611271946
nginx-0.0.7-2004-07-12-19:30:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
386
diff
changeset
|
122 HTTP_SRCS="$HTTP_SRCS $HTTP_CHARSET_SRCS" |
236611271946
nginx-0.0.7-2004-07-12-19:30:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
386
diff
changeset
|
123 fi |
236611271946
nginx-0.0.7-2004-07-12-19:30:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
386
diff
changeset
|
124 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
125 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
|
126 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
|
127 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_SSI_FILTER_MODULE" |
597 | 128 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
|
129 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
|
130 fi |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
131 |
1172 | 132 if [ $HTTP_SUB = YES ]; then |
133 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_SUB_FILTER_MODULE" | |
134 HTTP_SRCS="$HTTP_SRCS $HTTP_SUB_SRCS" | |
135 fi | |
136 | |
629 | 137 if [ $HTTP_ADDITION = YES ]; then |
138 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_ADDITION_FILTER_MODULE" | |
139 HTTP_SRCS="$HTTP_SRCS $HTTP_ADDITION_SRCS" | |
140 fi | |
141 | |
409
8ac40cae79f0
nginx-0.0.10-2004-08-29-07:55:41 import
Igor Sysoev <igor@sysoev.ru>
parents:
408
diff
changeset
|
142 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
|
143 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
|
144 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
|
145 fi |
8ac40cae79f0
nginx-0.0.10-2004-08-29-07:55:41 import
Igor Sysoev <igor@sysoev.ru>
parents:
408
diff
changeset
|
146 |
457 | 147 HTTP_MODULES="$HTTP_MODULES $HTTP_STATIC_MODULE" |
148 | |
633 | 149 if [ $HTTP_DAV = YES ]; then |
637 | 150 have=NGX_HTTP_DAV . auto/have |
633 | 151 HTTP_MODULES="$HTTP_MODULES $HTTP_DAV_MODULE" |
152 HTTP_SRCS="$HTTP_SRCS $HTTP_DAV_SRCS" | |
153 fi | |
154 | |
457 | 155 if [ $HTTP_AUTOINDEX = YES ]; then |
156 have=NGX_HTTP_AUTOINDEX . auto/have | |
157 HTTP_MODULES="$HTTP_MODULES $HTTP_AUTOINDEX_MODULE" | |
158 HTTP_SRCS="$HTTP_SRCS $HTTP_AUTOINDEX_SRCS" | |
159 fi | |
160 | |
161 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
|
162 |
503 | 163 if [ $HTTP_AUTH_BASIC = YES ]; then |
164 have=NGX_HTTP_AUTH_BASIC . auto/have | |
165 have=NGX_CRYPT . auto/have | |
166 HTTP_MODULES="$HTTP_MODULES $HTTP_AUTH_BASIC_MODULE" | |
167 HTTP_SRCS="$HTTP_SRCS $HTTP_AUTH_BASIC_SRCS" | |
168 CORE_LIBS="$CORE_LIBS $CRYPT_LIB" | |
169 fi | |
170 | |
368
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
171 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
|
172 have=NGX_HTTP_ACCESS . auto/have |
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
173 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
|
174 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
|
175 fi |
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
176 |
985
36f70b8776e7
ngx_http_limit_zone_module must run after ngx_http_realip_module
Igor Sysoev <igor@sysoev.ru>
parents:
980
diff
changeset
|
177 if [ $HTTP_LIMIT_ZONE = YES ]; then |
36f70b8776e7
ngx_http_limit_zone_module must run after ngx_http_realip_module
Igor Sysoev <igor@sysoev.ru>
parents:
980
diff
changeset
|
178 HTTP_MODULES="$HTTP_MODULES $HTTP_LIMIT_ZONE_MODULE" |
36f70b8776e7
ngx_http_limit_zone_module must run after ngx_http_realip_module
Igor Sysoev <igor@sysoev.ru>
parents:
980
diff
changeset
|
179 HTTP_SRCS="$HTTP_SRCS $HTTP_LIMIT_ZONE_SRCS" |
36f70b8776e7
ngx_http_limit_zone_module must run after ngx_http_realip_module
Igor Sysoev <igor@sysoev.ru>
parents:
980
diff
changeset
|
180 fi |
36f70b8776e7
ngx_http_limit_zone_module must run after ngx_http_realip_module
Igor Sysoev <igor@sysoev.ru>
parents:
980
diff
changeset
|
181 |
573 | 182 if [ $HTTP_REALIP = YES ]; then |
183 have=NGX_HTTP_REALIP . auto/have | |
184 HTTP_MODULES="$HTTP_MODULES $HTTP_REALIP_MODULE" | |
185 HTTP_SRCS="$HTTP_SRCS $HTTP_REALIP_SRCS" | |
186 fi | |
187 | |
367
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
188 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
|
189 have=NGX_HTTP_STATUS . auto/have |
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
190 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
|
191 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
|
192 fi |
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
193 |
485 | 194 if [ $HTTP_GEO = YES ]; then |
195 have=NGX_HTTP_GEO . auto/have | |
196 HTTP_MODULES="$HTTP_MODULES $HTTP_GEO_MODULE" | |
197 HTTP_SRCS="$HTTP_SRCS $HTTP_GEO_SRCS" | |
198 fi | |
199 | |
589 | 200 if [ $HTTP_MAP = YES ]; then |
201 have=NGX_HTTP_MAP . auto/have | |
202 HTTP_MODULES="$HTTP_MODULES $HTTP_MAP_MODULE" | |
203 HTTP_SRCS="$HTTP_SRCS $HTTP_MAP_SRCS" | |
204 fi | |
205 | |
577 | 206 if [ $HTTP_REFERER = YES ]; then |
207 HTTP_MODULES="$HTTP_MODULES $HTTP_REFERER_MODULE" | |
208 HTTP_SRCS="$HTTP_SRCS $HTTP_REFERER_SRCS" | |
209 fi | |
210 | |
364
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
211 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
|
212 have=NGX_HTTP_REWRITE . auto/have |
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
213 USE_PCRE=YES |
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
214 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
|
215 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
|
216 fi |
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
217 |
395
f8f0f1834266
nginx-0.0.7-2004-07-16-21:11:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
393
diff
changeset
|
218 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
|
219 USE_OPENSSL=YES |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
395
diff
changeset
|
220 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
|
221 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
|
222 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
|
223 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
|
224 fi |
f8f0f1834266
nginx-0.0.7-2004-07-16-21:11:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
393
diff
changeset
|
225 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
226 if [ $HTTP_PROXY = YES ]; then |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
280
diff
changeset
|
227 have=NGX_HTTP_PROXY . auto/have |
446
91e0d6a8f980
nginx-0.1.0-2004-09-30-19:30:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
444
diff
changeset
|
228 #USE_MD5=YES |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
229 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
|
230 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
|
231 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
|
232 fi |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
233 |
479 | 234 if [ $HTTP_FASTCGI = YES ]; then |
235 HTTP_MODULES="$HTTP_MODULES $HTTP_FASTCGI_MODULE" | |
236 HTTP_SRCS="$HTTP_SRCS $HTTP_FASTCGI_SRCS" | |
237 fi | |
238 | |
599 | 239 if [ $HTTP_PERL = YES ]; then |
240 USE_PERL=YES | |
241 have=NGX_HTTP_PERL . auto/have | |
242 HTTP_MODULES="$HTTP_MODULES $HTTP_PERL_MODULE" | |
243 HTTP_INCS="$HTTP_INCS $HTTP_PERL_INCS" | |
244 HTTP_DEPS="$HTTP_DEPS $HTTP_PERL_DEPS" | |
245 HTTP_SRCS="$HTTP_SRCS $HTTP_PERL_SRCS" | |
246 fi | |
247 | |
581 | 248 if [ $HTTP_MEMCACHED = YES ]; then |
249 HTTP_MODULES="$HTTP_MODULES $HTTP_MEMCACHED_MODULE" | |
250 HTTP_SRCS="$HTTP_SRCS $HTTP_MEMCACHED_SRCS" | |
251 fi | |
252 | |
577 | 253 if [ $HTTP_EMPTY_GIF = YES ]; then |
254 HTTP_MODULES="$HTTP_MODULES $HTTP_EMPTY_GIF_MODULE" | |
255 HTTP_SRCS="$HTTP_SRCS $HTTP_EMPTY_GIF_SRCS" | |
256 fi | |
257 | |
700 | 258 if [ $HTTP_BROWSER = YES ]; then |
259 HTTP_MODULES="$HTTP_MODULES $HTTP_BROWSER_MODULE" | |
260 HTTP_SRCS="$HTTP_SRCS $HTTP_BROWSER_SRCS" | |
261 fi | |
262 | |
753 | 263 if [ $HTTP_FLV = YES ]; then |
264 HTTP_MODULES="$HTTP_MODULES $HTTP_FLV_MODULE" | |
265 HTTP_SRCS="$HTTP_SRCS $HTTP_FLV_SRCS" | |
266 fi | |
267 | |
884 | 268 if [ $HTTP_UPSTREAM_IP_HASH = YES ]; then |
269 HTTP_MODULES="$HTTP_MODULES $HTTP_UPSTREAM_IP_HASH_MODULE" | |
270 HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_IP_HASH_SRCS" | |
271 fi | |
272 | |
469 | 273 # STUB |
477 | 274 #USE_MD5=YES |
275 #HTTP_SRCS="$HTTP_SRCS $HTPP_CACHE_SRCS" | |
469 | 276 #HTTP_SRCS="$HTTP_SRCS $HTPP_FILE_CACHE_SRCS" |
277 | |
487 | 278 if [ $HTTP_STUB_STATUS = YES ]; then |
279 have=NGX_STAT_STUB . auto/have | |
280 HTTP_MODULES="$HTTP_MODULES ngx_http_stub_status_module" | |
281 HTTP_SRCS="$HTTP_SRCS src/http/modules/ngx_http_stub_status_module.c" | |
282 fi | |
283 | |
489 | 284 #if [ -r $NGX_OBJS/auto ]; then |
285 # . $NGX_OBJS/auto | |
286 #fi | |
287 | |
288 | |
289 if test -n "$NGX_ADDONS"; then | |
290 | |
291 echo configuring additional modules | |
292 | |
293 for ngx_addon_dir in $NGX_ADDONS | |
294 do | |
295 echo "adding module in $ngx_addon_dir" | |
296 | |
297 if test -f $ngx_addon_dir/config; then | |
298 . $ngx_addon_dir/config | |
299 | |
300 echo " + $ngx_addon_name was configured" | |
301 | |
302 else | |
303 echo "$0: error: no $ngx_addon_dir/config was found" | |
304 exit 1 | |
305 fi | |
306 done | |
336
ca9a7f8c86da
nginx-0.0.3-2004-05-18-19:29:08 import
Igor Sysoev <igor@sysoev.ru>
parents:
334
diff
changeset
|
307 fi |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
308 |
489 | 309 |
1136 | 310 if [ $MAIL_SSL = YES ]; then |
311 MAIL_DEPS="$MAIL_DEPS $MAIL_SSL_DEPS" | |
312 MAIL_SRCS="$MAIL_SRCS $MAIL_SSL_SRCS" | |
313 have=NGX_MAIL_SSL . auto/have | |
541 | 314 USE_OPENSSL=YES |
315 fi | |
316 | |
317 | |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
318 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
|
319 |
541 | 320 |
321 if [ $USE_OPENSSL = YES ]; then | |
322 modules="$modules $OPENSSL_MODULE" | |
323 CORE_DEPS="$CORE_DEPS $OPENSSL_DEPS" | |
324 CORE_SRCS="$CORE_SRCS $OPENSSL_SRCS" | |
325 fi | |
326 | |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
327 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
|
328 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
|
329 $HTTP_HEADERS_FILTER_MODULE \ |
577 | 330 $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
|
331 $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
|
332 $HTTP_RANGE_BODY_FILTER_MODULE \ |
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
333 $HTTP_NOT_MODIFIED_FILTER_MODULE" |
489 | 334 |
335 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
|
336 fi |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
337 |
489 | 338 |
1136 | 339 if [ $MAIL = YES ]; then |
340 modules="$modules $MAIL_MODULES" | |
521 | 341 |
1136 | 342 if [ $MAIL_SSL = YES ]; then |
343 modules="$modules $MAIL_SSL_MODULE" | |
539 | 344 fi |
345 | |
1136 | 346 modules="$modules $MAIL_AUTH_HTTP_MODULE" |
347 MAIL_SRCS="$MAIL_SRCS $MAIL_AUTH_HTTP_SRCS" | |
521 | 348 |
1136 | 349 modules="$modules $MAIL_PROXY_MODULE" |
350 MAIL_SRCS="$MAIL_SRCS $MAIL_PROXY_SRCS" | |
417
0526206251f6
nginx-0.0.10-2004-09-07-19:29:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
415
diff
changeset
|
351 fi |
0526206251f6
nginx-0.0.10-2004-09-07-19:29:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
415
diff
changeset
|
352 |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
353 |
461 | 354 cat << END > $NGX_MODULES_C |
355 | |
356 #include <ngx_config.h> | |
357 #include <ngx_core.h> | |
358 | |
359 $NGX_PRAGMA | |
360 | |
361 END | |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
362 |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
363 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
|
364 do |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
365 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
|
366 done |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
367 |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
368 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
|
369 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
|
370 |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
371 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
|
372 do |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
373 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
|
374 done |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
375 |
461 | 376 cat << END >> $NGX_MODULES_C |
377 NULL | |
378 }; | |
379 | |
380 END |