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