Blame config.h.generic

Packit 78a954
/* config.h.  Generated from config.h.in by configure.  */
Packit 78a954
/* config.h.in.  Generated from configure.ac by autoheader.  */
Packit 78a954
Packit 78a954
/* PCRE is written in Standard C, but there are a few non-standard things it
Packit 78a954
can cope with, allowing it to run on SunOS4 and other "close to standard"
Packit 78a954
systems.
Packit 78a954
Packit 78a954
In environments that support the GNU autotools, config.h.in is converted into
Packit 78a954
config.h by the "configure" script. In environments that use CMake,
Packit 78a954
config-cmake.in is converted into config.h. If you are going to build PCRE "by
Packit 78a954
hand" without using "configure" or CMake, you should copy the distributed
Packit 78a954
config.h.generic to config.h, and edit the macro definitions to be the way you
Packit 78a954
need them. You must then add -DHAVE_CONFIG_H to all of your compile commands,
Packit 78a954
so that config.h is included at the start of every source.
Packit 78a954
Packit 78a954
Alternatively, you can avoid editing by using -D on the compiler command line
Packit 78a954
to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H,
Packit 78a954
but if you do, default values will be taken from config.h for non-boolean
Packit 78a954
macros that are not defined on the command line.
Packit 78a954
Packit 78a954
Boolean macros such as HAVE_STDLIB_H and SUPPORT_PCRE8 should either be defined
Packit 78a954
(conventionally to 1) for TRUE, and not defined at all for FALSE. All such
Packit 78a954
macros are listed as a commented #undef in config.h.generic. Macros such as
Packit 78a954
MATCH_LIMIT, whose actual value is relevant, have defaults defined, but are
Packit 78a954
surrounded by #ifndef/#endif lines so that the value can be overridden by -D.
Packit 78a954
Packit 78a954
PCRE uses memmove() if HAVE_MEMMOVE is defined; otherwise it uses bcopy() if
Packit 78a954
HAVE_BCOPY is defined. If your system has neither bcopy() nor memmove(), make
Packit 78a954
sure both macros are undefined; an emulation function will then be used. */
Packit 78a954
Packit 78a954
/* By default, the \R escape sequence matches any Unicode line ending
Packit 78a954
   character or sequence of characters. If BSR_ANYCRLF is defined (to any
Packit 78a954
   value), this is changed so that backslash-R matches only CR, LF, or CRLF.
Packit 78a954
   The build-time default can be overridden by the user of PCRE at runtime. */
Packit 78a954
/* #undef BSR_ANYCRLF */
Packit 78a954
Packit 78a954
/* If you are compiling for a system that uses EBCDIC instead of ASCII
Packit 78a954
   character codes, define this macro to any value. You must also edit the
Packit 78a954
   NEWLINE macro below to set a suitable EBCDIC newline, commonly 21 (0x15).
Packit 78a954
   On systems that can use "configure" or CMake to set EBCDIC, NEWLINE is
Packit 78a954
   automatically adjusted. When EBCDIC is set, PCRE assumes that all input
Packit 78a954
   strings are in EBCDIC. If you do not define this macro, PCRE will assume
Packit 78a954
   input strings are ASCII or UTF-8/16/32 Unicode. It is not possible to build
Packit 78a954
   a version of PCRE that supports both EBCDIC and UTF-8/16/32. */
Packit 78a954
/* #undef EBCDIC */
Packit 78a954
Packit 78a954
/* In an EBCDIC environment, define this macro to any value to arrange for the
Packit 78a954
   NL character to be 0x25 instead of the default 0x15. NL plays the role that
Packit 78a954
   LF does in an ASCII/Unicode environment. The value must also be set in the
Packit 78a954
   NEWLINE macro below. On systems that can use "configure" or CMake to set
Packit 78a954
   EBCDIC_NL25, the adjustment of NEWLINE is automatic. */
