1/* lib/config.h.in. Generated from configure.ac by autoheader. */ 2 3 4#ifndef CONFIG_H 5#define CONFIG_H 6 7 8/* Define if building universal (internal helper macro) */ 9#undef AC_APPLE_UNIVERSAL_BUILD 10 11/* Define to the number of bits in type 'ptrdiff_t'. */ 12#undef BITSIZEOF_PTRDIFF_T 13 14/* Define to the number of bits in type 'sig_atomic_t'. */ 15#undef BITSIZEOF_SIG_ATOMIC_T 16 17/* Define to the number of bits in type 'size_t'. */ 18#undef BITSIZEOF_SIZE_T 19 20/* Define to the number of bits in type 'wchar_t'. */ 21#undef BITSIZEOF_WCHAR_T 22 23/* Define to the number of bits in type 'wint_t'. */ 24#undef BITSIZEOF_WINT_T 25 26/* Define if you wish *printf() functions that have a safe handling of 27 non-IEEE-754 'long double' values. */ 28#undef CHECK_PRINTF_SAFE 29 30/* Define to 1 if chown fails to change ctime when at least one argument was 31 not -1. */ 32#undef CHOWN_CHANGE_TIME_BUG 33 34/* Define if chown is not POSIX compliant regarding IDs of -1. */ 35#undef CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE 36 37/* Define if chown modifies symlinks. */ 38#undef CHOWN_MODIFIES_SYMLINK 39 40/* Define to 1 if chown mishandles trailing slash. */ 41#undef CHOWN_TRAILING_SLASH_BUG 42 43/* Define to 1 if using 'alloca.c'. */ 44#undef C_ALLOCA 45 46/* Define as the bit index in the word where to find bit 0 of the exponent of 47 'double'. */ 48#undef DBL_EXPBIT0_BIT 49 50/* Define as the word index where to find the exponent of 'double'. */ 51#undef DBL_EXPBIT0_WORD 52 53/* Define as the bit index in the word where to find the sign of 'double'. */ 54#undef DBL_SIGNBIT_BIT 55 56/* Define as the word index where to find the sign of 'double'. */ 57#undef DBL_SIGNBIT_WORD 58 59/* Default pager command */ 60#undef DEFAULT_PAGER 61 62/* the name of the file descriptor member of DIR */ 63#undef DIR_FD_MEMBER_NAME 64 65#ifdef DIR_FD_MEMBER_NAME 66# define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME) 67#else 68# define DIR_TO_FD(Dir_p) -1 69#endif 70 71 72/* Disable IPv6 code */ 73#undef DISABLE_IPV6 74 75/* Define if you want local DNSSEC validation support */ 76#undef DNSSEC_LOCAL_VALIDATION 77 78/* Define to 1 if // is a file system root distinct from /. */ 79#undef DOUBLE_SLASH_IS_DISTINCT_ROOT 80 81/* Define to 1 if translation of program messages to the user's native 82 language is requested. */ 83#undef ENABLE_NLS 84 85/* Define this to 1 if F_DUPFD behavior does not match POSIX */ 86#undef FCNTL_DUPFD_BUGGY 87 88/* Define to nothing if C supports flexible array members, and to 1 if it does 89 not. That way, with a declaration like 'struct s { int n; short 90 d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 91 compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate 92 the size in bytes of such a struct containing an N-element array. */ 93#undef FLEXIBLE_ARRAY_MEMBER 94 95/* Define as the bit index in the word where to find bit 0 of the exponent of 96 'float'. */ 97#undef FLT_EXPBIT0_BIT 98 99/* Define as the word index where to find the exponent of 'float'. */ 100#undef FLT_EXPBIT0_WORD 101 102/* Define as the bit index in the word where to find the sign of 'float'. */ 103#undef FLT_SIGNBIT_BIT 104 105/* Define as the word index where to find the sign of 'float'. */ 106#undef FLT_SIGNBIT_WORD 107 108/* Define to 1 if the system's ftello function has the Solaris bug. */ 109#undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 110 111/* Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, 0 if 112 fflush is known to not work, -1 if unknown. */ 113#undef FUNC_FFLUSH_STDIN 114 115/* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */ 116#undef FUNC_NL_LANGINFO_YESEXPR_WORKS 117 118/* Define to 1 if the `getpgrp' function requires zero arguments. */ 119#undef GETPGRP_VOID 120 121/* Define this to 'void' or 'struct timezone' to match the system's 122 declaration of the second argument to gettimeofday. */ 123#undef GETTIMEOFDAY_TIMEZONE 124 125/* Compile Gnulib crypto stream ops. */ 126#undef GL_COMPILE_CRYPTO_STREAM 127 128/* Define to a C preprocessor expression that evaluates to 1 or 0, depending 129 whether the gnulib module fflush shall be considered present. */ 130#undef GNULIB_FFLUSH 131 132/* Define to a C preprocessor expression that evaluates to 1 or 0, depending 133 whether the gnulib module fnmatch-gnu shall be considered present. */ 134#undef GNULIB_FNMATCH_GNU 135 136/* Define to a C preprocessor expression that evaluates to 1 or 0, depending 137 whether the gnulib module fscanf shall be considered present. */ 138#undef GNULIB_FSCANF 139 140/* Define to a C preprocessor expression that evaluates to 1 or 0, depending 141 whether the gnulib module isblank shall be considered present. */ 142#undef GNULIB_ISBLANK 143 144/* Define to a C preprocessor expression that evaluates to 1 or 0, depending 145 whether the gnulib module lock shall be considered present. */ 146#undef GNULIB_LOCK 147 148/* Define to a C preprocessor expression that evaluates to 1 or 0, depending 149 whether the gnulib module msvc-nothrow shall be considered present. */ 150#undef GNULIB_MSVC_NOTHROW 151 152/* Define to 1 if printf and friends should be labeled with attribute 153 "__gnu_printf__" instead of "__printf__" */ 154#undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 155 156/* Define to a C preprocessor expression that evaluates to 1 or 0, depending 157 whether the gnulib module scanf shall be considered present. */ 158#undef GNULIB_SCANF 159 160/* Define to a C preprocessor expression that evaluates to 1 or 0, depending 161 whether the gnulib module strerror shall be considered present. */ 162#undef GNULIB_STRERROR 163 164/* Define to 1 when the gnulib module btowc should be tested. */ 165#undef GNULIB_TEST_BTOWC 166 167/* Define to 1 when the gnulib module chown should be tested. */ 168#undef GNULIB_TEST_CHOWN 169 170/* Define to 1 when the gnulib module cloexec should be tested. */ 171#undef GNULIB_TEST_CLOEXEC 172 173/* Define to 1 when the gnulib module close should be tested. */ 174#undef GNULIB_TEST_CLOSE 175 176/* Define to 1 when the gnulib module closedir should be tested. */ 177#undef GNULIB_TEST_CLOSEDIR 178 179/* Define to 1 when the gnulib module dirfd should be tested. */ 180#undef GNULIB_TEST_DIRFD 181 182/* Define to 1 when the gnulib module dup2 should be tested. */ 183#undef GNULIB_TEST_DUP2 184 185/* Define to 1 when the gnulib module environ should be tested. */ 186#undef GNULIB_TEST_ENVIRON 187 188/* Define to 1 when the gnulib module fcntl should be tested. */ 189#undef GNULIB_TEST_FCNTL 190 191/* Define to 1 when the gnulib module fflush should be tested. */ 192#undef GNULIB_TEST_FFLUSH 193 194/* Define to 1 when the gnulib module fnmatch should be tested. */ 195#undef GNULIB_TEST_FNMATCH 196 197/* Define to 1 when the gnulib module fpurge should be tested. */ 198#undef GNULIB_TEST_FPURGE 199 200/* Define to 1 when the gnulib module frexp should be tested. */ 201#undef GNULIB_TEST_FREXP 202 203/* Define to 1 when the gnulib module frexpl should be tested. */ 204#undef GNULIB_TEST_FREXPL 205 206/* Define to 1 when the gnulib module fseek should be tested. */ 207#undef GNULIB_TEST_FSEEK 208 209/* Define to 1 when the gnulib module fseeko should be tested. */ 210#undef GNULIB_TEST_FSEEKO 211 212/* Define to 1 when the gnulib module fstat should be tested. */ 213#undef GNULIB_TEST_FSTAT 214 215/* Define to 1 when the gnulib module ftell should be tested. */ 216#undef GNULIB_TEST_FTELL 217 218/* Define to 1 when the gnulib module ftello should be tested. */ 219#undef GNULIB_TEST_FTELLO 220 221/* Define to 1 when the gnulib module getdtablesize should be tested. */ 222#undef GNULIB_TEST_GETDTABLESIZE 223 224/* Define to 1 when the gnulib module getlogin_r should be tested. */ 225#undef GNULIB_TEST_GETLOGIN_R 226 227/* Define to 1 when the gnulib module getopt-posix should be tested. */ 228#undef GNULIB_TEST_GETOPT_POSIX 229 230/* Define to 1 when the gnulib module gettimeofday should be tested. */ 231#undef GNULIB_TEST_GETTIMEOFDAY 232 233/* Define to 1 when the gnulib module glob should be tested. */ 234#undef GNULIB_TEST_GLOB 235 236/* Define to 1 when the gnulib module lchown should be tested. */ 237#undef GNULIB_TEST_LCHOWN 238 239/* Define to 1 when the gnulib module localeconv should be tested. */ 240#undef GNULIB_TEST_LOCALECONV 241 242/* Define to 1 when the gnulib module lseek should be tested. */ 243#undef GNULIB_TEST_LSEEK 244 245/* Define to 1 when the gnulib module lstat should be tested. */ 246#undef GNULIB_TEST_LSTAT 247 248/* Define to 1 when the gnulib module malloc-posix should be tested. */ 249#undef GNULIB_TEST_MALLOC_POSIX 250 251/* Define to 1 when the gnulib module mbrtowc should be tested. */ 252#undef GNULIB_TEST_MBRTOWC 253 254/* Define to 1 when the gnulib module mbsinit should be tested. */ 255#undef GNULIB_TEST_MBSINIT 256 257/* Define to 1 when the gnulib module mbsrtowcs should be tested. */ 258#undef GNULIB_TEST_MBSRTOWCS 259 260/* Define to 1 when the gnulib module mbtowc should be tested. */ 261#undef GNULIB_TEST_MBTOWC 262 263/* Define to 1 when the gnulib module memchr should be tested. */ 264#undef GNULIB_TEST_MEMCHR 265 266/* Define to 1 when the gnulib module memmem should be tested. */ 267#undef GNULIB_TEST_MEMMEM 268 269/* Define to 1 when the gnulib module mempcpy should be tested. */ 270#undef GNULIB_TEST_MEMPCPY 271 272/* Define to 1 when the gnulib module mktime should be tested. */ 273#undef GNULIB_TEST_MKTIME 274 275/* Define to 1 when the gnulib module nl_langinfo should be tested. */ 276#undef GNULIB_TEST_NL_LANGINFO 277 278/* Define to 1 when the gnulib module open should be tested. */ 279#undef GNULIB_TEST_OPEN 280 281/* Define to 1 when the gnulib module opendir should be tested. */ 282#undef GNULIB_TEST_OPENDIR 283 284/* Define to 1 when the gnulib module poll should be tested. */ 285#undef GNULIB_TEST_POLL 286 287/* Define to 1 when the gnulib module readdir should be tested. */ 288#undef GNULIB_TEST_READDIR 289 290/* Define to 1 when the gnulib module readlink should be tested. */ 291#undef GNULIB_TEST_READLINK 292 293/* Define to 1 when the gnulib module select should be tested. */ 294#undef GNULIB_TEST_SELECT 295 296/* Define to 1 when the gnulib module setenv should be tested. */ 297#undef GNULIB_TEST_SETENV 298 299/* Define to 1 when the gnulib module setlocale_null should be tested. */ 300#undef GNULIB_TEST_SETLOCALE_NULL 301 302/* Define to 1 when the gnulib module signbit should be tested. */ 303#undef GNULIB_TEST_SIGNBIT 304 305/* Define to 1 when the gnulib module stat should be tested. */ 306#undef GNULIB_TEST_STAT 307 308/* Define to 1 when the gnulib module strdup should be tested. */ 309#undef GNULIB_TEST_STRDUP 310 311/* Define to 1 when the gnulib module strerror should be tested. */ 312#undef GNULIB_TEST_STRERROR 313 314/* Define to 1 when the gnulib module strnlen should be tested. */ 315#undef GNULIB_TEST_STRNLEN 316 317/* Define to 1 when the gnulib module strptime should be tested. */ 318#undef GNULIB_TEST_STRPTIME 319 320/* Define to 1 when the gnulib module strstr should be tested. */ 321#undef GNULIB_TEST_STRSTR 322 323/* Define to 1 when the gnulib module strtok_r should be tested. */ 324#undef GNULIB_TEST_STRTOK_R 325 326/* Define to 1 when the gnulib module strtoull should be tested. */ 327#undef GNULIB_TEST_STRTOULL 328 329/* Define to 1 when the gnulib module timegm should be tested. */ 330#undef GNULIB_TEST_TIMEGM 331 332/* Define to 1 when the gnulib module time_r should be tested. */ 333#undef GNULIB_TEST_TIME_R 334 335/* Define to 1 when the gnulib module time_rz should be tested. */ 336#undef GNULIB_TEST_TIME_RZ 337 338/* Define to 1 when the gnulib module tzset should be tested. */ 339#undef GNULIB_TEST_TZSET 340 341/* Define to 1 when the gnulib module unsetenv should be tested. */ 342#undef GNULIB_TEST_UNSETENV 343 344/* Define to 1 when the gnulib module vsnprintf should be tested. */ 345#undef GNULIB_TEST_VSNPRINTF 346 347/* Define to 1 when the gnulib module wcrtomb should be tested. */ 348#undef GNULIB_TEST_WCRTOMB 349 350/* Define to 1 when the gnulib module wcwidth should be tested. */ 351#undef GNULIB_TEST_WCWIDTH 352 353/* Define to 1 when the gnulib module wmemchr should be tested. */ 354#undef GNULIB_TEST_WMEMCHR 355 356/* Define to 1 when the gnulib module wmempcpy should be tested. */ 357#undef GNULIB_TEST_WMEMPCPY 358 359/* Define to a C preprocessor expression that evaluates to 1 or 0, depending 360 whether the gnulib module unistr/u8-mbtoucr shall be considered present. */ 361#undef GNULIB_UNISTR_U8_MBTOUCR 362 363/* Define to a C preprocessor expression that evaluates to 1 or 0, depending 364 whether the gnulib module unistr/u8-uctomb shall be considered present. */ 365#undef GNULIB_UNISTR_U8_UCTOMB 366 367/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that 368 may be supplied by this distribution. */ 369#undef HAVE_ALLOCA 370 371/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 372 */ 373#undef HAVE_ALLOCA_H 374 375/* Define to 1 if you have the <arpa/inet.h> header file. */ 376#undef HAVE_ARPA_INET_H 377 378/* Define to 1 if you have the <arpa/nameser.h> header file. */ 379#undef HAVE_ARPA_NAMESER_H 380 381/* Define to 1 if you have the <bp-sym.h> header file. */ 382#undef HAVE_BP_SYM_H 383 384/* Define to 1 if you have the `btowc' function. */ 385#undef HAVE_BTOWC 386 387/* Define to 1 if you have the <byteswap.h> header file. */ 388#undef HAVE_BYTESWAP_H 389 390/* Define to 1 if you have the Mac OS X function 391 CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ 392#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES 393 394/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in 395 the CoreFoundation framework. */ 396#undef HAVE_CFPREFERENCESCOPYAPPVALUE 397 398/* Define to 1 if you have the `chown' function. */ 399#undef HAVE_CHOWN 400 401/* Define to 1 if you have the `clock_gettime' function. */ 402#undef HAVE_CLOCK_GETTIME 403 404/* Define to 1 if you have the `clock_settime' function. */ 405#undef HAVE_CLOCK_SETTIME 406 407/* Define to 1 if you have the `closedir' function. */ 408#undef HAVE_CLOSEDIR 409 410/* Define if you have compound literals. */ 411#undef HAVE_COMPOUND_LITERALS 412 413/* Define if the copysignf function is declared in <math.h> and available in 414 libc. */ 415#undef HAVE_COPYSIGNF_IN_LIBC 416 417/* Define if the copysignl function is declared in <math.h> and available in 418 libc. */ 419#undef HAVE_COPYSIGNL_IN_LIBC 420 421/* Define if the copysign function is declared in <math.h> and available in 422 libc. */ 423#undef HAVE_COPYSIGN_IN_LIBC 424 425/* Define to 1 if you have the <crtdefs.h> header file. */ 426#undef HAVE_CRTDEFS_H 427 428/* Define to 1 if you have the <curses.h> header file. */ 429#undef HAVE_CURSES_H 430 431/* define if c++ compiler supports bool */ 432#undef HAVE_CXX_BOOL 433 434/* define if c++ compiler supports _Bool */ 435#undef HAVE_CXX__BOOL 436 437/* Define if the GNU dcgettext() function is already present or preinstalled. 438 */ 439#undef HAVE_DCGETTEXT 440 441/* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. 442 */ 443#undef HAVE_DECL_ALARM 444 445/* Define to 1 if you have the declaration of `copysign', and to 0 if you 446 don't. */ 447#undef HAVE_DECL_COPYSIGN 448 449/* Define to 1 if you have the declaration of `copysignf', and to 0 if you 450 don't. */ 451#undef HAVE_DECL_COPYSIGNF 452 453/* Define to 1 if you have the declaration of `copysignl', and to 0 if you 454 don't. */ 455#undef HAVE_DECL_COPYSIGNL 456 457/* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't. 458 */ 459#undef HAVE_DECL_DIRFD 460 461/* Define to 1 if you have the declaration of `dn_expand', and to 0 if you 462 don't. */ 463#undef HAVE_DECL_DN_EXPAND 464 465/* Define to 1 if you have the declaration of `fpurge', and to 0 if you don't. 466 */ 467#undef HAVE_DECL_FPURGE 468 469/* Define to 1 if you have the declaration of `fseeko', and to 0 if you don't. 470 */ 471#undef HAVE_DECL_FSEEKO 472 473/* Define to 1 if you have the declaration of `ftello', and to 0 if you don't. 474 */ 475#undef HAVE_DECL_FTELLO 476 477/* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you 478 don't. */ 479#undef HAVE_DECL_GETDTABLESIZE 480 481/* Define to 1 if you have the declaration of `getlogin', and to 0 if you 482 don't. */ 483#undef HAVE_DECL_GETLOGIN 484 485/* Define to 1 if you have the declaration of `getlogin_r', and to 0 if you 486 don't. */ 487#undef HAVE_DECL_GETLOGIN_R 488 489/* Define to 1 if you have the declaration of `hstrerror', and to 0 if you 490 don't. */ 491#undef HAVE_DECL_HSTRERROR 492 493/* Define to 1 if you have the declaration of `h_errlist', and to 0 if you 494 don't. */ 495#undef HAVE_DECL_H_ERRLIST 496 497/* Define to 1 if you have the declaration of `h_errno', and to 0 if you 498 don't. */ 499#undef HAVE_DECL_H_ERRNO 500 501/* Define to 1 if you have the declaration of `inet_aton', and to 0 if you 502 don't. */ 503#undef HAVE_DECL_INET_ATON 504 505/* Define to 1 if you have the declaration of `inet_pton', and to 0 if you 506 don't. */ 507#undef HAVE_DECL_INET_PTON 508 509/* Define to 1 if you have the declaration of `isblank', and to 0 if you 510 don't. */ 511#undef HAVE_DECL_ISBLANK 512 513/* Define to 1 if you have the declaration of `localtime_r', and to 0 if you 514 don't. */ 515#undef HAVE_DECL_LOCALTIME_R 516 517/* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you 518 don't. */ 519#undef HAVE_DECL_MBRTOWC 520 521/* Define to 1 if you have the declaration of `mbsinit', and to 0 if you 522 don't. */ 523#undef HAVE_DECL_MBSINIT 524 525/* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you 526 don't. */ 527#undef HAVE_DECL_MBSRTOWCS 528 529/* Define to 1 if you have a declaration of mbswidth() in <wchar.h>, and to 0 530 otherwise. */ 531#undef HAVE_DECL_MBSWIDTH_IN_WCHAR_H 532 533/* Define to 1 if you have the declaration of `memmem', and to 0 if you don't. 534 */ 535#undef HAVE_DECL_MEMMEM 536 537/* Define to 1 if you have the declaration of `program_invocation_name', and 538 to 0 if you don't. */ 539#undef HAVE_DECL_PROGRAM_INVOCATION_NAME 540 541/* Define to 1 if you have the declaration of `program_invocation_short_name', 542 and to 0 if you don't. */ 543#undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 544 545/* Define to 1 if you have the declaration of `random', and to 0 if you don't. 546 */ 547#undef HAVE_DECL_RANDOM 548 549/* Define to 1 if you have the declaration of `res_search', and to 0 if you 550 don't. */ 551#undef HAVE_DECL_RES_SEARCH 552 553/* Define to 1 if you have the declaration of `setenv', and to 0 if you don't. 554 */ 555#undef HAVE_DECL_SETENV 556 557/* Define to 1 if you have the declaration of `snprintf', and to 0 if you 558 don't. */ 559#undef HAVE_DECL_SNPRINTF 560 561/* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. 562 */ 563#undef HAVE_DECL_STRDUP 564 565/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you 566 don't. */ 567#undef HAVE_DECL_STRERROR_R 568 569/* Define to 1 if you have the declaration of `strmode', and to 0 if you 570 don't. */ 571#undef HAVE_DECL_STRMODE 572 573/* Define to 1 if you have the declaration of `strncasecmp', and to 0 if you 574 don't. */ 575#undef HAVE_DECL_STRNCASECMP 576 577/* Define to 1 if you have the declaration of `strnlen', and to 0 if you 578 don't. */ 579#undef HAVE_DECL_STRNLEN 580 581/* Define to 1 if you have the declaration of `strptime', and to 0 if you 582 don't. */ 583#undef HAVE_DECL_STRPTIME 584 585/* Define to 1 if you have the declaration of `strtok_r', and to 0 if you 586 don't. */ 587#undef HAVE_DECL_STRTOK_R 588 589/* Define to 1 if you have the declaration of `strtoull', and to 0 if you 590 don't. */ 591#undef HAVE_DECL_STRTOULL 592 593/* Define to 1 if you have the declaration of `strtoumax', and to 0 if you 594 don't. */ 595#undef HAVE_DECL_STRTOUMAX 596 597/* Define to 1 if you have the declaration of `towlower', and to 0 if you 598 don't. */ 599#undef HAVE_DECL_TOWLOWER 600 601/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. 602 */ 603#undef HAVE_DECL_TZNAME 604 605/* Define to 1 if you have the declaration of `unsetenv', and to 0 if you 606 don't. */ 607#undef HAVE_DECL_UNSETENV 608 609/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you 610 don't. */ 611#undef HAVE_DECL_VSNPRINTF 612 613/* Define to 1 if you have the declaration of `wcrtomb', and to 0 if you 614 don't. */ 615#undef HAVE_DECL_WCRTOMB 616 617/* Define to 1 if you have the declaration of `wcwidth', and to 0 if you 618 don't. */ 619#undef HAVE_DECL_WCWIDTH 620 621/* Define to 1 if you have the declaration of `_fseeki64', and to 0 if you 622 don't. */ 623#undef HAVE_DECL__FSEEKI64 624 625/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you 626 don't. */ 627#undef HAVE_DECL__SNPRINTF 628 629/* Define to 1 if you have the declaration of `__argv', and to 0 if you don't. 630 */ 631#undef HAVE_DECL___ARGV 632 633/* define if you have /dev/ptmx device */ 634#undef HAVE_DEV_PTMX 635 636/* define if you have /dev/ptc device */ 637#undef HAVE_DEV_PTS_AND_PTC 638 639/* Define to 1 if you have the <dirent.h> header file. */ 640#undef HAVE_DIRENT_H 641 642/* Define to 1 if you have the `dirfd' function. */ 643#undef HAVE_DIRFD 644 645/* Define to 1 if you have the <dlfcn.h> header file. */ 646#undef HAVE_DLFCN_H 647 648/* have dlopen */ 649#undef HAVE_DLOPEN 650 651/* Define to 1 if you have the `dn_expand' function. */ 652#undef HAVE_DN_EXPAND 653 654/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ 655#undef HAVE_DOPRNT 656 657/* Define to 1 if you have the <endian.h> header file. */ 658#undef HAVE_ENDIAN_H 659 660/* define if you have global environ variable */ 661#undef HAVE_ENVIRON 662 663/* Define if you have the declaration of environ. */ 664#undef HAVE_ENVIRON_DECL 665 666/* Define to 1 if you have the <errno.h> header file. */ 667#undef HAVE_ERRNO_H 668 669/* Define to 1 if you have the <expat.h> header file. */ 670#undef HAVE_EXPAT_H 671 672/* Define to 1 if you have the `fallocate' function. */ 673#undef HAVE_FALLOCATE 674 675/* Define to 1 if you have the `fchown' function. */ 676#undef HAVE_FCHOWN 677 678/* Define to 1 if you have the `fcntl' function. */ 679#undef HAVE_FCNTL 680 681/* Define to 1 if you have the <fcntl.h> header file. */ 682#undef HAVE_FCNTL_H 683 684/* Define to 1 if you have the <features.h> header file. */ 685#undef HAVE_FEATURES_H 686 687/* Define to 1 if you have the `fnmatch' function. */ 688#undef HAVE_FNMATCH 689 690/* Define to 1 if you have the <fnmatch.h> header file. */ 691#undef HAVE_FNMATCH_H 692 693/* Define to 1 if you have the `fpurge' function. */ 694#undef HAVE_FPURGE 695 696/* Define if the frexpl function is available in libc. */ 697#undef HAVE_FREXPL_IN_LIBC 698 699/* Define if the frexp function is available in libc. */ 700#undef HAVE_FREXP_IN_LIBC 701 702/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ 703#undef HAVE_FSEEKO 704 705/* Define to 1 if you have the `getaddrinfo' function. */ 706#undef HAVE_GETADDRINFO 707 708/* Define to 1 if you have the `getdtablesize' function. */ 709#undef HAVE_GETDTABLESIZE 710 711/* Define to 1 if you have the `getexecname' function. */ 712#undef HAVE_GETEXECNAME 713 714/* Define to 1 if you have the `gethostbyname2' function. */ 715#undef HAVE_GETHOSTBYNAME2 716 717/* Define to 1 if you have the `getipnodebyname' function. */ 718#undef HAVE_GETIPNODEBYNAME 719 720/* Define to 1 if you have the `getlogin_r' function. */ 721#undef HAVE_GETLOGIN_R 722 723/* Define to 1 if you have the `getnameinfo' function. */ 724#undef HAVE_GETNAMEINFO 725 726/* Define to 1 if you have the <getopt.h> header file. */ 727#undef HAVE_GETOPT_H 728 729/* Define to 1 if you have the `getopt_long_only' function. */ 730#undef HAVE_GETOPT_LONG_ONLY 731 732/* Define to 1 if you have the `getprogname' function. */ 733#undef HAVE_GETPROGNAME 734 735/* Define to 1 if you have the `getpwnam_r' function. */ 736#undef HAVE_GETPWNAM_R 737 738/* Define if the GNU gettext() function is already present or preinstalled. */ 739#undef HAVE_GETTEXT 740 741/* Define to 1 if you have the `gettimeofday' function. */ 742#undef HAVE_GETTIMEOFDAY 743 744/* Define to 1 if you have the `glob' function. */ 745#undef HAVE_GLOB 746 747/* Define to 1 if you have the <glob.h> header file. */ 748#undef HAVE_GLOB_H 749 750/* Define to 1 if you have the `glob_pattern_p' function. */ 751#undef HAVE_GLOB_PATTERN_P 752 753/* System has usable hstrerror */ 754#undef HAVE_HSTRERROR 755 756/* system has h_errno */ 757#undef HAVE_H_ERRNO 758 759/* Define if you have the iconv() function and it works. */ 760#undef HAVE_ICONV 761 762/* Define to 1 if you have the <iconv.h> header file. */ 763#undef HAVE_ICONV_H 764 765/* Define to 1 if you have the <ifaddrs.h> header file. */ 766#undef HAVE_IFADDRS_H 767 768/* Define to 1 if you have the `inet_aton' function. */ 769#undef HAVE_INET_ATON 770 771/* Define to 1 if you have the `inet_pton' function. */ 772#undef HAVE_INET_PTON 773 774/* Define to 1 if the compiler supports one of the keywords 'inline', 775 '__inline__', '__inline' and effectively inlines functions marked as such. 776 */ 777#undef HAVE_INLINE 778 779/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */ 780#undef HAVE_INTMAX_T 781 782/* Define to 1 if you have the <inttypes.h> header file. */ 783#undef HAVE_INTTYPES_H 784 785/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and 786 declares uintmax_t. */ 787#undef HAVE_INTTYPES_H_WITH_UINTMAX 788 789/* Define to 1 if <sys/socket.h> defines AF_INET. */ 790#undef HAVE_IPV4 791 792/* Define to 1 if <sys/socket.h> defines AF_INET6. */ 793#undef HAVE_IPV6 794 795/* Define to 1 if you have the `isascii' function. */ 796#undef HAVE_ISASCII 797 798/* Define to 1 if you have the `isblank' function. */ 799#undef HAVE_ISBLANK 800 801/* Define if the isnan(double) function is available in libc. */ 802#undef HAVE_ISNAND_IN_LIBC 803 804/* Define if the isnan(float) function is available in libc. */ 805#undef HAVE_ISNANF_IN_LIBC 806 807/* Define if the isnan(long double) function is available in libc. */ 808#undef HAVE_ISNANL_IN_LIBC 809 810/* Define to 1 if you have the `iswcntrl' function. */ 811#undef HAVE_ISWCNTRL 812 813/* Define to 1 if you have the `iswctype' function. */ 814#undef HAVE_ISWCTYPE 815 816/* Define to 1 if you have the `killpg' function. */ 817#undef HAVE_KILLPG 818 819/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ 820#undef HAVE_LANGINFO_CODESET 821 822/* Define to 1 if you have the <langinfo.h> header file. */ 823#undef HAVE_LANGINFO_H 824 825/* Define to 1 if you have the `lchmod' function. */ 826#undef HAVE_LCHMOD 827 828/* Define to 1 if you have the `lchown' function. */ 829#undef HAVE_LCHOWN 830 831/* Define if the ldexpl function is available in libc. */ 832#undef HAVE_LDEXPL_IN_LIBC 833 834/* Define if the ldexp function is available in libc. */ 835#undef HAVE_LDEXP_IN_LIBC 836 837/* Define if you have expat library */ 838#undef HAVE_LIBEXPAT 839 840/* Define to 1 if you have the <libintl.h> header file. */ 841#undef HAVE_LIBINTL_H 842 843/* Define to 1 if you have the `pthread' library (-lpthread). */ 844#undef HAVE_LIBPTHREAD 845 846/* Define to 1 if you have the `sres' library (-lsres). */ 847#undef HAVE_LIBSRES 848 849/* Define to 1 if you have the <limits.h> header file. */ 850#undef HAVE_LIMITS_H 851 852/* Define to 1 if you have 'struct sockaddr_alg' defined. */ 853#undef HAVE_LINUX_IF_ALG_H 854 855/* Define to 1 if you have the <linux/magic.h> header file. */ 856#undef HAVE_LINUX_MAGIC_H 857 858/* Define to 1 if you have the <locale.h> header file. */ 859#undef HAVE_LOCALE_H 860 861/* Define if localtime-like functions can loop forever on extreme arguments. 862 */ 863#undef HAVE_LOCALTIME_INFLOOP_BUG 864 865/* Define to 1 if you have the `localtime_r' function. */ 866#undef HAVE_LOCALTIME_R 867 868/* Define to 1 if the system has the type 'long long int'. */ 869#undef HAVE_LONG_LONG_INT 870 871/* Define to 1 if you have the `lstat' function. */ 872#undef HAVE_LSTAT 873 874/* Define to 1 if you have the <malloc.h> header file. */ 875#undef HAVE_MALLOC_H 876 877/* Define if the 'malloc' function is POSIX compliant. */ 878#undef HAVE_MALLOC_POSIX 879 880/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including 881 config.h and <sys/mman.h>. */ 882#undef HAVE_MAP_ANONYMOUS 883 884/* Define to 1 if you have the <math.h> header file. */ 885#undef HAVE_MATH_H 886 887/* Define to 1 if you have the `mbrtowc' function. */ 888#undef HAVE_MBRTOWC 889 890/* Define to 1 if you have the `mbsinit' function. */ 891#undef HAVE_MBSINIT 892 893/* Define to 1 if you have the `mbsrtowcs' function. */ 894#undef HAVE_MBSRTOWCS 895 896/* Define to 1 if <wchar.h> declares mbstate_t. */ 897#undef HAVE_MBSTATE_T 898 899/* Define to 1 if you have the `mbtowc' function. */ 900#undef HAVE_MBTOWC 901 902/* Define to 1 if you have the `memmem' function. */ 903#undef HAVE_MEMMEM 904 905/* Define to 1 if you have the <memory.h> header file. */ 906#undef HAVE_MEMORY_H 907 908/* Define to 1 if you have the `mempcpy' function. */ 909#undef HAVE_MEMPCPY 910 911/* Define to 1 if <limits.h> defines the MIN and MAX macros. */ 912#undef HAVE_MINMAX_IN_LIMITS_H 913 914/* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */ 915#undef HAVE_MINMAX_IN_SYS_PARAM_H 916 917/* Define to 1 if you have the `mprotect' function. */ 918#undef HAVE_MPROTECT 919 920/* Define to 1 on MSVC platforms that have the "invalid parameter handler" 921 concept. */ 922#undef HAVE_MSVC_INVALID_PARAMETER_HANDLER 923 924/* Define to 1 if you have the <ncurses/curses.h> header file. */ 925#undef HAVE_NCURSES_CURSES_H 926 927/* Define to 1 if you have the <ncurses/term.h> header file. */ 928#undef HAVE_NCURSES_TERM_H 929 930/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 931#undef HAVE_NDIR_H 932 933/* Define to 1 if you have the <netdb.h> header file. */ 934#undef HAVE_NETDB_H 935 936/* Define to 1 if you have the <netinet/in.h> header file. */ 937#undef HAVE_NETINET_IN_H 938 939/* Define to 1 if you have the <netinet/in_systm.h> header file. */ 940#undef HAVE_NETINET_IN_SYSTM_H 941 942/* Define to 1 if you have the <netinet/ip.h> header file. */ 943#undef HAVE_NETINET_IP_H 944 945/* Define to 1 if you have the <netinet/tcp.h> header file. */ 946#undef HAVE_NETINET_TCP_H 947 948/* Define to 1 if you have the `nl_langinfo' function. */ 949#undef HAVE_NL_LANGINFO 950 951/* Define to 1 if you have the `opendir' function. */ 952#undef HAVE_OPENDIR 953 954/* define if you have openpty function */ 955#undef HAVE_OPENPTY 956 957/* Define to 1 if libcrypto is used for MD5. */ 958#undef HAVE_OPENSSL_MD5 959 960/* Define to 1 if you have the <openssl/md5.h> header file. */ 961#undef HAVE_OPENSSL_MD5_H 962 963/* Define to 1 if libcrypto is used for SHA1. */ 964#undef HAVE_OPENSSL_SHA1 965 966/* Define to 1 if you have the <openssl/sha.h> header file. */ 967#undef HAVE_OPENSSL_SHA_H 968 969/* Define to 1 if you have the 'poll' function and it works. */ 970#undef HAVE_POLL 971 972/* Define to 1 if you have the <poll.h> header file. */ 973#undef HAVE_POLL_H 974 975/* Define if posix_fadvise() is available */ 976#undef HAVE_POSIX_FADVISE 977 978/* Define if you have a working posix_fallocate() */ 979#undef HAVE_POSIX_FALLOCATE 980 981/* Define if you have the <pthread.h> header and the POSIX threads API. */ 982#undef HAVE_PTHREAD_API 983 984/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */ 985#undef HAVE_PTHREAD_MUTEX_RECURSIVE 986 987/* Define if the POSIX multithreading library has read/write locks. */ 988#undef HAVE_PTHREAD_RWLOCK 989 990/* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a 991 reader. */ 992#undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 993 994/* Define to 1 if you have the <pty.h> header file. */ 995#undef HAVE_PTY_H 996 997/* Define to 1 if you have the `random' function. */ 998#undef HAVE_RANDOM 999 1000/* Define to 1 if you have the `readdir' function. */ 1001#undef HAVE_READDIR 1002 1003/* Define to 1 if you have the `readlink' function. */ 1004#undef HAVE_READLINK 1005 1006/* Define to 1 if you have the `recvmsg' function. */ 1007#undef HAVE_RECVMSG 1008 1009/* Define to 1 if you have the <resolv.h> header file. */ 1010#undef HAVE_RESOLV_H 1011 1012/* have res_9_search */ 1013#undef HAVE_RES_9_SEARCH 1014 1015/* have res_search */ 1016#undef HAVE_RES_SEARCH 1017 1018/* Define to 1 if you have the `Rpoll' function. */ 1019#undef HAVE_RPOLL 1020 1021/* Define to 1 if 'long double' and 'double' have the same representation. */ 1022#undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE 1023 1024/* Define to 1 if the system has the type `sa_family_t'. */ 1025#undef HAVE_SA_FAMILY_T 1026 1027/* Define to 1 if you have the <search.h> header file. */ 1028#undef HAVE_SEARCH_H 1029 1030/* Define to 1 if you have the `sendmsg' function. */ 1031#undef HAVE_SENDMSG 1032 1033/* Define to 1 if you have the `setdtablesize' function. */ 1034#undef HAVE_SETDTABLESIZE 1035 1036/* Define to 1 if you have the `setenv' function. */ 1037#undef HAVE_SETENV 1038 1039/* Define to 1 if you have the `setlocale' function. */ 1040#undef HAVE_SETLOCALE 1041 1042/* Define to 1 if you have the `setpgid' function. */ 1043#undef HAVE_SETPGID 1044 1045/* Define to 1 if you have the `setsid' function. */ 1046#undef HAVE_SETSID 1047 1048/* Define to 1 if you have the `shutdown' function. */ 1049#undef HAVE_SHUTDOWN 1050 1051/* Define to 1 if 'sig_atomic_t' is a signed integer type. */ 1052#undef HAVE_SIGNED_SIG_ATOMIC_T 1053 1054/* Define to 1 if 'wchar_t' is a signed integer type. */ 1055#undef HAVE_SIGNED_WCHAR_T 1056 1057/* Define to 1 if 'wint_t' is a signed integer type. */ 1058#undef HAVE_SIGNED_WINT_T 1059 1060/* Define to 1 if the system has the type `sigset_t'. */ 1061#undef HAVE_SIGSET_T 1062 1063/* Define to 1 if you have the `snprintf' function. */ 1064#undef HAVE_SNPRINTF 1065 1066/* Define if the return value of the snprintf function is the number of of 1067 bytes (excluding the terminating NUL) that would have been produced if the 1068 buffer had been large enough. */ 1069#undef HAVE_SNPRINTF_RETVAL_C99 1070 1071/* Define to 1 if you have the `socketpair' function. */ 1072#undef HAVE_SOCKETPAIR 1073 1074/* Define to 1 if you have the <socks.h> header file. */ 1075#undef HAVE_SOCKS_H 1076 1077/* Define to 1 if you have the `sscanf' function. */ 1078#undef HAVE_SSCANF 1079 1080/* Define to 1 if you have the `statfs' function. */ 1081#undef HAVE_STATFS 1082 1083/* Define to 1 if you have the <stdint.h> header file. */ 1084#undef HAVE_STDINT_H 1085 1086/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares 1087 uintmax_t. */ 1088#undef HAVE_STDINT_H_WITH_UINTMAX 1089 1090/* Define to 1 if you have the <stdlib.h> header file. */ 1091#undef HAVE_STDLIB_H 1092 1093/* Define to 1 if you have the `strcasecmp' function. */ 1094#undef HAVE_STRCASECMP 1095 1096/* Define to 1 if you have the `strdup' function. */ 1097#undef HAVE_STRDUP 1098 1099/* Define to 1 if you have the `strerror_r' function. */ 1100#undef HAVE_STRERROR_R 1101 1102/* Define to 1 if you have the <strings.h> header file. */ 1103#undef HAVE_STRINGS_H 1104 1105/* Define to 1 if you have the <string.h> header file. */ 1106#undef HAVE_STRING_H 1107 1108/* Define to 1 if you have the `strncasecmp' function. */ 1109#undef HAVE_STRNCASECMP 1110 1111/* Define to 1 if you have the `strnlen' function. */ 1112#undef HAVE_STRNLEN 1113 1114/* Define to 1 if you have the `strptime' function. */ 1115#undef HAVE_STRPTIME 1116 1117/* Define to 1 if you have the `strtok_r' function. */ 1118#undef HAVE_STRTOK_R 1119 1120/* Define to 1 if you have the `strtoull' function. */ 1121#undef HAVE_STRTOULL 1122 1123/* Define to 1 if you have the `strtoumax' function. */ 1124#undef HAVE_STRTOUMAX 1125 1126/* Define if there is a member named d_type in the struct describing directory 1127 headers. */ 1128#undef HAVE_STRUCT_DIRENT_D_TYPE 1129 1130/* Define to 1 if `decimal_point' is a member of `struct lconv'. */ 1131#undef HAVE_STRUCT_LCONV_DECIMAL_POINT 1132 1133/* Define to 1 if `msg_accrights' is a member of `struct msghdr'. */ 1134#undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1135 1136/* Define to 1 if `sin6_scope_id' is a member of `struct sockaddr_in6'. */ 1137#undef HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1138 1139/* Define to 1 if `sa_len' is a member of `struct sockaddr'. */ 1140#undef HAVE_STRUCT_SOCKADDR_SA_LEN 1141 1142/* Define to 1 if the system has the type `struct sockaddr_storage'. */ 1143#undef HAVE_STRUCT_SOCKADDR_STORAGE 1144 1145/* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */ 1146#undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1147 1148/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ 1149#undef HAVE_STRUCT_STAT_ST_ATIMENSEC 1150 1151/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ 1152#undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1153 1154/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ 1155#undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC 1156 1157/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ 1158#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1159 1160/* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */ 1161#undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1162 1163/* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ 1164#undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1165 1166/* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */ 1167#undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1168 1169/* Define to 1 if `tm_zone' is a member of `struct tm'. */ 1170#undef HAVE_STRUCT_TM_TM_ZONE 1171 1172/* Define if struct stat has an st_dm_mode member. */ 1173#undef HAVE_ST_DM_MODE 1174 1175/* Define to 1 if you have the `symlink' function. */ 1176#undef HAVE_SYMLINK 1177 1178/* Define to 1 if you have the <sys/bitypes.h> header file. */ 1179#undef HAVE_SYS_BITYPES_H 1180 1181/* Define to 1 if you have the <sys/cdefs.h> header file. */ 1182#undef HAVE_SYS_CDEFS_H 1183 1184/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 1185 */ 1186#undef HAVE_SYS_DIR_H 1187 1188/* Define to 1 if you have the <sys/filio.h> header file. */ 1189#undef HAVE_SYS_FILIO_H 1190 1191/* Define to 1 if you have the <sys/inttypes.h> header file. */ 1192#undef HAVE_SYS_INTTYPES_H 1193 1194/* Define to 1 if you have the <sys/ioctl.h> header file. */ 1195#undef HAVE_SYS_IOCTL_H 1196 1197/* Define to 1 if you have the <sys/mman.h> header file. */ 1198#undef HAVE_SYS_MMAN_H 1199 1200/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 1201 */ 1202#undef HAVE_SYS_NDIR_H 1203 1204/* Define to 1 if you have the <sys/param.h> header file. */ 1205#undef HAVE_SYS_PARAM_H 1206 1207/* Define to 1 if you have the <sys/select.h> header file. */ 1208#undef HAVE_SYS_SELECT_H 1209 1210/* Define to 1 if you have the <sys/socket.h> header file. */ 1211#undef HAVE_SYS_SOCKET_H 1212 1213/* Define to 1 if you have the <sys/statfs.h> header file. */ 1214#undef HAVE_SYS_STATFS_H 1215 1216/* Define to 1 if you have the <sys/stat.h> header file. */ 1217#undef HAVE_SYS_STAT_H 1218 1219/* Define to 1 if you have the <sys/stropts.h> header file. */ 1220#undef HAVE_SYS_STROPTS_H 1221 1222/* Define to 1 if you have the <sys/time.h> header file. */ 1223#undef HAVE_SYS_TIME_H 1224 1225/* Define to 1 if you have the <sys/types.h> header file. */ 1226#undef HAVE_SYS_TYPES_H 1227 1228/* Define to 1 if you have the <sys/uio.h> header file. */ 1229#undef HAVE_SYS_UIO_H 1230 1231/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ 1232#undef HAVE_SYS_WAIT_H 1233 1234/* Define to 1 if you have the `tcgetattr' function. */ 1235#undef HAVE_TCGETATTR 1236 1237/* Define to 1 if you have the <termcap.h> header file. */ 1238#undef HAVE_TERMCAP_H 1239 1240/* Define to 1 if you have the <termios.h> header file. */ 1241#undef HAVE_TERMIOS_H 1242 1243/* Define to 1 if you have the <termio.h> header file. */ 1244#undef HAVE_TERMIO_H 1245 1246/* Define to 1 if you have the <term.h> header file. */ 1247#undef HAVE_TERM_H 1248 1249/* Define to 1 if you have the `tgetstr' function. */ 1250#undef HAVE_TGETSTR 1251 1252/* Define to 1 if you have the `thrd_create' function. */ 1253#undef HAVE_THRD_CREATE 1254 1255/* Define to 1 if you have the <threads.h> header file. */ 1256#undef HAVE_THREADS_H 1257 1258/* Define to 1 if you have the `tigetstr' function. */ 1259#undef HAVE_TIGETSTR 1260 1261/* Define to 1 if you have the `timegm' function. */ 1262#undef HAVE_TIMEGM 1263 1264/* Define to 1 if the system has the type `timezone_t'. */ 1265#undef HAVE_TIMEZONE_T 1266 1267/* Define if struct tm has the tm_gmtoff member. */ 1268#undef HAVE_TM_GMTOFF 1269 1270/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use 1271 `HAVE_STRUCT_TM_TM_ZONE' instead. */ 1272#undef HAVE_TM_ZONE 1273 1274/* Define to 1 if you have the `towlower' function. */ 1275#undef HAVE_TOWLOWER 1276 1277/* Define to 1 if you have the `tsearch' function. */ 1278#undef HAVE_TSEARCH 1279 1280/* Define to 1 if you don't have `tm_zone' but do have the external array 1281 `tzname'. */ 1282#undef HAVE_TZNAME 1283 1284/* Define to 1 if you have the `tzset' function. */ 1285#undef HAVE_TZSET 1286 1287/* Define to 1 if you have the <unistd.h> header file. */ 1288#undef HAVE_UNISTD_H 1289 1290/* Define to 1 if you have the `unsetenv' function. */ 1291#undef HAVE_UNSETENV 1292 1293/* Define to 1 if the system has the type 'unsigned long long int'. */ 1294#undef HAVE_UNSIGNED_LONG_LONG_INT 1295 1296/* Define to 1 if you have the <util.h> header file. */ 1297#undef HAVE_UTIL_H 1298 1299/* Define to 1 if you have the <utime.h> header file. */ 1300#undef HAVE_UTIME_H 1301 1302/* Define to 1 if `utime(file, NULL)' sets file's timestamp to the present. */ 1303#undef HAVE_UTIME_NULL 1304 1305/* Define to 1 if you have the <validator/validator.h> header file. */ 1306#undef HAVE_VALIDATOR_VALIDATOR_H 1307 1308/* Define to 1 if you have the <varargs.h> header file. */ 1309#undef HAVE_VARARGS_H 1310 1311/* Define if you have a global __progname variable */ 1312#undef HAVE_VAR___PROGNAME 1313 1314/* Define to 1 if you have the `vasnprintf' function. */ 1315#undef HAVE_VASNPRINTF 1316 1317/* Define to 1 or 0, depending whether the compiler supports simple visibility 1318 declarations. */ 1319#undef HAVE_VISIBILITY 1320 1321/* Define to 1 if you have the `vprintf' function. */ 1322#undef HAVE_VPRINTF 1323 1324/* Define to 1 if you have the `vsnprintf' function. */ 1325#undef HAVE_VSNPRINTF 1326 1327/* Define to 1 if you have the <wchar.h> header file. */ 1328#undef HAVE_WCHAR_H 1329 1330/* Define if you have the 'wchar_t' type. */ 1331#undef HAVE_WCHAR_T 1332 1333/* Define to 1 if you have the `wcrtomb' function. */ 1334#undef HAVE_WCRTOMB 1335 1336/* Define to 1 if you have the `wcslen' function. */ 1337#undef HAVE_WCSLEN 1338 1339/* Define to 1 if you have the `wcsnlen' function. */ 1340#undef HAVE_WCSNLEN 1341 1342/* Define to 1 if you have the <wctype.h> header file. */ 1343#undef HAVE_WCTYPE_H 1344 1345/* Define to 1 if you have the `wcwidth' function. */ 1346#undef HAVE_WCWIDTH 1347 1348/* Define to 1 if the compiler and linker support weak declarations of 1349 symbols. */ 1350#undef HAVE_WEAK_SYMBOLS 1351 1352/* Define to 1 if you have the <winsock2.h> header file. */ 1353#undef HAVE_WINSOCK2_H 1354 1355/* Define if you have the 'wint_t' type. */ 1356#undef HAVE_WINT_T 1357 1358/* Define to 1 if you have the `wmempcpy' function. */ 1359#undef HAVE_WMEMPCPY 1360 1361/* Define to 1 if O_NOATIME works. */ 1362#undef HAVE_WORKING_O_NOATIME 1363 1364/* Define to 1 if O_NOFOLLOW works. */ 1365#undef HAVE_WORKING_O_NOFOLLOW 1366 1367/* Define to 1 if you have the <ws2tcpip.h> header file. */ 1368#undef HAVE_WS2TCPIP_H 1369 1370/* Define to 1 if you have the <xlocale.h> header file. */ 1371#undef HAVE_XLOCALE_H 1372 1373/* Define to 1 if the system has the type `_Bool'. */ 1374#undef HAVE__BOOL 1375 1376/* Define to 1 if you have the `_fseeki64' function. */ 1377#undef HAVE__FSEEKI64 1378 1379/* Define to 1 if you have the `_ftelli64' function. */ 1380#undef HAVE__FTELLI64 1381 1382/* Define to 1 if you have the `_getpty' function. */ 1383#undef HAVE__GETPTY 1384 1385/* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ 1386#undef HAVE__SET_INVALID_PARAMETER_HANDLER 1387 1388/* Define to 1 if the compiler supports __builtin_expect, 1389 and to 2 if <builtins.h> does. */ 1390#undef HAVE___BUILTIN_EXPECT 1391#ifndef HAVE___BUILTIN_EXPECT 1392# define __builtin_expect(e, c) (e) 1393#elif HAVE___BUILTIN_EXPECT == 2 1394# include <builtins.h> 1395#endif 1396 1397 1398/* Define to 1 if you have the `__fpurge' function. */ 1399#undef HAVE___FPURGE 1400 1401/* Define to 1 if you have the `__freading' function. */ 1402#undef HAVE___FREADING 1403 1404/* Define to 1 if the compiler supports the keyword '__inline'. */ 1405#undef HAVE___INLINE 1406 1407/* Define as const if the declaration of iconv() needs const. */ 1408#undef ICONV_CONST 1409 1410/* Define to a symbolic name denoting the flavor of iconv_open() 1411 implementation. */ 1412#undef ICONV_FLAVOR 1413 1414/* Define as the bit index in the word where to find bit 0 of the exponent of 1415 'long double'. */ 1416#undef LDBL_EXPBIT0_BIT 1417 1418/* Define as the word index where to find the exponent of 'long double'. */ 1419#undef LDBL_EXPBIT0_WORD 1420 1421/* Define as the bit index in the word where to find the sign of 'long 1422 double'. */ 1423#undef LDBL_SIGNBIT_BIT 1424 1425/* Define as the word index where to find the sign of 'long double'. */ 1426#undef LDBL_SIGNBIT_WORD 1427 1428/* Define to libgnutls version, e.g. 0x010203 for 1.2.3 */ 1429#undef LFTP_LIBGNUTLS_VERSION_CODE 1430 1431/* Define to 1 if you want IDN2 support. */ 1432#undef LIBIDN2 1433 1434/* Define to 1 if lseek does not detect pipes. */ 1435#undef LSEEK_PIPE_BROKEN 1436 1437/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing 1438 slash. */ 1439#undef LSTAT_FOLLOWS_SLASHED_SYMLINK 1440 1441/* Define to the sub-directory where libtool stores uninstalled libraries. */ 1442#undef LT_OBJDIR 1443 1444/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ 1445#undef MALLOC_0_IS_NONNULL 1446 1447/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ 1448#undef MAP_ANONYMOUS 1449 1450/* Define if the mbrtowc function does not return (size_t) -2 for empty input. 1451 */ 1452#undef MBRTOWC_EMPTY_INPUT_BUG 1453 1454/* Define if the mbrtowc function may signal encoding errors in the C locale. 1455 */ 1456#undef MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ 1457 1458/* Define if the mbrtowc function has the NULL pwc argument bug. */ 1459#undef MBRTOWC_NULL_ARG1_BUG 1460 1461/* Define if the mbrtowc function has the NULL string argument bug. */ 1462#undef MBRTOWC_NULL_ARG2_BUG 1463 1464/* Define if the mbrtowc function does not return 0 for a NUL character. */ 1465#undef MBRTOWC_NUL_RETVAL_BUG 1466 1467/* Define if the mbrtowc function returns a wrong return value. */ 1468#undef MBRTOWC_RETVAL_BUG 1469 1470/* Define if the mbrtowc function stores a wide character when reporting 1471 incomplete input. */ 1472#undef MBRTOWC_STORES_INCOMPLETE_BUG 1473 1474/* Use GNU style printf and scanf. */ 1475#ifndef __USE_MINGW_ANSI_STDIO 1476# undef __USE_MINGW_ANSI_STDIO 1477#endif 1478 1479 1480/* Define if the compilation of mktime.c should define 'mktime_internal'. */ 1481#undef NEED_MKTIME_INTERNAL 1482 1483/* Define if the compilation of mktime.c should define 'mktime' with the 1484 native Windows TZ workaround. */ 1485#undef NEED_MKTIME_WINDOWS 1486 1487/* Define if the compilation of mktime.c should define 'mktime' with the 1488 algorithmic workarounds. */ 1489#undef NEED_MKTIME_WORKING 1490 1491/* Define if the vasnprintf implementation needs special code for the 'a' and 1492 'A' directives. */ 1493#undef NEED_PRINTF_DIRECTIVE_A 1494 1495/* Define if the vasnprintf implementation needs special code for the 'F' 1496 directive. */ 1497#undef NEED_PRINTF_DIRECTIVE_F 1498 1499/* Define if the vasnprintf implementation needs special code for the 'ls' 1500 directive. */ 1501#undef NEED_PRINTF_DIRECTIVE_LS 1502 1503/* Define if the vasnprintf implementation needs special code for 'double' 1504 arguments. */ 1505#undef NEED_PRINTF_DOUBLE 1506 1507/* Define if the vasnprintf implementation needs special code for surviving 1508 out-of-memory conditions. */ 1509#undef NEED_PRINTF_ENOMEM 1510 1511/* Define if the vasnprintf implementation needs special code for the ' flag. 1512 */ 1513#undef NEED_PRINTF_FLAG_GROUPING 1514 1515/* Define if the vasnprintf implementation needs special code for the '-' 1516 flag. */ 1517#undef NEED_PRINTF_FLAG_LEFTADJUST 1518 1519/* Define if the vasnprintf implementation needs special code for the 0 flag. 1520 */ 1521#undef NEED_PRINTF_FLAG_ZERO 1522 1523/* Define if the vasnprintf implementation needs special code for infinite 1524 'double' arguments. */ 1525#undef NEED_PRINTF_INFINITE_DOUBLE 1526 1527/* Define if the vasnprintf implementation needs special code for infinite 1528 'long double' arguments. */ 1529#undef NEED_PRINTF_INFINITE_LONG_DOUBLE 1530 1531/* Define if the vasnprintf implementation needs special code for 'long 1532 double' arguments. */ 1533#undef NEED_PRINTF_LONG_DOUBLE 1534 1535/* Define if the vasnprintf implementation needs special code for supporting 1536 large precisions without arbitrary bounds. */ 1537#undef NEED_PRINTF_UNBOUNDED_PRECISION 1538 1539/* need yywrap */ 1540#undef NEED_YYWRAP 1541 1542/* Define to 1 if open() fails to recognize a trailing slash. */ 1543#undef OPEN_TRAILING_SLASH_BUG 1544 1545 1546#if defined(__cplusplus) && !defined(HAVE_CXX_BOOL) 1547 typedef unsigned _bool; 1548#define bool _bool 1549#define false 0U 1550#define true 1U 1551#endif 1552 1553 1554#if defined(__cplusplus) && !defined(HAVE_CXX__BOOL) 1555 typedef bool _Bool; 1556#endif 1557 1558/* Name of package */ 1559#undef PACKAGE 1560 1561/* Define to the address where bug reports for this package should be sent. */ 1562#undef PACKAGE_BUGREPORT 1563 1564/* Define to the full name of this package. */ 1565#undef PACKAGE_NAME 1566 1567/* Define to the full name and version of this package. */ 1568#undef PACKAGE_STRING 1569 1570/* Define to the one symbol short name of this package. */ 1571#undef PACKAGE_TARNAME 1572 1573/* Define to the home page for this package. */ 1574#undef PACKAGE_URL 1575 1576/* Define to the version of this package. */ 1577#undef PACKAGE_VERSION 1578 1579/* Define to the type that is the result of default argument promotions of 1580 type mode_t. */ 1581#undef PROMOTED_MODE_T 1582 1583/* Define if the pthread_in_use() detection is hard. */ 1584#undef PTHREAD_IN_USE_DETECTION_HARD 1585 1586/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1587 'ptrdiff_t'. */ 1588#undef PTRDIFF_T_SUFFIX 1589 1590/* Define to 1 if readlink fails to recognize a trailing slash. */ 1591#undef READLINK_TRAILING_SLASH_BUG 1592 1593/* Define to 1 if gnulib's dirfd() replacement is used. */ 1594#undef REPLACE_DIRFD 1595 1596/* Define to 1 if stat needs help when passed a file name with a trailing 1597 slash */ 1598#undef REPLACE_FUNC_STAT_FILE 1599 1600/* Define if nl_langinfo exists but is overridden by gnulib. */ 1601#undef REPLACE_NL_LANGINFO 1602 1603/* Define to 1 if strerror(0) does not return a message implying success. */ 1604#undef REPLACE_STRERROR_0 1605 1606/* Define if vasnprintf exists but is overridden by gnulib. */ 1607#undef REPLACE_VASNPRINTF 1608 1609/* Define when using wcwidth replacement */ 1610#undef REPLACE_WCWIDTH 1611 1612/* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */ 1613#undef SETLOCALE_NULL_ALL_MTSAFE 1614 1615/* Define to 1 if setlocale (category, NULL) is multithread-safe. */ 1616#undef SETLOCALE_NULL_ONE_MTSAFE 1617 1618/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1619 'sig_atomic_t'. */ 1620#undef SIG_ATOMIC_T_SUFFIX 1621 1622/* Define as the maximum value of type 'size_t', if the system doesn't define 1623 it. */ 1624#ifndef SIZE_MAX 1625# undef SIZE_MAX 1626#endif 1627 1628/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1629 'size_t'. */ 1630#undef SIZE_T_SUFFIX 1631 1632/* define if you are building with SOCKS support */ 1633#undef SOCKS4 1634 1635/* define if you are building with SOCKSv5 support */ 1636#undef SOCKS5 1637 1638/* define if you are building with SOCKS-Dante support */ 1639#undef SOCKS_DANTE 1640 1641/* If using the C implementation of alloca, define if you know the 1642 direction of stack growth for your system; otherwise it will be 1643 automatically deduced at runtime. 1644 STACK_DIRECTION > 0 => grows toward higher addresses 1645 STACK_DIRECTION < 0 => grows toward lower addresses 1646 STACK_DIRECTION = 0 => direction of growth unknown */ 1647#undef STACK_DIRECTION 1648 1649/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 1650#undef STAT_MACROS_BROKEN 1651 1652/* Define to 1 if you have the ANSI C header files. */ 1653#undef STDC_HEADERS 1654 1655/* Define to 1 if strerror_r returns char *. */ 1656#undef STRERROR_R_CHAR_P 1657 1658/* Define to 1 if time_t is signed. */ 1659#undef TIME_T_IS_SIGNED 1660 1661/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 1662#undef TIME_WITH_SYS_TIME 1663 1664/* Define to 1 if your <sys/time.h> declares `struct tm'. */ 1665#undef TM_IN_SYS_TIME 1666 1667/* replace system's printf functions */ 1668#undef TRIO_REPLACE_STDIO 1669 1670/* Define to 1 if the type of the st_atim member of a struct stat is struct 1671 timespec. */ 1672#undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1673 1674/* Define to 1 when using GNU TLS library */ 1675#undef USE_GNUTLS 1676 1677/* Define if the combination of the ISO C and POSIX multithreading APIs can be 1678 used. */ 1679#undef USE_ISOC_AND_POSIX_THREADS 1680 1681/* Define if the ISO C multithreading library can be used. */ 1682#undef USE_ISOC_THREADS 1683 1684/* Define to 1 if you want to use the Linux kernel cryptographic API. */ 1685#undef USE_LINUX_CRYPTO_API 1686 1687/* define if you are using openssl */ 1688#undef USE_OPENSSL 1689 1690/* Define if the POSIX multithreading library can be used. */ 1691#undef USE_POSIX_THREADS 1692 1693/* Define if references to the POSIX multithreading library should be made 1694 weak. */ 1695#undef USE_POSIX_THREADS_WEAK 1696 1697/* Enable extensions on AIX 3, Interix. */ 1698#ifndef _ALL_SOURCE 1699# undef _ALL_SOURCE 1700#endif 1701/* Enable general extensions on macOS. */ 1702#ifndef _DARWIN_C_SOURCE 1703# undef _DARWIN_C_SOURCE 1704#endif 1705/* Enable GNU extensions on systems that have them. */ 1706#ifndef _GNU_SOURCE 1707# undef _GNU_SOURCE 1708#endif 1709/* Enable NetBSD extensions on NetBSD. */ 1710#ifndef _NETBSD_SOURCE 1711# undef _NETBSD_SOURCE 1712#endif 1713/* Enable OpenBSD extensions on NetBSD. */ 1714#ifndef _OPENBSD_SOURCE 1715# undef _OPENBSD_SOURCE 1716#endif 1717/* Enable threading extensions on Solaris. */ 1718#ifndef _POSIX_PTHREAD_SEMANTICS 1719# undef _POSIX_PTHREAD_SEMANTICS 1720#endif 1721/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ 1722#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1723# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1724#endif 1725/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ 1726#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 1727# undef __STDC_WANT_IEC_60559_BFP_EXT__ 1728#endif 1729/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ 1730#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ 1731# undef __STDC_WANT_IEC_60559_DFP_EXT__ 1732#endif 1733/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ 1734#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ 1735# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ 1736#endif 1737/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ 1738#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ 1739# undef __STDC_WANT_IEC_60559_TYPES_EXT__ 1740#endif 1741/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ 1742#ifndef __STDC_WANT_LIB_EXT2__ 1743# undef __STDC_WANT_LIB_EXT2__ 1744#endif 1745/* Enable extensions specified by ISO/IEC 24747:2009. */ 1746#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ 1747# undef __STDC_WANT_MATH_SPEC_FUNCS__ 1748#endif 1749/* Enable extensions on HP NonStop. */ 1750#ifndef _TANDEM_SOURCE 1751# undef _TANDEM_SOURCE 1752#endif 1753/* Enable X/Open extensions if necessary. HP-UX 11.11 defines 1754 mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of 1755 whether compiling with -Ae or -D_HPUX_SOURCE=1. */ 1756#ifndef _XOPEN_SOURCE 1757# undef _XOPEN_SOURCE 1758#endif 1759/* Enable X/Open compliant socket functions that do not require linking 1760 with -lxnet on HP-UX 11.11. */ 1761#ifndef _HPUX_ALT_XOPEN_SOCKET_API 1762# undef _HPUX_ALT_XOPEN_SOCKET_API 1763#endif 1764/* Enable general extensions on Solaris. */ 1765#ifndef __EXTENSIONS__ 1766# undef __EXTENSIONS__ 1767#endif 1768 1769 1770/* Define if the native Windows multithreading API can be used. */ 1771#undef USE_WINDOWS_THREADS 1772 1773/* A 'va_copy' style function */ 1774#undef VA_COPY 1775 1776/* Define to 1 if va_lists can be copied by pointer */ 1777#undef VA_PTR_COPY 1778 1779/* Define to 1 if va_lists can be copied by value */ 1780#undef VA_VAL_COPY 1781 1782/* Version number of package */ 1783#undef VERSION 1784 1785/* Define to 1 if unsetenv returns void instead of int. */ 1786#undef VOID_UNSETENV 1787 1788/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1789 'wchar_t'. */ 1790#undef WCHAR_T_SUFFIX 1791 1792/* Define if the wcrtomb function does not work in the C locale. */ 1793#undef WCRTOMB_C_LOCALE_BUG 1794 1795/* Define if the wcrtomb function has an incorrect return value. */ 1796#undef WCRTOMB_RETVAL_BUG 1797 1798/* Define if WSAStartup is needed. */ 1799#undef WINDOWS_SOCKETS 1800 1801/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1802 'wint_t'. */ 1803#undef WINT_T_SUFFIX 1804 1805/* build modular lftp */ 1806#undef WITH_MODULES 1807 1808/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 1809 significant byte first (like Motorola and SPARC, unlike Intel). */ 1810#if defined AC_APPLE_UNIVERSAL_BUILD 1811# if defined __BIG_ENDIAN__ 1812# define WORDS_BIGENDIAN 1 1813# endif 1814#else 1815# ifndef WORDS_BIGENDIAN 1816# undef WORDS_BIGENDIAN 1817# endif 1818#endif 1819 1820/* Number of bits in a file offset, on hosts where this is settable. */ 1821#undef _FILE_OFFSET_BITS 1822 1823/* True if the compiler says it groks GNU C version MAJOR.MINOR. */ 1824#if defined __GNUC__ && defined __GNUC_MINOR__ 1825# define _GL_GNUC_PREREQ(major, minor) \ 1826 ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) 1827#else 1828# define _GL_GNUC_PREREQ(major, minor) 0 1829#endif 1830 1831 1832/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 1833#undef _LARGEFILE_SOURCE 1834 1835/* Define for large files, on AIX-style hosts. */ 1836#undef _LARGE_FILES 1837 1838/* Define to 1 on Solaris. */ 1839#undef _LCONV_C99 1840 1841/* Define in order to get some macros on AIX systems. */ 1842#undef _LINUX_SOURCE_COMPAT 1843 1844/* Define to 1 if on MINIX. */ 1845#undef _MINIX 1846 1847/* Define to 1 to make NetBSD features available. MINIX 3 needs this. */ 1848#undef _NETBSD_SOURCE 1849 1850/* The _Noreturn keyword of C11. */ 1851#ifndef _Noreturn 1852# if (defined __cplusplus \ 1853 && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ 1854 || (defined _MSC_VER && 1900 <= _MSC_VER)) \ 1855 && 0) 1856 /* [[noreturn]] is not practically usable, because with it the syntax 1857 extern _Noreturn void func (...); 1858 would not be valid; such a declaration would only be valid with 'extern' 1859 and '_Noreturn' swapped, or without the 'extern' keyword. However, some 1860 AIX system header files and several gnulib header files use precisely 1861 this syntax with 'extern'. */ 1862# define _Noreturn [[noreturn]] 1863# elif ((!defined __cplusplus || defined __clang__) \ 1864 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ 1865 || _GL_GNUC_PREREQ (4, 7) \ 1866 || (defined __apple_build_version__ \ 1867 ? 6000000 <= __apple_build_version__ \ 1868 : 3 < __clang_major__ + (5 <= __clang_minor__)))) 1869 /* _Noreturn works as-is. */ 1870# elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C 1871# define _Noreturn __attribute__ ((__noreturn__)) 1872# elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) 1873# define _Noreturn __declspec (noreturn) 1874# else 1875# define _Noreturn 1876# endif 1877#endif 1878 1879 1880/* Define to 2 if the system does not provide POSIX.1 features except with 1881 this defined. */ 1882#undef _POSIX_1_SOURCE 1883 1884/* Define to 1 in order to get the POSIX compatible declarations of socket 1885 functions. */ 1886#undef _POSIX_PII_SOCKET 1887 1888/* Define to 1 if you need to in order for 'stat' and other things to work. */ 1889#undef _POSIX_SOURCE 1890 1891/* Define if you want <regex.h> to include <limits.h>, so that it consistently 1892 overrides <limits.h>'s RE_DUP_MAX. */ 1893#undef _REGEX_INCLUDE_LIMITS_H 1894 1895/* Define if you want regoff_t to be at least as wide POSIX requires. */ 1896#undef _REGEX_LARGE_OFFSETS 1897 1898/* For standard stat data types on VMS. */ 1899#undef _USE_STD_STAT 1900 1901#if !defined (VA_COPY) 1902# if defined (VA_PTR_COPY) 1903# define VA_COPY(ap1, ap2) (*(ap1) = *(ap2)) 1904# elif defined (VA_VAL_COPY) 1905# include <string.h> 1906# define VA_COPY(to,from) (memcpy(&(to),&(from),sizeof((to)))) 1907# endif 1908#endif /* !VA_COPY */ 1909 1910/* Define to rpl_ if the getopt replacement functions and variables should be 1911 used. */ 1912#undef __GETOPT_PREFIX 1913 1914/* Define to 1 if the system <stdint.h> predates C++11. */ 1915#undef __STDC_CONSTANT_MACROS 1916 1917/* Define to 1 if the system <stdint.h> predates C++11. */ 1918#undef __STDC_LIMIT_MACROS 1919 1920/* The _GL_ASYNC_SAFE marker should be attached to functions that are 1921 signal handlers (for signals other than SIGABRT, SIGPIPE) or can be 1922 invoked from such signal handlers. Such functions have some restrictions: 1923 * All functions that it calls should be marked _GL_ASYNC_SAFE as well, 1924 or should be listed as async-signal-safe in POSIX 1925 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04> 1926 section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in 1927 particular, are NOT async-signal-safe. 1928 * All memory locations (variables and struct fields) that these functions 1929 access must be marked 'volatile'. This holds for both read and write 1930 accesses. Otherwise the compiler might optimize away stores to and 1931 reads from such locations that occur in the program, depending on its 1932 data flow analysis. For example, when the program contains a loop 1933 that is intended to inspect a variable set from within a signal handler 1934 while (!signal_occurred) 1935 ; 1936 the compiler is allowed to transform this into an endless loop if the 1937 variable 'signal_occurred' is not declared 'volatile'. 1938 Additionally, recall that: 1939 * A signal handler should not modify errno (except if it is a handler 1940 for a fatal signal and ends by raising the same signal again, thus 1941 provoking the termination of the process). If it invokes a function 1942 that may clobber errno, it needs to save and restore the value of 1943 errno. */ 1944#define _GL_ASYNC_SAFE 1945 1946 1947/* Attributes. */ 1948#ifdef __has_attribute 1949# define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__) 1950#else 1951# define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr 1952# define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3) 1953# define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2) 1954# define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3) 1955# define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3) 1956# define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95) 1957# define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1) 1958# define _GL_ATTR_diagnose_if 0 1959# define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3) 1960# define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1) 1961# define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) 1962# define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) 1963# define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) 1964# ifdef _ICC 1965# define _GL_ATTR_may_alias 0 1966# else 1967# define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) 1968# endif 1969# define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) 1970# define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) 1971# define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) 1972# define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) 1973# define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) 1974# define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) 1975# define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) 1976# define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) 1977# define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) 1978# define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) 1979# define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) 1980#endif 1981 1982 1983#if _GL_HAS_ATTRIBUTE (alloc_size) 1984# define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) 1985#else 1986# define _GL_ATTRIBUTE_ALLOC_SIZE(args) 1987#endif 1988 1989#if _GL_HAS_ATTRIBUTE (always_inline) 1990# define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) 1991#else 1992# define _GL_ATTRIBUTE_ALWAYS_INLINE 1993#endif 1994 1995#if _GL_HAS_ATTRIBUTE (artificial) 1996# define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) 1997#else 1998# define _GL_ATTRIBUTE_ARTIFICIAL 1999#endif 2000 2001/* Avoid __attribute__ ((cold)) on MinGW; see thread starting at 2002 <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. 2003 Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */ 2004#if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__ 2005# ifndef __SUNPRO_C 2006# define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__)) 2007# else 2008# define _GL_ATTRIBUTE_COLD __attribute__ ((cold)) 2009# endif 2010#else 2011# define _GL_ATTRIBUTE_COLD 2012#endif 2013 2014#if _GL_HAS_ATTRIBUTE (const) 2015# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) 2016#else 2017# define _GL_ATTRIBUTE_CONST 2018#endif 2019 2020#if 201710L < __STDC_VERSION__ 2021# define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] 2022#elif _GL_HAS_ATTRIBUTE (deprecated) 2023# define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) 2024#else 2025# define _GL_ATTRIBUTE_DEPRECATED 2026#endif 2027 2028#if _GL_HAS_ATTRIBUTE (error) 2029# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg))) 2030# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg))) 2031#elif _GL_HAS_ATTRIBUTE (diagnose_if) 2032# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error"))) 2033# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning"))) 2034#else 2035# define _GL_ATTRIBUTE_ERROR(msg) 2036# define _GL_ATTRIBUTE_WARNING(msg) 2037#endif 2038 2039#if _GL_HAS_ATTRIBUTE (externally_visible) 2040# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) 2041#else 2042# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE 2043#endif 2044 2045/* FALLTHROUGH is special, because it always expands to something. */ 2046#if 201710L < __STDC_VERSION__ 2047# define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] 2048#elif _GL_HAS_ATTRIBUTE (fallthrough) 2049# define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) 2050#else 2051# define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) 2052#endif 2053 2054#if _GL_HAS_ATTRIBUTE (format) 2055# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) 2056#else 2057# define _GL_ATTRIBUTE_FORMAT(spec) 2058#endif 2059 2060#if _GL_HAS_ATTRIBUTE (leaf) 2061# define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__)) 2062#else 2063# define _GL_ATTRIBUTE_LEAF 2064#endif 2065 2066/* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ 2067#if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C 2068# define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) 2069#else 2070# define _GL_ATTRIBUTE_MAY_ALIAS 2071#endif 2072 2073#if 201710L < __STDC_VERSION__ 2074# define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] 2075#elif _GL_HAS_ATTRIBUTE (unused) 2076# define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__)) 2077#else 2078# define _GL_ATTRIBUTE_MAYBE_UNUSED 2079#endif 2080/* Earlier spellings of this macro. */ 2081#define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED 2082#define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED 2083 2084#if _GL_HAS_ATTRIBUTE (malloc) 2085# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) 2086#else 2087# define _GL_ATTRIBUTE_MALLOC 2088#endif 2089 2090#if 201710L < __STDC_VERSION__ 2091# define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] 2092#elif _GL_HAS_ATTRIBUTE (warn_unused_result) 2093# define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) 2094#else 2095# define _GL_ATTRIBUTE_NODISCARD 2096#endif 2097 2098#if _GL_HAS_ATTRIBUTE (noinline) 2099# define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__)) 2100#else 2101# define _GL_ATTRIBUTE_NOINLINE 2102#endif 2103 2104#if _GL_HAS_ATTRIBUTE (nonnull) 2105# define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args)) 2106#else 2107# define _GL_ATTRIBUTE_NONNULL(args) 2108#endif 2109 2110#if _GL_HAS_ATTRIBUTE (nonstring) 2111# define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__)) 2112#else 2113# define _GL_ATTRIBUTE_NONSTRING 2114#endif 2115 2116/* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */ 2117 2118#if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus 2119# define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) 2120#else 2121# define _GL_ATTRIBUTE_NOTHROW 2122#endif 2123 2124#if _GL_HAS_ATTRIBUTE (packed) 2125# define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) 2126#else 2127# define _GL_ATTRIBUTE_PACKED 2128#endif 2129 2130#if _GL_HAS_ATTRIBUTE (pure) 2131# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) 2132#else 2133# define _GL_ATTRIBUTE_PURE 2134#endif 2135 2136#if _GL_HAS_ATTRIBUTE (returns_nonnull) 2137# define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) 2138#else 2139# define _GL_ATTRIBUTE_RETURNS_NONNULL 2140#endif 2141 2142#if _GL_HAS_ATTRIBUTE (sentinel) 2143# define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos)) 2144#else 2145# define _GL_ATTRIBUTE_SENTINEL(pos) 2146#endif 2147 2148 2149/* To support C++ as well as C, use _GL_UNUSED_LABEL with trailing ';'. */ 2150#if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5) 2151# define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED 2152#else 2153# define _GL_UNUSED_LABEL 2154#endif 2155 2156 2157/* Define to empty if `const' does not conform to ANSI C. */ 2158#undef const 2159 2160/* Please see the Gnulib manual for how to use these macros. 2161 2162 Suppress extern inline with HP-UX cc, as it appears to be broken; see 2163 <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>. 2164 2165 Suppress extern inline with Sun C in standards-conformance mode, as it 2166 mishandles inline functions that call each other. E.g., for 'inline void f 2167 (void) { } inline void g (void) { f (); }', c99 incorrectly complains 2168 'reference to static identifier "f" in extern inline function'. 2169 This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16. 2170 2171 Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) 2172 on configurations that mistakenly use 'static inline' to implement 2173 functions or macros in standard C headers like <ctype.h>. For example, 2174 if isdigit is mistakenly implemented via a static inline function, 2175 a program containing an extern inline function that calls isdigit 2176 may not work since the C standard prohibits extern inline functions 2177 from calling static functions (ISO C 99 section 6.7.4.(3). 2178 This bug is known to occur on: 2179 2180 OS X 10.8 and earlier; see: 2181 https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html 2182 2183 DragonFly; see 2184 http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log 2185 2186 FreeBSD; see: 2187 https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html 2188 2189 OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and 2190 for clang but remains for g++; see <https://trac.macports.org/ticket/41033>. 2191 Assume DragonFly and FreeBSD will be similar. 2192 2193 GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 2194 inline semantics, unless -fgnu89-inline is used. It defines a macro 2195 __GNUC_STDC_INLINE__ to indicate this situation or a macro 2196 __GNUC_GNU_INLINE__ to indicate the opposite situation. 2197 GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline 2198 semantics but warns, unless -fgnu89-inline is used: 2199 warning: C99 inline functions are not supported; using GNU89 2200 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute 2201 It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. 2202 */ 2203#if (((defined __APPLE__ && defined __MACH__) \ 2204 || defined __DragonFly__ || defined __FreeBSD__) \ 2205 && (defined __header_inline \ 2206 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ 2207 && ! defined __clang__) \ 2208 : ((! defined _DONT_USE_CTYPE_INLINE_ \ 2209 && (defined __GNUC__ || defined __cplusplus)) \ 2210 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ 2211 && defined __GNUC__ && ! defined __cplusplus)))) 2212# define _GL_EXTERN_INLINE_STDHEADER_BUG 2213#endif 2214#if ((__GNUC__ \ 2215 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ 2216 : (199901L <= __STDC_VERSION__ \ 2217 && !defined __HP_cc \ 2218 && !defined __PGI \ 2219 && !(defined __SUNPRO_C && __STDC__))) \ 2220 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 2221# define _GL_INLINE inline 2222# define _GL_EXTERN_INLINE extern inline 2223# define _GL_EXTERN_INLINE_IN_USE 2224#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ 2225 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 2226# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ 2227 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ 2228# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) 2229# else 2230# define _GL_INLINE extern inline 2231# endif 2232# define _GL_EXTERN_INLINE extern 2233# define _GL_EXTERN_INLINE_IN_USE 2234#else 2235# define _GL_INLINE static _GL_UNUSED 2236# define _GL_EXTERN_INLINE static _GL_UNUSED 2237#endif 2238 2239/* In GCC 4.6 (inclusive) to 5.1 (exclusive), 2240 suppress bogus "no previous prototype for 'FOO'" 2241 and "no previous declaration for 'FOO'" diagnostics, 2242 when FOO is an inline function in the header; see 2243 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and 2244 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */ 2245#if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ 2246# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ 2247# define _GL_INLINE_HEADER_CONST_PRAGMA 2248# else 2249# define _GL_INLINE_HEADER_CONST_PRAGMA \ 2250 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") 2251# endif 2252# define _GL_INLINE_HEADER_BEGIN \ 2253 _Pragma ("GCC diagnostic push") \ 2254 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ 2255 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ 2256 _GL_INLINE_HEADER_CONST_PRAGMA 2257# define _GL_INLINE_HEADER_END \ 2258 _Pragma ("GCC diagnostic pop") 2259#else 2260# define _GL_INLINE_HEADER_BEGIN 2261# define _GL_INLINE_HEADER_END 2262#endif 2263 2264/* Define to `int' if <sys/types.h> doesn't define. */ 2265#undef gid_t 2266 2267/* Define to `__inline__' or `__inline' if that's what the C compiler 2268 calls it, or to nothing if 'inline' is not supported under any name. */ 2269#ifndef __cplusplus 2270#undef inline 2271#endif 2272 2273/* Define to long or long long if <stdint.h> and <inttypes.h> don't define. */ 2274#undef intmax_t 2275 2276/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports 2277 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of 2278 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. 2279 __APPLE__ && __MACH__ test for Mac OS X. 2280 __APPLE_CC__ tests for the Apple compiler and its version. 2281 __STDC_VERSION__ tests for the C99 mode. */ 2282#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ 2283# define __GNUC_STDC_INLINE__ 1 2284#endif 2285 2286/* Define to a type if <wchar.h> does not define. */ 2287#undef mbstate_t 2288 2289/* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where 2290 n1 and n2 are expressions without side effects, that evaluate to real 2291 numbers (excluding NaN). 2292 It returns 2293 1 if n1 > n2 2294 0 if n1 == n2 2295 -1 if n1 < n2 2296 The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional 2297 jump with nearly all GCC versions up to GCC 10. 2298 This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many 2299 GCC versions up to GCC 9. 2300 The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9 2301 avoids conditional jumps in all GCC versions >= 3.4. */ 2302#define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) 2303 2304 2305/* Define to the real name of the mktime_internal function. */ 2306#undef mktime_internal 2307 2308/* Define to `int' if <sys/types.h> does not define. */ 2309#undef mode_t 2310 2311/* Define to the name of the strftime replacement function. */ 2312#undef my_strftime 2313 2314/* Define to the type of st_nlink in struct stat, or a supertype. */ 2315#undef nlink_t 2316 2317/* Define to `long int' if <sys/types.h> does not define. */ 2318#undef off_t 2319 2320/* Define to `int' if <sys/types.h> does not define. */ 2321#undef pid_t 2322 2323/* Define as the type of the result of subtracting two pointers, if the system 2324 doesn't define it. */ 2325#undef ptrdiff_t 2326 2327/* Define to rpl_re_comp if the replacement should be used. */ 2328#undef re_comp 2329 2330/* Define to rpl_re_compile_fastmap if the replacement should be used. */ 2331#undef re_compile_fastmap 2332 2333/* Define to rpl_re_compile_pattern if the replacement should be used. */ 2334#undef re_compile_pattern 2335 2336/* Define to rpl_re_exec if the replacement should be used. */ 2337#undef re_exec 2338 2339/* Define to rpl_re_match if the replacement should be used. */ 2340#undef re_match 2341 2342/* Define to rpl_re_match_2 if the replacement should be used. */ 2343#undef re_match_2 2344 2345/* Define to rpl_re_search if the replacement should be used. */ 2346#undef re_search 2347 2348/* Define to rpl_re_search_2 if the replacement should be used. */ 2349#undef re_search_2 2350 2351/* Define to rpl_re_set_registers if the replacement should be used. */ 2352#undef re_set_registers 2353 2354/* Define to rpl_re_set_syntax if the replacement should be used. */ 2355#undef re_set_syntax 2356 2357/* Define to rpl_re_syntax_options if the replacement should be used. */ 2358#undef re_syntax_options 2359 2360/* Define to rpl_regcomp if the replacement should be used. */ 2361#undef regcomp 2362 2363/* Define to rpl_regerror if the replacement should be used. */ 2364#undef regerror 2365 2366/* Define to rpl_regexec if the replacement should be used. */ 2367#undef regexec 2368 2369/* Define to rpl_regfree if the replacement should be used. */ 2370#undef regfree 2371 2372/* Define to the equivalent of the C99 'restrict' keyword, or to 2373 nothing if this is not supported. Do not define if restrict is 2374 supported directly. */ 2375#undef restrict 2376/* Work around a bug in older versions of Sun C++, which did not 2377 #define __restrict__ or support _Restrict or __restrict__ 2378 even though the corresponding Sun C compiler ended up with 2379 "#define restrict _Restrict" or "#define restrict __restrict__" 2380 in the previous line. This workaround can be removed once 2381 we assume Oracle Developer Studio 12.5 (2016) or later. */ 2382#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ 2383# define _Restrict 2384# define __restrict__ 2385#endif 2386 2387/* Define to `unsigned int' if <sys/types.h> does not define. */ 2388#undef size_t 2389 2390/* type to use in place of socklen_t if not defined */ 2391#undef socklen_t 2392 2393/* Define as a signed type of the same size as size_t. */ 2394#undef ssize_t 2395 2396/* Define to `int' if <sys/types.h> doesn't define. */ 2397#undef uid_t 2398 2399 2400#if defined(__cplusplus) && defined(inline) 2401# undef /**/ inline 2402#endif 2403 2404#if !defined(HAVE_SETPGID) && !defined(SETPGRP_VOID) 2405# define setpgid(pid, pgrp) setpgrp((pid),(pgrp)) 2406#endif 2407 2408#ifdef __cplusplus 2409# define CDECL extern "C" 2410# define CDECL_BEGIN CDECL { 2411# define CDECL_END } 2412template<typename T> 2413static inline T replace_value(T &var,T new_value) 2414{ 2415 T tmp=var; 2416 var=new_value; 2417 return tmp; 2418} 2419#else 2420# define CDECL 2421# define CDECL_BEGIN 2422# define CDECL_END 2423#endif 2424 2425/* should be included before any real code. */ 2426#include <alloca.h> 2427 2428#include "gettext.h" 2429#define _(msgid) gettext (msgid) 2430#define N_(msgid) msgid 2431 2432#ifndef PARAMS 2433# if defined __STDC__ || defined __cplusplus 2434# define PARAMS(x) x 2435# else 2436# define PARAMS(x) () 2437# endif 2438#endif 2439 2440#if !defined(DISABLE_IPV6) && defined(HAVE_IPV6) \ 2441 && defined(HAVE_GETNAMEINFO) && defined(HAVE_GETADDRINFO) 2442# define INET6 1 2443#endif 2444 2445#if (defined(HAVE_EXPAT_H) && defined(HAVE_LIBEXPAT)) 2446# define USE_EXPAT 1 2447#endif 2448 2449#if defined(SOCKS4) || defined(SOCKS5) || defined(SOCKS_DANTE) 2450# define SOCKS 1 2451#endif 2452#ifdef SOCKS 2453# if defined(HAVE_SOCKS_H) 2454CDECL_BEGIN 2455# include <socks.h> 2456CDECL_END 2457# undef /**/ getc /* fix a problem with redefined getc */ 2458# else // !HAVE_SOCKS_H 2459# if defined(SOCKS4) || defined(SOCKS_DANTE) 2460# define connect Rconnect 2461# define getsockname Rgetsockname 2462# define bind Rbind 2463# define accept Raccept 2464# define listen Rlisten 2465# define select Rselect 2466# ifdef HAVE_RPOLL 2467# define poll Rpoll 2468# endif 2469CDECL int SOCKSinit(const char *); 2470# endif 2471# ifdef SOCKS_DANTE 2472# define rresvport Rrresvport 2473# define bindresvport Rbindresvport 2474# define gethostbyname Rgethostbyname 2475# define gethostbyname2 Rgethostbyname2 2476# define sendto Rsendto 2477# define recvfrom Rrecvfrom 2478# define recvfrom Rrecvfrom 2479# define write Rwrite 2480# define writev Rwritev 2481# define send Rsend 2482# define sendmsg Rsendmsg 2483# define read Rread 2484# define readv Rreadv 2485# define recv Rrecv 2486# define recvmsg Rrecvmsg 2487# endif 2488# endif // !HAVE_SOCKS_H 2489#endif // SOCKS 2490 2491#if defined __MSDOS__ || defined __CYGWIN32__ 2492# define NATIVE_CRLF 1 2493#endif 2494 2495#define E_RETRY(e) ((e)==EAGAIN || (e)==EWOULDBLOCK || (e)==EINTR) 2496#define E_LOCK_IGNORE(e) ((e)==EINVAL || (e)==ENOLCK) 2497 2498#ifndef HAVE_RANDOM 2499#define srandom(x) srand((x)) 2500#define random() ((long)(rand()/(RAND_MAX+1.0)*2147483648.0)) 2501#endif 2502 2503/* Tell the compiler when a conditional or integer expression is 2504 almost always true or almost always false. */ 2505#ifndef HAVE_BUILTIN_EXPECT 2506# define __builtin_expect(expr, val) (expr) 2507#endif 2508 2509#ifdef __GNUC__ 2510# define PRINTF_LIKE(n,m) __attribute__((format(__printf__,n,m))) 2511#else 2512# define PRINTF_LIKE(n,m) 2513# define __attribute__(x) 2514#endif 2515/* Attribute `sentinel' was valid as of gcc 3.5. */ 2516#if defined(__GNUC__) && \ 2517 (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 5)) 2518# define ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__)) 2519#else 2520# define ATTRIBUTE_SENTINEL 2521#endif 2522 2523#ifdef TRIO_REPLACE_STDIO 2524/* replace all the functions */ 2525# undef /**/ HAVE_PRINTF 2526# undef /**/ HAVE_VPRINTF 2527# undef /**/ HAVE_FPRINTF 2528# undef /**/ HAVE_VFPRINTF 2529# undef /**/ HAVE_SPRINTF 2530# undef /**/ HAVE_VSPRINTF 2531# undef /**/ HAVE_SNPRINTF 2532# undef /**/ HAVE_VSNPRINTF 2533# undef /**/ HAVE_SCANF 2534# undef /**/ HAVE_VSCANF 2535# undef /**/ HAVE_FSCANF 2536# undef /**/ HAVE_VFSCANF 2537# undef /**/ HAVE_SSCANF 2538# undef /**/ HAVE_VSSCANF 2539# include "trio.h" 2540#endif 2541 2542#if defined(USE_GNUTLS) || defined(USE_OPENSSL) 2543# define USE_SSL 1 2544#endif 2545 2546#endif /* CONFIG_H */ 2547 2548