Mercurial > hg > nginx-vendor-0-8
annotate auto/types/typedef @ 50:72eb30262aac NGINX_0_1_25
nginx 0.1.25
*) Bugfix: nginx did run on Linux parisc.
*) Feature: nginx now does not start under FreeBSD if the sysctl
kern.ipc.somaxconn value is too big.
*) Bugfix: if a request was internally redirected by the
ngx_http_index_module module to the ngx_http_proxy_module or
ngx_http_fastcgi_module modules, then the index file was not closed
after request completion.
*) Feature: the "proxy_pass" can be used in location with regular
expression.
*) Feature: the ngx_http_rewrite_filter_module module supports the
condition like "if ($HTTP_USER_AGENT ~ MSIE)".
*) Bugfix: nginx started too slow if the large number of addresses and
text values were used in the "geo" directive.
*) Change: a variable name must be declared as "$name" in the "geo"
directive. The previous variant without "$" is still supported, but
will be removed soon.
*) Feature: the "%{VARIABLE}v" logging parameter.
*) Feature: the "set $name value" directive.
*) Bugfix: gcc 4.0 compatibility.
*) Feature: the --with-openssl-opt=OPTIONS autoconfiguration directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Sat, 19 Mar 2005 00:00:00 +0300 |
parents | 4b2dafa26fe2 |
children | 91372f004adf |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
4 | 5 echo $ngx_n "checking for $ngx_type ...$ngx_c" |
6 | |
7 cat << END >> $NGX_AUTOCONF_ERR | |
0 | 8 |
4 | 9 ---------------------------------------- |
10 checking for $ngx_type | |
0 | 11 |
4 | 12 END |
13 | |
14 ngx_found=no | |
15 | |
16 for ngx_try in $ngx_type $ngx_types | |
0 | 17 do |
18 | |
19 cat << END > $NGX_AUTOTEST.c | |
20 | |
21 #include <sys/types.h> | |
22 #include <signal.h> | |
23 #include <sys/socket.h> | |
24 #include <sys/time.h> | |
25 #include <sys/resource.h> | |
26 #include <netinet/in.h> | |
4 | 27 $NGX_INCLUDE_INTTYPES_H |
0 | 28 |
29 int main() { | |
4 | 30 $ngx_try i = 0; |
0 | 31 return 0; |
32 } | |
33 | |
34 END | |
35 | |
4 | 36 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS -o $NGX_AUTOTEST $NGX_AUTOTEST.c" |
37 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" | |
0 | 38 |
39 if [ -x $NGX_AUTOTEST ]; then | |
4 | 40 if [ $ngx_try = $ngx_type ]; then |
0 | 41 echo " found" |
4 | 42 ngx_found=yes |
0 | 43 else |
4 | 44 echo ", $ngx_try used" |
45 ngx_found=$ngx_try | |
0 | 46 fi |
47 fi | |
48 | |
4 | 49 rm -f $NGX_AUTOTEST |
50 | |
51 if [ $ngx_found = no ]; then | |
52 echo $ngx_n " $ngx_try not found$ngx_c" | |
0 | 53 |
4 | 54 echo "----------" >> $NGX_AUTOCONF_ERR |
55 cat $NGX_AUTOTEST.c >> $NGX_AUTOCONF_ERR | |
56 echo "----------" >> $NGX_AUTOCONF_ERR | |
57 echo $ngx_test >> $NGX_AUTOCONF_ERR | |
58 echo "----------" >> $NGX_AUTOCONF_ERR | |
59 | |
0 | 60 else |
61 break | |
62 fi | |
63 done | |
64 | |
4 | 65 if [ $ngx_found = no ]; then |
0 | 66 echo |
67 echo "$0: error: can not define $ngx_type" | |
4 | 68 |
0 | 69 exit 1 |
70 fi | |
71 | |
4 | 72 if [ $ngx_found != yes ]; then |
73 echo "typedef $ngx_found $ngx_type;" >> $NGX_AUTO_CONFIG_H | |
0 | 74 fi |