comparison auto/cc/name @ 1639:7d125a707158

msvc8 compatibility: it can not build with debug under Wine
author Igor Sysoev <igor@sysoev.ru>
date Thu, 15 Nov 2007 14:22:12 +0000
parents 756e8a5b1f78
children fbd6d1e5cdef
comparison
equal deleted inserted replaced
1638:59abcddc013a 1639:7d125a707158
23 fi 23 fi
24 24
25 25
26 if [ "$CC" = cl ]; then 26 if [ "$CC" = cl ]; then
27 if `$NGX_WINE $CC -v 2>&1 \ 27 if `$NGX_WINE $CC -v 2>&1 \
28 | grep '^Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14' \
29 >/dev/null 2>&1`; then
30
31 NGX_CC_NAME=msvc8
32 echo " + using Microsoft Visual C++ 8 compiler"
33
34 else if `$NGX_WINE $CC -v 2>&1 \
28 | grep '^Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13' \ 35 | grep '^Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13' \
29 >/dev/null 2>&1`; then 36 >/dev/null 2>&1`; then
30 37
31 NGX_CC_NAME=msvc7 38 NGX_CC_NAME=msvc7
32 echo " + using Microsoft Visual C++ 7 compiler" 39 echo " + using Microsoft Visual C++ 7 compiler"
33 40
34 else 41 else
35 NGX_CC_NAME=msvc 42 NGX_CC_NAME=msvc
36 echo " + using Microsoft Visual C++ compiler" 43 echo " + using Microsoft Visual C++ compiler"
44 fi
37 fi 45 fi
38 46
39 else 47 else
40 if [ "$CC" = wcl386 ]; then 48 if [ "$CC" = wcl386 ]; then
41 NGX_CC_NAME=owc 49 NGX_CC_NAME=owc