Annotation of embedaddon/pcre/config.h.generic, revision 1.1.1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>