view auto/init @ 272:d4e65d74db9f

nginx-0.0.2-2004-03-01-00:03:02 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 29 Feb 2004 21:03:02 +0000
parents 98c77ca0f354
children 7c7183b3ea8b
line wrap: on
line source


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