diff --git a/auto/func b/auto/func index acbab9c95..fcbbe0183 100644 --- a/auto/func +++ b/auto/func @@ -19,7 +19,7 @@ int main() { END -eval "$CC $CC_TEST_FLAGS -o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_func_libs \ +eval "$CC_WARN $CC_TEST_FLAGS -o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_func_libs \ >> $NGX_ERR 2>&1" if [ -x $NGX_AUTOTEST ]; then diff --git a/auto/init b/auto/init index 50971dd58..8bd4b8b07 100644 --- a/auto/init +++ b/auto/init @@ -7,6 +7,8 @@ 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