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