Mercurial > hg > nginx-vendor-current
annotate auto/lib/libatomic/conf @ 654:753f505670e0 NGINX_1_1_11
nginx 1.1.11
*) Feature: the "so_keepalive" parameter of the "listen" directive.
Thanks to Vsevolod Stakhov.
*) Feature: the "if_not_empty" parameter of the
"fastcgi/scgi/uwsgi_param" directives.
*) Feature: the $https variable.
*) Feature: the "proxy_redirect" directive supports variables in the
first parameter.
*) Feature: the "proxy_redirect" directive supports regular expressions.
*) Bugfix: the $sent_http_cache_control variable might contain a wrong
value if the "expires" directive was used.
Thanks to Yichun Zhang.
*) Bugfix: the "read_ahead" directive might not work combined with
"try_files" and "open_file_cache".
*) Bugfix: a segmentation fault might occur in a worker process if small
time was used in the "inactive" parameter of the "proxy_cache_path"
directive.
*) Bugfix: responses from cache might hang.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 12 Dec 2011 00:00:00 +0400 |
parents | 25255878df91 |
children | d0f7a625f27c |
rev | line source |
---|---|
554 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
5 if [ $NGX_LIBATOMIC != YES ]; then | |
6 | |
7 have=NGX_HAVE_LIBATOMIC . auto/have | |
8 CORE_INCS="$CORE_INCS $NGX_LIBATOMIC/src" | |
9 LINK_DEPS="$LINK_DEPS $NGX_LIBATOMIC/src/libatomic_ops.a" | |
10 CORE_LIBS="$CORE_LIBS $NGX_LIBATOMIC/src/libatomic_ops.a" | |
11 | |
12 else | |
13 | |
14 ngx_feature="atomic_ops library" | |
15 ngx_feature_name=NGX_HAVE_LIBATOMIC | |
16 ngx_feature_run=yes | |
556 | 17 ngx_feature_incs="#define AO_REQUIRE_CAS |
18 #include <atomic_ops.h>" | |
554 | 19 ngx_feature_path= |
20 ngx_feature_libs="-latomic_ops" | |
21 ngx_feature_test="long n = 0; | |
22 if (!AO_compare_and_swap(&n, 0, 1)) | |
23 return 1; | |
24 if (AO_fetch_and_add(&n, 1) != 1) | |
25 return 1; | |
26 if (n != 2) | |
27 return 1; | |
28 AO_nop();" | |
29 . auto/feature | |
30 | |
31 if [ $ngx_found = yes ]; then | |
32 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" | |
33 else | |
34 | |
35 cat << END | |
36 | |
37 $0: error: libatomic_ops library was not found. | |
38 | |
39 END | |
40 exit 1 | |
41 fi | |
42 fi |