xsltconfig.h 3.6 KB

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