mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-12 09:17:37 +03:00
c8df0aaf9f
Added XPointer: - configure.in Makefile.am include/makefile.am: adding XPointer and XPtrtests target - xpointer.[ch] : new files for XPointer support - test/XPath/xptr result/XPath/xptr: added XPointer testsuite and more XPath tests Daniel
120 lines
2.0 KiB
C
120 lines
2.0 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@);
|
|
|
|
/*
|
|
* a few extra config stuff which may not be handled easily in configure
|
|
*/
|
|
|
|
#ifndef HAVE_SOCKLEN_T
|
|
#if defined(__osf__) || defined(__Linux__)
|
|
#define HAVE_SOCKLEN_T
|
|
#endif
|
|
#endif
|
|
|
|
/*
|
|
* 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
|
|
|
|
|