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