blob: fa50afdd244c86c5c4d9b338bd5ebd68365ff35e [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 Veillardbe803962000-06-28 23:40:59 +000012/*
13 * use those to be sure nothing nasty will happen if
14 * your library and includes mismatch
15 */
16extern void xmlCheckVersion(int version);
Daniel Veillardb9df4042000-04-05 14:23:16 +000017#define LIBXML_VERSION @LIBXML_VERSION_NUMBER@
18#define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
Daniel Veillardbe803962000-06-28 23:40:59 +000019#define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@);
Daniel Veillardb9df4042000-04-05 14:23:16 +000020
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 Veillard3f6f7f62000-06-30 17:58:25 +000058 * 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 Veillardb9df4042000-04-05 14:23:16 +000067 * 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