Mercurial > hg > nginx-vendor-1-0
annotate auto/lib/zlib/conf @ 644:ad25218fd14b NGINX_1_0_12
nginx 1.0.12
*) Feature: the "TLSv1.1" and "TLSv1.2" parameters of the
"ssl_protocols" directive.
*) Feature: the "if" SSI command supports captures in regular
expressions.
*) Bugfix: the "if" SSI command did not work inside the "block" command.
*) Bugfix: in AIO error handling on FreeBSD.
*) Bugfix: in the OpenSSL library initialization.
*) Bugfix: the "worker_cpu_affinity" directive might not work.
*) Bugfix: the "limit_conn_log_level" and "limit_req_log_level"
directives might not work.
*) Bugfix: the "read_ahead" directive might not work combined with
"try_files" and "open_file_cache".
*) Bugfix: the "proxy_cache_use_stale" directive with "error" parameter
did not return answer from cache if there were no live upstreams.
*) 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.
*) Bugfix: in error handling while connecting to a backend.
Thanks to Piotr Sikora.
*) Bugfix: in the "epoll" event method.
Thanks to Yichun Zhang.
*) Bugfix: the $sent_http_cache_control variable might contain a wrong
value if the "expires" directive was used.
Thanks to Yichun Zhang.
*) Bugfix: the "limit_rate" directive did not allow to use full
throughput, even if limit value was very high.
*) Bugfix: the "sendfile_max_chunk" directive did not work, if the
"limit_rate" directive was used.
*) Bugfix: nginx could not be built on Solaris; the bug had appeared in
1.0.11.
*) Bugfix: in the ngx_http_scgi_module.
*) Bugfix: in the ngx_http_mp4_module.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 06 Feb 2012 00:00:00 +0400 |
parents | 53f5f04a64b8 |
children |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
644 | 3 # Copyright (C) Nginx, Inc. |
0 | 4 |
5 | |
6 if [ $ZLIB != NONE ]; then | |
7 CORE_INCS="$CORE_INCS $ZLIB" | |
8 | |
4 | 9 case "$NGX_CC_NAME" in |
0 | 10 |
10 | 11 msvc* | owc* | bcc) |
0 | 12 LINK_DEPS="$LINK_DEPS $ZLIB/zlib.lib" |
13 CORE_LIBS="$CORE_LIBS $ZLIB/zlib.lib" | |
14 ;; | |
15 | |
10 | 16 icc*) |
0 | 17 LINK_DEPS="$LINK_DEPS $ZLIB/libz.a" |
18 | |
19 # to allow -ipo optimization we link with the *.o but not library | |
20 CORE_LIBS="$CORE_LIBS $ZLIB/adler32.o" | |
21 CORE_LIBS="$CORE_LIBS $ZLIB/crc32.o" | |
22 CORE_LIBS="$CORE_LIBS $ZLIB/deflate.o" | |
23 CORE_LIBS="$CORE_LIBS $ZLIB/trees.o" | |
24 CORE_LIBS="$CORE_LIBS $ZLIB/zutil.o" | |
42 | 25 CORE_LIBS="$CORE_LIBS $ZLIB/compress.o" |
0 | 26 |
27 if [ $ZLIB_ASM != NO ]; then | |
28 CORE_LIBS="$CORE_LIBS $ZLIB/match.o" | |
29 fi | |
30 ;; | |
31 | |
32 *) | |
33 LINK_DEPS="$LINK_DEPS $ZLIB/libz.a" | |
34 CORE_LIBS="$CORE_LIBS $ZLIB/libz.a" | |
35 #CORE_LIBS="$CORE_LIBS -L $ZLIB -lz" | |
36 ;; | |
37 | |
38 esac | |
39 | |
40 else | |
41 | |
42 | 42 if [ "$NGX_PLATFORM" != win32 ]; then |
4 | 43 ZLIB=NO |
0 | 44 |
45 # FreeBSD, Solaris, Linux | |
46 | |
4 | 47 ngx_feature="zlib library" |
18 | 48 ngx_feature_name= |
4 | 49 ngx_feature_run=no |
50 ngx_feature_incs="#include <zlib.h>" | |
258 | 51 ngx_feature_path= |
4 | 52 ngx_feature_libs="-lz" |
53 ngx_feature_test="z_stream z; deflate(&z, Z_NO_FLUSH)" | |
54 . auto/feature | |
0 | 55 |
56 | |
57 if [ $ngx_found = yes ]; then | |
4 | 58 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" |
0 | 59 ZLIB=YES |
4 | 60 ngx_found=no |
586 | 61 fi |
62 fi | |
496 | 63 |
586 | 64 if [ $ZLIB != YES ]; then |
496 | 65 cat << END |
66 | |
67 $0: error: the HTTP gzip module requires the zlib library. | |
68 You can either disable the module by using --without-http_gzip_module | |
69 option, or install the zlib library into the system, or build the zlib library | |
70 statically from the source with nginx by using --with-zlib=<path> option. | |
71 | |
72 END | |
586 | 73 exit 1 |
0 | 74 fi |
75 | |
76 fi |