| 1 | /* |
| 2 | * Summary: compile-time version information for the XSLT engine |
| 3 | * Description: compile-time version information for the XSLT engine |
| 4 | * this module is autogenerated. |
| 5 | * |
| 6 | * Copy: See Copyright for the status of this software. |
| 7 | * |
| 8 | * Author: Daniel Veillard |
| 9 | */ |
| 10 | |
| 11 | #ifndef __XML_XSLTCONFIG_H__ |
| 12 | #define __XML_XSLTCONFIG_H__ |
| 13 | |
| 14 | #ifdef __cplusplus |
| 15 | extern "C" { |
| 16 | #endif |
| 17 | |
| 18 | /** |
| 19 | * LIBXSLT_DOTTED_VERSION: |
| 20 | * |
| 21 | * the version string like "1.2.3" |
| 22 | */ |
| 23 | #define LIBXSLT_DOTTED_VERSION "1.1.34" |
| 24 | |
| 25 | /** |
| 26 | * LIBXSLT_VERSION: |
| 27 | * |
| 28 | * the version number: 1.2.3 value is 10203 |
| 29 | */ |
| 30 | #define LIBXSLT_VERSION 10134 |
| 31 | |
| 32 | /** |
| 33 | * LIBXSLT_VERSION_STRING: |
| 34 | * |
| 35 | * the version number string, 1.2.3 value is "10203" |
| 36 | */ |
| 37 | #define LIBXSLT_VERSION_STRING "10134" |
| 38 | |
| 39 | /** |
| 40 | * LIBXSLT_VERSION_EXTRA: |
| 41 | * |
| 42 | * extra version information, used to show a CVS compilation |
| 43 | */ |
| 44 | #define "" |
| 45 | |
| 46 | /** |
| 47 | * WITH_XSLT_DEBUG: |
| 48 | * |
| 49 | * Activate the compilation of the debug reporting. Speed penalty |
| 50 | * is insignifiant and being able to run xsltpoc -v is useful. On |
| 51 | * by default unless --without-debug is passed to configure |
| 52 | */ |
| 53 | #if 1 |
| 54 | #define WITH_XSLT_DEBUG |
| 55 | #endif |
| 56 | |
| 57 | #if 0 |
| 58 | /** |
| 59 | * DEBUG_MEMORY: |
| 60 | * |
| 61 | * should be activated only when debugging libxslt. It replaces the |
| 62 | * allocator with a collect and debug shell to the libc allocator. |
| 63 | * Use configure --with-mem-debug to activate it on both library |
| 64 | */ |
| 65 | #define DEBUG_MEMORY |
| 66 | |
| 67 | /** |
| 68 | * DEBUG_MEMORY_LOCATION: |
| 69 | * |
| 70 | * should be activated only when debugging libxslt. |
| 71 | * DEBUG_MEMORY_LOCATION should be activated only when libxml has |
| 72 | * been configured with --with-debug-mem too |
| 73 | */ |
| 74 | #define DEBUG_MEMORY_LOCATION |
| 75 | #endif |
| 76 | |
| 77 | /** |
| 78 | * XSLT_NEED_TRIO: |
| 79 | * |
| 80 | * should be activated if the existing libc library lacks some of the |
| 81 | * string formatting function, in that case reuse the Trio ones already |
| 82 | * compiled in the libxml2 library. |
| 83 | */ |
| 84 | |
| 85 | #if 0 |
| 86 | #define XSLT_NEED_TRIO |
| 87 | #endif |
| 88 | #ifdef __VMS |
| 89 | #define HAVE_MATH_H 1 |
| 90 | #define HAVE_SYS_STAT_H 1 |
| 91 | #ifndef XSLT_NEED_TRIO |
| 92 | #define XSLT_NEED_TRIO |
| 93 | #endif |
| 94 | #endif |
| 95 | |
| 96 | #ifdef XSLT_NEED_TRIO |
| 97 | #define TRIO_REPLACE_STDIO |
| 98 | #endif |
| 99 | |
| 100 | /** |
| 101 | * WITH_XSLT_DEBUGGER: |
| 102 | * |
| 103 | * Activate the compilation of the debugger support. Speed penalty |
| 104 | * is insignifiant. |
| 105 | * On by default unless --without-debugger is passed to configure |
| 106 | */ |
| 107 | #if 1 |
| 108 | #ifndef WITH_DEBUGGER |
| 109 | #define WITH_DEBUGGER |
| 110 | #endif |
| 111 | #endif |
| 112 | |
| 113 | /** |
| 114 | * WITH_PROFILER: |
| 115 | * |
| 116 | * Activate the compilation of the profiler. Speed penalty |
| 117 | * is insignifiant. |
| 118 | * On by default unless --without-profiler is passed to configure |
| 119 | */ |
| 120 | #if 1 |
| 121 | #ifndef WITH_PROFILER |
| 122 | #define WITH_PROFILER |
| 123 | #endif |
| 124 | #endif |
| 125 | |
| 126 | /** |
| 127 | * WITH_MODULES: |
| 128 | * |
| 129 | * Whether module support is configured into libxslt |
| 130 | * Note: no default module path for win32 platforms |
| 131 | */ |
| 132 | #if 1 |
| 133 | #ifndef WITH_MODULES |
| 134 | #define WITH_MODULES |
| 135 | #endif |
| 136 | #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/usr/lib/x86_64-linux-gnu/libxslt-plugins" |
| 137 | #endif |
| 138 | |
| 139 | /** |
| 140 | * ATTRIBUTE_UNUSED: |
| 141 | * |
| 142 | * This macro is used to flag unused function parameters to GCC |
| 143 | */ |
| 144 | #ifdef __GNUC__ |
| 145 | #ifndef ATTRIBUTE_UNUSED |
| 146 | #define ATTRIBUTE_UNUSED __attribute__((unused)) |
| 147 | #endif |
| 148 | #else |
| 149 | #define ATTRIBUTE_UNUSED |
| 150 | #endif |
| 151 | |
| 152 | /** |
| 153 | * LIBXSLT_ATTR_FORMAT: |
| 154 | * |
| 155 | * This macro is used to indicate to GCC the parameters are printf-like |
| 156 | */ |
| 157 | #ifdef __GNUC__ |
| 158 | #define LIBXSLT_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args))) |
| 159 | #else |
| 160 | #define LIBXSLT_ATTR_FORMAT(fmt,args) |
| 161 | #endif |
| 162 | |
| 163 | /** |
| 164 | * LIBXSLT_PUBLIC: |
| 165 | * |
| 166 | * This macro is used to declare PUBLIC variables for Cygwin and for MSC on Windows |
| 167 | */ |
| 168 | #if !defined LIBXSLT_PUBLIC |
| 169 | #if (defined(__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC |
| 170 | #define LIBXSLT_PUBLIC __declspec(dllimport) |
| 171 | #else |
| 172 | #define LIBXSLT_PUBLIC |
| 173 | #endif |
| 174 | #endif |
| 175 | |
| 176 | #ifdef __cplusplus |
| 177 | } |
| 178 | #endif |
| 179 | |
| 180 | #endif /* __XML_XSLTCONFIG_H__ */ |
| 181 | |