annotate auto/options @ 4115:70a45a504905

Workaround for cpu hog on errors with cached connections. Just doing another connect isn't safe as peer.get() may expect peer.tries to be strictly positive (this is the case e.g. with round robin with multiple upstream servers). Increment peer.tries to at least avoid cpu hog in round robin balancer (with the patch alert will be seen instead). This is not enough to fully address the problem though, hence TODO. We should be able to inform balancer that the error wasn't considered fatal and it may make sense to retry the same peer.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 15 Sep 2011 18:12:58 +0000
parents 6492c79e943a
children b2e21a39307c cdb2e95bd3d0
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
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
3
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
4
210
00cafae0bdf1 nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents: 195
diff changeset
5 help=no
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
6
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
7 NGX_PREFIX=
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
8 NGX_SBIN_PATH=
1352
e958b3cab51a --sysconfdir=DIR
Igor Sysoev <igor@sysoev.ru>
parents: 1188
diff changeset
9 NGX_CONF_PREFIX=
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
10 NGX_CONF_PATH=
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
11 NGX_ERROR_LOG_PATH=
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
12 NGX_PID_PATH=
611
3f8a2132b93d nginx-0.3.27-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 599
diff changeset
13 NGX_LOCK_PATH=
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
14 NGX_USER=
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
15 NGX_GROUP=
337
4feff829a849 nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents: 323
diff changeset
16
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
17 CC=${CC:-gcc}
286
fc8dc489247e nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 285
diff changeset
18 CPP=
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
19 NGX_OBJS=objs
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
20
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
21 NGX_DEBUG=NO
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
22 NGX_CC_OPT=
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
23 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
24 CPU=NO
283
8f65fee68270 nginx-0.0.2-2004-03-10-20:55:19 import
Igor Sysoev <igor@sysoev.ru>
parents: 266
diff changeset
25
1490
111c571f431c add rpath for Solaris
Igor Sysoev <igor@sysoev.ru>
parents: 1487
diff changeset
26 NGX_RPATH=NO
111c571f431c add rpath for Solaris
Igor Sysoev <igor@sysoev.ru>
parents: 1487
diff changeset
27
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
28 NGX_TEST_BUILD_DEVPOLL=NO
719
f30b1a75fd3b Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents: 700
diff changeset
29 NGX_TEST_BUILD_EVENTPORT=NO
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
30 NGX_TEST_BUILD_EPOLL=NO
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
31 NGX_TEST_BUILD_RTSIG=NO
473
8e8f3af115b5 nginx-0.1.11-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 469
diff changeset
32 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
33
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
34 NGX_PLATFORM=
461
a88a3e4e158f nginx-0.1.5-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 457
diff changeset
35 NGX_WINE=
a88a3e4e158f nginx-0.1.5-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 457
diff changeset
36
248
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
37 EVENT_FOUND=NO
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
38
260
5dacbb4daaf6 nginx-0.0.2-2004-02-17-20:53:12 import
Igor Sysoev <igor@sysoev.ru>
parents: 255
diff changeset
39 EVENT_RTSIG=NO
248
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
40 EVENT_SELECT=NO
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
41 EVENT_POLL=NO
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
42 EVENT_AIO=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 NGX_IPV6=NO
2e91aecb9e57 a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents: 2294
diff changeset
48
415
3c56e834be46 nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents: 409
diff changeset
49 HTTP=YES
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
50
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
51 NGX_HTTP_LOG_PATH=
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
52 NGX_HTTP_CLIENT_TEMP_PATH=
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
53 NGX_HTTP_PROXY_TEMP_PATH=
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
54 NGX_HTTP_FASTCGI_TEMP_PATH=
3549
0b3613117ac5 ./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents: 3541
diff changeset
55 NGX_HTTP_UWSGI_TEMP_PATH=
3637
d656caa72ec9 ngx_http_scgi_module
Igor Sysoev <igor@sysoev.ru>
parents: 3549
diff changeset
56 NGX_HTTP_SCGI_TEMP_PATH=
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
57
2592
3a8a53c0c42f a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents: 2582
diff changeset
58 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
59 HTTP_CHARSET=YES
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
60 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
61 HTTP_SSL=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
408
d6e2b445c1b8 nginx-0.0.10-2004-08-27-19:40:59 import
Igor Sysoev <igor@sysoev.ru>
parents: 399
diff changeset
72 HTTP_USERID=YES
457
ded1284520cc nginx-0.1.3-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 455
diff changeset
73 HTTP_AUTOINDEX=YES
2235
03180d4e5af2 ngx_http_random_index_module
Igor Sysoev <igor@sysoev.ru>
parents: 2172
diff changeset
74 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
75 HTTP_STATUS=NO
485
4ebe09b07e30 nginx-0.1.17-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 479
diff changeset
76 HTTP_GEO=YES
2985
31af2d1a742e ngx_http_geoip_module
Igor Sysoev <igor@sysoev.ru>
parents: 2872
diff changeset
77 HTTP_GEOIP=NO
589
d4e858a5751a nginx-0.3.16-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 581
diff changeset
78 HTTP_MAP=YES
3513
e60e00b4fe0c ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents: 3363
diff changeset
79 HTTP_SPLIT_CLIENTS=YES
577
4d9ea73a627a nginx-0.3.10-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 573
diff changeset
80 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
81 HTTP_REWRITE=YES
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
82 HTTP_PROXY=YES
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
83 HTTP_FASTCGI=YES
3541
21452748d165 import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents: 3513
diff changeset
84 HTTP_UWSGI=YES
3637
d656caa72ec9 ngx_http_scgi_module
Igor Sysoev <igor@sysoev.ru>
parents: 3549
diff changeset
85 HTTP_SCGI=YES
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
86 HTTP_PERL=NO
581
326634fb9d47 nginx-0.3.12-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 577
diff changeset
87 HTTP_MEMCACHED=YES
980
7cb910b4a58a ngx_http_limit_zone_module
Igor Sysoev <igor@sysoev.ru>
parents: 884
diff changeset
88 HTTP_LIMIT_ZONE=YES
2294
ce574b0ffeec ngx_http_limit_req_module
Igor Sysoev <igor@sysoev.ru>
parents: 2260
diff changeset
89 HTTP_LIMIT_REQ=YES
577
4d9ea73a627a nginx-0.3.10-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 573
diff changeset
90 HTTP_EMPTY_GIF=YES
700
c1104f701926 ngx_http_browser_module
Igor Sysoev <igor@sysoev.ru>
parents: 653
diff changeset
91 HTTP_BROWSER=YES
2260
4f1616b32744 ngx_http_secure_link_module
Igor Sysoev <igor@sysoev.ru>
parents: 2235
diff changeset
92 HTTP_SECURE_LINK=NO
3326
e6967a1dc8e9 ngx_http_degradation_module
Igor Sysoev <igor@sysoev.ru>
parents: 3052
diff changeset
93 HTTP_DEGRADATION=NO
753
af72ac9c3dbf ngx_http_flv_module
Igor Sysoev <igor@sysoev.ru>
parents: 722
diff changeset
94 HTTP_FLV=NO
4085
6492c79e943a ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 3637
diff changeset
95 HTTP_MP4=NO
1790
775edc46ee66 ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents: 1498
diff changeset
96 HTTP_GZIP_STATIC=NO
884
4d68c486fcb0 upstream choice modules
Igor Sysoev <igor@sysoev.ru>
parents: 753
diff changeset
97 HTTP_UPSTREAM_IP_HASH=YES
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
98
487
31ff3e943e16 nginx-0.1.18-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 485
diff changeset
99 # STUB
31ff3e943e16 nginx-0.1.18-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 485
diff changeset
100 HTTP_STUB_STATUS=NO
31ff3e943e16 nginx-0.1.18-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 485
diff changeset
101
1136
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
102 MAIL=NO
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
103 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
104 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
105 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
106 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
107
489
45a460f82aec nginx-0.1.19-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 487
diff changeset
108 NGX_ADDONS=
467
bbd6b0b4a2b1 nginx-0.1.8-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 461
diff changeset
109
255
e6938ca7331a nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents: 253
diff changeset
110 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
111 PCRE=NONE
286
fc8dc489247e nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 285
diff changeset
112 PCRE_OPT=
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
113
399
4e21d1291a14 nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents: 383
diff changeset
114 USE_OPENSSL=NO
4e21d1291a14 nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents: 383
diff changeset
115 OPENSSL=NONE
4e21d1291a14 nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents: 383
diff changeset
116
248
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
117 USE_MD5=NO
253
b6793bc5034b nginx-0.0.2-2004-02-09-10:46:43 import
Igor Sysoev <igor@sysoev.ru>
parents: 248
diff changeset
118 MD5=NONE
286
fc8dc489247e nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 285
diff changeset
119 MD5_OPT=
284
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
120 MD5_ASM=NO
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
121
653
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
122 USE_SHA1=NO
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
123 SHA1=NONE
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
124 SHA1_OPT=
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
125 SHA1_ASM=NO
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
126
248
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
127 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
128 ZLIB=NONE
286
fc8dc489247e nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 285
diff changeset
129 ZLIB_OPT=
284
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
130 ZLIB_ASM=NO
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
131
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
132 USE_PERL=NO
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
133 NGX_PERL=perl
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
134
2139
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1979
diff changeset
135 USE_LIBXSLT=NO
2788
a16ec9e1b4d1 ngx_http_image_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 2758
diff changeset
136 USE_LIBGD=NO
2139
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1979
diff changeset
137
1949
e5ce4e2de846 ngx_google_perftools_module
Igor Sysoev <igor@sysoev.ru>
parents: 1790
diff changeset
138 NGX_GOOGLE_PERFTOOLS=NO
2157
69ef10ad7011 ngx_cpp_test_module
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
139 NGX_CPP_TEST=NO
1949
e5ce4e2de846 ngx_google_perftools_module
Igor Sysoev <igor@sysoev.ru>
parents: 1790
diff changeset
140
3363
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
141 NGX_LIBATOMIC=NO
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
142
589
d4e858a5751a nginx-0.3.16-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 581
diff changeset
143 NGX_CPU_CACHE_LINE=
d4e858a5751a nginx-0.3.16-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 581
diff changeset
144
2755
a65976a205a5 add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents: 2592
diff changeset
145 opt=
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
146
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
147 for option
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
148 do
2872
01b999a7adc2 style fix
Igor Sysoev <igor@sysoev.ru>
parents: 2793
diff changeset
149 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
150
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
151 case "$option" in
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
152 -*=*) 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
153 *) value="" ;;
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
154 esac
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
155
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
156 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
157 --help) help=yes ;;
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
158
2758
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
159 --prefix=) NGX_PREFIX="!" ;;
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
160 --prefix=*) NGX_PREFIX="$value" ;;
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
161 --sbin-path=*) NGX_SBIN_PATH="$value" ;;
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
162 --conf-path=*) NGX_CONF_PATH="$value" ;;
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
163 --error-log-path=*) NGX_ERROR_LOG_PATH="$value";;
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
164 --pid-path=*) NGX_PID_PATH="$value" ;;
611
3f8a2132b93d nginx-0.3.27-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 599
diff changeset
165 --lock-path=*) NGX_LOCK_PATH="$value" ;;
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
166 --user=*) NGX_USER="$value" ;;
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
167 --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
168
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
169 --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
170
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
171 --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
172
260
5dacbb4daaf6 nginx-0.0.2-2004-02-17-20:53:12 import
Igor Sysoev <igor@sysoev.ru>
parents: 255
diff changeset
173 --with-rtsig_module) EVENT_RTSIG=YES ;;
248
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
174 --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
175 --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
176 --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
177 --without-poll_module) EVENT_POLL=NONE ;;
248
e885208c518b nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents: 246
diff changeset
178 --with-aio_module) EVENT_AIO=YES ;;
238
674f85a4d00f nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents: 216
diff changeset
179
1979
278a1d3b4dbf disable confusing messages about threads
Igor Sysoev <igor@sysoev.ru>
parents: 1949
diff changeset
180 #--with-threads=*) USE_THREADS="$value" ;;
278a1d3b4dbf disable confusing messages about threads
Igor Sysoev <igor@sysoev.ru>
parents: 1949
diff changeset
181 #--with-threads) USE_THREADS="pthreads" ;;
266
5238e93961a1 nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents: 264
diff changeset
182
3052
6060225e9261 FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents: 2991
diff changeset
183 --with-file-aio) NGX_FILE_AIO=YES ;;
2512
2e91aecb9e57 a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents: 2294
diff changeset
184 --with-ipv6) NGX_IPV6=YES ;;
2e91aecb9e57 a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents: 2294
diff changeset
185
415
3c56e834be46 nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents: 409
diff changeset
186 --without-http) HTTP=NO ;;
2592
3a8a53c0c42f a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents: 2582
diff changeset
187 --without-http-cache) HTTP_CACHE=NO ;;
3a8a53c0c42f a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents: 2582
diff changeset
188
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
189 --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
190 --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
191 --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
192 --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
193 --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
194 --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
195
383
c05876036128 nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents: 368
diff changeset
196 --with-http_ssl_module) HTTP_SSL=YES ;;
573
58475592100c nginx-0.3.8-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 539
diff changeset
197 --with-http_realip_module) HTTP_REALIP=YES ;;
629
65bf042c0b4f nginx-0.3.36-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 613
diff changeset
198 --with-http_addition_module) HTTP_ADDITION=YES ;;
2139
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1979
diff changeset
199 --with-http_xslt_module) HTTP_XSLT=YES ;;
2788
a16ec9e1b4d1 ngx_http_image_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 2758
diff changeset
200 --with-http_image_filter_module) HTTP_IMAGE_FILTER=YES ;;
2985
31af2d1a742e ngx_http_geoip_module
Igor Sysoev <igor@sysoev.ru>
parents: 2872
diff changeset
201 --with-http_geoip_module) HTTP_GEOIP=YES ;;
1172
383ae25c3171 ngx_http_sub_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1136
diff changeset
202 --with-http_sub_module) HTTP_SUB=YES ;;
633
f971949ffb58 nginx-0.3.38-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 629
diff changeset
203 --with-http_dav_module) HTTP_DAV=YES ;;
753
af72ac9c3dbf ngx_http_flv_module
Igor Sysoev <igor@sysoev.ru>
parents: 722
diff changeset
204 --with-http_flv_module) HTTP_FLV=YES ;;
4085
6492c79e943a ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 3637
diff changeset
205 --with-http_mp4_module) HTTP_MP4=YES ;;
1790
775edc46ee66 ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents: 1498
diff changeset
206 --with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;;
2235
03180d4e5af2 ngx_http_random_index_module
Igor Sysoev <igor@sysoev.ru>
parents: 2172
diff changeset
207 --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
208 --with-http_secure_link_module) HTTP_SECURE_LINK=YES ;;
3326
e6967a1dc8e9 ngx_http_degradation_module
Igor Sysoev <igor@sysoev.ru>
parents: 3052
diff changeset
209 --with-http_degradation_module) HTTP_DEGRADATION=YES ;;
633
f971949ffb58 nginx-0.3.38-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 629
diff changeset
210
364
7c54d93f5965 nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents: 337
diff changeset
211 --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
212 --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
213 --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
214 --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
215 --without-http_access_module) HTTP_ACCESS=NO ;;
503
b1648294f693 nginx-0.1.26-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 501
diff changeset
216 --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
217 --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
218 --without-http_status_module) HTTP_STATUS=NO ;;
485
4ebe09b07e30 nginx-0.1.17-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 479
diff changeset
219 --without-http_geo_module) HTTP_GEO=NO ;;
589
d4e858a5751a nginx-0.3.16-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 581
diff changeset
220 --without-http_map_module) HTTP_MAP=NO ;;
3513
e60e00b4fe0c ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents: 3363
diff changeset
221 --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
222 --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
223 --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
224 --without-http_proxy_module) HTTP_PROXY=NO ;;
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
225 --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
226 --without-http_uwsgi_module) HTTP_UWSGI=NO ;;
3637
d656caa72ec9 ngx_http_scgi_module
Igor Sysoev <igor@sysoev.ru>
parents: 3549
diff changeset
227 --without-http_scgi_module) HTTP_SCGI=NO ;;
581
326634fb9d47 nginx-0.3.12-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 577
diff changeset
228 --without-http_memcached_module) HTTP_MEMCACHED=NO ;;
980
7cb910b4a58a ngx_http_limit_zone_module
Igor Sysoev <igor@sysoev.ru>
parents: 884
diff changeset
229 --without-http_limit_zone_module) HTTP_LIMIT_ZONE=NO ;;
2294
ce574b0ffeec ngx_http_limit_req_module
Igor Sysoev <igor@sysoev.ru>
parents: 2260
diff changeset
230 --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
231 --without-http_empty_gif_module) HTTP_EMPTY_GIF=NO ;;
700
c1104f701926 ngx_http_browser_module
Igor Sysoev <igor@sysoev.ru>
parents: 653
diff changeset
232 --without-http_browser_module) HTTP_BROWSER=NO ;;
884
4d68c486fcb0 upstream choice modules
Igor Sysoev <igor@sysoev.ru>
parents: 753
diff changeset
233 --without-http_upstream_ip_hash_module) HTTP_UPSTREAM_IP_HASH=NO ;;
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
234
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
235 --with-http_perl_module) HTTP_PERL=YES ;;
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
236 --with-perl_modules_path=*) NGX_PERL_MODULES="$value" ;;
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
237 --with-perl=*) NGX_PERL="$value" ;;
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
238
487
31ff3e943e16 nginx-0.1.18-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 485
diff changeset
239 # STUB
31ff3e943e16 nginx-0.1.18-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 485
diff changeset
240 --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
241
1136
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
242 --with-mail) MAIL=YES ;;
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
243 --with-mail_ssl_module) MAIL_SSL=YES ;;
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
244 # STUB
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
245 --with-imap) MAIL=YES ;;
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
246 --with-imap_ssl_module) MAIL_SSL=YES ;;
1487
f69493e8faab ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents: 1394
diff changeset
247 --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
248 --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
249 --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
250
1949
e5ce4e2de846 ngx_google_perftools_module
Igor Sysoev <igor@sysoev.ru>
parents: 1790
diff changeset
251 --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
252 --with-cpp_test_module) NGX_CPP_TEST=YES ;;
1949
e5ce4e2de846 ngx_google_perftools_module
Igor Sysoev <igor@sysoev.ru>
parents: 1790
diff changeset
253
489
45a460f82aec nginx-0.1.19-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 487
diff changeset
254 --add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;;
467
bbd6b0b4a2b1 nginx-0.1.8-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 461
diff changeset
255
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
256 --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
257 --with-cpp=*) CPP="$value" ;;
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
258 --with-cc-opt=*) NGX_CC_OPT="$value" ;;
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
259 --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
260 --with-cpu-opt=*) CPU="$value" ;;
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
261 --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
262
264
cd009bf7400d nginx-0.0.2-2004-02-19-19:48:14 import
Igor Sysoev <igor@sysoev.ru>
parents: 263
diff changeset
263 --without-pcre) USE_PCRE=DISABLED ;;
2582
2068bdecc876 --with-pcre
Igor Sysoev <igor@sysoev.ru>
parents: 2581
diff changeset
264 --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
265 --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
266 --with-pcre-opt=*) PCRE_OPT="$value" ;;
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
267
399
4e21d1291a14 nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents: 383
diff changeset
268 --with-openssl=*) OPENSSL="$value" ;;
501
d4ea69372b94 nginx-0.1.25-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 497
diff changeset
269 --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
270
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
271 --with-md5=*) MD5="$value" ;;
284
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
272 --with-md5-opt=*) MD5_OPT="$value" ;;
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
273 --with-md5-asm) MD5_ASM=YES ;;
1fecc9478d92 nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents: 283
diff changeset
274
653
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
275 --with-sha1=*) SHA1="$value" ;;
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
276 --with-sha1-opt=*) SHA1_OPT="$value" ;;
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
277 --with-sha1-asm) SHA1_ASM=YES ;;
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
278
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
279 --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
280 --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
281 --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
282
3363
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
283 --with-libatomic) NGX_LIBATOMIC=YES ;;
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
284 --with-libatomic=*) NGX_LIBATOMIC="$value" ;;
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
285
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
286 --test-build-devpoll) NGX_TEST_BUILD_DEVPOLL=YES ;;
719
f30b1a75fd3b Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents: 700
diff changeset
287 --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
288 --test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;;
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
289 --test-build-rtsig) NGX_TEST_BUILD_RTSIG=YES ;;
473
8e8f3af115b5 nginx-0.1.11-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 469
diff changeset
290 --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
291
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
292 *)
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
293 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
294 exit 1
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
295 ;;
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
296 esac
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
297 done
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
298
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
299
2755
a65976a205a5 add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents: 2592
diff changeset
300 NGX_CONFIGURE="$opt"
a65976a205a5 add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents: 2592
diff changeset
301
a65976a205a5 add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents: 2592
diff changeset
302
210
00cafae0bdf1 nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents: 195
diff changeset
303 if [ $help = yes ]; then
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
304
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
305 cat << END
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
306
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
307 --help this message
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
308
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
309 --prefix=PATH set the installation prefix
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
310 --sbin-path=PATH set path to the nginx binary file
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
311 --conf-path=PATH set path to the nginx.conf file
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
312 --error-log-path=PATH set path to the error log
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
313 --pid-path=PATH set path to nginx.pid file
611
3f8a2132b93d nginx-0.3.27-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 599
diff changeset
314 --lock-path=PATH set path to nginx.lock file
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
315
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
316 --user=USER set non-privilege user
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
317 for the worker processes
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
318 --group=GROUP set non-privilege group
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
319 for the worker processes
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
320
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
321 --builddir=DIR set the build directory
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
322
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
323 --with-rtsig_module enable rtsig module
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
324 --with-select_module enable select module
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
325 --without-select_module disable select module
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
326 --with-poll_module enable poll module
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
327 --without-poll_module disable poll module
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
328
3052
6060225e9261 FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents: 2991
diff changeset
329 --with-file-aio enable file aio support
2512
2e91aecb9e57 a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents: 2294
diff changeset
330 --with-ipv6 enable ipv6 support
2e91aecb9e57 a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents: 2294
diff changeset
331
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
332 --with-http_ssl_module enable ngx_http_ssl_module
581
326634fb9d47 nginx-0.3.12-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 577
diff changeset
333 --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
334 --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
335 --with-http_xslt_module enable ngx_http_xslt_module
2793
411653b73d7c add --with-http_image_filter_module to ./configure --help
Igor Sysoev <igor@sysoev.ru>
parents: 2788
diff changeset
336 --with-http_image_filter_module enable ngx_http_image_filter_module
2991
6ae141e270ad fix help message
Igor Sysoev <igor@sysoev.ru>
parents: 2985
diff changeset
337 --with-http_geoip_module enable ngx_http_geoip_module
1172
383ae25c3171 ngx_http_sub_filter_module
Igor Sysoev <igor@sysoev.ru>
parents: 1136
diff changeset
338 --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
339 --with-http_dav_module enable ngx_http_dav_module
753
af72ac9c3dbf ngx_http_flv_module
Igor Sysoev <igor@sysoev.ru>
parents: 722
diff changeset
340 --with-http_flv_module enable ngx_http_flv_module
4085
6492c79e943a ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 3637
diff changeset
341 --with-http_mp4_module enable ngx_http_mp4_module
1790
775edc46ee66 ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents: 1498
diff changeset
342 --with-http_gzip_static_module enable ngx_http_gzip_static_module
2235
03180d4e5af2 ngx_http_random_index_module
Igor Sysoev <igor@sysoev.ru>
parents: 2172
diff changeset
343 --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
344 --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
345 --with-http_degradation_module enable ngx_http_degradation_module
1188
3edb63d62682 add options help
Igor Sysoev <igor@sysoev.ru>
parents: 1172
diff changeset
346 --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
347
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
348 --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
349 --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
350 --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
351 --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
352 --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
353 --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
354 --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
355 --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
356 --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
357 --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
358 --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
359 --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
360 --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
361 --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
362 --without-http_uwsgi_module disable ngx_http_uwsgi_module
3637
d656caa72ec9 ngx_http_scgi_module
Igor Sysoev <igor@sysoev.ru>
parents: 3549
diff changeset
363 --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
364 --without-http_memcached_module disable ngx_http_memcached_module
980
7cb910b4a58a ngx_http_limit_zone_module
Igor Sysoev <igor@sysoev.ru>
parents: 884
diff changeset
365 --without-http_limit_zone_module disable ngx_http_limit_zone_module
2294
ce574b0ffeec ngx_http_limit_req_module
Igor Sysoev <igor@sysoev.ru>
parents: 2260
diff changeset
366 --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
367 --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
368 --without-http_browser_module disable ngx_http_browser_module
884
4d68c486fcb0 upstream choice modules
Igor Sysoev <igor@sysoev.ru>
parents: 753
diff changeset
369 --without-http_upstream_ip_hash_module
4d68c486fcb0 upstream choice modules
Igor Sysoev <igor@sysoev.ru>
parents: 753
diff changeset
370 disable ngx_http_upstream_ip_hash_module
238
674f85a4d00f nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents: 216
diff changeset
371
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
372 --with-http_perl_module enable ngx_http_perl_module
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
373 --with-perl_modules_path=PATH set path to the perl modules
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
374 --with-perl=PATH set path to the perl binary
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
375
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
376 --http-log-path=PATH set path to the http access log
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
377 --http-client-body-temp-path=PATH set path to the http client request body
635
18268abd340c nginx-0.3.39-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 633
diff changeset
378 temporary files
18268abd340c nginx-0.3.39-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 633
diff changeset
379 --http-proxy-temp-path=PATH set path to the http proxy temporary files
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
380 --http-fastcgi-temp-path=PATH set path to the http fastcgi temporary
635
18268abd340c nginx-0.3.39-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 633
diff changeset
381 files
3549
0b3613117ac5 ./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents: 3541
diff changeset
382 --http-uwsgi-temp-path=PATH set path to the http uwsgi temporary files
3637
d656caa72ec9 ngx_http_scgi_module
Igor Sysoev <igor@sysoev.ru>
parents: 3549
diff changeset
383 --http-scgi-temp-path=PATH set path to the http scgi temporary files
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
384
529
e5d7d0334fdb nginx-0.1.39-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 509
diff changeset
385 --without-http disable HTTP server
2592
3a8a53c0c42f a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents: 2582
diff changeset
386 --without-http-cache disable HTTP cache
529
e5d7d0334fdb nginx-0.1.39-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 509
diff changeset
387
1498
d23d9b5969e7 document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents: 1490
diff changeset
388 --with-mail enable POP3/IMAP4/SMTP proxy module
1136
68f30ab68bb7 Many changes:
Igor Sysoev <igor@sysoev.ru>
parents: 980
diff changeset
389 --with-mail_ssl_module enable ngx_mail_ssl_module
1498
d23d9b5969e7 document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents: 1490
diff changeset
390 --without-mail_pop3_module disable ngx_mail_pop3_module
d23d9b5969e7 document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents: 1490
diff changeset
391 --without-mail_imap_module disable ngx_mail_imap_module
d23d9b5969e7 document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents: 1490
diff changeset
392 --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
393
1949
e5ce4e2de846 ngx_google_perftools_module
Igor Sysoev <igor@sysoev.ru>
parents: 1790
diff changeset
394 --with-google_perftools_module enable ngx_google_perftools_module
2157
69ef10ad7011 ngx_cpp_test_module
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
395 --with-cpp_test_module enable ngx_cpp_test_module
1949
e5ce4e2de846 ngx_google_perftools_module
Igor Sysoev <igor@sysoev.ru>
parents: 1790
diff changeset
396
1188
3edb63d62682 add options help
Igor Sysoev <igor@sysoev.ru>
parents: 1172
diff changeset
397 --add-module=PATH enable an external module
3edb63d62682 add options help
Igor Sysoev <igor@sysoev.ru>
parents: 1172
diff changeset
398
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
399 --with-cc=PATH set path to C compiler
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
400 --with-cpp=PATH set path to C preprocessor
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
401 --with-cc-opt=OPTIONS set additional options for C compiler
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
402 --with-ld-opt=OPTIONS set additional options for linker
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
403 --with-cpu-opt=CPU build for specified CPU, the valid values:
613
c73c5c58c619 nginx-0.3.28-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 611
diff changeset
404 pentium, pentiumpro, pentium3, pentium4,
c73c5c58c619 nginx-0.3.28-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 611
diff changeset
405 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
406
2581
b03e87048796 grammar fix
Igor Sysoev <igor@sysoev.ru>
parents: 2512
diff changeset
407 --without-pcre disable PCRE library usage
2582
2068bdecc876 --with-pcre
Igor Sysoev <igor@sysoev.ru>
parents: 2581
diff changeset
408 --with-pcre force PCRE library usage
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
409 --with-pcre=DIR set path to PCRE library sources
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
410 --with-pcre-opt=OPTIONS set additional options for PCRE building
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
411
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
412 --with-md5=DIR set path to md5 library sources
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
413 --with-md5-opt=OPTIONS set additional options for md5 building
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
414 --with-md5-asm use md5 assembler sources
238
674f85a4d00f nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents: 216
diff changeset
415
653
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
416 --with-sha1=DIR set path to sha1 library sources
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
417 --with-sha1-opt=OPTIONS set additional options for sha1 building
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
418 --with-sha1-asm use sha1 assembler sources
7cbef16c71a1 nginx-0.3.48-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 635
diff changeset
419
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
420 --with-zlib=DIR set path to zlib library sources
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
421 --with-zlib-opt=OPTIONS set additional options for zlib building
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
422 --with-zlib-asm=CPU use zlib assembler sources optimized
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
423 for specified CPU, the valid values:
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
424 pentium, pentiumpro
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
425
3363
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
426 --with-libatomic force libatomic_ops library usage
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
427 --with-libatomic=DIR set path to libatomic_ops library sources
b4aa418af6ef libatomic_ops support
Igor Sysoev <igor@sysoev.ru>
parents: 3326
diff changeset
428
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
429 --with-openssl=DIR set path to OpenSSL library sources
501
d4ea69372b94 nginx-0.1.25-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 497
diff changeset
430 --with-openssl-opt=OPTIONS set additional options for OpenSSL building
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
431
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
432 --with-debug enable the debugging logging
455
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
433
295d97d70c69 nginx-0.1.2-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 444
diff changeset
434 END
195
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
435
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
436 exit 1
8dee38ea9117 nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
437 fi
323
ba876b26b76d nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents: 315
diff changeset
438
ba876b26b76d nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents: 315
diff changeset
439
424
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
440 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
441 HTTP_CHARSET=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
442 HTTP_GZIP=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
443 HTTP_SSI=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
444 HTTP_USERID=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
445 HTTP_ACCESS=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
446 HTTP_STATUS=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
447 HTTP_REWRITE=NO
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
448 HTTP_PROXY=NO
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
449 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
450 fi
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
451
84c527908237 nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents: 417
diff changeset
452
469
2ff194b74f1e nginx-0.1.9-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 467
diff changeset
453 if [ ".$NGX_PLATFORM" = ".win32" ]; then
461
a88a3e4e158f nginx-0.1.5-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 457
diff changeset
454 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
455 fi
337
4feff829a849 nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents: 323
diff changeset
456
4feff829a849 nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents: 323
diff changeset
457
2758
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
458 NGX_CONF_PATH=${NGX_CONF_PATH:-conf/nginx.conf}
1394
00ba627f7919 axe --sysconfdir=PATH
Igor Sysoev <igor@sysoev.ru>
parents: 1352
diff changeset
459 NGX_CONF_PREFIX=`dirname $NGX_CONF_PATH`
2758
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
460 NGX_PID_PATH=${NGX_PID_PATH:-logs/nginx.pid}
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
461 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
462
2758
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
463 if [ ".$NGX_ERROR_LOG_PATH" = ".stderr" ]; then
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
464 NGX_ERROR_LOG_PATH=
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
465 else
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
466 NGX_ERROR_LOG_PATH=${NGX_ERROR_LOG_PATH:-logs/error.log}
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
467 fi
479
c52408583801 nginx-0.1.14-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 477
diff changeset
468
2758
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
469 NGX_HTTP_LOG_PATH=${NGX_HTTP_LOG_PATH:-logs/access.log}
77264e0157ad -p and --prefix=
Igor Sysoev <igor@sysoev.ru>
parents: 2755
diff changeset
470 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
471 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
472 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
473 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
474 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
475
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
476 case ".$NGX_PERL_MODULES" in
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
477 ./*)
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
478 ;;
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
479
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
480 .)
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
481 ;;
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
482
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
483 *)
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
484 NGX_PERL_MODULES=$NGX_PREFIX/$NGX_PERL_MODULES
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
485 ;;
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 589
diff changeset
486 esac