2 * Summary: compile-time version informations for the XSLT engine
3 * Description: compile-time version informations 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 "@VERSION@"
28 * the version number: 1.2.3 value is 10203
30 #define LIBXSLT_VERSION @LIBXSLT_VERSION_NUMBER@
33 * LIBXSLT_VERSION_STRING:
35 * the version number string, 1.2.3 value is "10203"
37 #define LIBXSLT_VERSION_STRING "@LIBXSLT_VERSION_NUMBER@"
40 * LIBXSLT_VERSION_EXTRA:
42 * extra version information, used to show a CVS compilation
44 #define LIBXSLT_VERSION_EXTRA "@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
90 #define HAVE_SYS_STAT_H 1
91 #ifndef XSLT_NEED_TRIO
92 #define XSLT_NEED_TRIO
97 #define TRIO_REPLACE_STDIO
101 * WITH_XSLT_DEBUGGER:
103 * Activate the compilation of the debugger support. Speed penalty
105 * On by default unless --without-debugger is passed to configure
108 #ifndef WITH_DEBUGGER
109 #define WITH_DEBUGGER
116 * Whether module support is configured into libxslt
117 * Note: no default module path for win32 platforms
123 #define LIBXSLT_DEFAULT_PLUGINS_PATH() "@LIBXSLT_DEFAULT_PLUGINS_PATH@"
129 #if @XSLT_LOCALE_XLOCALE@
130 #ifndef XSLT_LOCALE_XLOCALE
131 #define XSLT_LOCALE_XLOCALE
133 #elif @XSLT_LOCALE_WINAPI@
134 #ifndef XSLT_LOCALE_WINAPI
135 #define XSLT_LOCALE_WINAPI
142 * This macro is used to flag unused function parameters to GCC
145 #ifdef HAVE_ANSIDECL_H
146 #include <ansidecl.h>
148 #ifndef ATTRIBUTE_UNUSED
149 #define ATTRIBUTE_UNUSED __attribute__((unused))
152 #define ATTRIBUTE_UNUSED
158 * This macro is used to declare PUBLIC variables for Cygwin and for MSC on Windows
160 #if !defined LIBXSLT_PUBLIC
161 #if (defined(__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
162 #define LIBXSLT_PUBLIC __declspec(dllimport)
164 #define LIBXSLT_PUBLIC
172 #endif /* __XML_XSLTCONFIG_H__ */