1 | /*
|
---|
2 | * Summary: compile-time version information
|
---|
3 | * Description: compile-time version information for the XML library
|
---|
4 | *
|
---|
5 | * Copy: See Copyright for the status of this software.
|
---|
6 | *
|
---|
7 | * Author: Daniel Veillard
|
---|
8 | */
|
---|
9 |
|
---|
10 | #ifndef __XML_VERSION_H__
|
---|
11 | #define __XML_VERSION_H__
|
---|
12 |
|
---|
13 | /**
|
---|
14 | * LIBXML_DOTTED_VERSION:
|
---|
15 | *
|
---|
16 | * the version string like "1.2.3"
|
---|
17 | */
|
---|
18 | #define LIBXML_DOTTED_VERSION "@VERSION@"
|
---|
19 |
|
---|
20 | /**
|
---|
21 | * LIBXML_VERSION:
|
---|
22 | *
|
---|
23 | * the version number: 1.2.3 value is 10203
|
---|
24 | */
|
---|
25 | #define LIBXML_VERSION @LIBXML_VERSION_NUMBER@
|
---|
26 |
|
---|
27 | /**
|
---|
28 | * LIBXML_VERSION_STRING:
|
---|
29 | *
|
---|
30 | * the version number string, 1.2.3 value is "10203"
|
---|
31 | */
|
---|
32 | #define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
|
---|
33 |
|
---|
34 | /**
|
---|
35 | * LIBXML_VERSION_EXTRA:
|
---|
36 | *
|
---|
37 | * extra version information, used to show a git commit description
|
---|
38 | */
|
---|
39 | #define LIBXML_VERSION_EXTRA "@LIBXML_VERSION_EXTRA@"
|
---|
40 |
|
---|
41 | /**
|
---|
42 | * LIBXML_TEST_VERSION:
|
---|
43 | *
|
---|
44 | * Macro to check that the libxml version in use is compatible with
|
---|
45 | * the version the software has been compiled against
|
---|
46 | */
|
---|
47 | #define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@);
|
---|
48 |
|
---|
49 | /**
|
---|
50 | * LIBXML_THREAD_ENABLED:
|
---|
51 | *
|
---|
52 | * Whether the thread support is configured in
|
---|
53 | */
|
---|
54 | #if @WITH_THREADS@
|
---|
55 | #define LIBXML_THREAD_ENABLED
|
---|
56 | #endif
|
---|
57 |
|
---|
58 | /**
|
---|
59 | * LIBXML_THREAD_ALLOC_ENABLED:
|
---|
60 | *
|
---|
61 | * Whether the allocation hooks are per-thread
|
---|
62 | */
|
---|
63 | #if @WITH_THREAD_ALLOC@
|
---|
64 | #define LIBXML_THREAD_ALLOC_ENABLED
|
---|
65 | #endif
|
---|
66 |
|
---|
67 | /**
|
---|
68 | * LIBXML_TREE_ENABLED:
|
---|
69 | *
|
---|
70 | * Whether the DOM like tree manipulation API support is configured in
|
---|
71 | */
|
---|
72 | #if @WITH_TREE@
|
---|
73 | #define LIBXML_TREE_ENABLED
|
---|
74 | #endif
|
---|
75 |
|
---|
76 | /**
|
---|
77 | * LIBXML_OUTPUT_ENABLED:
|
---|
78 | *
|
---|
79 | * Whether the serialization/saving support is configured in
|
---|
80 | */
|
---|
81 | #if @WITH_OUTPUT@
|
---|
82 | #define LIBXML_OUTPUT_ENABLED
|
---|
83 | #endif
|
---|
84 |
|
---|
85 | /**
|
---|
86 | * LIBXML_PUSH_ENABLED:
|
---|
87 | *
|
---|
88 | * Whether the push parsing interfaces are configured in
|
---|
89 | */
|
---|
90 | #if @WITH_PUSH@
|
---|
91 | #define LIBXML_PUSH_ENABLED
|
---|
92 | #endif
|
---|
93 |
|
---|
94 | /**
|
---|
95 | * LIBXML_READER_ENABLED:
|
---|
96 | *
|
---|
97 | * Whether the xmlReader parsing interface is configured in
|
---|
98 | */
|
---|
99 | #if @WITH_READER@
|
---|
100 | #define LIBXML_READER_ENABLED
|
---|
101 | #endif
|
---|
102 |
|
---|
103 | /**
|
---|
104 | * LIBXML_PATTERN_ENABLED:
|
---|
105 | *
|
---|
106 | * Whether the xmlPattern node selection interface is configured in
|
---|
107 | */
|
---|
108 | #if @WITH_PATTERN@
|
---|
109 | #define LIBXML_PATTERN_ENABLED
|
---|
110 | #endif
|
---|
111 |
|
---|
112 | /**
|
---|
113 | * LIBXML_WRITER_ENABLED:
|
---|
114 | *
|
---|
115 | * Whether the xmlWriter saving interface is configured in
|
---|
116 | */
|
---|
117 | #if @WITH_WRITER@
|
---|
118 | #define LIBXML_WRITER_ENABLED
|
---|
119 | #endif
|
---|
120 |
|
---|
121 | /**
|
---|
122 | * LIBXML_SAX1_ENABLED:
|
---|
123 | *
|
---|
124 | * Whether the older SAX1 interface is configured in
|
---|
125 | */
|
---|
126 | #if @WITH_SAX1@
|
---|
127 | #define LIBXML_SAX1_ENABLED
|
---|
128 | #endif
|
---|
129 |
|
---|
130 | /**
|
---|
131 | * LIBXML_FTP_ENABLED:
|
---|
132 | *
|
---|
133 | * Whether the FTP support is configured in
|
---|
134 | */
|
---|
135 | #if @WITH_FTP@
|
---|
136 | #define LIBXML_FTP_ENABLED
|
---|
137 | #endif
|
---|
138 |
|
---|
139 | /**
|
---|
140 | * LIBXML_HTTP_ENABLED:
|
---|
141 | *
|
---|
142 | * Whether the HTTP support is configured in
|
---|
143 | */
|
---|
144 | #if @WITH_HTTP@
|
---|
145 | #define LIBXML_HTTP_ENABLED
|
---|
146 | #endif
|
---|
147 |
|
---|
148 | /**
|
---|
149 | * LIBXML_VALID_ENABLED:
|
---|
150 | *
|
---|
151 | * Whether the DTD validation support is configured in
|
---|
152 | */
|
---|
153 | #if @WITH_VALID@
|
---|
154 | #define LIBXML_VALID_ENABLED
|
---|
155 | #endif
|
---|
156 |
|
---|
157 | /**
|
---|
158 | * LIBXML_HTML_ENABLED:
|
---|
159 | *
|
---|
160 | * Whether the HTML support is configured in
|
---|
161 | */
|
---|
162 | #if @WITH_HTML@
|
---|
163 | #define LIBXML_HTML_ENABLED
|
---|
164 | #endif
|
---|
165 |
|
---|
166 | /**
|
---|
167 | * LIBXML_LEGACY_ENABLED:
|
---|
168 | *
|
---|
169 | * Whether the deprecated APIs are compiled in for compatibility
|
---|
170 | */
|
---|
171 | #if @WITH_LEGACY@
|
---|
172 | #define LIBXML_LEGACY_ENABLED
|
---|
173 | #endif
|
---|
174 |
|
---|
175 | /**
|
---|
176 | * LIBXML_C14N_ENABLED:
|
---|
177 | *
|
---|
178 | * Whether the Canonicalization support is configured in
|
---|
179 | */
|
---|
180 | #if @WITH_C14N@
|
---|
181 | #define LIBXML_C14N_ENABLED
|
---|
182 | #endif
|
---|
183 |
|
---|
184 | /**
|
---|
185 | * LIBXML_CATALOG_ENABLED:
|
---|
186 | *
|
---|
187 | * Whether the Catalog support is configured in
|
---|
188 | */
|
---|
189 | #if @WITH_CATALOG@
|
---|
190 | #define LIBXML_CATALOG_ENABLED
|
---|
191 | #endif
|
---|
192 |
|
---|
193 | /**
|
---|
194 | * LIBXML_XPATH_ENABLED:
|
---|
195 | *
|
---|
196 | * Whether XPath is configured in
|
---|
197 | */
|
---|
198 | #if @WITH_XPATH@
|
---|
199 | #define LIBXML_XPATH_ENABLED
|
---|
200 | #endif
|
---|
201 |
|
---|
202 | /**
|
---|
203 | * LIBXML_XPTR_ENABLED:
|
---|
204 | *
|
---|
205 | * Whether XPointer is configured in
|
---|
206 | */
|
---|
207 | #if @WITH_XPTR@
|
---|
208 | #define LIBXML_XPTR_ENABLED
|
---|
209 | #endif
|
---|
210 |
|
---|
211 | /**
|
---|
212 | * LIBXML_XPTR_LOCS_ENABLED:
|
---|
213 | *
|
---|
214 | * Whether support for XPointer locations is configured in
|
---|
215 | */
|
---|
216 | #if @WITH_XPTR_LOCS@
|
---|
217 | #define LIBXML_XPTR_LOCS_ENABLED
|
---|
218 | #endif
|
---|
219 |
|
---|
220 | /**
|
---|
221 | * LIBXML_XINCLUDE_ENABLED:
|
---|
222 | *
|
---|
223 | * Whether XInclude is configured in
|
---|
224 | */
|
---|
225 | #if @WITH_XINCLUDE@
|
---|
226 | #define LIBXML_XINCLUDE_ENABLED
|
---|
227 | #endif
|
---|
228 |
|
---|
229 | /**
|
---|
230 | * LIBXML_ICONV_ENABLED:
|
---|
231 | *
|
---|
232 | * Whether iconv support is available
|
---|
233 | */
|
---|
234 | #if @WITH_ICONV@
|
---|
235 | #define LIBXML_ICONV_ENABLED
|
---|
236 | #endif
|
---|
237 |
|
---|
238 | /**
|
---|
239 | * LIBXML_ICU_ENABLED:
|
---|
240 | *
|
---|
241 | * Whether icu support is available
|
---|
242 | */
|
---|
243 | #if @WITH_ICU@
|
---|
244 | #define LIBXML_ICU_ENABLED
|
---|
245 | #endif
|
---|
246 |
|
---|
247 | /**
|
---|
248 | * LIBXML_ISO8859X_ENABLED:
|
---|
249 | *
|
---|
250 | * Whether ISO-8859-* support is made available in case iconv is not
|
---|
251 | */
|
---|
252 | #if @WITH_ISO8859X@
|
---|
253 | #define LIBXML_ISO8859X_ENABLED
|
---|
254 | #endif
|
---|
255 |
|
---|
256 | /**
|
---|
257 | * LIBXML_DEBUG_ENABLED:
|
---|
258 | *
|
---|
259 | * Whether Debugging module is configured in
|
---|
260 | */
|
---|
261 | #if @WITH_DEBUG@
|
---|
262 | #define LIBXML_DEBUG_ENABLED
|
---|
263 | #endif
|
---|
264 |
|
---|
265 | /**
|
---|
266 | * LIBXML_UNICODE_ENABLED:
|
---|
267 | *
|
---|
268 | * Whether the Unicode related interfaces are compiled in
|
---|
269 | */
|
---|
270 | #if @WITH_REGEXPS@
|
---|
271 | #define LIBXML_UNICODE_ENABLED
|
---|
272 | #endif
|
---|
273 |
|
---|
274 | /**
|
---|
275 | * LIBXML_REGEXP_ENABLED:
|
---|
276 | *
|
---|
277 | * Whether the regular expressions interfaces are compiled in
|
---|
278 | */
|
---|
279 | #if @WITH_REGEXPS@
|
---|
280 | #define LIBXML_REGEXP_ENABLED
|
---|
281 | #endif
|
---|
282 |
|
---|
283 | /**
|
---|
284 | * LIBXML_AUTOMATA_ENABLED:
|
---|
285 | *
|
---|
286 | * Whether the automata interfaces are compiled in
|
---|
287 | */
|
---|
288 | #if @WITH_REGEXPS@
|
---|
289 | #define LIBXML_AUTOMATA_ENABLED
|
---|
290 | #endif
|
---|
291 |
|
---|
292 | /**
|
---|
293 | * LIBXML_SCHEMAS_ENABLED:
|
---|
294 | *
|
---|
295 | * Whether the Schemas validation interfaces are compiled in
|
---|
296 | */
|
---|
297 | #if @WITH_SCHEMAS@
|
---|
298 | #define LIBXML_SCHEMAS_ENABLED
|
---|
299 | #endif
|
---|
300 |
|
---|
301 | /**
|
---|
302 | * LIBXML_SCHEMATRON_ENABLED:
|
---|
303 | *
|
---|
304 | * Whether the Schematron validation interfaces are compiled in
|
---|
305 | */
|
---|
306 | #if @WITH_SCHEMATRON@
|
---|
307 | #define LIBXML_SCHEMATRON_ENABLED
|
---|
308 | #endif
|
---|
309 |
|
---|
310 | /**
|
---|
311 | * LIBXML_MODULES_ENABLED:
|
---|
312 | *
|
---|
313 | * Whether the module interfaces are compiled in
|
---|
314 | */
|
---|
315 | #if @WITH_MODULES@
|
---|
316 | #define LIBXML_MODULES_ENABLED
|
---|
317 | /**
|
---|
318 | * LIBXML_MODULE_EXTENSION:
|
---|
319 | *
|
---|
320 | * the string suffix used by dynamic modules (usually shared libraries)
|
---|
321 | */
|
---|
322 | #define LIBXML_MODULE_EXTENSION "@MODULE_EXTENSION@"
|
---|
323 | #endif
|
---|
324 |
|
---|
325 | /**
|
---|
326 | * LIBXML_ZLIB_ENABLED:
|
---|
327 | *
|
---|
328 | * Whether the Zlib support is compiled in
|
---|
329 | */
|
---|
330 | #if @WITH_ZLIB@
|
---|
331 | #define LIBXML_ZLIB_ENABLED
|
---|
332 | #endif
|
---|
333 |
|
---|
334 | /**
|
---|
335 | * LIBXML_LZMA_ENABLED:
|
---|
336 | *
|
---|
337 | * Whether the Lzma support is compiled in
|
---|
338 | */
|
---|
339 | #if @WITH_LZMA@
|
---|
340 | #define LIBXML_LZMA_ENABLED
|
---|
341 | #endif
|
---|
342 |
|
---|
343 | #include <libxml/xmlexports.h>
|
---|
344 |
|
---|
345 | #endif
|
---|
346 |
|
---|
347 |
|
---|