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 | a4964b7 | 2000-10-31 18:23:44 +0000 | [diff] [blame] | 21 | #define LIBXML_DOTTED_VERSION "@VERSION@" |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 22 | #define LIBXML_VERSION @LIBXML_VERSION_NUMBER@ |
| 23 | #define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@" |
Daniel Veillard | be80396 | 2000-06-28 23:40:59 +0000 | [diff] [blame] | 24 | #define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@); |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 25 | |
| 26 | /* |
| 27 | * Whether the FTP support is configured in |
| 28 | */ |
| 29 | #if @WITH_FTP@ |
| 30 | #define LIBXML_FTP_ENABLED |
| 31 | #else |
| 32 | #define LIBXML_FTP_DISABLED |
| 33 | #endif |
| 34 | |
| 35 | /* |
| 36 | * Whether the HTTP support is configured in |
| 37 | */ |
| 38 | #if @WITH_HTTP@ |
| 39 | #define LIBXML_HTTP_ENABLED |
| 40 | #else |
| 41 | #define LIBXML_HTTP_DISABLED |
| 42 | #endif |
| 43 | |
| 44 | /* |
| 45 | * Whether the HTML support is configured in |
| 46 | */ |
| 47 | #if @WITH_HTML@ |
| 48 | #define LIBXML_HTML_ENABLED |
| 49 | #else |
| 50 | #define LIBXML_HTML_DISABLED |
| 51 | #endif |
| 52 | |
| 53 | /* |
Daniel Veillard | 39c7d71 | 2000-09-10 16:14:55 +0000 | [diff] [blame] | 54 | * Whether the Docbook support is configured in |
| 55 | #if @WITH_SGML@ |
| 56 | #define LIBXML_SGML_ENABLED |
| 57 | #else |
| 58 | #define LIBXML_SGML_DISABLED |
| 59 | #endif |
| 60 | */ |
| 61 | |
| 62 | /* |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 63 | * Whether XPath is configured in |
| 64 | */ |
| 65 | #if @WITH_XPATH@ |
| 66 | #define LIBXML_XPATH_ENABLED |
| 67 | #else |
| 68 | #define LIBXML_XPATH_DISABLED |
| 69 | #endif |
| 70 | |
| 71 | /* |
Daniel Veillard | c8df0aa | 2000-10-10 23:50:30 +0000 | [diff] [blame] | 72 | * Whether XPointer is configured in |
| 73 | */ |
| 74 | #if @WITH_XPTR@ |
| 75 | #define LIBXML_XPTR_ENABLED |
| 76 | #else |
| 77 | #define LIBXML_XPTR_DISABLED |
| 78 | #endif |
| 79 | |
| 80 | /* |
Daniel Veillard | 9e8bfae | 2000-11-06 16:43:11 +0000 | [diff] [blame] | 81 | * Whether XInclude is configured in |
| 82 | */ |
| 83 | #if @WITH_XINCLUDE@ |
| 84 | #define LIBXML_XINCLUDE_ENABLED |
| 85 | #else |
| 86 | #define LIBXML_XINCLUDE_DISABLED |
| 87 | #endif |
| 88 | |
| 89 | /* |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 90 | * Whether iconv support is available |
| 91 | */ |
Daniel Veillard | 41e0651 | 2000-11-13 11:47:47 +0000 | [diff] [blame^] | 92 | #ifndef WIN32 |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 93 | #if @WITH_ICONV@ |
| 94 | #define LIBXML_ICONV_ENABLED |
| 95 | #else |
| 96 | #define LIBXML_ICONV_DISABLED |
| 97 | #endif |
Daniel Veillard | 41e0651 | 2000-11-13 11:47:47 +0000 | [diff] [blame^] | 98 | #endif |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 99 | |
| 100 | /* |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 101 | * Whether Debugging module is configured in |
| 102 | */ |
| 103 | #if @WITH_DEBUG@ |
| 104 | #define LIBXML_DEBUG_ENABLED |
| 105 | #else |
| 106 | #define LIBXML_DEBUG_DISABLED |
| 107 | #endif |
| 108 | |
| 109 | /* |
| 110 | * Whether the memory debugging is configured in |
| 111 | */ |
| 112 | #if @WITH_MEM_DEBUG@ |
| 113 | #define DEBUG_MEMORY_LOCATION |
| 114 | #endif |
| 115 | |
Daniel Veillard | c2def84 | 2000-11-07 14:21:01 +0000 | [diff] [blame] | 116 | #ifndef LIBXML_DLL_IMPORT |
| 117 | #if defined(WIN32) && !defined(STATIC) |
| 118 | #define LIBXML_DLL_IMPORT __declspec(dllimport) |
| 119 | #else |
| 120 | #define LIBXML_DLL_IMPORT |
| 121 | #endif |
| 122 | #endif |
| 123 | |
Daniel Veillard | 960aa53 | 2000-09-03 17:20:17 +0000 | [diff] [blame] | 124 | #ifdef __cplusplus |
| 125 | } |
| 126 | #endif /* __cplusplus */ |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 127 | #endif |
| 128 | |
| 129 | |