153e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* src/config.h. Generated from config.h.in by configure. */ 253e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* src/config.h.in. Generated from configure.ac by autoheader. */ 3f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 453e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* PCRE2 is written in Standard C, but there are a few non-standard things it 5f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichcan cope with, allowing it to run on SunOS4 and other "close to standard" 6f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichsystems. 7f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 8f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick KralevichIn environments that support the GNU autotools, config.h.in is converted into 9f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichconfig.h by the "configure" script. In environments that use CMake, 1053e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskisconfig-cmake.in is converted into config.h. If you are going to build PCRE2 "by 11f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichhand" without using "configure" or CMake, you should copy the distributed 12f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichconfig.h.generic to config.h, and edit the macro definitions to be the way you 13f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichneed them. You must then add -DHAVE_CONFIG_H to all of your compile commands, 14f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichso that config.h is included at the start of every source. 15f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 16f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick KralevichAlternatively, you can avoid editing by using -D on the compiler command line 17f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichto set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H, 18f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichbut if you do, default values will be taken from config.h for non-boolean 19f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichmacros that are not defined on the command line. 20f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 2153e448c1797913dbc12dbacc341559934566d6bcJanis DanisevskisBoolean macros such as HAVE_STDLIB_H and SUPPORT_PCRE2_8 should either be defined 22f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich(conventionally to 1) for TRUE, and not defined at all for FALSE. All such 23f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichmacros are listed as a commented #undef in config.h.generic. Macros such as 24f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick KralevichMATCH_LIMIT, whose actual value is relevant, have defaults defined, but are 25f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichsurrounded by #ifndef/#endif lines so that the value can be overridden by -D. 26f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 2753e448c1797913dbc12dbacc341559934566d6bcJanis DanisevskisPCRE2 uses memmove() if HAVE_MEMMOVE is defined; otherwise it uses bcopy() if 28f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick KralevichHAVE_BCOPY is defined. If your system has neither bcopy() nor memmove(), make 29f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevichsure both macros are undefined; an emulation function will then be used. */ 30f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 31f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* By default, the \R escape sequence matches any Unicode line ending 32f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich character or sequence of characters. If BSR_ANYCRLF is defined (to any 33f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich value), this is changed so that backslash-R matches only CR, LF, or CRLF. 3453e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis The build-time default can be overridden by the user of PCRE2 at runtime. 3553e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis */ 36f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef BSR_ANYCRLF */ 37f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 38f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* If you are compiling for a system that uses EBCDIC instead of ASCII 3953e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis character codes, define this macro to any value. When EBCDIC is set, PCRE2 4053e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis assumes that all input strings are in EBCDIC. If you do not define this 4153e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis macro, PCRE2 will assume input strings are ASCII or UTF-8/16/32 Unicode. It 4253e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis is not possible to build a version of PCRE2 that supports both EBCDIC and 4353e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis UTF-8/16/32. */ 44f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef EBCDIC */ 45f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 46f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* In an EBCDIC environment, define this macro to any value to arrange for the 47f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich NL character to be 0x25 instead of the default 0x15. NL plays the role that 4853e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis LF does in an ASCII/Unicode environment. */ 49f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef EBCDIC_NL25 */ 50f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 51f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the `bcopy' function. */ 52f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_BCOPY */ 53f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 54f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <bzlib.h> header file. */ 55f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_BZLIB_H */ 56f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 57f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <dirent.h> header file. */ 58f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_DIRENT_H */ 59f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 60f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <dlfcn.h> header file. */ 61f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_DLFCN_H */ 62f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 63f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <editline/readline.h> header file. */ 64f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_EDITLINE_READLINE_H */ 65f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 66f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <edit/readline/readline.h> header file. */ 67f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_EDIT_READLINE_READLINE_H */ 68f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 69f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <inttypes.h> header file. */ 70f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_INTTYPES_H */ 71f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 72f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <limits.h> header file. */ 73f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_LIMITS_H */ 74f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 75f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the `memmove' function. */ 76f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_MEMMOVE */ 77f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 78f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <memory.h> header file. */ 79f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_MEMORY_H */ 80f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 81f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define if you have POSIX threads libraries and header files. */ 82f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_PTHREAD */ 83f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 84f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Have PTHREAD_PRIO_INHERIT. */ 85f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_PTHREAD_PRIO_INHERIT */ 86f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 87f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <readline/history.h> header file. */ 88f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_READLINE_HISTORY_H */ 89f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 90f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <readline/readline.h> header file. */ 91f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_READLINE_READLINE_H */ 92f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 93f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <stdint.h> header file. */ 94f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_STDINT_H */ 95f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 96f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <stdlib.h> header file. */ 97f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_STDLIB_H */ 98f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 99f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the `strerror' function. */ 100f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_STRERROR */ 101f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 102f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <strings.h> header file. */ 103f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_STRINGS_H */ 104f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 105f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <string.h> header file. */ 106f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_STRING_H */ 107f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 108f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <sys/stat.h> header file. */ 109f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_SYS_STAT_H */ 110f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 111f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <sys/types.h> header file. */ 112f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_SYS_TYPES_H */ 113f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 1148b979b2abae173bb836d8e85a842cfd00447d4beJanis Danisevskis/* Define to 1 if you have the <sys/wait.h> header file. */ 1158b979b2abae173bb836d8e85a842cfd00447d4beJanis Danisevskis/* #undef HAVE_SYS_WAIT_H */ 1168b979b2abae173bb836d8e85a842cfd00447d4beJanis Danisevskis 117f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <unistd.h> header file. */ 118f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_UNISTD_H */ 119f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 120f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if the compiler supports simple visibility declarations. */ 121f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_VISIBILITY */ 122f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 123f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <windows.h> header file. */ 124f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_WINDOWS_H */ 125f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 126f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the <zlib.h> header file. */ 127f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef HAVE_ZLIB_H */ 128f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 12953e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* PCRE2 uses recursive function calls to handle backtracking while matching. 13053e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis This can sometimes be a problem on systems that have stacks of limited 13153e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis size. Define HEAP_MATCH_RECURSE to any value to get a version that doesn't 13253e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis use recursion in the match() function; instead it creates its own stack by 13353e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis steam using memory from the heap. For more detail, see the comments and 13453e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis other stuff just above the match() function. */ 13553e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* #undef HEAP_MATCH_RECURSE */ 136f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 137f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* The value of LINK_SIZE determines the number of bytes used to store links 138f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich as offsets within the compiled regex. The default is 2, which allows for 139f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich compiled patterns up to 64K long. This covers the vast majority of cases. 14053e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis However, PCRE2 can also be compiled to use 3 or 4 bytes instead. This 14153e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis allows for longer patterns in extreme cases. */ 142f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#ifndef LINK_SIZE 143f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#define LINK_SIZE 2 144f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#endif 145f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 1468366e8beecf85b8e61b5c1a1369666db7a292eaeElliott Hughes/* Define to the sub-directory where libtool stores uninstalled libraries. */ 147f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* This is ignored unless you are using libtool. */ 148f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#ifndef LT_OBJDIR 149f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#define LT_OBJDIR ".libs/" 150f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#endif 151f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 152f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* The value of MATCH_LIMIT determines the default number of times the 153f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich internal match() function can be called during a single execution of 15453e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis pcre2_match(). There is a runtime interface for setting a different limit. 155f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich The limit exists in order to catch runaway regular expressions that take 156f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich for ever to determine that they do not match. The default is set very large 157f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich so that it does not accidentally catch legitimate cases. */ 158f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#ifndef MATCH_LIMIT 159f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#define MATCH_LIMIT 10000000 160f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#endif 161f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 162f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* The above limit applies to all calls of match(), whether or not they 163f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich increase the recursion depth. In some environments it is desirable to limit 164f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich the depth of recursive calls of match() more strictly, in order to restrict 16553e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis the maximum amount of stack (or heap, if HEAP_MATCH_RECURSE is defined) 16653e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis that is used. The value of MATCH_LIMIT_RECURSION applies only to recursive 16753e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis calls of match(). To have any useful effect, it must be less than the value 16853e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis of MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT. There 16953e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis is a runtime method for setting a different limit. */ 170f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#ifndef MATCH_LIMIT_RECURSION 171f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#define MATCH_LIMIT_RECURSION MATCH_LIMIT 172f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#endif 173f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 174f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* This limit is parameterized just in case anybody ever wants to change it. 175f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich Care must be taken if it is increased, because it guards against integer 176f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich overflow caused by enormously large patterns. */ 177f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#ifndef MAX_NAME_COUNT 178f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#define MAX_NAME_COUNT 10000 179f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#endif 180f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 181f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* This limit is parameterized just in case anybody ever wants to change it. 182f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich Care must be taken if it is increased, because it guards against integer 183f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich overflow caused by enormously large patterns. */ 184f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#ifndef MAX_NAME_SIZE 185f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#define MAX_NAME_SIZE 32 186f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#endif 187f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 18853e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* Defining NEVER_BACKSLASH_C locks out the use of \C in all patterns. */ 18953e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* #undef NEVER_BACKSLASH_C */ 190f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 19153e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* The value of NEWLINE_DEFAULT determines the default newline character 19253e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis sequence. PCRE2 client programs can override this by selecting other values 19353e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis at run time. The valid values are 1 (CR), 2 (LF), 3 (CRLF), 4 (ANY), and 5 19453e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis (ANYCRLF). */ 19553e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis#ifndef NEWLINE_DEFAULT 19653e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis#define NEWLINE_DEFAULT 2 19753e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis#endif 198f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 199f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Name of package */ 20053e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis#define PACKAGE "pcre2" 201f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 202f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to the address where bug reports for this package should be sent. */ 203f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#define PACKAGE_BUGREPORT "" 204f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 205f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to the full name of this package. */ 20653e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis#define PACKAGE_NAME "PCRE2" 207f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 208f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to the full name and version of this package. */ 2098b979b2abae173bb836d8e85a842cfd00447d4beJanis Danisevskis#define PACKAGE_STRING "PCRE2 10.22" 210f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 211f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to the one symbol short name of this package. */ 21253e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis#define PACKAGE_TARNAME "pcre2" 213f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 214f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to the home page for this package. */ 215f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#define PACKAGE_URL "" 216f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 217f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to the version of this package. */ 2188b979b2abae173bb836d8e85a842cfd00447d4beJanis Danisevskis#define PACKAGE_VERSION "10.22" 219f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 220f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* The value of PARENS_NEST_LIMIT specifies the maximum depth of nested 221f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich parentheses (of any kind) in a pattern. This limits the amount of system 222f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich stack that is used while compiling a pattern. */ 223f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#ifndef PARENS_NEST_LIMIT 224f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#define PARENS_NEST_LIMIT 250 225f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#endif 226f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 22753e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* The value of PCRE2GREP_BUFSIZE determines the size of buffer used by 22853e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis pcre2grep to hold parts of the file it is searching. This is also the 22953e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis minimum value. The actual amount of memory used by pcre2grep is three times 230f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich this number, because it allows for the buffering of "before" and "after" 231f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich lines. */ 23253e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis#ifndef PCRE2GREP_BUFSIZE 23353e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis#define PCRE2GREP_BUFSIZE 20480 234f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich#endif 235f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 23653e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* Define to any value to include debugging code. */ 23753e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* #undef PCRE2_DEBUG */ 23853e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis 239f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* If you are compiling for a system other than a Unix-like system or 240f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich Win32, and it needs some magic to be inserted before the definition 241f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich of a function that is exported by the library, define this macro to 242f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich contain the relevant magic. If you do not define this macro, a suitable 243f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich __declspec value is used for Windows systems; in other environments 244f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich "extern" is used for a C compiler and "extern C" for a C++ compiler. 245f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich This macro apears at the start of every exported function that is part 246f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich of the external API. It does not appear on functions that are "external" 247f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich in the C sense, but which are internal to the library. */ 24853e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* #undef PCRE2_EXP_DEFN */ 249f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 250f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to any value if linking statically (TODO: make nice with Libtool) */ 25153e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* #undef PCRE2_STATIC */ 252f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 253f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to necessary symbol if this constant uses a non-standard name on 254f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich your system. */ 255f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef PTHREAD_CREATE_JOINABLE */ 256f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 257f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to 1 if you have the ANSI C header files. */ 258f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef STDC_HEADERS */ 259f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 260f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to any value to enable support for Just-In-Time compiling. */ 261f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef SUPPORT_JIT */ 262f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 26353e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* Define to any value to allow pcre2grep to be linked with libbz2, so that it 264f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich is able to handle .bz2 files. */ 265f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef SUPPORT_LIBBZ2 */ 266f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 26753e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* Define to any value to allow pcre2test to be linked with libedit. */ 268f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef SUPPORT_LIBEDIT */ 269f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 27053e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* Define to any value to allow pcre2test to be linked with libreadline. */ 271f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef SUPPORT_LIBREADLINE */ 272f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 27353e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* Define to any value to allow pcre2grep to be linked with libz, so that it 27453e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis is able to handle .gz files. */ 275f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef SUPPORT_LIBZ */ 276f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 2778b979b2abae173bb836d8e85a842cfd00447d4beJanis Danisevskis/* Define to any value to enable callout script support in pcre2grep. */ 2788b979b2abae173bb836d8e85a842cfd00447d4beJanis Danisevskis/* #undef SUPPORT_PCRE2GREP_CALLOUT */ 2798b979b2abae173bb836d8e85a842cfd00447d4beJanis Danisevskis 28053e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* Define to any value to enable JIT support in pcre2grep. */ 28153e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* #undef SUPPORT_PCRE2GREP_JIT */ 282f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 28353e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* Define to any value to enable the 16 bit PCRE2 library. */ 28453e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* #undef SUPPORT_PCRE2_16 */ 285f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 28653e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* Define to any value to enable the 32 bit PCRE2 library. */ 28753e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* #undef SUPPORT_PCRE2_32 */ 288f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 28953e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* Define to any value to enable the 8 bit PCRE2 library. */ 29053e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* #undef SUPPORT_PCRE2_8 */ 291f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 29253e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* Define to any value to enable support for Unicode and UTF encoding. This 29353e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis will work even in an EBCDIC environment, but it is incompatible with the 29453e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis EBCDIC macro. That is, PCRE2 can support *either* EBCDIC code *or* 29553e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis ASCII/Unicode, but not both at once. */ 29653e448c1797913dbc12dbacc341559934566d6bcJanis Danisevskis/* #undef SUPPORT_UNICODE */ 297f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 298f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to any value for valgrind support to find invalid memory reads. */ 299f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef SUPPORT_VALGRIND */ 300f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 301f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Version number of package */ 3028b979b2abae173bb836d8e85a842cfd00447d4beJanis Danisevskis#define VERSION "10.22" 303f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 304f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to empty if `const' does not conform to ANSI C. */ 305f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef const */ 306f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 307f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to the type of a signed integer type of width exactly 64 bits if 308f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich such a type exists and the standard includes do not define it. */ 309f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef int64_t */ 310f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich 311f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* Define to `unsigned int' if <sys/types.h> does not define. */ 312f73ff17bddb7dc18ff9044773dd65d040e8f4fcfNick Kralevich/* #undef size_t */ 313