/vendor/pcre/config.h.generic

http://github.com/feyeleanor/RubyGoLightly · Unknown · 307 lines · 246 code · 61 blank · 0 comment · 0 complexity · 39ad5be5b58c0e58b9c31bc49b68ef67 MD5 · raw file

  1. /* config.h. Generated from config.h.in by configure. */
  2. /* config.h.in. Generated from configure.ac by autoheader. */
  3. /* On Unix-like systems config.h.in is converted by "configure" into config.h.
  4. Some other environments also support the use of "configure". PCRE is written in
  5. Standard C, but there are a few non-standard things it can cope with, allowing
  6. it to run on SunOS4 and other "close to standard" systems.
  7. If you are going to build PCRE "by hand" on a system without "configure" you
  8. should copy the distributed config.h.generic to config.h, and then set up the
  9. macro definitions the way you need them. You must then add -DHAVE_CONFIG_H to
  10. all of your compile commands, so that config.h is included at the start of
  11. every source.
  12. Alternatively, you can avoid editing by using -D on the compiler command line
  13. to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H.
  14. PCRE uses memmove() if HAVE_MEMMOVE is set to 1; otherwise it uses bcopy() if
  15. HAVE_BCOPY is set to 1. If your system has neither bcopy() nor memmove(), set
  16. them both to 0; an emulation function will be used. */
  17. /* By default, the \R escape sequence matches any Unicode line ending
  18. character or sequence of characters. If BSR_ANYCRLF is defined, this is
  19. changed so that backslash-R matches only CR, LF, or CRLF. The build- time
  20. default can be overridden by the user of PCRE at runtime. On systems that
  21. support it, "configure" can be used to override the default. */
  22. /* #undef BSR_ANYCRLF */
  23. /* If you are compiling for a system that uses EBCDIC instead of ASCII
  24. character codes, define this macro as 1. On systems that can use
  25. "configure", this can be done via --enable-ebcdic. */
  26. /* #undef EBCDIC */
  27. /* Define to 1 if you have the `bcopy' function. */
  28. #ifndef HAVE_BCOPY
  29. #define HAVE_BCOPY 1
  30. #endif
  31. /* Define to 1 if you have the <bits/type_traits.h> header file. */
  32. /* #undef HAVE_BITS_TYPE_TRAITS_H */
  33. /* Define to 1 if you have the <bzlib.h> header file. */
  34. #ifndef HAVE_BZLIB_H
  35. #define HAVE_BZLIB_H 1
  36. #endif
  37. /* Define to 1 if you have the <dirent.h> header file. */
  38. #ifndef HAVE_DIRENT_H
  39. #define HAVE_DIRENT_H 1
  40. #endif
  41. /* Define to 1 if you have the <dlfcn.h> header file. */
  42. #ifndef HAVE_DLFCN_H
  43. #define HAVE_DLFCN_H 1
  44. #endif
  45. /* Define to 1 if you have the <inttypes.h> header file. */
  46. #ifndef HAVE_INTTYPES_H
  47. #define HAVE_INTTYPES_H 1
  48. #endif
  49. /* Define to 1 if you have the <limits.h> header file. */
  50. #ifndef HAVE_LIMITS_H
  51. #define HAVE_LIMITS_H 1
  52. #endif
  53. /* Define to 1 if the system has the type `long long'. */
  54. #ifndef HAVE_LONG_LONG
  55. #define HAVE_LONG_LONG 1
  56. #endif
  57. /* Define to 1 if you have the `memmove' function. */
  58. #ifndef HAVE_MEMMOVE
  59. #define HAVE_MEMMOVE 1
  60. #endif
  61. /* Define to 1 if you have the <memory.h> header file. */
  62. #ifndef HAVE_MEMORY_H
  63. #define HAVE_MEMORY_H 1
  64. #endif
  65. /* Define to 1 if you have the <readline/history.h> header file. */
  66. #ifndef HAVE_READLINE_HISTORY_H
  67. #define HAVE_READLINE_HISTORY_H 1
  68. #endif
  69. /* Define to 1 if you have the <readline/readline.h> header file. */
  70. #ifndef HAVE_READLINE_READLINE_H
  71. #define HAVE_READLINE_READLINE_H 1
  72. #endif
  73. /* Define to 1 if you have the <stdint.h> header file. */
  74. #ifndef HAVE_STDINT_H
  75. #define HAVE_STDINT_H 1
  76. #endif
  77. /* Define to 1 if you have the <stdlib.h> header file. */
  78. #ifndef HAVE_STDLIB_H
  79. #define HAVE_STDLIB_H 1
  80. #endif
  81. /* Define to 1 if you have the `strerror' function. */
  82. #ifndef HAVE_STRERROR
  83. #define HAVE_STRERROR 1
  84. #endif
  85. /* Define to 1 if you have the <string> header file. */
  86. #ifndef HAVE_STRING
  87. #define HAVE_STRING 1
  88. #endif
  89. /* Define to 1 if you have the <strings.h> header file. */
  90. #ifndef HAVE_STRINGS_H
  91. #define HAVE_STRINGS_H 1
  92. #endif
  93. /* Define to 1 if you have the <string.h> header file. */
  94. #ifndef HAVE_STRING_H
  95. #define HAVE_STRING_H 1
  96. #endif
  97. /* Define to 1 if you have the `strtoll' function. */
  98. /* #undef HAVE_STRTOLL */
  99. /* Define to 1 if you have the `strtoq' function. */
  100. #ifndef HAVE_STRTOQ
  101. #define HAVE_STRTOQ 1
  102. #endif
  103. /* Define to 1 if you have the <sys/stat.h> header file. */
  104. #ifndef HAVE_SYS_STAT_H
  105. #define HAVE_SYS_STAT_H 1
  106. #endif
  107. /* Define to 1 if you have the <sys/types.h> header file. */
  108. #ifndef HAVE_SYS_TYPES_H
  109. #define HAVE_SYS_TYPES_H 1
  110. #endif
  111. /* Define to 1 if you have the <type_traits.h> header file. */
  112. /* #undef HAVE_TYPE_TRAITS_H */
  113. /* Define to 1 if you have the <unistd.h> header file. */
  114. #ifndef HAVE_UNISTD_H
  115. #define HAVE_UNISTD_H 1
  116. #endif
  117. /* Define to 1 if the system has the type `unsigned long long'. */
  118. #ifndef HAVE_UNSIGNED_LONG_LONG
  119. #define HAVE_UNSIGNED_LONG_LONG 1
  120. #endif
  121. /* Define to 1 if you have the <windows.h> header file. */
  122. /* #undef HAVE_WINDOWS_H */
  123. /* Define to 1 if you have the <zlib.h> header file. */
  124. #ifndef HAVE_ZLIB_H
  125. #define HAVE_ZLIB_H 1
  126. #endif
  127. /* Define to 1 if you have the `_strtoi64' function. */
  128. /* #undef HAVE__STRTOI64 */
  129. /* The value of LINK_SIZE determines the number of bytes used to store links
  130. as offsets within the compiled regex. The default is 2, which allows for
  131. compiled patterns up to 64K long. This covers the vast majority of cases.
  132. However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows
  133. for longer patterns in extreme cases. On systems that support it,
  134. "configure" can be used to override this default. */
  135. #ifndef LINK_SIZE
  136. #define LINK_SIZE 2
  137. #endif
  138. /* The value of MATCH_LIMIT determines the default number of times the
  139. internal match() function can be called during a single execution of
  140. pcre_exec(). There is a runtime interface for setting a different limit.
  141. The limit exists in order to catch runaway regular expressions that take
  142. for ever to determine that they do not match. The default is set very large
  143. so that it does not accidentally catch legitimate cases. On systems that
  144. support it, "configure" can be used to override this default default. */
  145. #ifndef MATCH_LIMIT
  146. #define MATCH_LIMIT 10000000
  147. #endif
  148. /* The above limit applies to all calls of match(), whether or not they
  149. increase the recursion depth. In some environments it is desirable to limit
  150. the depth of recursive calls of match() more strictly, in order to restrict
  151. the maximum amount of stack (or heap, if NO_RECURSE is defined) that is
  152. used. The value of MATCH_LIMIT_RECURSION applies only to recursive calls of
  153. match(). To have any useful effect, it must be less than the value of
  154. MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT. There is
  155. a runtime method for setting a different limit. On systems that support it,
  156. "configure" can be used to override the default. */
  157. #ifndef MATCH_LIMIT_RECURSION
  158. #define MATCH_LIMIT_RECURSION MATCH_LIMIT
  159. #endif
  160. /* This limit is parameterized just in case anybody ever wants to change it.
  161. Care must be taken if it is increased, because it guards against integer
  162. overflow caused by enormously large patterns. */
  163. #ifndef MAX_NAME_COUNT
  164. #define MAX_NAME_COUNT 10000
  165. #endif
  166. /* This limit is parameterized just in case anybody ever wants to change it.
  167. Care must be taken if it is increased, because it guards against integer
  168. overflow caused by enormously large patterns. */
  169. #ifndef MAX_NAME_SIZE
  170. #define MAX_NAME_SIZE 32
  171. #endif
  172. /* The value of NEWLINE determines the newline character sequence. On systems
  173. that support it, "configure" can be used to override the default, which is
  174. 10. The possible values are 10 (LF), 13 (CR), 3338 (CRLF), -1 (ANY), or -2
  175. (ANYCRLF). */
  176. #ifndef NEWLINE
  177. #define NEWLINE 10
  178. #endif
  179. /* PCRE uses recursive function calls to handle backtracking while matching.
  180. This can sometimes be a problem on systems that have stacks of limited
  181. size. Define NO_RECURSE to get a version that doesn't use recursion in the
  182. match() function; instead it creates its own stack by steam using
  183. pcre_recurse_malloc() to obtain memory from the heap. For more detail, see
  184. the comments and other stuff just above the match() function. On systems
  185. that support it, "configure" can be used to set this in the Makefile (use
  186. --disable-stack-for-recursion). */
  187. /* #undef NO_RECURSE */
  188. /* Name of package */
  189. #define PACKAGE "pcre"
  190. /* Define to the address where bug reports for this package should be sent. */
  191. #define PACKAGE_BUGREPORT ""
  192. /* Define to the full name of this package. */
  193. #define PACKAGE_NAME "PCRE"
  194. /* Define to the full name and version of this package. */
  195. #define PACKAGE_STRING "PCRE 7.8"
  196. /* Define to the one symbol short name of this package. */
  197. #define PACKAGE_TARNAME "pcre"
  198. /* Define to the version of this package. */
  199. #define PACKAGE_VERSION "7.8"
  200. /* If you are compiling for a system other than a Unix-like system or
  201. Win32, and it needs some magic to be inserted before the definition
  202. of a function that is exported by the library, define this macro to
  203. contain the relevant magic. If you do not define this macro, it
  204. defaults to "extern" for a C compiler and "extern C" for a C++
  205. compiler on non-Win32 systems. This macro apears at the start of
  206. every exported function that is part of the external API. It does
  207. not appear on functions that are "external" in the C sense, but
  208. which are internal to the library. */
  209. /* #undef PCRE_EXP_DEFN */
  210. /* Define if linking statically (TODO: make nice with Libtool) */
  211. /* #undef PCRE_STATIC */
  212. /* When calling PCRE via the POSIX interface, additional working storage is
  213. required for holding the pointers to capturing substrings because PCRE
  214. requires three integers per substring, whereas the POSIX interface provides
  215. only two. If the number of expected substrings is small, the wrapper
  216. function uses space on the stack, because this is faster than using
  217. malloc() for each call. The threshold above which the stack is no longer
  218. used is defined by POSIX_MALLOC_THRESHOLD. On systems that support it,
  219. "configure" can be used to override this default. */
  220. #ifndef POSIX_MALLOC_THRESHOLD
  221. #define POSIX_MALLOC_THRESHOLD 10
  222. #endif
  223. /* Define to 1 if you have the ANSI C header files. */
  224. #ifndef STDC_HEADERS
  225. #define STDC_HEADERS 1
  226. #endif
  227. /* Define to allow pcregrep to be linked with libbz2, so that it is able to
  228. handle .bz2 files. */
  229. /* #undef SUPPORT_LIBBZ2 */
  230. /* Define to allow pcretest to be linked with libreadline. */
  231. /* #undef SUPPORT_LIBREADLINE */
  232. /* Define to allow pcregrep to be linked with libz, so that it is able to
  233. handle .gz files. */
  234. /* #undef SUPPORT_LIBZ */
  235. /* Define to enable support for Unicode properties */
  236. /* #undef SUPPORT_UCP */
  237. /* Define to enable support for the UTF-8 Unicode encoding. */
  238. /* #undef SUPPORT_UTF8 */
  239. /* Version number of package */
  240. #ifndef VERSION
  241. #define VERSION "7.8"
  242. #endif
  243. /* Define to empty if `const' does not conform to ANSI C. */
  244. /* #undef const */
  245. /* Define to `unsigned int' if <sys/types.h> does not define. */
  246. /* #undef size_t */