1 /* config.h. Generated from config.h.in by configure. */
2 /* config.h.in. Generated from configure.ac by autoheader. */
5 /* On Unix-like systems config.h.in is converted by "configure" into config.h.
6 Some other environments also support the use of "configure". PCRE is written in
7 Standard C, but there are a few non-standard things it can cope with, allowing
8 it to run on SunOS4 and other "close to standard" systems.
10 If you are going to build PCRE "by hand" on a system without "configure" you
11 should copy the distributed config.h.generic to config.h, and then set up the
12 macro definitions the way you need them. You must then add -DHAVE_CONFIG_H to
13 all of your compile commands, so that config.h is included at the start of
16 Alternatively, you can avoid editing by using -D on the compiler command line
17 to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H.
19 PCRE uses memmove() if HAVE_MEMMOVE is set to 1; otherwise it uses bcopy() if
20 HAVE_BCOPY is set to 1. If your system has neither bcopy() nor memmove(), set
21 them both to 0; an emulation function will be used. */
23 /* By default, the \R escape sequence matches any Unicode line ending
24 character or sequence of characters. If BSR_ANYCRLF is defined, this is
25 changed so that backslash-R matches only CR, LF, or CRLF. The build- time
26 default can be overridden by the user of PCRE at runtime. On systems that
27 support it, "configure" can be used to override the default. */
28 /* #undef BSR_ANYCRLF */
30 /* If you are compiling for a system that uses EBCDIC instead of ASCII
31 character codes, define this macro as 1. On systems that can use
32 "configure", this can be done via --enable-ebcdic. PCRE will then assume
33 that all input strings are in EBCDIC. If you do not define this macro, PCRE
34 will assume input strings are ASCII or UTF-8 Unicode. It is not possible to
35 build a version of PCRE that supports both EBCDIC and UTF-8. */
38 /* Define to 1 if you have the `bcopy' function. */
43 /* Define to 1 if you have the <bits/type_traits.h> header file. */
44 /* #undef HAVE_BITS_TYPE_TRAITS_H */
46 /* Define to 1 if you have the <bzlib.h> header file. */
48 #define HAVE_BZLIB_H 1
51 /* Define to 1 if you have the <dirent.h> header file. */
53 #define HAVE_DIRENT_H 1
56 /* Define to 1 if you have the <dlfcn.h> header file. */
58 #define HAVE_DLFCN_H 1
61 /* Define to 1 if you have the <inttypes.h> header file. */
62 #ifndef HAVE_INTTYPES_H
63 #define HAVE_INTTYPES_H 1
66 /* Define to 1 if you have the <limits.h> header file. */
68 #define HAVE_LIMITS_H 1
71 /* Define to 1 if the system has the type `long long'. */
72 #ifndef HAVE_LONG_LONG
73 #define HAVE_LONG_LONG 1
76 /* Define to 1 if you have the `memmove' function. */
78 #define HAVE_MEMMOVE 1
81 /* Define to 1 if you have the <memory.h> header file. */
83 #define HAVE_MEMORY_H 1
86 /* Define to 1 if you have the <readline/history.h> header file. */
87 #ifndef HAVE_READLINE_HISTORY_H
88 #define HAVE_READLINE_HISTORY_H 1
91 /* Define to 1 if you have the <readline/readline.h> header file. */
92 #ifndef HAVE_READLINE_READLINE_H
93 #define HAVE_READLINE_READLINE_H 1
96 /* Define to 1 if you have the <stdint.h> header file. */
98 #define HAVE_STDINT_H 1
101 /* Define to 1 if you have the <stdlib.h> header file. */
102 #ifndef HAVE_STDLIB_H
103 #define HAVE_STDLIB_H 1
106 /* Define to 1 if you have the `strerror' function. */
107 #ifndef HAVE_STRERROR
108 #define HAVE_STRERROR 1
111 /* Define to 1 if you have the <string> header file. */
113 #define HAVE_STRING 1
116 /* Define to 1 if you have the <strings.h> header file. */
117 #ifndef HAVE_STRINGS_H
118 #define HAVE_STRINGS_H 1
121 /* Define to 1 if you have the <string.h> header file. */
122 #ifndef HAVE_STRING_H
123 #define HAVE_STRING_H 1
126 /* Define to 1 if you have `strtoimax'. */
127 /* #undef HAVE_STRTOIMAX */
129 /* Define to 1 if you have `strtoll'. */
130 /* #undef HAVE_STRTOLL */
132 /* Define to 1 if you have `strtoq'. */
134 #define HAVE_STRTOQ 1
137 /* Define to 1 if you have the <sys/stat.h> header file. */
138 #ifndef HAVE_SYS_STAT_H
139 #define HAVE_SYS_STAT_H 1
142 /* Define to 1 if you have the <sys/types.h> header file. */
143 #ifndef HAVE_SYS_TYPES_H
144 #define HAVE_SYS_TYPES_H 1
147 /* Define to 1 if you have the <type_traits.h> header file. */
148 /* #undef HAVE_TYPE_TRAITS_H */
150 /* Define to 1 if you have the <unistd.h> header file. */
151 #ifndef HAVE_UNISTD_H
152 #define HAVE_UNISTD_H 1
155 /* Define to 1 if the system has the type `unsigned long long'. */
156 #ifndef HAVE_UNSIGNED_LONG_LONG
157 #define HAVE_UNSIGNED_LONG_LONG 1
160 /* Define to 1 if you have the <windows.h> header file. */
161 /* #undef HAVE_WINDOWS_H */
163 /* Define to 1 if you have the <zlib.h> header file. */
165 #define HAVE_ZLIB_H 1
168 /* Define to 1 if you have `_strtoi64'. */
169 /* #undef HAVE__STRTOI64 */
171 /* The value of LINK_SIZE determines the number of bytes used to store links
172 as offsets within the compiled regex. The default is 2, which allows for
173 compiled patterns up to 64K long. This covers the vast majority of cases.
174 However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows
175 for longer patterns in extreme cases. On systems that support it,
176 "configure" can be used to override this default. */
181 /* Define to the sub-directory in which libtool stores uninstalled libraries.
184 #define LT_OBJDIR ".libs/"
187 /* The value of MATCH_LIMIT determines the default number of times the
188 internal match() function can be called during a single execution of
189 pcre_exec(). There is a runtime interface for setting a different limit.
190 The limit exists in order to catch runaway regular expressions that take
191 for ever to determine that they do not match. The default is set very large
192 so that it does not accidentally catch legitimate cases. On systems that
193 support it, "configure" can be used to override this default default. */
195 #define MATCH_LIMIT 10000000
198 /* The above limit applies to all calls of match(), whether or not they
199 increase the recursion depth. In some environments it is desirable to limit
200 the depth of recursive calls of match() more strictly, in order to restrict
201 the maximum amount of stack (or heap, if NO_RECURSE is defined) that is
202 used. The value of MATCH_LIMIT_RECURSION applies only to recursive calls of
203 match(). To have any useful effect, it must be less than the value of
204 MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT. There is
205 a runtime method for setting a different limit. On systems that support it,
206 "configure" can be used to override the default. */
207 #ifndef MATCH_LIMIT_RECURSION
208 #define MATCH_LIMIT_RECURSION MATCH_LIMIT
211 /* This limit is parameterized just in case anybody ever wants to change it.
212 Care must be taken if it is increased, because it guards against integer
213 overflow caused by enormously large patterns. */
214 #ifndef MAX_NAME_COUNT
215 #define MAX_NAME_COUNT 10000
218 /* This limit is parameterized just in case anybody ever wants to change it.
219 Care must be taken if it is increased, because it guards against integer
220 overflow caused by enormously large patterns. */
221 #ifndef MAX_NAME_SIZE
222 #define MAX_NAME_SIZE 32
225 /* The value of NEWLINE determines the newline character sequence. On systems
226 that support it, "configure" can be used to override the default, which is
227 10. The possible values are 10 (LF), 13 (CR), 3338 (CRLF), -1 (ANY), or -2
233 /* PCRE uses recursive function calls to handle backtracking while matching.
234 This can sometimes be a problem on systems that have stacks of limited
235 size. Define NO_RECURSE to get a version that doesn't use recursion in the
236 match() function; instead it creates its own stack by steam using
237 pcre_recurse_malloc() to obtain memory from the heap. For more detail, see
238 the comments and other stuff just above the match() function. On systems
239 that support it, "configure" can be used to set this in the Makefile (use
240 --disable-stack-for-recursion). */
241 /* #undef NO_RECURSE */
243 /* Name of package */
244 #define PACKAGE "pcre"
246 /* Define to the address where bug reports for this package should be sent. */
247 #define PACKAGE_BUGREPORT ""
249 /* Define to the full name of this package. */
250 #define PACKAGE_NAME "PCRE"
252 /* Define to the full name and version of this package. */
253 #define PACKAGE_STRING "PCRE 8.11"
255 /* Define to the one symbol short name of this package. */
256 #define PACKAGE_TARNAME "pcre"
258 /* Define to the home page for this package. */
259 #define PACKAGE_URL ""
261 /* Define to the version of this package. */
262 #define PACKAGE_VERSION "8.11"
265 /* If you are compiling for a system other than a Unix-like system or
266 Win32, and it needs some magic to be inserted before the definition
267 of a function that is exported by the library, define this macro to
268 contain the relevant magic. If you do not define this macro, it
269 defaults to "extern" for a C compiler and "extern C" for a C++
270 compiler on non-Win32 systems. This macro apears at the start of
271 every exported function that is part of the external API. It does
272 not appear on functions that are "external" in the C sense, but
273 which are internal to the library. */
274 /* #undef PCRE_EXP_DEFN */
276 /* Define if linking statically (TODO: make nice with Libtool) */
277 /* #undef PCRE_STATIC */
279 /* When calling PCRE via the POSIX interface, additional working storage is
280 required for holding the pointers to capturing substrings because PCRE
281 requires three integers per substring, whereas the POSIX interface provides
282 only two. If the number of expected substrings is small, the wrapper
283 function uses space on the stack, because this is faster than using
284 malloc() for each call. The threshold above which the stack is no longer
285 used is defined by POSIX_MALLOC_THRESHOLD. On systems that support it,
286 "configure" can be used to override this default. */
287 #ifndef POSIX_MALLOC_THRESHOLD
288 #define POSIX_MALLOC_THRESHOLD 10
291 /* Define to 1 if you have the ANSI C header files. */
293 #define STDC_HEADERS 1
296 /* Define to allow pcregrep to be linked with libbz2, so that it is able to
297 handle .bz2 files. */
298 /* #undef SUPPORT_LIBBZ2 */
300 /* Define to allow pcretest to be linked with libreadline. */
301 /* #undef SUPPORT_LIBREADLINE */
303 /* Define to allow pcregrep to be linked with libz, so that it is able to
305 /* #undef SUPPORT_LIBZ */
307 /* Define to enable support for Unicode properties */
308 /* #undef SUPPORT_UCP */
310 /* Define to enable support for the UTF-8 Unicode encoding. This will work
311 even in an EBCDIC environment, but it is incompatible with the EBCDIC
312 macro. That is, PCRE can support *either* EBCDIC code *or* ASCII/UTF-8, but
314 /* #undef SUPPORT_UTF8 */
316 /* Version number of package */
318 #define VERSION "8.11"
321 /* Define to empty if `const' does not conform to ANSI C. */
324 /* Define to the type of a signed integer type of width exactly 64 bits if
325 such a type exists and the standard includes do not define it. */
328 /* Define to `unsigned int' if <sys/types.h> does not define. */