You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

170 lines
3.4 KiB

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