comparison auto/init @ 250:1903c6821958

nginx-0.0.2-2004-02-03-23:27:11 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 03 Feb 2004 20:27:11 +0000
parents 00cafae0bdf1
children 98c77ca0f354
comparison
equal deleted inserted replaced
249:2a0540287298 250:1903c6821958
4 NGX_AUTO_CONFIG_H=$OBJS/ngx_auto_config.h 4 NGX_AUTO_CONFIG_H=$OBJS/ngx_auto_config.h
5 NGX_MODULES_C=$OBJS/ngx_modules.c 5 NGX_MODULES_C=$OBJS/ngx_modules.c
6 6
7 NGX_AUTOTEST=$OBJS/autotest 7 NGX_AUTOTEST=$OBJS/autotest
8 NGX_ERR=$OBJS/autoconf.err 8 NGX_ERR=$OBJS/autoconf.err
9
10
11 # checking echo's "-n" option and "\c" capabilties
12
13 if echo "test\c" | grep c >/dev/null; then
14 if echo -n test | grep n >/dev/null; then
15 ngx_n=
16 ngx_c=
17 else
18 ngx_n=-n
19 ngx_c=
20 fi
21
22 else
23 ngx_n=
24 ngx_c='\c'
25 fi