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