1/* 2 * This file is mangled by fndvers (and perhaps other scripts) to produce 3 * the config.h for Plan 9. It was handwritten because the standard 4 * configuration scripts were written in a shell dialect incomprehensible 5 * to Plan 9. 6 * config.h for Plan 9 7 * Version: 5.8.0 8 */ 9 10/* Configuration time: 21-Oct-1996 15:11 11 * Configured by: Luther Huffman, lutherh@stratcom.com 12 * Target system: Plan 9 13 */ 14 15/* 16 * Mangled by Jarkko Hietaniemi 2003-02-02 based on Russ Cox' 17 * blood, sweat, and tears. 18 * 19 */ 20 21#ifndef _config_h_ 22#define _config_h_ 23 24/* CAT2: 25 * This macro catenates 2 tokens together. 26 */ 27 28#define CAT2(a,b)a ## b 29#define CAT3(a,b,c)a ## b ## c 30#define CAT4(a,b,c,d)a ## b ## c ## d 31#define CAT5(a,b,c,d,e)a ## b ## c ## d ## e 32#define StGiFy(a)# a 33#define STRINGIFY(a)StGiFy(a) 34#define SCAT2(a,b)StGiFy(a) StGiFy(b) 35#define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c) 36#define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) 37#define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e) 38 39/* config-start */ 40 41/* MEM_ALIGNBYTES: 42 * This symbol contains the number of bytes required to align a 43 * double. Usual values are 2, 4 and 8. 44 */ 45#if (_P9P_OBJTYPE == 386) || (_P9P_OBJTYPE==power) 46# define MEM_ALIGNBYTES 4 /* config-skip */ 47#else 48# if _P9P_OBJTYPE == 68020 49# define MEM_ALIGNBYTES 2 /* config-skip */ 50# else 51# define MEM_ALIGNBYTES 8 /* config-skip */ 52# endif 53#endif 54 55/* BIN: 56 * This symbol holds the path of the bin directory where the package will 57 * be installed. Program must be prepared to deal with ~name substitution. 58 */ 59/* BIN_EXP: 60 * This symbol is the filename expanded version of the BIN symbol, for 61 * programs that do not want to deal with that at run-time. 62 */ 63#define BIN "/_P9P_OBJTYPE/bin" /* */ 64#define BIN_EXP "/_P9P_OBJTYPE/bin" /* */ 65 66/* LOC_SED: 67 * This symbol holds the complete pathname to the sed program. 68 */ 69#define LOC_SED "/bin/sed" /**/ 70 71/* HAS_AINTL: 72 * This symbol, if defined, indicates that the aintl routine is 73 * available. If copysignl is also present we can emulate modfl. 74 */ 75/*#define HAS_AINTL / **/ 76 77/* HAS_ALARM: 78 * This symbol, if defined, indicates that the alarm routine is 79 * available. 80 */ 81#define HAS_ALARM /**/ 82 83/* HASATTRIBUTE: 84 * This symbol indicates the C compiler can check for function attributes, 85 * such as printf formats. This is normally only supported by GNU cc. 86 */ 87/*#define HASATTRIBUTE /* config-skip */ 88#ifndef HASATTRIBUTE 89#ifdef __attribute__ 90#undef __attribute__ 91#endif 92#define __attribute__(_arg_) 93#endif 94 95/* HAS_BCMP: 96 * This symbol is defined if the bcmp() routine is available to 97 * compare blocks of memory. 98 */ 99#define HAS_BCMP /**/ 100 101/* HAS_BCOPY: 102 * This symbol is defined if the bcopy() routine is available to 103 * copy blocks of memory. 104 */ 105#define HAS_BCOPY /**/ 106 107/* HAS_BZERO: 108 * This symbol is defined if the bzero() routine is available to 109 * set a memory block to 0. 110 */ 111#define HAS_BZERO /**/ 112 113/* HAS_CHOWN: 114 * This symbol, if defined, indicates that the chown routine is 115 * available. 116 */ 117#define HAS_CHOWN /**/ 118 119/* HAS_CHROOT: 120 * This symbol, if defined, indicates that the chroot routine is 121 * available. 122 */ 123/*#define HAS_CHROOT / **/ 124 125/* HAS_CHSIZE: 126 * This symbol, if defined, indicates that the chsize routine is available 127 * to truncate files. You might need a -lx to get this routine. 128 */ 129/*#define HAS_CHSIZE / **/ 130 131/* HASCONST: 132 * This symbol, if defined, indicates that this C compiler knows about 133 * the const type. There is no need to actually test for that symbol 134 * within your programs. The mere use of the "const" keyword will 135 * trigger the necessary tests. 136 */ 137#define HASCONST /**/ 138#ifndef HASCONST 139#define const 140#endif 141 142/* HAS_CUSERID: 143 * This symbol, if defined, indicates that the cuserid routine is 144 * available to get character login names. 145 */ 146#define HAS_CUSERID /**/ 147 148/* HAS_DBL_DIG: 149 * This symbol, if defined, indicates that this system's <float.h> 150 * or <limits.h> defines the symbol DBL_DIG, which is the number 151 * of significant digits in a double precision number. If this 152 * symbol is not defined, a guess of 15 is usually pretty good. 153 */ 154#define HAS_DBL_DIG /* */ 155 156/* HAS_DIFFTIME: 157 * This symbol, if defined, indicates that the difftime routine is 158 * available. 159 */ 160#define HAS_DIFFTIME /**/ 161 162/* HAS_DLERROR: 163 * This symbol, if defined, indicates that the dlerror routine is 164 * available to return a string describing the last error that 165 * occurred from a call to dlopen(), dlclose() or dlsym(). 166 */ 167/*#define HAS_DLERROR / **/ 168 169/* HAS_DUP2: 170 * This symbol, if defined, indicates that the dup2 routine is 171 * available to duplicate file descriptors. 172 */ 173#define HAS_DUP2 /**/ 174 175/* HAS_FCHMOD: 176 * This symbol, if defined, indicates that the fchmod routine is available 177 * to change mode of opened files. If unavailable, use chmod(). 178 */ 179#define HAS_FCHMOD /**/ 180 181/* HAS_FCHOWN: 182 * This symbol, if defined, indicates that the fchown routine is available 183 * to change ownership of opened files. If unavailable, use chown(). 184 */ 185/*#define HAS_FCHOWN / **/ 186 187/* HAS_FCNTL: 188 * This symbol, if defined, indicates to the C program that 189 * the fcntl() function exists. 190 */ 191#define HAS_FCNTL /**/ 192 193/* HAS_FGETPOS: 194 * This symbol, if defined, indicates that the fgetpos routine is 195 * available to get the file position indicator, similar to ftell(). 196 */ 197#define HAS_FGETPOS /**/ 198 199/* HAS_FLOCK: 200 * This symbol, if defined, indicates that the flock routine is 201 * available to do file locking. 202 */ 203/*#define HAS_FLOCK / **/ 204 205/* HAS_FORK: 206 * This symbol, if defined, indicates that the fork routine is 207 * available. 208 */ 209#define HAS_FORK /**/ 210 211/* HAS_FSETPOS: 212 * This symbol, if defined, indicates that the fsetpos routine is 213 * available to set the file position indicator, similar to fseek(). 214 */ 215#define HAS_FSETPOS /**/ 216 217/* HAS_GETTIMEOFDAY: 218 * This symbol, if defined, indicates that the gettimeofday() system 219 * call is available for a sub-second accuracy clock. Usually, the file 220 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). 221 * The type "Timeval" should be used to refer to "struct timeval". 222 */ 223#define HAS_GETTIMEOFDAY /**/ 224#ifdef HAS_GETTIMEOFDAY 225#define Timeval struct timeval /* Structure used by gettimeofday() */ /* config-skip */ 226#endif 227 228/* HAS_GETGROUPS: 229 * This symbol, if defined, indicates that the getgroups() routine is 230 * available to get the list of process groups. If unavailable, multiple 231 * groups are probably not supported. 232 */ 233#define HAS_GETGROUPS /* config-skip */ 234 235/* HAS_GETLOGIN: 236 * This symbol, if defined, indicates that the getlogin routine is 237 * available to get the login name. 238 */ 239#define HAS_GETLOGIN /**/ 240 241/* HAS_GETPGID: 242 * This symbol, if defined, indicates to the C program that 243 * the getpgid(pid) function is available to get the 244 * process group id. 245 */ 246/*#define HAS_GETPGID / **/ 247 248/* HAS_GETPGRP2: 249 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) 250 * routine is available to get the current process group. 251 */ 252/*#define HAS_GETPGRP2 / **/ 253 254/* HAS_GETPPID: 255 * This symbol, if defined, indicates that the getppid routine is 256 * available to get the parent process ID. 257 */ 258#define HAS_GETPPID /**/ 259 260/* HAS_GETPRIORITY: 261 * This symbol, if defined, indicates that the getpriority routine is 262 * available to get a process's priority. 263 */ 264/*#define HAS_GETPRIORITY / **/ 265 266/* HAS_INET_ATON: 267 * This symbol, if defined, indicates to the C program that the 268 * inet_aton() function is available to parse IP address "dotted-quad" 269 * strings. 270 */ 271/*#define HAS_INET_ATON / **/ 272 273/* HAS_KILLPG: 274 * This symbol, if defined, indicates that the killpg routine is available 275 * to kill process groups. If unavailable, you probably should use kill 276 * with a negative process number. 277 */ 278/*#define HAS_KILLPG / **/ 279 280/* HAS_LINK: 281 * This symbol, if defined, indicates that the link routine is 282 * available to create hard links. 283 */ 284/* #define HAS_LINK /**/ 285 286/* HAS_LOCALECONV: 287 * This symbol, if defined, indicates that the localeconv routine is 288 * available for numeric and monetary formatting conventions. 289 */ 290#define HAS_LOCALECONV /**/ 291 292/* HAS_LOCKF: 293 * This symbol, if defined, indicates that the lockf routine is 294 * available to do file locking. 295 */ 296/*#define HAS_LOCKF / **/ 297 298/* HAS_LSTAT: 299 * This symbol, if defined, indicates that the lstat routine is 300 * available to do file stats on symbolic links. 301 */ 302/*#define HAS_LSTAT /**/ 303 304/* HAS_MBLEN: 305 * This symbol, if defined, indicates that the mblen routine is available 306 * to find the number of bytes in a multibye character. 307 */ 308#define HAS_MBLEN /**/ 309 310/* HAS_MBSTOWCS: 311 * This symbol, if defined, indicates that the mbstowcs routine is 312 * available to covert a multibyte string into a wide character string. 313 */ 314#define HAS_MBSTOWCS /**/ 315 316/* HAS_MBTOWC: 317 * This symbol, if defined, indicates that the mbtowc routine is available 318 * to covert a multibyte to a wide character. 319 */ 320#define HAS_MBTOWC /**/ 321 322/* HAS_MEMCMP: 323 * This symbol, if defined, indicates that the memcmp routine is available 324 * to compare blocks of memory. 325 */ 326#define HAS_MEMCMP /**/ 327 328/* HAS_MEMCPY: 329 * This symbol, if defined, indicates that the memcpy routine is available 330 * to copy blocks of memory. 331 */ 332#define HAS_MEMCPY /**/ 333 334/* HAS_MEMMOVE: 335 * This symbol, if defined, indicates that the memmove routine is available 336 * to copy potentially overlapping blocks of memory. This should be used 337 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your 338 * own version. 339 */ 340#define HAS_MEMMOVE /**/ 341 342/* HAS_MEMSET: 343 * This symbol, if defined, indicates that the memset routine is available 344 * to set blocks of memory. 345 */ 346#define HAS_MEMSET /**/ 347 348/* HAS_MKDIR: 349 * This symbol, if defined, indicates that the mkdir routine is available 350 * to create directories. Otherwise you should fork off a new process to 351 * exec /bin/mkdir. 352 */ 353#define HAS_MKDIR /**/ 354 355/* HAS_MKFIFO: 356 * This symbol, if defined, indicates that the mkfifo routine is 357 * available to create FIFOs. Otherwise, mknod should be able to 358 * do it for you. However, if mkfifo is there, mknod might require 359 * super-user privileges which mkfifo will not. 360 */ 361#define HAS_MKFIFO /**/ 362 363/* HAS_MKTIME: 364 * This symbol, if defined, indicates that the mktime routine is 365 * available. 366 */ 367#define HAS_MKTIME /**/ 368 369/* HAS_MSYNC: 370 * This symbol, if defined, indicates that the msync system call is 371 * available to synchronize a mapped file. 372 */ 373/*#define HAS_MSYNC / **/ 374 375/* HAS_MUNMAP: 376 * This symbol, if defined, indicates that the munmap system call is 377 * available to unmap a region, usually mapped by mmap(). 378 */ 379/*#define HAS_MUNMAP / **/ 380 381/* HAS_NICE: 382 * This symbol, if defined, indicates that the nice routine is 383 * available. 384 */ 385/*#define HAS_NICE / **/ 386 387/* HAS_PATHCONF: 388 * This symbol, if defined, indicates that pathconf() is available 389 * to determine file-system related limits and options associated 390 * with a given filename. 391 */ 392/* HAS_FPATHCONF: 393 * This symbol, if defined, indicates that pathconf() is available 394 * to determine file-system related limits and options associated 395 * with a given open file descriptor. 396 */ 397#define HAS_PATHCONF /**/ 398#define HAS_FPATHCONF /**/ 399 400/* HAS_PAUSE: 401 * This symbol, if defined, indicates that the pause routine is 402 * available to suspend a process until a signal is received. 403 */ 404#define HAS_PAUSE /**/ 405 406/* HAS_PIPE: 407 * This symbol, if defined, indicates that the pipe routine is 408 * available to create an inter-process channel. 409 */ 410#define HAS_PIPE /**/ 411 412/* HAS_POLL: 413 * This symbol, if defined, indicates that the poll routine is 414 * available to poll active file descriptors. You may safely 415 * include <poll.h> when this symbol is defined. 416 */ 417/*#define HAS_POLL / **/ 418 419/* HAS_READDIR: 420 * This symbol, if defined, indicates that the readdir routine is 421 * available to read directory entries. You may have to include 422 * <dirent.h>. See I_DIRENT. 423 */ 424#define HAS_READDIR /**/ 425 426/* HAS_SEEKDIR: 427 * This symbol, if defined, indicates that the seekdir routine is 428 * available. You may have to include <dirent.h>. See I_DIRENT. 429 */ 430/*#define HAS_SEEKDIR / **/ 431 432/* HAS_TELLDIR: 433 * This symbol, if defined, indicates that the telldir routine is 434 * available. You may have to include <dirent.h>. See I_DIRENT. 435 */ 436/*#define HAS_TELLDIR / **/ 437 438/* HAS_REWINDDIR: 439 * This symbol, if defined, indicates that the rewinddir routine is 440 * available. You may have to include <dirent.h>. See I_DIRENT. 441 */ 442#define HAS_REWINDDIR /**/ 443 444/* HAS_READLINK: 445 * This symbol, if defined, indicates that the readlink routine is 446 * available to read the value of a symbolic link. 447 */ 448/*#define HAS_READLINK /**/ 449 450/* HAS_RENAME: 451 * This symbol, if defined, indicates that the rename routine is available 452 * to rename files. Otherwise you should do the unlink(), link(), unlink() 453 * trick. 454 */ 455#define HAS_RENAME /**/ 456 457/* HAS_RMDIR: 458 * This symbol, if defined, indicates that the rmdir routine is 459 * available to remove directories. Otherwise you should fork off a 460 * new process to exec /bin/rmdir. 461 */ 462#define HAS_RMDIR /**/ 463 464/* HAS_SELECT: 465 * This symbol, if defined, indicates that the select routine is 466 * available to select active file descriptors. If the timeout field 467 * is used, <sys/time.h> may need to be included. 468 */ 469#define HAS_SELECT /* config-skip */ 470 471/* HAS_SETEGID: 472 * This symbol, if defined, indicates that the setegid routine is available 473 * to change the effective gid of the current program. 474 */ 475/*#define HAS_SETEGID / **/ 476 477/* HAS_SETEUID: 478 * This symbol, if defined, indicates that the seteuid routine is available 479 * to change the effective uid of the current program. 480 */ 481/*#define HAS_SETEUID / **/ 482 483/* HAS_SETLINEBUF: 484 * This symbol, if defined, indicates that the setlinebuf routine is 485 * available to change stderr or stdout from block-buffered or unbuffered 486 * to a line-buffered mode. 487 */ 488#define HAS_SETLINEBUF /**/ 489 490/* HAS_SETLOCALE: 491 * This symbol, if defined, indicates that the setlocale routine is 492 * available to handle locale-specific ctype implementations. 493 */ 494#define HAS_SETLOCALE /**/ 495 496/* HAS_SETPGID: 497 * This symbol, if defined, indicates that the setpgid(pid, gpid) 498 * routine is available to set process group ID. 499 */ 500#define HAS_SETPGID /**/ 501 502/* HAS_SETPGRP2: 503 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) 504 * routine is available to set the current process group. 505 */ 506/*#define HAS_SETPGRP2 / **/ 507 508/* HAS_SETPRIORITY: 509 * This symbol, if defined, indicates that the setpriority routine is 510 * available to set a process's priority. 511 */ 512/*#define HAS_SETPRIORITY / **/ 513 514/* HAS_SETREGID: 515 * This symbol, if defined, indicates that the setregid routine is 516 * available to change the real and effective gid of the current 517 * process. 518 */ 519/* HAS_SETRESGID: 520 * This symbol, if defined, indicates that the setresgid routine is 521 * available to change the real, effective and saved gid of the current 522 * process. 523 */ 524/*#define HAS_SETREGID / **/ 525/*#define HAS_SETRESGID / **/ 526 527/* HAS_SETREUID: 528 * This symbol, if defined, indicates that the setreuid routine is 529 * available to change the real and effective uid of the current 530 * process. 531 */ 532/* HAS_SETRESUID: 533 * This symbol, if defined, indicates that the setresuid routine is 534 * available to change the real, effective and saved uid of the current 535 * process. 536 */ 537/*#define HAS_SETREUID / **/ 538/*#define HAS_SETRESUID / **/ 539 540/* HAS_SETRGID: 541 * This symbol, if defined, indicates that the setrgid routine is available 542 * to change the real gid of the current program. 543 */ 544/*#define HAS_SETRGID / **/ 545 546/* HAS_SETRUID: 547 * This symbol, if defined, indicates that the setruid routine is available 548 * to change the real uid of the current program. 549 */ 550/*#define HAS_SETRUID / **/ 551 552/* HAS_SETSID: 553 * This symbol, if defined, indicates that the setsid routine is 554 * available to set the process group ID. 555 */ 556#define HAS_SETSID /**/ 557 558/* HAS_STRCHR: 559 * This symbol is defined to indicate that the strchr()/strrchr() 560 * functions are available for string searching. If not, try the 561 * index()/rindex() pair. 562 */ 563/* HAS_INDEX: 564 * This symbol is defined to indicate that the index()/rindex() 565 * functions are available for string searching. 566 */ 567#define HAS_STRCHR /**/ 568/*#define HAS_INDEX / **/ 569 570/* HAS_STRCOLL: 571 * This symbol, if defined, indicates that the strcoll routine is 572 * available to compare strings using collating information. 573 */ 574#define HAS_STRCOLL /**/ 575 576/* USE_STRUCT_COPY: 577 * This symbol, if defined, indicates that this C compiler knows how 578 * to copy structures. If undefined, you'll need to use a block copy 579 * routine of some sort instead. 580 */ 581#define USE_STRUCT_COPY /**/ 582 583/* HAS_STRTOD: 584 * This symbol, if defined, indicates that the strtod routine is 585 * available to provide better numeric string conversion than atof(). 586 */ 587#define HAS_STRTOD /**/ 588 589/* HAS_STRTOL: 590 * This symbol, if defined, indicates that the strtol routine is available 591 * to provide better numeric string conversion than atoi() and friends. 592 */ 593#define HAS_STRTOL /**/ 594 595/* HAS_STRXFRM: 596 * This symbol, if defined, indicates that the strxfrm() routine is 597 * available to transform strings. 598 */ 599#define HAS_STRXFRM /**/ 600 601/* HAS_SYMLINK: 602 * This symbol, if defined, indicates that the symlink routine is available 603 * to create symbolic links. 604 */ 605/*#define HAS_SYMLINK /**/ 606 607/* HAS_SYSCALL: 608 * This symbol, if defined, indicates that the syscall routine is 609 * available to call arbitrary system calls. If undefined, that's tough. 610 */ 611/*#define HAS_SYSCALL / **/ 612 613/* HAS_SYSCONF: 614 * This symbol, if defined, indicates that sysconf() is available 615 * to determine system related limits and options. 616 */ 617#define HAS_SYSCONF /**/ 618 619/* HAS_SYSTEM: 620 * This symbol, if defined, indicates that the system routine is 621 * available to issue a shell command. 622 */ 623#define HAS_SYSTEM /**/ 624 625/* HAS_TCGETPGRP: 626 * This symbol, if defined, indicates that the tcgetpgrp routine is 627 * available to get foreground process group ID. 628 */ 629#define HAS_TCGETPGRP /**/ 630 631/* HAS_TCSETPGRP: 632 * This symbol, if defined, indicates that the tcsetpgrp routine is 633 * available to set foreground process group ID. 634 */ 635#define HAS_TCSETPGRP /**/ 636 637/* HAS_TRUNCATE: 638 * This symbol, if defined, indicates that the truncate routine is 639 * available to truncate files. 640 */ 641/*#define HAS_TRUNCATE / **/ 642 643/* HAS_TZNAME: 644 * This symbol, if defined, indicates that the tzname[] array is 645 * available to access timezone names. 646 */ 647#define HAS_TZNAME /**/ 648 649/* HAS_UMASK: 650 * This symbol, if defined, indicates that the umask routine is 651 * available to set and get the value of the file creation mask. 652 */ 653#define HAS_UMASK /**/ 654 655/* HAS_USLEEP: 656 * This symbol, if defined, indicates that the usleep routine is 657 * available to let the process sleep on a sub-second accuracy. 658 */ 659/*#define HAS_USLEEP / **/ 660 661/* HASVOLATILE: 662 * This symbol, if defined, indicates that this C compiler knows about 663 * the volatile declaration. 664 */ 665#define HASVOLATILE /**/ 666#ifndef HASVOLATILE 667#define volatile /* config-skip */ 668#endif 669 670/* HAS_WAIT4: 671 * This symbol, if defined, indicates that wait4() exists. 672 */ 673/*#define HAS_WAIT4 / **/ 674 675/* HAS_WAITPID: 676 * This symbol, if defined, indicates that the waitpid routine is 677 * available to wait for child process. 678 */ 679#define HAS_WAITPID /**/ 680 681/* HAS_WCSTOMBS: 682 * This symbol, if defined, indicates that the wcstombs routine is 683 * available to convert wide character strings to multibyte strings. 684 */ 685#define HAS_WCSTOMBS /**/ 686 687/* HAS_WCTOMB: 688 * This symbol, if defined, indicates that the wctomb routine is available 689 * to covert a wide character to a multibyte. 690 */ 691#define HAS_WCTOMB /**/ 692 693/* I_ARPA_INET: 694 * This symbol, if defined, indicates to the C program that it should 695 * include <arpa/inet.h> to get inet_addr and friends declarations. 696 */ 697#define I_ARPA_INET /**/ 698 699/* I_DBM: 700 * This symbol, if defined, indicates that <dbm.h> exists and should 701 * be included. 702 */ 703/* I_RPCSVC_DBM: 704 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and 705 * should be included. 706 */ 707/*#define I_DBM / **/ 708/*#define I_RPCSVC_DBM / **/ 709 710/* I_DIRENT: 711 * This symbol, if defined, indicates to the C program that it should 712 * include <dirent.h>. Using this symbol also triggers the definition 713 * of the Direntry_t define which ends up being 'struct dirent' or 714 * 'struct direct' depending on the availability of <dirent.h>. 715 */ 716/* DIRNAMLEN: 717 * This symbol, if defined, indicates to the C program that the length 718 * of directory entry names is provided by a d_namlen field. Otherwise 719 * you need to do strlen() on the d_name field. 720 */ 721/* Direntry_t: 722 * This symbol is set to 'struct direct' or 'struct dirent' depending on 723 * whether dirent is available or not. You should use this pseudo type to 724 * portably declare your directory entries. 725 */ 726#define I_DIRENT /**/ 727/*#define DIRNAMLEN / **/ 728#define Direntry_t struct dirent 729 730/* I_DLFCN: 731 * This symbol, if defined, indicates that <dlfcn.h> exists and should 732 * be included. 733 */ 734/*#define I_DLFCN / **/ 735 736/* I_FCNTL: 737 * This manifest constant tells the C program to include <fcntl.h>. 738 */ 739#define I_FCNTL /**/ 740 741/* I_FLOAT: 742 * This symbol, if defined, indicates to the C program that it should 743 * include <float.h> to get definition of symbols like DBL_MAX or 744 * DBL_MIN, i.e. machine dependent floating point values. 745 */ 746#define I_FLOAT /**/ 747 748/* I_LIMITS: 749 * This symbol, if defined, indicates to the C program that it should 750 * include <limits.h> to get definition of symbols like WORD_BIT or 751 * LONG_MAX, i.e. machine dependant limitations. 752 */ 753#define I_LIMITS /**/ 754 755/* I_LOCALE: 756 * This symbol, if defined, indicates to the C program that it should 757 * include <locale.h>. 758 */ 759#define I_LOCALE /**/ 760 761/* I_MATH: 762 * This symbol, if defined, indicates to the C program that it should 763 * include <math.h>. 764 */ 765#define I_MATH /**/ 766 767/* I_MEMORY: 768 * This symbol, if defined, indicates to the C program that it should 769 * include <memory.h>. 770 */ 771/*#define I_MEMORY / **/ 772 773/* I_NET_ERRNO: 774 * This symbol, if defined, indicates that <net/errno.h> exists and 775 * should be included. 776 */ 777/*#define I_NET_ERRNO /* config-skip */ 778 779/* I_NETINET_IN: 780 * This symbol, if defined, indicates to the C program that it should 781 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. 782 */ 783#define I_NETINET_IN /* config-skip */ 784 785/* I_STDDEF: 786 * This symbol, if defined, indicates that <stddef.h> exists and should 787 * be included. 788 */ 789#define I_STDDEF /**/ 790 791/* I_STDLIB: 792 * This symbol, if defined, indicates that <stdlib.h> exists and should 793 * be included. 794 */ 795#define I_STDLIB /**/ 796 797/* I_STRING: 798 * This symbol, if defined, indicates to the C program that it should 799 * include <string.h> (USG systems) instead of <strings.h> (BSD systems). 800 */ 801#define I_STRING /**/ 802 803/* I_SYS_DIR: 804 * This symbol, if defined, indicates to the C program that it should 805 * include <sys/dir.h>. 806 */ 807/*#define I_SYS_DIR / **/ 808 809/* I_SYS_FILE: 810 * This symbol, if defined, indicates to the C program that it should 811 * include <sys/file.h> to get definition of R_OK and friends. 812 */ 813/*#define I_SYS_FILE / **/ 814 815/* I_SYS_IOCTL: 816 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should 817 * be included. Otherwise, include <sgtty.h> or <termio.h>. 818 */ 819/* I_SYS_SOCKIO: 820 * This symbol, if defined, indicates the <sys/sockio.h> should be included 821 * to get socket ioctl options, like SIOCATMARK. 822 */ 823#define I_SYS_IOCTL /**/ 824/*#define I_SYS_SOCKIO / **/ 825 826/* I_SYS_NDIR: 827 * This symbol, if defined, indicates to the C program that it should 828 * include <sys/ndir.h>. 829 */ 830/*#define I_SYS_NDIR / **/ 831 832/* I_SYS_PARAM: 833 * This symbol, if defined, indicates to the C program that it should 834 * include <sys/param.h>. 835 */ 836#define I_SYS_PARAM /**/ 837 838/* I_SYS_RESOURCE: 839 * This symbol, if defined, indicates to the C program that it should 840 * include <sys/resource.h>. 841 */ 842#define I_SYS_RESOURCE /**/ 843 844/* Plan 9: file position in Plan 9 is <select.h> */ 845/* I_SYS_SELECT: 846 * This symbol, if defined, indicates to the C program that it should 847 * include <sys/select.h> in order to get definition of struct timeval. 848 */ 849#define I_SYS_SELECT /**/ 850 851/* I_SYS_STAT: 852 * This symbol, if defined, indicates to the C program that it should 853 * include <sys/stat.h>. 854 */ 855#define I_SYS_STAT /**/ 856 857/* I_SYS_TIMES: 858 * This symbol, if defined, indicates to the C program that it should 859 * include <sys/times.h>. 860 */ 861#define I_SYS_TIMES /**/ 862 863/* I_SYS_TYPES: 864 * This symbol, if defined, indicates to the C program that it should 865 * include <sys/types.h>. 866 */ 867#define I_SYS_TYPES /**/ 868 869/* I_SYS_UN: 870 * This symbol, if defined, indicates to the C program that it should 871 * include <sys/un.h> to get UNIX domain socket definitions. 872 */ 873#define I_SYS_UN /**/ 874 875/* I_SYS_WAIT: 876 * This symbol, if defined, indicates to the C program that it should 877 * include <sys/wait.h>. 878 */ 879#define I_SYS_WAIT /**/ 880 881/* I_TERMIO: 882 * This symbol, if defined, indicates that the program should include 883 * <termio.h> rather than <sgtty.h>. There are also differences in 884 * the ioctl() calls that depend on the value of this symbol. 885 */ 886/* I_TERMIOS: 887 * This symbol, if defined, indicates that the program should include 888 * the POSIX termios.h rather than sgtty.h or termio.h. 889 * There are also differences in the ioctl() calls that depend on the 890 * value of this symbol. 891 */ 892/* I_SGTTY: 893 * This symbol, if defined, indicates that the program should include 894 * <sgtty.h> rather than <termio.h>. There are also differences in 895 * the ioctl() calls that depend on the value of this symbol. 896 */ 897/*#define I_TERMIO / **/ 898#define I_TERMIOS /**/ 899/*#define I_SGTTY / **/ 900 901/* I_UNISTD: 902 * This symbol, if defined, indicates to the C program that it should 903 * include <unistd.h>. 904 */ 905#define I_UNISTD /**/ 906 907/* I_UTIME: 908 * This symbol, if defined, indicates to the C program that it should 909 * include <utime.h>. 910 */ 911#define I_UTIME /**/ 912 913/* I_VALUES: 914 * This symbol, if defined, indicates to the C program that it should 915 * include <values.h> to get definition of symbols like MINFLOAT or 916 * MAXLONG, i.e. machine dependant limitations. Probably, you 917 * should use <limits.h> instead, if it is available. 918 */ 919/*#define I_VALUES / **/ 920 921/* I_VFORK: 922 * This symbol, if defined, indicates to the C program that it should 923 * include vfork.h. 924 */ 925/*#define I_VFORK / **/ 926 927/* INTSIZE: 928 * This symbol contains the value of sizeof(int) so that the C 929 * preprocessor can make decisions based on it. 930 */ 931/* LONGSIZE: 932 * This symbol contains the value of sizeof(long) so that the C 933 * preprocessor can make decisions based on it. 934 */ 935/* SHORTSIZE: 936 * This symbol contains the value of sizeof(short) so that the C 937 * preprocessor can make decisions based on it. 938 */ 939#define INTSIZE 4 /**/ 940#define LONGSIZE 4 /**/ 941#define SHORTSIZE 2 /**/ 942 943/* MULTIARCH: 944 * This symbol, if defined, signifies that the build 945 * process will produce some binary files that are going to be 946 * used in a cross-platform environment. This is the case for 947 * example with the NeXT "fat" binaries that contain executables 948 * for several CPUs. 949 */ 950/*#define MULTIARCH / **/ 951 952/* HAS_QUAD: 953 * This symbol, if defined, tells that there's a 64-bit integer type, 954 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one 955 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T. 956 */ 957#define HAS_QUAD /**/ 958#ifdef HAS_QUAD 959# define Quad_t long long /**/ 960# define Uquad_t unsigned long long /**/ 961# define QUADKIND 3 /**/ 962# define QUAD_IS_INT 1 963# define QUAD_IS_LONG 2 964# define QUAD_IS_LONG_LONG 3 965# define QUAD_IS_INT64_T 4 966#endif 967 968/* HAS_ACCESSX: 969 * This symbol, if defined, indicates that the accessx routine is 970 * available to do extended access checks. 971 */ 972/*#define HAS_ACCESSX / **/ 973 974/* HAS_EACCESS: 975 * This symbol, if defined, indicates that the eaccess routine is 976 * available to do extended access checks. 977 */ 978/*#define HAS_EACCESS / **/ 979 980/* I_SYS_ACCESS: 981 * This symbol, if defined, indicates to the C program that it should 982 * include <sys/access.h>. 983 */ 984/*#define I_SYS_ACCESS / **/ 985 986/* I_SYS_SECURITY: 987 * This symbol, if defined, indicates to the C program that it should 988 * include <sys/security.h>. 989 */ 990/*#define I_SYS_SECURITY / **/ 991 992/* OSNAME: 993 * This symbol contains the name of the operating system, as determined 994 * by Configure. You shouldn't rely on it too much; the specific 995 * feature tests from Configure are generally more reliable. 996 */ 997/* OSVERS: 998 * This symbol contains the version of the operating system, as determined 999 * by Configure. You shouldn't rely on it too much; the specific 1000 * feature tests from Configure are generally more reliable. 1001 */ 1002#define OSNAME "plan9" /**/ 1003#define OSVERS "1" /**/ 1004 1005/* PLAN9: 1006 * This symbol, if defined, indicates that the program is running under the 1007 * Plan 9 operating system. 1008 */ 1009#define PLAN9 /**/ 1010 1011/* MEM_ALIGNBYTES: 1012 * This symbol contains the number of bytes required to align a 1013 * double, or a long double when applicable. Usual values are 2, 1014 * 4 and 8. The default is eight, for safety. 1015 */ 1016#if defined(MULTIARCH) 1017# define MEM_ALIGNBYTES 8 1018#else 1019#define MEM_ALIGNBYTES 4 1020#endif 1021 1022/* ARCHLIB: 1023 * This variable, if defined, holds the name of the directory in 1024 * which the user wants to put architecture-dependent public 1025 * library files for perl. It is most often a local directory 1026 * such as /usr/local/lib. Programs using this variable must be 1027 * prepared to deal with filename expansion. If ARCHLIB is the 1028 * same as PRIVLIB, it is not defined, since presumably the 1029 * program already searches PRIVLIB. 1030 */ 1031/* ARCHLIB_EXP: 1032 * This symbol contains the ~name expanded version of ARCHLIB, to be used 1033 * in programs that are not prepared to deal with ~ expansion at run-time. 1034 */ 1035#define ARCHLIB_EXP "/_P9P_OBJTYPE/lib/perl/_P9P_VERSION" 1036#define ARCHLIB "/_P9P_OBJTYPE/lib/perl/_P9P_VERSION" 1037 1038/* ARCHNAME: 1039 * This symbol holds a string representing the architecture name. 1040 * It may be used to construct an architecture-dependant pathname 1041 * where library files may be held under a private library, for 1042 * instance. 1043 */ 1044#define ARCHNAME "plan9__P9P_OBJTYPE" /**/ 1045 1046/* HAS_ATOLF: 1047 * This symbol, if defined, indicates that the atolf routine is 1048 * available to convert strings into long doubles. 1049 */ 1050/*#define HAS_ATOLF / **/ 1051 1052/* HAS_ATOLL: 1053 * This symbol, if defined, indicates that the atoll routine is 1054 * available to convert strings into long longs. 1055 */ 1056#define HAS_ATOLL /**/ 1057 1058/* BIN: 1059 * This symbol holds the path of the bin directory where the package will 1060 * be installed. Program must be prepared to deal with ~name substitution. 1061 */ 1062/* BIN_EXP: 1063 * This symbol is the filename expanded version of the BIN symbol, for 1064 * programs that do not want to deal with that at run-time. 1065 */ 1066#define BIN "/usr/bin" /**/ 1067#define BIN_EXP "/usr/bin" /**/ 1068 1069/* BYTEORDER: 1070 * This symbol holds the hexadecimal constant defined in byteorder, 1071 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc... 1072 * If the compiler supports cross-compiling or multiple-architecture 1073 * binaries (eg. on NeXT systems), use compiler-defined macros to 1074 * determine the byte order. 1075 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture 1076 * Binaries (MAB) on either big endian or little endian machines. 1077 * The endian-ness is available at compile-time. This only matters 1078 * for perl, where the config.h can be generated and installed on 1079 * one system, and used by a different architecture to build an 1080 * extension. Older versions of NeXT that might not have 1081 * defined either *_ENDIAN__ were all on Motorola 680x0 series, 1082 * so the default case (for NeXT) is big endian to catch them. 1083 * This might matter for NeXT 3.0. 1084 */ 1085#if defined(MULTIARCH) 1086# ifdef __LITTLE_ENDIAN__ 1087# if LONGSIZE == 4 1088# define BYTEORDER 0x1234 /* config-skip */ 1089# else 1090# if LONGSIZE == 8 1091# define BYTEORDER 0x12345678 /* config-skip */ 1092# endif 1093# endif 1094# else 1095# ifdef __BIG_ENDIAN__ 1096# if LONGSIZE == 4 1097# define BYTEORDER 0x4321 1098# else 1099# if LONGSIZE == 8 1100# define BYTEORDER 0x87654321 1101# endif 1102# endif 1103# endif 1104# endif 1105# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__)) 1106# define BYTEORDER 0x4321 1107# endif 1108#else 1109#define BYTEORDER 0x1234 /* large digits for MSB */ 1110#endif /* NeXT */ 1111 1112/* CAT2: 1113 * This macro catenates 2 tokens together. 1114 */ 1115/* STRINGIFY: 1116 * This macro surrounds its token with double quotes. 1117 */ 1118#if 42 == 1 1119#define CAT2(a,b) a/**/b 1120#define STRINGIFY(a) "a" 1121 /* If you can get stringification with catify, tell me how! */ 1122#endif 1123#if 42 == 42 1124#define PeRl_CaTiFy(a, b) a ## b 1125#define PeRl_StGiFy(a) #a 1126/* the additional level of indirection enables these macros to be 1127 * used as arguments to other macros. See K&R 2nd ed., page 231. */ 1128#define CAT2(a,b) PeRl_CaTiFy(a,b) 1129#define StGiFy(a) PeRl_StGiFy(a) 1130#define STRINGIFY(a) PeRl_StGiFy(a) 1131#endif 1132#if 42 != 1 && 42 != 42 1133# include "Bletch: How does this C preprocessor concatenate tokens?" 1134#endif 1135 1136/* CPPSTDIN: 1137 * This symbol contains the first part of the string which will invoke 1138 * the C preprocessor on the standard input and produce to standard 1139 * output. Typical value of "cc -E" or "/lib/cpp", but it can also 1140 * call a wrapper. See CPPRUN. 1141 */ 1142/* CPPMINUS: 1143 * This symbol contains the second part of the string which will invoke 1144 * the C preprocessor on the standard input and produce to standard 1145 * output. This symbol will have the value "-" if CPPSTDIN needs a minus 1146 * to specify standard input, otherwise the value is "". 1147 */ 1148/* CPPRUN: 1149 * This symbol contains the string which will invoke a C preprocessor on 1150 * the standard input and produce to standard output. It needs to end 1151 * with CPPLAST, after all other preprocessor flags have been specified. 1152 * The main difference with CPPSTDIN is that this program will never be a 1153 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is 1154 * available directly to the user. Note that it may well be different from 1155 * the preprocessor used to compile the C program. 1156 */ 1157/* CPPLAST: 1158 * This symbol is intended to be used along with CPPRUN in the same manner 1159 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". 1160 */ 1161#define CPPSTDIN "cppstdin" 1162#define CPPMINUS "" 1163#define CPPRUN "/bin/cpp" 1164#define CPPLAST "" 1165 1166/* HAS__FWALK: 1167 * This symbol, if defined, indicates that the _fwalk system call is 1168 * available to apply a function to all the file handles. 1169 */ 1170/*#define HAS__FWALK / **/ 1171 1172/* HAS_ACCESS: 1173 * This manifest constant lets the C program know that the access() 1174 * system call is available to check for accessibility using real UID/GID. 1175 * (always present on UNIX.) 1176 */ 1177#define HAS_ACCESS /**/ 1178 1179/* HAS_ASCTIME_R: 1180 * This symbol, if defined, indicates that the asctime_r routine 1181 * is available to asctime re-entrantly. 1182 */ 1183/* ASCTIME_R_PROTO: 1184 * This symbol encodes the prototype of asctime_r. 1185 * It is zero if d_asctime_r is undef, and one of the 1186 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r 1187 * is defined. 1188 */ 1189/*#define HAS_ASCTIME_R / **/ 1190#define ASCTIME_R_PROTO 0 /**/ 1191 1192/* CASTI32: 1193 * This symbol is defined if the C compiler can cast negative 1194 * or large floating point numbers to 32-bit ints. 1195 */ 1196/*#define CASTI32 / **/ 1197 1198/* CASTNEGFLOAT: 1199 * This symbol is defined if the C compiler can cast negative 1200 * numbers to unsigned longs, ints and shorts. 1201 */ 1202/* CASTFLAGS: 1203 * This symbol contains flags that say what difficulties the compiler 1204 * has casting odd floating values to unsigned long: 1205 * 0 = ok 1206 * 1 = couldn't cast < 0 1207 * 2 = couldn't cast >= 0x80000000 1208 * 4 = couldn't cast in argument expression list 1209 */ 1210/*#define CASTNEGFLOAT /* config-skip */ 1211#if _P9P_OBJTYPE == 386 1212# define CASTFLAGS 3 /**/ /* config-skip */ 1213#else 1214# define CASTFLAGS 0 /**/ /* config-skip */ 1215#endif 1216 1217/* HAS_CLASS: 1218 * This symbol, if defined, indicates that the class routine is 1219 * available to classify doubles. Available for example in AIX. 1220 * The returned values are defined in <float.h> and are: 1221 * 1222 * FP_PLUS_NORM Positive normalized, nonzero 1223 * FP_MINUS_NORM Negative normalized, nonzero 1224 * FP_PLUS_DENORM Positive denormalized, nonzero 1225 * FP_MINUS_DENORM Negative denormalized, nonzero 1226 * FP_PLUS_ZERO +0.0 1227 * FP_MINUS_ZERO -0.0 1228 * FP_PLUS_INF +INF 1229 * FP_MINUS_INF -INF 1230 * FP_NANS Signaling Not a Number (NaNS) 1231 * FP_NANQ Quiet Not a Number (NaNQ) 1232 */ 1233/*#define HAS_CLASS / **/ 1234 1235/* VOID_CLOSEDIR: 1236 * This symbol, if defined, indicates that the closedir() routine 1237 * does not return a value. 1238 */ 1239/*#define VOID_CLOSEDIR / **/ 1240 1241/* HAS_STRUCT_CMSGHDR: 1242 * This symbol, if defined, indicates that the struct cmsghdr 1243 * is supported. 1244 */ 1245/*#define HAS_STRUCT_CMSGHDR / **/ 1246 1247/* HAS_CRYPT_R: 1248 * This symbol, if defined, indicates that the crypt_r routine 1249 * is available to crypt re-entrantly. 1250 */ 1251/* CRYPT_R_PROTO: 1252 * This symbol encodes the prototype of crypt_r. 1253 * It is zero if d_crypt_r is undef, and one of the 1254 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r 1255 * is defined. 1256 */ 1257/*#define HAS_CRYPT_R / **/ 1258#define CRYPT_R_PROTO 0 /**/ 1259 1260/* HAS_CSH: 1261 * This symbol, if defined, indicates that the C-shell exists. 1262 */ 1263/* CSH: 1264 * This symbol, if defined, contains the full pathname of csh. 1265 */ 1266/*#define HAS_CSH / **/ 1267#ifdef HAS_CSH 1268#define CSH "csh" /**/ 1269#endif 1270 1271/* HAS_CTIME_R: 1272 * This symbol, if defined, indicates that the ctime_r routine 1273 * is available to ctime re-entrantly. 1274 */ 1275/* CTIME_R_PROTO: 1276 * This symbol encodes the prototype of ctime_r. 1277 * It is zero if d_ctime_r is undef, and one of the 1278 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r 1279 * is defined. 1280 */ 1281/*#define HAS_CTIME_R / **/ 1282#define CTIME_R_PROTO 0 /**/ 1283 1284/* DLSYM_NEEDS_UNDERSCORE: 1285 * This symbol, if defined, indicates that we need to prepend an 1286 * underscore to the symbol name before calling dlsym(). This only 1287 * makes sense if you *have* dlsym, which we will presume is the 1288 * case if you're using dl_dlopen.xs. 1289 */ 1290/*#define DLSYM_NEEDS_UNDERSCORE / **/ 1291 1292/* HAS_DRAND48_R: 1293 * This symbol, if defined, indicates that the drand48_r routine 1294 * is available to drand48 re-entrantly. 1295 */ 1296/* DRAND48_R_PROTO: 1297 * This symbol encodes the prototype of drand48_r. 1298 * It is zero if d_drand48_r is undef, and one of the 1299 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r 1300 * is defined. 1301 */ 1302/*#define HAS_DRAND48_R / **/ 1303#define DRAND48_R_PROTO 0 /**/ 1304 1305/* HAS_DRAND48_PROTO: 1306 * This symbol, if defined, indicates that the system provides 1307 * a prototype for the drand48() function. Otherwise, it is up 1308 * to the program to supply one. A good guess is 1309 * extern double drand48(void); 1310 */ 1311/*#define HAS_DRAND48_PROTO / **/ 1312 1313/* HAS_ENDGRENT: 1314 * This symbol, if defined, indicates that the getgrent routine is 1315 * available for finalizing sequential access of the group database. 1316 */ 1317#define HAS_ENDGRENT /**/ 1318 1319/* HAS_ENDGRENT_R: 1320 * This symbol, if defined, indicates that the endgrent_r routine 1321 * is available to endgrent re-entrantly. 1322 */ 1323/* ENDGRENT_R_PROTO: 1324 * This symbol encodes the prototype of endgrent_r. 1325 * It is zero if d_endgrent_r is undef, and one of the 1326 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r 1327 * is defined. 1328 */ 1329/*#define HAS_ENDGRENT_R / **/ 1330#define ENDGRENT_R_PROTO 0 /**/ 1331 1332/* HAS_ENDHOSTENT: 1333 * This symbol, if defined, indicates that the endhostent() routine is 1334 * available to close whatever was being used for host queries. 1335 */ 1336#define HAS_ENDHOSTENT /**/ 1337 1338/* HAS_ENDNETENT: 1339 * This symbol, if defined, indicates that the endnetent() routine is 1340 * available to close whatever was being used for network queries. 1341 */ 1342/*#define HAS_ENDNETENT / **/ 1343 1344/* HAS_ENDPROTOENT: 1345 * This symbol, if defined, indicates that the endprotoent() routine is 1346 * available to close whatever was being used for protocol queries. 1347 */ 1348/*#define HAS_ENDPROTOENT / **/ 1349 1350/* HAS_ENDPWENT: 1351 * This symbol, if defined, indicates that the getgrent routine is 1352 * available for finalizing sequential access of the passwd database. 1353 */ 1354#define HAS_ENDPWENT /**/ 1355 1356/* HAS_ENDPWENT_R: 1357 * This symbol, if defined, indicates that the endpwent_r routine 1358 * is available to endpwent re-entrantly. 1359 */ 1360/* ENDPWENT_R_PROTO: 1361 * This symbol encodes the prototype of endpwent_r. 1362 * It is zero if d_endpwent_r is undef, and one of the 1363 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r 1364 * is defined. 1365 */ 1366/*#define HAS_ENDPWENT_R / **/ 1367#define ENDPWENT_R_PROTO 0 /**/ 1368 1369/* HAS_ENDSERVENT: 1370 * This symbol, if defined, indicates that the endservent() routine is 1371 * available to close whatever was being used for service queries. 1372 */ 1373/*#define HAS_ENDSERVENT / **/ 1374 1375/* HAS_FAST_STDIO: 1376 * This symbol, if defined, indicates that the "fast stdio" 1377 * is available to manipulate the stdio buffers directly. 1378 */ 1379/*#define HAS_FAST_STDIO /**/ 1380 1381/* HAS_FCHDIR: 1382 * This symbol, if defined, indicates that the fchdir routine is 1383 * available to change directory using a file descriptor. 1384 */ 1385/*#define HAS_FCHDIR / **/ 1386 1387/* FCNTL_CAN_LOCK: 1388 * This symbol, if defined, indicates that fcntl() can be used 1389 * for file locking. Normally on Unix systems this is defined. 1390 * It may be undefined on VMS. 1391 */ 1392/*#define FCNTL_CAN_LOCK / **/ 1393 1394/* HAS_FD_SET: 1395 * This symbol, when defined, indicates presence of the fd_set typedef 1396 * in <sys/types.h> 1397 */ 1398/*#define HAS_FD_SET / **/ 1399 1400/* HAS_FINITE: 1401 * This symbol, if defined, indicates that the finite routine is 1402 * available to check whether a double is finite (non-infinity non-NaN). 1403 */ 1404/*#define HAS_FINITE / **/ 1405 1406/* HAS_FINITEL: 1407 * This symbol, if defined, indicates that the finitel routine is 1408 * available to check whether a long double is finite 1409 * (non-infinity non-NaN). 1410 */ 1411/*#define HAS_FINITEL / **/ 1412 1413/* FLEXFILENAMES: 1414 * This symbol, if defined, indicates that the system supports filenames 1415 * longer than 14 characters. 1416 */ 1417#define FLEXFILENAMES /**/ 1418 1419/* HAS_FP_CLASS: 1420 * This symbol, if defined, indicates that the fp_class routine is 1421 * available to classify doubles. Available for example in Digital UNIX. 1422 * The returned values are defined in <math.h> and are: 1423 * 1424 * FP_SNAN Signaling NaN (Not-a-Number) 1425 * FP_QNAN Quiet NaN (Not-a-Number) 1426 * FP_POS_INF +infinity 1427 * FP_NEG_INF -infinity 1428 * FP_POS_NORM Positive normalized 1429 * FP_NEG_NORM Negative normalized 1430 * FP_POS_DENORM Positive denormalized 1431 * FP_NEG_DENORM Negative denormalized 1432 * FP_POS_ZERO +0.0 (positive zero) 1433 * FP_NEG_ZERO -0.0 (negative zero) 1434 */ 1435/*#define HAS_FP_CLASS / **/ 1436 1437/* HAS_FPCLASS: 1438 * This symbol, if defined, indicates that the fpclass routine is 1439 * available to classify doubles. Available for example in Solaris/SVR4. 1440 * The returned values are defined in <ieeefp.h> and are: 1441 * 1442 * FP_SNAN signaling NaN 1443 * FP_QNAN quiet NaN 1444 * FP_NINF negative infinity 1445 * FP_PINF positive infinity 1446 * FP_NDENORM negative denormalized non-zero 1447 * FP_PDENORM positive denormalized non-zero 1448 * FP_NZERO negative zero 1449 * FP_PZERO positive zero 1450 * FP_NNORM negative normalized non-zero 1451 * FP_PNORM positive normalized non-zero 1452 */ 1453/*#define HAS_FPCLASS / **/ 1454 1455/* HAS_FPCLASSIFY: 1456 * This symbol, if defined, indicates that the fpclassify routine is 1457 * available to classify doubles. Available for example in HP-UX. 1458 * The returned values are defined in <math.h> and are 1459 * 1460 * FP_NORMAL Normalized 1461 * FP_ZERO Zero 1462 * FP_INFINITE Infinity 1463 * FP_SUBNORMAL Denormalized 1464 * FP_NAN NaN 1465 * 1466 */ 1467/*#define HAS_FPCLASSIFY / **/ 1468 1469/* HAS_FPOS64_T: 1470 * This symbol will be defined if the C compiler supports fpos64_t. 1471 */ 1472/*#define HAS_FPOS64_T / **/ 1473 1474/* HAS_FREXPL: 1475 * This symbol, if defined, indicates that the frexpl routine is 1476 * available to break a long double floating-point number into 1477 * a normalized fraction and an integral power of 2. 1478 */ 1479/*#define HAS_FREXPL / **/ 1480 1481/* HAS_STRUCT_FS_DATA: 1482 * This symbol, if defined, indicates that the struct fs_data 1483 * to do statfs() is supported. 1484 */ 1485/*#define HAS_STRUCT_FS_DATA / **/ 1486 1487/* HAS_FSEEKO: 1488 * This symbol, if defined, indicates that the fseeko routine is 1489 * available to fseek beyond 32 bits (useful for ILP32 hosts). 1490 */ 1491/*#define HAS_FSEEKO / **/ 1492 1493/* HAS_FSTATFS: 1494 * This symbol, if defined, indicates that the fstatfs routine is 1495 * available to stat filesystems by file descriptors. 1496 */ 1497/*#define HAS_FSTATFS / **/ 1498 1499/* HAS_FSYNC: 1500 * This symbol, if defined, indicates that the fsync routine is 1501 * available to write a file's modified data and attributes to 1502 * permanent storage. 1503 */ 1504#define HAS_FSYNC /**/ 1505 1506/* HAS_FTELLO: 1507 * This symbol, if defined, indicates that the ftello routine is 1508 * available to ftell beyond 32 bits (useful for ILP32 hosts). 1509 */ 1510/*#define HAS_FTELLO / **/ 1511 1512/* Gconvert: 1513 * This preprocessor macro is defined to convert a floating point 1514 * number to a string without a trailing decimal point. This 1515 * emulates the behavior of sprintf("%g"), but is sometimes much more 1516 * efficient. If gconvert() is not available, but gcvt() drops the 1517 * trailing decimal point, then gcvt() is used. If all else fails, 1518 * a macro using sprintf("%g") is used. Arguments for the Gconvert 1519 * macro are: value, number of digits, whether trailing zeros should 1520 * be retained, and the output buffer. 1521 * The usual values are: 1522 * d_Gconvert='gconvert((x),(n),(t),(b))' 1523 * d_Gconvert='gcvt((x),(n),(b))' 1524 * d_Gconvert='sprintf((b),"%.*g",(n),(x))' 1525 * The last two assume trailing zeros should not be kept. 1526 */ 1527#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x)) 1528 1529/* HAS_GETCWD: 1530 * This symbol, if defined, indicates that the getcwd routine is 1531 * available to get the current working directory. 1532 */ 1533#define HAS_GETCWD /**/ 1534 1535/* HAS_GETESPWNAM: 1536 * This symbol, if defined, indicates that the getespwnam system call is 1537 * available to retrieve enhanced (shadow) password entries by name. 1538 */ 1539/*#define HAS_GETESPWNAM / **/ 1540 1541/* HAS_GETFSSTAT: 1542 * This symbol, if defined, indicates that the getfsstat routine is 1543 * available to stat filesystems in bulk. 1544 */ 1545/*#define HAS_GETFSSTAT / **/ 1546 1547/* HAS_GETGRENT: 1548 * This symbol, if defined, indicates that the getgrent routine is 1549 * available for sequential access of the group database. 1550 */ 1551#define HAS_GETGRENT /**/ 1552 1553/* HAS_GETGRENT_R: 1554 * This symbol, if defined, indicates that the getgrent_r routine 1555 * is available to getgrent re-entrantly. 1556 */ 1557/* GETGRENT_R_PROTO: 1558 * This symbol encodes the prototype of getgrent_r. 1559 * It is zero if d_getgrent_r is undef, and one of the 1560 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r 1561 * is defined. 1562 */ 1563/*#define HAS_GETGRENT_R / **/ 1564#define GETGRENT_R_PROTO 0 /**/ 1565 1566/* HAS_GETGRGID_R: 1567 * This symbol, if defined, indicates that the getgrgid_r routine 1568 * is available to getgrgid re-entrantly. 1569 */ 1570/* GETGRGID_R_PROTO: 1571 * This symbol encodes the prototype of getgrgid_r. 1572 * It is zero if d_getgrgid_r is undef, and one of the 1573 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r 1574 * is defined. 1575 */ 1576/*#define HAS_GETGRGID_R / **/ 1577#define GETGRGID_R_PROTO 0 /**/ 1578 1579/* HAS_GETGRNAM_R: 1580 * This symbol, if defined, indicates that the getgrnam_r routine 1581 * is available to getgrnam re-entrantly. 1582 */ 1583/* GETGRNAM_R_PROTO: 1584 * This symbol encodes the prototype of getgrnam_r. 1585 * It is zero if d_getgrnam_r is undef, and one of the 1586 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r 1587 * is defined. 1588 */ 1589/*#define HAS_GETGRNAM_R / **/ 1590#define GETGRNAM_R_PROTO 0 /**/ 1591 1592/* HAS_GETHOSTBYADDR: 1593 * This symbol, if defined, indicates that the gethostbyaddr() routine is 1594 * available to look up hosts by their IP addresses. 1595 */ 1596#define HAS_GETHOSTBYADDR /**/ 1597 1598/* HAS_GETHOSTBYNAME: 1599 * This symbol, if defined, indicates that the gethostbyname() routine is 1600 * available to look up host names in some data base or other. 1601 */ 1602#define HAS_GETHOSTBYNAME /**/ 1603 1604/* HAS_GETHOSTENT: 1605 * This symbol, if defined, indicates that the gethostent() routine is 1606 * available to look up host names in some data base or another. 1607 */ 1608/*#define HAS_GETHOSTENT / **/ 1609 1610/* HAS_GETHOSTNAME: 1611 * This symbol, if defined, indicates that the C program may use the 1612 * gethostname() routine to derive the host name. See also HAS_UNAME 1613 * and PHOSTNAME. 1614 */ 1615/* HAS_UNAME: 1616 * This symbol, if defined, indicates that the C program may use the 1617 * uname() routine to derive the host name. See also HAS_GETHOSTNAME 1618 * and PHOSTNAME. 1619 */ 1620/* PHOSTNAME: 1621 * This symbol, if defined, indicates the command to feed to the 1622 * popen() routine to derive the host name. See also HAS_GETHOSTNAME 1623 * and HAS_UNAME. Note that the command uses a fully qualified path, 1624 * so that it is safe even if used by a process with super-user 1625 * privileges. 1626 */ 1627/* HAS_PHOSTNAME: 1628 * This symbol, if defined, indicates that the C program may use the 1629 * contents of PHOSTNAME as a command to feed to the popen() routine 1630 * to derive the host name. 1631 */ 1632#define HAS_GETHOSTNAME /**/ 1633#define HAS_UNAME /**/ 1634/*#define HAS_PHOSTNAME / **/ 1635#ifdef HAS_PHOSTNAME 1636#define PHOSTNAME "/bin/uname -n" /* How to get the host name */ 1637#endif 1638 1639/* HAS_GETHOST_PROTOS: 1640 * This symbol, if defined, indicates that <netdb.h> includes 1641 * prototypes for gethostent(), gethostbyname(), and 1642 * gethostbyaddr(). Otherwise, it is up to the program to guess 1643 * them. See netdbtype.U for probing for various Netdb_xxx_t types. 1644 */ 1645/*#define HAS_GETHOST_PROTOS / **/ 1646 1647/* HAS_GETITIMER: 1648 * This symbol, if defined, indicates that the getitimer routine is 1649 * available to return interval timers. 1650 */ 1651/*#define HAS_GETITIMER / **/ 1652 1653/* HAS_GETLOGIN_R: 1654 * This symbol, if defined, indicates that the getlogin_r routine 1655 * is available to getlogin re-entrantly. 1656 */ 1657/* GETLOGIN_R_PROTO: 1658 * This symbol encodes the prototype of getlogin_r. 1659 * It is zero if d_getlogin_r is undef, and one of the 1660 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r 1661 * is defined. 1662 */ 1663/*#define HAS_GETLOGIN_R / **/ 1664#define GETLOGIN_R_PROTO 0 /**/ 1665 1666/* HAS_GETMNT: 1667 * This symbol, if defined, indicates that the getmnt routine is 1668 * available to get filesystem mount info by filename. 1669 */ 1670/*#define HAS_GETMNT / **/ 1671 1672/* HAS_GETMNTENT: 1673 * This symbol, if defined, indicates that the getmntent routine is 1674 * available to iterate through mounted file systems to get their info. 1675 */ 1676/*#define HAS_GETMNTENT / **/ 1677 1678/* HAS_GETNETBYADDR: 1679 * This symbol, if defined, indicates that the getnetbyaddr() routine is 1680 * available to look up networks by their IP addresses. 1681 */ 1682/*#define HAS_GETNETBYADDR / **/ 1683 1684/* HAS_GETNETBYNAME: 1685 * This symbol, if defined, indicates that the getnetbyname() routine is 1686 * available to look up networks by their names. 1687 */ 1688/*#define HAS_GETNETBYNAME / **/ 1689 1690/* HAS_GETNETENT: 1691 * This symbol, if defined, indicates that the getnetent() routine is 1692 * available to look up network names in some data base or another. 1693 */ 1694/*#define HAS_GETNETENT / **/ 1695 1696/* HAS_GETNET_PROTOS: 1697 * This symbol, if defined, indicates that <netdb.h> includes 1698 * prototypes for getnetent(), getnetbyname(), and 1699 * getnetbyaddr(). Otherwise, it is up to the program to guess 1700 * them. See netdbtype.U for probing for various Netdb_xxx_t types. 1701 */ 1702/*#define HAS_GETNET_PROTOS / **/ 1703 1704/* HAS_GETPAGESIZE: 1705 * This symbol, if defined, indicates that the getpagesize system call 1706 * is available to get system page size, which is the granularity of 1707 * many memory management calls. 1708 */ 1709/*#define HAS_GETPAGESIZE / **/ 1710 1711/* HAS_GETPROTOENT: 1712 * This symbol, if defined, indicates that the getprotoent() routine is 1713 * available to look up protocols in some data base or another. 1714 */ 1715/*#define HAS_GETPROTOENT / **/ 1716 1717/* HAS_GETPGRP: 1718 * This symbol, if defined, indicates that the getpgrp routine is 1719 * available to get the current process group. 1720 */ 1721/* USE_BSD_GETPGRP: 1722 * This symbol, if defined, indicates that getpgrp needs one 1723 * arguments whereas USG one needs none. 1724 */ 1725#define HAS_GETPGRP /**/ 1726/*#define USE_BSD_GETPGRP / **/ 1727 1728/* HAS_GETPROTOBYNAME: 1729 * This symbol, if defined, indicates that the getprotobyname() 1730 * routine is available to look up protocols by their name. 1731 */ 1732/* HAS_GETPROTOBYNUMBER: 1733 * This symbol, if defined, indicates that the getprotobynumber() 1734 * routine is available to look up protocols by their number. 1735 */ 1736#define HAS_GETPROTOBYNAME /**/ 1737/*#define HAS_GETPROTOBYNUMBER / **/ 1738 1739/* HAS_GETPROTO_PROTOS: 1740 * This symbol, if defined, indicates that <netdb.h> includes 1741 * prototypes for getprotoent(), getprotobyname(), and 1742 * getprotobyaddr(). Otherwise, it is up to the program to guess 1743 * them. See netdbtype.U for probing for various Netdb_xxx_t types. 1744 */ 1745/*#define HAS_GETPROTO_PROTOS / **/ 1746 1747/* HAS_GETPRPWNAM: 1748 * This symbol, if defined, indicates that the getprpwnam system call is 1749 * available to retrieve protected (shadow) password entries by name. 1750 */ 1751/*#define HAS_GETPRPWNAM / **/ 1752 1753/* HAS_GETPWENT: 1754 * This symbol, if defined, indicates that the getpwent routine is 1755 * available for sequential access of the passwd database. 1756 * If this is not available, the older getpw() function may be available. 1757 */ 1758#define HAS_GETPWENT /**/ 1759 1760/* HAS_GETPWENT_R: 1761 * This symbol, if defined, indicates that the getpwent_r routine 1762 * is available to getpwent re-entrantly. 1763 */ 1764/* GETPWENT_R_PROTO: 1765 * This symbol encodes the prototype of getpwent_r. 1766 * It is zero if d_getpwent_r is undef, and one of the 1767 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r 1768 * is defined. 1769 */ 1770/*#define HAS_GETPWENT_R / **/ 1771#define GETPWENT_R_PROTO 0 /**/ 1772 1773/* HAS_GETPWNAM_R: 1774 * This symbol, if defined, indicates that the getpwnam_r routine 1775 * is available to getpwnam re-entrantly. 1776 */ 1777/* GETPWNAM_R_PROTO: 1778 * This symbol encodes the prototype of getpwnam_r. 1779 * It is zero if d_getpwnam_r is undef, and one of the 1780 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r 1781 * is defined. 1782 */ 1783/*#define HAS_GETPWNAM_R / **/ 1784#define GETPWNAM_R_PROTO 0 /**/ 1785 1786/* HAS_GETPWUID_R: 1787 * This symbol, if defined, indicates that the getpwuid_r routine 1788 * is available to getpwuid re-entrantly. 1789 */ 1790/* GETPWUID_R_PROTO: 1791 * This symbol encodes the prototype of getpwuid_r. 1792 * It is zero if d_getpwuid_r is undef, and one of the 1793 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r 1794 * is defined. 1795 */ 1796/*#define HAS_GETPWUID_R / **/ 1797#define GETPWUID_R_PROTO 0 /**/ 1798 1799/* HAS_GETSERVENT: 1800 * This symbol, if defined, indicates that the getservent() routine is 1801 * available to look up network services in some data base or another. 1802 */ 1803/*#define HAS_GETSERVENT / **/ 1804 1805/* HAS_GETSERV_PROTOS: 1806 * This symbol, if defined, indicates that <netdb.h> includes 1807 * prototypes for getservent(), getservbyname(), and 1808 * getservbyaddr(). Otherwise, it is up to the program to guess 1809 * them. See netdbtype.U for probing for various Netdb_xxx_t types. 1810 */ 1811/*#define HAS_GETSERV_PROTOS / **/ 1812 1813/* HAS_GETSPNAM: 1814 * This symbol, if defined, indicates that the getspnam system call is 1815 * available to retrieve SysV shadow password entries by name. 1816 */ 1817/*#define HAS_GETSPNAM / **/ 1818 1819/* HAS_GETSPNAM_R: 1820 * This symbol, if defined, indicates that the getspnam_r routine 1821 * is available to getspnam re-entrantly. 1822 */ 1823/* GETSPNAM_R_PROTO: 1824 * This symbol encodes the prototype of getspnam_r. 1825 * It is zero if d_getspnam_r is undef, and one of the 1826 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r 1827 * is defined. 1828 */ 1829/*#define HAS_GETSPNAM_R / **/ 1830#define GETSPNAM_R_PROTO 0 /**/ 1831 1832/* HAS_GETSERVBYNAME: 1833 * This symbol, if defined, indicates that the getservbyname() 1834 * routine is available to look up services by their name. 1835 */ 1836/* HAS_GETSERVBYPORT: 1837 * This symbol, if defined, indicates that the getservbyport() 1838 * routine is available to look up services by their port. 1839 */ 1840#define HAS_GETSERVBYNAME /**/ 1841/*#define HAS_GETSERVBYPORT / **/ 1842 1843/* HAS_GMTIME_R: 1844 * This symbol, if defined, indicates that the gmtime_r routine 1845 * is available to gmtime re-entrantly. 1846 */ 1847/* GMTIME_R_PROTO: 1848 * This symbol encodes the prototype of gmtime_r. 1849 * It is zero if d_gmtime_r is undef, and one of the 1850 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r 1851 * is defined. 1852 */ 1853/*#define HAS_GMTIME_R / **/ 1854#define GMTIME_R_PROTO 0 /**/ 1855 1856/* HAS_GNULIBC: 1857 * This symbol, if defined, indicates to the C program that 1858 * the GNU C library is being used. A better check is to use 1859 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc. 1860 */ 1861/*#define HAS_GNULIBC / **/ 1862#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) 1863# define _GNU_SOURCE 1864#endif 1865/* HAS_HASMNTOPT: 1866 * This symbol, if defined, indicates that the hasmntopt routine is 1867 * available to query the mount options of file systems. 1868 */ 1869/*#define HAS_HASMNTOPT / **/ 1870 1871/* HAS_HTONL: 1872 * This symbol, if defined, indicates that the htonl() routine (and 1873 * friends htons() ntohl() ntohs()) are available to do network 1874 * order byte swapping. 1875 */ 1876/* HAS_HTONS: 1877 * This symbol, if defined, indicates that the htons() routine (and 1878 * friends htonl() ntohl() ntohs()) are available to do network 1879 * order byte swapping. 1880 */ 1881/* HAS_NTOHL: 1882 * This symbol, if defined, indicates that the ntohl() routine (and 1883 * friends htonl() htons() ntohs()) are available to do network 1884 * order byte swapping. 1885 */ 1886/* HAS_NTOHS: 1887 * This symbol, if defined, indicates that the ntohs() routine (and 1888 * friends htonl() htons() ntohl()) are available to do network 1889 * order byte swapping. 1890 */ 1891#define HAS_HTONL /**/ 1892#define HAS_HTONS /**/ 1893#define HAS_NTOHL /**/ 1894#define HAS_NTOHS /**/ 1895 1896/* HAS_ILOGBL: 1897 * This symbol, if defined, indicates that the ilogbl routine is 1898 * available. If scalbnl is also present we can emulate frexpl. 1899 */ 1900/*#define HAS_ILOGBL /**/ 1901 1902/* HAS_INT64_T: 1903 * This symbol will defined if the C compiler supports int64_t. 1904 * Usually the <inttypes.h> needs to be included, but sometimes 1905 * <sys/types.h> is enough. 1906 */ 1907#define HAS_INT64_T /**/ 1908 1909/* HAS_ISASCII: 1910 * This manifest constant lets the C program know that isascii 1911 * is available. 1912 */ 1913/*#define HAS_ISASCII / **/ 1914 1915/* HAS_ISFINITE: 1916 * This symbol, if defined, indicates that the isfinite routine is 1917 * available to check whether a double is finite (non-infinity non-NaN). 1918 */ 1919/*#define HAS_ISFINITE / **/ 1920 1921/* HAS_ISINF: 1922 * This symbol, if defined, indicates that the isinf routine is 1923 * available to check whether a double is an infinity. 1924 */ 1925/*#define HAS_ISINF / **/ 1926 1927/* HAS_ISNAN: 1928 * This symbol, if defined, indicates that the isnan routine is 1929 * available to check whether a double is a NaN. 1930 */ 1931/*#define HAS_ISNAN / **/ 1932 1933/* HAS_ISNANL: 1934 * This symbol, if defined, indicates that the isnanl routine is 1935 * available to check whether a long double is a NaN. 1936 */ 1937/*#define HAS_ISNANL / **/ 1938 1939/* HAS_LCHOWN: 1940 * This symbol, if defined, indicates that the lchown routine is 1941 * available to operate on a symbolic link (instead of following the 1942 * link). 1943 */ 1944/*#define HAS_LCHOWN / **/ 1945 1946/* HAS_LDBL_DIG: 1947 * This symbol, if defined, indicates that this system's <float.h> 1948 * or <limits.h> defines the symbol LDBL_DIG, which is the number 1949 * of significant digits in a long double precision number. Unlike 1950 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. 1951 */ 1952#define HAS_LDBL_DIG /* */ 1953 1954/* HAS_LOCALTIME_R: 1955 * This symbol, if defined, indicates that the localtime_r routine 1956 * is available to localtime re-entrantly. 1957 */ 1958/* LOCALTIME_R_NEEDS_TZSET: 1959 * Many libc's localtime_r implementations do not call tzset, 1960 * making them differ from localtime(), and making timezone 1961 * changes using $ENV{TZ} without explicitly calling tzset 1962 * impossible. This symbol makes us call tzset before localtime_r 1963 */ 1964/* LOCALTIME_R_PROTO: 1965 * This symbol encodes the prototype of localtime_r. 1966 * It is zero if d_localtime_r is undef, and one of the 1967 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r 1968 * is defined. 1969 */ 1970/*#define HAS_LOCALTIME_R / **/ 1971/*#define LOCALTIME_R_NEEDS_TZSET / **/ 1972#define LOCALTIME_R_PROTO 0 /**/ 1973 1974/* HAS_LONG_DOUBLE: 1975 * This symbol will be defined if the C compiler supports long 1976 * doubles. 1977 */ 1978/* LONG_DOUBLESIZE: 1979 * This symbol contains the size of a long double, so that the 1980 * C preprocessor can make decisions based on it. It is only 1981 * defined if the system supports long doubles. 1982 */ 1983#define HAS_LONG_DOUBLE /**/ 1984#ifdef HAS_LONG_DOUBLE 1985#define LONG_DOUBLESIZE 8 /**/ 1986#endif 1987 1988/* HAS_LONG_LONG: 1989 * This symbol will be defined if the C compiler supports long long. 1990 */ 1991/* LONGLONGSIZE: 1992 * This symbol contains the size of a long long, so that the 1993 * C preprocessor can make decisions based on it. It is only 1994 * defined if the system supports long long. 1995 */ 1996#define HAS_LONG_LONG /**/ 1997#ifdef HAS_LONG_LONG 1998#define LONGLONGSIZE 8 /**/ 1999#endif 2000 2001/* HAS_LSEEK_PROTO: 2002 * This symbol, if defined, indicates that the system provides 2003 * a prototype for the lseek() function. Otherwise, it is up 2004 * to the program to supply one. A good guess is 2005 * extern off_t lseek(int, off_t, int); 2006 */ 2007/*#define HAS_LSEEK_PROTO / **/ 2008 2009/* HAS_MADVISE: 2010 * This symbol, if defined, indicates that the madvise system call is 2011 * available to map a file into memory. 2012 */ 2013/*#define HAS_MADVISE / **/ 2014 2015/* HAS_MEMCHR: 2016 * This symbol, if defined, indicates that the memchr routine is available 2017 * to locate characters within a C string. 2018 */ 2019#define HAS_MEMCHR /**/ 2020 2021/* HAS_MKDTEMP: 2022 * This symbol, if defined, indicates that the mkdtemp routine is 2023 * available to exclusively create a uniquely named temporary directory. 2024 */ 2025/*#define HAS_MKDTEMP / **/ 2026 2027/* HAS_MKSTEMP: 2028 * This symbol, if defined, indicates that the mkstemp routine is 2029 * available to exclusively create and open a uniquely named 2030 * temporary file. 2031 */ 2032/*#define HAS_MKSTEMP / **/ 2033 2034/* HAS_MKSTEMPS: 2035 * This symbol, if defined, indicates that the mkstemps routine is 2036 * available to exclusively create and open a uniquely named 2037 * (with a suffix) temporary file. 2038 */ 2039/*#define HAS_MKSTEMPS / **/ 2040 2041/* HAS_MMAP: 2042 * This symbol, if defined, indicates that the mmap system call is 2043 * available to map a file into memory. 2044 */ 2045/* Mmap_t: 2046 * This symbol holds the return type of the mmap() system call 2047 * (and simultaneously the type of the first argument). 2048 * Usually set to 'void *' or 'cadd_t'. 2049 */ 2050/*#define HAS_MMAP / **/ 2051#define Mmap_t void * /**/ 2052 2053/* HAS_MODFL: 2054 * This symbol, if defined, indicates that the modfl routine is 2055 * available to split a long double x into a fractional part f and 2056 * an integer part i such that |f| < 1.0 and (f + i) = x. 2057 */ 2058/*#define HAS_MODFL / **/ 2059 2060/* HAS_MPROTECT: 2061 * This symbol, if defined, indicates that the mprotect system call is 2062 * available to modify the access protection of a memory mapped file. 2063 */ 2064/*#define HAS_MPROTECT / **/ 2065 2066/* HAS_MSG: 2067 * This symbol, if defined, indicates that the entire msg*(2) library is 2068 * supported (IPC mechanism based on message queues). 2069 */ 2070/*#define HAS_MSG / **/ 2071 2072/* HAS_STRUCT_MSGHDR: 2073 * This symbol, if defined, indicates that the struct msghdr 2074 * is supported. 2075 */ 2076/*#define HAS_STRUCT_MSGHDR / **/ 2077 2078/* HAS_OFF64_T: 2079 * This symbol will be defined if the C compiler supports off64_t. 2080 */ 2081/*#define HAS_OFF64_T / **/ 2082 2083/* HAS_OPEN3: 2084 * This manifest constant lets the C program know that the three 2085 * argument form of open(2) is available. 2086 */ 2087#define HAS_OPEN3 /**/ 2088 2089/* OLD_PTHREAD_CREATE_JOINABLE: 2090 * This symbol, if defined, indicates how to create pthread 2091 * in joinable (aka undetached) state. NOTE: not defined 2092 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE 2093 * (the new version of the constant). 2094 * If defined, known values are PTHREAD_CREATE_UNDETACHED 2095 * and __UNDETACHED. 2096 */ 2097/*#define OLD_PTHREAD_CREATE_JOINABLE / **/ 2098 2099/* HAS_PTHREAD_YIELD: 2100 * This symbol, if defined, indicates that the pthread_yield 2101 * routine is available to yield the execution of the current 2102 * thread. sched_yield is preferable to pthread_yield. 2103 */ 2104/* SCHED_YIELD: 2105 * This symbol defines the way to yield the execution of 2106 * the current thread. Known ways are sched_yield, 2107 * pthread_yield, and pthread_yield with NULL. 2108 */ 2109/* HAS_SCHED_YIELD: 2110 * This symbol, if defined, indicates that the sched_yield 2111 * routine is available to yield the execution of the current 2112 * thread. sched_yield is preferable to pthread_yield. 2113 */ 2114/*#define HAS_PTHREAD_YIELD / **/ 2115#define SCHED_YIELD undef /**/ 2116/*#define HAS_SCHED_YIELD / **/ 2117 2118/* HAS_RANDOM_R: 2119 * This symbol, if defined, indicates that the random_r routine 2120 * is available to random re-entrantly. 2121 */ 2122/* RANDOM_R_PROTO: 2123 * This symbol encodes the prototype of random_r. 2124 * It is zero if d_random_r is undef, and one of the 2125 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r 2126 * is defined. 2127 */ 2128/*#define HAS_RANDOM_R / **/ 2129#define RANDOM_R_PROTO 0 /**/ 2130 2131/* HAS_READDIR_R: 2132 * This symbol, if defined, indicates that the readdir_r routine 2133 * is available to readdir re-entrantly. 2134 */ 2135/* READDIR_R_PROTO: 2136 * This symbol encodes the prototype of readdir_r. 2137 * It is zero if d_readdir_r is undef, and one of the 2138 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r 2139 * is defined. 2140 */ 2141/*#define HAS_READDIR_R / **/ 2142#define READDIR_R_PROTO 0 /**/ 2143 2144/* HAS_READV: 2145 * This symbol, if defined, indicates that the readv routine is 2146 * available to do gather reads. You will also need <sys/uio.h> 2147 * and there I_SYSUIO. 2148 */ 2149#define HAS_READV /**/ 2150 2151/* HAS_RECVMSG: 2152 * This symbol, if defined, indicates that the recvmsg routine is 2153 * available to send structured socket messages. 2154 */ 2155/*#define HAS_RECVMSG / **/ 2156 2157/* HAS_SAFE_BCOPY: 2158 * This symbol, if defined, indicates that the bcopy routine is available 2159 * to copy potentially overlapping memory blocks. Normally, you should 2160 * probably use memmove() or memcpy(). If neither is defined, roll your 2161 * own version. 2162 */ 2163/*#define HAS_SAFE_BCOPY / **/ 2164 2165/* HAS_SAFE_MEMCPY: 2166 * This symbol, if defined, indicates that the memcpy routine is available 2167 * to copy potentially overlapping memory blocks. If you need to 2168 * copy overlapping memory blocks, you should check HAS_MEMMOVE and 2169 * use memmove() instead, if available. 2170 */ 2171/*#define HAS_SAFE_MEMCPY / **/ 2172 2173/* HAS_SANE_MEMCMP: 2174 * This symbol, if defined, indicates that the memcmp routine is available 2175 * and can be used to compare relative magnitudes of chars with their high 2176 * bits set. If it is not defined, roll your own version. 2177 */ 2178#define HAS_SANE_MEMCMP /**/ 2179 2180/* HAS_SBRK_PROTO: 2181 * This symbol, if defined, indicates that the system provides 2182 * a prototype for the sbrk() function. Otherwise, it is up 2183 * to the program to supply one. Good guesses are 2184 * extern void* sbrk(int); 2185 * extern void* sbrk(size_t); 2186 */ 2187/*#define HAS_SBRK_PROTO / **/ 2188 2189/* HAS_SEM: 2190 * This symbol, if defined, indicates that the entire sem*(2) library is 2191 * supported. 2192 */ 2193/*#define HAS_SEM / **/ 2194 2195/* HAS_SCALBNL: 2196 * This symbol, if defined, indicates that the scalbnl routine is 2197 * available. If ilogbl is also present we can emulate frexpl. 2198 */ 2199/*#define HAS_SCALBNL /**/ 2200 2201/* HAS_SENDMSG: 2202 * This symbol, if defined, indicates that the sendmsg routine is 2203 * available to send structured socket messages. 2204 */ 2205/*#define HAS_SENDMSG / **/ 2206 2207/* HAS_SETGRENT: 2208 * This symbol, if defined, indicates that the setgrent routine is 2209 * available for initializing sequential access of the group database. 2210 */ 2211#define HAS_SETGRENT /**/ 2212 2213/* HAS_SETGRENT_R: 2214 * This symbol, if defined, indicates that the setgrent_r routine 2215 * is available to setgrent re-entrantly. 2216 */ 2217/* SETGRENT_R_PROTO: 2218 * This symbol encodes the prototype of setgrent_r. 2219 * It is zero if d_setgrent_r is undef, and one of the 2220 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r 2221 * is defined. 2222 */ 2223/*#define HAS_SETGRENT_R / **/ 2224#define SETGRENT_R_PROTO 0 /**/ 2225 2226/* HAS_SETGROUPS: 2227 * This symbol, if defined, indicates that the setgroups() routine is 2228 * available to set the list of process groups. If unavailable, multiple 2229 * groups are probably not supported. 2230 */ 2231/*#define HAS_SETGROUPS /* config-skip */ 2232 2233/* HAS_SETHOSTENT: 2234 * This symbol, if defined, indicates that the sethostent() routine is 2235 * available. 2236 */ 2237/*#define HAS_SETHOSTENT / **/ 2238 2239/* HAS_SETITIMER: 2240 * This symbol, if defined, indicates that the setitimer routine is 2241 * available to set interval timers. 2242 */ 2243/*#define HAS_SETITIMER / **/ 2244 2245/* HAS_SETNETENT: 2246 * This symbol, if defined, indicates that the setnetent() routine is 2247 * available. 2248 */ 2249/*#define HAS_SETNETENT / **/ 2250 2251/* HAS_SETPROTOENT: 2252 * This symbol, if defined, indicates that the setprotoent() routine is 2253 * available. 2254 */ 2255/*#define HAS_SETPROTOENT / **/ 2256 2257/* HAS_SETPGRP: 2258 * This symbol, if defined, indicates that the setpgrp routine is 2259 * available to set the current process group. 2260 */ 2261/* USE_BSD_SETPGRP: 2262 * This symbol, if defined, indicates that setpgrp needs two 2263 * arguments whereas USG one needs none. See also HAS_SETPGID 2264 * for a POSIX interface. 2265 */ 2266/*#define HAS_SETPGRP / **/ 2267/*#define USE_BSD_SETPGRP / **/ 2268 2269/* HAS_SETPROCTITLE: 2270 * This symbol, if defined, indicates that the setproctitle routine is 2271 * available to set process title. 2272 */ 2273/*#define HAS_SETPROCTITLE / **/ 2274 2275/* HAS_SETPWENT: 2276 * This symbol, if defined, indicates that the setpwent routine is 2277 * available for initializing sequential access of the passwd database. 2278 */ 2279#define HAS_SETPWENT /**/ 2280 2281/* HAS_SETPWENT_R: 2282 * This symbol, if defined, indicates that the setpwent_r routine 2283 * is available to setpwent re-entrantly. 2284 */ 2285/* SETPWENT_R_PROTO: 2286 * This symbol encodes the prototype of setpwent_r. 2287 * It is zero if d_setpwent_r is undef, and one of the 2288 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r 2289 * is defined. 2290 */ 2291/*#define HAS_SETPWENT_R / **/ 2292#define SETPWENT_R_PROTO 0 /**/ 2293 2294/* HAS_SETSERVENT: 2295 * This symbol, if defined, indicates that the setservent() routine is 2296 * available. 2297 */ 2298/*#define HAS_SETSERVENT / **/ 2299 2300/* HAS_SETVBUF: 2301 * This symbol, if defined, indicates that the setvbuf routine is 2302 * available to change buffering on an open stdio stream. 2303 * to a line-buffered mode. 2304 */ 2305#define HAS_SETVBUF /**/ 2306 2307/* HAS_SHM: 2308 * This symbol, if defined, indicates that the entire shm*(2) library is 2309 * supported. 2310 */ 2311/*#define HAS_SHM / **/ 2312 2313/* HAS_SIGACTION: 2314 * This symbol, if defined, indicates that Vr4's sigaction() routine 2315 * is available. 2316 */ 2317#define HAS_SIGACTION /**/ 2318 2319/* HAS_SIGSETJMP: 2320 * This variable indicates to the C program that the sigsetjmp() 2321 * routine is available to save the calling process's registers 2322 * and stack environment for later use by siglongjmp(), and 2323 * to optionally save the process's signal mask. See 2324 * Sigjmp_buf, Sigsetjmp, and Siglongjmp. 2325 */ 2326/* Sigjmp_buf: 2327 * This is the buffer type to be used with Sigsetjmp and Siglongjmp. 2328 */ 2329/* Sigsetjmp: 2330 * This macro is used in the same way as sigsetjmp(), but will invoke 2331 * traditional setjmp() if sigsetjmp isn't available. 2332 * See HAS_SIGSETJMP. 2333 */ 2334/* Siglongjmp: 2335 * This macro is used in the same way as siglongjmp(), but will invoke 2336 * traditional longjmp() if siglongjmp isn't available. 2337 * See HAS_SIGSETJMP. 2338 */ 2339#define HAS_SIGSETJMP /* config-skip */ 2340#ifdef HAS_SIGSETJMP 2341#define Sigjmp_buf sigjmp_buf /* config-skip */ 2342#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) /* config-skip */ 2343#define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) /* config-skip */ 2344#else 2345#define Sigjmp_buf jmp_buf 2346#define Sigsetjmp(buf,save_mask) setjmp((buf)) 2347#define Siglongjmp(buf,retval) longjmp((buf),(retval)) 2348#endif 2349 2350/* HAS_STATIC_INLINE: 2351 * This symbol, if defined, indicates that the C compiler supports 2352 * C99-style static inline. That is, the function can't be called 2353 * from another translation unit. 2354 */ 2355/* PERL_STATIC_INLINE: 2356 * This symbol gives the best-guess incantation to use for static 2357 * inline functions. If HAS_STATIC_INLINE is defined, this will 2358 * give C99-style inline. If HAS_STATIC_INLINE is not defined, 2359 * this will give a plain 'static'. It will always be defined 2360 * to something that gives static linkage. 2361 * Possibilities include 2362 * static inline (c99) 2363 * static __inline__ (gcc -ansi) 2364 * static __inline (MSVC) 2365 * static _inline (older MSVC) 2366 * static (c89 compilers) 2367 */ 2368/*#define HAS_STATIC_INLINE / **/ 2369#define PERL_STATIC_INLINE static /**/ 2370 2371/* HAS_SOCKET: 2372 * This symbol, if defined, indicates that the BSD socket interface is 2373 * supported. 2374 */ 2375/* HAS_SOCKETPAIR: 2376 * This symbol, if defined, indicates that the BSD socketpair() call is 2377 * supported. 2378 */ 2379#define HAS_SOCKET /**/ 2380#define HAS_SOCKETPAIR /**/ 2381 2382/* HAS_SOCKS5_INIT: 2383 * This symbol, if defined, indicates that the socks5_init routine is 2384 * available to initialize SOCKS 5. 2385 */ 2386/*#define HAS_SOCKS5_INIT / **/ 2387 2388/* HAS_SQRTL: 2389 * This symbol, if defined, indicates that the sqrtl routine is 2390 * available to do long double square roots. 2391 */ 2392/*#define HAS_SQRTL / **/ 2393 2394/* HAS_SRAND48_R: 2395 * This symbol, if defined, indicates that the srand48_r routine 2396 * is available to srand48 re-entrantly. 2397 */ 2398/* SRAND48_R_PROTO: 2399 * This symbol encodes the prototype of srand48_r. 2400 * It is zero if d_srand48_r is undef, and one of the 2401 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r 2402 * is defined. 2403 */ 2404/*#define HAS_SRAND48_R / **/ 2405#define SRAND48_R_PROTO 0 /**/ 2406 2407/* HAS_SRANDOM_R: 2408 * This symbol, if defined, indicates that the srandom_r routine 2409 * is available to srandom re-entrantly. 2410 */ 2411/* SRANDOM_R_PROTO: 2412 * This symbol encodes the prototype of srandom_r. 2413 * It is zero if d_srandom_r is undef, and one of the 2414 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r 2415 * is defined. 2416 */ 2417/*#define HAS_SRANDOM_R / **/ 2418#define SRANDOM_R_PROTO 0 /**/ 2419 2420/* USE_STAT_BLOCKS: 2421 * This symbol is defined if this system has a stat structure declaring 2422 * st_blksize and st_blocks. 2423 */ 2424#ifndef USE_STAT_BLOCKS 2425/*#define USE_STAT_BLOCKS / **/ 2426#endif 2427 2428/* HAS_STRUCT_STATFS_F_FLAGS: 2429 * This symbol, if defined, indicates that the struct statfs 2430 * does have the f_flags member containing the mount flags of 2431 * the filesystem containing the file. 2432 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), 2433 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not 2434 * have statfs() and struct statfs, they have ustat() and getmnt() 2435 * with struct ustat and struct fs_data. 2436 */ 2437/*#define HAS_STRUCT_STATFS_F_FLAGS / **/ 2438 2439/* HAS_STRUCT_STATFS: 2440 * This symbol, if defined, indicates that the struct statfs 2441 * to do statfs() is supported. 2442 */ 2443/*#define HAS_STRUCT_STATFS / **/ 2444 2445/* HAS_FSTATVFS: 2446 * This symbol, if defined, indicates that the fstatvfs routine is 2447 * available to stat filesystems by file descriptors. 2448 */ 2449/*#define HAS_FSTATVFS / **/ 2450 2451/* USE_STDIO_PTR: 2452 * This symbol is defined if the _ptr and _cnt fields (or similar) 2453 * of the stdio FILE structure can be used to access the stdio buffer 2454 * for a file handle. If this is defined, then the FILE_ptr(fp) 2455 * and FILE_cnt(fp) macros will also be defined and should be used 2456 * to access these fields. 2457 */ 2458/* FILE_ptr: 2459 * This macro is used to access the _ptr field (or equivalent) of the 2460 * FILE structure pointed to by its argument. This macro will always be 2461 * defined if USE_STDIO_PTR is defined. 2462 */ 2463/* STDIO_PTR_LVALUE: 2464 * This symbol is defined if the FILE_ptr macro can be used as an 2465 * lvalue. 2466 */ 2467/* FILE_cnt: 2468 * This macro is used to access the _cnt field (or equivalent) of the 2469 * FILE structure pointed to by its argument. This macro will always be 2470 * defined if USE_STDIO_PTR is defined. 2471 */ 2472/* STDIO_CNT_LVALUE: 2473 * This symbol is defined if the FILE_cnt macro can be used as an 2474 * lvalue. 2475 */ 2476/* STDIO_PTR_LVAL_SETS_CNT: 2477 * This symbol is defined if using the FILE_ptr macro as an lvalue 2478 * to increase the pointer by n has the side effect of decreasing the 2479 * value of File_cnt(fp) by n. 2480 */ 2481/* STDIO_PTR_LVAL_NOCHANGE_CNT: 2482 * This symbol is defined if using the FILE_ptr macro as an lvalue 2483 * to increase the pointer by n leaves File_cnt(fp) unchanged. 2484 */ 2485/*#define USE_STDIO_PTR / **/ 2486#ifdef USE_STDIO_PTR 2487#define FILE_ptr(fp) ((fp)->_ptr) 2488/*#define STDIO_PTR_LVALUE / **/ 2489#define FILE_cnt(fp) ((fp)->_cnt) 2490/*#define STDIO_CNT_LVALUE / **/ 2491/*#define STDIO_PTR_LVAL_SETS_CNT / **/ 2492/*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/ 2493#endif 2494 2495/* USE_STDIO_BASE: 2496 * This symbol is defined if the _base field (or similar) of the 2497 * stdio FILE structure can be used to access the stdio buffer for 2498 * a file handle. If this is defined, then the FILE_base(fp) macro 2499 * will also be defined and should be used to access this field. 2500 * Also, the FILE_bufsiz(fp) macro will be defined and should be used 2501 * to determine the number of bytes in the buffer. USE_STDIO_BASE 2502 * will never be defined unless USE_STDIO_PTR is. 2503 */ 2504/* FILE_base: 2505 * This macro is used to access the _base field (or equivalent) of the 2506 * FILE structure pointed to by its argument. This macro will always be 2507 * defined if USE_STDIO_BASE is defined. 2508 */ 2509/* FILE_bufsiz: 2510 * This macro is used to determine the number of bytes in the I/O 2511 * buffer pointed to by _base field (or equivalent) of the FILE 2512 * structure pointed to its argument. This macro will always be defined 2513 * if USE_STDIO_BASE is defined. 2514 */ 2515/*#define USE_STDIO_BASE / **/ 2516#ifdef USE_STDIO_BASE 2517#define FILE_base(fp) ((fp)->_base) 2518#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base) 2519#endif 2520 2521/* HAS_STRERROR: 2522 * This symbol, if defined, indicates that the strerror routine is 2523 * available to translate error numbers to strings. See the writeup 2524 * of Strerror() in this file before you try to define your own. 2525 */ 2526/* HAS_SYS_ERRLIST: 2527 * This symbol, if defined, indicates that the sys_errlist array is 2528 * available to translate error numbers to strings. The extern int 2529 * sys_nerr gives the size of that table. 2530 */ 2531/* Strerror: 2532 * This preprocessor symbol is defined as a macro if strerror() is 2533 * not available to translate error numbers to strings but sys_errlist[] 2534 * array is there. 2535 */ 2536#define HAS_STRERROR /**/ 2537#define HAS_SYS_ERRLIST /**/ 2538#define Strerror(e) strerror(e) 2539 2540/* HAS_STRERROR_R: 2541 * This symbol, if defined, indicates that the strerror_r routine 2542 * is available to strerror re-entrantly. 2543 */ 2544/* STRERROR_R_PROTO: 2545 * This symbol encodes the prototype of strerror_r. 2546 * It is zero if d_strerror_r is undef, and one of the 2547 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r 2548 * is defined. 2549 */ 2550/*#define HAS_STRERROR_R / **/ 2551#define STRERROR_R_PROTO 0 /**/ 2552 2553/* HAS_STRTOLD: 2554 * This symbol, if defined, indicates that the strtold routine is 2555 * available to convert strings to long doubles. 2556 */ 2557/*#define HAS_STRTOLD / **/ 2558 2559/* HAS_STRTOLL: 2560 * This symbol, if defined, indicates that the strtoll routine is 2561 * available to convert strings to long longs. 2562 */ 2563/*#define HAS_STRTOLL / **/ 2564 2565/* HAS_STRTOQ: 2566 * This symbol, if defined, indicates that the strtoq routine is 2567 * available to convert strings to long longs (quads). 2568 */ 2569/*#define HAS_STRTOQ / **/ 2570 2571/* HAS_STRTOUL: 2572 * This symbol, if defined, indicates that the strtoul routine is 2573 * available to provide conversion of strings to unsigned long. 2574 */ 2575#define HAS_STRTOUL /**/ 2576 2577/* HAS_STRTOULL: 2578 * This symbol, if defined, indicates that the strtoull routine is 2579 * available to convert strings to unsigned long longs. 2580 */ 2581/*#define HAS_STRTOULL / **/ 2582 2583/* HAS_STRTOUQ: 2584 * This symbol, if defined, indicates that the strtouq routine is 2585 * available to convert strings to unsigned long longs (quads). 2586 */ 2587/*#define HAS_STRTOUQ / **/ 2588 2589/* HAS_TELLDIR_PROTO: 2590 * This symbol, if defined, indicates that the system provides 2591 * a prototype for the telldir() function. Otherwise, it is up 2592 * to the program to supply one. A good guess is 2593 * extern long telldir(DIR*); 2594 */ 2595/*#define HAS_TELLDIR_PROTO / **/ 2596 2597/* HAS_TIME: 2598 * This symbol, if defined, indicates that the time() routine exists. 2599 */ 2600/* Time_t: 2601 * This symbol holds the type returned by time(). It can be long, 2602 * or time_t on BSD sites (in which case <sys/types.h> should be 2603 * included). 2604 */ 2605#define HAS_TIME /**/ 2606#define Time_t time_t /* Time type */ 2607 2608/* HAS_TIMES: 2609 * This symbol, if defined, indicates that the times() routine exists. 2610 * Note that this became obsolete on some systems (SUNOS), which now 2611 * use getrusage(). It may be necessary to include <sys/times.h>. 2612 */ 2613#define HAS_TIMES /**/ 2614 2615/* HAS_TMPNAM_R: 2616 * This symbol, if defined, indicates that the tmpnam_r routine 2617 * is available to tmpnam re-entrantly. 2618 */ 2619/* TMPNAM_R_PROTO: 2620 * This symbol encodes the prototype of tmpnam_r. 2621 * It is zero if d_tmpnam_r is undef, and one of the 2622 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r 2623 * is defined. 2624 */ 2625/*#define HAS_TMPNAM_R / **/ 2626#define TMPNAM_R_PROTO 0 /**/ 2627 2628/* HAS_UALARM: 2629 * This symbol, if defined, indicates that the ualarm routine is 2630 * available to do alarms with microsecond granularity. 2631 */ 2632/*#define HAS_UALARM / **/ 2633 2634/* HAS_UNION_SEMUN: 2635 * This symbol, if defined, indicates that the union semun is 2636 * defined by including <sys/sem.h>. If not, the user code 2637 * probably needs to define it as: 2638 * union semun { 2639 * int val; 2640 * struct semid_ds *buf; 2641 * unsigned short *array; 2642 * } 2643 */ 2644/* USE_SEMCTL_SEMUN: 2645 * This symbol, if defined, indicates that union semun is 2646 * used for semctl IPC_STAT. 2647 */ 2648/* USE_SEMCTL_SEMID_DS: 2649 * This symbol, if defined, indicates that struct semid_ds * is 2650 * used for semctl IPC_STAT. 2651 */ 2652/*#define HAS_UNION_SEMUN / **/ 2653/*#define USE_SEMCTL_SEMUN / **/ 2654/*#define USE_SEMCTL_SEMID_DS / **/ 2655 2656/* HAS_UNORDERED: 2657 * This symbol, if defined, indicates that the unordered routine is 2658 * available to check whether two doubles are unordered 2659 * (effectively: whether either of them is NaN) 2660 */ 2661/*#define HAS_UNORDERED / **/ 2662 2663/* HAS_USTAT: 2664 * This symbol, if defined, indicates that the ustat system call is 2665 * available to query file system statistics by dev_t. 2666 */ 2667/*#define HAS_USTAT / **/ 2668 2669/* HAS_VFORK: 2670 * This symbol, if defined, indicates that vfork() exists. 2671 */ 2672/*#define HAS_VFORK / **/ 2673 2674/* Signal_t: 2675 * This symbol's value is either "void" or "int", corresponding to the 2676 * appropriate return type of a signal handler. Thus, you can declare 2677 * a signal handler using "Signal_t (*handler)()", and define the 2678 * handler using "Signal_t handler(sig)". 2679 */ 2680#define Signal_t void /* Signal handler's return type */ 2681 2682/* HAS_VPRINTF: 2683 * This symbol, if defined, indicates that the vprintf routine is available 2684 * to printf with a pointer to an argument list. If unavailable, you 2685 * may need to write your own, probably in terms of _doprnt(). 2686 */ 2687/* USE_CHAR_VSPRINTF: 2688 * This symbol is defined if this system has vsprintf() returning type 2689 * (char*). The trend seems to be to declare it as "int vsprintf()". It 2690 * is up to the package author to declare vsprintf correctly based on the 2691 * symbol. 2692 */ 2693#define HAS_VPRINTF /**/ 2694#define USE_CHAR_VSPRINTF /**/ 2695 2696/* HAS_WRITEV: 2697 * This symbol, if defined, indicates that the writev routine is 2698 * available to do scatter writes. 2699 */ 2700#define HAS_WRITEV /**/ 2701 2702/* USE_DYNAMIC_LOADING: 2703 * This symbol, if defined, indicates that dynamic loading of 2704 * some sort is available. 2705 */ 2706/*#define USE_DYNAMIC_LOADING / **/ 2707 2708/* DOUBLESIZE: 2709 * This symbol contains the size of a double, so that the C preprocessor 2710 * can make decisions based on it. 2711 */ 2712#define DOUBLESIZE 8 /**/ 2713 2714/* EBCDIC: 2715 * This symbol, if defined, indicates that this system uses 2716 * EBCDIC encoding. 2717 */ 2718/*#define EBCDIC / **/ 2719 2720/* FFLUSH_NULL: 2721 * This symbol, if defined, tells that fflush(NULL) does flush 2722 * all pending stdio output. 2723 */ 2724/* FFLUSH_ALL: 2725 * This symbol, if defined, tells that to flush 2726 * all pending stdio output one must loop through all 2727 * the stdio file handles stored in an array and fflush them. 2728 * Note that if fflushNULL is defined, fflushall will not 2729 * even be probed for and will be left undefined. 2730 */ 2731#define FFLUSH_NULL /**/ 2732/*#define FFLUSH_ALL / **/ 2733 2734/* Fpos_t: 2735 * This symbol holds the type used to declare file positions in libc. 2736 * It can be fpos_t, long, uint, etc... It may be necessary to include 2737 * <sys/types.h> to get any typedef'ed information. 2738 */ 2739#define Fpos_t fpos_t /* File position type */ 2740 2741/* Gid_t_f: 2742 * This symbol defines the format string used for printing a Gid_t. 2743 */ 2744#define Gid_t_f "hd" /**/ 2745 2746/* Gid_t_sign: 2747 * This symbol holds the signedess of a Gid_t. 2748 * 1 for unsigned, -1 for signed. 2749 */ 2750#define Gid_t_sign -1 /* GID sign */ 2751 2752/* Gid_t_size: 2753 * This symbol holds the size of a Gid_t in bytes. 2754 */ 2755#define Gid_t_size 2 /* GID size */ 2756 2757/* Gid_t: 2758 * This symbol holds the return type of getgid() and the type of 2759 * argument to setrgid() and related functions. Typically, 2760 * it is the type of group ids in the kernel. It can be int, ushort, 2761 * gid_t, etc... It may be necessary to include <sys/types.h> to get 2762 * any typedef'ed information. 2763 */ 2764#define Gid_t gid_t /* Type for getgid(), etc... */ /* config-skip */ 2765 2766/* Groups_t: 2767 * This symbol holds the type used for the second argument to 2768 * getgroups() and setgroups(). Usually, this is the same as 2769 * gidtype (gid_t) , but sometimes it isn't. 2770 * It can be int, ushort, gid_t, etc... 2771 * It may be necessary to include <sys/types.h> to get any 2772 * typedef'ed information. This is only required if you have 2773 * getgroups() or setgroups().. 2774 */ 2775#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) 2776#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ 2777#endif 2778 2779/* DB_Prefix_t: 2780 * This symbol contains the type of the prefix structure element 2781 * in the <db.h> header file. In older versions of DB, it was 2782 * int, while in newer ones it is u_int32_t. 2783 */ 2784/* DB_Hash_t: 2785 * This symbol contains the type of the prefix structure element 2786 * in the <db.h> header file. In older versions of DB, it was 2787 * int, while in newer ones it is size_t. 2788 */ 2789/* DB_VERSION_MAJOR_CFG: 2790 * This symbol, if defined, defines the major version number of 2791 * Berkeley DB found in the <db.h> header when Perl was configured. 2792 */ 2793/* DB_VERSION_MINOR_CFG: 2794 * This symbol, if defined, defines the minor version number of 2795 * Berkeley DB found in the <db.h> header when Perl was configured. 2796 * For DB version 1 this is always 0. 2797 */ 2798/* DB_VERSION_PATCH_CFG: 2799 * This symbol, if defined, defines the patch version number of 2800 * Berkeley DB found in the <db.h> header when Perl was configured. 2801 * For DB version 1 this is always 0. 2802 */ 2803#define DB_Hash_t u_int32_t /**/ 2804#define DB_Prefix_t size_t /**/ 2805#define DB_VERSION_MAJOR_CFG /**/ 2806#define DB_VERSION_MINOR_CFG /**/ 2807#define DB_VERSION_PATCH_CFG /**/ 2808 2809/* I_FP_CLASS: 2810 * This symbol, if defined, indicates that <fp_class.h> exists and 2811 * should be included. 2812 */ 2813/*#define I_FP_CLASS / **/ 2814 2815/* I_GRP: 2816 * This symbol, if defined, indicates to the C program that it should 2817 * include <grp.h>. 2818 */ 2819/* GRPASSWD: 2820 * This symbol, if defined, indicates to the C program that struct group 2821 * in <grp.h> contains gr_passwd. 2822 */ 2823#define I_GRP /**/ 2824/*#define GRPASSWD / **/ 2825 2826/* I_IEEEFP: 2827 * This symbol, if defined, indicates that <ieeefp.h> exists and 2828 * should be included. 2829 */ 2830/*#define I_IEEEFP / **/ 2831 2832/* I_INTTYPES: 2833 * This symbol, if defined, indicates to the C program that it should 2834 * include <inttypes.h>. 2835 */ 2836#define I_INTTYPES /**/ 2837 2838/* I_LIBUTIL: 2839 * This symbol, if defined, indicates that <libutil.h> exists and 2840 * should be included. 2841 */ 2842/*#define I_LIBUTIL / **/ 2843 2844/* I_MACH_CTHREADS: 2845 * This symbol, if defined, indicates to the C program that it should 2846 * include <mach/cthreads.h>. 2847 */ 2848/*#define I_MACH_CTHREADS / **/ 2849 2850/* I_MNTENT: 2851 * This symbol, if defined, indicates that <mntent.h> exists and 2852 * should be included. 2853 */ 2854/*#define I_MNTENT / **/ 2855 2856/* I_NETDB: 2857 * This symbol, if defined, indicates that <netdb.h> exists and 2858 * should be included. 2859 */ 2860#define I_NETDB /**/ 2861 2862/* I_NETINET_TCP: 2863 * This symbol, if defined, indicates to the C program that it should 2864 * include <netinet/tcp.h>. 2865 */ 2866#define I_NETINET_TCP /**/ 2867 2868/* I_POLL: 2869 * This symbol, if defined, indicates that <poll.h> exists and 2870 * should be included. 2871 */ 2872/*#define I_POLL / **/ 2873 2874/* I_PROT: 2875 * This symbol, if defined, indicates that <prot.h> exists and 2876 * should be included. 2877 */ 2878/*#define I_PROT / **/ 2879 2880/* I_PTHREAD: 2881 * This symbol, if defined, indicates to the C program that it should 2882 * include <pthread.h>. 2883 */ 2884/*#define I_PTHREAD / **/ 2885 2886/* I_PWD: 2887 * This symbol, if defined, indicates to the C program that it should 2888 * include <pwd.h>. 2889 */ 2890/* PWQUOTA: 2891 * This symbol, if defined, indicates to the C program that struct passwd 2892 * contains pw_quota. 2893 */ 2894/* PWAGE: 2895 * This symbol, if defined, indicates to the C program that struct passwd 2896 * contains pw_age. 2897 */ 2898/* PWCHANGE: 2899 * This symbol, if defined, indicates to the C program that struct passwd 2900 * contains pw_change. 2901 */ 2902/* PWCLASS: 2903 * This symbol, if defined, indicates to the C program that struct passwd 2904 * contains pw_class. 2905 */ 2906/* PWEXPIRE: 2907 * This symbol, if defined, indicates to the C program that struct passwd 2908 * contains pw_expire. 2909 */ 2910/* PWCOMMENT: 2911 * This symbol, if defined, indicates to the C program that struct passwd 2912 * contains pw_comment. 2913 */ 2914/* PWGECOS: 2915 * This symbol, if defined, indicates to the C program that struct passwd 2916 * contains pw_gecos. 2917 */ 2918/* PWPASSWD: 2919 * This symbol, if defined, indicates to the C program that struct passwd 2920 * contains pw_passwd. 2921 */ 2922#define I_PWD /**/ 2923/*#define PWQUOTA / **/ 2924/*#define PWAGE / **/ 2925/*#define PWCHANGE / **/ 2926/*#define PWCLASS / **/ 2927/*#define PWEXPIRE / **/ 2928/*#define PWCOMMENT / **/ 2929/*#define PWGECOS / **/ 2930/*#define PWPASSWD / **/ 2931 2932/* I_SHADOW: 2933 * This symbol, if defined, indicates that <shadow.h> exists and 2934 * should be included. 2935 */ 2936/*#define I_SHADOW / **/ 2937 2938/* I_SOCKS: 2939 * This symbol, if defined, indicates that <socks.h> exists and 2940 * should be included. 2941 */ 2942/*#define I_SOCKS / **/ 2943 2944/* I_SUNMATH: 2945 * This symbol, if defined, indicates that <sunmath.h> exists and 2946 * should be included. 2947 */ 2948/*#define I_SUNMATH / **/ 2949 2950/* I_SYSLOG: 2951 * This symbol, if defined, indicates that <syslog.h> exists and 2952 * should be included. 2953 */ 2954/*#define I_SYSLOG / **/ 2955 2956/* I_SYSMODE: 2957 * This symbol, if defined, indicates that <sys/mode.h> exists and 2958 * should be included. 2959 */ 2960/*#define I_SYSMODE / **/ 2961 2962/* I_SYS_MOUNT: 2963 * This symbol, if defined, indicates that <sys/mount.h> exists and 2964 * should be included. 2965 */ 2966/*#define I_SYS_MOUNT / **/ 2967 2968/* I_SYS_STATFS: 2969 * This symbol, if defined, indicates that <sys/statfs.h> exists. 2970 */ 2971/*#define I_SYS_STATFS / **/ 2972 2973/* I_SYS_STATVFS: 2974 * This symbol, if defined, indicates that <sys/statvfs.h> exists and 2975 * should be included. 2976 */ 2977/*#define I_SYS_STATVFS / **/ 2978 2979/* I_SYSUIO: 2980 * This symbol, if defined, indicates that <sys/uio.h> exists and 2981 * should be included. 2982 */ 2983#define I_SYSUIO /**/ 2984 2985/* I_SYSUTSNAME: 2986 * This symbol, if defined, indicates that <sys/utsname.h> exists and 2987 * should be included. 2988 */ 2989#define I_SYSUTSNAME /**/ 2990 2991/* I_SYS_VFS: 2992 * This symbol, if defined, indicates that <sys/vfs.h> exists and 2993 * should be included. 2994 */ 2995/*#define I_SYS_VFS / **/ 2996 2997/* Plan 9: P9 has both <time.h> and <sys/time.h> */ 2998/* I_TIME: 2999 * This symbol, if defined, indicates to the C program that it should 3000 * include <time.h>. 3001 */ 3002/* I_SYS_TIME: 3003 * This symbol, if defined, indicates to the C program that it should 3004 * include <sys/time.h>. 3005 */ 3006#define I_SYS_TIME /**/ 3007 3008 3009/* I_SYS_TIME_KERNEL: 3010 * This symbol, if defined, indicates to the C program that it should 3011 * include <sys/time.h> with KERNEL defined. 3012 */ 3013/* HAS_TM_TM_ZONE: 3014 * This symbol, if defined, indicates to the C program that 3015 * the struct tm has a tm_zone field. 3016 */ 3017#define I_TIME /**/ 3018/*#define I_SYS_TIME / **/ 3019/*#define I_SYS_TIME_KERNEL / **/ 3020/*#define HAS_TM_TM_ZONE / **/ 3021 3022/* I_USTAT: 3023 * This symbol, if defined, indicates that <ustat.h> exists and 3024 * should be included. 3025 */ 3026/*#define I_USTAT / **/ 3027 3028/* PERL_INC_VERSION_LIST: 3029 * This variable specifies the list of subdirectories in over 3030 * which perl.c:incpush() and lib/lib.pm will automatically 3031 * search when adding directories to @INC, in a format suitable 3032 * for a C initialization string. See the inc_version_list entry 3033 * in Porting/Glossary for more details. 3034 */ 3035#define PERL_INC_VERSION_LIST 0 /**/ 3036 3037/* INSTALL_USR_BIN_PERL: 3038 * This symbol, if defined, indicates that Perl is to be installed 3039 * also as /usr/bin/perl. 3040 */ 3041/*#define INSTALL_USR_BIN_PERL / **/ 3042 3043/* PERL_PRIfldbl: 3044 * This symbol, if defined, contains the string used by stdio to 3045 * format long doubles (format 'f') for output. 3046 */ 3047/* PERL_PRIgldbl: 3048 * This symbol, if defined, contains the string used by stdio to 3049 * format long doubles (format 'g') for output. 3050 */ 3051/* PERL_PRIeldbl: 3052 * This symbol, if defined, contains the string used by stdio to 3053 * format long doubles (format 'e') for output. 3054 */ 3055/* PERL_SCNfldbl: 3056 * This symbol, if defined, contains the string used by stdio to 3057 * format long doubles (format 'f') for input. 3058 */ 3059#define PERL_PRIfldbl "f" /**/ 3060#define PERL_PRIgldbl "g" /**/ 3061#define PERL_PRIeldbl "e" /**/ 3062#define PERL_SCNfldbl "f" /**/ 3063 3064/* Off_t: 3065 * This symbol holds the type used to declare offsets in the kernel. 3066 * It can be int, long, off_t, etc... It may be necessary to include 3067 * <sys/types.h> to get any typedef'ed information. 3068 */ 3069/* LSEEKSIZE: 3070 * This symbol holds the number of bytes used by the Off_t. 3071 */ 3072/* Off_t_size: 3073 * This symbol holds the number of bytes used by the Off_t. 3074 */ 3075#define Off_t off_t /* <offset> type */ 3076#define LSEEKSIZE 8 /* <offset> size */ 3077#define Off_t_size 8 /* <offset> size */ 3078 3079/* Free_t: 3080 * This variable contains the return type of free(). It is usually 3081 * void, but occasionally int. 3082 */ 3083/* Malloc_t: 3084 * This symbol is the type of pointer returned by malloc and realloc. 3085 */ 3086#define Malloc_t void * /**/ 3087#define Free_t void /**/ 3088 3089/* MYMALLOC: 3090 * This symbol, if defined, indicates that we're using our own malloc. 3091 */ 3092#define MYMALLOC /**/ 3093 3094/* Mode_t: 3095 * This symbol holds the type used to declare file modes 3096 * for systems calls. It is usually mode_t, but may be 3097 * int or unsigned short. It may be necessary to include <sys/types.h> 3098 * to get any typedef'ed information. 3099 */ 3100#define Mode_t mode_t /* file mode parameter for system calls */ 3101 3102/* VAL_O_NONBLOCK: 3103 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on 3104 * non-blocking I/O for the file descriptor. Note that there is no way 3105 * back, i.e. you cannot turn it blocking again this way. If you wish to 3106 * alternatively switch between blocking and non-blocking, use the 3107 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. 3108 */ 3109/* VAL_EAGAIN: 3110 * This symbol holds the errno error code set by read() when no data was 3111 * present on the non-blocking file descriptor. 3112 */ 3113/* RD_NODATA: 3114 * This symbol holds the return code from read() when no data is present 3115 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is 3116 * not defined, then you can't distinguish between no data and EOF by 3117 * issuing a read(). You'll have to find another way to tell for sure! 3118 */ 3119/* EOF_NONBLOCK: 3120 * This symbol, if defined, indicates to the C program that a read() on 3121 * a non-blocking file descriptor will return 0 on EOF, and not the value 3122 * held in RD_NODATA (-1 usually, in that case!). 3123 */ 3124#define VAL_O_NONBLOCK O_NONBLOCK 3125#define VAL_EAGAIN EAGAIN 3126#define RD_NODATA -1 3127#define EOF_NONBLOCK 3128 3129/* NEED_VA_COPY: 3130 * This symbol, if defined, indicates that the system stores 3131 * the variable argument list datatype, va_list, in a format 3132 * that cannot be copied by simple assignment, so that some 3133 * other means must be used when copying is required. 3134 * As such systems vary in their provision (or non-provision) 3135 * of copying mechanisms, handy.h defines a platform- 3136 * independent macro, Perl_va_copy(src, dst), to do the job. 3137 */ 3138/*#define NEED_VA_COPY / **/ 3139 3140/* Netdb_host_t: 3141 * This symbol holds the type used for the 1st argument 3142 * to gethostbyaddr(). 3143 */ 3144/* Netdb_hlen_t: 3145 * This symbol holds the type used for the 2nd argument 3146 * to gethostbyaddr(). 3147 */ 3148/* Netdb_name_t: 3149 * This symbol holds the type used for the argument to 3150 * gethostbyname(). 3151 */ 3152/* Netdb_net_t: 3153 * This symbol holds the type used for the 1st argument to 3154 * getnetbyaddr(). 3155 */ 3156#define Netdb_host_t char * /**/ 3157#define Netdb_hlen_t size_t /**/ 3158#define Netdb_name_t char * /**/ 3159#define Netdb_net_t long /**/ 3160 3161/* PERL_OTHERLIBDIRS: 3162 * This variable contains a colon-separated set of paths for the perl 3163 * binary to search for additional library files or modules. 3164 * These directories will be tacked to the end of @INC. 3165 * Perl will automatically search below each path for version- 3166 * and architecture-specific directories. See PERL_INC_VERSION_LIST 3167 * for more details. 3168 */ 3169/*#define PERL_OTHERLIBDIRS " " / **/ 3170 3171/* IVTYPE: 3172 * This symbol defines the C type used for Perl's IV. 3173 */ 3174/* UVTYPE: 3175 * This symbol defines the C type used for Perl's UV. 3176 */ 3177/* I8TYPE: 3178 * This symbol defines the C type used for Perl's I8. 3179 */ 3180/* U8TYPE: 3181 * This symbol defines the C type used for Perl's U8. 3182 */ 3183/* I16TYPE: 3184 * This symbol defines the C type used for Perl's I16. 3185 */ 3186/* U16TYPE: 3187 * This symbol defines the C type used for Perl's U16. 3188 */ 3189/* I32TYPE: 3190 * This symbol defines the C type used for Perl's I32. 3191 */ 3192/* U32TYPE: 3193 * This symbol defines the C type used for Perl's U32. 3194 */ 3195/* I64TYPE: 3196 * This symbol defines the C type used for Perl's I64. 3197 */ 3198/* U64TYPE: 3199 * This symbol defines the C type used for Perl's U64. 3200 */ 3201/* NVTYPE: 3202 * This symbol defines the C type used for Perl's NV. 3203 */ 3204/* IVSIZE: 3205 * This symbol contains the sizeof(IV). 3206 */ 3207/* UVSIZE: 3208 * This symbol contains the sizeof(UV). 3209 */ 3210/* I8SIZE: 3211 * This symbol contains the sizeof(I8). 3212 */ 3213/* U8SIZE: 3214 * This symbol contains the sizeof(U8). 3215 */ 3216/* I16SIZE: 3217 * This symbol contains the sizeof(I16). 3218 */ 3219/* U16SIZE: 3220 * This symbol contains the sizeof(U16). 3221 */ 3222/* I32SIZE: 3223 * This symbol contains the sizeof(I32). 3224 */ 3225/* U32SIZE: 3226 * This symbol contains the sizeof(U32). 3227 */ 3228/* I64SIZE: 3229 * This symbol contains the sizeof(I64). 3230 */ 3231/* U64SIZE: 3232 * This symbol contains the sizeof(U64). 3233 */ 3234/* NVSIZE: 3235 * This symbol contains the sizeof(NV). 3236 */ 3237/* NV_PRESERVES_UV: 3238 * This symbol, if defined, indicates that a variable of type NVTYPE 3239 * can preserve all the bits of a variable of type UVTYPE. 3240 */ 3241/* NV_PRESERVES_UV_BITS: 3242 * This symbol contains the number of bits a variable of type NVTYPE 3243 * can preserve of a variable of type UVTYPE. 3244 */ 3245#define IVTYPE long /**/ 3246#define UVTYPE unsigned long /**/ 3247#define I8TYPE char /**/ 3248#define U8TYPE unsigned char /**/ 3249#define I16TYPE short /**/ 3250#define U16TYPE unsigned short /**/ 3251#define I32TYPE long /**/ 3252#define U32TYPE unsigned long /**/ 3253#ifdef HAS_QUAD 3254#define I64TYPE long long /**/ 3255#define U64TYPE unsigned long long /**/ 3256#endif 3257#define NVTYPE double /**/ 3258#define IVSIZE 4 /**/ 3259#define UVSIZE 4 /**/ 3260#define I8SIZE 1 /**/ 3261#define U8SIZE 1 /**/ 3262#define I16SIZE 2 /**/ 3263#define U16SIZE 2 /**/ 3264#define I32SIZE 4 /**/ 3265#define U32SIZE 4 /**/ 3266#ifdef HAS_QUAD 3267#define I64SIZE 8 /**/ 3268#define U64SIZE 8 /**/ 3269#endif 3270#define NVSIZE 8 /**/ 3271/*#define NV_PRESERVES_UV 3272#define NV_PRESERVES_UV_BITS 31 3273 3274/* IVdf: 3275 * This symbol defines the format string used for printing a Perl IV 3276 * as a signed decimal integer. 3277 */ 3278/* UVuf: 3279 * This symbol defines the format string used for printing a Perl UV 3280 * as an unsigned decimal integer. 3281 */ 3282/* UVof: 3283 * This symbol defines the format string used for printing a Perl UV 3284 * as an unsigned octal integer. 3285 */ 3286/* UVxf: 3287 * This symbol defines the format string used for printing a Perl UV 3288 * as an unsigned hexadecimal integer in lowercase abcdef. 3289 */ 3290/* UVXf: 3291 * This symbol defines the format string used for printing a Perl UV 3292 * as an unsigned hexadecimal integer in uppercase ABCDEF. 3293 */ 3294/* NVef: 3295 * This symbol defines the format string used for printing a Perl NV 3296 * using %e-ish floating point format. 3297 */ 3298/* NVff: 3299 * This symbol defines the format string used for printing a Perl NV 3300 * using %f-ish floating point format. 3301 */ 3302/* NVgf: 3303 * This symbol defines the format string used for printing a Perl NV 3304 * using %g-ish floating point format. 3305 */ 3306#define IVdf "ld" /**/ 3307#define UVuf "lu" /**/ 3308#define UVof "lo" /**/ 3309#define UVxf "lx" /**/ 3310#define UVXf "lX" /**/ 3311#define NVef "e" /**/ 3312#define NVff "f" /**/ 3313#define NVgf "g" /**/ 3314 3315/* Pid_t: 3316 * This symbol holds the type used to declare process ids in the kernel. 3317 * It can be int, uint, pid_t, etc... It may be necessary to include 3318 * <sys/types.h> to get any typedef'ed information. 3319 */ 3320#define Pid_t pid_t /* PID type */ 3321 3322/* PRIVLIB: 3323 * This symbol contains the name of the private library for this package. 3324 * The library is private in the sense that it needn't be in anyone's 3325 * execution path, but it should be accessible by the world. The program 3326 * should be prepared to do ~ expansion. 3327 */ 3328/* PRIVLIB_EXP: 3329 * This symbol contains the ~name expanded version of PRIVLIB, to be used 3330 * in programs that are not prepared to deal with ~ expansion at run-time. 3331 */ 3332#define PRIVLIB "/sys/lib/perl/5.24.2" /**/ 3333#define PRIVLIB_EXP "/sys/lib/perl/5.24.2" /**/ 3334 3335/* PTRSIZE: 3336 * This symbol contains the size of a pointer, so that the C preprocessor 3337 * can make decisions based on it. It will be sizeof(void *) if 3338 * the compiler supports (void *); otherwise it will be 3339 * sizeof(char *). 3340 */ 3341#define PTRSIZE 4 /**/ 3342 3343/* Drand01: 3344 * This macro is to be used to generate uniformly distributed 3345 * random numbers over the range [0., 1.[. You may have to supply 3346 * an 'extern double drand48();' in your program since SunOS 4.1.3 3347 * doesn't provide you with anything relevant in its headers. 3348 * See HAS_DRAND48_PROTO. 3349 */ 3350/* Rand_seed_t: 3351 * This symbol defines the type of the argument of the 3352 * random seed function. 3353 */ 3354/* seedDrand01: 3355 * This symbol defines the macro to be used in seeding the 3356 * random number generator (see Drand01). 3357 */ 3358/* RANDBITS: 3359 * This symbol indicates how many bits are produced by the 3360 * function used to generate normalized random numbers. 3361 * Values include 15, 16, 31, and 48. 3362 */ 3363#define Drand01() (rand() / (double) ((unsigned long)1 << 15)) /**/ 3364#define Rand_seed_t unsigned /**/ 3365#define seedDrand01(x) srand((Rand_seed_t)x) /**/ 3366#define RANDBITS 15 /**/ 3367 3368/* SELECT_MIN_BITS: 3369 * This symbol holds the minimum number of bits operated by select. 3370 * That is, if you do select(n, ...), how many bits at least will be 3371 * cleared in the masks if some activity is detected. Usually this 3372 * is either n or 32*ceil(n/32), especially many little-endians do 3373 * the latter. This is only useful if you have select(), naturally. 3374 */ 3375#define SELECT_MIN_BITS 32 /**/ 3376 3377/* Select_fd_set_t: 3378 * This symbol holds the type used for the 2nd, 3rd, and 4th 3379 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET 3380 * is defined, and 'int *' otherwise. This is only useful if you 3381 * have select(), of course. 3382 */ 3383#define Select_fd_set_t fd_set* /**/ 3384 3385/* SIG_NAME: 3386 * This symbol contains a list of signal names in order of 3387 * signal number. This is intended 3388 * to be used as a static array initialization, like this: 3389 * char *sig_name[] = { SIG_NAME }; 3390 * The signals in the list are separated with commas, and each signal 3391 * is surrounded by double quotes. There is no leading SIG in the signal 3392 * name, i.e. SIGQUIT is known as "QUIT". 3393 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, 3394 * etc., where nn is the actual signal number (e.g. NUM37). 3395 * The signal number for sig_name[i] is stored in sig_num[i]. 3396 * The last element is 0 to terminate the list with a NULL. This 3397 * corresponds to the 0 at the end of the sig_num list. 3398 */ 3399/* SIG_NUM: 3400 * This symbol contains a list of signal numbers, in the same order as the 3401 * SIG_NAME list. It is suitable for static array initialization, as in: 3402 * int sig_num[] = { SIG_NUM }; 3403 * The signals in the list are separated with commas, and the indices 3404 * within that list and the SIG_NAME list match, so it's easy to compute 3405 * the signal name from a number or vice versa at the price of a small 3406 * dynamic linear lookup. 3407 * Duplicates are allowed, but are moved to the end of the list. 3408 * The signal number corresponding to sig_name[i] is sig_number[i]. 3409 * if (i < NSIG) then sig_number[i] == i. 3410 * The last element is 0, corresponding to the 0 at the end of 3411 * the sig_name list. 3412 */ 3413/* SIG_SIZE: 3414 * This variable contains the number of elements of the SIG_NAME 3415 * and SIG_NUM arrays, excluding the final NULL entry. 3416 */ 3417#define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "ABRT", "FPE", "KILL", "SEGV", "PIPE", "ALRM", "TERM", "USR1", "USR2", "BUS", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "NUM21", "NUM22", "NUM23", "NUM24", "NUM25", "NUM26", "NUM27", "NUM28", "NUM29", "NUM30", "NUM31", "NUM32", "NUM33", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", 0 /**/ 3418#define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 0 /**/ 3419#define SIG_SIZE 50 /**/ 3420 3421/* SITEARCH: 3422 * This symbol contains the name of the private library for this package. 3423 * The library is private in the sense that it needn't be in anyone's 3424 * execution path, but it should be accessible by the world. The program 3425 * should be prepared to do ~ expansion. 3426 * The standard distribution will put nothing in this directory. 3427 * After perl has been installed, users may install their own local 3428 * architecture-dependent modules in this directory with 3429 * MakeMaker Makefile.PL 3430 * or equivalent. See INSTALL for details. 3431 */ 3432/* SITEARCH_EXP: 3433 * This symbol contains the ~name expanded version of SITEARCH, to be used 3434 * in programs that are not prepared to deal with ~ expansion at run-time. 3435 */ 3436#define SITEARCH_EXP "/_P9P_OBJTYPE/lib/perl/_P9P_VERSION/site_perl" /* */ 3437#define SITEARCH "/_P9P_OBJTYPE/lib/perl/_P9P_VERSION/site_perl" /* */ 3438 3439 3440/* SITELIB: 3441 * This symbol contains the name of the private library for this package. 3442 * The library is private in the sense that it needn't be in anyone's 3443 * execution path, but it should be accessible by the world. The program 3444 * should be prepared to do ~ expansion. 3445 * The standard distribution will put nothing in this directory. 3446 * After perl has been installed, users may install their own local 3447 * architecture-independent modules in this directory with 3448 * MakeMaker Makefile.PL 3449 * or equivalent. See INSTALL for details. 3450 */ 3451/* SITELIB_EXP: 3452 * This symbol contains the ~name expanded version of SITELIB, to be used 3453 * in programs that are not prepared to deal with ~ expansion at run-time. 3454 */ 3455/* SITELIB_STEM: 3456 * This define is SITELIB_EXP with any trailing version-specific component 3457 * removed. The elements in inc_version_list (inc_version_list.U) can 3458 * be tacked onto this variable to generate a list of directories to search. 3459 */ 3460#define SITELIB "/sys/lib/perl/5.24.2/site_perl" /**/ 3461#define SITELIB_EXP "/sys/lib/perl/5.24.2/site_perl" /**/ 3462#define SITELIB_STEM "/sys/lib/perl/5.24.2/site_perl" /**/ 3463 3464/* Size_t_size: 3465 * This symbol holds the size of a Size_t in bytes. 3466 */ 3467#define Size_t_size 4 /* */ 3468 3469/* Size_t: 3470 * This symbol holds the type used to declare length parameters 3471 * for string functions. It is usually size_t, but may be 3472 * unsigned long, int, etc. It may be necessary to include 3473 * <sys/types.h> to get any typedef'ed information. 3474 */ 3475#define Size_t size_t /* length parameter for string functions */ 3476 3477/* Sock_size_t: 3478 * This symbol holds the type used for the size argument of 3479 * various socket calls (just the base type, not the pointer-to). 3480 */ 3481#define Sock_size_t int /**/ 3482 3483/* SSize_t: 3484 * This symbol holds the type used by functions that return 3485 * a count of bytes or an error condition. It must be a signed type. 3486 * It is usually ssize_t, but may be long or int, etc. 3487 * It may be necessary to include <sys/types.h> or <unistd.h> 3488 * to get any typedef'ed information. 3489 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). 3490 */ 3491#define SSize_t ssize_t /* signed count of bytes */ 3492 3493/* STARTPERL: 3494 * This variable contains the string to put in front of a perl 3495 * script to make sure (one hopes) that it runs with perl and not 3496 * some shell. 3497 */ 3498#define STARTPERL "#!/bin/perl" /**/ 3499 3500/* STDCHAR: 3501 * This symbol is defined to be the type of char used in stdio.h. 3502 * It has the values "unsigned char" or "char". 3503 */ 3504#define STDCHAR char /**/ 3505 3506/* HAS_STDIO_STREAM_ARRAY: 3507 * This symbol, if defined, tells that there is an array 3508 * holding the stdio streams. 3509 */ 3510/* STDIO_STREAM_ARRAY: 3511 * This symbol tells the name of the array holding the stdio streams. 3512 * Usual values include _iob, __iob, and __sF. 3513 */ 3514/*#define HAS_STDIO_STREAM_ARRAY / **/ 3515#define STDIO_STREAM_ARRAY 3516 3517/* Uid_t_f: 3518 * This symbol defines the format string used for printing a Uid_t. 3519 */ 3520#define Uid_t_f "hd" /**/ 3521 3522/* Uid_t_sign: 3523 * This symbol holds the signedess of a Uid_t. 3524 * 1 for unsigned, -1 for signed. 3525 */ 3526#define Uid_t_sign -1 /* UID sign */ 3527 3528/* Uid_t_size: 3529 * This symbol holds the size of a Uid_t in bytes. 3530 */ 3531#define Uid_t_size 2 /* UID size */ 3532 3533/* Uid_t: 3534 * This symbol holds the type used to declare user ids in the kernel. 3535 * It can be int, ushort, uid_t, etc... It may be necessary to include 3536 * <sys/types.h> to get any typedef'ed information. 3537 */ 3538#define Uid_t uid_t /* UID type */ 3539 3540/* USE_64_BIT_INT: 3541 * This symbol, if defined, indicates that 64-bit integers should 3542 * be used when available. If not defined, the native integers 3543 * will be employed (be they 32 or 64 bits). The minimal possible 3544 * 64-bitness is used, just enough to get 64-bit integers into Perl. 3545 * This may mean using for example "long longs", while your memory 3546 * may still be limited to 2 gigabytes. 3547 */ 3548/* USE_64_BIT_ALL: 3549 * This symbol, if defined, indicates that 64-bit integers should 3550 * be used when available. If not defined, the native integers 3551 * will be used (be they 32 or 64 bits). The maximal possible 3552 * 64-bitness is employed: LP64 or ILP64, meaning that you will 3553 * be able to use more than 2 gigabytes of memory. This mode is 3554 * even more binary incompatible than USE_64_BIT_INT. You may not 3555 * be able to run the resulting executable in a 32-bit CPU at all or 3556 * you may need at least to reboot your OS to 64-bit mode. 3557 */ 3558#ifndef USE_64_BIT_INT 3559/*#define USE_64_BIT_INT / **/ 3560#endif 3561 3562#ifndef USE_64_BIT_ALL 3563/*#define USE_64_BIT_ALL / **/ 3564#endif 3565 3566/* USE_FAST_STDIO: 3567 * This symbol, if defined, indicates that Perl should 3568 * be built to use 'fast stdio'. 3569 * Defaults to define in Perls 5.8 and earlier, to undef later. 3570 */ 3571#ifndef USE_FAST_STDIO 3572/*#define USE_FAST_STDIO / **/ 3573#endif 3574 3575/* USE_LARGE_FILES: 3576 * This symbol, if defined, indicates that large file support 3577 * should be used when available. 3578 */ 3579#ifndef USE_LARGE_FILES 3580#define USE_LARGE_FILES /**/ 3581#endif 3582 3583/* USE_LONG_DOUBLE: 3584 * This symbol, if defined, indicates that long doubles should 3585 * be used when available. 3586 */ 3587#ifndef USE_LONG_DOUBLE 3588/*#define USE_LONG_DOUBLE / **/ 3589#endif 3590 3591/* USE_MORE_BITS: 3592 * This symbol, if defined, indicates that 64-bit interfaces and 3593 * long doubles should be used when available. 3594 */ 3595#ifndef USE_MORE_BITS 3596/*#define USE_MORE_BITS / **/ 3597#endif 3598 3599/* MULTIPLICITY: 3600 * This symbol, if defined, indicates that Perl should 3601 * be built to use multiplicity. 3602 */ 3603#ifndef MULTIPLICITY 3604/*#define MULTIPLICITY / **/ 3605#endif 3606 3607/* USE_PERLIO: 3608 * This symbol, if defined, indicates that the PerlIO abstraction should 3609 * be used throughout. If not defined, stdio should be 3610 * used in a fully backward compatible manner. 3611 */ 3612#ifndef USE_PERLIO 3613#define USE_PERLIO /**/ 3614#endif 3615 3616/* USE_SOCKS: 3617 * This symbol, if defined, indicates that Perl should 3618 * be built to use socks. 3619 */ 3620#ifndef USE_SOCKS 3621/*#define USE_SOCKS / **/ 3622#endif 3623 3624/* USE_ITHREADS: 3625 * This symbol, if defined, indicates that Perl should be built to 3626 * use the interpreter-based threading implementation. 3627 */ 3628/* USE_5005THREADS: 3629 * This symbol, if defined, indicates that Perl should be built to 3630 * use the 5.005-based threading implementation. 3631 */ 3632/* OLD_PTHREADS_API: 3633 * This symbol, if defined, indicates that Perl should 3634 * be built to use the old draft POSIX threads API. 3635 */ 3636/* USE_REENTRANT_API: 3637 * This symbol, if defined, indicates that Perl should 3638 * try to use the various _r versions of library functions. 3639 * This is extremely experimental. 3640 */ 3641/*#define USE_5005THREADS / **/ 3642/*#define USE_ITHREADS / **/ 3643#if defined(USE_5005THREADS) && !defined(USE_ITHREADS) 3644#define USE_THREADS /* until src is revised*/ 3645#endif 3646/*#define OLD_PTHREADS_API / **/ 3647/*#define USE_REENTRANT_API / **/ 3648 3649/* PERL_VENDORARCH: 3650 * If defined, this symbol contains the name of a private library. 3651 * The library is private in the sense that it needn't be in anyone's 3652 * execution path, but it should be accessible by the world. 3653 * It may have a ~ on the front. 3654 * The standard distribution will put nothing in this directory. 3655 * Vendors who distribute perl may wish to place their own 3656 * architecture-dependent modules and extensions in this directory with 3657 * MakeMaker Makefile.PL INSTALLDIRS=vendor 3658 * or equivalent. See INSTALL for details. 3659 */ 3660/* PERL_VENDORARCH_EXP: 3661 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used 3662 * in programs that are not prepared to deal with ~ expansion at run-time. 3663 */ 3664/*#define PERL_VENDORARCH "" / **/ 3665/*#define PERL_VENDORARCH_EXP "" / **/ 3666 3667/* PERL_VENDORLIB_EXP: 3668 * This symbol contains the ~name expanded version of VENDORLIB, to be used 3669 * in programs that are not prepared to deal with ~ expansion at run-time. 3670 */ 3671/* PERL_VENDORLIB_STEM: 3672 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component 3673 * removed. The elements in inc_version_list (inc_version_list.U) can 3674 * be tacked onto this variable to generate a list of directories to search. 3675 */ 3676/*#define PERL_VENDORLIB_EXP "" / **/ 3677/*#define PERL_VENDORLIB_STEM "" / **/ 3678 3679/* HAS_CRYPT: 3680 * This symbol, if defined, indicates that the crypt routine is available 3681 * to encrypt passwords and the like. 3682 */ 3683/*#define HAS_CRYPT / **/ 3684 3685/* SETUID_SCRIPTS_ARE_SECURE_NOW: 3686 * This symbol, if defined, indicates that the bug that prevents 3687 * setuid scripts from being secure is not present in this kernel. 3688 */ 3689/* DOSUID: 3690 * This symbol, if defined, indicates that the C program should 3691 * check the script that it is executing for setuid/setgid bits, and 3692 * attempt to emulate setuid/setgid on systems that have disabled 3693 * setuid #! scripts because the kernel can't do it securely. 3694 * It is up to the package designer to make sure that this emulation 3695 * is done securely. Among other things, it should do an fstat on 3696 * the script it just opened to make sure it really is a setuid/setgid 3697 * script, it should make sure the arguments passed correspond exactly 3698 * to the argument on the #! line, and it should not trust any 3699 * subprocesses to which it must pass the filename rather than the 3700 * file descriptor of the script to be executed. 3701 */ 3702/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/ 3703/*#define DOSUID / **/ 3704 3705/* Shmat_t: 3706 * This symbol holds the return type of the shmat() system call. 3707 * Usually set to 'void *' or 'char *'. 3708 */ 3709/* HAS_SHMAT_PROTOTYPE: 3710 * This symbol, if defined, indicates that the sys/shm.h includes 3711 * a prototype for shmat(). Otherwise, it is up to the program to 3712 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess, 3713 * but not always right so it should be emitted by the program only 3714 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. 3715 */ 3716#define Shmat_t /* config-skip */ 3717/*#define HAS_SHMAT_PROTOTYPE / **/ 3718 3719/* I_NDBM: 3720 * This symbol, if defined, indicates that <ndbm.h> exists and should 3721 * be included. 3722 */ 3723/*#define I_NDBM / **/ 3724 3725/* I_STDARG: 3726 * This symbol, if defined, indicates that <stdarg.h> exists and should 3727 * be included. 3728 */ 3729/* I_VARARGS: 3730 * This symbol, if defined, indicates to the C program that it should 3731 * include <varargs.h>. 3732 */ 3733#define I_STDARG /**/ 3734/*#define I_VARARGS / **/ 3735 3736/* CAN_PROTOTYPE: 3737 * If defined, this macro indicates that the C compiler can handle 3738 * function prototypes. 3739 */ 3740/* _: 3741 * This macro is used to declare function parameters for folks who want 3742 * to make declarations with prototypes using a different style than 3743 * the above macros. Use double parentheses. For example: 3744 * 3745 * int main _((int argc, char *argv[])); 3746 */ 3747#define CAN_PROTOTYPE /**/ 3748#ifdef CAN_PROTOTYPE 3749#define _(args) args 3750#else 3751#define _(args) () 3752#endif 3753 3754/* SH_PATH: 3755 * This symbol contains the full pathname to the shell used on this 3756 * on this system to execute Bourne shell scripts. Usually, this will be 3757 * /bin/sh, though it's possible that some systems will have /bin/ksh, 3758 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as 3759 * D:/bin/sh.exe. 3760 */ 3761#define SH_PATH "/bin/sh" /* config-skip */ 3762 3763/* USE_CROSS_COMPILE: 3764 * This symbol, if defined, indicates that Perl is being cross-compiled. 3765 */ 3766/* PERL_TARGETARCH: 3767 * This symbol, if defined, indicates the target architecture 3768 * Perl has been cross-compiled to. Undefined if not a cross-compile. 3769 */ 3770#ifndef USE_CROSS_COMPILE 3771/*#define USE_CROSS_COMPILE / **/ 3772#define PERL_TARGETARCH "" /**/ 3773#endif 3774 3775/* HAS_COPYSIGNL: 3776 * This symbol, if defined, indicates that the copysignl routine is 3777 * available. If aintl is also present we can emulate modfl. 3778 */ 3779/*#define HAS_COPYSIGNL /**/ 3780 3781/* USE_CPLUSPLUS: 3782 * This symbol, if defined, indicates that a C++ compiler was 3783 * used to compiled Perl and will be used to compile extensions. 3784 */ 3785/*#define USE_CPLUSPLUS /**/ 3786 3787/* HAS_DBMINIT_PROTO: 3788 * This symbol, if defined, indicates that the system provides 3789 * a prototype for the dbminit() function. Otherwise, it is up 3790 * to the program to supply one. A good guess is 3791 * extern int dbminit(char *); 3792 */ 3793/*#define HAS_DBMINIT_PROTO / **/ 3794 3795/* HAS_DIRFD: 3796 * This manifest constant lets the C program know that dirfd 3797 * is available. 3798 */ 3799/*#define HAS_DIRFD / **/ 3800 3801/* HAS_FLOCK_PROTO: 3802 * This symbol, if defined, indicates that the system provides 3803 * a prototype for the flock() function. Otherwise, it is up 3804 * to the program to supply one. A good guess is 3805 * extern int flock(int, int); 3806 */ 3807/*#define HAS_FLOCK_PROTO / **/ 3808 3809/* HAS_FPCLASSL: 3810 * This symbol, if defined, indicates that the fpclassl routine is 3811 * available to classify long doubles. Available for example in IRIX. 3812 * The returned values are defined in <ieeefp.h> and are: 3813 * 3814 * FP_SNAN signaling NaN 3815 * FP_QNAN quiet NaN 3816 * FP_NINF negative infinity 3817 * FP_PINF positive infinity 3818 * FP_NDENORM negative denormalized non-zero 3819 * FP_PDENORM positive denormalized non-zero 3820 * FP_NZERO negative zero 3821 * FP_PZERO positive zero 3822 * FP_NNORM negative normalized non-zero 3823 * FP_PNORM positive normalized non-zero 3824 */ 3825/*#define HAS_FPCLASSL / **/ 3826 3827/* HAS_NL_LANGINFO: 3828 * This symbol, if defined, indicates that the nl_langinfo routine is 3829 * available to return local data. You will also need <langinfo.h> 3830 * and therefore I_LANGINFO. 3831 */ 3832/*#define HAS_NL_LANGINFO / **/ 3833 3834/* HAS_PROCSELFEXE: 3835 * This symbol is defined if PROCSELFEXE_PATH is a symlink 3836 * to the absolute pathname of the executing program. 3837 */ 3838/* PROCSELFEXE_PATH: 3839 * If HAS_PROCSELFEXE is defined this symbol is the filename 3840 * of the symbolic link pointing to the absolute pathname of 3841 * the executing program. 3842 */ 3843/*#define HAS_PROCSELFEXE / **/ 3844#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH) 3845#define PROCSELFEXE_PATH /**/ 3846#endif 3847 3848/* HAS_PTHREAD_ATTR_SETSCOPE: 3849 * This symbol, if defined, indicates that the pthread_attr_setscope 3850 * system call is available to set the contention scope attribute of 3851 * a thread attribute object. 3852 */ 3853/*#define HAS_PTHREAD_ATTR_SETSCOPE / **/ 3854 3855/* HAS_SIGPROCMASK: 3856 * This symbol, if defined, indicates that the sigprocmask 3857 * system call is available to examine or change the signal mask 3858 * of the calling process. 3859 */ 3860#define HAS_SIGPROCMASK /**/ 3861 3862/* HAS_SOCKATMARK: 3863 * This symbol, if defined, indicates that the sockatmark routine is 3864 * available to test whether a socket is at the out-of-band mark. 3865 */ 3866/*#define HAS_SOCKATMARK / **/ 3867 3868/* HAS_SOCKATMARK_PROTO: 3869 * This symbol, if defined, indicates that the system provides 3870 * a prototype for the sockatmark() function. Otherwise, it is up 3871 * to the program to supply one. A good guess is 3872 * extern int sockatmark(int); 3873 */ 3874/*#define HAS_SOCKATMARK_PROTO / **/ 3875 3876/* HAS_SETRESGID_PROTO: 3877 * This symbol, if defined, indicates that the system provides 3878 * a prototype for the setresgid() function. Otherwise, it is up 3879 * to the program to supply one. Good guesses are 3880 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid); 3881 */ 3882/*#define HAS_SETRESGID_PROTO / **/ 3883 3884/* HAS_SETRESUID_PROTO: 3885 * This symbol, if defined, indicates that the system provides 3886 * a prototype for the setresuid() function. Otherwise, it is up 3887 * to the program to supply one. Good guesses are 3888 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid); 3889 */ 3890/*#define HAS_SETRESUID_PROTO / **/ 3891 3892/* HAS_STRFTIME: 3893 * This symbol, if defined, indicates that the strftime routine is 3894 * available to do time formatting. 3895 */ 3896#define HAS_STRFTIME /**/ 3897 3898/* HAS_SYSCALL_PROTO: 3899 * This symbol, if defined, indicates that the system provides 3900 * a prototype for the syscall() function. Otherwise, it is up 3901 * to the program to supply one. Good guesses are 3902 * extern int syscall(int, ...); 3903 * extern int syscall(long, ...); 3904 */ 3905/*#define HAS_SYSCALL_PROTO / **/ 3906 3907/* U32_ALIGNMENT_REQUIRED: 3908 * This symbol, if defined, indicates that you must access 3909 * character data through U32-aligned pointers. 3910 */ 3911#ifndef U32_ALIGNMENT_REQUIRED 3912#define U32_ALIGNMENT_REQUIRED /**/ 3913#endif 3914 3915/* HAS_USLEEP_PROTO: 3916 * This symbol, if defined, indicates that the system provides 3917 * a prototype for the usleep() function. Otherwise, it is up 3918 * to the program to supply one. A good guess is 3919 * extern int usleep(useconds_t); 3920 */ 3921/*#define HAS_USLEEP_PROTO / **/ 3922 3923/* I_CRYPT: 3924 * This symbol, if defined, indicates that <crypt.h> exists and 3925 * should be included. 3926 */ 3927/*#define I_CRYPT / **/ 3928 3929/* I_FP: 3930 * This symbol, if defined, indicates that <fp.h> exists and 3931 * should be included. 3932 */ 3933/*#define I_FP / **/ 3934 3935/* I_LANGINFO: 3936 * This symbol, if defined, indicates that <langinfo.h> exists and 3937 * should be included. 3938 */ 3939/*#define I_LANGINFO / **/ 3940 3941/* HAS_CTERMID_R: 3942 * This symbol, if defined, indicates that the ctermid_r routine 3943 * is available to ctermid re-entrantly. 3944 */ 3945/* CTERMID_R_PROTO: 3946 * This symbol encodes the prototype of ctermid_r. 3947 * It is zero if d_ctermid_r is undef, and one of the 3948 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r 3949 * is defined. 3950 */ 3951/*#define HAS_CTERMID_R / **/ 3952#define CTERMID_R_PROTO 0 /**/ 3953 3954/* HAS_ENDHOSTENT_R: 3955 * This symbol, if defined, indicates that the endhostent_r routine 3956 * is available to endhostent re-entrantly. 3957 */ 3958/* ENDHOSTENT_R_PROTO: 3959 * This symbol encodes the prototype of endhostent_r. 3960 * It is zero if d_endhostent_r is undef, and one of the 3961 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r 3962 * is defined. 3963 */ 3964/*#define HAS_ENDHOSTENT_R / **/ 3965#define ENDHOSTENT_R_PROTO 0 /**/ 3966 3967/* HAS_ENDNETENT_R: 3968 * This symbol, if defined, indicates that the endnetent_r routine 3969 * is available to endnetent re-entrantly. 3970 */ 3971/* ENDNETENT_R_PROTO: 3972 * This symbol encodes the prototype of endnetent_r. 3973 * It is zero if d_endnetent_r is undef, and one of the 3974 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r 3975 * is defined. 3976 */ 3977/*#define HAS_ENDNETENT_R / **/ 3978#define ENDNETENT_R_PROTO 0 /**/ 3979 3980/* HAS_ENDPROTOENT_R: 3981 * This symbol, if defined, indicates that the endprotoent_r routine 3982 * is available to endprotoent re-entrantly. 3983 */ 3984/* ENDPROTOENT_R_PROTO: 3985 * This symbol encodes the prototype of endprotoent_r. 3986 * It is zero if d_endprotoent_r is undef, and one of the 3987 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r 3988 * is defined. 3989 */ 3990/*#define HAS_ENDPROTOENT_R / **/ 3991#define ENDPROTOENT_R_PROTO 0 /**/ 3992 3993/* HAS_ENDSERVENT_R: 3994 * This symbol, if defined, indicates that the endservent_r routine 3995 * is available to endservent re-entrantly. 3996 */ 3997/* ENDSERVENT_R_PROTO: 3998 * This symbol encodes the prototype of endservent_r. 3999 * It is zero if d_endservent_r is undef, and one of the 4000 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r 4001 * is defined. 4002 */ 4003/*#define HAS_ENDSERVENT_R / **/ 4004#define ENDSERVENT_R_PROTO 0 /**/ 4005 4006/* HAS_GETHOSTBYADDR_R: 4007 * This symbol, if defined, indicates that the gethostbyaddr_r routine 4008 * is available to gethostbyaddr re-entrantly. 4009 */ 4010/* GETHOSTBYADDR_R_PROTO: 4011 * This symbol encodes the prototype of gethostbyaddr_r. 4012 * It is zero if d_gethostbyaddr_r is undef, and one of the 4013 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r 4014 * is defined. 4015 */ 4016/*#define HAS_GETHOSTBYADDR_R / **/ 4017#define GETHOSTBYADDR_R_PROTO 0 /**/ 4018 4019/* HAS_GETHOSTBYNAME_R: 4020 * This symbol, if defined, indicates that the gethostbyname_r routine 4021 * is available to gethostbyname re-entrantly. 4022 */ 4023/* GETHOSTBYNAME_R_PROTO: 4024 * This symbol encodes the prototype of gethostbyname_r. 4025 * It is zero if d_gethostbyname_r is undef, and one of the 4026 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r 4027 * is defined. 4028 */ 4029/*#define HAS_GETHOSTBYNAME_R / **/ 4030#define GETHOSTBYNAME_R_PROTO 0 /**/ 4031 4032/* HAS_GETHOSTENT_R: 4033 * This symbol, if defined, indicates that the gethostent_r routine 4034 * is available to gethostent re-entrantly. 4035 */ 4036/* GETHOSTENT_R_PROTO: 4037 * This symbol encodes the prototype of gethostent_r. 4038 * It is zero if d_gethostent_r is undef, and one of the 4039 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r 4040 * is defined. 4041 */ 4042/*#define HAS_GETHOSTENT_R /* config-skip */ 4043#define GETHOSTENT_R_PROTO 0 /**/ 4044 4045/* HAS_GETNETBYADDR_R: 4046 * This symbol, if defined, indicates that the getnetbyaddr_r routine 4047 * is available to getnetbyaddr re-entrantly. 4048 */ 4049/* GETNETBYADDR_R_PROTO: 4050 * This symbol encodes the prototype of getnetbyaddr_r. 4051 * It is zero if d_getnetbyaddr_r is undef, and one of the 4052 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r 4053 * is defined. 4054 */ 4055/*#define HAS_GETNETBYADDR_R / **/ 4056#define GETNETBYADDR_R_PROTO 0 /**/ 4057 4058/* HAS_GETNETBYNAME_R: 4059 * This symbol, if defined, indicates that the getnetbyname_r routine 4060 * is available to getnetbyname re-entrantly. 4061 */ 4062/* GETNETBYNAME_R_PROTO: 4063 * This symbol encodes the prototype of getnetbyname_r. 4064 * It is zero if d_getnetbyname_r is undef, and one of the 4065 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r 4066 * is defined. 4067 */ 4068/*#define HAS_GETNETBYNAME_R / **/ 4069#define GETNETBYNAME_R_PROTO 0 /**/ 4070 4071/* HAS_GETNETENT_R: 4072 * This symbol, if defined, indicates that the getnetent_r routine 4073 * is available to getnetent re-entrantly. 4074 */ 4075/* GETNETENT_R_PROTO: 4076 * This symbol encodes the prototype of getnetent_r. 4077 * It is zero if d_getnetent_r is undef, and one of the 4078 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r 4079 * is defined. 4080 */ 4081/*#define HAS_GETNETENT_R / **/ 4082#define GETNETENT_R_PROTO 0 /**/ 4083 4084/* HAS_GETPROTOBYNAME_R: 4085 * This symbol, if defined, indicates that the getprotobyname_r routine 4086 * is available to getprotobyname re-entrantly. 4087 */ 4088/* GETPROTOBYNAME_R_PROTO: 4089 * This symbol encodes the prototype of getprotobyname_r. 4090 * It is zero if d_getprotobyname_r is undef, and one of the 4091 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r 4092 * is defined. 4093 */ 4094/*#define HAS_GETPROTOBYNAME_R / **/ 4095#define GETPROTOBYNAME_R_PROTO 0 /**/ 4096 4097/* HAS_GETPROTOBYNUMBER_R: 4098 * This symbol, if defined, indicates that the getprotobynumber_r routine 4099 * is available to getprotobynumber re-entrantly. 4100 */ 4101/* GETPROTOBYNUMBER_R_PROTO: 4102 * This symbol encodes the prototype of getprotobynumber_r. 4103 * It is zero if d_getprotobynumber_r is undef, and one of the 4104 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r 4105 * is defined. 4106 */ 4107/*#define HAS_GETPROTOBYNUMBER_R / **/ 4108#define GETPROTOBYNUMBER_R_PROTO 0 /**/ 4109 4110/* HAS_GETPROTOENT_R: 4111 * This symbol, if defined, indicates that the getprotoent_r routine 4112 * is available to getprotoent re-entrantly. 4113 */ 4114/* GETPROTOENT_R_PROTO: 4115 * This symbol encodes the prototype of getprotoent_r. 4116 * It is zero if d_getprotoent_r is undef, and one of the 4117 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r 4118 * is defined. 4119 */ 4120/*#define HAS_GETPROTOENT_R / **/ 4121#define GETPROTOENT_R_PROTO 0 /**/ 4122 4123/* HAS_GETSERVBYNAME_R: 4124 * This symbol, if defined, indicates that the getservbyname_r routine 4125 * is available to getservbyname re-entrantly. 4126 */ 4127/* GETSERVBYNAME_R_PROTO: 4128 * This symbol encodes the prototype of getservbyname_r. 4129 * It is zero if d_getservbyname_r is undef, and one of the 4130 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r 4131 * is defined. 4132 */ 4133/*#define HAS_GETSERVBYNAME_R / **/ 4134#define GETSERVBYNAME_R_PROTO 0 /**/ 4135 4136/* HAS_GETSERVBYPORT_R: 4137 * This symbol, if defined, indicates that the getservbyport_r routine 4138 * is available to getservbyport re-entrantly. 4139 */ 4140/* GETSERVBYPORT_R_PROTO: 4141 * This symbol encodes the prototype of getservbyport_r. 4142 * It is zero if d_getservbyport_r is undef, and one of the 4143 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r 4144 * is defined. 4145 */ 4146/*#define HAS_GETSERVBYPORT_R / **/ 4147#define GETSERVBYPORT_R_PROTO 0 /**/ 4148 4149/* HAS_GETSERVENT_R: 4150 * This symbol, if defined, indicates that the getservent_r routine 4151 * is available to getservent re-entrantly. 4152 */ 4153/* GETSERVENT_R_PROTO: 4154 * This symbol encodes the prototype of getservent_r. 4155 * It is zero if d_getservent_r is undef, and one of the 4156 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r 4157 * is defined. 4158 */ 4159/*#define HAS_GETSERVENT_R / **/ 4160#define GETSERVENT_R_PROTO 0 /**/ 4161 4162/* HAS_PTHREAD_ATFORK: 4163 * This symbol, if defined, indicates that the pthread_atfork routine 4164 * is available to setup fork handlers. 4165 */ 4166/*#define HAS_PTHREAD_ATFORK / **/ 4167 4168/* HAS_READDIR64_R: 4169 * This symbol, if defined, indicates that the readdir64_r routine 4170 * is available to readdir64 re-entrantly. 4171 */ 4172/* READDIR64_R_PROTO: 4173 * This symbol encodes the prototype of readdir64_r. 4174 * It is zero if d_readdir64_r is undef, and one of the 4175 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r 4176 * is defined. 4177 */ 4178/*#define HAS_READDIR64_R / **/ 4179#define READDIR64_R_PROTO 0 /**/ 4180 4181/* HAS_SETHOSTENT_R: 4182 * This symbol, if defined, indicates that the sethostent_r routine 4183 * is available to sethostent re-entrantly. 4184 */ 4185/* SETHOSTENT_R_PROTO: 4186 * This symbol encodes the prototype of sethostent_r. 4187 * It is zero if d_sethostent_r is undef, and one of the 4188 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r 4189 * is defined. 4190 */ 4191/*#define HAS_SETHOSTENT_R / **/ 4192#define SETHOSTENT_R_PROTO 0 /**/ 4193 4194/* HAS_SETLOCALE_R: 4195 * This symbol, if defined, indicates that the setlocale_r routine 4196 * is available to setlocale re-entrantly. 4197 */ 4198/* SETLOCALE_R_PROTO: 4199 * This symbol encodes the prototype of setlocale_r. 4200 * It is zero if d_setlocale_r is undef, and one of the 4201 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r 4202 * is defined. 4203 */ 4204/*#define HAS_SETLOCALE_R / **/ 4205#define SETLOCALE_R_PROTO 0 /**/ 4206 4207/* HAS_SETNETENT_R: 4208 * This symbol, if defined, indicates that the setnetent_r routine 4209 * is available to setnetent re-entrantly. 4210 */ 4211/* SETNETENT_R_PROTO: 4212 * This symbol encodes the prototype of setnetent_r. 4213 * It is zero if d_setnetent_r is undef, and one of the 4214 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r 4215 * is defined. 4216 */ 4217/*#define HAS_SETNETENT_R / **/ 4218#define SETNETENT_R_PROTO 0 /**/ 4219 4220/* HAS_SETPROTOENT_R: 4221 * This symbol, if defined, indicates that the setprotoent_r routine 4222 * is available to setprotoent re-entrantly. 4223 */ 4224/* SETPROTOENT_R_PROTO: 4225 * This symbol encodes the prototype of setprotoent_r. 4226 * It is zero if d_setprotoent_r is undef, and one of the 4227 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r 4228 * is defined. 4229 */ 4230/*#define HAS_SETPROTOENT_R / **/ 4231#define SETPROTOENT_R_PROTO 0 /**/ 4232 4233/* HAS_SETSERVENT_R: 4234 * This symbol, if defined, indicates that the setservent_r routine 4235 * is available to setservent re-entrantly. 4236 */ 4237/* SETSERVENT_R_PROTO: 4238 * This symbol encodes the prototype of setservent_r. 4239 * It is zero if d_setservent_r is undef, and one of the 4240 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r 4241 * is defined. 4242 */ 4243/*#define HAS_SETSERVENT_R / **/ 4244#define SETSERVENT_R_PROTO 0 /**/ 4245 4246/* HAS_TTYNAME_R: 4247 * This symbol, if defined, indicates that the ttyname_r routine 4248 * is available to ttyname re-entrantly. 4249 */ 4250/* TTYNAME_R_PROTO: 4251 * This symbol encodes the prototype of ttyname_r. 4252 * It is zero if d_ttyname_r is undef, and one of the 4253 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r 4254 * is defined. 4255 */ 4256/*#define HAS_TTYNAME_R / **/ 4257#define TTYNAME_R_PROTO 0 /**/ 4258 4259#endif 4260