Packit 78a954
/* #undef EBCDIC_NL25 */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the `bcopy' function. */
Packit 78a954
/* #undef HAVE_BCOPY */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <bits/type_traits.h> header file. */
Packit 78a954
/* #undef HAVE_BITS_TYPE_TRAITS_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <bzlib.h> header file. */
Packit 78a954
/* #undef HAVE_BZLIB_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <dirent.h> header file. */
Packit 78a954
/* #undef HAVE_DIRENT_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <dlfcn.h> header file. */
Packit 78a954
/* #undef HAVE_DLFCN_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <editline/readline.h> header file. */
Packit 78a954
/* #undef HAVE_EDITLINE_READLINE_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <edit/readline/readline.h> header file. */
Packit 78a954
/* #undef HAVE_EDIT_READLINE_READLINE_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <inttypes.h> header file. */
Packit 78a954
/* #undef HAVE_INTTYPES_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <limits.h> header file. */
Packit 78a954
/* #undef HAVE_LIMITS_H */
Packit 78a954
Packit 78a954
/* Define to 1 if the system has the type `long long'. */
Packit 78a954
/* #undef HAVE_LONG_LONG */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the `memmove' function. */
Packit 78a954
/* #undef HAVE_MEMMOVE */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <memory.h> header file. */
Packit 78a954
/* #undef HAVE_MEMORY_H */
Packit 78a954
Packit 78a954
/* Define if you have POSIX threads libraries and header files. */
Packit 78a954
/* #undef HAVE_PTHREAD */
Packit 78a954
Packit 78a954
/* Have PTHREAD_PRIO_INHERIT. */
Packit 78a954
/* #undef HAVE_PTHREAD_PRIO_INHERIT */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <readline/history.h> header file. */
Packit 78a954
/* #undef HAVE_READLINE_HISTORY_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <readline/readline.h> header file. */
Packit 78a954
/* #undef HAVE_READLINE_READLINE_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <stdint.h> header file. */
Packit 78a954
/* #undef HAVE_STDINT_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <stdlib.h> header file. */
Packit 78a954
/* #undef HAVE_STDLIB_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the `strerror' function. */
Packit 78a954
/* #undef HAVE_STRERROR */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <string> header file. */
Packit 78a954
/* #undef HAVE_STRING */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <strings.h> header file. */
Packit 78a954
/* #undef HAVE_STRINGS_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <string.h> header file. */
Packit 78a954
/* #undef HAVE_STRING_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have `strtoimax'. */
Packit 78a954
/* #undef HAVE_STRTOIMAX */
Packit 78a954
Packit 78a954
/* Define to 1 if you have `strtoll'. */
Packit 78a954
/* #undef HAVE_STRTOLL */
Packit 78a954
Packit 78a954
/* Define to 1 if you have `strtoq'. */
Packit 78a954
/* #undef HAVE_STRTOQ */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <sys/stat.h> header file. */
Packit 78a954
/* #undef HAVE_SYS_STAT_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <sys/types.h> header file. */
Packit 78a954
/* #undef HAVE_SYS_TYPES_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <type_traits.h> header file. */
Packit 78a954
/* #undef HAVE_TYPE_TRAITS_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <unistd.h> header file. */
Packit 78a954
/* #undef HAVE_UNISTD_H */
Packit 78a954
Packit 78a954
/* Define to 1 if the system has the type `unsigned long long'. */
Packit 78a954
/* #undef HAVE_UNSIGNED_LONG_LONG */
Packit 78a954
Packit 78a954
/* Define to 1 if the compiler supports simple visibility declarations. */
Packit 78a954
/* #undef HAVE_VISIBILITY */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <windows.h> header file. */
Packit 78a954
/* #undef HAVE_WINDOWS_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the <zlib.h> header file. */
Packit 78a954
/* #undef HAVE_ZLIB_H */
Packit 78a954
Packit 78a954
/* Define to 1 if you have `_strtoi64'. */
Packit 78a954
/* #undef HAVE__STRTOI64 */
Packit 78a954
Packit 78a954
/* The value of LINK_SIZE determines the number of bytes used to store links
Packit 78a954
   as offsets within the compiled regex. The default is 2, which allows for
Packit 78a954
   compiled patterns up to 64K long. This covers the vast majority of cases.
Packit 78a954
   However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows
Packit 78a954
   for longer patterns in extreme cases. */
