annotate auto/lib/libxslt/conf @ 6359:dac6eda40475 stable-1.8

Resolver: fixed use-after-free memory accesses with CNAME. When several requests were waiting for a response, then after getting a CNAME response only the last request's context had the name updated. Contexts of other requests had the wrong name. This name was used by ngx_resolve_name_done() to find the node to remove the request context from. When the name was wrong, the request could not be properly cancelled, its context was freed but stayed linked to the node's waiting list. This happened e.g. when the first request was aborted or timed out before the resolving completed. When it completed, this triggered a use-after-free memory access by calling ctx->handler of already freed request context. The bug manifests itself by "could not cancel <name> resolving" alerts in error_log. When a request was responded with a CNAME, the request context kept the pointer to the original node's rn->u.cname. If the original node expired before the resolving timed out or completed with an error, this would trigger a use-after-free memory access via ctx->name in ctx->handler(). The fix is to keep ctx->name unmodified. The name from context is no longer used by ngx_resolve_name_done(). Instead, we now keep the pointer to resolver node to which this request is linked. Keeping the original name intact also improves logging.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 26 Jan 2016 16:46:59 +0300
parents d620f497c50f
children 85dea406e18f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2139
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
1
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
2 # Copyright (C) Igor Sysoev
4412
d620f497c50f Copyright updated.
Maxim Konovalov <maxim@nginx.com>
parents: 2299
diff changeset
3 # Copyright (C) Nginx, Inc.
2139
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
4
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
5
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
6 ngx_feature="libxslt"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
7 ngx_feature_name=
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
8 ngx_feature_run=no
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
9 ngx_feature_incs="#include <libxml/parser.h>
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
10 #include <libxml/tree.h>
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
11 #include <libxslt/xslt.h>
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
12 #include <libxslt/xsltInternals.h>
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
13 #include <libxslt/transform.h>
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
14 #include <libxslt/xsltutils.h>"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
15 ngx_feature_path="/usr/include/libxml2"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
16 ngx_feature_libs="-lxml2 -lxslt"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
17 ngx_feature_test="xmlParserCtxtPtr ctxt = NULL;
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
18 xsltStylesheetPtr sheet = NULL;
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
19 xmlDocPtr doc;
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
20 doc = xmlParseChunk(ctxt, NULL, 0, 0);
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
21 xsltApplyStylesheet(sheet, doc, NULL);"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
22 . auto/feature
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
23
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
24
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
25 if [ $ngx_found = no ]; then
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
26
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
27 # FreeBSD port
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
28
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
29 ngx_feature="libxslt in /usr/local/"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
30 ngx_feature_path="/usr/local/include/libxml2 /usr/local/include"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
31
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
32 if [ $NGX_RPATH = YES ]; then
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
33 ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lxml2 -lxslt"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
34 else
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
35 ngx_feature_libs="-L/usr/local/lib -lxml2 -lxslt"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
36 fi
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
37
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
38 . auto/feature
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
39 fi
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
40
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
41
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
42 if [ $ngx_found = no ]; then
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
43
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
44 # NetBSD port
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
45
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
46 ngx_feature="libxslt in /usr/pkg/"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
47 ngx_feature_path="/usr/pkg/include/libxml2 /usr/pkg/include"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
48
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
49 if [ $NGX_RPATH = YES ]; then
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
50 ngx_feature_libs="-R/usr/pkg/lib -L/usr/pkg/lib -lxml2 -lxslt"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
51 else
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
52 ngx_feature_libs="-L/usr/pkg/lib -lxml2 -lxslt"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
53 fi
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
54
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
55 . auto/feature
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
56 fi
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
57
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
58
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
59 if [ $ngx_found = no ]; then
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
60
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
61 # MacPorts
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
62
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
63 ngx_feature="libxslt in /opt/local/"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
64 ngx_feature_path="/opt/local/include/libxml2 /opt/local/include"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
65
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
66 if [ $NGX_RPATH = YES ]; then
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
67 ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lxml2 -lxslt"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
68 else
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
69 ngx_feature_libs="-L/opt/local/lib -lxml2 -lxslt"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
70 fi
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
71
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
72 . auto/feature
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
73 fi
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
74
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
75
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
76 if [ $ngx_found = yes ]; then
2173
11c59ecbd04f exit on libxslt test failure
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
77
2139
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
78 CORE_INCS="$CORE_INCS $ngx_feature_path"
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
79 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
2173
11c59ecbd04f exit on libxslt test failure
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
80
11c59ecbd04f exit on libxslt test failure
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
81 else
11c59ecbd04f exit on libxslt test failure
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
82
11c59ecbd04f exit on libxslt test failure
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
83 cat << END
11c59ecbd04f exit on libxslt test failure
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
84
11c59ecbd04f exit on libxslt test failure
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
85 $0: error: the HTTP XSLT module requires the libxml2/libxslt
11c59ecbd04f exit on libxslt test failure
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
86 libraries. You can either do not enable the module or install the libraries.
11c59ecbd04f exit on libxslt test failure
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
87
11c59ecbd04f exit on libxslt test failure
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
88 END
11c59ecbd04f exit on libxslt test failure
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
89
11c59ecbd04f exit on libxslt test failure
Igor Sysoev <igor@sysoev.ru>
parents: 2139
diff changeset
90 exit 1
2139
dad4423ef56a ngx_http_xslt_filter_module
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
91 fi
2299
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
92
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
93
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
94 ngx_feature="libexslt"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
95 ngx_feature_name=NGX_HAVE_EXSLT
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
96 ngx_feature_run=no
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
97 ngx_feature_incs="#include <libexslt/exslt.h>"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
98 ngx_feature_path="/usr/include/libxml2"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
99 ngx_feature_libs="-lexslt"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
100 ngx_feature_test="exsltRegisterAll();"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
101 . auto/feature
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
102
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
103 if [ $ngx_found = no ]; then
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
104
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
105 # FreeBSD port
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
106
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
107 ngx_feature="libexslt in /usr/local/"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
108 ngx_feature_path="/usr/local/include/libxml2 /usr/local/include"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
109
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
110 if [ $NGX_RPATH = YES ]; then
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
111 ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lexslt"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
112 else
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
113 ngx_feature_libs="-L/usr/local/lib -lexslt"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
114 fi
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
115
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
116 . auto/feature
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
117 fi
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
118
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
119
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
120 if [ $ngx_found = no ]; then
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
121
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
122 # NetBSD port
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
123
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
124 ngx_feature="libexslt in /usr/pkg/"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
125 ngx_feature_path="/usr/pkg/include/libxml2 /usr/local/include"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
126
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
127 if [ $NGX_RPATH = YES ]; then
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
128 ngx_feature_libs="-R/usr/pkg/lib -L/usr/pkg/lib -lexslt"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
129 else
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
130 ngx_feature_libs="-L/usr/pkg/lib -lexslt"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
131 fi
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
132
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
133 . auto/feature
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
134 fi
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
135
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
136
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
137 if [ $ngx_found = no ]; then
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
138
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
139 # MacPorts
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
140
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
141 ngx_feature="libexslt in /opt/local/"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
142 ngx_feature_path="/opt/local/include/libxml2 /opt/local/include"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
143
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
144 if [ $NGX_RPATH = YES ]; then
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
145 ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lexslt"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
146 else
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
147 ngx_feature_libs="-L/opt/local/lib -lexslt"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
148 fi
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
149
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
150 . auto/feature
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
151 fi
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
152
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
153
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
154 if [ $ngx_found = yes ]; then
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
155 CORE_LIBS="$CORE_LIBS -lexslt"
3e213fa0cbb3 exslt support
Igor Sysoev <igor@sysoev.ru>
parents: 2173
diff changeset
156 fi