Mercurial > hg > nginx-vendor-current
annotate auto/init @ 602:c5122335e41d NGINX_0_8_53
nginx 0.8.53
*) Feature: now the "error_page" directive allows to change a status
code in a redirect.
*) Feature: the "gzip_disable" directive supports special "degradation"
mask.
*) Bugfix: a socket leak might occurred if file AIO was used.
Thanks to Maxim Dounin.
*) Bugfix: if the first server had no "listen" directive and there was
no explicit default server, then a next server with a "listen"
directive became the default server; the bug had appeared in 0.8.21.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 18 Oct 2010 00:00:00 +0400 |
parents | 98143f74eb3d |
children | d0f7a625f27c |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
4 | 5 NGX_MAKEFILE=$NGX_OBJS/Makefile |
6 NGX_MODULES_C=$NGX_OBJS/ngx_modules.c | |
7 | |
8 NGX_AUTO_HEADERS_H=$NGX_OBJS/ngx_auto_headers.h | |
9 NGX_AUTO_CONFIG_H=$NGX_OBJS/ngx_auto_config.h | |
10 | |
11 NGX_AUTOTEST=$NGX_OBJS/autotest | |
12 NGX_AUTOCONF_ERR=$NGX_OBJS/autoconf.err | |
13 | |
14 # STUBs | |
18 | 15 NGX_ERR=$NGX_OBJS/autoconf.err |
16 MAKEFILE=$NGX_OBJS/Makefile | |
0 | 17 |
18 | |
4 | 19 NGX_PCH= |
20 NGX_USE_PCH= | |
0 | 21 |
22 | |
4 | 23 # check the echo's "-n" option and "\c" capability |
0 | 24 |
25 if echo "test\c" | grep c >/dev/null; then | |
4 | 26 |
0 | 27 if echo -n test | grep n >/dev/null; then |
28 ngx_n= | |
29 ngx_c= | |
4 | 30 |
0 | 31 else |
32 ngx_n=-n | |
33 ngx_c= | |
34 fi | |
35 | |
36 else | |
37 ngx_n= | |
38 ngx_c='\c' | |
39 fi | |
2 | 40 |
41 | |
4 | 42 # create Makefile |
2 | 43 |
4 | 44 cat << END > Makefile |
2 | 45 |
492 | 46 default: build |
2 | 47 |
48 clean: | |
4 | 49 rm -rf Makefile $NGX_OBJS |
2 | 50 END |