annotate auto/lib/libgd/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 6484cbba0222
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
484
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
1
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
2 # Copyright (C) Igor Sysoev
644
ad25218fd14b nginx 1.0.12
Igor Sysoev <http://sysoev.ru>
parents: 486
diff changeset
3 # Copyright (C) Nginx, Inc.
484
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
4
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
5
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
6 ngx_feature="GD library"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
7 ngx_feature_name=
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 ngx_feature_run=no
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
9 ngx_feature_incs="#include <gd.h>"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
10 ngx_feature_path=
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
11 ngx_feature_libs="-lgd"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
12 ngx_feature_test="gdImagePtr img = gdImageCreateFromGifPtr(1, NULL);"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
13 . auto/feature
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
14
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
15
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
16 if [ $ngx_found = no ]; then
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
17
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
18 # FreeBSD port
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
19
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
20 ngx_feature="GD library in /usr/local/"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
21 ngx_feature_path="/usr/local/include"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
22
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
23 if [ $NGX_RPATH = YES ]; then
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
24 ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lgd"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
25 else
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
26 ngx_feature_libs="-L/usr/local/lib -lgd"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
27 fi
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
28
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
29 . auto/feature
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
30 fi
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
31
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
32
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
33 if [ $ngx_found = no ]; then
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
34
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
35 # NetBSD port
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
36
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
37 ngx_feature="GD library in /usr/pkg/"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
38 ngx_feature_path="/usr/pkg/include/"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
39
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
40 if [ $NGX_RPATH = YES ]; then
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
41 ngx_feature_libs="-R/usr/pkg/lib -L/usr/pkg/lib -lgd"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
42 else
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
43 ngx_feature_libs="-L/usr/pkg/lib -lgd"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
44 fi
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
45
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
46 . auto/feature
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
47 fi
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
48
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
49
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
50 if [ $ngx_found = no ]; then
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
51
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
52 # MacPorts
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
53
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
54 ngx_feature="GD library in /opt/local/"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
55 ngx_feature_path="/opt/local/include"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
56
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
57 if [ $NGX_RPATH = YES ]; then
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
58 ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lgd"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
59 else
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
60 ngx_feature_libs="-L/opt/local/lib -lgd"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
61 fi
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
62
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
63 . auto/feature
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
64 fi
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
65
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
66
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
67 if [ $ngx_found = yes ]; then
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
68
486
6484cbba0222 nginx 0.7.55
Igor Sysoev <http://sysoev.ru>
parents: 484
diff changeset
69 CORE_INCS="$CORE_INCS $ngx_feature_path"
484
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
70 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
71
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
72 else
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
73
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
74 cat << END
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
75
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
76 $0: error: the HTTP image filter module requires the GD library.
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
77 You can either do not enable the module or install the libraries.
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
78
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
79 END
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
80
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
81 exit 1
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
82
ed5e10fb40fc nginx 0.7.54
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
83 fi