Fix work keepalive and rewrite to named location
[nginx-catap.git] / auto / init
blob56ecb1908d8a8cd8889cc4eeeb1545ff1b0663d2
2 # Copyright (C) Igor Sysoev
5 NGX_MAKEFILE=$NGX_OBJS/Makefile
6 NGX_MODULES_C=$NGX_OBJS/ngx_modules.c
8 NGX_AUTO_HEADERS_H=$NGX_OBJS/ngx_auto_headers.h
9 NGX_AUTO_CONFIG_H=$NGX_OBJS/ngx_auto_config.h
11 NGX_AUTOTEST=$NGX_OBJS/autotest
12 NGX_AUTOCONF_ERR=$NGX_OBJS/autoconf.err
14 # STUBs
15 NGX_ERR=$NGX_OBJS/autoconf.err
16 MAKEFILE=$NGX_OBJS/Makefile
19 NGX_PCH=
20 NGX_USE_PCH=
23 # check the echo's "-n" option and "\c" capability
25 if echo "test\c" | grep c >/dev/null; then
27     if echo -n test | grep n >/dev/null; then
28         ngx_n=
29         ngx_c=
31     else
32         ngx_n=-n
33         ngx_c=
34     fi
36 else
37     ngx_n=
38     ngx_c='\c'
42 # create Makefile
44 cat << END > Makefile
46 default:        build
48 clean:
49         rm -rf Makefile $NGX_OBJS
50 END