Annotation of XML/xmlversion.h.in, revision 1.4
1.1 daniel 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:
1.3 daniel 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);
1.1 daniel 17: #define LIBXML_VERSION @LIBXML_VERSION_NUMBER@
18: #define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
1.3 daniel 19: #define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@);
1.1 daniel 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: /*
1.4 ! veillard 49: * Whether the Docbook support is configured in
! 50: */
! 51: #if @WITH_SGML@
! 52: #define LIBXML_SGML_ENABLED
! 53: #else
! 54: #define LIBXML_SGML_DISABLED
! 55: #endif
! 56:
! 57: /*
1.1 daniel 58: * Whether XPath is configured in
59: */
60: #if @WITH_XPATH@
61: #define LIBXML_XPATH_ENABLED
62: #else
63: #define LIBXML_XPATH_DISABLED
64: #endif
65:
66: /*
1.2 daniel 67: * Whether iconv support is available
68: */
69: #if @WITH_ICONV@
70: #define LIBXML_ICONV_ENABLED
71: #else
72: #define LIBXML_ICONV_DISABLED
73: #endif
74:
75: /*
1.1 daniel 76: * Whether Debugging module is configured in
77: */
78: #if @WITH_DEBUG@
79: #define LIBXML_DEBUG_ENABLED
80: #else
81: #define LIBXML_DEBUG_DISABLED
82: #endif
83:
84: /*
85: * Whether the memory debugging is configured in
86: */
87: #if @WITH_MEM_DEBUG@
88: #define DEBUG_MEMORY_LOCATION
89: #endif
90:
91: #endif
92:
93:
Webmaster