Packit 78a954
#ifndef LINK_SIZE
Packit 78a954
#define LINK_SIZE 2
Packit 78a954
#endif
Packit 78a954
Packit 78a954
/* Define to the sub-directory where libtool stores uninstalled libraries. */
Packit 78a954
/* This is ignored unless you are using libtool. */
Packit 78a954
#ifndef LT_OBJDIR
Packit 78a954
#define LT_OBJDIR ".libs/"
Packit 78a954
#endif
Packit 78a954
Packit 78a954
/* The value of MATCH_LIMIT determines the default number of times the
Packit 78a954
   internal match() function can be called during a single execution of
Packit 78a954
   pcre_exec(). There is a runtime interface for setting a different limit.
Packit 78a954
   The limit exists in order to catch runaway regular expressions that take
Packit 78a954
   for ever to determine that they do not match. The default is set very large
Packit 78a954
   so that it does not accidentally catch legitimate cases. */
Packit 78a954
#ifndef MATCH_LIMIT
Packit 78a954
#define MATCH_LIMIT 10000000
Packit 78a954
#endif
Packit 78a954
Packit 78a954
/* The above limit applies to all calls of match(), whether or not they
Packit 78a954
   increase the recursion depth. In some environments it is desirable to limit
Packit 78a954
   the depth of recursive calls of match() more strictly, in order to restrict
Packit 78a954
   the maximum amount of stack (or heap, if NO_RECURSE is defined) that is
Packit 78a954
   used. The value of MATCH_LIMIT_RECURSION applies only to recursive calls of
Packit 78a954
   match(). To have any useful effect, it must be less than the value of
Packit 78a954
   MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT. There is
Packit 78a954
   a runtime method for setting a different limit. */
Packit 78a954
#ifndef MATCH_LIMIT_RECURSION
Packit 78a954
#define MATCH_LIMIT_RECURSION MATCH_LIMIT
Packit 78a954
#endif
Packit 78a954
Packit 78a954
/* This limit is parameterized just in case anybody ever wants to change it.
Packit 78a954
   Care must be taken if it is increased, because it guards against integer
Packit 78a954
   overflow caused by enormously large patterns. */
Packit 78a954
#ifndef MAX_NAME_COUNT
Packit 78a954
#define MAX_NAME_COUNT 10000
Packit 78a954
#endif
Packit 78a954
Packit 78a954
/* This limit is parameterized just in case anybody ever wants to change it.
Packit 78a954
   Care must be taken if it is increased, because it guards against integer
Packit 78a954
   overflow caused by enormously large patterns. */
Packit 78a954
#ifndef MAX_NAME_SIZE
Packit 78a954
#define MAX_NAME_SIZE 32
Packit 78a954
#endif
Packit 78a954
Packit 78a954
/* The value of NEWLINE determines the default newline character sequence.
Packit 78a954
   PCRE client programs can override this by selecting other values at run
Packit 78a954
   time. In ASCII environments, the value can be 10 (LF), 13 (CR), or 3338
Packit 78a954
   (CRLF); in EBCDIC environments the value can be 21 or 37 (LF), 13 (CR), or
Packit 78a954
   3349 or 3365 (CRLF) because there are two alternative codepoints (0x15 and
Packit 78a954
   0x25) that are used as the NL line terminator that is equivalent to ASCII
Packit 78a954
   LF. In both ASCII and EBCDIC environments the value can also be -1 (ANY),
Packit 78a954
   or -2 (ANYCRLF). */
