1 /* config.h.in. Generated from configure.ac by autoheader. */
4 /* On Unix-like systems config.h.in is converted by "configure" into config.h.
5 Some other environments also support the use of "configure". PCRE is written in
6 Standard C, but there are a few non-standard things it can cope with, allowing
7 it to run on SunOS4 and other "close to standard" systems.
9 If you are going to build PCRE "by hand" on a system without "configure" you
10 should copy the distributed config.h.generic to config.h, and then set up the
11 macro definitions the way you need them. You must then add -DHAVE_CONFIG_H to
12 all of your compile commands, so that config.h is included at the start of
15 Alternatively, you can avoid editing by using -D on the compiler command line
16 to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H.
18 PCRE uses memmove() if HAVE_MEMMOVE is set to 1; otherwise it uses bcopy() if
19 HAVE_BCOPY is set to 1. If your system has neither bcopy() nor memmove(), set
20 them both to 0; an emulation function will be used. */
22 /* By default, the \R escape sequence matches any Unicode line ending
23 character or sequence of characters. If BSR_ANYCRLF is defined, this is
24 changed so that backslash-R matches only CR, LF, or CRLF. The build- time
25 default can be overridden by the user of PCRE at runtime. On systems that
26 support it, "configure" can be used to override the default. */
29 /* If you are compiling for a system that uses EBCDIC instead of ASCII
30 character codes, define this macro as 1. On systems that can use
31 "configure", this can be done via --enable-ebcdic. PCRE will then assume
32 that all input strings are in EBCDIC. If you do not define this macro, PCRE
33 will assume input strings are ASCII or UTF-8 Unicode. It is not possible to
34 build a version of PCRE that supports both EBCDIC and UTF-8. */
37 /* Define to 1 if you have the `bcopy' function. */
40 /* Define to 1 if you have the <bits/type_traits.h> header file. */
41 #undef HAVE_BITS_TYPE_TRAITS_H
43 /* Define to 1 if you have the <bzlib.h> header file. */
46 /* Define to 1 if you have the <dirent.h> header file. */
49 /* Define to 1 if you have the <dlfcn.h> header file. */
52 /* Define to 1 if you have the <inttypes.h> header file. */
53 #undef HAVE_INTTYPES_H
55 /* Define to 1 if you have the <limits.h> header file. */
58 /* Define to 1 if the system has the type `long long'. */
61 /* Define to 1 if you have the `memmove' function. */
64 /* Define to 1 if you have the <memory.h> header file. */
67 /* Define to 1 if you have the <readline/history.h> header file. */
68 #undef HAVE_READLINE_HISTORY_H
70 /* Define to 1 if you have the <readline/readline.h> header file. */
71 #undef HAVE_READLINE_READLINE_H
73 /* Define to 1 if you have the <stdint.h> header file. */
76 /* Define to 1 if you have the <stdlib.h> header file. */
79 /* Define to 1 if you have the `strerror' function. */
82 /* Define to 1 if you have the <string> header file. */
85 /* Define to 1 if you have the <strings.h> header file. */
88 /* Define to 1 if you have the <string.h> header file. */
91 /* Define to 1 if you have `strtoimax'. */
94 /* Define to 1 if you have `strtoll'. */
97 /* Define to 1 if you have `strtoq'. */
100 /* Define to 1 if you have the <sys/stat.h> header file. */
101 #undef HAVE_SYS_STAT_H
103 /* Define to 1 if you have the <sys/types.h> header file. */
104 #undef HAVE_SYS_TYPES_H
106 /* Define to 1 if you have the <type_traits.h> header file. */
107 #undef HAVE_TYPE_TRAITS_H
109 /* Define to 1 if you have the <unistd.h> header file. */
112 /* Define to 1 if the system has the type `unsigned long long'. */
113 #undef HAVE_UNSIGNED_LONG_LONG
115 /* Define to 1 if you have the <windows.h> header file. */
116 #undef HAVE_WINDOWS_H
118 /* Define to 1 if you have the <zlib.h> header file. */
121 /* Define to 1 if you have `_strtoi64'. */
122 #undef HAVE__STRTOI64
124 /* The value of LINK_SIZE determines the number of bytes used to store links
125 as offsets within the compiled regex. The default is 2, which allows for
126 compiled patterns up to 64K long. This covers the vast majority of cases.
127 However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows
128 for longer patterns in extreme cases. On systems that support it,
129 "configure" can be used to override this default. */
132 /* Define to the sub-directory in which libtool stores uninstalled libraries.
136 /* The value of MATCH_LIMIT determines the default number of times the
137 internal match() function can be called during a single execution of
138 pcre_exec(). There is a runtime interface for setting a different limit.
139 The limit exists in order to catch runaway regular expressions that take
140 for ever to determine that they do not match. The default is set very large
141 so that it does not accidentally catch legitimate cases. On systems that
142 support it, "configure" can be used to override this default default. */
145 /* The above limit applies to all calls of match(), whether or not they
146 increase the recursion depth. In some environments it is desirable to limit
147 the depth of recursive calls of match() more strictly, in order to restrict
148 the maximum amount of stack (or heap, if NO_RECURSE is defined) that is
149 used. The value of MATCH_LIMIT_RECURSION applies only to recursive calls of
150 match(). To have any useful effect, it must be less than the value of
151 MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT. There is
152 a runtime method for setting a different limit. On systems that support it,
153 "configure" can be used to override the default. */
154 #undef MATCH_LIMIT_RECURSION
156 /* This limit is parameterized just in case anybody ever wants to change it.
157 Care must be taken if it is increased, because it guards against integer
158 overflow caused by enormously large patterns. */
159 #undef MAX_NAME_COUNT
161 /* This limit is parameterized just in case anybody ever wants to change it.
162 Care must be taken if it is increased, because it guards against integer
163 overflow caused by enormously large patterns. */
166 /* The value of NEWLINE determines the newline character sequence. On systems
167 that support it, "configure" can be used to override the default, which is
168 10. The possible values are 10 (LF), 13 (CR), 3338 (CRLF), -1 (ANY), or -2
172 /* PCRE uses recursive function calls to handle backtracking while matching.
173 This can sometimes be a problem on systems that have stacks of limited
174 size. Define NO_RECURSE to get a version that doesn't use recursion in the
175 match() function; instead it creates its own stack by steam using
176 pcre_recurse_malloc() to obtain memory from the heap. For more detail, see
177 the comments and other stuff just above the match() function. On systems
178 that support it, "configure" can be used to set this in the Makefile (use
179 --disable-stack-for-recursion). */
182 /* Name of package */
185 /* Define to the address where bug reports for this package should be sent. */
186 #undef PACKAGE_BUGREPORT
188 /* Define to the full name of this package. */
191 /* Define to the full name and version of this package. */
192 #undef PACKAGE_STRING
194 /* Define to the one symbol short name of this package. */
195 #undef PACKAGE_TARNAME
197 /* Define to the home page for this package. */
200 /* Define to the version of this package. */
201 #undef PACKAGE_VERSION
204 /* If you are compiling for a system other than a Unix-like system or
205 Win32, and it needs some magic to be inserted before the definition
206 of a function that is exported by the library, define this macro to
207 contain the relevant magic. If you do not define this macro, it
208 defaults to "extern" for a C compiler and "extern C" for a C++
209 compiler on non-Win32 systems. This macro apears at the start of
210 every exported function that is part of the external API. It does
211 not appear on functions that are "external" in the C sense, but
212 which are internal to the library. */
215 /* Define if linking statically (TODO: make nice with Libtool) */
218 /* When calling PCRE via the POSIX interface, additional working storage is
219 required for holding the pointers to capturing substrings because PCRE
220 requires three integers per substring, whereas the POSIX interface provides
221 only two. If the number of expected substrings is small, the wrapper
222 function uses space on the stack, because this is faster than using
223 malloc() for each call. The threshold above which the stack is no longer
224 used is defined by POSIX_MALLOC_THRESHOLD. On systems that support it,
225 "configure" can be used to override this default. */
226 #undef POSIX_MALLOC_THRESHOLD
228 /* Define to 1 if you have the ANSI C header files. */
231 /* Define to allow pcregrep to be linked with libbz2, so that it is able to
232 handle .bz2 files. */
233 #undef SUPPORT_LIBBZ2
235 /* Define to allow pcretest to be linked with libreadline. */
236 #undef SUPPORT_LIBREADLINE
238 /* Define to allow pcregrep to be linked with libz, so that it is able to
242 /* Define to enable support for Unicode properties */
245 /* Define to enable support for the UTF-8 Unicode encoding. This will work
246 even in an EBCDIC environment, but it is incompatible with the EBCDIC
247 macro. That is, PCRE can support *either* EBCDIC code *or* ASCII/UTF-8, but
251 /* Version number of package */
254 /* Define to empty if `const' does not conform to ANSI C. */
257 /* Define to the type of a signed integer type of width exactly 64 bits if
258 such a type exists and the standard includes do not define it. */
261 /* Define to `unsigned int' if <sys/types.h> does not define. */