annotate auto/options @ 6806:75dbab4ea930

Events: improved error event handling for UDP sockets. Normally, the epoll module calls the read and write handlers depending on whether EPOLLIN and EPOLLOUT are reported by epoll_wait(). No error processing is done in the module, the handlers are expected to get an error when doing I/O. If an error event is reported without EPOLLIN and EPOLLOUT, the module set both EPOLLIN and EPOLLOUT to ensure the error event is handled at least in one active handler. This works well unless the error is delivered along with only one of EPOLLIN or EPOLLOUT, and the corresponding handler does not do any I/O. For example, it happened when getting EPOLLERR|EPOLLOUT from epoll_wait() upon receiving "ICMP port unreachable" while proxying UDP. As the write handler had nothing to send it was not able to detect and log an error, and did not switch to the next upstream. The fix is to unconditionally set EPOLLIN and EPOLLOUT in case of an error event. In the aforementioned case, this causes the read handler to be called which does recv() and detects an error. In addition to the epoll module, analogous changes were made in devpoll/eventport/poll.
author Dmitry Volyntsev <xeioex@nginx.com>
date Mon, 21 Nov 2016 16:03:42 +0300
parents a6d116645c51
children 4d874b4d82ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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: 440
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: 440
diff changeset
2 # Copyright (C) Igor Sysoev
4412
d620f497c50f Copyright updated.
Maxim Konovalov <maxim@nginx.com>
parents: 4388
diff changeset
3 # Copyright (C) Nginx, Inc.
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
4
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
5
210
00cafae0bdf1 nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents: 195
diff changeset
6 help=no
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
7
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
8 NGX_PREFIX=
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
9 NGX_SBIN_PATH=
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
10 NGX_MODULES_PATH=
1352
e958b3cab51a --sysconfdir=DIR
Igor Sysoev <igor@sysoev.ru>
parents: 1188
diff changeset
11 NGX_CONF_PREFIX=
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
12 NGX_CONF_PATH=
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
13 NGX_ERROR_LOG_PATH=
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
14 NGX_PID_PATH=
611
3f8a2132b93d nginx-0.3.27-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 599
diff changeset
15 NGX_LOCK_PATH=
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
16 NGX_USER=
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
17 NGX_GROUP=
5701
1209b8a7b077 Configure: the --build= option.
Ruslan Ermilov <ru@nginx.com>
parents: 5329
diff changeset
18 NGX_BUILD=
337
4feff829a849 nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents: 323
diff changeset
19
5071
e14b49c12a73 Configure: changed default compiler from "gcc" to "cc".
Gleb Smirnoff <glebius@nginx.com>
parents: 4865
diff changeset
20 CC=${CC:-cc}
286
fc8dc489247e nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 285
diff changeset
21 CPP=
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
22 NGX_OBJS=objs
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
23
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
24 NGX_DEBUG=NO
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
25 NGX_CC_OPT=
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
26 NGX_LD_OPT=
284
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
27 CPU=NO
283
8f65fee68270 nginx-0.0.2-2004-03-10-20:55:19 import
Igor Sysoev <igor@sysoev.ru>
parents: 266
diff changeset
28
1490
111c571f431c add rpath for Solaris
Igor Sysoev <igor@sysoev.ru>
parents: 1487
diff changeset
29 NGX_RPATH=NO
111c571f431c add rpath for Solaris
Igor Sysoev <igor@sysoev.ru>
parents: 1487
diff changeset
30
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
31 NGX_TEST_BUILD_DEVPOLL=NO
719
f30b1a75fd3b Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents: 700
diff changeset
32 NGX_TEST_BUILD_EVENTPORT=NO
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
33 NGX_TEST_BUILD_EPOLL=NO
473
8e8f3af115b5 nginx-0.1.11-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 469
diff changeset
34 NGX_TEST_BUILD_SOLARIS_SENDFILEV=NO
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
35
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
36 NGX_PLATFORM=
461
a88a3e4e158f nginx-0.1.5-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 457
diff changeset
37 NGX_WINE=
a88a3e4e158f nginx-0.1.5-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 457
diff changeset
38
248
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
39 EVENT_FOUND=NO
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
40
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
41 EVENT_SELECT=NO
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
42 EVENT_POLL=NO
238
674f85a4d00f nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents: 216
diff changeset
43
266
5238e93961a1 nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents: 264
diff changeset
44 USE_THREADS=NO
5238e93961a1 nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents: 264
diff changeset
45
3052
6060225e9261 FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents: 2991
diff changeset
46 NGX_FILE_AIO=NO
2512
2e91aecb9e57 a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents: 2294
diff changeset
47
415
3c56e834be46 nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents: 409
diff changeset
48 HTTP=YES
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
49
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
50 NGX_HTTP_LOG_PATH=
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
51 NGX_HTTP_CLIENT_TEMP_PATH=
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
52 NGX_HTTP_PROXY_TEMP_PATH=
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
53 NGX_HTTP_FASTCGI_TEMP_PATH=
3549
0b3613117ac5 ./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents: 3541
diff changeset
54 NGX_HTTP_UWSGI_TEMP_PATH=
3637
d656caa72ec9 ngx_http_scgi_module
Igor Sysoev <igor@sysoev.ru>
parents: 3549
diff changeset
55 NGX_HTTP_SCGI_TEMP_PATH=
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
56
2592
3a8a53c0c42f a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents: 2582
diff changeset
57 HTTP_CACHE=YES
364
7c54d93f5965 nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents: 337
diff changeset
58 HTTP_CHARSET=YES
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
59 HTTP_GZIP=YES
383
c05876036128 nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents: 368
diff changeset
60 HTTP_SSL=NO
6246
257b51c37c5a The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents: 6197
diff changeset
61 HTTP_V2=NO
497
d7c90bb5ce83 nginx-0.1.23-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 489
diff changeset
62 HTTP_SSI=YES
509
9b8c906f6e63 nginx-0.1.29-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 503
diff changeset
63 HTTP_POSTPONE=NO
573
58475592100c nginx-0.3.8-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 539
diff changeset
64 HTTP_REALIP=NO
2139
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1979
diff changeset
65 HTTP_XSLT=NO
2788
a16ec9e1b4d1 ngx_http_image_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 2758
diff changeset
66 HTTP_IMAGE_FILTER=NO
1172
383ae25c3171 ngx_http_sub_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1136
diff changeset
67 HTTP_SUB=NO
629
65bf042c0b4f nginx-0.3.36-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 613
diff changeset
68 HTTP_ADDITION=NO
633
f971949ffb58 nginx-0.3.38-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 629
diff changeset
69 HTTP_DAV=NO
368
15c84a40e87d nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents: 367
diff changeset
70 HTTP_ACCESS=YES
503
b1648294f693 nginx-0.1.26-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 501
diff changeset
71 HTTP_AUTH_BASIC=YES
5329
00bdc9f08a16 Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents: 5121
diff changeset
72 HTTP_AUTH_REQUEST=NO
408
d6e2b445c1b8 nginx-0.0.10-2004-08-27-19:40:59 import
Igor Sysoev <igor@sysoev.ru>
parents: 399
diff changeset
73 HTTP_USERID=YES
6317
29f35e60840b Slice filter.
Roman Arutyunyan <arut@nginx.com>
parents: 6246
diff changeset
74 HTTP_SLICE=NO
457
ded1284520cc nginx-0.1.3-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 455
diff changeset
75 HTTP_AUTOINDEX=YES
2235
03180d4e5af2 ngx_http_random_index_module
Igor Sysoev <igor@sysoev.ru>
parents: 2172
diff changeset
76 HTTP_RANDOM_INDEX=NO
440
f390d1775430 nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents: 424
diff changeset
77 HTTP_STATUS=NO
485
4ebe09b07e30 nginx-0.1.17-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 479
diff changeset
78 HTTP_GEO=YES
2985
31af2d1a742e ngx_http_geoip_module
Igor Sysoev <igor@sysoev.ru>
parents: 2872
diff changeset
79 HTTP_GEOIP=NO
589
d4e858a5751a nginx-0.3.16-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 581
diff changeset
80 HTTP_MAP=YES
3513
e60e00b4fe0c ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents: 3363
diff changeset
81 HTTP_SPLIT_CLIENTS=YES
577
4d9ea73a627a nginx-0.3.10-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 573
diff changeset
82 HTTP_REFERER=YES
367
ceec87d1c2b3 nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents: 364
diff changeset
83 HTTP_REWRITE=YES
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
84 HTTP_PROXY=YES
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
85 HTTP_FASTCGI=YES
3541
21452748d165 import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents: 3513
diff changeset
86 HTTP_UWSGI=YES
3637
d656caa72ec9 ngx_http_scgi_module
Igor Sysoev <igor@sysoev.ru>
parents: 3549
diff changeset
87 HTTP_SCGI=YES
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
88 HTTP_PERL=NO
581
326634fb9d47 nginx-0.3.12-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 577
diff changeset
89 HTTP_MEMCACHED=YES
4280
91874133fb27 Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents: 4230
diff changeset
90 HTTP_LIMIT_CONN=YES
2294
ce574b0ffeec ngx_http_limit_req_module
Igor Sysoev <igor@sysoev.ru>
parents: 2260
diff changeset
91 HTTP_LIMIT_REQ=YES
577
4d9ea73a627a nginx-0.3.10-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 573
diff changeset
92 HTTP_EMPTY_GIF=YES
700
c1104f701926 ngx_http_browser_module
Igor Sysoev <igor@sysoev.ru>
parents: 653
diff changeset
93 HTTP_BROWSER=YES
2260
4f1616b32744 ngx_http_secure_link_module
Igor Sysoev <igor@sysoev.ru>
parents: 2235
diff changeset
94 HTTP_SECURE_LINK=NO
3326
e6967a1dc8e9 ngx_http_degradation_module
Igor Sysoev <igor@sysoev.ru>
parents: 3052
diff changeset
95 HTTP_DEGRADATION=NO
753
af72ac9c3dbf ngx_http_flv_module
Igor Sysoev <igor@sysoev.ru>
parents: 722
diff changeset
96 HTTP_FLV=NO
4085
6492c79e943a ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 3637
diff changeset
97 HTTP_MP4=NO
4837
f9ae534ebf4b Gunzip filter import.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4654
diff changeset
98 HTTP_GUNZIP=NO
1790
775edc46ee66 ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents: 1498
diff changeset
99 HTTP_GZIP_STATIC=NO
5717
efc84a5723b3 Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents: 5701
diff changeset
100 HTTP_UPSTREAM_HASH=YES
884
4d68c486fcb0 upstream choice modules
Igor Sysoev <igor@sysoev.ru>
parents: 753
diff changeset
101 HTTP_UPSTREAM_IP_HASH=YES
4654
a2ca3a6ee680 Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4412
diff changeset
102 HTTP_UPSTREAM_LEAST_CONN=YES
4127
b2e21a39307c Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4085
diff changeset
103 HTTP_UPSTREAM_KEEPALIVE=YES
6103
79ddb0bdb273 Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents: 6018
diff changeset
104 HTTP_UPSTREAM_ZONE=YES
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
105
487
31ff3e943e16 nginx-0.1.18-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 485
diff changeset
106 # STUB
31ff3e943e16 nginx-0.1.18-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 485
diff changeset
107 HTTP_STUB_STATUS=NO
31ff3e943e16 nginx-0.1.18-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 485
diff changeset
108
1136
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
109 MAIL=NO
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
110 MAIL_SSL=NO
1487
f69493e8faab ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents: 1394
diff changeset
111 MAIL_POP3=YES
f69493e8faab ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents: 1394
diff changeset
112 MAIL_IMAP=YES
f69493e8faab ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents: 1394
diff changeset
113 MAIL_SMTP=YES
417
0526206251f6 nginx-0.0.10-2004-09-07-19:29:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 415
diff changeset
114
6115
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
115 STREAM=NO
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
116 STREAM_SSL=NO
6684
9cac11efb205 Stream: realip module.
Dmitry Volyntsev <xeioex@nginx.com>
parents: 6632
diff changeset
117 STREAM_REALIP=NO
6197
0dcef374b8bb Stream: connection limiting module.
Vladimir Homutov <vl@nginx.com>
parents: 6176
diff changeset
118 STREAM_LIMIT_CONN=YES
6175
8807a2369b1a Stream: access module.
Vladimir Homutov <vl@nginx.com>
parents: 6143
diff changeset
119 STREAM_ACCESS=YES
6631
80875b75d27e Stream: geo module.
Vladimir Homutov <vl@nginx.com>
parents: 6630
diff changeset
120 STREAM_GEO=YES
6630
558db057adaa Stream: geoip module.
Vladimir Homutov <vl@nginx.com>
parents: 6612
diff changeset
121 STREAM_GEOIP=NO
6609
73543af69f14 Stream: map module.
Vladimir Homutov <vl@nginx.com>
parents: 6603
diff changeset
122 STREAM_MAP=YES
6632
787dcc15b802 Stream: split_clients module.
Vladimir Homutov <vl@nginx.com>
parents: 6631
diff changeset
123 STREAM_SPLIT_CLIENTS=YES
6612
4c4ac9e335c4 Stream: return module.
Roman Arutyunyan <arut@nginx.com>
parents: 6609
diff changeset
124 STREAM_RETURN=YES
6115
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
125 STREAM_UPSTREAM_HASH=YES
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
126 STREAM_UPSTREAM_LEAST_CONN=YES
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
127 STREAM_UPSTREAM_ZONE=YES
6695
060d71292b69 Stream: ssl_preread module.
Vladimir Homutov <vl@nginx.com>
parents: 6684
diff changeset
128 STREAM_SSL_PREREAD=NO
6115
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
129
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
130 DYNAMIC_MODULES=
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
131
489
45a460f82aec nginx-0.1.19-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 487
diff changeset
132 NGX_ADDONS=
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
133 NGX_ADDON_DEPS=
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
134 DYNAMIC_ADDONS=
467
bbd6b0b4a2b1 nginx-0.1.8-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 461
diff changeset
135
6716
57c8e12c460c Modules compatibility: --with-compat configure option.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6695
diff changeset
136 NGX_COMPAT=NO
57c8e12c460c Modules compatibility: --with-compat configure option.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6695
diff changeset
137
255
e6938ca7331a nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents: 253
diff changeset
138 USE_PCRE=NO
263
43c26e85205a nginx-0.0.2-2004-02-19-11:45:27 import
Igor Sysoev <igor@sysoev.ru>
parents: 260
diff changeset
139 PCRE=NONE
286
fc8dc489247e nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 285
diff changeset
140 PCRE_OPT=
4388
005fc2d5e84f Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents: 4280
diff changeset
141 PCRE_CONF_OPT=
005fc2d5e84f Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents: 4280
diff changeset
142 PCRE_JIT=NO
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
143
399
4e21d1291a14 nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents: 383
diff changeset
144 USE_OPENSSL=NO
4e21d1291a14 nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents: 383
diff changeset
145 OPENSSL=NONE
4e21d1291a14 nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents: 383
diff changeset
146
248
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
147 USE_ZLIB=NO
253
b6793bc5034b nginx-0.0.2-2004-02-09-10:46:43 import
Igor Sysoev <igor@sysoev.ru>
parents: 248
diff changeset
148 ZLIB=NONE
286
fc8dc489247e nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 285
diff changeset
149 ZLIB_OPT=
284
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
150 ZLIB_ASM=NO
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
151
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
152 USE_PERL=NO
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
153 NGX_PERL=perl
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
154
2139
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1979
diff changeset
155 USE_LIBXSLT=NO
2788
a16ec9e1b4d1 ngx_http_image_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 2758
diff changeset
156 USE_LIBGD=NO
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
157 USE_GEOIP=NO
2139
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1979
diff changeset
158
1949
e5ce4e2de846 ngx_google_perftools_module
Igor Sysoev <igor@sysoev.ru>
parents: 1790
diff changeset
159 NGX_GOOGLE_PERFTOOLS=NO
2157
69ef10ad7011 ngx_cpp_test_module
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
160 NGX_CPP_TEST=NO
1949
e5ce4e2de846 ngx_google_perftools_module
Igor Sysoev <igor@sysoev.ru>
parents: 1790
diff changeset
161
3363
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
162 NGX_LIBATOMIC=NO
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
163
589
d4e858a5751a nginx-0.3.16-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 581
diff changeset
164 NGX_CPU_CACHE_LINE=
d4e858a5751a nginx-0.3.16-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 581
diff changeset
165
4280
91874133fb27 Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents: 4230
diff changeset
166 NGX_POST_CONF_MSG=
91874133fb27 Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents: 4230
diff changeset
167
2755
a65976a205a5 add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents: 2592
diff changeset
168 opt=
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
169
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
170 for option
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
171 do
2872
01b999a7adc2 style fix
Igor Sysoev <igor@sysoev.ru>
parents: 2793
diff changeset
172 opt="$opt `echo $option | sed -e \"s/\(--[^=]*=\)\(.* .*\)/\1'\2'/\"`"
2755
a65976a205a5 add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents: 2592
diff changeset
173
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
174 case "$option" in
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
175 -*=*) value=`echo "$option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;;
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
176 *) value="" ;;
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
177 esac
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
178
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
179 case "$option" in
210
00cafae0bdf1 nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents: 195
diff changeset
180 --help) help=yes ;;
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
181
2758
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
182 --prefix=) NGX_PREFIX="!" ;;
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
183 --prefix=*) NGX_PREFIX="$value" ;;
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
184 --sbin-path=*) NGX_SBIN_PATH="$value" ;;
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
185 --modules-path=*) NGX_MODULES_PATH="$value" ;;
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
186 --conf-path=*) NGX_CONF_PATH="$value" ;;
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
187 --error-log-path=*) NGX_ERROR_LOG_PATH="$value";;
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
188 --pid-path=*) NGX_PID_PATH="$value" ;;
611
3f8a2132b93d nginx-0.3.27-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 599
diff changeset
189 --lock-path=*) NGX_LOCK_PATH="$value" ;;
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
190 --user=*) NGX_USER="$value" ;;
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
191 --group=*) NGX_GROUP="$value" ;;
337
4feff829a849 nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents: 323
diff changeset
192
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
193 --crossbuild=*) NGX_PLATFORM="$value" ;;
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
194
5701
1209b8a7b077 Configure: the --build= option.
Ruslan Ermilov <ru@nginx.com>
parents: 5329
diff changeset
195 --build=*) NGX_BUILD="$value" ;;
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
196 --builddir=*) NGX_OBJS="$value" ;;
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
197
248
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
198 --with-select_module) EVENT_SELECT=YES ;;
255
e6938ca7331a nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents: 253
diff changeset
199 --without-select_module) EVENT_SELECT=NONE ;;
248
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
200 --with-poll_module) EVENT_POLL=YES ;;
255
e6938ca7331a nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents: 253
diff changeset
201 --without-poll_module) EVENT_POLL=NONE ;;
238
674f85a4d00f nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents: 216
diff changeset
202
6018
466bd63b63d1 Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents: 6017
diff changeset
203 --with-threads) USE_THREADS=YES ;;
466bd63b63d1 Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents: 6017
diff changeset
204
3052
6060225e9261 FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents: 2991
diff changeset
205 --with-file-aio) NGX_FILE_AIO=YES ;;
6724
a6d116645c51 Configure: removed the --with-ipv6 option.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6716
diff changeset
206
a6d116645c51 Configure: removed the --with-ipv6 option.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6716
diff changeset
207 --with-ipv6)
a6d116645c51 Configure: removed the --with-ipv6 option.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6716
diff changeset
208 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
a6d116645c51 Configure: removed the --with-ipv6 option.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6716
diff changeset
209 $0: warning: the \"--with-ipv6\" option is deprecated"
a6d116645c51 Configure: removed the --with-ipv6 option.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6716
diff changeset
210 ;;
2512
2e91aecb9e57 a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents: 2294
diff changeset
211
415
3c56e834be46 nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents: 409
diff changeset
212 --without-http) HTTP=NO ;;
2592
3a8a53c0c42f a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents: 2582
diff changeset
213 --without-http-cache) HTTP_CACHE=NO ;;
3a8a53c0c42f a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents: 2582
diff changeset
214
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
215 --http-log-path=*) NGX_HTTP_LOG_PATH="$value" ;;
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
216 --http-client-body-temp-path=*) NGX_HTTP_CLIENT_TEMP_PATH="$value" ;;
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
217 --http-proxy-temp-path=*) NGX_HTTP_PROXY_TEMP_PATH="$value" ;;
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
218 --http-fastcgi-temp-path=*) NGX_HTTP_FASTCGI_TEMP_PATH="$value" ;;
3549
0b3613117ac5 ./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents: 3541
diff changeset
219 --http-uwsgi-temp-path=*) NGX_HTTP_UWSGI_TEMP_PATH="$value" ;;
3637
d656caa72ec9 ngx_http_scgi_module
Igor Sysoev <igor@sysoev.ru>
parents: 3549
diff changeset
220 --http-scgi-temp-path=*) NGX_HTTP_SCGI_TEMP_PATH="$value" ;;
415
3c56e834be46 nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents: 409
diff changeset
221
383
c05876036128 nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents: 368
diff changeset
222 --with-http_ssl_module) HTTP_SSL=YES ;;
6246
257b51c37c5a The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents: 6197
diff changeset
223 --with-http_v2_module) HTTP_V2=YES ;;
573
58475592100c nginx-0.3.8-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 539
diff changeset
224 --with-http_realip_module) HTTP_REALIP=YES ;;
629
65bf042c0b4f nginx-0.3.36-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 613
diff changeset
225 --with-http_addition_module) HTTP_ADDITION=YES ;;
2139
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1979
diff changeset
226 --with-http_xslt_module) HTTP_XSLT=YES ;;
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
227 --with-http_xslt_module=dynamic) HTTP_XSLT=DYNAMIC ;;
2788
a16ec9e1b4d1 ngx_http_image_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 2758
diff changeset
228 --with-http_image_filter_module) HTTP_IMAGE_FILTER=YES ;;
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
229 --with-http_image_filter_module=dynamic)
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
230 HTTP_IMAGE_FILTER=DYNAMIC ;;
2985
31af2d1a742e ngx_http_geoip_module
Igor Sysoev <igor@sysoev.ru>
parents: 2872
diff changeset
231 --with-http_geoip_module) HTTP_GEOIP=YES ;;
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
232 --with-http_geoip_module=dynamic)
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
233 HTTP_GEOIP=DYNAMIC ;;
1172
383ae25c3171 ngx_http_sub_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1136
diff changeset
234 --with-http_sub_module) HTTP_SUB=YES ;;
633
f971949ffb58 nginx-0.3.38-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 629
diff changeset
235 --with-http_dav_module) HTTP_DAV=YES ;;
753
af72ac9c3dbf ngx_http_flv_module
Igor Sysoev <igor@sysoev.ru>
parents: 722
diff changeset
236 --with-http_flv_module) HTTP_FLV=YES ;;
4085
6492c79e943a ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 3637
diff changeset
237 --with-http_mp4_module) HTTP_MP4=YES ;;
4837
f9ae534ebf4b Gunzip filter import.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4654
diff changeset
238 --with-http_gunzip_module) HTTP_GUNZIP=YES ;;
1790
775edc46ee66 ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents: 1498
diff changeset
239 --with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;;
5329
00bdc9f08a16 Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents: 5121
diff changeset
240 --with-http_auth_request_module) HTTP_AUTH_REQUEST=YES ;;
2235
03180d4e5af2 ngx_http_random_index_module
Igor Sysoev <igor@sysoev.ru>
parents: 2172
diff changeset
241 --with-http_random_index_module) HTTP_RANDOM_INDEX=YES ;;
2260
4f1616b32744 ngx_http_secure_link_module
Igor Sysoev <igor@sysoev.ru>
parents: 2235
diff changeset
242 --with-http_secure_link_module) HTTP_SECURE_LINK=YES ;;
3326
e6967a1dc8e9 ngx_http_degradation_module
Igor Sysoev <igor@sysoev.ru>
parents: 3052
diff changeset
243 --with-http_degradation_module) HTTP_DEGRADATION=YES ;;
6317
29f35e60840b Slice filter.
Roman Arutyunyan <arut@nginx.com>
parents: 6246
diff changeset
244 --with-http_slice_module) HTTP_SLICE=YES ;;
633
f971949ffb58 nginx-0.3.38-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 629
diff changeset
245
364
7c54d93f5965 nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents: 337
diff changeset
246 --without-http_charset_module) HTTP_CHARSET=NO ;;
383
c05876036128 nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents: 368
diff changeset
247 --without-http_gzip_module) HTTP_GZIP=NO ;;
239
574bea0142be nginx-0.0.1-2004-01-26-11:52:49 import
Igor Sysoev <igor@sysoev.ru>
parents: 238
diff changeset
248 --without-http_ssi_module) HTTP_SSI=NO ;;
409
8ac40cae79f0 nginx-0.0.10-2004-08-29-07:55:41 import
Igor Sysoev <igor@sysoev.ru>
parents: 408
diff changeset
249 --without-http_userid_module) HTTP_USERID=NO ;;
368
15c84a40e87d nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents: 367
diff changeset
250 --without-http_access_module) HTTP_ACCESS=NO ;;
503
b1648294f693 nginx-0.1.26-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 501
diff changeset
251 --without-http_auth_basic_module) HTTP_AUTH_BASIC=NO ;;
457
ded1284520cc nginx-0.1.3-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 455
diff changeset
252 --without-http_autoindex_module) HTTP_AUTOINDEX=NO ;;
367
ceec87d1c2b3 nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents: 364
diff changeset
253 --without-http_status_module) HTTP_STATUS=NO ;;
485
4ebe09b07e30 nginx-0.1.17-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 479
diff changeset
254 --without-http_geo_module) HTTP_GEO=NO ;;
589
d4e858a5751a nginx-0.3.16-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 581
diff changeset
255 --without-http_map_module) HTTP_MAP=NO ;;
3513
e60e00b4fe0c ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents: 3363
diff changeset
256 --without-http_split_clients_module) HTTP_SPLIT_CLIENTS=NO ;;
581
326634fb9d47 nginx-0.3.12-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 577
diff changeset
257 --without-http_referer_module) HTTP_REFERER=NO ;;
367
ceec87d1c2b3 nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents: 364
diff changeset
258 --without-http_rewrite_module) HTTP_REWRITE=NO ;;
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
259 --without-http_proxy_module) HTTP_PROXY=NO ;;
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
260 --without-http_fastcgi_module) HTTP_FASTCGI=NO ;;
3541
21452748d165 import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents: 3513
diff changeset
261 --without-http_uwsgi_module) HTTP_UWSGI=NO ;;
3637
d656caa72ec9 ngx_http_scgi_module
Igor Sysoev <igor@sysoev.ru>
parents: 3549
diff changeset
262 --without-http_scgi_module) HTTP_SCGI=NO ;;
581
326634fb9d47 nginx-0.3.12-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 577
diff changeset
263 --without-http_memcached_module) HTTP_MEMCACHED=NO ;;
4280
91874133fb27 Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents: 4230
diff changeset
264 --without-http_limit_conn_module) HTTP_LIMIT_CONN=NO ;;
2294
ce574b0ffeec ngx_http_limit_req_module
Igor Sysoev <igor@sysoev.ru>
parents: 2260
diff changeset
265 --without-http_limit_req_module) HTTP_LIMIT_REQ=NO ;;
581
326634fb9d47 nginx-0.3.12-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 577
diff changeset
266 --without-http_empty_gif_module) HTTP_EMPTY_GIF=NO ;;
700
c1104f701926 ngx_http_browser_module
Igor Sysoev <igor@sysoev.ru>
parents: 653
diff changeset
267 --without-http_browser_module) HTTP_BROWSER=NO ;;
5717
efc84a5723b3 Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents: 5701
diff changeset
268 --without-http_upstream_hash_module) HTTP_UPSTREAM_HASH=NO ;;
884
4d68c486fcb0 upstream choice modules
Igor Sysoev <igor@sysoev.ru>
parents: 753
diff changeset
269 --without-http_upstream_ip_hash_module) HTTP_UPSTREAM_IP_HASH=NO ;;
4654
a2ca3a6ee680 Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4412
diff changeset
270 --without-http_upstream_least_conn_module)
a2ca3a6ee680 Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4412
diff changeset
271 HTTP_UPSTREAM_LEAST_CONN=NO ;;
4127
b2e21a39307c Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4085
diff changeset
272 --without-http_upstream_keepalive_module) HTTP_UPSTREAM_KEEPALIVE=NO ;;
6103
79ddb0bdb273 Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents: 6018
diff changeset
273 --without-http_upstream_zone_module) HTTP_UPSTREAM_ZONE=NO ;;
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
274
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
275 --with-http_perl_module) HTTP_PERL=YES ;;
6419
39a806ccf21e Dynamic modules: perl.
Ruslan Ermilov <ru@nginx.com>
parents: 6383
diff changeset
276 --with-http_perl_module=dynamic) HTTP_PERL=DYNAMIC ;;
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
277 --with-perl_modules_path=*) NGX_PERL_MODULES="$value" ;;
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
278 --with-perl=*) NGX_PERL="$value" ;;
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
279
487
31ff3e943e16 nginx-0.1.18-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 485
diff changeset
280 # STUB
31ff3e943e16 nginx-0.1.18-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 485
diff changeset
281 --with-http_stub_status_module) HTTP_STUB_STATUS=YES ;;
31ff3e943e16 nginx-0.1.18-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 485
diff changeset
282
1136
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
283 --with-mail) MAIL=YES ;;
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
284 --with-mail=dynamic) MAIL=DYNAMIC ;;
1136
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
285 --with-mail_ssl_module) MAIL_SSL=YES ;;
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
286 # STUB
6143
162b2d27d4e1 Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents: 6126
diff changeset
287 --with-imap)
162b2d27d4e1 Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents: 6126
diff changeset
288 MAIL=YES
162b2d27d4e1 Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents: 6126
diff changeset
289 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
162b2d27d4e1 Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents: 6126
diff changeset
290 $0: warning: the \"--with-imap\" option is deprecated, \
162b2d27d4e1 Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents: 6126
diff changeset
291 use the \"--with-mail\" option instead"
162b2d27d4e1 Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents: 6126
diff changeset
292 ;;
162b2d27d4e1 Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents: 6126
diff changeset
293 --with-imap_ssl_module)
162b2d27d4e1 Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents: 6126
diff changeset
294 MAIL_SSL=YES
162b2d27d4e1 Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents: 6126
diff changeset
295 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
162b2d27d4e1 Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents: 6126
diff changeset
296 $0: warning: the \"--with-imap_ssl_module\" option is deprecated, \
162b2d27d4e1 Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents: 6126
diff changeset
297 use the \"--with-mail_ssl_module\" option instead"
162b2d27d4e1 Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents: 6126
diff changeset
298 ;;
1487
f69493e8faab ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents: 1394
diff changeset
299 --without-mail_pop3_module) MAIL_POP3=NO ;;
f69493e8faab ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents: 1394
diff changeset
300 --without-mail_imap_module) MAIL_IMAP=NO ;;
f69493e8faab ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents: 1394
diff changeset
301 --without-mail_smtp_module) MAIL_SMTP=NO ;;
417
0526206251f6 nginx-0.0.10-2004-09-07-19:29:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 415
diff changeset
302
6115
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
303 --with-stream) STREAM=YES ;;
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
304 --with-stream=dynamic) STREAM=DYNAMIC ;;
6115
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
305 --with-stream_ssl_module) STREAM_SSL=YES ;;
6684
9cac11efb205 Stream: realip module.
Dmitry Volyntsev <xeioex@nginx.com>
parents: 6632
diff changeset
306 --with-stream_realip_module) STREAM_REALIP=YES ;;
6630
558db057adaa Stream: geoip module.
Vladimir Homutov <vl@nginx.com>
parents: 6612
diff changeset
307 --with-stream_geoip_module) STREAM_GEOIP=YES ;;
558db057adaa Stream: geoip module.
Vladimir Homutov <vl@nginx.com>
parents: 6612
diff changeset
308 --with-stream_geoip_module=dynamic)
558db057adaa Stream: geoip module.
Vladimir Homutov <vl@nginx.com>
parents: 6612
diff changeset
309 STREAM_GEOIP=DYNAMIC ;;
6695
060d71292b69 Stream: ssl_preread module.
Vladimir Homutov <vl@nginx.com>
parents: 6684
diff changeset
310 --with-stream_ssl_preread_module)
060d71292b69 Stream: ssl_preread module.
Vladimir Homutov <vl@nginx.com>
parents: 6684
diff changeset
311 STREAM_SSL_PREREAD=YES ;;
6197
0dcef374b8bb Stream: connection limiting module.
Vladimir Homutov <vl@nginx.com>
parents: 6176
diff changeset
312 --without-stream_limit_conn_module)
0dcef374b8bb Stream: connection limiting module.
Vladimir Homutov <vl@nginx.com>
parents: 6176
diff changeset
313 STREAM_LIMIT_CONN=NO ;;
6175
8807a2369b1a Stream: access module.
Vladimir Homutov <vl@nginx.com>
parents: 6143
diff changeset
314 --without-stream_access_module) STREAM_ACCESS=NO ;;
6631
80875b75d27e Stream: geo module.
Vladimir Homutov <vl@nginx.com>
parents: 6630
diff changeset
315 --without-stream_geo_module) STREAM_GEO=NO ;;
6609
73543af69f14 Stream: map module.
Vladimir Homutov <vl@nginx.com>
parents: 6603
diff changeset
316 --without-stream_map_module) STREAM_MAP=NO ;;
6632
787dcc15b802 Stream: split_clients module.
Vladimir Homutov <vl@nginx.com>
parents: 6631
diff changeset
317 --without-stream_split_clients_module)
787dcc15b802 Stream: split_clients module.
Vladimir Homutov <vl@nginx.com>
parents: 6631
diff changeset
318 STREAM_SPLIT_CLIENTS=NO ;;
6612
4c4ac9e335c4 Stream: return module.
Roman Arutyunyan <arut@nginx.com>
parents: 6609
diff changeset
319 --without-stream_return_module) STREAM_RETURN=NO ;;
6115
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
320 --without-stream_upstream_hash_module)
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
321 STREAM_UPSTREAM_HASH=NO ;;
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
322 --without-stream_upstream_least_conn_module)
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
323 STREAM_UPSTREAM_LEAST_CONN=NO ;;
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
324 --without-stream_upstream_zone_module)
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
325 STREAM_UPSTREAM_ZONE=NO ;;
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
326
1949
e5ce4e2de846 ngx_google_perftools_module
Igor Sysoev <igor@sysoev.ru>
parents: 1790
diff changeset
327 --with-google_perftools_module) NGX_GOOGLE_PERFTOOLS=YES ;;
2172
c31c569708bd fix ngx_cpp_test_module configure
Igor Sysoev <igor@sysoev.ru>
parents: 2157
diff changeset
328 --with-cpp_test_module) NGX_CPP_TEST=YES ;;
1949
e5ce4e2de846 ngx_google_perftools_module
Igor Sysoev <igor@sysoev.ru>
parents: 1790
diff changeset
329
489
45a460f82aec nginx-0.1.19-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 487
diff changeset
330 --add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;;
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
331 --add-dynamic-module=*) DYNAMIC_ADDONS="$DYNAMIC_ADDONS $value" ;;
467
bbd6b0b4a2b1 nginx-0.1.8-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 461
diff changeset
332
6716
57c8e12c460c Modules compatibility: --with-compat configure option.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6695
diff changeset
333 --with-compat) NGX_COMPAT=YES ;;
57c8e12c460c Modules compatibility: --with-compat configure option.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6695
diff changeset
334
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
335 --with-cc=*) CC="$value" ;;
286
fc8dc489247e nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 285
diff changeset
336 --with-cpp=*) CPP="$value" ;;
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
337 --with-cc-opt=*) NGX_CC_OPT="$value" ;;
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
338 --with-ld-opt=*) NGX_LD_OPT="$value" ;;
284
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
339 --with-cpu-opt=*) CPU="$value" ;;
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
340 --with-debug) NGX_DEBUG=YES ;;
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
341
264
cd009bf7400d nginx-0.0.2-2004-02-19-19:48:14 import
Igor Sysoev <igor@sysoev.ru>
parents: 263
diff changeset
342 --without-pcre) USE_PCRE=DISABLED ;;
2582
2068bdecc876 --with-pcre
Igor Sysoev <igor@sysoev.ru>
parents: 2581
diff changeset
343 --with-pcre) USE_PCRE=YES ;;
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
344 --with-pcre=*) PCRE="$value" ;;
284
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
345 --with-pcre-opt=*) PCRE_OPT="$value" ;;
4388
005fc2d5e84f Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents: 4280
diff changeset
346 --with-pcre-jit) PCRE_JIT=YES ;;
284
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
347
399
4e21d1291a14 nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents: 383
diff changeset
348 --with-openssl=*) OPENSSL="$value" ;;
501
d4ea69372b94 nginx-0.1.25-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 497
diff changeset
349 --with-openssl-opt=*) OPENSSL_OPT="$value" ;;
399
4e21d1291a14 nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents: 383
diff changeset
350
6603
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
351 --with-md5=*)
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
352 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
353 $0: warning: the \"--with-md5\" option is deprecated"
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
354 ;;
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
355 --with-md5-opt=*)
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
356 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
357 $0: warning: the \"--with-md5-opt\" option is deprecated"
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
358 ;;
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
359 --with-md5-asm)
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
360 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
361 $0: warning: the \"--with-md5-asm\" option is deprecated"
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
362 ;;
284
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
363
6603
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
364 --with-sha1=*)
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
365 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
366 $0: warning: the \"--with-sha1\" option is deprecated"
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
367 ;;
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
368 --with-sha1-opt=*)
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
369 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
370 $0: warning: the \"--with-sha1-opt\" option is deprecated"
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
371 ;;
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
372 --with-sha1-asm)
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
373 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
374 $0: warning: the \"--with-sha1-asm\" option is deprecated"
9eefb38f0005 Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6436
diff changeset
375 ;;
653
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
376
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
377 --with-zlib=*) ZLIB="$value" ;;
283
8f65fee68270 nginx-0.0.2-2004-03-10-20:55:19 import
Igor Sysoev <igor@sysoev.ru>
parents: 266
diff changeset
378 --with-zlib-opt=*) ZLIB_OPT="$value" ;;
284
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
379 --with-zlib-asm=*) ZLIB_ASM="$value" ;;
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
380
3363
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
381 --with-libatomic) NGX_LIBATOMIC=YES ;;
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
382 --with-libatomic=*) NGX_LIBATOMIC="$value" ;;
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
383
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
384 --test-build-devpoll) NGX_TEST_BUILD_DEVPOLL=YES ;;
719
f30b1a75fd3b Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents: 700
diff changeset
385 --test-build-eventport) NGX_TEST_BUILD_EVENTPORT=YES ;;
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
386 --test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;;
473
8e8f3af115b5 nginx-0.1.11-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 469
diff changeset
387 --test-build-solaris-sendfilev) NGX_TEST_BUILD_SOLARIS_SENDFILEV=YES ;;
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
388
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
389 *)
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
390 echo "$0: error: invalid option \"$option\""
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
391 exit 1
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
392 ;;
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
393 esac
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
394 done
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
395
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
396
2755
a65976a205a5 add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents: 2592
diff changeset
397 NGX_CONFIGURE="$opt"
a65976a205a5 add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents: 2592
diff changeset
398
a65976a205a5 add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents: 2592
diff changeset
399
210
00cafae0bdf1 nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents: 195
diff changeset
400 if [ $help = yes ]; then
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
401
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
402 cat << END
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
403
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
404 --help print this message
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
405
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
406 --prefix=PATH set installation prefix
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
407 --sbin-path=PATH set nginx binary pathname
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
408 --modules-path=PATH set modules path
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
409 --conf-path=PATH set nginx.conf pathname
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
410 --error-log-path=PATH set error log pathname
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
411 --pid-path=PATH set nginx.pid pathname
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
412 --lock-path=PATH set nginx.lock pathname
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
413
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
414 --user=USER set non-privileged user for
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
415 worker processes
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
416 --group=GROUP set non-privileged group for
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
417 worker processes
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
418
5701
1209b8a7b077 Configure: the --build= option.
Ruslan Ermilov <ru@nginx.com>
parents: 5329
diff changeset
419 --build=NAME set build name
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
420 --builddir=DIR set build directory
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
421
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
422 --with-select_module enable select module
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
423 --without-select_module disable select module
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
424 --with-poll_module enable poll module
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
425 --without-poll_module disable poll module
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
426
6018
466bd63b63d1 Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents: 6017
diff changeset
427 --with-threads enable thread pool support
466bd63b63d1 Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents: 6017
diff changeset
428
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
429 --with-file-aio enable file AIO support
2512
2e91aecb9e57 a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents: 2294
diff changeset
430
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
431 --with-http_ssl_module enable ngx_http_ssl_module
6246
257b51c37c5a The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents: 6197
diff changeset
432 --with-http_v2_module enable ngx_http_v2_module
581
326634fb9d47 nginx-0.3.12-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 577
diff changeset
433 --with-http_realip_module enable ngx_http_realip_module
635
18268abd340c nginx-0.3.39-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 633
diff changeset
434 --with-http_addition_module enable ngx_http_addition_module
2139
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1979
diff changeset
435 --with-http_xslt_module enable ngx_http_xslt_module
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
436 --with-http_xslt_module=dynamic enable dynamic ngx_http_xslt_module
2793
411653b73d7c add --with-http_image_filter_module to ./configure --help
Igor Sysoev <igor@sysoev.ru>
parents: 2788
diff changeset
437 --with-http_image_filter_module enable ngx_http_image_filter_module
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
438 --with-http_image_filter_module=dynamic
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
439 enable dynamic ngx_http_image_filter_module
2991
6ae141e270ad fix help message
Igor Sysoev <igor@sysoev.ru>
parents: 2985
diff changeset
440 --with-http_geoip_module enable ngx_http_geoip_module
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
441 --with-http_geoip_module=dynamic enable dynamic ngx_http_geoip_module
1172
383ae25c3171 ngx_http_sub_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1136
diff changeset
442 --with-http_sub_module enable ngx_http_sub_module
635
18268abd340c nginx-0.3.39-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 633
diff changeset
443 --with-http_dav_module enable ngx_http_dav_module
753
af72ac9c3dbf ngx_http_flv_module
Igor Sysoev <igor@sysoev.ru>
parents: 722
diff changeset
444 --with-http_flv_module enable ngx_http_flv_module
4085
6492c79e943a ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 3637
diff changeset
445 --with-http_mp4_module enable ngx_http_mp4_module
4837
f9ae534ebf4b Gunzip filter import.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4654
diff changeset
446 --with-http_gunzip_module enable ngx_http_gunzip_module
1790
775edc46ee66 ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents: 1498
diff changeset
447 --with-http_gzip_static_module enable ngx_http_gzip_static_module
5329
00bdc9f08a16 Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents: 5121
diff changeset
448 --with-http_auth_request_module enable ngx_http_auth_request_module
2235
03180d4e5af2 ngx_http_random_index_module
Igor Sysoev <igor@sysoev.ru>
parents: 2172
diff changeset
449 --with-http_random_index_module enable ngx_http_random_index_module
2260
4f1616b32744 ngx_http_secure_link_module
Igor Sysoev <igor@sysoev.ru>
parents: 2235
diff changeset
450 --with-http_secure_link_module enable ngx_http_secure_link_module
3326
e6967a1dc8e9 ngx_http_degradation_module
Igor Sysoev <igor@sysoev.ru>
parents: 3052
diff changeset
451 --with-http_degradation_module enable ngx_http_degradation_module
6317
29f35e60840b Slice filter.
Roman Arutyunyan <arut@nginx.com>
parents: 6246
diff changeset
452 --with-http_slice_module enable ngx_http_slice_module
1188
3edb63d62682 add options help
Igor Sysoev <igor@sysoev.ru>
parents: 1172
diff changeset
453 --with-http_stub_status_module enable ngx_http_stub_status_module
635
18268abd340c nginx-0.3.39-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 633
diff changeset
454
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
455 --without-http_charset_module disable ngx_http_charset_module
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
456 --without-http_gzip_module disable ngx_http_gzip_module
501
d4ea69372b94 nginx-0.1.25-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 497
diff changeset
457 --without-http_ssi_module disable ngx_http_ssi_module
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
458 --without-http_userid_module disable ngx_http_userid_module
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
459 --without-http_access_module disable ngx_http_access_module
503
b1648294f693 nginx-0.1.26-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 501
diff changeset
460 --without-http_auth_basic_module disable ngx_http_auth_basic_module
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
461 --without-http_autoindex_module disable ngx_http_autoindex_module
485
4ebe09b07e30 nginx-0.1.17-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 479
diff changeset
462 --without-http_geo_module disable ngx_http_geo_module
722
0ca72814cb3f add missing entries to ./configure --help
Igor Sysoev <igor@sysoev.ru>
parents: 719
diff changeset
463 --without-http_map_module disable ngx_http_map_module
3513
e60e00b4fe0c ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents: 3363
diff changeset
464 --without-http_split_clients_module disable ngx_http_split_clients_module
581
326634fb9d47 nginx-0.3.12-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 577
diff changeset
465 --without-http_referer_module disable ngx_http_referer_module
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
466 --without-http_rewrite_module disable ngx_http_rewrite_module
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
467 --without-http_proxy_module disable ngx_http_proxy_module
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
468 --without-http_fastcgi_module disable ngx_http_fastcgi_module
3541
21452748d165 import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents: 3513
diff changeset
469 --without-http_uwsgi_module disable ngx_http_uwsgi_module
3637
d656caa72ec9 ngx_http_scgi_module
Igor Sysoev <igor@sysoev.ru>
parents: 3549
diff changeset
470 --without-http_scgi_module disable ngx_http_scgi_module
581
326634fb9d47 nginx-0.3.12-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 577
diff changeset
471 --without-http_memcached_module disable ngx_http_memcached_module
4280
91874133fb27 Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents: 4230
diff changeset
472 --without-http_limit_conn_module disable ngx_http_limit_conn_module
2294
ce574b0ffeec ngx_http_limit_req_module
Igor Sysoev <igor@sysoev.ru>
parents: 2260
diff changeset
473 --without-http_limit_req_module disable ngx_http_limit_req_module
581
326634fb9d47 nginx-0.3.12-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 577
diff changeset
474 --without-http_empty_gif_module disable ngx_http_empty_gif_module
722
0ca72814cb3f add missing entries to ./configure --help
Igor Sysoev <igor@sysoev.ru>
parents: 719
diff changeset
475 --without-http_browser_module disable ngx_http_browser_module
5717
efc84a5723b3 Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents: 5701
diff changeset
476 --without-http_upstream_hash_module
efc84a5723b3 Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents: 5701
diff changeset
477 disable ngx_http_upstream_hash_module
884
4d68c486fcb0 upstream choice modules
Igor Sysoev <igor@sysoev.ru>
parents: 753
diff changeset
478 --without-http_upstream_ip_hash_module
4d68c486fcb0 upstream choice modules
Igor Sysoev <igor@sysoev.ru>
parents: 753
diff changeset
479 disable ngx_http_upstream_ip_hash_module
4865
ca794c55c43f Configure: help updated to list upstream keepalive and least_conn.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4837
diff changeset
480 --without-http_upstream_least_conn_module
ca794c55c43f Configure: help updated to list upstream keepalive and least_conn.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4837
diff changeset
481 disable ngx_http_upstream_least_conn_module
ca794c55c43f Configure: help updated to list upstream keepalive and least_conn.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4837
diff changeset
482 --without-http_upstream_keepalive_module
ca794c55c43f Configure: help updated to list upstream keepalive and least_conn.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4837
diff changeset
483 disable ngx_http_upstream_keepalive_module
6103
79ddb0bdb273 Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents: 6018
diff changeset
484 --without-http_upstream_zone_module
79ddb0bdb273 Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents: 6018
diff changeset
485 disable ngx_http_upstream_zone_module
238
674f85a4d00f nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents: 216
diff changeset
486
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
487 --with-http_perl_module enable ngx_http_perl_module
6419
39a806ccf21e Dynamic modules: perl.
Ruslan Ermilov <ru@nginx.com>
parents: 6383
diff changeset
488 --with-http_perl_module=dynamic enable dynamic ngx_http_perl_module
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
489 --with-perl_modules_path=PATH set Perl modules path
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
490 --with-perl=PATH set perl binary pathname
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
491
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
492 --http-log-path=PATH set http access log pathname
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
493 --http-client-body-temp-path=PATH set path to store
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
494 http client request body temporary files
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
495 --http-proxy-temp-path=PATH set path to store
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
496 http proxy temporary files
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
497 --http-fastcgi-temp-path=PATH set path to store
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
498 http fastcgi temporary files
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
499 --http-uwsgi-temp-path=PATH set path to store
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
500 http uwsgi temporary files
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
501 --http-scgi-temp-path=PATH set path to store
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
502 http scgi temporary files
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
503
529
e5d7d0334fdb nginx-0.1.39-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 509
diff changeset
504 --without-http disable HTTP server
2592
3a8a53c0c42f a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents: 2582
diff changeset
505 --without-http-cache disable HTTP cache
529
e5d7d0334fdb nginx-0.1.39-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 509
diff changeset
506
1498
d23d9b5969e7 document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents: 1490
diff changeset
507 --with-mail enable POP3/IMAP4/SMTP proxy module
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
508 --with-mail=dynamic enable dynamic POP3/IMAP4/SMTP proxy module
1136
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
509 --with-mail_ssl_module enable ngx_mail_ssl_module
1498
d23d9b5969e7 document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents: 1490
diff changeset
510 --without-mail_pop3_module disable ngx_mail_pop3_module
d23d9b5969e7 document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents: 1490
diff changeset
511 --without-mail_imap_module disable ngx_mail_imap_module
d23d9b5969e7 document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents: 1490
diff changeset
512 --without-mail_smtp_module disable ngx_mail_smtp_module
529
e5d7d0334fdb nginx-0.1.39-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 509
diff changeset
513
6436
8f038068f4bc Stream: UDP proxy.
Roman Arutyunyan <arut@nginx.com>
parents: 6419
diff changeset
514 --with-stream enable TCP/UDP proxy module
8f038068f4bc Stream: UDP proxy.
Roman Arutyunyan <arut@nginx.com>
parents: 6419
diff changeset
515 --with-stream=dynamic enable dynamic TCP/UDP proxy module
6115
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
516 --with-stream_ssl_module enable ngx_stream_ssl_module
6684
9cac11efb205 Stream: realip module.
Dmitry Volyntsev <xeioex@nginx.com>
parents: 6632
diff changeset
517 --with-stream_realip_module enable ngx_stream_realip_module
6630
558db057adaa Stream: geoip module.
Vladimir Homutov <vl@nginx.com>
parents: 6612
diff changeset
518 --with-stream_geoip_module enable ngx_stream_geoip_module
558db057adaa Stream: geoip module.
Vladimir Homutov <vl@nginx.com>
parents: 6612
diff changeset
519 --with-stream_geoip_module=dynamic enable dynamic ngx_stream_geoip_module
6695
060d71292b69 Stream: ssl_preread module.
Vladimir Homutov <vl@nginx.com>
parents: 6684
diff changeset
520 --with-stream_ssl_preread_module enable ngx_stream_ssl_preread_module
6197
0dcef374b8bb Stream: connection limiting module.
Vladimir Homutov <vl@nginx.com>
parents: 6176
diff changeset
521 --without-stream_limit_conn_module disable ngx_stream_limit_conn_module
6175
8807a2369b1a Stream: access module.
Vladimir Homutov <vl@nginx.com>
parents: 6143
diff changeset
522 --without-stream_access_module disable ngx_stream_access_module
6631
80875b75d27e Stream: geo module.
Vladimir Homutov <vl@nginx.com>
parents: 6630
diff changeset
523 --without-stream_geo_module disable ngx_stream_geo_module
6609
73543af69f14 Stream: map module.
Vladimir Homutov <vl@nginx.com>
parents: 6603
diff changeset
524 --without-stream_map_module disable ngx_stream_map_module
6632
787dcc15b802 Stream: split_clients module.
Vladimir Homutov <vl@nginx.com>
parents: 6631
diff changeset
525 --without-stream_split_clients_module
787dcc15b802 Stream: split_clients module.
Vladimir Homutov <vl@nginx.com>
parents: 6631
diff changeset
526 disable ngx_stream_split_clients_module
6612
4c4ac9e335c4 Stream: return module.
Roman Arutyunyan <arut@nginx.com>
parents: 6609
diff changeset
527 --without-stream_return_module disable ngx_stream_return_module
6115
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
528 --without-stream_upstream_hash_module
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
529 disable ngx_stream_upstream_hash_module
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
530 --without-stream_upstream_least_conn_module
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
531 disable ngx_stream_upstream_least_conn_module
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
532 --without-stream_upstream_zone_module
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
533 disable ngx_stream_upstream_zone_module
61d7ae76647d Stream: port from NGINX+.
Ruslan Ermilov <ru@nginx.com>
parents: 6103
diff changeset
534
1949
e5ce4e2de846 ngx_google_perftools_module
Igor Sysoev <igor@sysoev.ru>
parents: 1790
diff changeset
535 --with-google_perftools_module enable ngx_google_perftools_module
2157
69ef10ad7011 ngx_cpp_test_module
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
536 --with-cpp_test_module enable ngx_cpp_test_module
1949
e5ce4e2de846 ngx_google_perftools_module
Igor Sysoev <igor@sysoev.ru>
parents: 1790
diff changeset
537
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
538 --add-module=PATH enable external module
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
539 --add-dynamic-module=PATH enable dynamic external module
1188
3edb63d62682 add options help
Igor Sysoev <igor@sysoev.ru>
parents: 1172
diff changeset
540
6716
57c8e12c460c Modules compatibility: --with-compat configure option.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6695
diff changeset
541 --with-compat dynamic modules compatibility
57c8e12c460c Modules compatibility: --with-compat configure option.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6695
diff changeset
542
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
543 --with-cc=PATH set C compiler pathname
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
544 --with-cpp=PATH set C preprocessor pathname
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
545 --with-cc-opt=OPTIONS set additional C compiler options
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
546 --with-ld-opt=OPTIONS set additional linker options
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
547 --with-cpu-opt=CPU build for the specified CPU, valid values:
613
c73c5c58c619 nginx-0.3.28-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 611
diff changeset
548 pentium, pentiumpro, pentium3, pentium4,
c73c5c58c619 nginx-0.3.28-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 611
diff changeset
549 athlon, opteron, sparc32, sparc64, ppc64
238
674f85a4d00f nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents: 216
diff changeset
550
2581
b03e87048796 grammar fix
Igor Sysoev <igor@sysoev.ru>
parents: 2512
diff changeset
551 --without-pcre disable PCRE library usage
2582
2068bdecc876 --with-pcre
Igor Sysoev <igor@sysoev.ru>
parents: 2581
diff changeset
552 --with-pcre force PCRE library usage
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
553 --with-pcre=DIR set path to PCRE library sources
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
554 --with-pcre-opt=OPTIONS set additional build options for PCRE
4388
005fc2d5e84f Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents: 4280
diff changeset
555 --with-pcre-jit build PCRE with JIT compilation support
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
556
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
557 --with-zlib=DIR set path to zlib library sources
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
558 --with-zlib-opt=OPTIONS set additional build options for zlib
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
559 --with-zlib-asm=CPU use zlib assembler sources optimized
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
560 for the specified CPU, valid values:
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
561 pentium, pentiumpro
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
562
3363
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
563 --with-libatomic force libatomic_ops library usage
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
564 --with-libatomic=DIR set path to libatomic_ops library sources
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
565
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
566 --with-openssl=DIR set path to OpenSSL library sources
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
567 --with-openssl-opt=OPTIONS set additional build options for OpenSSL
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
568
4230
bd4abbf41e49 Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents: 4127
diff changeset
569 --with-debug enable debug logging
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
570
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
571 END
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
572
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
573 exit 1
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
574 fi
323
ba876b26b76d nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents: 315
diff changeset
575
ba876b26b76d nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents: 315
diff changeset
576
424
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
577 if [ $HTTP = NO ]; then
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
578 HTTP_CHARSET=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
579 HTTP_GZIP=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
580 HTTP_SSI=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
581 HTTP_USERID=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
582 HTTP_ACCESS=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
583 HTTP_STATUS=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
584 HTTP_REWRITE=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
585 HTTP_PROXY=NO
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
586 HTTP_FASTCGI=NO
424
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
587 fi
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
588
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
589
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
590 if [ ".$NGX_PLATFORM" = ".win32" ]; then
461
a88a3e4e158f nginx-0.1.5-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 457
diff changeset
591 NGX_WINE=$WINE
323
ba876b26b76d nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents: 315
diff changeset
592 fi
337
4feff829a849 nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents: 323
diff changeset
593
4feff829a849 nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents: 323
diff changeset
594
6176
c983c8dea44c Configure: moved NGX_SBIN_PATH variable initialization.
Ruslan Ermilov <ru@nginx.com>
parents: 6175
diff changeset
595 NGX_SBIN_PATH=${NGX_SBIN_PATH:-sbin/nginx}
6383
85dea406e18f Dynamic modules.
Maxim Dounin <mdounin@mdounin.ru>
parents: 6317
diff changeset
596 NGX_MODULES_PATH=${NGX_MODULES_PATH:-modules}
2758
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
597 NGX_CONF_PATH=${NGX_CONF_PATH:-conf/nginx.conf}
1394
00ba627f7919 axe --sysconfdir=PATH
Igor Sysoev <igor@sysoev.ru>
parents: 1352
diff changeset
598 NGX_CONF_PREFIX=`dirname $NGX_CONF_PATH`
2758
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
599 NGX_PID_PATH=${NGX_PID_PATH:-logs/nginx.pid}
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
600 NGX_LOCK_PATH=${NGX_LOCK_PATH:-logs/nginx.lock}
440
f390d1775430 nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents: 424
diff changeset
601
2758
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
602 if [ ".$NGX_ERROR_LOG_PATH" = ".stderr" ]; then
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
603 NGX_ERROR_LOG_PATH=
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
604 else
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
605 NGX_ERROR_LOG_PATH=${NGX_ERROR_LOG_PATH:-logs/error.log}
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
606 fi
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
607
2758
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
608 NGX_HTTP_LOG_PATH=${NGX_HTTP_LOG_PATH:-logs/access.log}
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
609 NGX_HTTP_CLIENT_TEMP_PATH=${NGX_HTTP_CLIENT_TEMP_PATH:-client_body_temp}
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
610 NGX_HTTP_PROXY_TEMP_PATH=${NGX_HTTP_PROXY_TEMP_PATH:-proxy_temp}
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
611 NGX_HTTP_FASTCGI_TEMP_PATH=${NGX_HTTP_FASTCGI_TEMP_PATH:-fastcgi_temp}
3549
0b3613117ac5 ./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents: 3541
diff changeset
612 NGX_HTTP_UWSGI_TEMP_PATH=${NGX_HTTP_UWSGI_TEMP_PATH:-uwsgi_temp}
3637
d656caa72ec9 ngx_http_scgi_module
Igor Sysoev <igor@sysoev.ru>
parents: 3549
diff changeset
613 NGX_HTTP_SCGI_TEMP_PATH=${NGX_HTTP_SCGI_TEMP_PATH:-scgi_temp}
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
614
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
615 case ".$NGX_PERL_MODULES" in
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
616 ./*)
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
617 ;;
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
618
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
619 .)
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
620 ;;
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
621
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
622 *)
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
623 NGX_PERL_MODULES=$NGX_PREFIX/$NGX_PERL_MODULES
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
624 ;;
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
625 esac