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