Mercurial > hg > nginx
annotate auto/modules @ 3351:b759cf8f6000
add comment from r2716 commit message
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 17 Nov 2009 10:31:39 +0000 |
parents | e6967a1dc8e9 |
children | 4995538396d8 |
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 | |
3052
6060225e9261
FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents:
2985
diff
changeset
|
44 have=NGX_HAVE_EVENTFD . auto/have |
469 | 45 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
|
46 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
|
47 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
|
48 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
49 |
469 | 50 if [ $NGX_TEST_BUILD_RTSIG = YES ]; then |
51 have=NGX_HAVE_RTSIG . auto/have | |
52 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
|
53 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
|
54 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
|
55 fi |
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
56 |
473 | 57 if [ $NGX_TEST_BUILD_SOLARIS_SENDFILEV = YES ]; then |
58 have=NGX_TEST_BUILD_SOLARIS_SENDFILEV . auto/have | |
59 CORE_SRCS="$CORE_SRCS $SOLARIS_SENDFILEV_SRCS" | |
60 fi | |
61 | |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
62 |
521 | 63 if [ $HTTP != YES ]; then |
64 have=NGX_CRYPT . auto/nohave | |
65 CRYPT_LIB= | |
66 fi | |
67 | |
68 | |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
69 if [ $HTTP_CACHE = YES ]; then |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
70 USE_MD5=YES |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
71 have=NGX_HTTP_CACHE . auto/have |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
72 HTTP_SRCS="$HTTP_SRCS $HTTP_FILE_CACHE_SRCS" |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
73 fi |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
74 |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
75 |
509 | 76 if [ $HTTP_SSI = YES ]; then |
77 HTTP_POSTPONE=YES | |
78 fi | |
79 | |
641 | 80 |
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 |
b670db10cbbd
nginx-0.0.7-2004-07-14-20:01:42 import
Igor Sysoev <igor@sysoev.ru>
parents:
387
diff
changeset
|
102 # 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
|
103 # ngx_http_gzip_filter |
509 | 104 # 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
|
105 # 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
|
106 # ngx_http_ssi_filter |
2139 | 107 # ngx_http_xslt_filter |
2789 | 108 # ngx_http_image_filter_filter |
2139 | 109 # ngx_http_sub_filter |
629 | 110 # ngx_http_addition_filter |
541 | 111 # ngx_http_userid_filter |
112 # 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
|
113 # 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
|
114 # 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
|
115 # 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
|
116 |
392
d1222d46b3f9
nginx-0.0.7-2004-07-15-00:07:58 import
Igor Sysoev <igor@sysoev.ru>
parents:
391
diff
changeset
|
117 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
|
118 $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
|
119 $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
|
120 $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
|
121 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
122 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
|
123 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
|
124 USE_ZLIB=YES |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
125 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
|
126 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
|
127 fi |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
128 |
509 | 129 if [ $HTTP_POSTPONE = YES ]; then |
130 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_POSTPONE_FILTER_MODULE" | |
1932 | 131 HTTP_SRCS="$HTTP_SRCS $HTTP_POSTPONE_FILTER_SRCS" |
509 | 132 fi |
133 | |
387
236611271946
nginx-0.0.7-2004-07-12-19:30:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
386
diff
changeset
|
134 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
|
135 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
|
136 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
|
137 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
|
138 fi |
236611271946
nginx-0.0.7-2004-07-12-19:30:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
386
diff
changeset
|
139 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
140 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
|
141 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
|
142 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_SSI_FILTER_MODULE" |
597 | 143 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
|
144 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
|
145 fi |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
146 |
2139 | 147 if [ $HTTP_XSLT = YES ]; then |
148 USE_LIBXSLT=YES | |
149 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_XSLT_FILTER_MODULE" | |
150 HTTP_SRCS="$HTTP_SRCS $HTTP_XSLT_SRCS" | |
151 fi | |
152 | |
2788 | 153 if [ $HTTP_IMAGE_FILTER = YES ]; then |
154 USE_LIBGD=YES | |
155 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_IMAGE_FILTER_MODULE" | |
156 HTTP_SRCS="$HTTP_SRCS $HTTP_IMAGE_SRCS" | |
157 fi | |
158 | |
1172 | 159 if [ $HTTP_SUB = YES ]; then |
160 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_SUB_FILTER_MODULE" | |
161 HTTP_SRCS="$HTTP_SRCS $HTTP_SUB_SRCS" | |
162 fi | |
163 | |
629 | 164 if [ $HTTP_ADDITION = YES ]; then |
165 HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_ADDITION_FILTER_MODULE" | |
166 HTTP_SRCS="$HTTP_SRCS $HTTP_ADDITION_SRCS" | |
167 fi | |
168 | |
409
8ac40cae79f0
nginx-0.0.10-2004-08-29-07:55:41 import
Igor Sysoev <igor@sysoev.ru>
parents:
408
diff
changeset
|
169 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
|
170 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
|
171 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
|
172 fi |
8ac40cae79f0
nginx-0.0.10-2004-08-29-07:55:41 import
Igor Sysoev <igor@sysoev.ru>
parents:
408
diff
changeset
|
173 |
457 | 174 HTTP_MODULES="$HTTP_MODULES $HTTP_STATIC_MODULE" |
175 | |
1802
7c832e132dbc
set ngx_http_gzip_static module just before ngx_http_static_module
Igor Sysoev <igor@sysoev.ru>
parents:
1790
diff
changeset
|
176 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
|
177 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
|
178 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
|
179 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
|
180 fi |
7c832e132dbc
set ngx_http_gzip_static module just before ngx_http_static_module
Igor Sysoev <igor@sysoev.ru>
parents:
1790
diff
changeset
|
181 |
633 | 182 if [ $HTTP_DAV = YES ]; then |
637 | 183 have=NGX_HTTP_DAV . auto/have |
633 | 184 HTTP_MODULES="$HTTP_MODULES $HTTP_DAV_MODULE" |
185 HTTP_SRCS="$HTTP_SRCS $HTTP_DAV_SRCS" | |
186 fi | |
187 | |
457 | 188 if [ $HTTP_AUTOINDEX = YES ]; then |
189 have=NGX_HTTP_AUTOINDEX . auto/have | |
190 HTTP_MODULES="$HTTP_MODULES $HTTP_AUTOINDEX_MODULE" | |
191 HTTP_SRCS="$HTTP_SRCS $HTTP_AUTOINDEX_SRCS" | |
192 fi | |
193 | |
194 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
|
195 |
2235 | 196 if [ $HTTP_RANDOM_INDEX = YES ]; then |
197 have=NGX_HTTP_RANDOM_INDEX . auto/have | |
198 HTTP_MODULES="$HTTP_MODULES $HTTP_RANDOM_INDEX_MODULE" | |
199 HTTP_SRCS="$HTTP_SRCS $HTTP_RANDOM_INDEX_SRCS" | |
200 fi | |
201 | |
503 | 202 if [ $HTTP_AUTH_BASIC = YES ]; then |
203 have=NGX_HTTP_AUTH_BASIC . auto/have | |
204 have=NGX_CRYPT . auto/have | |
205 HTTP_MODULES="$HTTP_MODULES $HTTP_AUTH_BASIC_MODULE" | |
206 HTTP_SRCS="$HTTP_SRCS $HTTP_AUTH_BASIC_SRCS" | |
207 CORE_LIBS="$CORE_LIBS $CRYPT_LIB" | |
208 fi | |
209 | |
368
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
210 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
|
211 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
|
212 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
|
213 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
|
214 fi |
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
215 |
985
36f70b8776e7
ngx_http_limit_zone_module must run after ngx_http_realip_module
Igor Sysoev <igor@sysoev.ru>
parents:
980
diff
changeset
|
216 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
|
217 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
|
218 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
|
219 fi |
36f70b8776e7
ngx_http_limit_zone_module must run after ngx_http_realip_module
Igor Sysoev <igor@sysoev.ru>
parents:
980
diff
changeset
|
220 |
2294 | 221 if [ $HTTP_LIMIT_REQ = YES ]; then |
222 HTTP_MODULES="$HTTP_MODULES $HTTP_LIMIT_REQ_MODULE" | |
223 HTTP_SRCS="$HTTP_SRCS $HTTP_LIMIT_REQ_SRCS" | |
224 fi | |
225 | |
573 | 226 if [ $HTTP_REALIP = YES ]; then |
227 have=NGX_HTTP_REALIP . auto/have | |
228 HTTP_MODULES="$HTTP_MODULES $HTTP_REALIP_MODULE" | |
229 HTTP_SRCS="$HTTP_SRCS $HTTP_REALIP_SRCS" | |
230 fi | |
231 | |
367
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
232 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
|
233 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
|
234 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
|
235 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
|
236 fi |
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
237 |
485 | 238 if [ $HTTP_GEO = YES ]; then |
239 have=NGX_HTTP_GEO . auto/have | |
240 HTTP_MODULES="$HTTP_MODULES $HTTP_GEO_MODULE" | |
241 HTTP_SRCS="$HTTP_SRCS $HTTP_GEO_SRCS" | |
242 fi | |
243 | |
2985 | 244 if [ $HTTP_GEOIP = YES ]; then |
245 have=NGX_HTTP_GEOIP . auto/have | |
246 HTTP_MODULES="$HTTP_MODULES $HTTP_GEOIP_MODULE" | |
247 HTTP_SRCS="$HTTP_SRCS $HTTP_GEOIP_SRCS" | |
248 fi | |
249 | |
589 | 250 if [ $HTTP_MAP = YES ]; then |
251 have=NGX_HTTP_MAP . auto/have | |
252 HTTP_MODULES="$HTTP_MODULES $HTTP_MAP_MODULE" | |
253 HTTP_SRCS="$HTTP_SRCS $HTTP_MAP_SRCS" | |
254 fi | |
255 | |
577 | 256 if [ $HTTP_REFERER = YES ]; then |
257 HTTP_MODULES="$HTTP_MODULES $HTTP_REFERER_MODULE" | |
258 HTTP_SRCS="$HTTP_SRCS $HTTP_REFERER_SRCS" | |
259 fi | |
260 | |
364
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
261 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
|
262 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
|
263 USE_PCRE=YES |
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
264 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
|
265 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
|
266 fi |
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
336
diff
changeset
|
267 |
395
f8f0f1834266
nginx-0.0.7-2004-07-16-21:11:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
393
diff
changeset
|
268 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
|
269 USE_OPENSSL=YES |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
395
diff
changeset
|
270 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
|
271 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
|
272 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
|
273 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
|
274 fi |
f8f0f1834266
nginx-0.0.7-2004-07-16-21:11:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
393
diff
changeset
|
275 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
276 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
|
277 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
|
278 #USE_MD5=YES |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
279 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
|
280 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
|
281 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
|
282 fi |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
283 |
479 | 284 if [ $HTTP_FASTCGI = YES ]; then |
285 HTTP_MODULES="$HTTP_MODULES $HTTP_FASTCGI_MODULE" | |
286 HTTP_SRCS="$HTTP_SRCS $HTTP_FASTCGI_SRCS" | |
287 fi | |
288 | |
599 | 289 if [ $HTTP_PERL = YES ]; then |
290 USE_PERL=YES | |
291 have=NGX_HTTP_PERL . auto/have | |
292 HTTP_MODULES="$HTTP_MODULES $HTTP_PERL_MODULE" | |
293 HTTP_INCS="$HTTP_INCS $HTTP_PERL_INCS" | |
294 HTTP_DEPS="$HTTP_DEPS $HTTP_PERL_DEPS" | |
295 HTTP_SRCS="$HTTP_SRCS $HTTP_PERL_SRCS" | |
296 fi | |
297 | |
581 | 298 if [ $HTTP_MEMCACHED = YES ]; then |
299 HTTP_MODULES="$HTTP_MODULES $HTTP_MEMCACHED_MODULE" | |
300 HTTP_SRCS="$HTTP_SRCS $HTTP_MEMCACHED_SRCS" | |
301 fi | |
302 | |
577 | 303 if [ $HTTP_EMPTY_GIF = YES ]; then |
304 HTTP_MODULES="$HTTP_MODULES $HTTP_EMPTY_GIF_MODULE" | |
305 HTTP_SRCS="$HTTP_SRCS $HTTP_EMPTY_GIF_SRCS" | |
306 fi | |
307 | |
700 | 308 if [ $HTTP_BROWSER = YES ]; then |
309 HTTP_MODULES="$HTTP_MODULES $HTTP_BROWSER_MODULE" | |
310 HTTP_SRCS="$HTTP_SRCS $HTTP_BROWSER_SRCS" | |
311 fi | |
312 | |
2260 | 313 if [ $HTTP_SECURE_LINK = YES ]; then |
314 USE_MD5=YES | |
315 HTTP_MODULES="$HTTP_MODULES $HTTP_SECURE_LINK_MODULE" | |
316 HTTP_SRCS="$HTTP_SRCS $HTTP_SECURE_LINK_SRCS" | |
317 fi | |
318 | |
3326 | 319 if [ $HTTP_DEGRADATION = YES ]; then |
320 HTTP_MODULES="$HTTP_MODULES $HTTP_DEGRADATION_MODULE" | |
321 HTTP_SRCS="$HTTP_SRCS $HTTP_DEGRADATION_SRCS" | |
322 fi | |
323 | |
753 | 324 if [ $HTTP_FLV = YES ]; then |
325 HTTP_MODULES="$HTTP_MODULES $HTTP_FLV_MODULE" | |
326 HTTP_SRCS="$HTTP_SRCS $HTTP_FLV_SRCS" | |
327 fi | |
328 | |
884 | 329 if [ $HTTP_UPSTREAM_IP_HASH = YES ]; then |
330 HTTP_MODULES="$HTTP_MODULES $HTTP_UPSTREAM_IP_HASH_MODULE" | |
331 HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_IP_HASH_SRCS" | |
332 fi | |
333 | |
487 | 334 if [ $HTTP_STUB_STATUS = YES ]; then |
335 have=NGX_STAT_STUB . auto/have | |
336 HTTP_MODULES="$HTTP_MODULES ngx_http_stub_status_module" | |
337 HTTP_SRCS="$HTTP_SRCS src/http/modules/ngx_http_stub_status_module.c" | |
338 fi | |
339 | |
489 | 340 #if [ -r $NGX_OBJS/auto ]; then |
341 # . $NGX_OBJS/auto | |
342 #fi | |
343 | |
344 | |
345 if test -n "$NGX_ADDONS"; then | |
346 | |
347 echo configuring additional modules | |
348 | |
349 for ngx_addon_dir in $NGX_ADDONS | |
350 do | |
351 echo "adding module in $ngx_addon_dir" | |
352 | |
353 if test -f $ngx_addon_dir/config; then | |
354 . $ngx_addon_dir/config | |
355 | |
356 echo " + $ngx_addon_name was configured" | |
357 | |
358 else | |
359 echo "$0: error: no $ngx_addon_dir/config was found" | |
360 exit 1 | |
361 fi | |
362 done | |
336
ca9a7f8c86da
nginx-0.0.3-2004-05-18-19:29:08 import
Igor Sysoev <igor@sysoev.ru>
parents:
334
diff
changeset
|
363 fi |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
364 |
489 | 365 |
1136 | 366 if [ $MAIL_SSL = YES ]; then |
367 have=NGX_MAIL_SSL . auto/have | |
541 | 368 USE_OPENSSL=YES |
369 fi | |
370 | |
371 | |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
372 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
|
373 |
541 | 374 |
375 if [ $USE_OPENSSL = YES ]; then | |
376 modules="$modules $OPENSSL_MODULE" | |
377 CORE_DEPS="$CORE_DEPS $OPENSSL_DEPS" | |
378 CORE_SRCS="$CORE_SRCS $OPENSSL_SRCS" | |
379 fi | |
380 | |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
381 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
|
382 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
|
383 $HTTP_HEADERS_FILTER_MODULE \ |
577 | 384 $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
|
385 $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
|
386 $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
|
387 $HTTP_NOT_MODIFIED_FILTER_MODULE" |
489 | 388 |
389 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
|
390 fi |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
391 |
489 | 392 |
1136 | 393 if [ $MAIL = YES ]; then |
394 modules="$modules $MAIL_MODULES" | |
521 | 395 |
1136 | 396 if [ $MAIL_SSL = YES ]; then |
397 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
|
398 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
|
399 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
|
400 fi |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
401 |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
402 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
|
403 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
|
404 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
|
405 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
|
406 fi |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
407 |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
408 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
|
409 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
|
410 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
|
411 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
|
412 fi |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
413 |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1172
diff
changeset
|
414 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
|
415 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
|
416 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
|
417 MAIL_SRCS="$MAIL_SRCS $MAIL_SMTP_SRCS" |
539 | 418 fi |
419 | |
1136 | 420 modules="$modules $MAIL_AUTH_HTTP_MODULE" |
421 MAIL_SRCS="$MAIL_SRCS $MAIL_AUTH_HTTP_SRCS" | |
521 | 422 |
1136 | 423 modules="$modules $MAIL_PROXY_MODULE" |
424 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
|
425 fi |
0526206251f6
nginx-0.0.10-2004-09-07-19:29:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
415
diff
changeset
|
426 |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
427 |
1949 | 428 if [ $NGX_GOOGLE_PERFTOOLS = YES ]; then |
429 modules="$modules $NGX_GOOGLE_PERFTOOLS_MODULE" | |
430 NGX_MISC_SRCS="$NGX_MISC_SRCS $NGX_GOOGLE_PERFTOOLS_SRCS" | |
431 fi | |
432 | |
433 | |
2172
c31c569708bd
fix ngx_cpp_test_module configure
Igor Sysoev <igor@sysoev.ru>
parents:
2157
diff
changeset
|
434 if [ $NGX_CPP_TEST = YES ]; then |
2157 | 435 NGX_MISC_SRCS="$NGX_MISC_SRCS $NGX_CPP_TEST_SRCS" |
436 fi | |
437 | |
438 | |
461 | 439 cat << END > $NGX_MODULES_C |
440 | |
441 #include <ngx_config.h> | |
442 #include <ngx_core.h> | |
443 | |
444 $NGX_PRAGMA | |
445 | |
446 END | |
280
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
447 |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
448 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
|
449 do |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
450 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
|
451 done |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
452 |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
453 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
|
454 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
|
455 |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
456 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
|
457 do |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
458 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
|
459 done |
7c7183b3ea8b
nginx-0.0.2-2004-03-05-11:34:24 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
460 |
461 | 461 cat << END >> $NGX_MODULES_C |
462 NULL | |
463 }; | |
464 | |
465 END |