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