chiark / gitweb /
pcre3 (1:8.30-5) unstable; urgency=low
[pcre3.git] / config.h.in
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. 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/16 Unicode. It is not possible
34    to build a version of PCRE that supports both EBCDIC and UTF-8/16. */
35 #undef EBCDIC
36
37 /* Define to 1 if you have the `bcopy' function. */
38 #undef HAVE_BCOPY
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 #undef HAVE_BZLIB_H
45
46 /* Define to 1 if you have the <dirent.h> header file. */
47 #undef HAVE_DIRENT_H
48
49 /* Define to 1 if you have the <dlfcn.h> header file. */
50 #undef HAVE_DLFCN_H
51
52 /* Define to 1 if you have the <inttypes.h> header file. */
53 #undef HAVE_INTTYPES_H
54
55 /* Define to 1 if you have the <limits.h> header file. */
56 #undef HAVE_LIMITS_H
57
58 /* Define to 1 if the system has the type `long long'. */
59 #undef HAVE_LONG_LONG
60
61 /* Define to 1 if you have the `memmove' function. */
62 #undef HAVE_MEMMOVE
63
64 /* Define to 1 if you have the <memory.h> header file. */
65 #undef HAVE_MEMORY_H
66
67 /* Define to 1 if you have the <readline/history.h> header file. */
68 #undef HAVE_READLINE_HISTORY_H
69
70 /* Define to 1 if you have the <readline/readline.h> header file. */
71 #undef HAVE_READLINE_READLINE_H
72
73 /* Define to 1 if you have the <stdint.h> header file. */
74 #undef HAVE_STDINT_H
75
76 /* Define to 1 if you have the <stdlib.h> header file. */
77 #undef HAVE_STDLIB_H
78
79 /* Define to 1 if you have the `strerror' function. */
80 #undef HAVE_STRERROR
81
82 /* Define to 1 if you have the <string> header file. */
83 #undef HAVE_STRING
84
85 /* Define to 1 if you have the <strings.h> header file. */
86 #undef HAVE_STRINGS_H
87
88 /* Define to 1 if you have the <string.h> header file. */
89 #undef HAVE_STRING_H
90
91 /* Define to 1 if you have `strtoimax'. */
92 #undef HAVE_STRTOIMAX
93
94 /* Define to 1 if you have `strtoll'. */
95 #undef HAVE_STRTOLL
96
97 /* Define to 1 if you have `strtoq'. */
98 #undef HAVE_STRTOQ
99
100 /* Define to 1 if you have the <sys/stat.h> header file. */
101 #undef HAVE_SYS_STAT_H
102
103 /* Define to 1 if you have the <sys/types.h> header file. */
104 #undef HAVE_SYS_TYPES_H
105
106 /* Define to 1 if you have the <type_traits.h> header file. */
107 #undef HAVE_TYPE_TRAITS_H
108
109 /* Define to 1 if you have the <unistd.h> header file. */
110 #undef HAVE_UNISTD_H
111
112 /* Define to 1 if the system has the type `unsigned long long'. */
113 #undef HAVE_UNSIGNED_LONG_LONG
114
115 /* Define to 1 if you have the <windows.h> header file. */
116 #undef HAVE_WINDOWS_H
117
118 /* Define to 1 if you have the <zlib.h> header file. */
119 #undef HAVE_ZLIB_H
120
121 /* Define to 1 if you have `_strtoi64'. */
122 #undef HAVE__STRTOI64
123
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. */
130 #undef LINK_SIZE
131
132 /* Define to the sub-directory in which libtool stores uninstalled libraries.
133    */
134 #undef LT_OBJDIR
135
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. */
143 #undef MATCH_LIMIT
144
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
155
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
160
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. */
164 #undef MAX_NAME_SIZE
165
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
169    (ANYCRLF). */
170 #undef NEWLINE
171
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). */
180 #undef NO_RECURSE
181
182 /* Name of package */
183 #undef PACKAGE
184
185 /* Define to the address where bug reports for this package should be sent. */
186 #undef PACKAGE_BUGREPORT
187
188 /* Define to the full name of this package. */
189 #undef PACKAGE_NAME
190
191 /* Define to the full name and version of this package. */
192 #undef PACKAGE_STRING
193
194 /* Define to the one symbol short name of this package. */
195 #undef PACKAGE_TARNAME
196
197 /* Define to the home page for this package. */
198 #undef PACKAGE_URL
199
200 /* Define to the version of this package. */
201 #undef PACKAGE_VERSION
202
203 /* The value of PCREGREP_BUFSIZE determines the size of buffer used by
204    pcregrep to hold parts of the file it is searching. On systems that support
205    it, "configure" can be used to override the default, which is 8192. This is
206    also the minimum value. The actual amount of memory used by pcregrep is
207    three times this number, because it allows for the buffering of "before"
208    and "after" lines. */
209 #undef PCREGREP_BUFSIZE
210
211
212 /* If you are compiling for a system other than a Unix-like system or
213    Win32, and it needs some magic to be inserted before the definition
214    of a function that is exported by the library, define this macro to
215    contain the relevant magic. If you do not define this macro, it
216    defaults to "extern" for a C compiler and "extern C" for a C++
217    compiler on non-Win32 systems. This macro apears at the start of
218    every exported function that is part of the external API. It does
219    not appear on functions that are "external" in the C sense, but
220    which are internal to the library. */
221 #undef PCRE_EXP_DEFN
222
223 /* Define if linking statically (TODO: make nice with Libtool) */
224 #undef PCRE_STATIC
225
226 /* When calling PCRE via the POSIX interface, additional working storage is
227    required for holding the pointers to capturing substrings because PCRE
228    requires three integers per substring, whereas the POSIX interface provides
229    only two. If the number of expected substrings is small, the wrapper
230    function uses space on the stack, because this is faster than using
231    malloc() for each call. The threshold above which the stack is no longer
232    used is defined by POSIX_MALLOC_THRESHOLD. On systems that support it,
233    "configure" can be used to override this default. */
234 #undef POSIX_MALLOC_THRESHOLD
235
236 /* Define to 1 if you have the ANSI C header files. */
237 #undef STDC_HEADERS
238
239 /* Define to enable support for Just-In-Time compiling. */
240 #undef SUPPORT_JIT
241
242 /* Define to allow pcregrep to be linked with libbz2, so that it is able to
243    handle .bz2 files. */
244 #undef SUPPORT_LIBBZ2
245
246 /* Define to allow pcretest to be linked with libreadline. */
247 #undef SUPPORT_LIBREADLINE
248
249 /* Define to allow pcregrep to be linked with libz, so that it is able to
250    handle .gz files. */
251 #undef SUPPORT_LIBZ
252
253 /* Define to enable the 16 bit PCRE library. */
254 #undef SUPPORT_PCRE16
255
256 /* Define to enable the 8 bit PCRE library. */
257 #undef SUPPORT_PCRE8
258
259 /* Define to enable JIT support in pcregrep. */
260 #undef SUPPORT_PCREGREP_JIT
261
262 /* Define to enable support for Unicode properties. */
263 #undef SUPPORT_UCP
264
265 /* Define to enable support for the UTF-8/16 Unicode encoding. This will work
266    even in an EBCDIC environment, but it is incompatible with the EBCDIC
267    macro. That is, PCRE can support *either* EBCDIC code *or* ASCII/UTF-8/16,
268    but not both at once. */
269 #undef SUPPORT_UTF
270
271 /* Version number of package */
272 #undef VERSION
273
274 /* Define to empty if `const' does not conform to ANSI C. */
275 #undef const
276
277 /* Define to the type of a signed integer type of width exactly 64 bits if
278    such a type exists and the standard includes do not define it. */
279 #undef int64_t
280
281 /* Define to `unsigned int' if <sys/types.h> does not define. */
282 #undef size_t