1/* gear_config.in. Generated from configure.ac by autoheader. */ 2 3 4#pragma once 5 6/* _SYS_FEATURE_TESTS_H is Solaris, _FEATURES_H is GCC */ 7#if defined( _SYS_FEATURE_TESTS_H) || defined(_FEATURES_H) 8#error "You should include gear_config.h as your first include file" 9#endif 10 11 12 13/* Build libhostile */ 14#undef BUILD_LIBHOSTILE 15 16/* the location of <cinttypes> */ 17#undef CINTTYPES_H 18 19/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP 20 systems. This function is required for `alloca.c' support on those systems. 21 */ 22#undef CRAY_STACKSEG_END 23 24/* the location of <cstdint> */ 25#undef CSTDINT_H 26 27/* Define to 1 if using `alloca.c'. */ 28#undef C_ALLOCA 29 30/* Define to 1 to enable debugging code. */ 31#undef DEBUG 32 33/* Name of the drizzled binary used in make test */ 34#undef DRIZZLED_BINARY 35 36/* Another magical number */ 37#undef EAI_SYSTEM 38 39/* machine is big-endian */ 40#undef ENDIAN_BIG 41 42/* machine is little-endian */ 43#undef ENDIAN_LITTLE 44 45/* Name of the gearmand binary used in make test */ 46#undef GEARMAND_BINARY 47 48/* Have Gearman Blobslap Worker */ 49#undef GEARMAND_BLOBSLAP_WORKER 50 51/* Define to 1 if you have the `accept4' function. */ 52#undef HAVE_ACCEPT4 53 54/* Define to 1 if you have `alloca', as a function or macro. */ 55#undef HAVE_ALLOCA 56 57/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 58 */ 59#undef HAVE_ALLOCA_H 60 61/* Define to 1 if you have the <arpa/inet.h> header file. */ 62#undef HAVE_ARPA_INET_H 63 64/* Define to 1 if you have the `atexit' function. */ 65#undef HAVE_ATEXIT 66 67/* Defined if the requested minimum BOOST version is satisfied */ 68#undef HAVE_BOOST 69 70/* Define to 1 if you have <boost/program_options.hpp> */ 71#undef HAVE_BOOST_PROGRAM_OPTIONS_HPP 72 73/* Define to 1 if you have the `btowc' function. */ 74#undef HAVE_BTOWC 75 76/* Define to 1 if you have the `clock_gettime' function. */ 77#undef HAVE_CLOCK_GETTIME 78 79/* Define to 1 if CYASSL is found */ 80#undef HAVE_CYASSL 81 82/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't. 83 */ 84#undef HAVE_DECL_GETENV 85 86/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you 87 don't. */ 88#undef HAVE_DECL_STRERROR_R 89 90/* Define to 1 if DL is found */ 91#undef HAVE_DL 92 93/* Have dladdr */ 94#undef HAVE_DLADDR 95 96/* Define to 1 if you have the <dlfcn.h> header file. */ 97#undef HAVE_DLFCN_H 98 99/* Have dlopen */ 100#undef HAVE_DLOPEN 101 102/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ 103#undef HAVE_DOPRNT 104 105/* If Memcached binary is available */ 106#undef HAVE_DRIZZLED_BINARY 107 108/* Enables DTRACE Support */ 109#undef HAVE_DTRACE 110 111/* Define to 1 if you have the `dup2' function. */ 112#undef HAVE_DUP2 113 114/* Define to 1 if you have the <errno.h> header file. */ 115#undef HAVE_ERRNO_H 116 117/* Define to 1 if you have the <execinfo.h> header file. */ 118#undef HAVE_EXECINFO_H 119 120/* Define to 1 if you have the <fcntl.h> header file. */ 121#undef HAVE_FCNTL_H 122 123/* Define to 1 if you have the <features.h> header file. */ 124#undef HAVE_FEATURES_H 125 126/* Define to 1 if you have the <fnmatch.h> header file. */ 127#undef HAVE_FNMATCH_H 128 129/* Define to 1 if you have the `fork' function. */ 130#undef HAVE_FORK 131 132/* define if the compiler supports GCC C++ ABI name demangling */ 133#undef HAVE_GCC_ABI_DEMANGLE 134 135/* gearmand binary was found */ 136#undef HAVE_GEARMAND_BINARY 137 138/* Define to 1 if you have the `getcwd' function. */ 139#undef HAVE_GETCWD 140 141/* Define to 1 if you have the <getopt.h> header file. */ 142#undef HAVE_GETOPT_H 143 144/* Define to 1 if you have the `gettimeofday' function. */ 145#undef HAVE_GETTIMEOFDAY 146 147/* Define to 1 if HIREDIS is found */ 148#undef HAVE_HIREDIS 149 150/* Define to 1 if you have the <inttypes.h> header file. */ 151#undef HAVE_INTTYPES_H 152 153/* Define to 1 if you have the `bind' library (-lbind). */ 154#undef HAVE_LIBBIND 155 156/* Define to 1 if LIBCURL is found */ 157#undef HAVE_LIBCURL 158 159/* Have dlopen */ 160#undef HAVE_LIBDL 161 162/* Have libdrizzle */ 163#undef HAVE_LIBDRIZZLE 164 165/* Define if event_init is present in event.h. */ 166#undef HAVE_LIBEVENT 167 168/* libgearman support */ 169#undef HAVE_LIBGEARMAN 170 171/* Enable libmemcached support */ 172#undef HAVE_LIBMEMCACHED 173 174/* Define to 1 if you have the <libmemcached-1.0/types/return.h> header file. 175 */ 176#undef HAVE_LIBMEMCACHED_1_0_TYPES_RETURN_H 177 178/* Have libmemcached-1.0/memcached.h */ 179#undef HAVE_LIBMEMCACHED_MEMCACHED_H 180 181/* Have libmemcachedutil-1.0/util.h */ 182#undef HAVE_LIBMEMCACHED_UTIL_H 183 184/* Define to 1 if MySQL libraries are available */ 185#undef HAVE_LIBMYSQL_BUILD 186 187/* Enable libpq support */ 188#undef HAVE_LIBPQ 189 190/* Have clock_gettime */ 191#undef HAVE_LIBRT 192 193/* Define to 1 if you have the `socket' library (-lsocket). */ 194#undef HAVE_LIBSOCKET 195 196/* Have the SQLITE3 library */ 197#undef HAVE_LIBSQLITE3 198 199/* Define to 1 if you have the <limits.h> header file. */ 200#undef HAVE_LIMITS_H 201 202/* Define to 1 if you have the <mach/mach.h> header file. */ 203#undef HAVE_MACH_MACH_H 204 205/* Define to 1 if you have the `mbsrtowcs' function. */ 206#undef HAVE_MBSRTOWCS 207 208/* Define to 1 if <wchar.h> declares mbstate_t. */ 209#undef HAVE_MBSTATE_T 210 211/* Define to 1 if MCHECK is found */ 212#undef HAVE_MCHECK 213 214/* If Memcached binary is available */ 215#undef HAVE_MEMCACHED_BINARY 216 217/* Define to 1 if you have the `memchr' function. */ 218#undef HAVE_MEMCHR 219 220/* Define to 1 if you have the `memmove' function. */ 221#undef HAVE_MEMMOVE 222 223/* Define to 1 if you have the <memory.h> header file. */ 224#undef HAVE_MEMORY_H 225 226/* Define to 1 if you have the `mempcpy' function. */ 227#undef HAVE_MEMPCPY 228 229/* Define to 1 if you have the `memset' function. */ 230#undef HAVE_MEMSET 231 232/* Define to 1 if you have a MSG_DONTWAIT */ 233#undef HAVE_MSG_DONTWAIT 234 235/* Define to 1 if you have a MSG_MORE */ 236#undef HAVE_MSG_MORE 237 238/* Define to 1 if you have a MSG_NOSIGNAL */ 239#undef HAVE_MSG_NOSIGNAL 240 241/* Define to 1 if MySQL libraries are available */ 242#undef HAVE_MYSQL 243 244/* Define to 1 if MySQLD binary is available */ 245#undef HAVE_MYSQLD_BUILD 246 247/* Define to 1 if you have the <netdb.h> header file. */ 248#undef HAVE_NETDB_H 249 250/* Define to 1 if you have the <netinet/in.h> header file. */ 251#undef HAVE_NETINET_IN_H 252 253/* Define to 1 if you have the <netinet/tcp.h> header file. */ 254#undef HAVE_NETINET_TCP_H 255 256/* Define to 1 if you have O_CLOEXEC defined */ 257#undef HAVE_O_CLOEXEC 258 259/* Define to 1 if you have the `pipe' function. */ 260#undef HAVE_PIPE 261 262/* Define to 1 if you have the `pipe2' function. */ 263#undef HAVE_PIPE2 264 265/* Define to 1 if you have the <poll.h> header file. */ 266#undef HAVE_POLL_H 267 268/* Define to 1 if PostgreSQL libraries are available */ 269#undef HAVE_POSTGRESQL 270 271/* Define if you have POSIX threads libraries and header files. */ 272#undef HAVE_PTHREAD 273 274/* Have PTHREAD_PRIO_INHERIT. */ 275#undef HAVE_PTHREAD_PRIO_INHERIT 276 277/* Define if pthread_timedjoin_np is present in pthread.h. */ 278#undef HAVE_PTHREAD_TIMEDJOIN_NP 279 280/* Define to 1 if the system has the type `ptrdiff_t'. */ 281#undef HAVE_PTRDIFF_T 282 283/* Define to 1 if you have the <pwd.h> header file. */ 284#undef HAVE_PWD_H 285 286/* Define to 1 if you have the `select' function. */ 287#undef HAVE_SELECT 288 289/* Define to 1 if you have the `setenv' function. */ 290#undef HAVE_SETENV 291 292/* Enable code which requires shared library support. Like backtrace(). */ 293#undef HAVE_SHARED_ENABLED 294 295/* Define to 1 if you have the <signal.h> header file. */ 296#undef HAVE_SIGNAL_H 297 298/* Define to 1 if you have the `socket' function. */ 299#undef HAVE_SOCKET 300 301/* Define to 1 if you have the <spawn.h> header file. */ 302#undef HAVE_SPAWN_H 303 304/* Have the SQLITE3 library */ 305#undef HAVE_SQLITE3 306 307/* Define to 1 if you have the <stdarg.h> header file. */ 308#undef HAVE_STDARG_H 309 310/* Define to 1 if stdbool.h conforms to C99. */ 311#undef HAVE_STDBOOL_H 312 313/* Define to 1 if you have the <stddef.h> header file. */ 314#undef HAVE_STDDEF_H 315 316/* Define to 1 if you have the <stdint.h> header file. */ 317#undef HAVE_STDINT_H 318 319/* Define to 1 if you have the <stdio.h> header file. */ 320#undef HAVE_STDIO_H 321 322/* Define to 1 if you have the <stdlib.h> header file. */ 323#undef HAVE_STDLIB_H 324 325/* Define to 1 if you have the `strcasecmp' function. */ 326#undef HAVE_STRCASECMP 327 328/* Define to 1 if you have the `strdup' function. */ 329#undef HAVE_STRDUP 330 331/* Define to 1 if you have the `strerror' function. */ 332#undef HAVE_STRERROR 333 334/* Define to 1 if you have the `strerror_r' function. */ 335#undef HAVE_STRERROR_R 336 337/* Define to 1 if you have the <strings.h> header file. */ 338#undef HAVE_STRINGS_H 339 340/* Define to 1 if you have the <string.h> header file. */ 341#undef HAVE_STRING_H 342 343/* Define to 1 if you have the `strncasecmp' function. */ 344#undef HAVE_STRNCASECMP 345 346/* Define to 1 if you have the `strstr' function. */ 347#undef HAVE_STRSTR 348 349/* Define to 1 if you have the `strtol' function. */ 350#undef HAVE_STRTOL 351 352/* Define to 1 if you have the `strtoul' function. */ 353#undef HAVE_STRTOUL 354 355/* Define to 1 if you have the <syslog.h> header file. */ 356#undef HAVE_SYSLOG_H 357 358/* Define to 1 if you have the <sys/resource.h> header file. */ 359#undef HAVE_SYS_RESOURCE_H 360 361/* Define to 1 if you have the <sys/sdt.h> header file. */ 362#undef HAVE_SYS_SDT_H 363 364/* Define to 1 if you have the <sys/socket.h> header file. */ 365#undef HAVE_SYS_SOCKET_H 366 367/* Define to 1 if you have the <sys/stat.h> header file. */ 368#undef HAVE_SYS_STAT_H 369 370/* Define to 1 if you have the <sys/time.h> header file. */ 371#undef HAVE_SYS_TIME_H 372 373/* Define to 1 if you have the <sys/types.h> header file. */ 374#undef HAVE_SYS_TYPES_H 375 376/* Define to 1 if you have the <sys/utsname.h> header file. */ 377#undef HAVE_SYS_UTSNAME_H 378 379/* Define to 1 if you have the <sys/wait.h> header file. */ 380#undef HAVE_SYS_WAIT_H 381 382/* Define to 1 if TOKYOCABINET is found */ 383#undef HAVE_TOKYOCABINET 384 385/* Define to 1 if you have the `uname' function. */ 386#undef HAVE_UNAME 387 388/* Define to 1 if you have the <unistd.h> header file. */ 389#undef HAVE_UNISTD_H 390 391/* Define if uuid_generate_time_safe is present in uuid/uuid.h. */ 392#undef HAVE_UUID_GENERATE_TIME_SAFE 393 394/* Have uuid/uuid.h */ 395#undef HAVE_UUID_UUID_H 396 397/* Define to 1 if you have the `vfork' function. */ 398#undef HAVE_VFORK 399 400/* Define to 1 if you have the <vfork.h> header file. */ 401#undef HAVE_VFORK_H 402 403/* Define to 1 or 0, depending whether the compiler supports simple visibility 404 declarations. */ 405#undef HAVE_VISIBILITY 406 407/* Define to 1 if you have the `vprintf' function. */ 408#undef HAVE_VPRINTF 409 410/* Define to 1 if you have the <wchar.h> header file. */ 411#undef HAVE_WCHAR_H 412 413/* Define to 1 if you have the <wctype.h> header file. */ 414#undef HAVE_WCTYPE_H 415 416/* Define to 1 if you have the <winsock2.h> header file. */ 417#undef HAVE_WINSOCK2_H 418 419/* Define to 1 if you have the `wmempcpy' function. */ 420#undef HAVE_WMEMPCPY 421 422/* Define to 1 if `fork' works. */ 423#undef HAVE_WORKING_FORK 424 425/* Define to 1 if `vfork' works. */ 426#undef HAVE_WORKING_VFORK 427 428/* Define to 1 if the system has the type `_Bool'. */ 429#undef HAVE__BOOL 430 431/* CPU of Build System */ 432#undef HOST_CPU 433 434/* OS of Build System */ 435#undef HOST_OS 436 437/* Vendor of Build System */ 438#undef HOST_VENDOR 439 440/* Define to the sub-directory in which libtool stores uninstalled libraries. 441 */ 442#undef LT_OBJDIR 443 444/* Name of the memcached binary used in make test */ 445#undef MEMCACHED_BINARY 446 447/* Memcached binary version */ 448#undef MEMCACHED_VERSION 449 450/* Name of the mysqld binary used in make test */ 451#undef MYSQLD_BINARY 452 453/* Define to 1 to disable assert'ing code. */ 454#undef NDEBUG 455 456/* Name of package */ 457#undef PACKAGE 458 459/* Define to the address where bug reports for this package should be sent. */ 460#undef PACKAGE_BUGREPORT 461 462/* Define to the full name of this package. */ 463#undef PACKAGE_NAME 464 465/* Define to the full name and version of this package. */ 466#undef PACKAGE_STRING 467 468/* Define to the one symbol short name of this package. */ 469#undef PACKAGE_TARNAME 470 471/* Define to the home page for this package. */ 472#undef PACKAGE_URL 473 474/* Define to the version of this package. */ 475#undef PACKAGE_VERSION 476 477/* Define to necessary symbol if this constant uses a non-standard name on 478 your system. */ 479#undef PTHREAD_CREATE_JOINABLE 480 481/* If using the C implementation of alloca, define if you know the 482 direction of stack growth for your system; otherwise it will be 483 automatically deduced at runtime. 484 STACK_DIRECTION > 0 => grows toward higher addresses 485 STACK_DIRECTION < 0 => grows toward lower addresses 486 STACK_DIRECTION = 0 => direction of growth unknown */ 487#undef STACK_DIRECTION 488 489/* Define to 1 if you have the ANSI C header files. */ 490#undef STDC_HEADERS 491 492/* Define to 1 if strerror_r returns char *. */ 493#undef STRERROR_R_CHAR_P 494 495/* CPU of Target System */ 496#undef TARGET_CPU 497 498/* OS of Target System */ 499#undef TARGET_OS 500 501/* Whether we are building for FreeBSD */ 502#undef TARGET_OS_FREEBSD 503 504/* Whether we build for Linux */ 505#undef TARGET_OS_LINUX 506 507/* Whether we are building for Solaris */ 508#undef TARGET_OS_SOLARIS 509 510/* Whether we are building for Windows */ 511#undef TARGET_OS_WINDOWS 512 513/* Vendor of Target System */ 514#undef TARGET_VENDOR 515 516/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 517#undef TIME_WITH_SYS_TIME 518 519/* Define if the code was built from VCS. */ 520#undef VCS_CHECKOUT 521 522/* VCS system */ 523#undef VCS_SYSTEM 524 525/* Version number of package */ 526#undef VERSION 527 528/* machine is big-endian */ 529#undef WORDS_BIGENDIAN 530 531/* Define to 1 if on MINIX. */ 532#undef _MINIX 533 534/* Define to 2 if the system does not provide POSIX.1 features except with 535 this defined. */ 536#undef _POSIX_1_SOURCE 537 538/* Define to 1 if you need to in order for `stat' and other things to work. */ 539#undef _POSIX_SOURCE 540 541/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, 542 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 543 #define below would cause a syntax error. */ 544#undef _UINT32_T 545 546/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, 547 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 548 #define below would cause a syntax error. */ 549#undef _UINT64_T 550 551/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, 552 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 553 #define below would cause a syntax error. */ 554#undef _UINT8_T 555 556/* Define to 500 only on HP-UX. */ 557#undef _XOPEN_SOURCE 558 559/* Workaround for bug in FreeBSD headers */ 560#undef __APPLE_CC__ 561 562/* Enable extensions on AIX 3, Interix. */ 563#ifndef _ALL_SOURCE 564# undef _ALL_SOURCE 565#endif 566/* Enable GNU extensions on systems that have them. */ 567#ifndef _GNU_SOURCE 568# undef _GNU_SOURCE 569#endif 570/* Enable threading extensions on Solaris. */ 571#ifndef _POSIX_PTHREAD_SEMANTICS 572# undef _POSIX_PTHREAD_SEMANTICS 573#endif 574/* Enable extensions on HP NonStop. */ 575#ifndef _TANDEM_SOURCE 576# undef _TANDEM_SOURCE 577#endif 578/* Enable general extensions on Solaris. */ 579#ifndef __EXTENSIONS__ 580# undef __EXTENSIONS__ 581#endif 582 583 584/* Use STDC Limit Macros in C++ */ 585#undef __STDC_LIMIT_MACROS 586 587/* Define to empty if `const' does not conform to ANSI C. */ 588#undef const 589 590/* Define to rpl_fnmatch if the replacement function should be used. */ 591#undef fnmatch 592 593/* Define to `int' if <sys/types.h> doesn't define. */ 594#undef gid_t 595 596/* Define to `__inline__' or `__inline' if that's what the C compiler 597 calls it, or to nothing if 'inline' is not supported under any name. */ 598#ifndef __cplusplus 599#undef inline 600#endif 601 602/* Define to the type of a signed integer type of width exactly 32 bits if 603 such a type exists and the standard includes do not define it. */ 604#undef int32_t 605 606/* Define to the type of a signed integer type of width exactly 64 bits if 607 such a type exists and the standard includes do not define it. */ 608#undef int64_t 609 610/* Define to a type if <wchar.h> does not define. */ 611#undef mbstate_t 612 613/* Define to `long int' if <sys/types.h> does not define. */ 614#undef off_t 615 616/* Define to `int' if <sys/types.h> does not define. */ 617#undef pid_t 618 619/* Define to `unsigned int' if <sys/types.h> does not define. */ 620#undef size_t 621 622/* Define to `int' if <sys/types.h> does not define. */ 623#undef ssize_t 624 625/* Define to `int' if <sys/types.h> doesn't define. */ 626#undef uid_t 627 628/* Define to the type of an unsigned integer type of width exactly 16 bits if 629 such a type exists and the standard includes do not define it. */ 630#undef uint16_t 631 632/* Define to the type of an unsigned integer type of width exactly 32 bits if 633 such a type exists and the standard includes do not define it. */ 634#undef uint32_t 635 636/* Define to the type of an unsigned integer type of width exactly 64 bits if 637 such a type exists and the standard includes do not define it. */ 638#undef uint64_t 639 640/* Define to the type of an unsigned integer type of width exactly 8 bits if 641 such a type exists and the standard includes do not define it. */ 642#undef uint8_t 643 644/* Define as `fork' if `vfork' does not work. */ 645#undef vfork 646 647/* Define to empty if the keyword `volatile' does not work. Warning: valid 648 code using `volatile' can become incorrect without. Disable with care. */ 649#undef volatile 650 651 652#ifndef HAVE_SYS_SOCKET_H 653# define SHUT_RD SD_RECEIVE 654# define SHUT_WR SD_SEND 655# define SHUT_RDWR SD_BOTH 656#endif 657 658 659 660 661/* This seems to be required for older compilers @note http://stackoverflow.com/questions/8132399/how-to-printf-uint64-t */ 662#ifndef __STDC_FORMAT_MACROS 663# define __STDC_FORMAT_MACROS 664#endif 665 666#if defined(__cplusplus) 667# include CINTTYPES_H 668#else 669# include <inttypes.h> 670#endif 671 672#if !defined(HAVE_ULONG) && !defined(__USE_MISC) 673# define HAVE_ULONG 1 674typedef unsigned long int ulong; 675#endif 676 677/* To hide the platform differences between MS Windows and Unix, I am 678 * going to use the Microsoft way and #define the Microsoft-specific 679 * functions to the unix way. Microsoft use a separate subsystem for sockets, 680 * but Unix normally just use a filedescriptor on the same functions. It is 681 * a lot easier to map back to the unix way with macros than going the other 682 * way without side effect. 683 */ 684#ifdef TARGET_OS_WINDOWS 685#define random() rand() 686#define srandom(a) srand(a) 687#define get_socket_errno() WSAGetLastError() 688#else 689#define INVALID_SOCKET -1 690#define SOCKET_ERROR -1 691#define closesocket(a) close(a) 692#define get_socket_errno() errno 693#endif // TARGET_OS_WINDOWS 694 695#ifndef HAVE_MSG_NOSIGNAL 696#define MSG_NOSIGNAL 0 697#endif // HAVE_MSG_NOSIGNAL 698 699#ifndef HAVE_MSG_DONTWAIT 700#define MSG_DONTWAIT 0 701#endif // HAVE_MSG_DONTWAIT 702 703 704