Mercurial > hg > nginx
annotate auto/options @ 9278:f53146df9a47
Fixed Valgrind complaints about uninitialized values.
In ngx_http_source_charset(), name->data was left uninitialized, and
only name->len was set. Since it is used in debug logging, this resulted
in the following complaints from Valgrind on systems with musl libc:
==42== Conditional jump or move depends on uninitialised value(s)
==42== at 0x12BC66: memcpy (string.h:51)
==42== by 0x12BC66: ngx_sprintf_str (ngx_string.c:586)
==42== by 0x12C03C: ngx_vslprintf (ngx_string.c:255)
==42== by 0x127694: ngx_log_error_core (ngx_log.c:135)
==42== by 0x1B8795: ngx_http_charset_header_filter (ngx_http_charset_filter_module.c:252)
Similarly, ngx_http_split_args() returned uninitialized arg->data, which
was then copied to r->args, and also used in debug logging:
==42== Conditional jump or move depends on uninitialised value(s)
==42== at 0x12BC10: memcpy (string.h:50)
==42== by 0x12BC10: ngx_sprintf_str (ngx_string.c:586)
==42== by 0x12C03C: ngx_vslprintf (ngx_string.c:255)
==42== by 0x127694: ngx_log_error_core (ngx_log.c:135)
==42== by 0x184EFB: ngx_http_internal_redirect (ngx_http_core_module.c:2526)
==42== by 0x1D8CCC: ngx_http_try_files_handler (ngx_http_try_files_module.c:209)
Fix is to initialize data to NULL. Note that, while memcpy(p, NULL, 0)
is also formally undefined now, it is used in multiple places in the code,
and expected to be allowed in C2y (see WG14 proposals N3177, N3261,
"Allow zero length operations on null pointers").
Prodded by Valgrind.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 31 May 2024 04:38:09 +0300 |
parents | 113e2438dbd4 |
children |
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 | 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 | 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 | 8 NGX_PREFIX= |
9 NGX_SBIN_PATH= | |
6383 | 10 NGX_MODULES_PATH= |
1352 | 11 NGX_CONF_PREFIX= |
469 | 12 NGX_CONF_PATH= |
13 NGX_ERROR_LOG_PATH= | |
14 NGX_PID_PATH= | |
611 | 15 NGX_LOCK_PATH= |
455 | 16 NGX_USER= |
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 | 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 | 24 NGX_DEBUG=NO |
455 | 25 NGX_CC_OPT= |
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 | 29 NGX_RPATH=NO |
30 | |
469 | 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 | 33 NGX_TEST_BUILD_EPOLL=NO |
473 | 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 | 36 NGX_PLATFORM= |
461 | 37 NGX_WINE= |
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 |
8934 | 48 QUIC_BPF=NO |
8676
7df607cb2d11
QUIC: ngx_quic_bpf module.
Vladimir Homutov <vl@nginx.com>
parents:
8675
diff
changeset
|
49 |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
50 HTTP=YES |
479 | 51 |
52 NGX_HTTP_LOG_PATH= | |
53 NGX_HTTP_CLIENT_TEMP_PATH= | |
54 NGX_HTTP_PROXY_TEMP_PATH= | |
55 NGX_HTTP_FASTCGI_TEMP_PATH= | |
3549
0b3613117ac5
./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents:
3541
diff
changeset
|
56 NGX_HTTP_UWSGI_TEMP_PATH= |
3637 | 57 NGX_HTTP_SCGI_TEMP_PATH= |
479 | 58 |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
59 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
|
60 HTTP_CHARSET=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
61 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
|
62 HTTP_SSL=NO |
6246
257b51c37c5a
The HTTP/2 implementation (RFC 7240, 7241).
Valentin Bartenev <vbart@nginx.com>
parents:
6197
diff
changeset
|
63 HTTP_V2=NO |
8372
0e6528551f26
Configure: unbreak with old OpenSSL, --with-http_v3_module added.
Sergey Kandaurov <pluknet@nginx.com>
parents:
8215
diff
changeset
|
64 HTTP_V3=NO |
497 | 65 HTTP_SSI=YES |
573 | 66 HTTP_REALIP=NO |
2139 | 67 HTTP_XSLT=NO |
2788 | 68 HTTP_IMAGE_FILTER=NO |
1172 | 69 HTTP_SUB=NO |
629 | 70 HTTP_ADDITION=NO |
633 | 71 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
|
72 HTTP_ACCESS=YES |
503 | 73 HTTP_AUTH_BASIC=YES |
5329
00bdc9f08a16
Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5121
diff
changeset
|
74 HTTP_AUTH_REQUEST=NO |
7072 | 75 HTTP_MIRROR=YES |
408
d6e2b445c1b8
nginx-0.0.10-2004-08-27-19:40:59 import
Igor Sysoev <igor@sysoev.ru>
parents:
399
diff
changeset
|
76 HTTP_USERID=YES |
6317 | 77 HTTP_SLICE=NO |
457 | 78 HTTP_AUTOINDEX=YES |
2235 | 79 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
|
80 HTTP_STATUS=NO |
485 | 81 HTTP_GEO=YES |
2985 | 82 HTTP_GEOIP=NO |
589 | 83 HTTP_MAP=YES |
3513
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3363
diff
changeset
|
84 HTTP_SPLIT_CLIENTS=YES |
577 | 85 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
|
86 HTTP_REWRITE=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
87 HTTP_PROXY=YES |
479 | 88 HTTP_FASTCGI=YES |
3541
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
89 HTTP_UWSGI=YES |
3637 | 90 HTTP_SCGI=YES |
7233 | 91 HTTP_GRPC=YES |
599 | 92 HTTP_PERL=NO |
581 | 93 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
|
94 HTTP_LIMIT_CONN=YES |
2294 | 95 HTTP_LIMIT_REQ=YES |
577 | 96 HTTP_EMPTY_GIF=YES |
700 | 97 HTTP_BROWSER=YES |
2260 | 98 HTTP_SECURE_LINK=NO |
3326 | 99 HTTP_DEGRADATION=NO |
753 | 100 HTTP_FLV=NO |
4085 | 101 HTTP_MP4=NO |
4837 | 102 HTTP_GUNZIP=NO |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
103 HTTP_GZIP_STATIC=NO |
5717
efc84a5723b3
Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents:
5701
diff
changeset
|
104 HTTP_UPSTREAM_HASH=YES |
884 | 105 HTTP_UPSTREAM_IP_HASH=YES |
4654
a2ca3a6ee680
Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4412
diff
changeset
|
106 HTTP_UPSTREAM_LEAST_CONN=YES |
7301
f2396ecf608b
Upstream: ngx_http_upstream_random module.
Vladimir Homutov <vl@nginx.com>
parents:
7237
diff
changeset
|
107 HTTP_UPSTREAM_RANDOM=YES |
4127
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
108 HTTP_UPSTREAM_KEEPALIVE=YES |
6103
79ddb0bdb273
Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents:
6018
diff
changeset
|
109 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
|
110 |
487 | 111 # STUB |
112 HTTP_STUB_STATUS=NO | |
113 | |
1136 | 114 MAIL=NO |
115 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
|
116 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
|
117 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
|
118 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
|
119 |
6115 | 120 STREAM=NO |
121 STREAM_SSL=NO | |
6684
9cac11efb205
Stream: realip module.
Dmitry Volyntsev <xeioex@nginx.com>
parents:
6632
diff
changeset
|
122 STREAM_REALIP=NO |
6197
0dcef374b8bb
Stream: connection limiting module.
Vladimir Homutov <vl@nginx.com>
parents:
6176
diff
changeset
|
123 STREAM_LIMIT_CONN=YES |
6175 | 124 STREAM_ACCESS=YES |
6631 | 125 STREAM_GEO=YES |
6630 | 126 STREAM_GEOIP=NO |
6609 | 127 STREAM_MAP=YES |
6632
787dcc15b802
Stream: split_clients module.
Vladimir Homutov <vl@nginx.com>
parents:
6631
diff
changeset
|
128 STREAM_SPLIT_CLIENTS=YES |
6612 | 129 STREAM_RETURN=YES |
7713 | 130 STREAM_SET=YES |
6115 | 131 STREAM_UPSTREAM_HASH=YES |
132 STREAM_UPSTREAM_LEAST_CONN=YES | |
7301
f2396ecf608b
Upstream: ngx_http_upstream_random module.
Vladimir Homutov <vl@nginx.com>
parents:
7237
diff
changeset
|
133 STREAM_UPSTREAM_RANDOM=YES |
6115 | 134 STREAM_UPSTREAM_ZONE=YES |
6695
060d71292b69
Stream: ssl_preread module.
Vladimir Homutov <vl@nginx.com>
parents:
6684
diff
changeset
|
135 STREAM_SSL_PREREAD=NO |
6115 | 136 |
6383 | 137 DYNAMIC_MODULES= |
7743
4b1299b1856a
Configure: shared sources for addon modules.
Maxim Dounin <mdounin@mdounin.ru>
parents:
7742
diff
changeset
|
138 DYNAMIC_MODULES_SRCS= |
6383 | 139 |
489 | 140 NGX_ADDONS= |
7742
4a69fec53b2f
Configure: initialization of NGX_ADDON_SRCS.
Maxim Dounin <mdounin@mdounin.ru>
parents:
7713
diff
changeset
|
141 NGX_ADDON_SRCS= |
6383 | 142 NGX_ADDON_DEPS= |
143 DYNAMIC_ADDONS= | |
467 | 144 |
6716
57c8e12c460c
Modules compatibility: --with-compat configure option.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6695
diff
changeset
|
145 NGX_COMPAT=NO |
57c8e12c460c
Modules compatibility: --with-compat configure option.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6695
diff
changeset
|
146 |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
253
diff
changeset
|
147 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
|
148 PCRE=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
149 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
|
150 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
|
151 PCRE_JIT=NO |
7981 | 152 PCRE2=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
153 |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
154 USE_OPENSSL=NO |
8372
0e6528551f26
Configure: unbreak with old OpenSSL, --with-http_v3_module added.
Sergey Kandaurov <pluknet@nginx.com>
parents:
8215
diff
changeset
|
155 USE_OPENSSL_QUIC=NO |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
156 OPENSSL=NONE |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
157 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
158 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
|
159 ZLIB=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
160 ZLIB_OPT= |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
161 ZLIB_ASM=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
162 |
599 | 163 USE_PERL=NO |
164 NGX_PERL=perl | |
165 | |
2139 | 166 USE_LIBXSLT=NO |
2788 | 167 USE_LIBGD=NO |
6383 | 168 USE_GEOIP=NO |
2139 | 169 |
1949 | 170 NGX_GOOGLE_PERFTOOLS=NO |
2157 | 171 NGX_CPP_TEST=NO |
1949 | 172 |
8676
7df607cb2d11
QUIC: ngx_quic_bpf module.
Vladimir Homutov <vl@nginx.com>
parents:
8675
diff
changeset
|
173 SO_COOKIE_FOUND=NO |
8675
d3747ba486e7
Core: added interface to linux bpf() system call.
Vladimir Homutov <vl@nginx.com>
parents:
8647
diff
changeset
|
174 |
3363 | 175 NGX_LIBATOMIC=NO |
176 | |
589 | 177 NGX_CPU_CACHE_LINE= |
178 | |
4280
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
179 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
|
180 |
2755
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
181 opt= |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
182 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
183 for option |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
184 do |
2872 | 185 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
|
186 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
187 case "$option" in |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
188 -*=*) 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
|
189 *) value="" ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
190 esac |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
191 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
192 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
|
193 --help) help=yes ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
194 |
2758 | 195 --prefix=) NGX_PREFIX="!" ;; |
469 | 196 --prefix=*) NGX_PREFIX="$value" ;; |
197 --sbin-path=*) NGX_SBIN_PATH="$value" ;; | |
6383 | 198 --modules-path=*) NGX_MODULES_PATH="$value" ;; |
469 | 199 --conf-path=*) NGX_CONF_PATH="$value" ;; |
200 --error-log-path=*) NGX_ERROR_LOG_PATH="$value";; | |
201 --pid-path=*) NGX_PID_PATH="$value" ;; | |
611 | 202 --lock-path=*) NGX_LOCK_PATH="$value" ;; |
455 | 203 --user=*) NGX_USER="$value" ;; |
204 --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
|
205 |
469 | 206 --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
|
207 |
5701
1209b8a7b077
Configure: the --build= option.
Ruslan Ermilov <ru@nginx.com>
parents:
5329
diff
changeset
|
208 --build=*) NGX_BUILD="$value" ;; |
455 | 209 --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
|
210 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
211 --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
|
212 --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
|
213 --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
|
214 --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
|
215 |
6018
466bd63b63d1
Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents:
6017
diff
changeset
|
216 --with-threads) USE_THREADS=YES ;; |
466bd63b63d1
Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents:
6017
diff
changeset
|
217 |
3052
6060225e9261
FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents:
2991
diff
changeset
|
218 --with-file-aio) NGX_FILE_AIO=YES ;; |
6724
a6d116645c51
Configure: removed the --with-ipv6 option.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6716
diff
changeset
|
219 |
8934 | 220 --without-quic_bpf_module) QUIC_BPF=NONE ;; |
8676
7df607cb2d11
QUIC: ngx_quic_bpf module.
Vladimir Homutov <vl@nginx.com>
parents:
8675
diff
changeset
|
221 |
6724
a6d116645c51
Configure: removed the --with-ipv6 option.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6716
diff
changeset
|
222 --with-ipv6) |
a6d116645c51
Configure: removed the --with-ipv6 option.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6716
diff
changeset
|
223 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG |
a6d116645c51
Configure: removed the --with-ipv6 option.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6716
diff
changeset
|
224 $0: warning: the \"--with-ipv6\" option is deprecated" |
a6d116645c51
Configure: removed the --with-ipv6 option.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6716
diff
changeset
|
225 ;; |
2512
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
226 |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
227 --without-http) HTTP=NO ;; |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
228 --without-http-cache) HTTP_CACHE=NO ;; |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
229 |
469 | 230 --http-log-path=*) NGX_HTTP_LOG_PATH="$value" ;; |
479 | 231 --http-client-body-temp-path=*) NGX_HTTP_CLIENT_TEMP_PATH="$value" ;; |
232 --http-proxy-temp-path=*) NGX_HTTP_PROXY_TEMP_PATH="$value" ;; | |
233 --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
|
234 --http-uwsgi-temp-path=*) NGX_HTTP_UWSGI_TEMP_PATH="$value" ;; |
3637 | 235 --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
|
236 |
383
c05876036128
nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents:
368
diff
changeset
|
237 --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
|
238 --with-http_v2_module) HTTP_V2=YES ;; |
8372
0e6528551f26
Configure: unbreak with old OpenSSL, --with-http_v3_module added.
Sergey Kandaurov <pluknet@nginx.com>
parents:
8215
diff
changeset
|
239 --with-http_v3_module) HTTP_V3=YES ;; |
573 | 240 --with-http_realip_module) HTTP_REALIP=YES ;; |
629 | 241 --with-http_addition_module) HTTP_ADDITION=YES ;; |
2139 | 242 --with-http_xslt_module) HTTP_XSLT=YES ;; |
6383 | 243 --with-http_xslt_module=dynamic) HTTP_XSLT=DYNAMIC ;; |
2788 | 244 --with-http_image_filter_module) HTTP_IMAGE_FILTER=YES ;; |
6383 | 245 --with-http_image_filter_module=dynamic) |
246 HTTP_IMAGE_FILTER=DYNAMIC ;; | |
2985 | 247 --with-http_geoip_module) HTTP_GEOIP=YES ;; |
6383 | 248 --with-http_geoip_module=dynamic) |
249 HTTP_GEOIP=DYNAMIC ;; | |
1172 | 250 --with-http_sub_module) HTTP_SUB=YES ;; |
633 | 251 --with-http_dav_module) HTTP_DAV=YES ;; |
753 | 252 --with-http_flv_module) HTTP_FLV=YES ;; |
4085 | 253 --with-http_mp4_module) HTTP_MP4=YES ;; |
4837 | 254 --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
|
255 --with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;; |
5329
00bdc9f08a16
Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5121
diff
changeset
|
256 --with-http_auth_request_module) HTTP_AUTH_REQUEST=YES ;; |
2235 | 257 --with-http_random_index_module) HTTP_RANDOM_INDEX=YES ;; |
2260 | 258 --with-http_secure_link_module) HTTP_SECURE_LINK=YES ;; |
3326 | 259 --with-http_degradation_module) HTTP_DEGRADATION=YES ;; |
6317 | 260 --with-http_slice_module) HTTP_SLICE=YES ;; |
633 | 261 |
364
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
337
diff
changeset
|
262 --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
|
263 --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
|
264 --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
|
265 --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
|
266 --without-http_access_module) HTTP_ACCESS=NO ;; |
503 | 267 --without-http_auth_basic_module) HTTP_AUTH_BASIC=NO ;; |
7072 | 268 --without-http_mirror_module) HTTP_MIRROR=NO ;; |
457 | 269 --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
|
270 --without-http_status_module) HTTP_STATUS=NO ;; |
485 | 271 --without-http_geo_module) HTTP_GEO=NO ;; |
589 | 272 --without-http_map_module) HTTP_MAP=NO ;; |
3513
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3363
diff
changeset
|
273 --without-http_split_clients_module) HTTP_SPLIT_CLIENTS=NO ;; |
581 | 274 --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
|
275 --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
|
276 --without-http_proxy_module) HTTP_PROXY=NO ;; |
479 | 277 --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
|
278 --without-http_uwsgi_module) HTTP_UWSGI=NO ;; |
3637 | 279 --without-http_scgi_module) HTTP_SCGI=NO ;; |
7233 | 280 --without-http_grpc_module) HTTP_GRPC=NO ;; |
581 | 281 --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
|
282 --without-http_limit_conn_module) HTTP_LIMIT_CONN=NO ;; |
2294 | 283 --without-http_limit_req_module) HTTP_LIMIT_REQ=NO ;; |
581 | 284 --without-http_empty_gif_module) HTTP_EMPTY_GIF=NO ;; |
700 | 285 --without-http_browser_module) HTTP_BROWSER=NO ;; |
5717
efc84a5723b3
Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents:
5701
diff
changeset
|
286 --without-http_upstream_hash_module) HTTP_UPSTREAM_HASH=NO ;; |
884 | 287 --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
|
288 --without-http_upstream_least_conn_module) |
a2ca3a6ee680
Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4412
diff
changeset
|
289 HTTP_UPSTREAM_LEAST_CONN=NO ;; |
7301
f2396ecf608b
Upstream: ngx_http_upstream_random module.
Vladimir Homutov <vl@nginx.com>
parents:
7237
diff
changeset
|
290 --without-http_upstream_random_module) |
f2396ecf608b
Upstream: ngx_http_upstream_random module.
Vladimir Homutov <vl@nginx.com>
parents:
7237
diff
changeset
|
291 HTTP_UPSTREAM_RANDOM=NO ;; |
4127
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
292 --without-http_upstream_keepalive_module) HTTP_UPSTREAM_KEEPALIVE=NO ;; |
6103
79ddb0bdb273
Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents:
6018
diff
changeset
|
293 --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
|
294 |
599 | 295 --with-http_perl_module) HTTP_PERL=YES ;; |
6419 | 296 --with-http_perl_module=dynamic) HTTP_PERL=DYNAMIC ;; |
599 | 297 --with-perl_modules_path=*) NGX_PERL_MODULES="$value" ;; |
298 --with-perl=*) NGX_PERL="$value" ;; | |
299 | |
487 | 300 # STUB |
301 --with-http_stub_status_module) HTTP_STUB_STATUS=YES ;; | |
302 | |
1136 | 303 --with-mail) MAIL=YES ;; |
6383 | 304 --with-mail=dynamic) MAIL=DYNAMIC ;; |
1136 | 305 --with-mail_ssl_module) MAIL_SSL=YES ;; |
306 # STUB | |
6143
162b2d27d4e1
Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents:
6126
diff
changeset
|
307 --with-imap) |
162b2d27d4e1
Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents:
6126
diff
changeset
|
308 MAIL=YES |
162b2d27d4e1
Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents:
6126
diff
changeset
|
309 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG |
162b2d27d4e1
Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents:
6126
diff
changeset
|
310 $0: warning: the \"--with-imap\" option is deprecated, \ |
162b2d27d4e1
Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents:
6126
diff
changeset
|
311 use the \"--with-mail\" option instead" |
162b2d27d4e1
Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents:
6126
diff
changeset
|
312 ;; |
162b2d27d4e1
Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents:
6126
diff
changeset
|
313 --with-imap_ssl_module) |
162b2d27d4e1
Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents:
6126
diff
changeset
|
314 MAIL_SSL=YES |
162b2d27d4e1
Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents:
6126
diff
changeset
|
315 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG |
162b2d27d4e1
Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents:
6126
diff
changeset
|
316 $0: warning: the \"--with-imap_ssl_module\" option is deprecated, \ |
162b2d27d4e1
Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents:
6126
diff
changeset
|
317 use the \"--with-mail_ssl_module\" option instead" |
162b2d27d4e1
Configure: handle deprecated options.
Ruslan Ermilov <ru@nginx.com>
parents:
6126
diff
changeset
|
318 ;; |
1487
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
319 --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
|
320 --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
|
321 --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
|
322 |
6115 | 323 --with-stream) STREAM=YES ;; |
6383 | 324 --with-stream=dynamic) STREAM=DYNAMIC ;; |
6115 | 325 --with-stream_ssl_module) STREAM_SSL=YES ;; |
6684
9cac11efb205
Stream: realip module.
Dmitry Volyntsev <xeioex@nginx.com>
parents:
6632
diff
changeset
|
326 --with-stream_realip_module) STREAM_REALIP=YES ;; |
6630 | 327 --with-stream_geoip_module) STREAM_GEOIP=YES ;; |
328 --with-stream_geoip_module=dynamic) | |
329 STREAM_GEOIP=DYNAMIC ;; | |
6695
060d71292b69
Stream: ssl_preread module.
Vladimir Homutov <vl@nginx.com>
parents:
6684
diff
changeset
|
330 --with-stream_ssl_preread_module) |
060d71292b69
Stream: ssl_preread module.
Vladimir Homutov <vl@nginx.com>
parents:
6684
diff
changeset
|
331 STREAM_SSL_PREREAD=YES ;; |
6197
0dcef374b8bb
Stream: connection limiting module.
Vladimir Homutov <vl@nginx.com>
parents:
6176
diff
changeset
|
332 --without-stream_limit_conn_module) |
0dcef374b8bb
Stream: connection limiting module.
Vladimir Homutov <vl@nginx.com>
parents:
6176
diff
changeset
|
333 STREAM_LIMIT_CONN=NO ;; |
6175 | 334 --without-stream_access_module) STREAM_ACCESS=NO ;; |
6631 | 335 --without-stream_geo_module) STREAM_GEO=NO ;; |
6609 | 336 --without-stream_map_module) STREAM_MAP=NO ;; |
6632
787dcc15b802
Stream: split_clients module.
Vladimir Homutov <vl@nginx.com>
parents:
6631
diff
changeset
|
337 --without-stream_split_clients_module) |
787dcc15b802
Stream: split_clients module.
Vladimir Homutov <vl@nginx.com>
parents:
6631
diff
changeset
|
338 STREAM_SPLIT_CLIENTS=NO ;; |
6612 | 339 --without-stream_return_module) STREAM_RETURN=NO ;; |
7713 | 340 --without-stream_set_module) STREAM_SET=NO ;; |
6115 | 341 --without-stream_upstream_hash_module) |
342 STREAM_UPSTREAM_HASH=NO ;; | |
343 --without-stream_upstream_least_conn_module) | |
344 STREAM_UPSTREAM_LEAST_CONN=NO ;; | |
7301
f2396ecf608b
Upstream: ngx_http_upstream_random module.
Vladimir Homutov <vl@nginx.com>
parents:
7237
diff
changeset
|
345 --without-stream_upstream_random_module) |
f2396ecf608b
Upstream: ngx_http_upstream_random module.
Vladimir Homutov <vl@nginx.com>
parents:
7237
diff
changeset
|
346 STREAM_UPSTREAM_RANDOM=NO ;; |
6115 | 347 --without-stream_upstream_zone_module) |
348 STREAM_UPSTREAM_ZONE=NO ;; | |
349 | |
1949 | 350 --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
|
351 --with-cpp_test_module) NGX_CPP_TEST=YES ;; |
1949 | 352 |
489 | 353 --add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;; |
6383 | 354 --add-dynamic-module=*) DYNAMIC_ADDONS="$DYNAMIC_ADDONS $value" ;; |
467 | 355 |
6716
57c8e12c460c
Modules compatibility: --with-compat configure option.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6695
diff
changeset
|
356 --with-compat) NGX_COMPAT=YES ;; |
57c8e12c460c
Modules compatibility: --with-compat configure option.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6695
diff
changeset
|
357 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
358 --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
|
359 --with-cpp=*) CPP="$value" ;; |
455 | 360 --with-cc-opt=*) NGX_CC_OPT="$value" ;; |
361 --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
|
362 --with-cpu-opt=*) CPU="$value" ;; |
469 | 363 --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
|
364 |
264
cd009bf7400d
nginx-0.0.2-2004-02-19-19:48:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
263
diff
changeset
|
365 --without-pcre) USE_PCRE=DISABLED ;; |
2582 | 366 --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
|
367 --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
|
368 --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
|
369 --with-pcre-jit) PCRE_JIT=YES ;; |
7981 | 370 --without-pcre2) PCRE2=DISABLED ;; |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
371 |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
372 --with-openssl=*) OPENSSL="$value" ;; |
501 | 373 --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
|
374 |
6603
9eefb38f0005
Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6436
diff
changeset
|
375 --with-md5=*) |
9eefb38f0005
Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6436
diff
changeset
|
376 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
|
377 $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
|
378 ;; |
9eefb38f0005
Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6436
diff
changeset
|
379 --with-md5-opt=*) |
9eefb38f0005
Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6436
diff
changeset
|
380 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
|
381 $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
|
382 ;; |
9eefb38f0005
Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6436
diff
changeset
|
383 --with-md5-asm) |
9eefb38f0005
Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6436
diff
changeset
|
384 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
|
385 $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
|
386 ;; |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
387 |
6603
9eefb38f0005
Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6436
diff
changeset
|
388 --with-sha1=*) |
9eefb38f0005
Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6436
diff
changeset
|
389 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
|
390 $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
|
391 ;; |
9eefb38f0005
Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6436
diff
changeset
|
392 --with-sha1-opt=*) |
9eefb38f0005
Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6436
diff
changeset
|
393 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
|
394 $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
|
395 ;; |
9eefb38f0005
Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6436
diff
changeset
|
396 --with-sha1-asm) |
9eefb38f0005
Internal md5 and sha1 implementations are now always used.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6436
diff
changeset
|
397 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
|
398 $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
|
399 ;; |
653 | 400 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
401 --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
|
402 --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
|
403 --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
|
404 |
3363 | 405 --with-libatomic) NGX_LIBATOMIC=YES ;; |
406 --with-libatomic=*) NGX_LIBATOMIC="$value" ;; | |
407 | |
469 | 408 --test-build-devpoll) NGX_TEST_BUILD_DEVPOLL=YES ;; |
719
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
409 --test-build-eventport) NGX_TEST_BUILD_EVENTPORT=YES ;; |
469 | 410 --test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;; |
473 | 411 --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
|
412 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
413 *) |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
414 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
|
415 exit 1 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
416 ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
417 esac |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
418 done |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
419 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
420 |
2755
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
421 NGX_CONFIGURE="$opt" |
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
422 |
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
423 |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
424 if [ $help = yes ]; then |
455 | 425 |
426 cat << END | |
427 | |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
428 --help print this message |
479 | 429 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
430 --prefix=PATH set installation prefix |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
431 --sbin-path=PATH set nginx binary pathname |
6383 | 432 --modules-path=PATH set modules path |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
433 --conf-path=PATH set nginx.conf pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
434 --error-log-path=PATH set error log pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
435 --pid-path=PATH set nginx.pid pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
436 --lock-path=PATH set nginx.lock pathname |
479 | 437 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
438 --user=USER set non-privileged user for |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
439 worker processes |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
440 --group=GROUP set non-privileged group for |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
441 worker processes |
479 | 442 |
5701
1209b8a7b077
Configure: the --build= option.
Ruslan Ermilov <ru@nginx.com>
parents:
5329
diff
changeset
|
443 --build=NAME set build name |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
444 --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
|
445 |
479 | 446 --with-select_module enable select module |
447 --without-select_module disable select module | |
448 --with-poll_module enable poll module | |
449 --without-poll_module disable poll module | |
455 | 450 |
6018
466bd63b63d1
Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents:
6017
diff
changeset
|
451 --with-threads enable thread pool support |
466bd63b63d1
Thread pools implementation.
Valentin Bartenev <vbart@nginx.com>
parents:
6017
diff
changeset
|
452 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
453 --with-file-aio enable file AIO support |
2512
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
454 |
8676
7df607cb2d11
QUIC: ngx_quic_bpf module.
Vladimir Homutov <vl@nginx.com>
parents:
8675
diff
changeset
|
455 --without-quic_bpf_module disable ngx_quic_bpf_module |
7df607cb2d11
QUIC: ngx_quic_bpf module.
Vladimir Homutov <vl@nginx.com>
parents:
8675
diff
changeset
|
456 |
479 | 457 --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
|
458 --with-http_v2_module enable ngx_http_v2_module |
8372
0e6528551f26
Configure: unbreak with old OpenSSL, --with-http_v3_module added.
Sergey Kandaurov <pluknet@nginx.com>
parents:
8215
diff
changeset
|
459 --with-http_v3_module enable ngx_http_v3_module |
581 | 460 --with-http_realip_module enable ngx_http_realip_module |
635 | 461 --with-http_addition_module enable ngx_http_addition_module |
2139 | 462 --with-http_xslt_module enable ngx_http_xslt_module |
6383 | 463 --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
|
464 --with-http_image_filter_module enable ngx_http_image_filter_module |
6383 | 465 --with-http_image_filter_module=dynamic |
466 enable dynamic ngx_http_image_filter_module | |
2991 | 467 --with-http_geoip_module enable ngx_http_geoip_module |
6383 | 468 --with-http_geoip_module=dynamic enable dynamic ngx_http_geoip_module |
1172 | 469 --with-http_sub_module enable ngx_http_sub_module |
635 | 470 --with-http_dav_module enable ngx_http_dav_module |
753 | 471 --with-http_flv_module enable ngx_http_flv_module |
4085 | 472 --with-http_mp4_module enable ngx_http_mp4_module |
4837 | 473 --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
|
474 --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
|
475 --with-http_auth_request_module enable ngx_http_auth_request_module |
2235 | 476 --with-http_random_index_module enable ngx_http_random_index_module |
2260 | 477 --with-http_secure_link_module enable ngx_http_secure_link_module |
3326 | 478 --with-http_degradation_module enable ngx_http_degradation_module |
6317 | 479 --with-http_slice_module enable ngx_http_slice_module |
1188 | 480 --with-http_stub_status_module enable ngx_http_stub_status_module |
635 | 481 |
479 | 482 --without-http_charset_module disable ngx_http_charset_module |
483 --without-http_gzip_module disable ngx_http_gzip_module | |
501 | 484 --without-http_ssi_module disable ngx_http_ssi_module |
479 | 485 --without-http_userid_module disable ngx_http_userid_module |
486 --without-http_access_module disable ngx_http_access_module | |
503 | 487 --without-http_auth_basic_module disable ngx_http_auth_basic_module |
7072 | 488 --without-http_mirror_module disable ngx_http_mirror_module |
479 | 489 --without-http_autoindex_module disable ngx_http_autoindex_module |
485 | 490 --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
|
491 --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
|
492 --without-http_split_clients_module disable ngx_http_split_clients_module |
581 | 493 --without-http_referer_module disable ngx_http_referer_module |
479 | 494 --without-http_rewrite_module disable ngx_http_rewrite_module |
495 --without-http_proxy_module disable ngx_http_proxy_module | |
496 --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
|
497 --without-http_uwsgi_module disable ngx_http_uwsgi_module |
3637 | 498 --without-http_scgi_module disable ngx_http_scgi_module |
7237
d87393919a10
Configure: added gRPC module help message.
Sergey Kandaurov <pluknet@nginx.com>
parents:
7233
diff
changeset
|
499 --without-http_grpc_module disable ngx_http_grpc_module |
581 | 500 --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
|
501 --without-http_limit_conn_module disable ngx_http_limit_conn_module |
2294 | 502 --without-http_limit_req_module disable ngx_http_limit_req_module |
581 | 503 --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
|
504 --without-http_browser_module disable ngx_http_browser_module |
5717
efc84a5723b3
Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents:
5701
diff
changeset
|
505 --without-http_upstream_hash_module |
efc84a5723b3
Upstream: generic hash module.
Roman Arutyunyan <arut@nginx.com>
parents:
5701
diff
changeset
|
506 disable ngx_http_upstream_hash_module |
884 | 507 --without-http_upstream_ip_hash_module |
508 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
|
509 --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
|
510 disable ngx_http_upstream_least_conn_module |
7301
f2396ecf608b
Upstream: ngx_http_upstream_random module.
Vladimir Homutov <vl@nginx.com>
parents:
7237
diff
changeset
|
511 --without-http_upstream_random_module |
f2396ecf608b
Upstream: ngx_http_upstream_random module.
Vladimir Homutov <vl@nginx.com>
parents:
7237
diff
changeset
|
512 disable ngx_http_upstream_random_module |
4865
ca794c55c43f
Configure: help updated to list upstream keepalive and least_conn.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4837
diff
changeset
|
513 --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
|
514 disable ngx_http_upstream_keepalive_module |
6103
79ddb0bdb273
Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents:
6018
diff
changeset
|
515 --without-http_upstream_zone_module |
79ddb0bdb273
Upstream: the "zone" directive.
Ruslan Ermilov <ru@nginx.com>
parents:
6018
diff
changeset
|
516 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
|
517 |
599 | 518 --with-http_perl_module enable ngx_http_perl_module |
6419 | 519 --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
|
520 --with-perl_modules_path=PATH set Perl modules path |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
521 --with-perl=PATH set perl binary pathname |
599 | 522 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
523 --http-log-path=PATH set http access log pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
524 --http-client-body-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
525 http client request body temporary files |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
526 --http-proxy-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
527 http proxy temporary files |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
528 --http-fastcgi-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
529 http fastcgi temporary files |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
530 --http-uwsgi-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
531 http uwsgi temporary files |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
532 --http-scgi-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
533 http scgi temporary files |
479 | 534 |
529 | 535 --without-http disable HTTP server |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
536 --without-http-cache disable HTTP cache |
529 | 537 |
1498
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
538 --with-mail enable POP3/IMAP4/SMTP proxy module |
6383 | 539 --with-mail=dynamic enable dynamic POP3/IMAP4/SMTP proxy module |
1136 | 540 --with-mail_ssl_module enable ngx_mail_ssl_module |
1498
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
541 --without-mail_pop3_module disable ngx_mail_pop3_module |
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
542 --without-mail_imap_module disable ngx_mail_imap_module |
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
543 --without-mail_smtp_module disable ngx_mail_smtp_module |
529 | 544 |
6436 | 545 --with-stream enable TCP/UDP proxy module |
546 --with-stream=dynamic enable dynamic TCP/UDP proxy module | |
6115 | 547 --with-stream_ssl_module enable ngx_stream_ssl_module |
6684
9cac11efb205
Stream: realip module.
Dmitry Volyntsev <xeioex@nginx.com>
parents:
6632
diff
changeset
|
548 --with-stream_realip_module enable ngx_stream_realip_module |
6630 | 549 --with-stream_geoip_module enable ngx_stream_geoip_module |
550 --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
|
551 --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
|
552 --without-stream_limit_conn_module disable ngx_stream_limit_conn_module |
6175 | 553 --without-stream_access_module disable ngx_stream_access_module |
6631 | 554 --without-stream_geo_module disable ngx_stream_geo_module |
6609 | 555 --without-stream_map_module disable ngx_stream_map_module |
6632
787dcc15b802
Stream: split_clients module.
Vladimir Homutov <vl@nginx.com>
parents:
6631
diff
changeset
|
556 --without-stream_split_clients_module |
787dcc15b802
Stream: split_clients module.
Vladimir Homutov <vl@nginx.com>
parents:
6631
diff
changeset
|
557 disable ngx_stream_split_clients_module |
6612 | 558 --without-stream_return_module disable ngx_stream_return_module |
7713 | 559 --without-stream_set_module disable ngx_stream_set_module |
6115 | 560 --without-stream_upstream_hash_module |
561 disable ngx_stream_upstream_hash_module | |
562 --without-stream_upstream_least_conn_module | |
563 disable ngx_stream_upstream_least_conn_module | |
7301
f2396ecf608b
Upstream: ngx_http_upstream_random module.
Vladimir Homutov <vl@nginx.com>
parents:
7237
diff
changeset
|
564 --without-stream_upstream_random_module |
f2396ecf608b
Upstream: ngx_http_upstream_random module.
Vladimir Homutov <vl@nginx.com>
parents:
7237
diff
changeset
|
565 disable ngx_stream_upstream_random_module |
6115 | 566 --without-stream_upstream_zone_module |
567 disable ngx_stream_upstream_zone_module | |
568 | |
1949 | 569 --with-google_perftools_module enable ngx_google_perftools_module |
2157 | 570 --with-cpp_test_module enable ngx_cpp_test_module |
1949 | 571 |
6383 | 572 --add-module=PATH enable external module |
573 --add-dynamic-module=PATH enable dynamic external module | |
1188 | 574 |
6716
57c8e12c460c
Modules compatibility: --with-compat configure option.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6695
diff
changeset
|
575 --with-compat dynamic modules compatibility |
57c8e12c460c
Modules compatibility: --with-compat configure option.
Maxim Dounin <mdounin@mdounin.ru>
parents:
6695
diff
changeset
|
576 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
577 --with-cc=PATH set C compiler pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
578 --with-cpp=PATH set C preprocessor pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
579 --with-cc-opt=OPTIONS set additional C compiler options |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
580 --with-ld-opt=OPTIONS set additional linker options |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
581 --with-cpu-opt=CPU build for the specified CPU, valid values: |
613 | 582 pentium, pentiumpro, pentium3, pentium4, |
583 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
|
584 |
2581 | 585 --without-pcre disable PCRE library usage |
2582 | 586 --with-pcre force PCRE library usage |
479 | 587 --with-pcre=DIR set path to PCRE library sources |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
588 --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
|
589 --with-pcre-jit build PCRE with JIT compilation support |
7981 | 590 --without-pcre2 do not use PCRE2 library |
479 | 591 |
592 --with-zlib=DIR set path to zlib library sources | |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
593 --with-zlib-opt=OPTIONS set additional build options for zlib |
479 | 594 --with-zlib-asm=CPU use zlib assembler sources optimized |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
595 for the specified CPU, valid values: |
479 | 596 pentium, pentiumpro |
597 | |
3363 | 598 --with-libatomic force libatomic_ops library usage |
599 --with-libatomic=DIR set path to libatomic_ops library sources | |
600 | |
479 | 601 --with-openssl=DIR set path to OpenSSL library sources |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
602 --with-openssl-opt=OPTIONS set additional build options for OpenSSL |
479 | 603 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
604 --with-debug enable debug logging |
455 | 605 |
606 END | |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
607 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
608 exit 1 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
609 fi |
323
ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents:
315
diff
changeset
|
610 |
ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents:
315
diff
changeset
|
611 |
469 | 612 if [ ".$NGX_PLATFORM" = ".win32" ]; then |
461 | 613 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
|
614 fi |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
615 |
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
616 |
6176
c983c8dea44c
Configure: moved NGX_SBIN_PATH variable initialization.
Ruslan Ermilov <ru@nginx.com>
parents:
6175
diff
changeset
|
617 NGX_SBIN_PATH=${NGX_SBIN_PATH:-sbin/nginx} |
6383 | 618 NGX_MODULES_PATH=${NGX_MODULES_PATH:-modules} |
2758 | 619 NGX_CONF_PATH=${NGX_CONF_PATH:-conf/nginx.conf} |
1394 | 620 NGX_CONF_PREFIX=`dirname $NGX_CONF_PATH` |
2758 | 621 NGX_PID_PATH=${NGX_PID_PATH:-logs/nginx.pid} |
622 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
|
623 |
2758 | 624 if [ ".$NGX_ERROR_LOG_PATH" = ".stderr" ]; then |
625 NGX_ERROR_LOG_PATH= | |
626 else | |
627 NGX_ERROR_LOG_PATH=${NGX_ERROR_LOG_PATH:-logs/error.log} | |
628 fi | |
479 | 629 |
2758 | 630 NGX_HTTP_LOG_PATH=${NGX_HTTP_LOG_PATH:-logs/access.log} |
631 NGX_HTTP_CLIENT_TEMP_PATH=${NGX_HTTP_CLIENT_TEMP_PATH:-client_body_temp} | |
632 NGX_HTTP_PROXY_TEMP_PATH=${NGX_HTTP_PROXY_TEMP_PATH:-proxy_temp} | |
633 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
|
634 NGX_HTTP_UWSGI_TEMP_PATH=${NGX_HTTP_UWSGI_TEMP_PATH:-uwsgi_temp} |
3637 | 635 NGX_HTTP_SCGI_TEMP_PATH=${NGX_HTTP_SCGI_TEMP_PATH:-scgi_temp} |
599 | 636 |
637 case ".$NGX_PERL_MODULES" in | |
638 ./*) | |
639 ;; | |
640 | |
641 .) | |
642 ;; | |
643 | |
644 *) | |
645 NGX_PERL_MODULES=$NGX_PREFIX/$NGX_PERL_MODULES | |
646 ;; | |
647 esac |