]> git.kaiwu.me - nginx.git/commitdiff
Fix of building by Microsoft Visual C++ 10 compiler.
authorIgor Sysoev <igor@sysoev.ru>
Wed, 26 Oct 2011 08:16:59 +0000 (08:16 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 26 Oct 2011 08:16:59 +0000 (08:16 +0000)
auto/cc/name

index d197fc59b17a82d16a7e294e5dbae636ec14b1dc..8788bc6627da53f69a841785cc62fb52f05a3cd6 100644 (file)
@@ -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 16' \
+        >/dev/null 2>&1`; then
+
+        NGX_CC_NAME=msvc10
+        echo " + using Microsoft Visual C++ 10 compiler"
+
+    else if `$NGX_WINE $CC -v 2>&1 \
         | grep '^Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14' \
         >/dev/null 2>&1`; then
 
@@ -43,6 +50,7 @@ if [ "$CC" = cl ]; then
         echo " + using Microsoft Visual C++ compiler"
     fi
     fi
+    fi
 
 else
 if [ "$CC" = wcl386 ]; then