Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 1 | /* |
| 2 | * xmlversion.h : compile-time version informations for the XML parser. |
| 3 | * |
| 4 | * See Copyright for the status of this software. |
| 5 | * |
| 6 | * Daniel.Veillard@w3.org |
| 7 | */ |
| 8 | |
| 9 | #ifndef __XML_VERSION_H__ |
| 10 | #define __XML_VERSION_H__ |
| 11 | |
Daniel Veillard | 960aa53 | 2000-09-03 17:20:17 +0000 | [diff] [blame^] | 12 | #ifdef __cplusplus |
| 13 | extern "C" { |
| 14 | #endif |
| 15 | |
Daniel Veillard | be80396 | 2000-06-28 23:40:59 +0000 | [diff] [blame] | 16 | /* |
| 17 | * use those to be sure nothing nasty will happen if |
| 18 | * your library and includes mismatch |
| 19 | */ |
| 20 | extern void xmlCheckVersion(int version); |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 21 | #define LIBXML_VERSION @LIBXML_VERSION_NUMBER@ |
| 22 | #define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@" |
Daniel Veillard | be80396 | 2000-06-28 23:40:59 +0000 | [diff] [blame] | 23 | #define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@); |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 24 | |
| 25 | /* |
| 26 | * Whether the FTP support is configured in |
| 27 | */ |
| 28 | #if @WITH_FTP@ |
| 29 | #define LIBXML_FTP_ENABLED |
| 30 | #else |
| 31 | #define LIBXML_FTP_DISABLED |
| 32 | #endif |
| 33 | |
| 34 | /* |
| 35 | * Whether the HTTP support is configured in |
| 36 | */ |
| 37 | #if @WITH_HTTP@ |
| 38 | #define LIBXML_HTTP_ENABLED |
| 39 | #else |
| 40 | #define LIBXML_HTTP_DISABLED |
| 41 | #endif |
| 42 | |
| 43 | /* |
| 44 | * Whether the HTML support is configured in |
| 45 | */ |
| 46 | #if @WITH_HTML@ |
| 47 | #define LIBXML_HTML_ENABLED |
| 48 | #else |
| 49 | #define LIBXML_HTML_DISABLED |
| 50 | #endif |
| 51 | |
| 52 | /* |
| 53 | * Whether XPath is configured in |
| 54 | */ |
| 55 | #if @WITH_XPATH@ |
| 56 | #define LIBXML_XPATH_ENABLED |
| 57 | #else |
| 58 | #define LIBXML_XPATH_DISABLED |
| 59 | #endif |
| 60 | |
| 61 | /* |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 62 | * Whether iconv support is available |
| 63 | */ |
| 64 | #if @WITH_ICONV@ |
| 65 | #define LIBXML_ICONV_ENABLED |
| 66 | #else |
| 67 | #define LIBXML_ICONV_DISABLED |
| 68 | #endif |
| 69 | |
| 70 | /* |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 71 | * Whether Debugging module is configured in |
| 72 | */ |
| 73 | #if @WITH_DEBUG@ |
| 74 | #define LIBXML_DEBUG_ENABLED |
| 75 | #else |
| 76 | #define LIBXML_DEBUG_DISABLED |
| 77 | #endif |
| 78 | |
| 79 | /* |
| 80 | * Whether the memory debugging is configured in |
| 81 | */ |
| 82 | #if @WITH_MEM_DEBUG@ |
| 83 | #define DEBUG_MEMORY_LOCATION |
| 84 | #endif |
| 85 | |
Daniel Veillard | 960aa53 | 2000-09-03 17:20:17 +0000 | [diff] [blame^] | 86 | #ifdef __cplusplus |
| 87 | } |
| 88 | #endif /* __cplusplus */ |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 89 | #endif |
| 90 | |
| 91 | |