source: XMLIO_V2/external/src/POCO/Foundation/pcre_config.h @ 80

Last change on this file since 80 was 80, checked in by ymipsl, 14 years ago

ajout lib externe

  • Property svn:eol-style set to native
File size: 9.4 KB
Line 
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
12macros the way you need them. Alternatively, you can avoid editing by using -D
13on the compiler command line to set the macro values.
14
15PCRE uses memmove() if HAVE_MEMMOVE is set to 1; otherwise it uses bcopy() if
16HAVE_BCOPY is set to 1. If your system has neither bcopy() nor memmove(), set
17them both to 0; an emulation function will be used. */
18
19/* If you are compiling for a system that uses EBCDIC instead of ASCII
20   character codes, define this macro as 1. On systems that can use
21   "configure", this can be done via --enable-ebcdic. */
22/* #undef EBCDIC */
23
24/* Define to 1 if you have the `bcopy' function. */
25
26/* Define to 1 if you have the <bits/type_traits.h> header file. */
27/* #undef HAVE_BITS_TYPE_TRAITS_H */
28
29/* Define to 1 if you have the <dirent.h> header file. */
30#ifndef HAVE_DIRENT_H
31#define HAVE_DIRENT_H 0
32#endif
33
34/* Define to 1 if you have the <dlfcn.h> header file. */
35#ifndef HAVE_DLFCN_H
36#define HAVE_DLFCN_H 0
37#endif
38
39/* Define to 1 if you have the <inttypes.h> header file. */
40#ifndef HAVE_INTTYPES_H
41#define HAVE_INTTYPES_H 0
42#endif
43
44/* Define to 1 if you have the <limits.h> header file. */
45#ifndef HAVE_LIMITS_H
46#define HAVE_LIMITS_H 1
47#endif
48
49/* Define to 1 if the system has the type `long long'. */
50#ifndef HAVE_LONG_LONG
51#define HAVE_LONG_LONG 0
52#endif
53
54/* Define to 1 if you have the `memmove' function. */
55
56/* Define to 1 if you have the <memory.h> header file. */
57#ifndef HAVE_MEMORY_H
58#define HAVE_MEMORY_H 1
59#endif
60
61/* Define to 1 if you have the <stdint.h> header file. */
62#ifndef HAVE_STDINT_H
63#define HAVE_STDINT_H 0
64#endif
65
66/* Define to 1 if you have the <stdlib.h> header file. */
67#ifndef HAVE_STDLIB_H
68#define HAVE_STDLIB_H 1
69#endif
70
71/* Define to 1 if you have the `strerror' function. */
72#ifndef HAVE_STRERROR
73#define HAVE_STRERROR 0
74#endif
75
76/* Define to 1 if you have the <string> header file. */
77#ifndef HAVE_STRING
78#define HAVE_STRING 0
79#endif
80
81/* Define to 1 if you have the <strings.h> header file. */
82#ifndef HAVE_STRINGS_H
83#define HAVE_STRINGS_H 0
84#endif
85
86/* Define to 1 if you have the <string.h> header file. */
87#ifndef HAVE_STRING_H
88#define HAVE_STRING_H 1
89#endif
90
91/* Define to 1 if you have the `strtoll' function. */
92#ifndef HAVE_STRTOLL
93#define HAVE_STRTOLL 0
94#endif
95
96/* Define to 1 if you have the `strtoq' function. */
97#ifndef HAVE_STRTOQ
98#define HAVE_STRTOQ 0
99#endif
100
101/* Define to 1 if you have the <sys/stat.h> header file. */
102#ifndef HAVE_SYS_STAT_H
103#define HAVE_SYS_STAT_H 0
104#endif
105
106/* Define to 1 if you have the <sys/types.h> header file. */
107#ifndef HAVE_SYS_TYPES_H
108#define HAVE_SYS_TYPES_H 0
109#endif
110
111/* Define to 1 if you have the <type_traits.h> header file. */
112/* #undef HAVE_TYPE_TRAITS_H */
113
114/* Define to 1 if you have the <unistd.h> header file. */
115#ifndef HAVE_UNISTD_H
116#define HAVE_UNISTD_H 0
117#endif
118
119/* Define to 1 if the system has the type `unsigned long long'. */
120#ifndef HAVE_UNSIGNED_LONG_LONG
121#define HAVE_UNSIGNED_LONG_LONG 0
122#endif
123
124/* Define to 1 if you have the "Poco/UnWindows.h" header file. */
125/* #undef HAVE_WINDOWS_H */
126
127/* The value of LINK_SIZE determines the number of bytes used to store links
128   as offsets within the compiled regex. The default is 2, which allows for
129   compiled patterns up to 64K long. This covers the vast majority of cases.
130   However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows
131   for longer patterns in extreme cases. On systems that support it,
132   "configure" can be used to override this default. */
133#ifndef LINK_SIZE
134#define LINK_SIZE 2
135#endif
136
137/* The value of MATCH_LIMIT determines the default number of times the
138   internal match() function can be called during a single execution of
139   pcre_exec(). There is a runtime interface for setting a different limit.
140   The limit exists in order to catch runaway regular expressions that take
141   for ever to determine that they do not match. The default is set very large
142   so that it does not accidentally catch legitimate cases. On systems that
143   support it, "configure" can be used to override this default default. */
144#ifndef MATCH_LIMIT
145#define MATCH_LIMIT 10000000
146#endif
147
148/* The above limit applies to all calls of match(), whether or not they
149   increase the recursion depth. In some environments it is desirable to limit
150   the depth of recursive calls of match() more strictly, in order to restrict
151   the maximum amount of stack (or heap, if NO_RECURSE is defined) that is
152   used. The value of MATCH_LIMIT_RECURSION applies only to recursive calls of
153   match(). To have any useful effect, it must be less than the value of
154   MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT. There is
155   a runtime method for setting a different limit. On systems that support it,
156   "configure" can be used to override the default. */
157#ifndef MATCH_LIMIT_RECURSION
158#define MATCH_LIMIT_RECURSION MATCH_LIMIT
159#endif
160
161/* This limit is parameterized just in case anybody ever wants to change it.
162   Care must be taken if it is increased, because it guards against integer
163   overflow caused by enormously large patterns. */
164#ifndef MAX_DUPLENGTH
165#define MAX_DUPLENGTH 30000
166#endif
167
168/* This limit is parameterized just in case anybody ever wants to change it.
169   Care must be taken if it is increased, because it guards against integer
170   overflow caused by enormously large patterns. */
171#ifndef MAX_NAME_COUNT
172#define MAX_NAME_COUNT 10000
173#endif
174
175/* This limit is parameterized just in case anybody ever wants to change it.
176   Care must be taken if it is increased, because it guards against integer
177   overflow caused by enormously large patterns. */
178#ifndef MAX_NAME_SIZE
179#define MAX_NAME_SIZE 32
180#endif
181
182/* The value of NEWLINE determines the newline character sequence. On
183   Unix-like systems, "configure" can be used to override the default, which
184   is 10. The possible values are 10 (LF), 13 (CR), 3338 (CRLF), -1 (ANY), or
185   -2 (ANYCRLF). */
186#ifndef NEWLINE
187#define NEWLINE 10
188#endif
189
190/* PCRE uses recursive function calls to handle backtracking while matching.
191   This can sometimes be a problem on systems that have stacks of limited
192   size. Define NO_RECURSE to get a version that doesn't use recursion in the
193   match() function; instead it creates its own stack by steam using
194   pcre_recurse_malloc() to obtain memory from the heap. For more detail, see
195   the comments and other stuff just above the match() function. On systems
196   that support it, "configure" can be used to set this in the Makefile (use
197   --disable-stack-for-recursion). */
198/* #undef NO_RECURSE */
199
200/* Name of package */
201#define PACKAGE "pcre"
202
203/* Define to the address where bug reports for this package should be sent. */
204#define PACKAGE_BUGREPORT ""
205
206/* Define to the full name of this package. */
207#define PACKAGE_NAME "PCRE"
208
209/* Define to the full name and version of this package. */
210#define PACKAGE_STRING "PCRE 7.1"
211
212/* Define to the one symbol short name of this package. */
213#define PACKAGE_TARNAME "pcre"
214
215/* Define to the version of this package. */
216#define PACKAGE_VERSION "7.1"
217
218
219/* If you are compiling for a system other than a Unix-like system or
220   Win32, and it needs some magic to be inserted before the definition
221   of a function that is exported by the library, define this macro to
222   contain the relevant magic. If you do not define this macro, it
223   defaults to "extern" for a C compiler and "extern C" for a C++
224   compiler on non-Win32 systems. This macro apears at the start of
225   every exported function that is part of the external API. It does
226   not appear on functions that are "external" in the C sense, but
227   which are internal to the library. */
228/* #undef PCRE_EXP_DEFN */
229
230/* Define if linking statically (TODO: make nice with Libtool) */
231#ifndef PCRE_STATIC
232#define PCRE_STATIC 1
233#endif
234
235/* When calling PCRE via the POSIX interface, additional working storage is
236   required for holding the pointers to capturing substrings because PCRE
237   requires three integers per substring, whereas the POSIX interface provides
238   only two. If the number of expected substrings is small, the wrapper
239   function uses space on the stack, because this is faster than using
240   malloc() for each call. The threshold above which the stack is no longer
241   used is defined by POSIX_MALLOC_THRESHOLD. On systems that support it,
242   "configure" can be used to override this default. */
243#ifndef POSIX_MALLOC_THRESHOLD
244#define POSIX_MALLOC_THRESHOLD 10
245#endif
246
247/* Define to 1 if you have the ANSI C header files. */
248#ifndef STDC_HEADERS
249#define STDC_HEADERS 1
250#endif
251
252/* Define to enable support for Unicode properties */
253#ifndef SUPPORT_UCP
254#define SUPPORT_UCP
255#endif
256
257/* Define to enable support for the UTF-8 Unicode encoding. */
258#ifndef SUPPORT_UTF8
259#define SUPPORT_UTF8
260#endif
261
262/* Version number of package */
263#ifndef VERSION
264#define VERSION "7.1"
265#endif
266
267/* Define to empty if `const' does not conform to ANSI C. */
268/* #undef const */
269
270/* Define to `unsigned int' if <sys/types.h> does not define. */
271/* #undef size_t */
272
273#if defined(_MSC_VER)
274        #pragma warning(disable:4018) // signed/unsigned comparison
275#endif
Note: See TracBrowser for help on using the repository browser.