mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-27 13:25:05 +03:00
b0426caeb9
Daniel
110 lines
1.8 KiB
C
110 lines
1.8 KiB
C
/*
|
|
* xmlversion.h : compile-time version informations for the XML parser.
|
|
*
|
|
* See Copyright for the status of this software.
|
|
*
|
|
* Daniel.Veillard@w3.org
|
|
*/
|
|
|
|
#ifndef __XML_VERSION_H__
|
|
#define __XML_VERSION_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* use those to be sure nothing nasty will happen if
|
|
* your library and includes mismatch
|
|
*/
|
|
extern void xmlCheckVersion(int version);
|
|
#define LIBXML_VERSION @LIBXML_VERSION_NUMBER@
|
|
#define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
|
|
#define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@);
|
|
|
|
/*
|
|
* Whether the FTP support is configured in
|
|
*/
|
|
#if @WITH_FTP@
|
|
#define LIBXML_FTP_ENABLED
|
|
#else
|
|
#define LIBXML_FTP_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether the HTTP support is configured in
|
|
*/
|
|
#if @WITH_HTTP@
|
|
#define LIBXML_HTTP_ENABLED
|
|
#else
|
|
#define LIBXML_HTTP_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether the HTML support is configured in
|
|
*/
|
|
#if @WITH_HTML@
|
|
#define LIBXML_HTML_ENABLED
|
|
#else
|
|
#define LIBXML_HTML_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether the Docbook support is configured in
|
|
#if @WITH_SGML@
|
|
#define LIBXML_SGML_ENABLED
|
|
#else
|
|
#define LIBXML_SGML_DISABLED
|
|
#endif
|
|
*/
|
|
|
|
/*
|
|
* Whether XPath is configured in
|
|
*/
|
|
#if @WITH_XPATH@
|
|
#define LIBXML_XPATH_ENABLED
|
|
#else
|
|
#define LIBXML_XPATH_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether XPointer is configured in
|
|
*/
|
|
#if @WITH_XPTR@
|
|
#define LIBXML_XPTR_ENABLED
|
|
#else
|
|
#define LIBXML_XPTR_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether iconv support is available
|
|
*/
|
|
#if @WITH_ICONV@
|
|
#define LIBXML_ICONV_ENABLED
|
|
#else
|
|
#define LIBXML_ICONV_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether Debugging module is configured in
|
|
*/
|
|
#if @WITH_DEBUG@
|
|
#define LIBXML_DEBUG_ENABLED
|
|
#else
|
|
#define LIBXML_DEBUG_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether the memory debugging is configured in
|
|
*/
|
|
#if @WITH_MEM_DEBUG@
|
|
#define DEBUG_MEMORY_LOCATION
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
#endif
|
|
|
|
|