Packit 78a954
#ifndef NEWLINE
Packit 78a954
#define NEWLINE 10
Packit 78a954
#endif
Packit 78a954
Packit 78a954
/* PCRE uses recursive function calls to handle backtracking while matching.
Packit 78a954
   This can sometimes be a problem on systems that have stacks of limited
Packit 78a954
   size. Define NO_RECURSE to any value to get a version that doesn't use
Packit 78a954
   recursion in the match() function; instead it creates its own stack by
Packit 78a954
   steam using pcre_recurse_malloc() to obtain memory from the heap. For more
Packit 78a954
   detail, see the comments and other stuff just above the match() function.
Packit 78a954
   */
Packit 78a954
/* #undef NO_RECURSE */
Packit 78a954
Packit 78a954
/* Name of package */
Packit 78a954
#define PACKAGE "pcre"
Packit 78a954
Packit 78a954
/* Define to the address where bug reports for this package should be sent. */
Packit 78a954
#define PACKAGE_BUGREPORT ""
Packit 78a954
Packit 78a954
/* Define to the full name of this package. */
Packit 78a954
#define PACKAGE_NAME "PCRE"
Packit 78a954
Packit 78a954
/* Define to the full name and version of this package. */
Packit 78a954
#define PACKAGE_STRING "PCRE 8.38"
Packit 78a954
Packit 78a954
/* Define to the one symbol short name of this package. */
Packit 78a954
#define PACKAGE_TARNAME "pcre"
Packit 78a954
Packit 78a954
/* Define to the home page for this package. */
Packit 78a954
#define PACKAGE_URL ""
Packit 78a954
Packit 78a954
/* Define to the version of this package. */
Packit 78a954
#define PACKAGE_VERSION "8.38"
Packit 78a954
Packit 78a954
/* The value of PARENS_NEST_LIMIT specifies the maximum depth of nested
Packit 78a954
   parentheses (of any kind) in a pattern. This limits the amount of system
Packit 78a954
   stack that is used while compiling a pattern. */
Packit 78a954
#ifndef PARENS_NEST_LIMIT
Packit 78a954
#define PARENS_NEST_LIMIT 250
Packit 78a954
#endif
Packit 78a954
Packit 78a954
/* The value of PCREGREP_BUFSIZE determines the size of buffer used by
Packit 78a954
   pcregrep to hold parts of the file it is searching. This is also the
Packit 78a954
   minimum value. The actual amount of memory used by pcregrep is three times
Packit 78a954
   this number, because it allows for the buffering of "before" and "after"
Packit 78a954
   lines. */
Packit 78a954
#ifndef PCREGREP_BUFSIZE
Packit 78a954
#define PCREGREP_BUFSIZE 20480
Packit 78a954
#endif
Packit 78a954
Packit 78a954
/* If you are compiling for a system other than a Unix-like system or
Packit 78a954
   Win32, and it needs some magic to be inserted before the definition
Packit 78a954
   of a function that is exported by the library, define this macro to
Packit 78a954
   contain the relevant magic. If you do not define this macro, a suitable
Packit 78a954
    __declspec value is used for Windows systems; in other environments
Packit 78a954
   "extern" is used for a C compiler and "extern C" for a C++ compiler.
Packit 78a954
   This macro apears at the start of every exported function that is part
Packit 78a954
   of the external API. It does not appear on functions that are "external"
Packit 78a954
   in the C sense, but which are internal to the library. */
Packit 78a954
/* #undef PCRE_EXP_DEFN */
Packit 78a954
Packit 78a954
/* Define to any value if linking statically (TODO: make nice with Libtool) */
Packit 78a954
/* #undef PCRE_STATIC */
Packit 78a954
Packit 78a954
/* When calling PCRE via the POSIX interface, additional working storage is
Packit 78a954
   required for holding the pointers to capturing substrings because PCRE
Packit 78a954
   requires three integers per substring, whereas the POSIX interface provides
Packit 78a954
   only two. If the number of expected substrings is small, the wrapper
Packit 78a954
   function uses space on the stack, because this is faster than using
Packit 78a954
   malloc() for each call. The threshold above which the stack is no longer
Packit 78a954
   used is defined by POSIX_MALLOC_THRESHOLD. */
