blob: c0544e6d6d6bc64892dba9a2d22fadd2a91fcd1d [file] [log] [blame]
Daniel Veillardb9df4042000-04-05 14:23:16 +00001/*
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 Veillard960aa532000-09-03 17:20:17 +000012#ifdef __cplusplus
13extern "C" {
14#endif
15
Daniel Veillardbe803962000-06-28 23:40:59 +000016/*
17 * use those to be sure nothing nasty will happen if
18 * your library and includes mismatch
19 */
20extern void xmlCheckVersion(int version);
Daniel Veillardb9df4042000-04-05 14:23:16 +000021#define LIBXML_VERSION @LIBXML_VERSION_NUMBER@
22#define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
Daniel Veillardbe803962000-06-28 23:40:59 +000023#define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@);
Daniel Veillardb9df4042000-04-05 14:23:16 +000024
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/*
Daniel Veillard39c7d712000-09-10 16:14:55 +000053 * Whether the Docbook support is configured in
54#if @WITH_SGML@
55#define LIBXML_SGML_ENABLED
56#else
57#define LIBXML_SGML_DISABLED
58#endif
59 */
60
61/*
Daniel Veillardb9df4042000-04-05 14:23:16 +000062 * Whether XPath is configured in
63 */
64#if @WITH_XPATH@
65#define LIBXML_XPATH_ENABLED
66#else
67#define LIBXML_XPATH_DISABLED
68#endif
69
70/*
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000071 * Whether iconv support is available
72 */
73#if @WITH_ICONV@
74#define LIBXML_ICONV_ENABLED
75#else
76#define LIBXML_ICONV_DISABLED
77#endif
78
79/*
Daniel Veillardb9df4042000-04-05 14:23:16 +000080 * Whether Debugging module is configured in
81 */
82#if @WITH_DEBUG@
83#define LIBXML_DEBUG_ENABLED
84#else
85#define LIBXML_DEBUG_DISABLED
86#endif
87
88/*
89 * Whether the memory debugging is configured in
90 */
91#if @WITH_MEM_DEBUG@
92#define DEBUG_MEMORY_LOCATION
93#endif
94
Daniel Veillard960aa532000-09-03 17:20:17 +000095#ifdef __cplusplus
96}
97#endif /* __cplusplus */
Daniel Veillardb9df4042000-04-05 14:23:16 +000098#endif
99
100