comparison auto/types/uintptr_t @ 668:9fbf3ad94cbf NGINX_1_1_18

nginx 1.1.18 *) Change: keepalive connections are no longer disabled for Safari by default. *) Feature: the $connection_requests variable. *) Feature: $tcpinfo_rtt, $tcpinfo_rttvar, $tcpinfo_snd_cwnd and $tcpinfo_rcv_space variables. *) Feature: the "worker_cpu_affinity" directive now works on FreeBSD. *) Feature: the "xslt_param" and "xslt_string_param" directives. Thanks to Samuel Behan. *) Bugfix: in configure tests. Thanks to Piotr Sikora. *) Bugfix: in the ngx_http_xslt_filter_module. *) Bugfix: nginx could not be built on Debian GNU/Hurd.
author Igor Sysoev <http://sysoev.ru>
date Wed, 28 Mar 2012 00:00:00 +0400
parents d0f7a625f27c
children
comparison
equal deleted inserted replaced
667:e0eabdb2bad1 668:9fbf3ad94cbf
2 # Copyright (C) Igor Sysoev 2 # Copyright (C) Igor Sysoev
3 # Copyright (C) Nginx, Inc. 3 # Copyright (C) Nginx, Inc.
4 4
5 5
6 echo $ngx_n "checking for uintptr_t ...$ngx_c" 6 echo $ngx_n "checking for uintptr_t ...$ngx_c"
7 echo >> $NGX_ERR 7 echo >> $NGX_AUTOCONF_ERR
8 echo "checking for uintptr_t" >> $NGX_ERR 8 echo "checking for uintptr_t" >> $NGX_AUTOCONF_ERR
9 9
10 found=no 10 found=no
11 11
12 cat << END > $NGX_AUTOTEST.c 12 cat << END > $NGX_AUTOTEST.c
13 13
14 #include <sys/types.h> 14 #include <sys/types.h>
15 $NGX_INTTYPES_H 15 $NGX_INTTYPES_H
16 16
17 int main() { 17 int main() {
18 uintptr_t i = 0; 18 uintptr_t i = 0;
19 return 0; 19 return (int) i;
20 } 20 }
21 21
22 END 22 END
23 23
24 eval "$CC -o $NGX_AUTOTEST $NGX_AUTOTEST.c >> $NGX_ERR 2>&1" 24 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \
25 -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT"
26
27 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"
25 28
26 if [ -x $NGX_AUTOTEST ]; then 29 if [ -x $NGX_AUTOTEST ]; then
27 echo " uintptr_t found" 30 echo " uintptr_t found"
28 found=yes 31 found=yes
29 else 32 else