diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-10-26 08:16:59 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-10-26 08:16:59 +0000 |
commit | cfd5148e886d1b37814190483eac91b7d23b2876 (patch) | |
tree | 464a53b0eb2f51981b58a612661a3d3ff8d057b6 | |
parent | 59695881ce14428145c21e221429b33cb4437948 (diff) | |
download | nginx-cfd5148e886d1b37814190483eac91b7d23b2876.tar.gz nginx-cfd5148e886d1b37814190483eac91b7d23b2876.zip |
Fix of building by Microsoft Visual C++ 10 compiler.
-rw-r--r-- | auto/cc/name | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/auto/cc/name b/auto/cc/name index d197fc59b..8788bc662 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 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 |