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