Mercurial > hg > nginx-vendor-0-7
annotate auto/endianess @ 274:052a7b1d40e5 NGINX_0_5_7
nginx 0.5.7
*) Feature: the ssl_session_cache storage optimization.
*) Bugfixes in the "ssl_session_cache" and "limit_zone" directives.
*) Bugfix: the segmentation fault was occurred on start or while
reconfiguration if the "ssl_session_cache" or "limit_zone"
directives were used on 64-bit platforms.
*) Bugfix: a segmentation fault occurred if the "add_before_body" or
"add_after_body" directives were used and there was no
"Content-Type" header line in response.
*) Bugfix: the OpenSSL library was always built with the threads
support.
Thanks to Den Ivanov.
*) Bugfix: the PCRE-6.5+ library and the icc compiler compatibility.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 15 Jan 2007 00:00:00 +0300 |
parents | c982febb7588 |
children |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
4 | 5 echo $ngx_n "checking for system endianess ...$ngx_c" |
0 | 6 echo >> $NGX_ERR |
7 echo "checking for system endianess" >> $NGX_ERR | |
8 | |
9 | |
10 cat << END > $NGX_AUTOTEST.c | |
11 | |
12 int main() { | |
13 int i = 0x11223344; | |
14 char *p; | |
15 | |
16 p = (char *) &i; | |
17 if (*p == 0x44) return 0; | |
18 return 1; | |
19 } | |
20 | |
21 END | |
22 | |
132 | 23 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ |
126 | 24 -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" |
25 | |
26 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" | |
0 | 27 |
28 if [ -x $NGX_AUTOTEST ]; then | |
236 | 29 if $NGX_AUTOTEST >/dev/null 2>&1; then |
0 | 30 echo " little endianess" |
18 | 31 have=NGX_HAVE_LITTLE_ENDIAN . auto/have |
0 | 32 else |
33 echo " big endianess" | |
34 fi | |
35 | |
36 rm $NGX_AUTOTEST* | |
37 | |
38 else | |
39 rm $NGX_AUTOTEST* | |
40 | |
41 echo | |
42 echo "$0: error: can not detect system endianess" | |
43 exit 1 | |
44 fi |