Mercurial > hg > nginx-vendor-current
annotate auto/lib/libatomic/conf @ 658:5a4401b9551b NGINX_1_1_13
nginx 1.1.13
*) Feature: the "TLSv1.1" and "TLSv1.2" parameters of the
"ssl_protocols" directive.
*) Bugfix: the "limit_req" directive parameters were not inherited
correctly; the bug had appeared in 1.1.12.
*) Bugfix: the "proxy_redirect" directive incorrectly processed
"Refresh" header if regular expression were used.
*) Bugfix: the "proxy_cache_use_stale" directive with "error" parameter
did not return answer from cache if there were no live upstreams.
*) Bugfix: the "worker_cpu_affinity" directive might not work.
*) Bugfix: nginx could not be built on Solaris; the bug had appeared in
1.1.12.
*) Bugfix: in the ngx_http_mp4_module.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 16 Jan 2012 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 |