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.
6 * Copy: See Copyright for the status of this software.
8 * Author: Daniel Veillard
11 #ifndef __XML_XSLTCONFIG_H__
12 #define __XML_XSLTCONFIG_H__
19 * LIBXSLT_DOTTED_VERSION:
21 * the version string like "1.2.3"
23 #define LIBXSLT_DOTTED_VERSION "1.1.37"
28 * the version number: 1.2.3 value is 10203
30 #define LIBXSLT_VERSION 10137
33 * LIBXSLT_VERSION_STRING:
35 * the version number string, 1.2.3 value is "10203"
37 #define LIBXSLT_VERSION_STRING "10137"
40 * LIBXSLT_VERSION_EXTRA:
42 * extra version information, used to show a Git commit description
44 #define LIBXSLT_VERSION_EXTRA ""
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
54 #define WITH_XSLT_DEBUG
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
68 * DEBUG_MEMORY_LOCATION:
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
74 #define DEBUG_MEMORY_LOCATION
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.
86 #define XSLT_NEED_TRIO
89 #define HAVE_SYS_STAT_H 1
90 #ifndef XSLT_NEED_TRIO
91 #define XSLT_NEED_TRIO
96 #define TRIO_REPLACE_STDIO
100 * WITH_XSLT_DEBUGGER:
102 * Activate the compilation of the debugger support. Speed penalty
104 * On by default unless --without-debugger is passed to configure
107 #ifndef WITH_DEBUGGER
108 #define WITH_DEBUGGER
115 * Activate the compilation of the profiler. Speed penalty
117 * On by default unless --without-profiler is passed to configure
120 #ifndef WITH_PROFILER
121 #define WITH_PROFILER
128 * Whether module support is configured into libxslt
129 * Note: no default module path for win32 platforms
135 #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/usr/lib/libxslt-plugins"
141 * This macro is used to flag unused function parameters to GCC
144 #ifndef ATTRIBUTE_UNUSED
145 #define ATTRIBUTE_UNUSED __attribute__((unused))
148 #define ATTRIBUTE_UNUSED
152 * LIBXSLT_ATTR_FORMAT:
154 * This macro is used to indicate to GCC the parameters are printf-like
157 #define LIBXSLT_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
159 #define LIBXSLT_ATTR_FORMAT(fmt,args)
165 * This macro is used to declare PUBLIC variables for Cygwin and for MSC on Windows
167 #if !defined LIBXSLT_PUBLIC
168 #if (defined(__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
169 #define LIBXSLT_PUBLIC __declspec(dllimport)
171 #define LIBXSLT_PUBLIC
179 #endif /* __XML_XSLTCONFIG_H__ */