summaryrefslogtreecommitdiffhomepage
path: root/auto/init
blob: 8bd4b8b07d24d8f9390249de1b56b46d4ee2ec40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

MAKEFILE=$OBJS/Makefile

NGX_AUTO_CONFIG_H=$OBJS/ngx_auto_config.h
NGX_MODULES_C=$OBJS/ngx_modules.c

NGX_AUTOTEST=$OBJS/autotest
NGX_ERR=$OBJS/autoconf.err

CC_WARN=$CC


# checking echo's "-n" option and "\c" capabilties

if echo "test\c" | grep c >/dev/null; then
    if echo -n test | grep n >/dev/null; then
        ngx_n=
        ngx_c=
    else
        ngx_n=-n
        ngx_c=
    fi

else
    ngx_n=
    ngx_c='\c'
fi