xsltconfig.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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. #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.39"
  21. /**
  22. * LIBXSLT_VERSION:
  23. *
  24. * the version number: 1.2.3 value is 10203
  25. */
  26. #define LIBXSLT_VERSION 10139
  27. /**
  28. * LIBXSLT_VERSION_STRING:
  29. *
  30. * the version number string, 1.2.3 value is "10203"
  31. */
  32. #define LIBXSLT_VERSION_STRING "10139"
  33. /**
  34. * LIBXSLT_VERSION_EXTRA:
  35. *
  36. * extra version information, used to show a Git commit description
  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_SYS_STAT_H 1
  79. #ifndef XSLT_NEED_TRIO
  80. #define XSLT_NEED_TRIO
  81. #endif
  82. #endif
  83. #ifdef XSLT_NEED_TRIO
  84. #define TRIO_REPLACE_STDIO
  85. #endif
  86. /**
  87. * WITH_XSLT_DEBUGGER:
  88. *
  89. * Activate the compilation of the debugger support. Speed penalty
  90. * is insignifiant.
  91. * On by default unless --without-debugger is passed to configure
  92. */
  93. #if 1
  94. #ifndef WITH_DEBUGGER
  95. #define WITH_DEBUGGER
  96. #endif
  97. #endif
  98. /**
  99. * WITH_PROFILER:
  100. *
  101. * Activate the compilation of the profiler. Speed penalty
  102. * is insignifiant.
  103. * On by default unless --without-profiler is passed to configure
  104. */
  105. #if 1
  106. #ifndef WITH_PROFILER
  107. #define WITH_PROFILER
  108. #endif
  109. #endif
  110. /**
  111. * WITH_MODULES:
  112. *
  113. * Whether module support is configured into libxslt
  114. * Note: no default module path for win32 platforms
  115. */
  116. #if 0
  117. #ifndef WITH_MODULES
  118. #define WITH_MODULES
  119. #endif
  120. #define LIBXSLT_DEFAULT_PLUGINS_PATH() "NULL"
  121. #endif
  122. /**
  123. * ATTRIBUTE_UNUSED:
  124. *
  125. * This macro is used to flag unused function parameters to GCC
  126. */
  127. #ifdef __GNUC__
  128. #ifndef ATTRIBUTE_UNUSED
  129. #define ATTRIBUTE_UNUSED __attribute__((unused))
  130. #endif
  131. #else
  132. #define ATTRIBUTE_UNUSED
  133. #endif
  134. /**
  135. * LIBXSLT_ATTR_FORMAT:
  136. *
  137. * This macro is used to indicate to GCC the parameters are printf-like
  138. */
  139. #ifdef __GNUC__
  140. #define LIBXSLT_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
  141. #else
  142. #define LIBXSLT_ATTR_FORMAT(fmt,args)
  143. #endif
  144. /**
  145. * LIBXSLT_PUBLIC:
  146. *
  147. * This macro is used to declare PUBLIC variables for Cygwin and for MSC on Windows
  148. */
  149. #if !defined LIBXSLT_PUBLIC
  150. #if (defined(__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
  151. #define LIBXSLT_PUBLIC __declspec(dllimport)
  152. #else
  153. #define LIBXSLT_PUBLIC
  154. #endif
  155. #endif
  156. #ifdef __cplusplus
  157. }
  158. #endif
  159. #endif /* __XML_XSLTCONFIG_H__ */