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