Packit 78a954
#ifndef POSIX_MALLOC_THRESHOLD
Packit 78a954
#define POSIX_MALLOC_THRESHOLD 10
Packit 78a954
#endif
Packit 78a954
Packit 78a954
/* Define to necessary symbol if this constant uses a non-standard name on
Packit 78a954
   your system. */
Packit 78a954
/* #undef PTHREAD_CREATE_JOINABLE */
Packit 78a954
Packit 78a954
/* Define to 1 if you have the ANSI C header files. */
Packit 78a954
/* #undef STDC_HEADERS */
Packit 78a954
Packit 78a954
/* Define to any value to enable support for Just-In-Time compiling. */
Packit 78a954
/* #undef SUPPORT_JIT */
Packit 78a954
Packit 78a954
/* Define to any value to allow pcregrep to be linked with libbz2, so that it
Packit 78a954
   is able to handle .bz2 files. */
Packit 78a954
/* #undef SUPPORT_LIBBZ2 */
Packit 78a954
Packit 78a954
/* Define to any value to allow pcretest to be linked with libedit. */
Packit 78a954
/* #undef SUPPORT_LIBEDIT */
Packit 78a954
Packit 78a954
/* Define to any value to allow pcretest to be linked with libreadline. */
Packit 78a954
/* #undef SUPPORT_LIBREADLINE */
Packit 78a954
Packit 78a954
/* Define to any value to allow pcregrep to be linked with libz, so that it is
Packit 78a954
   able to handle .gz files. */
Packit 78a954
/* #undef SUPPORT_LIBZ */
Packit 78a954
Packit 78a954
/* Define to any value to enable the 16 bit PCRE library. */
Packit 78a954
/* #undef SUPPORT_PCRE16 */
Packit 78a954
Packit 78a954
/* Define to any value to enable the 32 bit PCRE library. */
Packit 78a954
/* #undef SUPPORT_PCRE32 */
Packit 78a954
Packit 78a954
/* Define to any value to enable the 8 bit PCRE library. */
Packit 78a954
/* #undef SUPPORT_PCRE8 */
Packit 78a954
Packit 78a954
/* Define to any value to enable JIT support in pcregrep. */
Packit 78a954
/* #undef SUPPORT_PCREGREP_JIT */
Packit 78a954
Packit 78a954
/* Define to any value to enable support for Unicode properties. */
Packit 78a954
/* #undef SUPPORT_UCP */
Packit 78a954
Packit 78a954
/* Define to any value to enable support for the UTF-8/16/32 Unicode encoding.
Packit 78a954
   This will work even in an EBCDIC environment, but it is incompatible with
Packit 78a954
   the EBCDIC macro. That is, PCRE can support *either* EBCDIC code *or*
Packit 78a954
   ASCII/UTF-8/16/32, but not both at once. */
Packit 78a954
/* #undef SUPPORT_UTF */
Packit 78a954
Packit 78a954
/* Define to any value for valgrind support to find invalid memory reads. */
Packit 78a954
/* #undef SUPPORT_VALGRIND */
Packit 78a954
Packit 78a954
/* Version number of package */
Packit 78a954
#define VERSION "8.38"
Packit 78a954
Packit 78a954
/* Define to empty if `const' does not conform to ANSI C. */
Packit 78a954
/* #undef const */
Packit 78a954
Packit 78a954
/* Define to the type of a signed integer type of width exactly 64 bits if
Packit 78a954
   such a type exists and the standard includes do not define it. */
Packit 78a954
/* #undef int64_t */
Packit 78a954
Packit 78a954
/* Define to `unsigned int' if <sys/types.h> does not define. */
Packit 78a954
/* #undef size_t */