1/* config.h.  Generated from config.h.in by configure.  */
2/* config.h.in.  Generated from configure.ac by autoheader.  */
3
4/* PCRE is written in Standard C, but there are a few non-standard things it
5can cope with, allowing it to run on SunOS4 and other "close to standard"
6systems.
7
8In environments that support the GNU autotools, config.h.in is converted into
9config.h by the "configure" script. In environments that use CMake,
10config-cmake.in is converted into config.h. If you are going to build PCRE "by
11hand" without using "configure" or CMake, you should copy the distributed
12config.h.generic to config.h, and edit the macro definitions to be the way you
13need them. You must then add -DHAVE_CONFIG_H to all of your compile commands,
14so that config.h is included at the start of every source.
15
16Alternatively, you can avoid editing by using -D on the compiler command line
17to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H,
18but if you do, default values will be taken from config.h for non-boolean
19macros that are not defined on the command line.
20
21Boolean macros such as HAVE_STDLIB_H and SUPPORT_PCRE8 should either be defined
22(conventionally to 1) for TRUE, and not defined at all for FALSE. All such
23macros are listed as a commented #undef in config.h.generic. Macros such as
24MATCH_LIMIT, whose actual value is relevant, have defaults defined, but are
25surrounded by #ifndef/#endif lines so that the value can be overridden by -D.
26
27PCRE uses memmove() if HAVE_MEMMOVE is defined; otherwise it uses bcopy() if
28HAVE_BCOPY is defined. If your system has neither bcopy() nor memmove(), make
29sure both macros are undefined; an emulation function will then be used. */
30
31/* By default, the \R escape sequence matches any Unicode line ending
32   character or sequence of characters. If BSR_ANYCRLF is defined (to any
33   value), this is changed so that backslash-R matches only CR, LF, or CRLF.
34   The build-time default can be overridden by the user of PCRE at runtime. */
35/* #undef BSR_ANYCRLF */
36
37/* If you are compiling for a system that uses EBCDIC instead of ASCII
38   character codes, define this macro to any value. You must also edit the
39   NEWLINE macro below to set a suitable EBCDIC newline, commonly 21 (0x15).
40   On systems that can use "configure" or CMake to set EBCDIC, NEWLINE is
41   automatically adjusted. When EBCDIC is set, PCRE assumes that all input
42   strings are in EBCDIC. If you do not define this macro, PCRE will assume
43   input strings are ASCII or UTF-8/16/32 Unicode. It is not possible to build
44   a version of PCRE that supports both EBCDIC and UTF-8/16/32. */
45/* #undef EBCDIC */
46
47/* In an EBCDIC environment, define this macro to any value to arrange for the
48   NL character to be 0x25 instead of the default 0x15. NL plays the role that
49   LF does in an ASCII/Unicode environment. The value must also be set in the
50   NEWLINE macro below. On systems that can use "configure" or CMake to set
51   EBCDIC_NL25, the adjustment of NEWLINE is automatic. */
52/* #undef EBCDIC_NL25 */
53
54/* Define to 1 if you have the `bcopy' function. */
55#ifndef HAVE_BCOPY
56#define HAVE_BCOPY 1
57#endif
58
59/* Define to 1 if you have the <bits/type_traits.h> header file. */
60/* #undef HAVE_BITS_TYPE_TRAITS_H */
61
62/* Define to 1 if you have the <bzlib.h> header file. */
63#ifndef HAVE_BZLIB_H
64#define HAVE_BZLIB_H 1
65#endif
66
67/* Define to 1 if you have the <dirent.h> header file. */
68#ifndef HAVE_DIRENT_H
69#define HAVE_DIRENT_H 1
70#endif
71
72/* Define to 1 if you have the <dlfcn.h> header file. */
73#ifndef HAVE_DLFCN_H
74#define HAVE_DLFCN_H 1
75#endif
76
77/* Define to 1 if you have the <editline/readline.h> header file. */
78/* #undef HAVE_EDITLINE_READLINE_H */
79
80/* Define to 1 if you have the <edit/readline/readline.h> header file. */
81/* #undef HAVE_EDIT_READLINE_READLINE_H */
82
83/* Define to 1 if you have the <inttypes.h> header file. */
84#ifndef HAVE_INTTYPES_H
85#define HAVE_INTTYPES_H 1
86#endif
87
88/* Define to 1 if you have the <limits.h> header file. */
89#ifndef HAVE_LIMITS_H
90#define HAVE_LIMITS_H 1
91#endif
92
93/* Define to 1 if the system has the type `long long'. */
94#ifndef HAVE_LONG_LONG
95#define HAVE_LONG_LONG 1
96#endif
97
98/* Define to 1 if you have the `memmove' function. */
99#ifndef HAVE_MEMMOVE
100#define HAVE_MEMMOVE 1
101#endif
102
103/* Define to 1 if you have the <memory.h> header file. */
104#ifndef HAVE_MEMORY_H
105#define HAVE_MEMORY_H 1
106#endif
107/* #undef HAVE_MEMORY_H */
108
109/* Define if you have POSIX threads libraries and header files. */
110/* #undef HAVE_PTHREAD */
111
112/* Have PTHREAD_PRIO_INHERIT. */
113/* #undef HAVE_PTHREAD_PRIO_INHERIT */
114
115/* Define to 1 if you have the <readline/history.h> header file. */
116#ifndef HAVE_READLINE_HISTORY_H
117#define HAVE_READLINE_HISTORY_H 1
118#endif
119
120/* Define to 1 if you have the <readline/readline.h> header file. */
121#ifndef HAVE_READLINE_READLINE_H
122#define HAVE_READLINE_READLINE_H 1
123#endif
124
125/* Define to 1 if you have the <stdint.h> header file. */
126#ifndef HAVE_STDINT_H
127#define HAVE_STDINT_H 1
128#endif
129
130/* Define to 1 if you have the <stdlib.h> header file. */
131#ifndef HAVE_STDLIB_H
132#define HAVE_STDLIB_H 1
133#endif
134
135/* Define to 1 if you have the `strerror' function. */
136#ifndef HAVE_STRERROR
137#define HAVE_STRERROR 1
138#endif
139
140/* Define to 1 if you have the <string> header file. */
141#ifndef HAVE_STRING
142#define HAVE_STRING 1
143#endif
144
145/* Define to 1 if you have the <strings.h> header file. */
146#ifndef HAVE_STRINGS_H
147#define HAVE_STRINGS_H 1
148#endif
149
150/* Define to 1 if you have the <string.h> header file. */
151#ifndef HAVE_STRING_H
152#define HAVE_STRING_H 1
153#endif
154/* #undef HAVE_STRING_H */
155
156/* Define to 1 if you have `strtoimax'. */
157/* #undef HAVE_STRTOIMAX */
158
159/* Define to 1 if you have `strtoll'. */
160/* #undef HAVE_STRTOLL */
161
162/* Define to 1 if you have `strtoq'. */
163#ifndef HAVE_STRTOQ
164#define HAVE_STRTOQ 1
165#endif
166
167/* Define to 1 if you have the <sys/stat.h> header file. */
168#ifndef HAVE_SYS_STAT_H
169#define HAVE_SYS_STAT_H 1
170#endif
171
172/* Define to 1 if you have the <sys/types.h> header file. */
173#ifndef HAVE_SYS_TYPES_H
174#define HAVE_SYS_TYPES_H 1
175#endif
176
177/* Define to 1 if you have the <type_traits.h> header file. */
178/* #undef HAVE_TYPE_TRAITS_H */
179
180/* Define to 1 if you have the <unistd.h> header file. */
181#ifndef HAVE_UNISTD_H
182#define HAVE_UNISTD_H 1
183#endif
184
185/* Define to 1 if the system has the type `unsigned long long'. */
186#ifndef HAVE_UNSIGNED_LONG_LONG
187#define HAVE_UNSIGNED_LONG_LONG 1
188#endif
189
190/* Define to 1 if the compiler supports simple visibility declarations. */
191/* #undef HAVE_VISIBILITY */
192
193/* Define to 1 if you have the <windows.h> header file. */
194/* #undef HAVE_WINDOWS_H */
195
196/* Define to 1 if you have the <zlib.h> header file. */
197#ifndef HAVE_ZLIB_H
198#define HAVE_ZLIB_H 1
199#endif
200
201/* Define to 1 if you have `_strtoi64'. */
202/* #undef HAVE__STRTOI64 */
203
204/* The value of LINK_SIZE determines the number of bytes used to store links
205   as offsets within the compiled regex. The default is 2, which allows for
206   compiled patterns up to 64K long. This covers the vast majority of cases.
207   However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows
208   for longer patterns in extreme cases. */
209#ifndef LINK_SIZE
210#define LINK_SIZE 2
211#endif
212
213/* Define to the sub-directory where libtool stores uninstalled libraries. */
214/* This is ignored unless you are using libtool. */
215#ifndef LT_OBJDIR
216#define LT_OBJDIR ".libs/"
217#endif
218
219/* The value of MATCH_LIMIT determines the default number of times the
220   internal match() function can be called during a single execution of
221   pcre_exec(). There is a runtime interface for setting a different limit.
222   The limit exists in order to catch runaway regular expressions that take
223   for ever to determine that they do not match. The default is set very large
224   so that it does not accidentally catch legitimate cases. */
225#ifndef MATCH_LIMIT
226#define MATCH_LIMIT 10000000
227#endif
228
229/* The above limit applies to all calls of match(), whether or not they
230   increase the recursion depth. In some environments it is desirable to limit
231   the depth of recursive calls of match() more strictly, in order to restrict
232   the maximum amount of stack (or heap, if NO_RECURSE is defined) that is
233   used. The value of MATCH_LIMIT_RECURSION applies only to recursive calls of
234   match(). To have any useful effect, it must be less than the value of
235   MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT. There is
236   a runtime method for setting a different limit. */
237#ifndef MATCH_LIMIT_RECURSION
238#define MATCH_LIMIT_RECURSION MATCH_LIMIT
239#endif
240
241/* This limit is parameterized just in case anybody ever wants to change it.
242   Care must be taken if it is increased, because it guards against integer
243   overflow caused by enormously large patterns. */
244#ifndef MAX_NAME_COUNT
245#define MAX_NAME_COUNT 10000
246#endif
247
248/* This limit is parameterized just in case anybody ever wants to change it.
249   Care must be taken if it is increased, because it guards against integer
250   overflow caused by enormously large patterns. */
251#ifndef MAX_NAME_SIZE
252#define MAX_NAME_SIZE 32
253#endif
254
255/* The value of NEWLINE determines the default newline character sequence.
256   PCRE client programs can override this by selecting other values at run
257   time. In ASCII environments, the value can be 10 (LF), 13 (CR), or 3338
258   (CRLF); in EBCDIC environments the value can be 21 or 37 (LF), 13 (CR), or
259   3349 or 3365 (CRLF) because there are two alternative codepoints (0x15 and
260   0x25) that are used as the NL line terminator that is equivalent to ASCII
261   LF. In both ASCII and EBCDIC environments the value can also be -1 (ANY),
262   or -2 (ANYCRLF). */
263#ifndef NEWLINE
264#define NEWLINE 10
265#endif
266
267/* PCRE uses recursive function calls to handle backtracking while matching.
268   This can sometimes be a problem on systems that have stacks of limited
269   size. Define NO_RECURSE to any value to get a version that doesn't use
270   recursion in the match() function; instead it creates its own stack by
271   steam using pcre_recurse_malloc() to obtain memory from the heap. For more
272   detail, see the comments and other stuff just above the match() function.
273   */
274/* #undef NO_RECURSE */
275
276/* Name of package */
277#define PACKAGE "pcre"
278
279/* Define to the address where bug reports for this package should be sent. */
280#define PACKAGE_BUGREPORT ""
281
282/* Define to the full name of this package. */
283#define PACKAGE_NAME "PCRE"
284
285/* Define to the full name and version of this package. */
286#define PACKAGE_STRING "PCRE 8.39"
287
288/* Define to the one symbol short name of this package. */
289#define PACKAGE_TARNAME "pcre"
290
291/* Define to the home page for this package. */
292#define PACKAGE_URL ""
293
294/* Define to the version of this package. */
295#define PACKAGE_VERSION "8.39"
296
297/* The value of PARENS_NEST_LIMIT specifies the maximum depth of nested
298   parentheses (of any kind) in a pattern. This limits the amount of system
299   stack that is used while compiling a pattern. */
300#ifndef PARENS_NEST_LIMIT
301#define PARENS_NEST_LIMIT 250
302#endif
303
304/* The value of PCREGREP_BUFSIZE determines the size of buffer used by
305   pcregrep to hold parts of the file it is searching. This is also the
306   minimum value. The actual amount of memory used by pcregrep is three times
307   this number, because it allows for the buffering of "before" and "after"
308   lines. */
309#ifndef PCREGREP_BUFSIZE
310#define PCREGREP_BUFSIZE 20480
311#endif
312
313/* If you are compiling for a system other than a Unix-like system or
314   Win32, and it needs some magic to be inserted before the definition
315   of a function that is exported by the library, define this macro to
316   contain the relevant magic. If you do not define this macro, a suitable
317    __declspec value is used for Windows systems; in other environments
318   "extern" is used for a C compiler and "extern C" for a C++ compiler.
319   This macro apears at the start of every exported function that is part
320   of the external API. It does not appear on functions that are "external"
321   in the C sense, but which are internal to the library. */
322/* #undef PCRE_EXP_DEFN */
323
324/* Define to any value if linking statically (TODO: make nice with Libtool) */
325/* #undef PCRE_STATIC */
326
327/* When calling PCRE via the POSIX interface, additional working storage is
328   required for holding the pointers to capturing substrings because PCRE
329   requires three integers per substring, whereas the POSIX interface provides
330   only two. If the number of expected substrings is small, the wrapper
331   function uses space on the stack, because this is faster than using
332   malloc() for each call. The threshold above which the stack is no longer
333   used is defined by POSIX_MALLOC_THRESHOLD. */
334#ifndef POSIX_MALLOC_THRESHOLD
335#define POSIX_MALLOC_THRESHOLD 10
336#endif
337
338/* Define to necessary symbol if this constant uses a non-standard name on
339   your system. */
340/* #undef PTHREAD_CREATE_JOINABLE */
341
342/* Define to 1 if you have the ANSI C header files. */
343#ifndef STDC_HEADERS
344#define STDC_HEADERS 1
345#endif
346
347/* Define to any value to enable support for Just-In-Time compiling. */
348/* #undef SUPPORT_JIT */
349
350/* Define to any value to allow pcregrep to be linked with libbz2, so that it
351   is able to handle .bz2 files. */
352/* #undef SUPPORT_LIBBZ2 */
353
354/* Define to any value to allow pcretest to be linked with libedit. */
355/* #undef SUPPORT_LIBEDIT */
356
357/* Define to any value to allow pcretest to be linked with libreadline. */
358/* #undef SUPPORT_LIBREADLINE */
359
360/* Define to any value to allow pcregrep to be linked with libz, so that it is
361   able to handle .gz files. */
362/* #undef SUPPORT_LIBZ */
363
364/* Define to any value to enable the 16 bit PCRE library. */
365/* #undef SUPPORT_PCRE16 */
366
367/* Define to any value to enable the 32 bit PCRE library. */
368/* #undef SUPPORT_PCRE32 */
369
370/* Define to any value to enable the 8 bit PCRE library. */
371/* #undef SUPPORT_PCRE8 */
372
373/* Define to any value to enable JIT support in pcregrep. */
374/* #undef SUPPORT_PCREGREP_JIT */
375
376/* Define to any value to enable support for Unicode properties. */
377/* #undef SUPPORT_UCP */
378
379/* Define to any value to enable support for the UTF-8/16/32 Unicode encoding.
380   This will work even in an EBCDIC environment, but it is incompatible with
381   the EBCDIC macro. That is, PCRE can support *either* EBCDIC code *or*
382   ASCII/UTF-8/16/32, but not both at once. */
383/* #undef SUPPORT_UTF */
384
385/* Define to any value for valgrind support to find invalid memory reads. */
386/* #undef SUPPORT_VALGRIND */
387
388/* Version number of package */
389#define VERSION "8.39"
390
391/* Define to empty if `const' does not conform to ANSI C. */
392/* #undef const */
393
394/* Define to the type of a signed integer type of width exactly 64 bits if
395   such a type exists and the standard includes do not define it. */
396/* #undef int64_t */
397
398/* Define to `unsigned int' if <sys/types.h> does not define. */
399/* #undef size_t */
400