0
|
1
|
|
2 # Copyright (C) Igor Sysoev
|
660
|
3 # Copyright (C) Nginx, Inc.
|
0
|
4
|
4
|
5
|
0
|
6 help=no
|
|
7
|
18
|
8 NGX_PREFIX=
|
|
9 NGX_SBIN_PATH=
|
324
|
10 NGX_CONF_PREFIX=
|
18
|
11 NGX_CONF_PATH=
|
|
12 NGX_ERROR_LOG_PATH=
|
|
13 NGX_PID_PATH=
|
160
|
14 NGX_LOCK_PATH=
|
4
|
15 NGX_USER=
|
|
16 NGX_GROUP=
|
0
|
17
|
4
|
18 CC=${CC:-gcc}
|
0
|
19 CPP=
|
4
|
20 NGX_OBJS=objs
|
0
|
21
|
18
|
22 NGX_DEBUG=NO
|
4
|
23 NGX_CC_OPT=
|
|
24 NGX_LD_OPT=
|
0
|
25 CPU=NO
|
|
26
|
336
|
27 NGX_RPATH=NO
|
|
28
|
18
|
29 NGX_TEST_BUILD_DEVPOLL=NO
|
236
|
30 NGX_TEST_BUILD_EVENTPORT=NO
|
18
|
31 NGX_TEST_BUILD_EPOLL=NO
|
|
32 NGX_TEST_BUILD_RTSIG=NO
|
22
|
33 NGX_TEST_BUILD_SOLARIS_SENDFILEV=NO
|
0
|
34
|
18
|
35 NGX_PLATFORM=
|
10
|
36 NGX_WINE=
|
|
37
|
0
|
38 EVENT_FOUND=NO
|
|
39
|
|
40 EVENT_RTSIG=NO
|
|
41 EVENT_SELECT=NO
|
|
42 EVENT_POLL=NO
|
|
43 EVENT_AIO=NO
|
|
44
|
|
45 USE_THREADS=NO
|
|
46
|
518
|
47 NGX_FILE_AIO=NO
|
448
|
48 NGX_IPV6=NO
|
|
49
|
0
|
50 HTTP=YES
|
28
|
51
|
|
52 NGX_HTTP_LOG_PATH=
|
|
53 NGX_HTTP_CLIENT_TEMP_PATH=
|
|
54 NGX_HTTP_PROXY_TEMP_PATH=
|
|
55 NGX_HTTP_FASTCGI_TEMP_PATH=
|
576
|
56 NGX_HTTP_UWSGI_TEMP_PATH=
|
580
|
57 NGX_HTTP_SCGI_TEMP_PATH=
|
28
|
58
|
464
|
59 HTTP_CACHE=YES
|
0
|
60 HTTP_CHARSET=YES
|
|
61 HTTP_GZIP=YES
|
|
62 HTTP_SSL=NO
|
46
|
63 HTTP_SSI=YES
|
58
|
64 HTTP_POSTPONE=NO
|
122
|
65 HTTP_REALIP=NO
|
392
|
66 HTTP_XSLT=NO
|
484
|
67 HTTP_IMAGE_FILTER=NO
|
296
|
68 HTTP_SUB=NO
|
178
|
69 HTTP_ADDITION=NO
|
182
|
70 HTTP_DAV=NO
|
0
|
71 HTTP_ACCESS=YES
|
52
|
72 HTTP_AUTH_BASIC=YES
|
0
|
73 HTTP_USERID=YES
|
6
|
74 HTTP_AUTOINDEX=YES
|
406
|
75 HTTP_RANDOM_INDEX=NO
|
0
|
76 HTTP_STATUS=NO
|
34
|
77 HTTP_GEO=YES
|
508
|
78 HTTP_GEOIP=NO
|
138
|
79 HTTP_MAP=YES
|
570
|
80 HTTP_SPLIT_CLIENTS=YES
|
126
|
81 HTTP_REFERER=YES
|
0
|
82 HTTP_REWRITE=YES
|
|
83 HTTP_PROXY=YES
|
28
|
84 HTTP_FASTCGI=YES
|
576
|
85 HTTP_UWSGI=YES
|
580
|
86 HTTP_SCGI=YES
|
148
|
87 HTTP_PERL=NO
|
130
|
88 HTTP_MEMCACHED=YES
|
648
|
89 HTTP_LIMIT_CONN=YES
|
416
|
90 HTTP_LIMIT_REQ=YES
|
126
|
91 HTTP_EMPTY_GIF=YES
|
236
|
92 HTTP_BROWSER=YES
|
412
|
93 HTTP_SECURE_LINK=NO
|
546
|
94 HTTP_DEGRADATION=NO
|
244
|
95 HTTP_FLV=NO
|
638
|
96 HTTP_MP4=NO
|
358
|
97 HTTP_GZIP_STATIC=NO
|
260
|
98 HTTP_UPSTREAM_IP_HASH=YES
|
676
|
99 HTTP_UPSTREAM_LEAST_CONN=YES
|
640
|
100 HTTP_UPSTREAM_KEEPALIVE=YES
|
0
|
101
|
36
|
102 # STUB
|
|
103 HTTP_STUB_STATUS=NO
|
|
104
|
290
|
105 MAIL=NO
|
|
106 MAIL_SSL=NO
|
336
|
107 MAIL_POP3=YES
|
|
108 MAIL_IMAP=YES
|
|
109 MAIL_SMTP=YES
|
0
|
110
|
38
|
111 NGX_ADDONS=
|
16
|
112
|
0
|
113 USE_PCRE=NO
|
|
114 PCRE=NONE
|
|
115 PCRE_OPT=
|
656
|
116 PCRE_CONF_OPT=
|
|
117 PCRE_JIT=NO
|
0
|
118
|
|
119 USE_OPENSSL=NO
|
|
120 OPENSSL=NONE
|
|
121
|
|
122 USE_MD5=NO
|
|
123 MD5=NONE
|
|
124 MD5_OPT=
|
|
125 MD5_ASM=NO
|
|
126
|
202
|
127 USE_SHA1=NO
|
|
128 SHA1=NONE
|
|
129 SHA1_OPT=
|
|
130 SHA1_ASM=NO
|
|
131
|
0
|
132 USE_ZLIB=NO
|
|
133 ZLIB=NONE
|
|
134 ZLIB_OPT=
|
|
135 ZLIB_ASM=NO
|
|
136
|
148
|
137 USE_PERL=NO
|
|
138 NGX_PERL=perl
|
|
139
|
392
|
140 USE_LIBXSLT=NO
|
484
|
141 USE_LIBGD=NO
|
392
|
142
|
370
|
143 NGX_GOOGLE_PERFTOOLS=NO
|
394
|
144 NGX_CPP_TEST=NO
|
370
|
145
|
554
|
146 NGX_LIBATOMIC=NO
|
|
147
|
138
|
148 NGX_CPU_CACHE_LINE=
|
|
149
|
648
|
150 NGX_POST_CONF_MSG=
|
|
151
|
482
|
152 opt=
|
0
|
153
|
|
154 for option
|
|
155 do
|
494
|
156 opt="$opt `echo $option | sed -e \"s/\(--[^=]*=\)\(.* .*\)/\1'\2'/\"`"
|
482
|
157
|
0
|
158 case "$option" in
|
|
159 -*=*) value=`echo "$option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;;
|
|
160 *) value="" ;;
|
|
161 esac
|
|
162
|
|
163 case "$option" in
|
|
164 --help) help=yes ;;
|
|
165
|
482
|
166 --prefix=) NGX_PREFIX="!" ;;
|
18
|
167 --prefix=*) NGX_PREFIX="$value" ;;
|
|
168 --sbin-path=*) NGX_SBIN_PATH="$value" ;;
|
|
169 --conf-path=*) NGX_CONF_PATH="$value" ;;
|
|
170 --error-log-path=*) NGX_ERROR_LOG_PATH="$value";;
|
|
171 --pid-path=*) NGX_PID_PATH="$value" ;;
|
160
|
172 --lock-path=*) NGX_LOCK_PATH="$value" ;;
|
4
|
173 --user=*) NGX_USER="$value" ;;
|
|
174 --group=*) NGX_GROUP="$value" ;;
|
0
|
175
|
18
|
176 --crossbuild=*) NGX_PLATFORM="$value" ;;
|
0
|
177
|
4
|
178 --builddir=*) NGX_OBJS="$value" ;;
|
0
|
179
|
|
180 --with-rtsig_module) EVENT_RTSIG=YES ;;
|
|
181 --with-select_module) EVENT_SELECT=YES ;;
|
|
182 --without-select_module) EVENT_SELECT=NONE ;;
|
|
183 --with-poll_module) EVENT_POLL=YES ;;
|
|
184 --without-poll_module) EVENT_POLL=NONE ;;
|
|
185 --with-aio_module) EVENT_AIO=YES ;;
|
|
186
|
372
|
187 #--with-threads=*) USE_THREADS="$value" ;;
|
|
188 #--with-threads) USE_THREADS="pthreads" ;;
|
0
|
189
|
518
|
190 --with-file-aio) NGX_FILE_AIO=YES ;;
|
448
|
191 --with-ipv6) NGX_IPV6=YES ;;
|
|
192
|
0
|
193 --without-http) HTTP=NO ;;
|
464
|
194 --without-http-cache) HTTP_CACHE=NO ;;
|
|
195
|
18
|
196 --http-log-path=*) NGX_HTTP_LOG_PATH="$value" ;;
|
28
|
197 --http-client-body-temp-path=*) NGX_HTTP_CLIENT_TEMP_PATH="$value" ;;
|
|
198 --http-proxy-temp-path=*) NGX_HTTP_PROXY_TEMP_PATH="$value" ;;
|
|
199 --http-fastcgi-temp-path=*) NGX_HTTP_FASTCGI_TEMP_PATH="$value" ;;
|
576
|
200 --http-uwsgi-temp-path=*) NGX_HTTP_UWSGI_TEMP_PATH="$value" ;;
|
580
|
201 --http-scgi-temp-path=*) NGX_HTTP_SCGI_TEMP_PATH="$value" ;;
|
0
|
202
|
|
203 --with-http_ssl_module) HTTP_SSL=YES ;;
|
122
|
204 --with-http_realip_module) HTTP_REALIP=YES ;;
|
178
|
205 --with-http_addition_module) HTTP_ADDITION=YES ;;
|
392
|
206 --with-http_xslt_module) HTTP_XSLT=YES ;;
|
484
|
207 --with-http_image_filter_module) HTTP_IMAGE_FILTER=YES ;;
|
508
|
208 --with-http_geoip_module) HTTP_GEOIP=YES ;;
|
296
|
209 --with-http_sub_module) HTTP_SUB=YES ;;
|
182
|
210 --with-http_dav_module) HTTP_DAV=YES ;;
|
244
|
211 --with-http_flv_module) HTTP_FLV=YES ;;
|
638
|
212 --with-http_mp4_module) HTTP_MP4=YES ;;
|
358
|
213 --with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;;
|
406
|
214 --with-http_random_index_module) HTTP_RANDOM_INDEX=YES ;;
|
412
|
215 --with-http_secure_link_module) HTTP_SECURE_LINK=YES ;;
|
546
|
216 --with-http_degradation_module) HTTP_DEGRADATION=YES ;;
|
182
|
217
|
0
|
218 --without-http_charset_module) HTTP_CHARSET=NO ;;
|
|
219 --without-http_gzip_module) HTTP_GZIP=NO ;;
|
|
220 --without-http_ssi_module) HTTP_SSI=NO ;;
|
|
221 --without-http_userid_module) HTTP_USERID=NO ;;
|
|
222 --without-http_access_module) HTTP_ACCESS=NO ;;
|
52
|
223 --without-http_auth_basic_module) HTTP_AUTH_BASIC=NO ;;
|
6
|
224 --without-http_autoindex_module) HTTP_AUTOINDEX=NO ;;
|
0
|
225 --without-http_status_module) HTTP_STATUS=NO ;;
|
34
|
226 --without-http_geo_module) HTTP_GEO=NO ;;
|
138
|
227 --without-http_map_module) HTTP_MAP=NO ;;
|
570
|
228 --without-http_split_clients_module) HTTP_SPLIT_CLIENTS=NO ;;
|
130
|
229 --without-http_referer_module) HTTP_REFERER=NO ;;
|
0
|
230 --without-http_rewrite_module) HTTP_REWRITE=NO ;;
|
|
231 --without-http_proxy_module) HTTP_PROXY=NO ;;
|
28
|
232 --without-http_fastcgi_module) HTTP_FASTCGI=NO ;;
|
576
|
233 --without-http_uwsgi_module) HTTP_UWSGI=NO ;;
|
580
|
234 --without-http_scgi_module) HTTP_SCGI=NO ;;
|
130
|
235 --without-http_memcached_module) HTTP_MEMCACHED=NO ;;
|
648
|
236 --without-http_limit_zone_module)
|
|
237 HTTP_LIMIT_CONN=NO
|
|
238 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
|
|
239 $0: warning: the \"--without-http_limit_zone_module\" option is deprecated, \
|
|
240 use the \"--without-http_limit_conn_module\" option instead"
|
|
241 ;;
|
|
242 --without-http_limit_conn_module) HTTP_LIMIT_CONN=NO ;;
|
416
|
243 --without-http_limit_req_module) HTTP_LIMIT_REQ=NO ;;
|
130
|
244 --without-http_empty_gif_module) HTTP_EMPTY_GIF=NO ;;
|
236
|
245 --without-http_browser_module) HTTP_BROWSER=NO ;;
|
260
|
246 --without-http_upstream_ip_hash_module) HTTP_UPSTREAM_IP_HASH=NO ;;
|
676
|
247 --without-http_upstream_least_conn_module)
|
|
248 HTTP_UPSTREAM_LEAST_CONN=NO ;;
|
640
|
249 --without-http_upstream_keepalive_module) HTTP_UPSTREAM_KEEPALIVE=NO ;;
|
0
|
250
|
148
|
251 --with-http_perl_module) HTTP_PERL=YES ;;
|
|
252 --with-perl_modules_path=*) NGX_PERL_MODULES="$value" ;;
|
|
253 --with-perl=*) NGX_PERL="$value" ;;
|
|
254
|
36
|
255 # STUB
|
|
256 --with-http_stub_status_module) HTTP_STUB_STATUS=YES ;;
|
|
257
|
290
|
258 --with-mail) MAIL=YES ;;
|
|
259 --with-mail_ssl_module) MAIL_SSL=YES ;;
|
|
260 # STUB
|
|
261 --with-imap) MAIL=YES ;;
|
|
262 --with-imap_ssl_module) MAIL_SSL=YES ;;
|
336
|
263 --without-mail_pop3_module) MAIL_POP3=NO ;;
|
|
264 --without-mail_imap_module) MAIL_IMAP=NO ;;
|
|
265 --without-mail_smtp_module) MAIL_SMTP=NO ;;
|
0
|
266
|
370
|
267 --with-google_perftools_module) NGX_GOOGLE_PERFTOOLS=YES ;;
|
396
|
268 --with-cpp_test_module) NGX_CPP_TEST=YES ;;
|
370
|
269
|
38
|
270 --add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;;
|
16
|
271
|
0
|
272 --with-cc=*) CC="$value" ;;
|
|
273 --with-cpp=*) CPP="$value" ;;
|
4
|
274 --with-cc-opt=*) NGX_CC_OPT="$value" ;;
|
|
275 --with-ld-opt=*) NGX_LD_OPT="$value" ;;
|
0
|
276 --with-cpu-opt=*) CPU="$value" ;;
|
18
|
277 --with-debug) NGX_DEBUG=YES ;;
|
0
|
278
|
|
279 --without-pcre) USE_PCRE=DISABLED ;;
|
464
|
280 --with-pcre) USE_PCRE=YES ;;
|
0
|
281 --with-pcre=*) PCRE="$value" ;;
|
|
282 --with-pcre-opt=*) PCRE_OPT="$value" ;;
|
656
|
283 --with-pcre-jit) PCRE_JIT=YES ;;
|
0
|
284
|
|
285 --with-openssl=*) OPENSSL="$value" ;;
|
50
|
286 --with-openssl-opt=*) OPENSSL_OPT="$value" ;;
|
0
|
287
|
|
288 --with-md5=*) MD5="$value" ;;
|
|
289 --with-md5-opt=*) MD5_OPT="$value" ;;
|
|
290 --with-md5-asm) MD5_ASM=YES ;;
|
|
291
|
202
|
292 --with-sha1=*) SHA1="$value" ;;
|
|
293 --with-sha1-opt=*) SHA1_OPT="$value" ;;
|
|
294 --with-sha1-asm) SHA1_ASM=YES ;;
|
|
295
|
0
|
296 --with-zlib=*) ZLIB="$value" ;;
|
|
297 --with-zlib-opt=*) ZLIB_OPT="$value" ;;
|
|
298 --with-zlib-asm=*) ZLIB_ASM="$value" ;;
|
|
299
|
554
|
300 --with-libatomic) NGX_LIBATOMIC=YES ;;
|
|
301 --with-libatomic=*) NGX_LIBATOMIC="$value" ;;
|
|
302
|
18
|
303 --test-build-devpoll) NGX_TEST_BUILD_DEVPOLL=YES ;;
|
236
|
304 --test-build-eventport) NGX_TEST_BUILD_EVENTPORT=YES ;;
|
18
|
305 --test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;;
|
|
306 --test-build-rtsig) NGX_TEST_BUILD_RTSIG=YES ;;
|
22
|
307 --test-build-solaris-sendfilev) NGX_TEST_BUILD_SOLARIS_SENDFILEV=YES ;;
|
0
|
308
|
|
309 *)
|
|
310 echo "$0: error: invalid option \"$option\""
|
|
311 exit 1
|
|
312 ;;
|
|
313 esac
|
|
314 done
|
|
315
|
|
316
|
482
|
317 NGX_CONFIGURE="$opt"
|
|
318
|
|
319
|
0
|
320 if [ $help = yes ]; then
|
4
|
321
|
|
322 cat << END
|
|
323
|
646
|
324 --help print this message
|
28
|
325
|
646
|
326 --prefix=PATH set installation prefix
|
|
327 --sbin-path=PATH set nginx binary pathname
|
|
328 --conf-path=PATH set nginx.conf pathname
|
|
329 --error-log-path=PATH set error log pathname
|
|
330 --pid-path=PATH set nginx.pid pathname
|
|
331 --lock-path=PATH set nginx.lock pathname
|
28
|
332
|
646
|
333 --user=USER set non-privileged user for
|
|
334 worker processes
|
|
335 --group=GROUP set non-privileged group for
|
|
336 worker processes
|
28
|
337
|
646
|
338 --builddir=DIR set build directory
|
0
|
339
|
28
|
340 --with-rtsig_module enable rtsig module
|
|
341 --with-select_module enable select module
|
|
342 --without-select_module disable select module
|
|
343 --with-poll_module enable poll module
|
|
344 --without-poll_module disable poll module
|
4
|
345
|
646
|
346 --with-file-aio enable file AIO support
|
|
347 --with-ipv6 enable IPv6 support
|
448
|
348
|
28
|
349 --with-http_ssl_module enable ngx_http_ssl_module
|
130
|
350 --with-http_realip_module enable ngx_http_realip_module
|
184
|
351 --with-http_addition_module enable ngx_http_addition_module
|
392
|
352 --with-http_xslt_module enable ngx_http_xslt_module
|
486
|
353 --with-http_image_filter_module enable ngx_http_image_filter_module
|
510
|
354 --with-http_geoip_module enable ngx_http_geoip_module
|
296
|
355 --with-http_sub_module enable ngx_http_sub_module
|
184
|
356 --with-http_dav_module enable ngx_http_dav_module
|
244
|
357 --with-http_flv_module enable ngx_http_flv_module
|
638
|
358 --with-http_mp4_module enable ngx_http_mp4_module
|
358
|
359 --with-http_gzip_static_module enable ngx_http_gzip_static_module
|
406
|
360 --with-http_random_index_module enable ngx_http_random_index_module
|
412
|
361 --with-http_secure_link_module enable ngx_http_secure_link_module
|
546
|
362 --with-http_degradation_module enable ngx_http_degradation_module
|
300
|
363 --with-http_stub_status_module enable ngx_http_stub_status_module
|
184
|
364
|
28
|
365 --without-http_charset_module disable ngx_http_charset_module
|
|
366 --without-http_gzip_module disable ngx_http_gzip_module
|
50
|
367 --without-http_ssi_module disable ngx_http_ssi_module
|
28
|
368 --without-http_userid_module disable ngx_http_userid_module
|
|
369 --without-http_access_module disable ngx_http_access_module
|
52
|
370 --without-http_auth_basic_module disable ngx_http_auth_basic_module
|
28
|
371 --without-http_autoindex_module disable ngx_http_autoindex_module
|
34
|
372 --without-http_geo_module disable ngx_http_geo_module
|
238
|
373 --without-http_map_module disable ngx_http_map_module
|
570
|
374 --without-http_split_clients_module disable ngx_http_split_clients_module
|
130
|
375 --without-http_referer_module disable ngx_http_referer_module
|
28
|
376 --without-http_rewrite_module disable ngx_http_rewrite_module
|
|
377 --without-http_proxy_module disable ngx_http_proxy_module
|
|
378 --without-http_fastcgi_module disable ngx_http_fastcgi_module
|
576
|
379 --without-http_uwsgi_module disable ngx_http_uwsgi_module
|
580
|
380 --without-http_scgi_module disable ngx_http_scgi_module
|
130
|
381 --without-http_memcached_module disable ngx_http_memcached_module
|
648
|
382 --without-http_limit_conn_module disable ngx_http_limit_conn_module
|
416
|
383 --without-http_limit_req_module disable ngx_http_limit_req_module
|
130
|
384 --without-http_empty_gif_module disable ngx_http_empty_gif_module
|
238
|
385 --without-http_browser_module disable ngx_http_browser_module
|
260
|
386 --without-http_upstream_ip_hash_module
|
|
387 disable ngx_http_upstream_ip_hash_module
|
0
|
388
|
148
|
389 --with-http_perl_module enable ngx_http_perl_module
|
646
|
390 --with-perl_modules_path=PATH set Perl modules path
|
|
391 --with-perl=PATH set perl binary pathname
|
148
|
392
|
646
|
393 --http-log-path=PATH set http access log pathname
|
|
394 --http-client-body-temp-path=PATH set path to store
|
|
395 http client request body temporary files
|
|
396 --http-proxy-temp-path=PATH set path to store
|
|
397 http proxy temporary files
|
|
398 --http-fastcgi-temp-path=PATH set path to store
|
|
399 http fastcgi temporary files
|
|
400 --http-uwsgi-temp-path=PATH set path to store
|
|
401 http uwsgi temporary files
|
|
402 --http-scgi-temp-path=PATH set path to store
|
|
403 http scgi temporary files
|
28
|
404
|
78
|
405 --without-http disable HTTP server
|
464
|
406 --without-http-cache disable HTTP cache
|
78
|
407
|
338
|
408 --with-mail enable POP3/IMAP4/SMTP proxy module
|
290
|
409 --with-mail_ssl_module enable ngx_mail_ssl_module
|
338
|
410 --without-mail_pop3_module disable ngx_mail_pop3_module
|
|
411 --without-mail_imap_module disable ngx_mail_imap_module
|
|
412 --without-mail_smtp_module disable ngx_mail_smtp_module
|
78
|
413
|
370
|
414 --with-google_perftools_module enable ngx_google_perftools_module
|
394
|
415 --with-cpp_test_module enable ngx_cpp_test_module
|
370
|
416
|
300
|
417 --add-module=PATH enable an external module
|
|
418
|
646
|
419 --with-cc=PATH set C compiler pathname
|
|
420 --with-cpp=PATH set C preprocessor pathname
|
|
421 --with-cc-opt=OPTIONS set additional C compiler options
|
|
422 --with-ld-opt=OPTIONS set additional linker options
|
|
423 --with-cpu-opt=CPU build for the specified CPU, valid values:
|
162
|
424 pentium, pentiumpro, pentium3, pentium4,
|
|
425 athlon, opteron, sparc32, sparc64, ppc64
|
0
|
426
|
464
|
427 --without-pcre disable PCRE library usage
|
|
428 --with-pcre force PCRE library usage
|
28
|
429 --with-pcre=DIR set path to PCRE library sources
|
646
|
430 --with-pcre-opt=OPTIONS set additional build options for PCRE
|
656
|
431 --with-pcre-jit build PCRE with JIT compilation support
|
28
|
432
|
|
433 --with-md5=DIR set path to md5 library sources
|
646
|
434 --with-md5-opt=OPTIONS set additional build options for md5
|
28
|
435 --with-md5-asm use md5 assembler sources
|
0
|
436
|
202
|
437 --with-sha1=DIR set path to sha1 library sources
|
646
|
438 --with-sha1-opt=OPTIONS set additional build options for sha1
|
202
|
439 --with-sha1-asm use sha1 assembler sources
|
|
440
|
28
|
441 --with-zlib=DIR set path to zlib library sources
|
646
|
442 --with-zlib-opt=OPTIONS set additional build options for zlib
|
28
|
443 --with-zlib-asm=CPU use zlib assembler sources optimized
|
646
|
444 for the specified CPU, valid values:
|
28
|
445 pentium, pentiumpro
|
|
446
|
554
|
447 --with-libatomic force libatomic_ops library usage
|
|
448 --with-libatomic=DIR set path to libatomic_ops library sources
|
|
449
|
28
|
450 --with-openssl=DIR set path to OpenSSL library sources
|
646
|
451 --with-openssl-opt=OPTIONS set additional build options for OpenSSL
|
28
|
452
|
646
|
453 --with-debug enable debug logging
|
4
|
454
|
|
455 END
|
0
|
456
|
|
457 exit 1
|
|
458 fi
|
|
459
|
|
460
|
|
461 if [ $HTTP = NO ]; then
|
|
462 HTTP_CHARSET=NO
|
|
463 HTTP_GZIP=NO
|
|
464 HTTP_SSI=NO
|
|
465 HTTP_USERID=NO
|
|
466 HTTP_ACCESS=NO
|
|
467 HTTP_STATUS=NO
|
|
468 HTTP_REWRITE=NO
|
|
469 HTTP_PROXY=NO
|
28
|
470 HTTP_FASTCGI=NO
|
0
|
471 fi
|
|
472
|
|
473
|
18
|
474 if [ ".$NGX_PLATFORM" = ".win32" ]; then
|
10
|
475 NGX_WINE=$WINE
|
0
|
476 fi
|
|
477
|
|
478
|
482
|
479 NGX_CONF_PATH=${NGX_CONF_PATH:-conf/nginx.conf}
|
326
|
480 NGX_CONF_PREFIX=`dirname $NGX_CONF_PATH`
|
482
|
481 NGX_PID_PATH=${NGX_PID_PATH:-logs/nginx.pid}
|
|
482 NGX_LOCK_PATH=${NGX_LOCK_PATH:-logs/nginx.lock}
|
0
|
483
|
482
|
484 if [ ".$NGX_ERROR_LOG_PATH" = ".stderr" ]; then
|
|
485 NGX_ERROR_LOG_PATH=
|
|
486 else
|
|
487 NGX_ERROR_LOG_PATH=${NGX_ERROR_LOG_PATH:-logs/error.log}
|
|
488 fi
|
28
|
489
|
482
|
490 NGX_HTTP_LOG_PATH=${NGX_HTTP_LOG_PATH:-logs/access.log}
|
|
491 NGX_HTTP_CLIENT_TEMP_PATH=${NGX_HTTP_CLIENT_TEMP_PATH:-client_body_temp}
|
|
492 NGX_HTTP_PROXY_TEMP_PATH=${NGX_HTTP_PROXY_TEMP_PATH:-proxy_temp}
|
|
493 NGX_HTTP_FASTCGI_TEMP_PATH=${NGX_HTTP_FASTCGI_TEMP_PATH:-fastcgi_temp}
|
576
|
494 NGX_HTTP_UWSGI_TEMP_PATH=${NGX_HTTP_UWSGI_TEMP_PATH:-uwsgi_temp}
|
580
|
495 NGX_HTTP_SCGI_TEMP_PATH=${NGX_HTTP_SCGI_TEMP_PATH:-scgi_temp}
|
148
|
496
|
|
497 case ".$NGX_PERL_MODULES" in
|
|
498 ./*)
|
|
499 ;;
|
|
500
|
|
501 .)
|
|
502 ;;
|
|
503
|
|
504 *)
|
|
505 NGX_PERL_MODULES=$NGX_PREFIX/$NGX_PERL_MODULES
|
|
506 ;;
|
|
507 esac
|