[nginx] svn commit: r4230 - trunk/auto/cc

igor at sysoev.ru igor at sysoev.ru
Wed Oct 26 08:17:00 UTC 2011


Author: is
Date: 2011-10-26 08:16:59 +0000 (Wed, 26 Oct 2011)
New Revision: 4230

Modified:
   trunk/auto/cc/name
Log:
Fixing building by Microsoft Visual C++ 10 compiler.


Modified: trunk/auto/cc/name
===================================================================
--- trunk/auto/cc/name	2011-10-25 15:04:09 UTC (rev 4229)
+++ trunk/auto/cc/name	2011-10-26 08:16:59 UTC (rev 4230)
@@ -25,6 +25,13 @@
 
 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 @@
         echo " + using Microsoft Visual C++ compiler"
     fi
     fi
+    fi
 
 else
 if [ "$CC" = wcl386 ]; then



More information about the nginx-devel mailing list