Home | History | Annotate | Download | only in libxmlrpg
      1       * Summary: compile-time version informations
      2       * Description: compile-time version informations for the XML library
      3       *
      4       * Copy: See Copyright for the status of this software.
      5       *
      6       * Author: Patrick Monnerat <pm (a] datasphere.ch>, DATASPHERE S.A.
      7 
      8       /if not defined(XML_VERSION_H__)
      9       /define XML_VERSION_H__
     10 
     11       /include "libxmlrpg/xmlexports"
     12 
     13       * use those to be sure nothing nasty will happen if
     14       * your library and includes mismatch
     15 
     16 
     17      d xmlCheckVersion...
     18      d                 pr                  extproc('xmlCheckVersion')
     19      d  version                      10i 0 value
     20 
     21       * LIBXML_DOTTED_VERSION:
     22       *
     23       * the version string like "1.2.3"
     24 
     25      d LIBXML_DOTTED_VERSION...
     26      d                 c                   '@VERSION@'
     27 
     28       * LIBXML_VERSION:
     29       *
     30       * the version number: 1.2.3 value is 10203
     31 
     32      d LIBXML_VERSION  c                   @LIBXML_VERSION_NUMBER@
     33 
     34       * LIBXML_VERSION_STRING:
     35       *
     36       * the version number string, 1.2.3 value is "10203"
     37 
     38      d LIBXML_VERSION_STRING...
     39      d                 c                   '@LIBXML_VERSION_NUMBER@'
     40 
     41       * LIBXML_VERSION_EXTRA:
     42       *
     43       * extra version information, used to show a CVS compilation
     44 
     45      d LIBXML_VERSION_EXTRA...
     46      d                 c                   '@LIBXML_VERSION_EXTRA@'
     47 
     48       * For conditional compilation
     49       /define   DEFINED_1
     50       /undefine DEFINED_0
     51 
     52       /if defined(DEFINED_@WITH_TRIO@)
     53       * WITH_TRIO:
     54       *
     55       * defined if the trio support need to be configured in
     56 
     57       /define WITH_TRIO
     58       /else
     59       * WITHOUT_TRIO:
     60       *
     61       * defined if the trio support should not be configured in
     62 
     63       /define WITHOUT_TRIO
     64       /endif
     65 
     66       * LIBXML_THREAD_ENABLED:
     67       *
     68       * Whether the thread support is configured in
     69 
     70       /if defined(DEFINED_@WITH_THREADS@)
     71       /define LIBXML_THREAD_ENABLED
     72       /endif
     73 
     74       * LIBXML_THREAD_ALLOC_ENABLED:
     75       *
     76       * Whether the allocation hooks are per-thread
     77 
     78       /if defined(DEFINED_@WITH_THREAD_ALLOC@)
     79       /define LIBXML_THREAD_ALLOC_ENABLED
     80       /endif
     81 
     82       * LIBXML_TREE_ENABLED:
     83       *
     84       * Whether the DOM like tree manipulation API support is configured in
     85 
     86       /if defined(DEFINED_@WITH_TREE@)
     87       /define LIBXML_TREE_ENABLED
     88       /endif
     89 
     90       * LIBXML_OUTPUT_ENABLED:
     91       *
     92       * Whether the serialization/saving support is configured in
     93 
     94       /if defined(DEFINED_@WITH_OUTPUT@)
     95       /define LIBXML_OUTPUT_ENABLED
     96       /endif
     97 
     98       * LIBXML_PUSH_ENABLED:
     99       *
    100       * Whether the push parsing interfaces are configured in
    101 
    102       /if defined(DEFINED_@WITH_PUSH@)
    103       /define LIBXML_PUSH_ENABLED
    104       /endif
    105 
    106       * LIBXML_READER_ENABLED:
    107       *
    108       * Whether the xmlReader parsing interface is configured in
    109 
    110       /if defined(DEFINED_@WITH_READER@)
    111       /define LIBXML_READER_ENABLED
    112       /endif
    113 
    114       * LIBXML_PATTERN_ENABLED:
    115       *
    116       * Whether the xmlPattern node selection interface is configured in
    117 
    118       /if defined(DEFINED_@WITH_PATTERN@)
    119       /define LIBXML_PATTERN_ENABLED
    120       /endif
    121 
    122       * LIBXML_WRITER_ENABLED:
    123       *
    124       * Whether the xmlWriter saving interface is configured in
    125 
    126       /if defined(DEFINED_@WITH_WRITER@)
    127       /define LIBXML_WRITER_ENABLED
    128       /endif
    129 
    130       * LIBXML_SAX1_ENABLED:
    131       *
    132       * Whether the older SAX1 interface is configured in
    133 
    134       /if defined(DEFINED_@WITH_SAX1@)
    135       /define LIBXML_SAX1_ENABLED
    136       /endif
    137 
    138       * LIBXML_FTP_ENABLED:
    139       *
    140       * Whether the FTP support is configured in
    141 
    142       /if defined(DEFINED_@WITH_FTP@)
    143       /define LIBXML_FTP_ENABLED
    144       /endif
    145 
    146       * LIBXML_HTTP_ENABLED:
    147       *
    148       * Whether the HTTP support is configured in
    149 
    150       /if defined(DEFINED_@WITH_HTTP@)
    151       /define LIBXML_HTTP_ENABLED
    152       /endif
    153 
    154       * LIBXML_VALID_ENABLED:
    155       *
    156       * Whether the DTD validation support is configured in
    157 
    158       /if defined(DEFINED_@WITH_VALID@)
    159       /define LIBXML_VALID_ENABLED
    160       /endif
    161 
    162       * LIBXML_HTML_ENABLED:
    163       *
    164       * Whether the HTML support is configured in
    165 
    166       /if defined(DEFINED_@WITH_HTML@)
    167       /define LIBXML_HTML_ENABLED
    168       /endif
    169 
    170       * LIBXML_LEGACY_ENABLED:
    171       *
    172       * Whether the deprecated APIs are compiled in for compatibility
    173 
    174       /if defined(DEFINED_@WITH_LEGACY@)
    175       /define LIBXML_LEGACY_ENABLED
    176       /endif
    177 
    178       * LIBXML_C14N_ENABLED:
    179       *
    180       * Whether the Canonicalization support is configured in
    181 
    182       /if defined(DEFINED_@WITH_C14N@)
    183       /define LIBXML_C14N_ENABLED
    184       /endif
    185 
    186       * LIBXML_CATALOG_ENABLED:
    187       *
    188       * Whether the Catalog support is configured in
    189 
    190       /if defined(DEFINED_@WITH_CATALOG@)
    191       /define LIBXML_CATALOG_ENABLED
    192       /endif
    193 
    194       * LIBXML_DOCB_ENABLED:
    195       *
    196       * Whether the SGML Docbook support is configured in
    197 
    198       /if defined(DEFINED_@WITH_DOCB@)
    199       /define LIBXML_DOCB_ENABLED
    200       /endif
    201 
    202       * LIBXML_XPATH_ENABLED:
    203       *
    204       * Whether XPath is configured in
    205 
    206       /if defined(DEFINED_@WITH_XPATH@)
    207       /define LIBXML_XPATH_ENABLED
    208       /endif
    209 
    210       * LIBXML_XPTR_ENABLED:
    211       *
    212       * Whether XPointer is configured in
    213 
    214       /if defined(DEFINED_@WITH_XPTR@)
    215       /define LIBXML_XPTR_ENABLED
    216       /endif
    217 
    218       * LIBXML_XINCLUDE_ENABLED:
    219       *
    220       * Whether XInclude is configured in
    221 
    222       /if defined(DEFINED_@WITH_XINCLUDE@)
    223       /define LIBXML_XINCLUDE_ENABLED
    224       /endif
    225 
    226       * LIBXML_ICONV_ENABLED:
    227       *
    228       * Whether iconv support is available
    229 
    230       /if defined(DEFINED_@WITH_ICONV@)
    231       /define LIBXML_ICONV_ENABLED
    232       /endif
    233 
    234       * LIBXML_ICU_ENABLED:
    235       *
    236       * Whether icu support is available
    237 
    238       /if defined(DEFINED_@WITH_ICU@)
    239       /define LIBXML_ICU_ENABLED
    240       /endif
    241 
    242       * LIBXML_ISO8859X_ENABLED:
    243       *
    244       * Whether ISO-8859-* support is made available in case iconv is not
    245 
    246       /if defined(DEFINED_@WITH_ISO8859X@)
    247       /define LIBXML_ISO8859X_ENABLED
    248       /endif
    249 
    250       * LIBXML_DEBUG_ENABLED:
    251       *
    252       * Whether Debugging module is configured in
    253 
    254       /if defined(DEFINED_@WITH_DEBUG@)
    255       /define LIBXML_DEBUG_ENABLED
    256       /endif
    257 
    258       * DEBUG_MEMORY_LOCATION:
    259       *
    260       * Whether the memory debugging is configured in
    261 
    262       /if defined(DEFINED_@WITH_MEM_DEBUG@)
    263       /define DEBUG_MEMORY_LOCATION
    264       /endif
    265 
    266       * LIBXML_DEBUG_RUNTIME:
    267       *
    268       * Whether the runtime debugging is configured in
    269 
    270       /if defined(DEFINED_@WITH_RUN_DEBUG@)
    271       /define LIBXML_DEBUG_RUNTIME
    272       /endif
    273 
    274       * LIBXML_UNICODE_ENABLED:
    275       *
    276       * Whether the Unicode related interfaces are compiled in
    277 
    278       /if defined(DEFINED_@WITH_REGEXPS@)
    279       /define LIBXML_UNICODE_ENABLED
    280       /endif
    281 
    282       * LIBXML_REGEXP_ENABLED:
    283       *
    284       * Whether the regular expressions interfaces are compiled in
    285 
    286       /if defined(DEFINED_@WITH_REGEXPS@)
    287       /define LIBXML_REGEXP_ENABLED
    288       /endif
    289 
    290       * LIBXML_AUTOMATA_ENABLED:
    291       *
    292       * Whether the automata interfaces are compiled in
    293 
    294       /if defined(DEFINED_@WITH_REGEXPS@)
    295       /define LIBXML_AUTOMATA_ENABLED
    296       /endif
    297 
    298       * LIBXML_EXPR_ENABLED:
    299       *
    300       * Whether the formal expressions interfaces are compiled in
    301 
    302       /if defined(DEFINED_@WITH_SCHEMAS@)
    303       /define LIBXML_EXPR_ENABLED
    304       /endif
    305 
    306       * LIBXML_SCHEMAS_ENABLED:
    307       *
    308       * Whether the Schemas validation interfaces are compiled in
    309 
    310       /if defined(DEFINED_@WITH_SCHEMAS@)
    311       /define LIBXML_SCHEMAS_ENABLED
    312       /endif
    313 
    314       * LIBXML_SCHEMATRON_ENABLED:
    315       *
    316       * Whether the Schematron validation interfaces are compiled in
    317 
    318       /if defined(DEFINED_@WITH_SCHEMATRON@)
    319       /define LIBXML_SCHEMATRON_ENABLED
    320       /endif
    321 
    322       * LIBXML_MODULES_ENABLED:
    323       *
    324       * Whether the module interfaces are compiled in
    325 
    326       /if defined(DEFINED_@WITH_MODULES@)
    327       /define LIBXML_MODULES_ENABLED
    328 
    329       * LIBXML_MODULE_EXTENSION:
    330       *
    331       * the string suffix used by dynamic modules (usually shared libraries)
    332 
    333      d LIBXML_MODULE_EXTENSION...
    334      d                 c                   '.SRVPGM'
    335       /endif
    336 
    337       * LIBXML_ZLIB_ENABLED:
    338       *
    339       * Whether the Zlib support is compiled in
    340 
    341       /if defined(DEFINED_@WITH_ZLIB@)
    342       /define LIBXML_ZLIB_ENABLED
    343       /endif
    344 
    345       * LIBXML_LZMA_ENABLED:
    346       *
    347       * Whether the Lzma support is compiled in
    348 
    349       /if defined(DEFINED_@WITH_LZMA@)
    350       /define LIBXML_LZMA_ENABLED
    351       /endif
    352       /endif
    353