comparison auto/cc/conf @ 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 ngx_include_opt="-I "
6 ngx_compile_opt="-c"
7 ngx_objout="-o "
8 ngx_binout="-o "
9 ngx_objext="o"
10 ngx_binext=
11
12 ngx_regex_dirsep="\/"
13 ngx_dirsep='/'
14
15 ngx_regex_cont=' \\\
16 '
17 ngx_cont=' \
18 '
19 ngx_tab=' \
20 '
21 ngx_spacer=
22
23 . auto/cc/name
24
25 if test -n "$CFLAGS"; then
26
27 CC_TEST_FLAGS="$CFLAGS $NGX_CC_OPT"
28
29 case $NGX_CC_NAME in
30
31 ccc)
32 # Compaq C V6.5-207
33
34 ngx_include_opt="-I"
35 ;;
36
37 esac
38
39 else
40
41 case $NGX_CC_NAME in
42 gcc)
43 # gcc 2.7.2.3, 2.8.1, 2.95.4,
44 # 3.0.4, 3.1.1, 3.2.3, 3.3.2, 3.3.3, 3.3.4, 3.4
45
46 . auto/cc/gcc
47 ;;
48
49 icc)
50 # Intel C++ compiler 7.1, 8.0
51
52 . auto/cc/icc
53 ;;
54
55 # ccc)
56 # # Compaq C V6.5-207
57 #
58 # . auto/cc/ccc
59 # ;;
60
61 # acc)
62 # # aCC: HP ANSI C++ B3910B A.03.55.02
63 #
64 # . auto/cc/acc
65 # ;;
66
67 msvc)
68 # MSVC 6.0 SP2
69
70 . auto/cc/msvc
71 ;;
72
73 owc)
74 # Open Watcom C 1.0, 1.2
75
76 . auto/cc/owc
77 ;;
78
79 bcc)
80 # Borland C++ 5.5
81
82 . auto/cc/bcc
83 ;;
84
85 esac
86
87 CC_TEST_FLAGS=$NGX_CC_OPT
88
89 fi
90
91 CFLAGS="$CFLAGS $NGX_CC_OPT"
92
93
94 if [ "$PLATFORM" != win32 ]; then
95
96 ngx_feature="gcc variadic macros"
97 ngx_feature_name=HAVE_GCC_VARIADIC_MACROS
98 ngx_feature_run=yes
99 ngx_feature_incs="#include <stdio.h>
100 #define var(dummy, args...) sprintf(args)"
101 ngx_feature_libs=
102 ngx_feature_test="char buf[30]; buf[0] = '0';
103 var(0, buf, \"%d\", 1);
104 if (buf[0] != '1') return 1"
105 . auto/feature
106
107
108 ngx_feature="C99 variadic macros"
109 ngx_feature_name=HAVE_C99_VARIADIC_MACROS
110 ngx_feature_run=yes
111 ngx_feature_incs="#include <stdio.h>
112 #define var(dummy, ...) sprintf(__VA_ARGS__)"
113 ngx_feature_libs=
114 ngx_feature_test="char buf[30]; buf[0] = '0';
115 var(0, buf, \"%d\", 1);
116 if (buf[0] != '1') return 1"
117 . auto/feature
118
119 fi