annotate auto/lib/libxslt/conf @ 392:34fb3a573548 NGINX_0_7_8

nginx 0.7.8 *) Feature: the ngx_http_xslt_module. *) Feature: the "$arg_..." variables. *) Feature: Solaris directio support. Thanks to Ivan Debnar. *) Bugfix: now if FastCGI server sends a "Location" header line without status line, then nginx uses 302 status code. Thanks to Maxim Dounin.
author Igor Sysoev <http://sysoev.ru>
date Mon, 04 Aug 2008 00:00:00 +0400
parents
children 349057ecf4d5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
392
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
1
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
2 # Copyright (C) Igor Sysoev
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
3
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
4
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
5 ngx_feature="libxslt"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
6 ngx_feature_name=
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
7 ngx_feature_run=no
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 ngx_feature_incs="#include <libxml/parser.h>
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
9 #include <libxml/tree.h>
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
10 #include <libxslt/xslt.h>
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
11 #include <libxslt/xsltInternals.h>
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
12 #include <libxslt/transform.h>
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
13 #include <libxslt/xsltutils.h>"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
14 ngx_feature_path="/usr/include/libxml2"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
15 ngx_feature_libs="-lxml2 -lxslt"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
16 ngx_feature_test="xmlParserCtxtPtr ctxt = NULL;
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
17 xsltStylesheetPtr sheet = NULL;
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
18 xmlDocPtr doc;
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
19 doc = xmlParseChunk(ctxt, NULL, 0, 0);
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
20 xsltApplyStylesheet(sheet, doc, NULL);"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
21 . auto/feature
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
22
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
23
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
24 if [ $ngx_found = no ]; then
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
25
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
26 # FreeBSD port
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
27
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
28 ngx_feature="libxslt in /usr/local/"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
29 ngx_feature_path="/usr/local/include/libxml2 /usr/local/include"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
30
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
31 if [ $NGX_RPATH = YES ]; then
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
32 ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lxml2 -lxslt"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
33 else
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
34 ngx_feature_libs="-L/usr/local/lib -lxml2 -lxslt"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
35 fi
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
36
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
37 . auto/feature
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
38 fi
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
39
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
40
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
41 if [ $ngx_found = no ]; then
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
42
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
43 # NetBSD port
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
44
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
45 ngx_feature="libxslt in /usr/pkg/"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
46 ngx_feature_path="/usr/pkg/include/libxml2 /usr/pkg/include"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
47
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
48 if [ $NGX_RPATH = YES ]; then
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
49 ngx_feature_libs="-R/usr/pkg/lib -L/usr/pkg/lib -lxml2 -lxslt"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
50 else
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
51 ngx_feature_libs="-L/usr/pkg/lib -lxml2 -lxslt"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
52 fi
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
53
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
54 . auto/feature
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
55 fi
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
56
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
57
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
58 if [ $ngx_found = no ]; then
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
59
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
60 # MacPorts
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
61
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
62 ngx_feature="libxslt in /opt/local/"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
63 ngx_feature_path="/opt/local/include/libxml2 /opt/local/include"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
64
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
65 if [ $NGX_RPATH = YES ]; then
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
66 ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lxml2 -lxslt"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
67 else
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
68 ngx_feature_libs="-L/opt/local/lib -lxml2 -lxslt"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
69 fi
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
70
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
71 . auto/feature
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
72 fi
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
73
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
74
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
75 if [ $ngx_found = yes ]; then
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
76 CORE_INCS="$CORE_INCS $ngx_feature_path"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
77 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
34fb3a573548 nginx 0.7.8
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
78 fi