Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 1 | /* |
Daniel Veillard | be58697 | 2003-11-18 20:56:51 +0000 | [diff] [blame] | 2 | * Summary: compile-time version informations |
3 | * Description: compile-time version informations for the XML library | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 4 | * |
Daniel Veillard | be58697 | 2003-11-18 20:56:51 +0000 | [diff] [blame] | 5 | * Copy: See Copyright for the status of this software. |
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 6 | * |
Daniel Veillard | be58697 | 2003-11-18 20:56:51 +0000 | [diff] [blame] | 7 | * Author: Daniel Veillard |
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 8 | */ |
9 | |||||
10 | #ifndef __XML_VERSION_H__ | ||||
11 | #define __XML_VERSION_H__ | ||||
12 | |||||
Igor Zlatkovic | f05e5d1 | 2003-08-25 09:15:36 +0000 | [diff] [blame] | 13 | #include <libxml/xmlexports.h> |
Igor Zlatkovic | 76874e4 | 2003-08-25 09:05:12 +0000 | [diff] [blame] | 14 | |
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 15 | #ifdef __cplusplus |
16 | extern "C" { | ||||
17 | #endif | ||||
18 | |||||
19 | /* | ||||
20 | * use those to be sure nothing nasty will happen if | ||||
21 | * your library and includes mismatch | ||||
22 | */ | ||||
Daniel Veillard | 2d90de4 | 2001-04-16 17:46:18 +0000 | [diff] [blame] | 23 | #ifndef LIBXML2_COMPILING_MSCCDEF |
Igor Zlatkovic | 76874e4 | 2003-08-25 09:05:12 +0000 | [diff] [blame] | 24 | XMLPUBFUN void XMLCALL xmlCheckVersion(int version); |
Daniel Veillard | 2d90de4 | 2001-04-16 17:46:18 +0000 | [diff] [blame] | 25 | #endif /* LIBXML2_COMPILING_MSCCDEF */ |
Daniel Veillard | 5e2dace | 2001-07-18 19:30:27 +0000 | [diff] [blame] | 26 | |
27 | /** | ||||
28 | * LIBXML_DOTTED_VERSION: | ||||
29 | * | ||||
30 | * the version string like "1.2.3" | ||||
31 | */ | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 32 | #define LIBXML_DOTTED_VERSION "@VERSION@" |
Daniel Veillard | 5e2dace | 2001-07-18 19:30:27 +0000 | [diff] [blame] | 33 | |
34 | /** | ||||
35 | * LIBXML_VERSION: | ||||
36 | * | ||||
37 | * the version number: 1.2.3 value is 1002003 | ||||
38 | */ | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 39 | #define LIBXML_VERSION @LIBXML_VERSION_NUMBER@ |
Daniel Veillard | 5e2dace | 2001-07-18 19:30:27 +0000 | [diff] [blame] | 40 | |
41 | /** | ||||
42 | * LIBXML_VERSION_STRING: | ||||
43 | * | ||||
44 | * the version number string, 1.2.3 value is "1002003" | ||||
45 | */ | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 46 | #define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@" |
Daniel Veillard | 5e2dace | 2001-07-18 19:30:27 +0000 | [diff] [blame] | 47 | |
48 | /** | ||||
William M. Brack | f402549 | 2004-08-18 21:08:46 +0000 | [diff] [blame] | 49 | * LIBXML_VERSION_EXTRA: |
50 | * | ||||
51 | * extra version information, used to show a CVS compilation | ||||
52 | */ | ||||
53 | #define LIBXML_VERSION_EXTRA "@LIBXML_VERSION_EXTRA@" | ||||
54 | |||||
55 | /** | ||||
Daniel Veillard | 5e2dace | 2001-07-18 19:30:27 +0000 | [diff] [blame] | 56 | * LIBXML_TEST_VERSION: |
57 | * | ||||
58 | * Macro to check that the libxml version in use is compatible with | ||||
59 | * the version the software has been compiled against | ||||
60 | */ | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 61 | #define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@); |
62 | |||||
Daniel Veillard | acf7ff0 | 2001-10-29 20:21:47 +0000 | [diff] [blame] | 63 | #ifndef VMS |
Daniel Veillard | 7cf5e44 | 2001-09-10 20:16:32 +0000 | [diff] [blame] | 64 | #if @WITH_TRIO@ |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 65 | /** |
66 | * WITH_TRIO: | ||||
67 | * | ||||
Daniel Veillard | 7cf5e44 | 2001-09-10 20:16:32 +0000 | [diff] [blame] | 68 | * defined if the trio support need to be configured in |
Daniel Veillard | 92ad210 | 2001-03-27 12:47:33 +0000 | [diff] [blame] | 69 | */ |
Daniel Veillard | 92ad210 | 2001-03-27 12:47:33 +0000 | [diff] [blame] | 70 | #define WITH_TRIO |
Daniel Veillard | 7cf5e44 | 2001-09-10 20:16:32 +0000 | [diff] [blame] | 71 | #else |
72 | /** | ||||
73 | * WITHOUT_TRIO: | ||||
74 | * | ||||
75 | * defined if the trio support should not be configured in | ||||
76 | */ | ||||
77 | #define WITHOUT_TRIO | ||||
Daniel Veillard | 92ad210 | 2001-03-27 12:47:33 +0000 | [diff] [blame] | 78 | #endif |
Daniel Veillard | acf7ff0 | 2001-10-29 20:21:47 +0000 | [diff] [blame] | 79 | #else /* VMS */ |
MST 2003 John Fleck | 941f40d | 2003-12-04 04:55:46 +0000 | [diff] [blame] | 80 | /** |
81 | * WITH_TRIO: | ||||
82 | * | ||||
83 | * defined if the trio support need to be configured in | ||||
84 | */ | ||||
Daniel Veillard | acf7ff0 | 2001-10-29 20:21:47 +0000 | [diff] [blame] | 85 | #define WITH_TRIO 1 |
86 | #endif /* VMS */ | ||||
Daniel Veillard | 92ad210 | 2001-03-27 12:47:33 +0000 | [diff] [blame] | 87 | |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 88 | /** |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 89 | * LIBXML_THREAD_ENABLED: |
Daniel Veillard | b847864 | 2001-10-12 17:29:10 +0000 | [diff] [blame] | 90 | * |
91 | * Whether the thread support is configured in | ||||
92 | */ | ||||
93 | #if @WITH_THREADS@ | ||||
Igor Zlatkovic | 72f92a8 | 2003-06-14 16:48:26 +0000 | [diff] [blame] | 94 | #if defined(_REENTRANT) || defined(__MT__) || (_POSIX_C_SOURCE - 0 >= 199506L) |
Daniel Veillard | b847864 | 2001-10-12 17:29:10 +0000 | [diff] [blame] | 95 | #define LIBXML_THREAD_ENABLED |
96 | #endif | ||||
97 | #endif | ||||
98 | |||||
99 | /** | ||||
Daniel Veillard | 652327a | 2003-09-29 18:02:38 +0000 | [diff] [blame] | 100 | * LIBXML_TREE_ENABLED: |
101 | * | ||||
102 | * Whether the DOM like tree manipulation API support is configured in | ||||
103 | */ | ||||
104 | #if @WITH_TREE@ | ||||
105 | #define LIBXML_TREE_ENABLED | ||||
106 | #endif | ||||
107 | |||||
108 | /** | ||||
Daniel Veillard | a9cce9c | 2003-09-29 13:20:24 +0000 | [diff] [blame] | 109 | * LIBXML_OUTPUT_ENABLED: |
110 | * | ||||
111 | * Whether the serialization/saving support is configured in | ||||
112 | */ | ||||
113 | #if @WITH_OUTPUT@ | ||||
114 | #define LIBXML_OUTPUT_ENABLED | ||||
115 | #endif | ||||
116 | |||||
117 | /** | ||||
Daniel Veillard | 73b013f | 2003-09-30 12:36:01 +0000 | [diff] [blame] | 118 | * LIBXML_PUSH_ENABLED: |
119 | * | ||||
120 | * Whether the push parsing interfaces are configured in | ||||
121 | */ | ||||
122 | #if @WITH_PUSH@ | ||||
123 | #define LIBXML_PUSH_ENABLED | ||||
124 | #endif | ||||
125 | |||||
126 | /** | ||||
Daniel Veillard | 8127390 | 2003-09-30 00:43:48 +0000 | [diff] [blame] | 127 | * LIBXML_READER_ENABLED: |
128 | * | ||||
129 | * Whether the xmlReader parsing interface is configured in | ||||
130 | */ | ||||
131 | #if @WITH_READER@ | ||||
132 | #define LIBXML_READER_ENABLED | ||||
133 | #endif | ||||
134 | |||||
135 | /** | ||||
Daniel Veillard | b3de70c | 2003-12-02 22:32:15 +0000 | [diff] [blame] | 136 | * LIBXML_PATTERN_ENABLED: |
137 | * | ||||
138 | * Whether the xmlPattern node selection interface is configured in | ||||
139 | */ | ||||
140 | #if @WITH_PATTERN@ | ||||
141 | #define LIBXML_PATTERN_ENABLED | ||||
142 | #endif | ||||
143 | |||||
144 | /** | ||||
Daniel Veillard | 1d211e2 | 2003-10-20 22:32:39 +0000 | [diff] [blame] | 145 | * LIBXML_WRITER_ENABLED: |
146 | * | ||||
147 | * Whether the xmlWriter saving interface is configured in | ||||
148 | */ | ||||
149 | #if @WITH_WRITER@ | ||||
150 | #define LIBXML_WRITER_ENABLED | ||||
151 | #endif | ||||
152 | |||||
153 | /** | ||||
Daniel Veillard | 8127390 | 2003-09-30 00:43:48 +0000 | [diff] [blame] | 154 | * LIBXML_SAX1_ENABLED: |
155 | * | ||||
156 | * Whether the older SAX1 interface is configured in | ||||
157 | */ | ||||
158 | #if @WITH_SAX1@ | ||||
159 | #define LIBXML_SAX1_ENABLED | ||||
160 | #endif | ||||
161 | |||||
162 | /** | ||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 163 | * LIBXML_FTP_ENABLED: |
164 | * | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 165 | * Whether the FTP support is configured in |
166 | */ | ||||
167 | #if @WITH_FTP@ | ||||
168 | #define LIBXML_FTP_ENABLED | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 169 | #endif |
170 | |||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 171 | /** |
172 | * LIBXML_HTTP_ENABLED: | ||||
173 | * | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 174 | * Whether the HTTP support is configured in |
175 | */ | ||||
176 | #if @WITH_HTTP@ | ||||
177 | #define LIBXML_HTTP_ENABLED | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 178 | #endif |
179 | |||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 180 | /** |
Daniel Veillard | 4432df2 | 2003-09-28 18:58:27 +0000 | [diff] [blame] | 181 | * LIBXML_VALID_ENABLED: |
182 | * | ||||
183 | * Whether the DTD validation support is configured in | ||||
184 | */ | ||||
185 | #if @WITH_VALID@ | ||||
186 | #define LIBXML_VALID_ENABLED | ||||
187 | #endif | ||||
188 | |||||
189 | /** | ||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 190 | * LIBXML_HTML_ENABLED: |
191 | * | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 192 | * Whether the HTML support is configured in |
193 | */ | ||||
194 | #if @WITH_HTML@ | ||||
195 | #define LIBXML_HTML_ENABLED | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 196 | #endif |
197 | |||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 198 | /** |
Daniel Veillard | 4432df2 | 2003-09-28 18:58:27 +0000 | [diff] [blame] | 199 | * LIBXML_LEGACY_ENABLED: |
200 | * | ||||
201 | * Whether the deprecated APIs are compiled in for compatibility | ||||
202 | */ | ||||
203 | #if @WITH_LEGACY@ | ||||
204 | #define LIBXML_LEGACY_ENABLED | ||||
205 | #endif | ||||
206 | |||||
207 | /** | ||||
Daniel Veillard | 044fc6b | 2002-03-04 17:09:44 +0000 | [diff] [blame] | 208 | * LIBXML_C14N_ENABLED: |
209 | * | ||||
210 | * Whether the Canonicalization support is configured in | ||||
211 | */ | ||||
212 | #if @WITH_C14N@ | ||||
213 | #define LIBXML_C14N_ENABLED | ||||
214 | #endif | ||||
215 | |||||
216 | /** | ||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 217 | * LIBXML_CATALOG_ENABLED: |
218 | * | ||||
Daniel Veillard | a737459 | 2001-05-10 14:17:55 +0000 | [diff] [blame] | 219 | * Whether the Catalog support is configured in |
220 | */ | ||||
221 | #if @WITH_CATALOG@ | ||||
222 | #define LIBXML_CATALOG_ENABLED | ||||
Daniel Veillard | a737459 | 2001-05-10 14:17:55 +0000 | [diff] [blame] | 223 | #endif |
224 | |||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 225 | /** |
226 | * LIBXML_DOCB_ENABLED: | ||||
227 | * | ||||
Daniel Veillard | eae522a | 2001-04-23 13:41:34 +0000 | [diff] [blame] | 228 | * Whether the SGML Docbook support is configured in |
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 229 | */ |
Daniel Veillard | eae522a | 2001-04-23 13:41:34 +0000 | [diff] [blame] | 230 | #if @WITH_DOCB@ |
231 | #define LIBXML_DOCB_ENABLED | ||||
Daniel Veillard | eae522a | 2001-04-23 13:41:34 +0000 | [diff] [blame] | 232 | #endif |
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 233 | |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 234 | /** |
235 | * LIBXML_XPATH_ENABLED: | ||||
236 | * | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 237 | * Whether XPath is configured in |
238 | */ | ||||
239 | #if @WITH_XPATH@ | ||||
240 | #define LIBXML_XPATH_ENABLED | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 241 | #endif |
242 | |||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 243 | /** |
244 | * LIBXML_XPTR_ENABLED: | ||||
245 | * | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 246 | * Whether XPointer is configured in |
247 | */ | ||||
248 | #if @WITH_XPTR@ | ||||
249 | #define LIBXML_XPTR_ENABLED | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 250 | #endif |
251 | |||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 252 | /** |
253 | * LIBXML_XINCLUDE_ENABLED: | ||||
254 | * | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 255 | * Whether XInclude is configured in |
256 | */ | ||||
257 | #if @WITH_XINCLUDE@ | ||||
258 | #define LIBXML_XINCLUDE_ENABLED | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 259 | #endif |
260 | |||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 261 | /** |
262 | * LIBXML_ICONV_ENABLED: | ||||
263 | * | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 264 | * Whether iconv support is available |
265 | */ | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 266 | #if @WITH_ICONV@ |
267 | #define LIBXML_ICONV_ENABLED | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 268 | #endif |
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 269 | |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 270 | /** |
Daniel Veillard | 01fc1a9 | 2003-07-30 15:12:01 +0000 | [diff] [blame] | 271 | * LIBXML_ISO8859X_ENABLED: |
272 | * | ||||
273 | * Whether ISO-8859-* support is made available in case iconv is not | ||||
274 | */ | ||||
275 | #if @WITH_ISO8859X@ | ||||
276 | #define LIBXML_ISO8859X_ENABLED | ||||
277 | #endif | ||||
278 | |||||
279 | /** | ||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 280 | * LIBXML_DEBUG_ENABLED: |
281 | * | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 282 | * Whether Debugging module is configured in |
283 | */ | ||||
284 | #if @WITH_DEBUG@ | ||||
285 | #define LIBXML_DEBUG_ENABLED | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 286 | #endif |
287 | |||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 288 | /** |
289 | * DEBUG_MEMORY_LOCATION: | ||||
290 | * | ||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 291 | * Whether the memory debugging is configured in |
292 | */ | ||||
293 | #if @WITH_MEM_DEBUG@ | ||||
294 | #define DEBUG_MEMORY_LOCATION | ||||
295 | #endif | ||||
296 | |||||
Daniel Veillard | 5e2dace | 2001-07-18 19:30:27 +0000 | [diff] [blame] | 297 | /** |
Daniel Veillard | 22cdb84 | 2004-10-04 14:09:17 +0000 | [diff] [blame] | 298 | * LIBXML_DEBUG_RUNTIME: |
299 | * | ||||
300 | * Whether the runtime debugging is configured in | ||||
301 | */ | ||||
302 | #if @WITH_MEM_DEBUG@ | ||||
303 | #define LIBXML_DEBUG_RUNTIME | ||||
304 | #endif | ||||
305 | |||||
306 | /** | ||||
Daniel Veillard | 7a02cfe | 2003-09-25 12:18:34 +0000 | [diff] [blame] | 307 | * LIBXML_UNICODE_ENABLED: |
Daniel Veillard | 4255d50 | 2002-04-16 15:50:10 +0000 | [diff] [blame] | 308 | * |
309 | * Whether the Unicode related interfaces are compiled in | ||||
310 | */ | ||||
Daniel Veillard | 23e7357 | 2002-09-19 19:56:43 +0000 | [diff] [blame] | 311 | #if @WITH_REGEXPS@ |
Daniel Veillard | 4255d50 | 2002-04-16 15:50:10 +0000 | [diff] [blame] | 312 | #define LIBXML_UNICODE_ENABLED |
313 | #endif | ||||
314 | |||||
315 | /** | ||||
Daniel Veillard | 7a02cfe | 2003-09-25 12:18:34 +0000 | [diff] [blame] | 316 | * LIBXML_REGEXP_ENABLED: |
Daniel Veillard | 4255d50 | 2002-04-16 15:50:10 +0000 | [diff] [blame] | 317 | * |
318 | * Whether the regular expressions interfaces are compiled in | ||||
319 | */ | ||||
Daniel Veillard | 23e7357 | 2002-09-19 19:56:43 +0000 | [diff] [blame] | 320 | #if @WITH_REGEXPS@ |
Daniel Veillard | 4255d50 | 2002-04-16 15:50:10 +0000 | [diff] [blame] | 321 | #define LIBXML_REGEXP_ENABLED |
322 | #endif | ||||
323 | |||||
324 | /** | ||||
Daniel Veillard | 7a02cfe | 2003-09-25 12:18:34 +0000 | [diff] [blame] | 325 | * LIBXML_AUTOMATA_ENABLED: |
Daniel Veillard | 4255d50 | 2002-04-16 15:50:10 +0000 | [diff] [blame] | 326 | * |
327 | * Whether the automata interfaces are compiled in | ||||
328 | */ | ||||
Daniel Veillard | 23e7357 | 2002-09-19 19:56:43 +0000 | [diff] [blame] | 329 | #if @WITH_REGEXPS@ |
Daniel Veillard | 4255d50 | 2002-04-16 15:50:10 +0000 | [diff] [blame] | 330 | #define LIBXML_AUTOMATA_ENABLED |
331 | #endif | ||||
332 | |||||
333 | /** | ||||
Daniel Veillard | 465a000 | 2005-08-22 12:07:04 +0000 | [diff] [blame] | 334 | * LIBXML_EXPR_ENABLED: |
335 | * | ||||
336 | * Whether the formal expressions interfaces are compiled in | ||||
337 | */ | ||||
338 | #if @WITH_SCHEMAS@ | ||||
339 | #define LIBXML_EXPR_ENABLED | ||||
340 | #endif | ||||
341 | |||||
342 | /** | ||||
Daniel Veillard | 7a02cfe | 2003-09-25 12:18:34 +0000 | [diff] [blame] | 343 | * LIBXML_SCHEMAS_ENABLED: |
Daniel Veillard | 4255d50 | 2002-04-16 15:50:10 +0000 | [diff] [blame] | 344 | * |
345 | * Whether the Schemas validation interfaces are compiled in | ||||
346 | */ | ||||
347 | #if @WITH_SCHEMAS@ | ||||
348 | #define LIBXML_SCHEMAS_ENABLED | ||||
349 | #endif | ||||
350 | |||||
351 | /** | ||||
Daniel Veillard | ed6c549 | 2005-07-23 15:00:22 +0000 | [diff] [blame] | 352 | * LIBXML_SCHEMATRON_ENABLED: |
353 | * | ||||
354 | * Whether the Schematron validation interfaces are compiled in | ||||
355 | */ | ||||
356 | #if @WITH_SCHEMATRON@ | ||||
357 | #define LIBXML_SCHEMATRON_ENABLED | ||||
358 | #endif | ||||
359 | |||||
360 | /** | ||||
Daniel Veillard | ce1648b | 2005-01-04 15:10:22 +0000 | [diff] [blame] | 361 | * LIBXML_MODULES_ENABLED: |
362 | * | ||||
363 | * Whether the module interfaces are compiled in | ||||
364 | */ | ||||
365 | #if @WITH_MODULES@ | ||||
366 | #define LIBXML_MODULES_ENABLED | ||||
Daniel Veillard | 5eee767 | 2005-08-22 21:22:27 +0000 | [diff] [blame] | 367 | /** |
368 | * LIBXML_MODULE_EXTENSION: | ||||
369 | * | ||||
370 | * the string suffix used by dynamic modules (usually shared libraries) | ||||
371 | */ | ||||
Daniel Veillard | ce1648b | 2005-01-04 15:10:22 +0000 | [diff] [blame] | 372 | #define LIBXML_MODULE_EXTENSION "@MODULE_EXTENSION@" |
373 | #endif | ||||
374 | |||||
375 | /** | ||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 376 | * ATTRIBUTE_UNUSED: |
377 | * | ||||
378 | * Macro used to signal to GCC unused function parameters | ||||
379 | */ | ||||
Daniel Veillard | c86a4fa | 2001-03-26 16:28:29 +0000 | [diff] [blame] | 380 | #ifdef __GNUC__ |
Daniel Veillard | 27b5528 | 2001-04-11 12:22:25 +0000 | [diff] [blame] | 381 | #ifdef HAVE_ANSIDECL_H |
Daniel Veillard | c86a4fa | 2001-03-26 16:28:29 +0000 | [diff] [blame] | 382 | #include <ansidecl.h> |
Daniel Veillard | 27b5528 | 2001-04-11 12:22:25 +0000 | [diff] [blame] | 383 | #endif |
Daniel Veillard | c86a4fa | 2001-03-26 16:28:29 +0000 | [diff] [blame] | 384 | #ifndef ATTRIBUTE_UNUSED |
William M. Brack | 30ce0dd | 2003-11-04 23:57:30 +0000 | [diff] [blame] | 385 | #define ATTRIBUTE_UNUSED __attribute__((unused)) |
Daniel Veillard | c86a4fa | 2001-03-26 16:28:29 +0000 | [diff] [blame] | 386 | #endif |
387 | #else | ||||
388 | #define ATTRIBUTE_UNUSED | ||||
389 | #endif | ||||
390 | |||||
Owen Taylor | 3473f88 | 2001-02-23 17:55:21 +0000 | [diff] [blame] | 391 | #ifdef __cplusplus |
392 | } | ||||
393 | #endif /* __cplusplus */ | ||||
394 | #endif | ||||
395 | |||||
396 |