Mercurial > hg > nginx-vendor-0-8
annotate auto/lib/libatomic/conf @ 554:5c576ea5dbd9 NGINX_0_8_29
nginx 0.8.29
*) Change: now the "009" status code is written to an access log for
proxied HTTP/0.9 responses.
*) Feature: the "addition_types", "charset_types", "gzip_types",
"ssi_types", "sub_filter_types", and "xslt_types" directives support
an "*" parameter.
*) Feature: GCC 4.1+ built-in atomic operations usage.
Thanks to W-Mark Kubacki.
*) Feature: the --with-libatomic[=DIR] option in the configure.
Thanks to W-Mark Kubacki.
*) Bugfix: listen unix domain socket had limited access rights.
*) Bugfix: cached HTTP/0.9 responses were handled incorrectly.
*) Bugfix: regular expression named captures given by "?P<...>" did not
work in a "server_name" directive.
Thanks to Maxim Dounin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 30 Nov 2009 00:00:00 +0300 |
parents | |
children | 25255878df91 |
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 | |
17 ngx_feature_incs="#include <atomic_ops.h>" | |
18 ngx_feature_path= | |
19 ngx_feature_libs="-latomic_ops" | |
20 ngx_feature_test="long n = 0; | |
21 if (!AO_compare_and_swap(&n, 0, 1)) | |
22 return 1; | |
23 if (AO_fetch_and_add(&n, 1) != 1) | |
24 return 1; | |
25 if (n != 2) | |
26 return 1; | |
27 AO_nop();" | |
28 . auto/feature | |
29 | |
30 if [ $ngx_found = yes ]; then | |
31 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" | |
32 else | |
33 | |
34 cat << END | |
35 | |
36 $0: error: libatomic_ops library was not found. | |
37 | |
38 END | |
39 exit 1 | |
40 fi | |
41 fi |