comparison auto/cc/name @ 4:4b2dafa26fe2 NGINX_0_1_2

nginx 0.1.2 *) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS options in configure. *) Feature: the server_name directive supports *.domain.tld. *) Bugfix: the portability improvements. *) Bugfix: if configuration file was set in command line, the reconfiguration was impossible; bug appeared in 0.1.1. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used. *) Bugfix: with sendfile the response was not recoded according to the charset module directives; bug appeared in 0.1.1. *) Bugfix: very seldom bug in the kqueue processing. *) Bugfix: the gzip module compressed the proxied responses that was already compressed.
author Igor Sysoev <http://sysoev.ru>
date Thu, 21 Oct 2004 00:00:00 +0400
parents
children 46833bd150cb
comparison
equal deleted inserted replaced
3:8beaf7b3241f 4:4b2dafa26fe2
1
2 # Copyright (C) Igor Sysoev
3
4
5 echo $ngx_n "checking for C compiler ...$ngx_c"
6
7
8 if [ $CC = cl ]; then
9 NGX_CC_NAME=msvc
10 echo " using Microsoft Visual C compiler"
11
12 else
13 if [ $CC = wcl386 ]; then
14 NGX_CC_NAME=owc
15 echo " using Open Watcom C compiler"
16
17 else
18 if [ $CC = bcc32 ]; then
19 NGX_CC_NAME=bcc
20 echo " using Borland C++ compiler"
21
22 else
23 if `$CC -v 2>&1 | grep '^gcc version' 2>&1 >/dev/null`; then
24 NGX_CC_NAME=gcc
25 echo " using GNU C compiler"
26
27 else
28 if `$CC -V 2>&1 | grep '^Intel(R) C++ Compiler' 2>&1 >/dev/null`; then
29 NGX_CC_NAME=icc
30 echo " using Intel C++ compiler"
31
32 else
33 if `$CC -V 2>&1 | grep '^Compaq C' 2>&1 >/dev/null`; then
34 NGX_CC_NAME=ccc
35 echo " using Compaq C compiler"
36
37 else
38 if `$CC -V 2>&1 | grep '^aCC: ' 2>&1 >/dev/null`; then
39 NGX_CC_NAME=acc
40 echo " using HP aC++ compiler"
41
42 else
43 echo " unknown"
44
45 fi # acc
46 fi # ccc
47 fi # icc
48 fi # gcc
49 fi # bcc
50 fi # owc
51 fi # msvc