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