Annotation of XML/xmlversion.h.in, revision 1.5

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.5     ! veillard   12: #ifdef __cplusplus
        !            13: extern "C" {
        !            14: #endif
        !            15: 
1.3       daniel     16: /*
                     17:  * use those to be sure nothing nasty will happen if
                     18:  * your library and includes mismatch
                     19:  */
                     20: extern void xmlCheckVersion(int version);
1.1       daniel     21: #define LIBXML_VERSION @LIBXML_VERSION_NUMBER@
                     22: #define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
1.3       daniel     23: #define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@);
1.1       daniel     24: 
                     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: /*
1.4       veillard   53:  * Whether the Docbook support is configured in
                     54:  */
                     55: #if @WITH_SGML@
                     56: #define LIBXML_SGML_ENABLED
                     57: #else
                     58: #define LIBXML_SGML_DISABLED
                     59: #endif
                     60: 
                     61: /*
1.1       daniel     62:  * 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: /*
1.2       daniel     71:  * 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: /*
1.1       daniel     80:  * 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: 
1.5     ! veillard   95: #ifdef __cplusplus
        !            96: }
        !            97: #endif /* __cplusplus */
1.1       daniel     98: #endif
                     99: 
                    100: 

Webmaster