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