pcre_config.h

Go to the documentation of this file.
00001 
00002 /*  $Id: pcre_config.h 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /* config.h.  Generated by configure.  */
00005 
00006 /* On Unix systems config.in is converted by configure into config.h. PCRE is
00007 written in Standard C, but there are a few non-standard things it can cope
00008 with, allowing it to run on SunOS4 and other "close to standard" systems.
00009 
00010 On a non-Unix system you should just copy this file into config.h, and set up
00011 the macros the way you need them. You should normally change the definitions of
00012 HAVE_STRERROR and HAVE_MEMMOVE to 1. Unfortunately, because of the way autoconf
00013 works, these cannot be made the defaults. If your system has bcopy() and not
00014 memmove(), change the definition of HAVE_BCOPY instead of HAVE_MEMMOVE. If your
00015 system has neither bcopy() nor memmove(), leave them both as 0; an emulation
00016 function will be used. */
00017 
00018 /* Define to empty if the keyword does not work. */
00019 
00020 /* #undef const */
00021 
00022 /* Define to `unsigned' if <stddef.h> doesn't define size_t. */
00023 
00024 /* #undef size_t */
00025 
00026 /* The following two definitions are mainly for the benefit of SunOS4, which
00027 doesn't have the strerror() or memmove() functions that should be present in
00028 all Standard C libraries. The macros HAVE_STRERROR and HAVE_MEMMOVE should
00029 normally be defined with the value 1 for other systems, but unfortunately we
00030 can't make this the default because "configure" files generated by autoconf
00031 will only change 0 to 1; they won't change 1 to 0 if the functions are not
00032 found. */
00033 
00034 #define HAVE_STRERROR 1
00035 #define HAVE_MEMMOVE 1
00036 
00037 /* There are some non-Unix systems that don't even have bcopy(). If this macro
00038 is false, an emulation is used. If HAVE_MEMMOVE is set to 1, the value of
00039 HAVE_BCOPY is not relevant. */
00040 
00041 #define HAVE_BCOPY 1
00042 
00043 /* The value of NEWLINE determines the newline character. The default is to
00044 leave it up to the compiler, but some sites want to force a particular value.
00045 On Unix systems, "configure" can be used to override this default. */
00046 
00047 #ifndef NEWLINE
00048 #define NEWLINE '\x0D'
00049 #endif
00050 
00051 /* The value of LINK_SIZE determines the number of bytes used to store
00052 links as offsets within the compiled regex. The default is 2, which allows for
00053 compiled patterns up to 64K long. This covers the vast majority of cases.
00054 However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows for
00055 longer patterns in extreme cases. On Unix systems, "configure" can be used to
00056 override this default. */
00057 
00058 #ifndef LINK_SIZE
00059 #define LINK_SIZE   2
00060 #endif
00061 
00062 /* The value of MATCH_LIMIT determines the default number of times the match()
00063 function can be called during a single execution of pcre_exec(). (There is a
00064 runtime method of setting a different limit.) The limit exists in order to
00065 catch runaway regular expressions that take for ever to determine that they do
00066 not match. The default is set very large so that it does not accidentally catch
00067 legitimate cases. On Unix systems, "configure" can be used to override this
00068 default default. */
00069 
00070 #ifndef MATCH_LIMIT
00071 #define MATCH_LIMIT 10000000
00072 #endif
00073 
00074 /* End */

Generated on Wed May 31 18:19:59 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6