aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-02-09 16:30:01 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-02-09 16:30:01 +0000
commitf14d69e4cc76323296f10f5fc1fefedd81f9f6ec (patch)
treef0a52b00b31e154a3179678d4410fc87edda69f4
parent7af6b16936b630feabecbce0dbc9cf84b4943481 (diff)
downloadnginx-f14d69e4cc76323296f10f5fc1fefedd81f9f6ec.tar.gz
nginx-f14d69e4cc76323296f10f5fc1fefedd81f9f6ec.zip
nginx-0.0.2-2004-02-09-19:30:01 import
-rw-r--r--auto/func2
-rw-r--r--auto/init2
2 files changed, 3 insertions, 1 deletions
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