summaryrefslogtreecommitdiffhomepage
path: root/auto/cc/name
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-11-15 14:22:12 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-11-15 14:22:12 +0000
commita7e01da1636405988d96dfd2dbb2699241f24bbc (patch)
treef13ea1fe79c47c5eab5e450c0368c79ced6644b0 /auto/cc/name
parent0ebcba57f0fd51c71498ae23e4baee651e265977 (diff)
downloadnginx-a7e01da1636405988d96dfd2dbb2699241f24bbc.tar.gz
nginx-a7e01da1636405988d96dfd2dbb2699241f24bbc.tar.bz2
msvc8 compatibility: it can not build with debug under Wine
Diffstat (limited to 'auto/cc/name')
-rw-r--r--auto/cc/name8
1 files changed, 8 insertions, 0 deletions
diff --git a/auto/cc/name b/auto/cc/name
index a673e920b..d197fc59b 100644
--- a/auto/cc/name
+++ b/auto/cc/name
@@ -25,6 +25,13 @@ fi
if [ "$CC" = cl ]; then
if `$NGX_WINE $CC -v 2>&1 \
+ | grep '^Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14' \
+ >/dev/null 2>&1`; then
+
+ NGX_CC_NAME=msvc8
+ echo " + using Microsoft Visual C++ 8 compiler"
+
+ else if `$NGX_WINE $CC -v 2>&1 \
| grep '^Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13' \
>/dev/null 2>&1`; then
@@ -35,6 +42,7 @@ if [ "$CC" = cl ]; then
NGX_CC_NAME=msvc
echo " + using Microsoft Visual C++ compiler"
fi
+ fi
else
if [ "$CC" = wcl386 ]; then