Mercurial > hg > nginx-ranges
annotate auto/include @ 142:84910468f6de NGINX_0_3_18
nginx 0.3.18
*) Feature: the "server_names" directive supports the ".domain.tld"
names.
*) Feature: the "server_names" directive uses the hash for the
"*.domain.tld" names and more effective hash for usual names.
*) Change: the "server_names_hash_max_size" and
"server_names_hash_bucket_size" directives.
*) Change: the "server_names_hash" and "server_names_hash_threshold"
directives were canceled.
*) Feature: the "valid_referers" directive uses the hash site names.
*) Change: now the "valid_referers" directive checks the site names
only without the URI part.
*) Bugfix: some ".domain.tld" names incorrectly processed by the
ngx_http_map_module.
*) Bugfix: segmentation fault was occurred if configuration file did
not exist; bug appeared in 0.3.12.
*) Bugfix: on 64-bit platforms segmentation fault may occurred on
start; bug appeared in 0.3.16.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 26 Dec 2005 00:00:00 +0300 |
parents | df17fbafec8f |
children | 003bd800ec2a |
rev | line source |
---|---|
4 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
5 echo $ngx_n "checking for $ngx_include ...$ngx_c" | |
6 | |
7 cat << END >> $NGX_AUTOCONF_ERR | |
8 | |
9 ---------------------------------------- | |
10 checking for $ngx_include | |
11 | |
12 END | |
13 | |
14 | |
15 ngx_found=no | |
16 | |
17 cat << END > $NGX_AUTOTEST.c | |
18 | |
19 #include <$ngx_include> | |
20 | |
21 int main() { | |
22 return 0; | |
23 } | |
24 | |
25 END | |
26 | |
27 | |
28 ngx_test="$CC -o $NGX_AUTOTEST $NGX_AUTOTEST.c" | |
29 | |
30 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" | |
31 | |
32 if [ -x $NGX_AUTOTEST ]; then | |
33 | |
34 ngx_found=yes | |
35 | |
36 echo " found" | |
37 | |
38 ngx_name=`echo $ngx_include | sed -e 's/\./_/' -e 's/\//_/' \ | |
39 | tr '[a-z]' '[A-Z]'` | |
40 | |
41 | |
58 | 42 have=NGX_HAVE_$ngx_name . auto/have_headers |
4 | 43 |
44 eval "NGX_INCLUDE_$ngx_name='#include <$ngx_include>'" | |
45 | |
126 | 46 #STUB |
4 | 47 eval "NGX_$ngx_name='#include <$ngx_include>'" |
48 | |
49 else | |
50 echo " not found" | |
51 | |
52 echo "----------" >> $NGX_AUTOCONF_ERR | |
53 cat $NGX_AUTOTEST.c >> $NGX_AUTOCONF_ERR | |
54 echo "----------" >> $NGX_AUTOCONF_ERR | |
55 echo $ngx_test >> $NGX_AUTOCONF_ERR | |
56 echo "----------" >> $NGX_AUTOCONF_ERR | |
57 fi | |
58 | |
59 rm $NGX_AUTOTEST* |