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 | /* |
Daniel Veillard | 281f8ff | 2000-09-24 08:12:14 +0000 | [diff] [blame] | 26 | * a few extra config stuff which may not be handled easily in configure |
| 27 | */ |
| 28 | |
| 29 | #ifndef HAVE_SOCKLEN_T |
| 30 | #if defined(__osf__) || defined(__Linux__) |
| 31 | #define HAVE_SOCKLEN_T |
| 32 | #endif |
| 33 | #endif |
| 34 | |
| 35 | /* |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 36 | * Whether the FTP support is configured in |
| 37 | */ |
| 38 | #if @WITH_FTP@ |
| 39 | #define LIBXML_FTP_ENABLED |
| 40 | #else |
| 41 | #define LIBXML_FTP_DISABLED |
| 42 | #endif |
| 43 | |
| 44 | /* |
| 45 | * Whether the HTTP support is configured in |
| 46 | */ |
| 47 | #if @WITH_HTTP@ |
| 48 | #define LIBXML_HTTP_ENABLED |
| 49 | #else |
| 50 | #define LIBXML_HTTP_DISABLED |
| 51 | #endif |
| 52 | |
| 53 | /* |
| 54 | * Whether the HTML support is configured in |
| 55 | */ |
| 56 | #if @WITH_HTML@ |
| 57 | #define LIBXML_HTML_ENABLED |
| 58 | #else |
| 59 | #define LIBXML_HTML_DISABLED |
| 60 | #endif |
| 61 | |
| 62 | /* |
Daniel Veillard | 39c7d71 | 2000-09-10 16:14:55 +0000 | [diff] [blame] | 63 | * Whether the Docbook support is configured in |
| 64 | #if @WITH_SGML@ |
| 65 | #define LIBXML_SGML_ENABLED |
| 66 | #else |
| 67 | #define LIBXML_SGML_DISABLED |
| 68 | #endif |
| 69 | */ |
| 70 | |
| 71 | /* |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 72 | * Whether XPath is configured in |
| 73 | */ |
| 74 | #if @WITH_XPATH@ |
| 75 | #define LIBXML_XPATH_ENABLED |
| 76 | #else |
| 77 | #define LIBXML_XPATH_DISABLED |
| 78 | #endif |
| 79 | |
| 80 | /* |
Daniel Veillard | c8df0aa | 2000-10-10 23:50:30 +0000 | [diff] [blame^] | 81 | * Whether XPointer is configured in |
| 82 | */ |
| 83 | #if @WITH_XPTR@ |
| 84 | #define LIBXML_XPTR_ENABLED |
| 85 | #else |
| 86 | #define LIBXML_XPTR_DISABLED |
| 87 | #endif |
| 88 | |
| 89 | /* |
Daniel Veillard | 3f6f7f6 | 2000-06-30 17:58:25 +0000 | [diff] [blame] | 90 | * Whether iconv support is available |
| 91 | */ |
| 92 | #if @WITH_ICONV@ |
| 93 | #define LIBXML_ICONV_ENABLED |
| 94 | #else |
| 95 | #define LIBXML_ICONV_DISABLED |
| 96 | #endif |
| 97 | |
| 98 | /* |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 99 | * Whether Debugging module is configured in |
| 100 | */ |
| 101 | #if @WITH_DEBUG@ |
| 102 | #define LIBXML_DEBUG_ENABLED |
| 103 | #else |
| 104 | #define LIBXML_DEBUG_DISABLED |
| 105 | #endif |
| 106 | |
| 107 | /* |
| 108 | * Whether the memory debugging is configured in |
| 109 | */ |
| 110 | #if @WITH_MEM_DEBUG@ |
| 111 | #define DEBUG_MEMORY_LOCATION |
| 112 | #endif |
| 113 | |
Daniel Veillard | 960aa53 | 2000-09-03 17:20:17 +0000 | [diff] [blame] | 114 | #ifdef __cplusplus |
| 115 | } |
| 116 | #endif /* __cplusplus */ |
Daniel Veillard | b9df404 | 2000-04-05 14:23:16 +0000 | [diff] [blame] | 117 | #endif |
| 118 | |
| 119 | |