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