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 | be80396 | 2000-06-28 23:40:59 +0000 | [diff] [blame] | 12 | /* |
| 13 | * use those to be sure nothing nasty will happen if |
| 14 | * your library and includes mismatch |
| 15 | */ |
| 16 | extern void xmlCheckVersion(int version); |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 17 | #define LIBXML_VERSION @LIBXML_VERSION_NUMBER@ |
| 18 | #define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@" |
Daniel Veillard | be80396 | 2000-06-28 23:40:59 +0000 | [diff] [blame] | 19 | #define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@); |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 20 | |
| 21 | /* |
| 22 | * Whether the FTP support is configured in |
| 23 | */ |
| 24 | #if @WITH_FTP@ |
| 25 | #define LIBXML_FTP_ENABLED |
| 26 | #else |
| 27 | #define LIBXML_FTP_DISABLED |
| 28 | #endif |
| 29 | |
| 30 | /* |
| 31 | * Whether the HTTP support is configured in |
| 32 | */ |
| 33 | #if @WITH_HTTP@ |
| 34 | #define LIBXML_HTTP_ENABLED |
| 35 | #else |
| 36 | #define LIBXML_HTTP_DISABLED |
| 37 | #endif |
| 38 | |
| 39 | /* |
| 40 | * Whether the HTML support is configured in |
| 41 | */ |
| 42 | #if @WITH_HTML@ |
| 43 | #define LIBXML_HTML_ENABLED |
| 44 | #else |
| 45 | #define LIBXML_HTML_DISABLED |
| 46 | #endif |
| 47 | |
| 48 | /* |
| 49 | * Whether XPath is configured in |
| 50 | */ |
| 51 | #if @WITH_XPATH@ |
| 52 | #define LIBXML_XPATH_ENABLED |
| 53 | #else |
| 54 | #define LIBXML_XPATH_DISABLED |
| 55 | #endif |
| 56 | |
| 57 | /* |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 58 | * Whether iconv support is available |
| 59 | */ |
| 60 | #if @WITH_ICONV@ |
| 61 | #define LIBXML_ICONV_ENABLED |
| 62 | #else |
| 63 | #define LIBXML_ICONV_DISABLED |
| 64 | #endif |
| 65 | |
| 66 | /* |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 67 | * Whether Debugging module is configured in |
| 68 | */ |
| 69 | #if @WITH_DEBUG@ |
| 70 | #define LIBXML_DEBUG_ENABLED |
| 71 | #else |
| 72 | #define LIBXML_DEBUG_DISABLED |
| 73 | #endif |
| 74 | |
| 75 | /* |
| 76 | * Whether the memory debugging is configured in |
| 77 | */ |
| 78 | #if @WITH_MEM_DEBUG@ |
| 79 | #define DEBUG_MEMORY_LOCATION |
| 80 | #endif |
| 81 | |
| 82 | #endif |
| 83 | |
| 84 | |