source: project/chicken/trunk/pcre/config.h @ 12117

Last change on this file since 12117 was 12117, checked in by Kon Lovett, 13 years ago

PCRE 7.8, use of "full" flonum-hash, new scheme-complete by Alex Shinn.

File size: 5.1 KB
Line 
1/* config.h.  From PCRE 7.8 config.h generated from config.h.in by configure.  */
2
3/* For HAVE_* macros */
4#ifdef HAVE_CHICKEN_CONFIG_H
5# include "chicken-config.h"
6#else
7# error "Missing \"chicken-config.h\""
8#endif
9
10/* By default, the \R escape sequence matches any Unicode line ending
11   character or sequence of characters. If BSR_ANYCRLF is defined, this is
12   changed so that backslash-R matches only CR, LF, or CRLF. The build- time
13   default can be overridden by the user of PCRE at runtime. On systems that
14   support it, "configure" can be used to override the default. */
15/* #undef BSR_ANYCRLF */
16
17
18/* The value of LINK_SIZE determines the number of bytes used to store links
19   as offsets within the compiled regex. The default is 2, which allows for
20   compiled patterns up to 64K long. This covers the vast majority of cases.
21   However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows
22   for longer patterns in extreme cases. On systems that support it,
23   "configure" can be used to override this default. */
24#ifndef LINK_SIZE
25#define LINK_SIZE   2
26#endif
27
28/* The value of MATCH_LIMIT determines the default number of times the
29   internal match() function can be called during a single execution of
30   pcre_exec(). There is a runtime interface for setting a different limit.
31   The limit exists in order to catch runaway regular expressions that take
32   for ever to determine that they do not match. The default is set very large
33   so that it does not accidentally catch legitimate cases. On systems that
34   support it, "configure" can be used to override this default default. */
35#ifndef MATCH_LIMIT
36#define MATCH_LIMIT 10000000
37#endif
38
39/* The above limit applies to all calls of match(), whether or not they
40   increase the recursion depth. In some environments it is desirable to limit
41   the depth of recursive calls of match() more strictly, in order to restrict
42   the maximum amount of stack (or heap, if NO_RECURSE is defined) that is
43   used. The value of MATCH_LIMIT_RECURSION applies only to recursive calls of
44   match(). To have any useful effect, it must be less than the value of
45   MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT. There is
46   a runtime method for setting a different limit. On systems that support it,
47   "configure" can be used to override the default. */
48#ifndef MATCH_LIMIT_RECURSION
49#define MATCH_LIMIT_RECURSION MATCH_LIMIT
50#endif
51
52/* This limit is parameterized just in case anybody ever wants to change it.
53   Care must be taken if it is increased, because it guards against integer
54   overflow caused by enormously large patterns. */
55#ifndef MAX_NAME_COUNT
56#define MAX_NAME_COUNT 10000
57#endif
58
59/* This limit is parameterized just in case anybody ever wants to change it.
60   Care must be taken if it is increased, because it guards against integer
61   overflow caused by enormously large patterns. */
62#ifndef MAX_NAME_SIZE
63#define MAX_NAME_SIZE 32
64#endif
65
66/* The value of NEWLINE determines the newline character sequence. On systems
67   that support it, "configure" can be used to override the default, which is
68   10. The possible values are 10 (LF), 13 (CR), 3338 (CRLF), -1 (ANY), or -2
69   (ANYCRLF). */
70#ifndef NEWLINE
71#define NEWLINE 10
72#endif
73
74/* PCRE uses recursive function calls to handle backtracking while matching.
75   This can sometimes be a problem on systems that have stacks of limited
76   size. Define NO_RECURSE to get a version that doesn't use recursion in the
77   match() function; instead it creates its own stack by steam using
78   pcre_recurse_malloc() to obtain memory from the heap. For more detail, see
79   the comments and other stuff just above the match() function. On systems
80   that support it, "configure" can be used to set this in the Makefile (use
81   --disable-stack-for-recursion). */
82#define NO_RECURSE
83
84/* Name of package */
85#define PACKAGE "pcre"
86
87/* Define to the address where bug reports for this package should be sent. */
88#define PACKAGE_BUGREPORT ""
89
90/* Define to the full name of this package. */
91#define PACKAGE_NAME "PCRE"
92
93/* Define to the full name and version of this package. */
94#define PACKAGE_STRING "PCRE 7.8"
95
96/* Define to the one symbol short name of this package. */
97#define PACKAGE_TARNAME "pcre"
98
99/* Define to the version of this package. */
100#define PACKAGE_VERSION "7.8"
101
102/* When calling PCRE via the POSIX interface, additional working storage is
103   required for holding the pointers to capturing substrings because PCRE
104   requires three integers per substring, whereas the POSIX interface provides
105   only two. If the number of expected substrings is small, the wrapper
106   function uses space on the stack, because this is faster than using
107   malloc() for each call. The threshold above which the stack is no longer
108   used is defined by POSIX_MALLOC_THRESHOLD. On systems that support it,
109   "configure" can be used to override this default. */
110#ifndef POSIX_MALLOC_THRESHOLD
111#define POSIX_MALLOC_THRESHOLD 10
112#endif
113
114/* Define to enable support for Unicode properties */
115#define SUPPORT_UCP
116
117/* Define to enable support for the UTF-8 Unicode encoding. */
118#define SUPPORT_UTF8
119
120/* Version number of package */
121#define VERSION "7.8"
Note: See TracBrowser for help on using the repository browser.