summaryrefslogtreecommitdiffstats
path: root/rules/libxml2.in
blob: 23b99614c006be64b661d74e6b0faaa3a4e9d265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
## SECTION=system_libraries

menuconfig LIBXML2
	tristate
	prompt "libxml2                       "
	select LIBC_M
	select LIBC_DL	if LIBXML2_MODULES
	select ZLIB	if LIBXML2_ZLIB
	select XZ	if LIBXML2_LZMA
	select PYTHON	if LIBXML2_PYTHON
	help
	  Libxml2 is a XML C parser and toolkit. XML itself is a
	  metalanguage to design markup languages, i.e. text
	  language where semantic and structure are added to the
	  content using extra "markup" information enclosed
	  between angle brackets. HTML is the most well-known
	  markup language. Though the library is written in C a
	  variety of language bindings make it available in other
	  environments.

if LIBXML2

config LIBXML2_C14N
	bool
	default y
	prompt "C14N Support"
	help
	  Activate the W3C XML Canonicalisation (C14N) to serialize
	  the result of parsing to stdout. It keeps comments in the
	  result.

config LIBXML2_CATALOG
	bool
	default y
	prompt "Catalog support"
	help
	  Add the Catalog support.
	  What is a catalog? Basically it's a lookup mechanism used
	  when an entity (a file or a remote resource) references
	  another entity. The catalog lookup is inserted between
	  the moment the reference is recognized by the software
	  (XML parser, stylesheet processing, or even images
	  referenced for inclusion in a rendering) and the time
	  where loading that resource is actually started.
	  http://xmlsoft.org/catalog.html

config LIBXML2_DEBUG
	bool
	default y
	prompt "Debugging"
	help
	  Enable debugging support.

config LIBXML2_DOCBOOK
	bool
	default y
	prompt "Docbook support"
	help
	  Enable Docbook SGML support

config LIBXML2_FEXCEPTIONS
	bool
	prompt "C++ Exception Support"
	help
	  Add GCC flag -fexceptions for C++ exceptions.

config LIBXML2_FTP
	bool
	default y
	prompt "FTP Support"
	help
	  Add FTP support.

config LIBXML2_HISTORY
	bool
	prompt "History support for xmlling shell"
	help
	  This feature adds history support to the xmllint shell.

config LIBXML2_HTML
	bool
	default y
	prompt "HTML support"
	help
	  Add HTML support.

config LIBXML2_HTTP
	bool
	default y
	prompt "HTTP support"
	help
	  Add HTTP support.

config LIBXML2_ISO8859X
	bool
	default y
	prompt "ISO8859x support if no ICONV"
	help
	  Add ISO8859X support if no iconv.

config LIBXML2_LEGACY
	bool
	default y
	prompt "Support for deprecated APIs"
	help
	  Add support for deprecated APIs (compatibility)

config LIBXML2_MEM_DEBUG
	bool
	prompt "Memory Debugging Module"
	help
	  Add the memory debugging support.

config LIBXML2_MINIMUM
	bool
	prompt "Optimize for size"
	help
	  Build a minimally sized library

config LIBXML2_OUTPUT
	bool
	default y
	prompt "Output Serialization"
	help
	  Add the serialization support.

config LIBXML2_PATTERN
	bool
	default y
	prompt "XML Pattern Selection Interface"
	help
	  Add XML Pattern selection interface

config LIBXML2_PUSH
	bool
	default y
	prompt "PUSH Parser"
	help
	  Add the PUSH parser interface.

config LIBXML2_PYTHON
	bool
	prompt "Python bindings"
	depends on BROKEN
	help
	  Build Python bindings if found.

config LIBXML2_READER
	bool
	default y
	# FIXME: this is http://bugzilla.gnome.org/show_bug.cgi?id=545579
	select LIBXML2_SCHEMAS
	# hard dependencies from configure.in
	select LIBXML2_PUSH
	prompt "xmlReader Parsing Interface"
	help
	  Add the xmlReader parsing interface.

config LIBXML2_REGEXPS
	bool
	default y
	prompt "Regular Expressions support"
	help
	  Add support for Regular Expressions.

#  --with-readline=DIR     use readline in DIR

config LIBXML2_RUN_DEBUG
	bool
	prompt "Enable Runtime Debugging"
	help
	  Enable runtime debugging module.

config LIBXML2_SAX1
	bool
	default y
	prompt "SAX1 API"
	help
	  Enable the SAX1 API

config LIBXML2_SCHEMAS
	bool
	default y
	# hard dependencies from configure.in
	select LIBXML2_PATTERN
	select LIBXML2_REGEXPS
	prompt "Relax-NG/Schema Support"
	help
	  Add Relay-NG and experimental Schemas support

config LIBXML2_SCHEMATRON
	bool
	default y
	prompt "Schematron Support"
	help
	  Add Schematron support

config LIBXML2_THREADS
	bool
	default y
	prompt "Thread support"
	help
	  Add multithreaded support

config LIBXML2_THREADS_ALLOC
	bool
	prompt "Per-Thread memory"
	help
	  Add per-thread memory.

config LIBXML2_DOM
	bool
	default y
	# FIXME: http://bugzilla.gnome.org/show_bug.cgi?id=545581
	#prompt "DOM API"
	help
	  Add the DOM tree manipulation API.

config LIBXML2_DTD
	bool
	default y
	prompt "DTD Validation support"
	help
	  Add the DTD validation support

config LIBXML2_WRITER
	bool
	default y
	prompt "xmlWriter support"
	help
	  Add XML Writer support.

config LIBXML2_XINCLUDE
	bool
	default y
	prompt "XInclude"
	help
	  XInclude support.

config LIBXML2_XPATH
	bool
	default y
	prompt "XPATH support"
	help
	  XPATH support

config LIBXML2_XPTR
	bool
	default y
	# hard dependencies from configure.in
	select LIBXML2_XPATH
	prompt "XPTR"
	help
	  XPointer support

config LIBXML2_MODULES
	bool
	default y
	prompt "Dynamic Modules"
	help
	  Dynamic Modules support.

config LIBXML2_ZLIB
	bool
	default y
	prompt "zlib (compression) support"

config LIBXML2_LZMA
	bool
	prompt "lzma (compression) support"
	help
	  LZMA (compression) support with liblzma from XZ tools.

endif