view auto/init @ 277:e91499541410

nginx-0.0.2-2004-03-03-19:14:15 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 03 Mar 2004 16:14:15 +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