Mercurial > hg > nginx-vendor-current
annotate auto/func @ 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 | f0b350454894 |
children |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
5 echo $ngx_n "checking for $ngx_func ..." $ngx_c | |
6 echo >> $NGX_ERR | |
7 echo "checking for $ngx_func" >> $NGX_ERR | |
8 | |
9 ngx_found=no | |
10 | |
11 func=`echo $ngx_func | sed -e 's/()$//' | tr '[a-z]' '[A-Z]'` | |
12 | |
13 cat << END > $NGX_AUTOTEST.c | |
14 | |
15 #include <sys/types.h> | |
16 $NGX_UNISTD_H | |
17 $ngx_func_inc | |
18 | |
19 int main() { | |
20 $ngx_func_test; | |
21 return 0; | |
22 } | |
23 | |
24 END | |
25 | |
26 test="$CC_WARN $CC_TEST_FLAGS -o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_func_libs" | |
27 eval "$test >> $NGX_ERR 2>&1" | |
28 | |
29 if [ -x $NGX_AUTOTEST ]; then | |
30 echo " found" | |
31 have=HAVE_$func . auto/have | |
32 ngx_found=yes | |
33 | |
34 else | |
35 echo " not found" | |
36 echo "---------" >> $NGX_ERR | |
37 cat $NGX_AUTOTEST.c >> $NGX_ERR | |
38 echo "---------" >> $NGX_ERR | |
39 echo $test >> $NGX_ERR | |
40 echo "---------" >> $NGX_ERR | |
41 fi | |
42 | |
43 rm $NGX_AUTOTEST* |