3 # THIS IS A GENERATED FILE
6 # See Porting/config_h.pl
8 : Set up for generating config_h.SH
10 '') CONFIG_SH=config.sh;;
13 '') CONFIG_H=config.h;;
15 case $PERL_CONFIG_SH in
17 if test -f $CONFIG_SH; then TOP=.;
18 elif test -f ../$CONFIG_SH; then TOP=..;
19 elif test -f ../../$CONFIG_SH; then TOP=../..;
20 elif test -f ../../../$CONFIG_SH; then TOP=../../..;
21 elif test -f ../../../../$CONFIG_SH; then TOP=../../../..;
23 echo "Can't find $CONFIG_SH."; exit 1
29 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
32 already-done) echo "Not re-extracting config.h" ;;
34 echo "Extracting $CONFIG_H (with variable substitutions)"
35 sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
36 /* This file was produced by running the config_h.SH script, which
37 * gets its values from $CONFIG_SH, which is generally produced by
40 * Feel free to modify any of this as the need arises. Note, however,
41 * that running config_h.SH again will wipe out any changes you've made.
42 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
45 /* Package name : $package
46 * Source directory : $src
47 * Configuration time: $cf_time
48 * Configured by : $cf_by
49 * Target system : $myuname
56 * This symbol holds the complete pathname to the sed program.
58 #define LOC_SED "$full_sed" /**/
61 * This symbol, if defined, indicates that the alarm routine is
64 #$d_alarm HAS_ALARM /**/
67 * This symbol, if defined, indicates that the cbrt() (cube root)
68 * function is available.
70 #$d_cbrt HAS_CBRT /**/
73 * This symbol, if defined, indicates that the chown routine is
76 #$d_chown HAS_CHOWN /**/
79 * This symbol, if defined, indicates that the chroot routine is
82 #$d_chroot HAS_CHROOT /**/
85 * This symbol, if defined, indicates that the chsize routine is available
86 * to truncate files. You might need a -lx to get this routine.
88 #$d_chsize HAS_CHSIZE /**/
91 * This symbol, if defined, indicates that the crypt routine is available
92 * to encrypt passwords and the like.
94 #$d_crypt HAS_CRYPT /**/
97 * This symbol, if defined, indicates that the ctermid routine is
98 * available to generate filename for terminal.
100 #$d_ctermid HAS_CTERMID /**/
103 * This symbol, if defined, indicates that the cuserid routine is
104 * available to get character login names.
106 #$d_cuserid HAS_CUSERID /**/
109 * This symbol, if defined, indicates that this system's <float.h>
110 * or <limits.h> defines the symbol DBL_DIG, which is the number
111 * of significant digits in a double precision number. If this
112 * symbol is not defined, a guess of 15 is usually pretty good.
114 #$d_dbl_dig HAS_DBL_DIG /**/
117 * This symbol, if defined, indicates that the difftime routine is
120 #$d_difftime HAS_DIFFTIME /**/
123 * This symbol, if defined, indicates that the dlerror routine is
124 * available to return a string describing the last error that
125 * occurred from a call to dlopen(), dlclose() or dlsym().
127 #$d_dlerror HAS_DLERROR /**/
130 * This symbol, if defined, indicates that the dup2 routine is
131 * available to duplicate file descriptors.
133 #$d_dup2 HAS_DUP2 /**/
136 * This symbol, if defined, indicates that the fchmod routine is available
137 * to change mode of opened files. If unavailable, use chmod().
139 #$d_fchmod HAS_FCHMOD /**/
142 * This symbol, if defined, indicates that the fchown routine is available
143 * to change ownership of opened files. If unavailable, use chown().
145 #$d_fchown HAS_FCHOWN /**/
148 * This symbol, if defined, indicates to the C program that
149 * the fcntl() function exists.
151 #$d_fcntl HAS_FCNTL /**/
154 * This symbol, if defined, indicates that the fgetpos routine is
155 * available to get the file position indicator, similar to ftell().
157 #$d_fgetpos HAS_FGETPOS /**/
160 * This symbol, if defined, indicates that the flock routine is
161 * available to do file locking.
163 #$d_flock HAS_FLOCK /**/
166 * This symbol, if defined, indicates that the fork routine is
169 #$d_fork HAS_FORK /**/
172 * This symbol, if defined, indicates that the fsetpos routine is
173 * available to set the file position indicator, similar to fseek().
175 #$d_fsetpos HAS_FSETPOS /**/
178 * This symbol, if defined, indicates that the gettimeofday() system
179 * call is available for a sub-second accuracy clock. Usually, the file
180 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
181 * The type "Timeval" should be used to refer to "struct timeval".
183 #$d_gettimeod HAS_GETTIMEOFDAY /**/
184 #ifdef HAS_GETTIMEOFDAY
185 #define Timeval struct timeval /* Structure used by gettimeofday() */
189 * This symbol, if defined, indicates that the getgroups() routine is
190 * available to get the list of process groups. If unavailable, multiple
191 * groups are probably not supported.
193 #$d_getgrps HAS_GETGROUPS /**/
196 * This symbol, if defined, indicates that the getlogin routine is
197 * available to get the login name.
199 #$d_getlogin HAS_GETLOGIN /**/
202 * This symbol, if defined, indicates to the C program that
203 * the getpgid(pid) function is available to get the
206 #$d_getpgid HAS_GETPGID /**/
209 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
210 * routine is available to get the current process group.
212 #$d_getpgrp2 HAS_GETPGRP2 /**/
215 * This symbol, if defined, indicates that the getppid routine is
216 * available to get the parent process ID.
218 #$d_getppid HAS_GETPPID /**/
221 * This symbol, if defined, indicates that the getpriority routine is
222 * available to get a process's priority.
224 #$d_getprior HAS_GETPRIORITY /**/
227 * This symbol, if defined, indicates to the C program that the
228 * inet_aton() function is available to parse IP address "dotted-quad"
231 #$d_inetaton HAS_INET_ATON /**/
234 * This symbol, if defined, indicates that the killpg routine is available
235 * to kill process groups. If unavailable, you probably should use kill
236 * with a negative process number.
238 #$d_killpg HAS_KILLPG /**/
241 * This symbol, if defined, indicates that the link routine is
242 * available to create hard links.
244 #$d_link HAS_LINK /**/
247 * This symbol, if defined, indicates that the localeconv routine is
248 * available for numeric and monetary formatting conventions.
250 #$d_locconv HAS_LOCALECONV /**/
253 * This symbol, if defined, indicates that the lockf routine is
254 * available to do file locking.
256 #$d_lockf HAS_LOCKF /**/
259 * This symbol, if defined, indicates that the lstat routine is
260 * available to do file stats on symbolic links.
262 #$d_lstat HAS_LSTAT /**/
265 * This symbol, if defined, indicates that the mblen routine is available
266 * to find the number of bytes in a multibye character.
268 #$d_mblen HAS_MBLEN /**/
271 * This symbol, if defined, indicates that the mbstowcs routine is
272 * available to convert a multibyte string into a wide character string.
274 #$d_mbstowcs HAS_MBSTOWCS /**/
277 * This symbol, if defined, indicates that the mbtowc routine is available
278 * to convert a multibyte to a wide character.
280 #$d_mbtowc HAS_MBTOWC /**/
283 * This symbol, if defined, indicates that the mkdir routine is available
284 * to create directories. Otherwise you should fork off a new process to
287 #$d_mkdir HAS_MKDIR /**/
290 * This symbol, if defined, indicates that the mkfifo routine is
291 * available to create FIFOs. Otherwise, mknod should be able to
292 * do it for you. However, if mkfifo is there, mknod might require
293 * super-user privileges which mkfifo will not.
295 #$d_mkfifo HAS_MKFIFO /**/
298 * This symbol, if defined, indicates that the mktime routine is
301 #$d_mktime HAS_MKTIME /**/
304 * This symbol, if defined, indicates that the entire msg*(2) library is
305 * supported (IPC mechanism based on message queues).
310 * This symbol, if defined, indicates that the msync system call is
311 * available to synchronize a mapped file.
313 #$d_msync HAS_MSYNC /**/
316 * This symbol, if defined, indicates that the munmap system call is
317 * available to unmap a region, usually mapped by mmap().
319 #$d_munmap HAS_MUNMAP /**/
322 * This symbol, if defined, indicates that the nice routine is
325 #$d_nice HAS_NICE /**/
328 * This symbol, if defined, indicates that pathconf() is available
329 * to determine file-system related limits and options associated
330 * with a given filename.
333 * This symbol, if defined, indicates that pathconf() is available
334 * to determine file-system related limits and options associated
335 * with a given open file descriptor.
337 #$d_pathconf HAS_PATHCONF /**/
338 #$d_fpathconf HAS_FPATHCONF /**/
341 * This symbol, if defined, indicates that the pause routine is
342 * available to suspend a process until a signal is received.
344 #$d_pause HAS_PAUSE /**/
347 * This symbol, if defined, indicates that the pipe routine is
348 * available to create an inter-process channel.
350 #$d_pipe HAS_PIPE /**/
353 * This symbol, if defined, indicates that the poll routine is
354 * available to poll active file descriptors. Please check I_POLL and
355 * I_SYS_POLL to know which header should be included as well.
357 #$d_poll HAS_POLL /**/
360 * This symbol, if defined, indicates that the readdir routine is
361 * available to read directory entries. You may have to include
362 * <dirent.h>. See I_DIRENT.
364 #$d_readdir HAS_READDIR /**/
367 * This symbol, if defined, indicates that the seekdir routine is
368 * available. You may have to include <dirent.h>. See I_DIRENT.
370 #$d_seekdir HAS_SEEKDIR /**/
373 * This symbol, if defined, indicates that the telldir routine is
374 * available. You may have to include <dirent.h>. See I_DIRENT.
376 #$d_telldir HAS_TELLDIR /**/
379 * This symbol, if defined, indicates that the rewinddir routine is
380 * available. You may have to include <dirent.h>. See I_DIRENT.
382 #$d_rewinddir HAS_REWINDDIR /**/
385 * This symbol, if defined, indicates that the readlink routine is
386 * available to read the value of a symbolic link.
388 #$d_readlink HAS_READLINK /**/
391 * This symbol, if defined, indicates that the regcomp() routine is
392 * available to do some regular patern matching (usually on POSIX.2
393 * conforming systems).
395 #$d_regcomp HAS_REGCOMP /* POSIX.2 */
398 * This symbol, if defined, indicates that the rename routine is available
399 * to rename files. Otherwise you should do the unlink(), link(), unlink()
402 #$d_rename HAS_RENAME /**/
405 * This symbol, if defined, indicates that the rmdir routine is
406 * available to remove directories. Otherwise you should fork off a
407 * new process to exec /bin/rmdir.
409 #$d_rmdir HAS_RMDIR /**/
412 * This symbol, if defined, indicates that the select routine is
413 * available to select active file descriptors. If the timeout field
414 * is used, <sys/time.h> may need to be included.
416 #$d_select HAS_SELECT /**/
419 * This symbol, if defined, indicates that the entire sem*(2) library is
425 * This symbol, if defined, indicates that the setegid routine is available
426 * to change the effective gid of the current program.
428 #$d_setegid HAS_SETEGID /**/
431 * This symbol, if defined, indicates that the seteuid routine is available
432 * to change the effective uid of the current program.
434 #$d_seteuid HAS_SETEUID /**/
437 * This symbol, if defined, indicates that the setgroups() routine is
438 * available to set the list of process groups. If unavailable, multiple
439 * groups are probably not supported.
441 #$d_setgrps HAS_SETGROUPS /**/
444 * This symbol, if defined, indicates that the setlinebuf routine is
445 * available to change stderr or stdout from block-buffered or unbuffered
446 * to a line-buffered mode.
448 #$d_setlinebuf HAS_SETLINEBUF /**/
451 * This symbol, if defined, indicates that the setlocale routine is
452 * available to handle locale-specific ctype implementations.
454 #$d_setlocale HAS_SETLOCALE /**/
457 * This symbol, if defined, indicates that the setpgid(pid, gpid)
458 * routine is available to set process group ID.
460 #$d_setpgid HAS_SETPGID /**/
463 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
464 * routine is available to set the current process group.
466 #$d_setpgrp2 HAS_SETPGRP2 /**/
469 * This symbol, if defined, indicates that the setpriority routine is
470 * available to set a process's priority.
472 #$d_setprior HAS_SETPRIORITY /**/
475 * This symbol, if defined, indicates that the setregid routine is
476 * available to change the real and effective gid of the current
480 * This symbol, if defined, indicates that the setresgid routine is
481 * available to change the real, effective and saved gid of the current
484 #$d_setregid HAS_SETREGID /**/
485 #$d_setresgid HAS_SETRESGID /**/
488 * This symbol, if defined, indicates that the setreuid routine is
489 * available to change the real and effective uid of the current
493 * This symbol, if defined, indicates that the setresuid routine is
494 * available to change the real, effective and saved uid of the current
497 #$d_setreuid HAS_SETREUID /**/
498 #$d_setresuid HAS_SETRESUID /**/
501 * This symbol, if defined, indicates that the setrgid routine is available
502 * to change the real gid of the current program.
504 #$d_setrgid HAS_SETRGID /**/
507 * This symbol, if defined, indicates that the setruid routine is available
508 * to change the real uid of the current program.
510 #$d_setruid HAS_SETRUID /**/
513 * This symbol, if defined, indicates that the setsid routine is
514 * available to set the process group ID.
516 #$d_setsid HAS_SETSID /**/
519 * This symbol, if defined, indicates that the stat routine is
520 * available to get file status.
522 #$d_stat HAS_STAT /**/
525 * This symbol, if defined, indicates that the strcoll routine is
526 * available to compare strings using collating information.
528 #$d_strcoll HAS_STRCOLL /**/
531 * This symbol, if defined, indicates that the strtod routine is
532 * available to provide better numeric string conversion than atof().
534 #$d_strtod HAS_STRTOD /**/
537 * This symbol, if defined, indicates that the strtol routine is available
538 * to provide better numeric string conversion than atoi() and friends.
540 #$d_strtol HAS_STRTOL /**/
543 * This symbol, if defined, indicates that the strxfrm() routine is
544 * available to transform strings.
546 #$d_strxfrm HAS_STRXFRM /**/
549 * This symbol, if defined, indicates that the symlink routine is available
550 * to create symbolic links.
552 #$d_symlink HAS_SYMLINK /**/
555 * This symbol, if defined, indicates that the syscall routine is
556 * available to call arbitrary system calls. If undefined, that's tough.
558 #$d_syscall HAS_SYSCALL /**/
561 * This symbol, if defined, indicates that sysconf() is available
562 * to determine system related limits and options.
564 #$d_sysconf HAS_SYSCONF /**/
567 * This symbol, if defined, indicates that the system routine is
568 * available to issue a shell command.
570 #$d_system HAS_SYSTEM /**/
573 * This symbol, if defined, indicates that the tcgetpgrp routine is
574 * available to get foreground process group ID.
576 #$d_tcgetpgrp HAS_TCGETPGRP /**/
579 * This symbol, if defined, indicates that the tcsetpgrp routine is
580 * available to set foreground process group ID.
582 #$d_tcsetpgrp HAS_TCSETPGRP /**/
585 * This symbol, if defined, indicates that the truncate routine is
586 * available to truncate files.
588 #$d_truncate HAS_TRUNCATE /**/
591 * This symbol, if defined, indicates that the tzname[] array is
592 * available to access timezone names.
594 #$d_tzname HAS_TZNAME /**/
597 * This symbol, if defined, indicates that the umask routine is
598 * available to set and get the value of the file creation mask.
600 #$d_umask HAS_UMASK /**/
603 * This symbol, if defined, indicates that the usleep routine is
604 * available to let the process sleep on a sub-second accuracy.
606 #$d_usleep HAS_USLEEP /**/
609 * This symbol, if defined, indicates that wait4() exists.
611 #$d_wait4 HAS_WAIT4 /**/
614 * This symbol, if defined, indicates that the waitpid routine is
615 * available to wait for child process.
617 #$d_waitpid HAS_WAITPID /**/
620 * This symbol, if defined, indicates that the wcstombs routine is
621 * available to convert wide character strings to multibyte strings.
623 #$d_wcstombs HAS_WCSTOMBS /**/
626 * This symbol, if defined, indicates that the wctomb routine is available
627 * to convert a wide character to a multibyte.
629 #$d_wctomb HAS_WCTOMB /**/
632 * This symbol holds the type used for the second argument to
633 * getgroups() and setgroups(). Usually, this is the same as
634 * gidtype (gid_t) , but sometimes it isn't.
635 * It can be int, ushort, gid_t, etc...
636 * It may be necessary to include <sys/types.h> to get any
637 * typedef'ed information. This is only required if you have
638 * getgroups() or setgroups()..
640 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
641 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
645 * This symbol, if defined, indicates to the C program that it should
646 * include <arpa/inet.h> to get inet_addr and friends declarations.
648 #$i_arpainet I_ARPA_INET /**/
651 * This symbol, if defined, indicates that <dbm.h> exists and should
655 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
656 * should be included.
659 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
662 * This symbol, if defined, indicates that <dlfcn.h> exists and should
665 #$i_dlfcn I_DLFCN /**/
668 * This manifest constant tells the C program to include <fcntl.h>.
670 #$i_fcntl I_FCNTL /**/
673 * This symbol, if defined, indicates to the C program that it should
674 * include <float.h> to get definition of symbols like DBL_MAX or
675 * DBL_MIN, i.e. machine dependent floating point values.
677 #$i_float I_FLOAT /**/
680 * This symbol, if defined, indicates that <gdbm.h> exists and should
686 * This symbol, if defined, indicates to the C program that it should
687 * include <limits.h> to get definition of symbols like WORD_BIT or
688 * LONG_MAX, i.e. machine dependant limitations.
690 #$i_limits I_LIMITS /**/
693 * This symbol, if defined, indicates to the C program that it should
694 * include <locale.h>.
696 #$i_locale I_LOCALE /**/
699 * This symbol, if defined, indicates to the C program that it should
705 * This symbol, if defined, indicates to the C program that it should
706 * include <memory.h>.
708 #$i_memory I_MEMORY /**/
711 * This symbol, if defined, indicates to the C program that it should
712 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
714 #$i_niin I_NETINET_IN /**/
717 * This symbol, if defined, indicates to the C program that it should
718 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
720 #$i_string I_STRING /**/
723 * This symbol, if defined, indicates to the C program that it should
724 * include <sys/dir.h>.
726 #$i_sysdir I_SYS_DIR /**/
729 * This symbol, if defined, indicates to the C program that it should
730 * include <sys/file.h> to get definition of R_OK and friends.
732 #$i_sysfile I_SYS_FILE /**/
735 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
736 * be included. Otherwise, include <sgtty.h> or <termio.h>.
739 * This symbol, if defined, indicates the <sys/sockio.h> should be included
740 * to get socket ioctl options, like SIOCATMARK.
742 #$i_sysioctl I_SYS_IOCTL /**/
743 #$i_syssockio I_SYS_SOCKIO /**/
746 * This symbol, if defined, indicates to the C program that it should
747 * include <sys/ndir.h>.
749 #$i_sysndir I_SYS_NDIR /**/
752 * This symbol, if defined, indicates to the C program that it should
753 * include <sys/param.h>.
755 #$i_sysparam I_SYS_PARAM /**/
758 * This symbol, if defined, indicates that the program may include
759 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
760 * to only include <poll.h>.
762 #$i_syspoll I_SYS_POLL /**/
765 * This symbol, if defined, indicates to the C program that it should
766 * include <sys/resource.h>.
768 #$i_sysresrc I_SYS_RESOURCE /**/
771 * This symbol, if defined, indicates to the C program that it should
772 * include <sys/select.h> in order to get definition of struct timeval.
774 #$i_sysselct I_SYS_SELECT /**/
777 * This symbol, if defined, indicates to the C program that it should
778 * include <sys/stat.h>.
780 #$i_sysstat I_SYS_STAT /**/
783 * This symbol, if defined, indicates to the C program that it should
784 * include <sys/times.h>.
786 #$i_systimes I_SYS_TIMES /**/
789 * This symbol, if defined, indicates to the C program that it should
790 * include <sys/types.h>.
792 #$i_systypes I_SYS_TYPES /**/
795 * This symbol, if defined, indicates to the C program that it should
796 * include <sys/un.h> to get UNIX domain socket definitions.
798 #$i_sysun I_SYS_UN /**/
801 * This symbol, if defined, indicates to the C program that it should
802 * include <sys/wait.h>.
804 #$i_syswait I_SYS_WAIT /**/
807 * This symbol, if defined, indicates to the C program that it should
808 * include <unistd.h>.
810 #$i_unistd I_UNISTD /**/
813 * This symbol, if defined, indicates to the C program that it should
816 #$i_utime I_UTIME /**/
819 * This symbol, if defined, indicates to the C program that it should
820 * include <values.h> to get definition of symbols like MINFLOAT or
821 * MAXLONG, i.e. machine dependant limitations. Probably, you
822 * should use <limits.h> instead, if it is available.
824 #$i_values I_VALUES /**/
827 * This symbol, if defined, indicates to the C program that it should
830 #$i_vfork I_VFORK /**/
833 * This symbol is defined to be the type of char used in stdio.h.
834 * It has the values "unsigned char" or "char".
836 #define STDCHAR $stdchar /**/
839 * This symbol contains the value of sizeof(int) so that the C
840 * preprocessor can make decisions based on it.
843 * This symbol contains the value of sizeof(long) so that the C
844 * preprocessor can make decisions based on it.
847 * This symbol contains the value of sizeof(short) so that the C
848 * preprocessor can make decisions based on it.
850 #define INTSIZE $intsize /**/
851 #define LONGSIZE $longsize /**/
852 #define SHORTSIZE $shortsize /**/
855 * This symbol, if defined, signifies that the build
856 * process will produce some binary files that are going to be
857 * used in a cross-platform environment. This is the case for
858 * example with the NeXT "fat" binaries that contain executables
861 #$multiarch MULTIARCH /**/
864 * This symbol, if defined, tells that there's a 64-bit integer type,
865 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
866 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
867 * or QUAD_IS___INT64.
869 #$d_quad HAS_QUAD /**/
871 # define Quad_t $quadtype /**/
872 # define Uquad_t $uquadtype /**/
873 # define QUADKIND $quadkind /**/
874 # define QUAD_IS_INT 1
875 # define QUAD_IS_LONG 2
876 # define QUAD_IS_LONG_LONG 3
877 # define QUAD_IS_INT64_T 4
878 # define QUAD_IS___INT64 5
882 * This symbol, if defined, indicates that the accessx routine is
883 * available to do extended access checks.
885 #$d_accessx HAS_ACCESSX /**/
888 * This symbol, if defined, indicates that the eaccess routine is
889 * available to do extended access checks.
891 #$d_eaccess HAS_EACCESS /**/
894 * This symbol, if defined, indicates to the C program that it should
895 * include <sys/access.h>.
897 #$i_sysaccess I_SYS_ACCESS /**/
900 * This symbol, if defined, indicates to the C program that it should
901 * include <sys/security.h>.
903 #$i_syssecrt I_SYS_SECURITY /**/
906 * This symbol contains the number of bytes required to align a
907 * double, or a long double when applicable. Usual values are 2,
908 * 4 and 8. The default is eight, for safety. For cross-compiling
909 * or multiarch support, Configure will set a minimum of 8.
911 #define MEM_ALIGNBYTES $alignbytes
914 * This symbol holds the hexadecimal constant defined in byteorder,
915 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
916 * If the compiler supports cross-compiling or multiple-architecture
917 * binaries, use compiler-defined macros to
918 * determine the byte order.
920 #if defined(MULTIARCH)
921 # ifdef __LITTLE_ENDIAN__
923 # define BYTEORDER 0x1234
926 # define BYTEORDER 0x12345678
930 # ifdef __BIG_ENDIAN__
932 # define BYTEORDER 0x4321
935 # define BYTEORDER 0x87654321
941 #define BYTEORDER 0x$byteorder /* large digits for MSB */
945 * This symbol contains the size of a char, so that the C preprocessor
946 * can make decisions based on it.
948 #define CHARBITS $charbits /**/
951 * This symbol is defined if the C compiler can cast negative
952 * or large floating point numbers to 32-bit ints.
954 #$d_casti32 CASTI32 /**/
957 * This symbol is defined if the C compiler can cast negative
958 * numbers to unsigned longs, ints and shorts.
961 * This symbol contains flags that say what difficulties the compiler
962 * has casting odd floating values to unsigned long:
964 * 1 = couldn't cast < 0
965 * 2 = couldn't cast >= 0x80000000
966 * 4 = couldn't cast in argument expression list
968 #$d_castneg CASTNEGFLOAT /**/
969 #define CASTFLAGS $castflags /**/
972 * This symbol, if defined, indicates that the closedir() routine
973 * does not return a value.
975 #$d_void_closedir VOID_CLOSEDIR /**/
978 * This symbol, when defined, indicates presence of the fd_set typedef
981 #$d_fd_set HAS_FD_SET /**/
984 * This preprocessor macro is defined to convert a floating point
985 * number to a string without a trailing decimal point. This
986 * emulates the behavior of sprintf("%g"), but is sometimes much more
987 * efficient. If gconvert() is not available, but gcvt() drops the
988 * trailing decimal point, then gcvt() is used. If all else fails,
989 * a macro using sprintf("%g") is used. Arguments for the Gconvert
990 * macro are: value, number of digits, whether trailing zeros should
991 * be retained, and the output buffer.
992 * The usual values are:
993 * d_Gconvert='gconvert((x),(n),(t),(b))'
994 * d_Gconvert='gcvt((x),(n),(b))'
995 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
996 * The last two assume trailing zeros should not be kept.
998 #define Gconvert(x,n,t,b) $d_Gconvert
1001 * This symbol, if defined, indicates that the getpagesize system call
1002 * is available to get system page size, which is the granularity of
1003 * many memory management calls.
1005 #$d_getpagsz HAS_GETPAGESIZE /**/
1008 * This symbol, if defined, indicates to the C program that
1009 * the GNU C library is being used. A better check is to use
1010 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1012 #$d_gnulibc HAS_GNULIBC /**/
1013 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1014 # define _GNU_SOURCE
1018 * This manifest constant lets the C program know that isascii
1021 #$d_isascii HAS_ISASCII /**/
1024 * This symbol, if defined, indicates that the lchown routine is
1025 * available to operate on a symbolic link (instead of following the
1028 #$d_lchown HAS_LCHOWN /**/
1031 * This manifest constant lets the C program know that the three
1032 * argument form of open(2) is available.
1034 #$d_open3 HAS_OPEN3 /**/
1037 * This symbol, if defined, indicates that Vr4's sigaction() routine
1040 #$d_sigaction HAS_SIGACTION /**/
1042 /* HAS_SIGINFO_SI_ERRNO:
1043 * This symbol, if defined, indicates that siginfo_t has the
1046 /* HAS_SIGINFO_SI_PID:
1047 * This symbol, if defined, indicates that siginfo_t has the
1050 /* HAS_SIGINFO_SI_UID:
1051 * This symbol, if defined, indicates that siginfo_t has the
1054 /* HAS_SIGINFO_SI_ADDR:
1055 * This symbol, if defined, indicates that siginfo_t has the
1058 /* HAS_SIGINFO_SI_STATUS:
1059 * This symbol, if defined, indicates that siginfo_t has the
1062 /* HAS_SIGINFO_SI_BAND:
1063 * This symbol, if defined, indicates that siginfo_t has the
1066 /* HAS_SIGINFO_SI_VALUE:
1067 * This symbol, if defined, indicates that siginfo_t has the
1070 #$d_siginfo_si_errno HAS_SIGINFO_SI_ERRNO /**/
1071 #$d_siginfo_si_pid HAS_SIGINFO_SI_PID /**/
1072 #$d_siginfo_si_uid HAS_SIGINFO_SI_UID /**/
1073 #$d_siginfo_si_addr HAS_SIGINFO_SI_ADDR /**/
1074 #$d_siginfo_si_status HAS_SIGINFO_SI_STATUS /**/
1075 #$d_siginfo_si_band HAS_SIGINFO_SI_BAND /**/
1076 #$d_siginfo_si_value HAS_SIGINFO_SI_VALUE /**/
1079 * This variable indicates to the C program that the sigsetjmp()
1080 * routine is available to save the calling process's registers
1081 * and stack environment for later use by siglongjmp(), and
1082 * to optionally save the process's signal mask. See
1083 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1086 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1089 * This macro is used in the same way as sigsetjmp(), but will invoke
1090 * traditional setjmp() if sigsetjmp isn't available.
1091 * See HAS_SIGSETJMP.
1094 * This macro is used in the same way as siglongjmp(), but will invoke
1095 * traditional longjmp() if siglongjmp isn't available.
1096 * See HAS_SIGSETJMP.
1098 #$d_sigsetjmp HAS_SIGSETJMP /**/
1099 #ifdef HAS_SIGSETJMP
1100 #define Sigjmp_buf sigjmp_buf
1101 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1102 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1104 #define Sigjmp_buf jmp_buf
1105 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1106 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1109 /* HAS_STATIC_INLINE:
1110 * This symbol, if defined, indicates that the C compiler supports
1111 * C99-style static inline. That is, the function can't be called
1112 * from another translation unit.
1114 /* PERL_STATIC_INLINE:
1115 * This symbol gives the best-guess incantation to use for static
1116 * inline functions. If HAS_STATIC_INLINE is defined, this will
1117 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
1118 * this will give a plain 'static'. It will always be defined
1119 * to something that gives static linkage.
1120 * Possibilities include
1121 * static inline (c99)
1122 * static __inline__ (gcc -ansi)
1123 * static __inline (MSVC)
1124 * static _inline (older MSVC)
1125 * static (c89 compilers)
1127 #$d_static_inline HAS_STATIC_INLINE /**/
1128 #define PERL_STATIC_INLINE $perl_static_inline /**/
1131 * This symbol is defined if the _ptr and _cnt fields (or similar)
1132 * of the stdio FILE structure can be used to access the stdio buffer
1133 * for a file handle. If this is defined, then the FILE_ptr(fp)
1134 * and FILE_cnt(fp) macros will also be defined and should be used
1135 * to access these fields.
1138 * This macro is used to access the _ptr field (or equivalent) of the
1139 * FILE structure pointed to by its argument. This macro will always be
1140 * defined if USE_STDIO_PTR is defined.
1142 /* STDIO_PTR_LVALUE:
1143 * This symbol is defined if the FILE_ptr macro can be used as an
1147 * This macro is used to access the _cnt field (or equivalent) of the
1148 * FILE structure pointed to by its argument. This macro will always be
1149 * defined if USE_STDIO_PTR is defined.
1151 /* STDIO_CNT_LVALUE:
1152 * This symbol is defined if the FILE_cnt macro can be used as an
1155 /* STDIO_PTR_LVAL_SETS_CNT:
1156 * This symbol is defined if using the FILE_ptr macro as an lvalue
1157 * to increase the pointer by n has the side effect of decreasing the
1158 * value of File_cnt(fp) by n.
1160 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
1161 * This symbol is defined if using the FILE_ptr macro as an lvalue
1162 * to increase the pointer by n leaves File_cnt(fp) unchanged.
1164 #$d_stdstdio USE_STDIO_PTR /**/
1165 #ifdef USE_STDIO_PTR
1166 #define FILE_ptr(fp) $stdio_ptr
1167 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
1168 #define FILE_cnt(fp) $stdio_cnt
1169 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
1170 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
1171 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
1175 * This symbol is defined if the _base field (or similar) of the
1176 * stdio FILE structure can be used to access the stdio buffer for
1177 * a file handle. If this is defined, then the FILE_base(fp) macro
1178 * will also be defined and should be used to access this field.
1179 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1180 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1181 * will never be defined unless USE_STDIO_PTR is.
1184 * This macro is used to access the _base field (or equivalent) of the
1185 * FILE structure pointed to by its argument. This macro will always be
1186 * defined if USE_STDIO_BASE is defined.
1189 * This macro is used to determine the number of bytes in the I/O
1190 * buffer pointed to by _base field (or equivalent) of the FILE
1191 * structure pointed to its argument. This macro will always be defined
1192 * if USE_STDIO_BASE is defined.
1194 #$d_stdiobase USE_STDIO_BASE /**/
1195 #ifdef USE_STDIO_BASE
1196 #define FILE_base(fp) $stdio_base
1197 #define FILE_bufsiz(fp) $stdio_bufsiz
1201 * This symbol contains the size of a double, so that the C preprocessor
1202 * can make decisions based on it.
1204 #define DOUBLESIZE $doublesize /**/
1207 * This symbol, if defined, indicates to the C program that it should
1211 * This symbol, if defined, indicates to the C program that it should
1212 * include <sys/time.h>.
1214 /* I_SYS_TIME_KERNEL:
1215 * This symbol, if defined, indicates to the C program that it should
1216 * include <sys/time.h> with KERNEL defined.
1219 * This symbol, if defined, indicates to the C program that
1220 * the struct tm has a tm_zone field.
1222 /* HAS_TM_TM_GMTOFF:
1223 * This symbol, if defined, indicates to the C program that
1224 * the struct tm has a tm_gmtoff field.
1226 #$i_time I_TIME /**/
1227 #$i_systime I_SYS_TIME /**/
1228 #$i_systimek I_SYS_TIME_KERNEL /**/
1229 #$d_tm_tm_zone HAS_TM_TM_ZONE /**/
1230 #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
1233 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1234 * non-blocking I/O for the file descriptor. Note that there is no way
1235 * back, i.e. you cannot turn it blocking again this way. If you wish to
1236 * alternatively switch between blocking and non-blocking, use the
1237 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1240 * This symbol holds the errno error code set by read() when no data was
1241 * present on the non-blocking file descriptor.
1244 * This symbol holds the return code from read() when no data is present
1245 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1246 * not defined, then you can't distinguish between no data and EOF by
1247 * issuing a read(). You'll have to find another way to tell for sure!
1250 * This symbol, if defined, indicates to the C program that a read() on
1251 * a non-blocking file descriptor will return 0 on EOF, and not the value
1252 * held in RD_NODATA (-1 usually, in that case!).
1254 #define VAL_O_NONBLOCK $o_nonblock
1255 #define VAL_EAGAIN $eagain
1256 #define RD_NODATA $rd_nodata
1257 #$d_eofnblk EOF_NONBLOCK
1260 * This symbol contains the size of a pointer, so that the C preprocessor
1261 * can make decisions based on it. It will be sizeof(void *) if
1262 * the compiler supports (void *); otherwise it will be
1265 #define PTRSIZE $ptrsize /**/
1268 * This macro is to be used to generate uniformly distributed
1269 * random numbers over the range [0., 1.[. You may have to supply
1270 * an 'extern double drand48();' in your program since SunOS 4.1.3
1271 * doesn't provide you with anything relevant in its headers.
1272 * See HAS_DRAND48_PROTO.
1275 * This symbol defines the type of the argument of the
1276 * random seed function.
1279 * This symbol defines the macro to be used in seeding the
1280 * random number generator (see Drand01).
1283 * This symbol indicates how many bits are produced by the
1284 * function used to generate normalized random numbers.
1285 * Values include 15, 16, 31, and 48.
1287 #define Drand01() $drand01 /**/
1288 #define Rand_seed_t $randseedtype /**/
1289 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
1290 #define RANDBITS $randbits /**/
1293 * This symbol holds the type used by functions that return
1294 * a count of bytes or an error condition. It must be a signed type.
1295 * It is usually ssize_t, but may be long or int, etc.
1296 * It may be necessary to include <sys/types.h> or <unistd.h>
1297 * to get any typedef'ed information.
1298 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1300 #define SSize_t $ssizetype /* signed count of bytes */
1303 * This symbol, if defined, indicates that this system uses
1306 #$ebcdic EBCDIC /**/
1309 * This variable, if defined, holds the name of the directory in
1310 * which the user wants to put architecture-dependent public
1311 * library files for $package. It is most often a local directory
1312 * such as /usr/local/lib. Programs using this variable must be
1313 * prepared to deal with filename expansion. If ARCHLIB is the
1314 * same as PRIVLIB, it is not defined, since presumably the
1315 * program already searches PRIVLIB.
1318 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1319 * in programs that are not prepared to deal with ~ expansion at run-time.
1321 #$d_archlib ARCHLIB "$archlib" /**/
1322 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
1325 * This symbol holds the path of the bin directory where the package will
1326 * be installed. Program must be prepared to deal with ~name substitution.
1329 * This symbol is the filename expanded version of the BIN symbol, for
1330 * programs that do not want to deal with that at run-time.
1332 /* PERL_RELOCATABLE_INC:
1333 * This symbol, if defined, indicates that we'd like to relocate entries
1334 * in @INC at run time based on the location of the perl binary.
1336 #define BIN "$bin" /**/
1337 #define BIN_EXP "$binexp" /**/
1338 #define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
1340 /* PERL_INC_VERSION_LIST:
1341 * This variable specifies the list of subdirectories in over
1342 * which perl.c:incpush() and lib/lib.pm will automatically
1343 * search when adding directories to @INC, in a format suitable
1344 * for a C initialization string. See the inc_version_list entry
1345 * in Porting/Glossary for more details.
1347 #$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
1349 /* INSTALL_USR_BIN_PERL:
1350 * This symbol, if defined, indicates that Perl is to be installed
1351 * also as /usr/bin/perl.
1353 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
1355 /* PERL_OTHERLIBDIRS:
1356 * This variable contains a colon-separated set of paths for the perl
1357 * binary to search for additional library files or modules.
1358 * These directories will be tacked to the end of @INC.
1359 * Perl will automatically search below each path for version-
1360 * and architecture-specific directories. See PERL_INC_VERSION_LIST
1363 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
1366 * This symbol contains the name of the private library for this package.
1367 * The library is private in the sense that it needn't be in anyone's
1368 * execution path, but it should be accessible by the world. The program
1369 * should be prepared to do ~ expansion.
1372 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1373 * in programs that are not prepared to deal with ~ expansion at run-time.
1375 #define PRIVLIB "$privlib" /**/
1376 #define PRIVLIB_EXP "$privlibexp" /**/
1379 * This symbol contains the name of the private library for this package.
1380 * The library is private in the sense that it needn't be in anyone's
1381 * execution path, but it should be accessible by the world. The program
1382 * should be prepared to do ~ expansion.
1383 * The standard distribution will put nothing in this directory.
1384 * After perl has been installed, users may install their own local
1385 * architecture-dependent modules in this directory with
1386 * MakeMaker Makefile.PL
1387 * or equivalent. See INSTALL for details.
1390 * This symbol contains the ~name expanded version of SITEARCH, to be used
1391 * in programs that are not prepared to deal with ~ expansion at run-time.
1393 #$d_sitearch SITEARCH "$sitearch" /**/
1394 #$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
1397 * This symbol contains the name of the private library for this package.
1398 * The library is private in the sense that it needn't be in anyone's
1399 * execution path, but it should be accessible by the world. The program
1400 * should be prepared to do ~ expansion.
1401 * The standard distribution will put nothing in this directory.
1402 * After perl has been installed, users may install their own local
1403 * architecture-independent modules in this directory with
1404 * MakeMaker Makefile.PL
1405 * or equivalent. See INSTALL for details.
1408 * This symbol contains the ~name expanded version of SITELIB, to be used
1409 * in programs that are not prepared to deal with ~ expansion at run-time.
1412 * This define is SITELIB_EXP with any trailing version-specific component
1413 * removed. The elements in inc_version_list (inc_version_list.U) can
1414 * be tacked onto this variable to generate a list of directories to search.
1416 #define SITELIB "$sitelib" /**/
1417 #define SITELIB_EXP "$sitelibexp" /**/
1418 #define SITELIB_STEM "$sitelib_stem" /**/
1421 * If defined, this symbol contains the name of a private library.
1422 * The library is private in the sense that it needn't be in anyone's
1423 * execution path, but it should be accessible by the world.
1424 * It may have a ~ on the front.
1425 * The standard distribution will put nothing in this directory.
1426 * Vendors who distribute perl may wish to place their own
1427 * architecture-dependent modules and extensions in this directory with
1428 * MakeMaker Makefile.PL INSTALLDIRS=vendor
1429 * or equivalent. See INSTALL for details.
1431 /* PERL_VENDORARCH_EXP:
1432 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
1433 * in programs that are not prepared to deal with ~ expansion at run-time.
1435 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
1436 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
1438 /* PERL_VENDORLIB_EXP:
1439 * This symbol contains the ~name expanded version of VENDORLIB, to be used
1440 * in programs that are not prepared to deal with ~ expansion at run-time.
1442 /* PERL_VENDORLIB_STEM:
1443 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
1444 * removed. The elements in inc_version_list (inc_version_list.U) can
1445 * be tacked onto this variable to generate a list of directories to search.
1447 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
1448 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
1451 * This symbol contains the name of the operating system, as determined
1452 * by Configure. You shouldn't rely on it too much; the specific
1453 * feature tests from Configure are generally more reliable.
1456 * This symbol contains the version of the operating system, as determined
1457 * by Configure. You shouldn't rely on it too much; the specific
1458 * feature tests from Configure are generally more reliable.
1460 #define OSNAME "$osname" /**/
1461 #define OSVERS "$osvers" /**/
1464 * This macro concatenates 2 tokens together.
1467 * This macro surrounds its token with double quotes.
1470 #define CAT2(a,b) a/**/b
1471 #define STRINGIFY(a) "a"
1473 #if $cpp_stuff == 42
1474 #define PeRl_CaTiFy(a, b) a ## b
1475 #define PeRl_StGiFy(a) #a
1476 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1477 #define StGiFy(a) PeRl_StGiFy(a)
1478 #define STRINGIFY(a) PeRl_StGiFy(a)
1480 #if $cpp_stuff != 1 && $cpp_stuff != 42
1481 #include "Bletch: How does this C preprocessor concatenate tokens?"
1485 * This symbol contains the first part of the string which will invoke
1486 * the C preprocessor on the standard input and produce to standard
1487 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1488 * call a wrapper. See CPPRUN.
1491 * This symbol contains the second part of the string which will invoke
1492 * the C preprocessor on the standard input and produce to standard
1493 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1494 * to specify standard input, otherwise the value is "".
1497 * This symbol contains the string which will invoke a C preprocessor on
1498 * the standard input and produce to standard output. It needs to end
1499 * with CPPLAST, after all other preprocessor flags have been specified.
1500 * The main difference with CPPSTDIN is that this program will never be a
1501 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1502 * available directly to the user. Note that it may well be different from
1503 * the preprocessor used to compile the C program.
1506 * This symbol is intended to be used along with CPPRUN in the same manner
1507 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1509 #define CPPSTDIN "$cppstdin"
1510 #define CPPMINUS "$cppminus"
1511 #define CPPRUN "$cpprun"
1512 #define CPPLAST "$cpplast"
1515 * This manifest constant lets the C program know that the access()
1516 * system call is available to check for accessibility using real UID/GID.
1517 * (always present on UNIX.)
1519 #$d_access HAS_ACCESS /**/
1521 /* HASATTRIBUTE_FORMAT:
1522 * Can we handle GCC attribute for checking printf-style formats
1524 /* PRINTF_FORMAT_NULL_OK:
1525 * Allows __printf__ format to be null when checking printf-style
1527 /* HASATTRIBUTE_MALLOC:
1528 * Can we handle GCC attribute for malloc-style functions.
1530 /* HASATTRIBUTE_NONNULL:
1531 * Can we handle GCC attribute for nonnull function parms.
1533 /* HASATTRIBUTE_NORETURN:
1534 * Can we handle GCC attribute for functions that do not return
1536 /* HASATTRIBUTE_PURE:
1537 * Can we handle GCC attribute for pure functions
1539 /* HASATTRIBUTE_UNUSED:
1540 * Can we handle GCC attribute for unused variables and arguments
1542 /* HASATTRIBUTE_DEPRECATED:
1543 * Can we handle GCC attribute for marking deprecated APIs
1545 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1546 * Can we handle GCC attribute for warning on unused results
1548 #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/
1549 #$d_attribute_format HASATTRIBUTE_FORMAT /**/
1550 #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
1551 #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1552 #$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1553 #$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1554 #$d_attribute_pure HASATTRIBUTE_PURE /**/
1555 #$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1556 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1559 * This symbol, if defined, indicates that the backtrace() routine is
1560 * available to get a stack trace. The <execinfo.h> header must be
1561 * included to use this routine.
1563 #$d_backtrace HAS_BACKTRACE /**/
1566 * This symbol, if defined, indicates that this C compiler knows about
1567 * the const type. There is no need to actually test for that symbol
1568 * within your programs. The mere use of the "const" keyword will
1569 * trigger the necessary tests.
1571 #$d_const HASCONST /**/
1577 * This symbol, if defined, indicates that the C-shell exists.
1580 * This symbol, if defined, contains the full pathname of csh.
1582 #$d_csh HAS_CSH /**/
1584 #define CSH "$full_csh" /**/
1588 * This symbol, if defined, indicates that the dladdr() routine is
1589 * available to query dynamic linker information for an address.
1590 * The <dlfcn.h> header must be included to use this routine.
1592 #$d_dladdr HAS_DLADDR /**/
1594 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1595 * This symbol, if defined, indicates that the bug that prevents
1596 * setuid scripts from being secure is not present in this kernel.
1599 * This symbol, if defined, indicates that the C program should
1600 * check the script that it is executing for setuid/setgid bits, and
1601 * attempt to emulate setuid/setgid on systems that have disabled
1602 * setuid #! scripts because the kernel can't do it securely.
1603 * It is up to the package designer to make sure that this emulation
1604 * is done securely. Among other things, it should do an fstat on
1605 * the script it just opened to make sure it really is a setuid/setgid
1606 * script, it should make sure the arguments passed correspond exactly
1607 * to the argument on the #! line, and it should not trust any
1608 * subprocesses to which it must pass the filename rather than the
1609 * file descriptor of the script to be executed.
1611 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1612 #$d_dosuid DOSUID /**/
1615 * This symbol, if defined, indicates that the getgrent routine is
1616 * available for finalizing sequential access of the group database.
1618 #$d_endgrent HAS_ENDGRENT /**/
1621 * This symbol, if defined, indicates that the endhostent() routine is
1622 * available to close whatever was being used for host queries.
1624 #$d_endhent HAS_ENDHOSTENT /**/
1627 * This symbol, if defined, indicates that the endnetent() routine is
1628 * available to close whatever was being used for network queries.
1630 #$d_endnent HAS_ENDNETENT /**/
1633 * This symbol, if defined, indicates that the endprotoent() routine is
1634 * available to close whatever was being used for protocol queries.
1636 #$d_endpent HAS_ENDPROTOENT /**/
1639 * This symbol, if defined, indicates that the getgrent routine is
1640 * available for finalizing sequential access of the passwd database.
1642 #$d_endpwent HAS_ENDPWENT /**/
1645 * This symbol, if defined, indicates that the endservent() routine is
1646 * available to close whatever was being used for service queries.
1648 #$d_endsent HAS_ENDSERVENT /**/
1651 * This symbol, if defined, indicates that the system supports filenames
1652 * longer than 14 characters.
1654 #$d_flexfnam FLEXFILENAMES /**/
1657 * This symbol, if defined, indicates that the getgrent routine is
1658 * available for sequential access of the group database.
1660 #$d_getgrent HAS_GETGRENT /**/
1662 /* HAS_GETHOSTBYADDR:
1663 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1664 * available to look up hosts by their IP addresses.
1666 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1668 /* HAS_GETHOSTBYNAME:
1669 * This symbol, if defined, indicates that the gethostbyname() routine is
1670 * available to look up host names in some data base or other.
1672 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1675 * This symbol, if defined, indicates that the gethostent() routine is
1676 * available to look up host names in some data base or another.
1678 #$d_gethent HAS_GETHOSTENT /**/
1681 * This symbol, if defined, indicates that the C program may use the
1682 * gethostname() routine to derive the host name. See also HAS_UNAME
1686 * This symbol, if defined, indicates that the C program may use the
1687 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1691 * This symbol, if defined, indicates the command to feed to the
1692 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1693 * and HAS_UNAME. Note that the command uses a fully qualified path,
1694 * so that it is safe even if used by a process with super-user
1698 * This symbol, if defined, indicates that the C program may use the
1699 * contents of PHOSTNAME as a command to feed to the popen() routine
1700 * to derive the host name.
1702 #$d_gethname HAS_GETHOSTNAME /**/
1703 #$d_uname HAS_UNAME /**/
1704 #$d_phostname HAS_PHOSTNAME /**/
1705 #ifdef HAS_PHOSTNAME
1706 #define PHOSTNAME "$aphostname" /* How to get the host name */
1709 /* HAS_GETNETBYADDR:
1710 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1711 * available to look up networks by their IP addresses.
1713 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1715 /* HAS_GETNETBYNAME:
1716 * This symbol, if defined, indicates that the getnetbyname() routine is
1717 * available to look up networks by their names.
1719 #$d_getnbyname HAS_GETNETBYNAME /**/
1722 * This symbol, if defined, indicates that the getnetent() routine is
1723 * available to look up network names in some data base or another.
1725 #$d_getnent HAS_GETNETENT /**/
1728 * This symbol, if defined, indicates that the getprotoent() routine is
1729 * available to look up protocols in some data base or another.
1731 #$d_getpent HAS_GETPROTOENT /**/
1734 * This symbol, if defined, indicates that the getpgrp routine is
1735 * available to get the current process group.
1738 * This symbol, if defined, indicates that getpgrp needs one
1739 * arguments whereas USG one needs none.
1741 #$d_getpgrp HAS_GETPGRP /**/
1742 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1744 /* HAS_GETPROTOBYNAME:
1745 * This symbol, if defined, indicates that the getprotobyname()
1746 * routine is available to look up protocols by their name.
1748 /* HAS_GETPROTOBYNUMBER:
1749 * This symbol, if defined, indicates that the getprotobynumber()
1750 * routine is available to look up protocols by their number.
1752 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1753 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1756 * This symbol, if defined, indicates that the getpwent routine is
1757 * available for sequential access of the passwd database.
1758 * If this is not available, the older getpw() function may be available.
1760 #$d_getpwent HAS_GETPWENT /**/
1763 * This symbol, if defined, indicates that the getservent() routine is
1764 * available to look up network services in some data base or another.
1766 #$d_getsent HAS_GETSERVENT /**/
1768 /* HAS_GETSERVBYNAME:
1769 * This symbol, if defined, indicates that the getservbyname()
1770 * routine is available to look up services by their name.
1772 /* HAS_GETSERVBYPORT:
1773 * This symbol, if defined, indicates that the getservbyport()
1774 * routine is available to look up services by their port.
1776 #$d_getsbyname HAS_GETSERVBYNAME /**/
1777 #$d_getsbyport HAS_GETSERVBYPORT /**/
1780 * This symbol, if defined, indicates that the htonl() routine (and
1781 * friends htons() ntohl() ntohs()) are available to do network
1782 * order byte swapping.
1785 * This symbol, if defined, indicates that the htons() routine (and
1786 * friends htonl() ntohl() ntohs()) are available to do network
1787 * order byte swapping.
1790 * This symbol, if defined, indicates that the ntohl() routine (and
1791 * friends htonl() htons() ntohs()) are available to do network
1792 * order byte swapping.
1795 * This symbol, if defined, indicates that the ntohs() routine (and
1796 * friends htonl() htons() ntohl()) are available to do network
1797 * order byte swapping.
1799 #$d_htonl HAS_HTONL /**/
1800 #$d_htonl HAS_HTONS /**/
1801 #$d_htonl HAS_NTOHL /**/
1802 #$d_htonl HAS_NTOHS /**/
1805 * This symbol will be defined if the C compiler supports long
1809 * This symbol contains the size of a long double, so that the
1810 * C preprocessor can make decisions based on it. It is only
1811 * defined if the system supports long doubles. Note that this
1812 * is sizeof(long double), which may include unused bytes.
1815 * This symbol, if defined, indicates that the ldexpl routine is
1816 * available to shift a long double floating-point number
1817 * by an integral power of 2.
1820 * LONG_DOUBLEKIND will be one of
1821 * LONG_DOUBLE_IS_DOUBLE
1822 * LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
1823 * LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
1824 * LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN
1825 * LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN
1826 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE
1827 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE
1828 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE
1829 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE
1830 * LONG_DOUBLE_IS_VAX_H_FLOAT
1831 * LONG_DOUBLE_IS_UNKNOWN_FORMAT
1832 * It is only defined if the system supports long doubles.
1834 /* LONG_DOUBLE_STYLE_IEEE:
1835 * This symbol, if defined, indicates that the long double
1836 * is any of the IEEE 754 style long doubles:
1837 * LONG_DOUBLE_STYLE_IEEE_STD, LONG_DOUBLE_STYLE_IEEE_EXTENDED,
1838 * LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE.
1840 /* LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE:
1841 * This symbol, if defined, indicates that the long double is
1842 * the 128-bit double-double.
1844 /* LONG_DOUBLE_STYLE_IEEE_EXTENDED:
1845 * This symbol, if defined, indicates that the long double is
1846 * the 80-bit IEEE 754. Note that despite the 'extended' this
1847 * is less than the 'std', since this is an extension of
1848 * the double precision.
1850 /* LONG_DOUBLE_STYLE_IEEE_STD:
1851 * This symbol, if defined, indicates that the long double is
1852 * the 128-bit IEEE 754.
1854 /* LONG_DOUBLE_STYLE_VAX:
1855 * This symbol, if defined, indicates that the long double is
1856 * the 128-bit VAX format H.
1858 #$d_ldexpl HAS_LDEXPL /**/
1859 #$d_longdbl HAS_LONG_DOUBLE /**/
1860 #ifdef HAS_LONG_DOUBLE
1861 #define LONG_DOUBLESIZE $longdblsize /**/
1862 #define LONG_DOUBLEKIND $longdblkind /**/
1863 #define LONG_DOUBLE_IS_DOUBLE 0
1864 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 1
1865 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 2
1866 #define LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN 3
1867 #define LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN 4
1868 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE 5
1869 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE 6
1870 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE 7
1871 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE 8
1872 #define LONG_DOUBLE_IS_VAX_H_FLOAT 9
1873 #define LONG_DOUBLE_IS_UNKNOWN_FORMAT -1
1874 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE /* back-compat */
1875 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE /* back-compat */
1876 #$d_long_double_style_ieee LONG_DOUBLE_STYLE_IEEE
1877 #$d_long_double_style_ieee_doubledouble LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE
1878 #$d_long_double_style_ieee_extended LONG_DOUBLE_STYLE_IEEE_EXTENDED
1879 #$d_long_double_style_ieee_std LONG_DOUBLE_STYLE_IEEE_STD
1880 #$d_long_double_style_vax LONG_DOUBLE_STYLE_VAX
1884 * This symbol will be defined if the C compiler supports long long.
1887 * This symbol contains the size of a long long, so that the
1888 * C preprocessor can make decisions based on it. It is only
1889 * defined if the system supports long long.
1891 #$d_longlong HAS_LONG_LONG /**/
1892 #ifdef HAS_LONG_LONG
1893 #define LONGLONGSIZE $longlongsize /**/
1897 * This symbol, if defined, indicates that the mkstemp routine is
1898 * available to exclusively create and open a uniquely named
1901 #$d_mkstemp HAS_MKSTEMP /**/
1904 * This symbol, if defined, indicates that the mmap system call is
1905 * available to map a file into memory.
1908 * This symbol holds the return type of the mmap() system call
1909 * (and simultaneously the type of the first argument).
1910 * Usually set to 'void *' or 'caddr_t'.
1912 #$d_mmap HAS_MMAP /**/
1913 #define Mmap_t $mmaptype /**/
1916 * This symbol, if defined, indicates that the setgrent routine is
1917 * available for initializing sequential access of the group database.
1919 #$d_setgrent HAS_SETGRENT /**/
1922 * This symbol, if defined, indicates that the sethostent() routine is
1925 #$d_sethent HAS_SETHOSTENT /**/
1928 * This symbol, if defined, indicates that the setnetent() routine is
1931 #$d_setnent HAS_SETNETENT /**/
1934 * This symbol, if defined, indicates that the setprotoent() routine is
1937 #$d_setpent HAS_SETPROTOENT /**/
1940 * This symbol, if defined, indicates that the setpgrp routine is
1941 * available to set the current process group.
1944 * This symbol, if defined, indicates that setpgrp needs two
1945 * arguments whereas USG one needs none. See also HAS_SETPGID
1946 * for a POSIX interface.
1948 #$d_setpgrp HAS_SETPGRP /**/
1949 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
1952 * This symbol, if defined, indicates that the setpwent routine is
1953 * available for initializing sequential access of the passwd database.
1955 #$d_setpwent HAS_SETPWENT /**/
1958 * This symbol, if defined, indicates that the setservent() routine is
1961 #$d_setsent HAS_SETSERVENT /**/
1964 * This symbol, if defined, indicates that the setvbuf routine is
1965 * available to change buffering on an open stdio stream.
1966 * to a line-buffered mode.
1968 #$d_setvbuf HAS_SETVBUF /**/
1971 * This symbol, if defined, indicates that the entire shm*(2) library is
1974 #$d_shm HAS_SHM /**/
1977 * This symbol holds the return type of the shmat() system call.
1978 * Usually set to 'void *' or 'char *'.
1980 /* HAS_SHMAT_PROTOTYPE:
1981 * This symbol, if defined, indicates that the sys/shm.h includes
1982 * a prototype for shmat(). Otherwise, it is up to the program to
1983 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
1984 * but not always right so it should be emitted by the program only
1985 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
1987 #define Shmat_t $shmattype /**/
1988 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
1991 * This symbol, if defined, indicates that the BSD socket interface is
1995 * This symbol, if defined, indicates that the BSD socketpair() call is
1998 /* HAS_SOCKADDR_SA_LEN:
1999 * This symbol, if defined, indicates that the struct sockaddr
2000 * structure has a member called sa_len, indicating the length of
2003 /* HAS_SOCKADDR_IN6:
2004 * This symbol, if defined, indicates the availability of
2005 * struct sockaddr_in6;
2007 /* HAS_SIN6_SCOPE_ID:
2008 * This symbol, if defined, indicates that the struct sockaddr_in6
2009 * structure has a member called sin6_scope_id.
2012 * This symbol, if defined, indicates the availability of
2015 /* HAS_IP_MREQ_SOURCE:
2016 * This symbol, if defined, indicates the availability of
2017 * struct ip_mreq_source;
2020 * This symbol, if defined, indicates the availability of
2023 /* HAS_IPV6_MREQ_SOURCE:
2024 * This symbol, if defined, indicates the availability of
2025 * struct ipv6_mreq_source;
2027 #$d_socket HAS_SOCKET /**/
2028 #$d_sockpair HAS_SOCKETPAIR /**/
2029 #$d_sockaddr_sa_len HAS_SOCKADDR_SA_LEN /**/
2030 #$d_sockaddr_in6 HAS_SOCKADDR_IN6 /**/
2031 #$d_sin6_scope_id HAS_SIN6_SCOPE_ID /**/
2032 #$d_ip_mreq HAS_IP_MREQ /**/
2033 #$d_ip_mreq_source HAS_IP_MREQ_SOURCE /**/
2034 #$d_ipv6_mreq HAS_IPV6_MREQ /**/
2035 #$d_ipv6_mreq_source HAS_IPV6_MREQ_SOURCE /**/
2038 * This symbol is defined if this system has a stat structure declaring
2039 * st_blksize and st_blocks.
2041 #ifndef USE_STAT_BLOCKS
2042 #$d_statblks USE_STAT_BLOCKS /**/
2046 * This symbol, if defined, indicates that the strerror routine is
2047 * available to translate error numbers to strings. See the writeup
2048 * of Strerror() in this file before you try to define your own.
2051 * This symbol, if defined, indicates that the sys_errlist array is
2052 * available to translate error numbers to strings. The extern int
2053 * sys_nerr gives the size of that table.
2056 * This preprocessor symbol is defined as a macro if strerror() is
2057 * not available to translate error numbers to strings but sys_errlist[]
2060 #$d_strerror HAS_STRERROR /**/
2061 #$d_syserrlst HAS_SYS_ERRLIST /**/
2062 #define Strerror(e) $d_strerrm
2065 * This symbol, if defined, indicates that the strtoul routine is
2066 * available to provide conversion of strings to unsigned long.
2068 #$d_strtoul HAS_STRTOUL /**/
2071 * This symbol, if defined, indicates that the union semun is
2072 * defined by including <sys/sem.h>. If not, the user code
2073 * probably needs to define it as:
2076 * struct semid_ds *buf;
2077 * unsigned short *array;
2080 /* USE_SEMCTL_SEMUN:
2081 * This symbol, if defined, indicates that union semun is
2082 * used for semctl IPC_STAT.
2084 /* USE_SEMCTL_SEMID_DS:
2085 * This symbol, if defined, indicates that struct semid_ds * is
2086 * used for semctl IPC_STAT.
2088 #$d_union_semun HAS_UNION_SEMUN /**/
2089 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2090 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2093 * This symbol, if defined, indicates that vfork() exists.
2095 #$d_vfork HAS_VFORK /**/
2098 * This symbol, if defined, indicates that an emulation of the
2099 * fork routine is available.
2101 #$d_pseudofork HAS_PSEUDOFORK /**/
2104 * This symbol's value is either "void" or "int", corresponding to the
2105 * appropriate return type of a signal handler. Thus, you can declare
2106 * a signal handler using "Signal_t (*handler)()", and define the
2107 * handler using "Signal_t handler(sig)".
2109 #define Signal_t $signal_t /* Signal handler's return type */
2112 * This symbol, if defined, indicates to the C program that it should
2113 * include <dirent.h>. Using this symbol also triggers the definition
2114 * of the Direntry_t define which ends up being 'struct dirent' or
2115 * 'struct direct' depending on the availability of <dirent.h>.
2118 * This symbol, if defined, indicates to the C program that the length
2119 * of directory entry names is provided by a d_namlen field. Otherwise
2120 * you need to do strlen() on the d_name field.
2123 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2124 * whether dirent is available or not. You should use this pseudo type to
2125 * portably declare your directory entries.
2127 #$i_dirent I_DIRENT /**/
2128 #$d_dirnamlen DIRNAMLEN /**/
2129 #define Direntry_t $direntrytype
2132 * This symbol, if defined, indicates to the C program that it should
2133 * include <execinfo.h> for backtrace() support.
2135 #$i_execinfo I_EXECINFO /**/
2138 * This symbol, if defined, indicates to the C program that it should
2142 * This symbol, if defined, indicates to the C program that struct group
2143 * in <grp.h> contains gr_passwd.
2146 #$d_grpasswd GRPASSWD /**/
2149 * This symbol, if defined, indicates that <ndbm.h> exists and should
2153 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2154 * be included. This was the location of the ndbm.h compatibility file
2158 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2159 * be included. This is the location of the ndbm.h compatibility file
2162 /* NDBM_H_USES_PROTOTYPES:
2163 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2164 * prototypes instead of K&R style function declarations without any
2165 * parameter information. While ANSI C prototypes are supported in C++,
2166 * K&R style function declarations will yield errors.
2168 /* GDBMNDBM_H_USES_PROTOTYPES:
2169 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2170 * prototypes instead of K&R style function declarations without any
2171 * parameter information. While ANSI C prototypes are supported in C++,
2172 * K&R style function declarations will yield errors.
2174 /* GDBM_NDBM_H_USES_PROTOTYPES:
2175 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2176 * prototypes instead of K&R style function declarations without any
2177 * parameter information. While ANSI C prototypes are supported in C++,
2178 * K&R style function declarations will yield errors.
2180 #$i_ndbm I_NDBM /**/
2181 #$i_gdbmndbm I_GDBMNDBM /**/
2182 #$i_gdbm_ndbm I_GDBM_NDBM /**/
2183 #$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
2184 #$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
2185 #$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
2188 * This symbol, if defined, indicates that <netdb.h> exists and
2189 * should be included.
2191 #$i_netdb I_NETDB /**/
2194 * This symbol, if defined, indicates that <net/errno.h> exists and
2195 * should be included.
2197 #$i_neterrno I_NET_ERRNO /**/
2200 * This symbol, if defined, indicates to the C program that it should
2204 * This symbol, if defined, indicates to the C program that struct passwd
2205 * contains pw_quota.
2208 * This symbol, if defined, indicates to the C program that struct passwd
2212 * This symbol, if defined, indicates to the C program that struct passwd
2213 * contains pw_change.
2216 * This symbol, if defined, indicates to the C program that struct passwd
2217 * contains pw_class.
2220 * This symbol, if defined, indicates to the C program that struct passwd
2221 * contains pw_expire.
2224 * This symbol, if defined, indicates to the C program that struct passwd
2225 * contains pw_comment.
2228 * This symbol, if defined, indicates to the C program that struct passwd
2229 * contains pw_gecos.
2232 * This symbol, if defined, indicates to the C program that struct passwd
2233 * contains pw_passwd.
2236 #$d_pwquota PWQUOTA /**/
2237 #$d_pwage PWAGE /**/
2238 #$d_pwchange PWCHANGE /**/
2239 #$d_pwclass PWCLASS /**/
2240 #$d_pwexpire PWEXPIRE /**/
2241 #$d_pwcomment PWCOMMENT /**/
2242 #$d_pwgecos PWGECOS /**/
2243 #$d_pwpasswd PWPASSWD /**/
2246 * This symbol, if defined, indicates that <sys/uio.h> exists and
2247 * should be included.
2249 #$i_sysuio I_SYSUIO /**/
2252 * This symbol, if defined, indicates that the program should include
2253 * <termio.h> rather than <sgtty.h>. There are also differences in
2254 * the ioctl() calls that depend on the value of this symbol.
2257 * This symbol, if defined, indicates that the program should include
2258 * the POSIX termios.h rather than sgtty.h or termio.h.
2259 * There are also differences in the ioctl() calls that depend on the
2260 * value of this symbol.
2263 * This symbol, if defined, indicates that the program should include
2264 * <sgtty.h> rather than <termio.h>. There are also differences in
2265 * the ioctl() calls that depend on the value of this symbol.
2267 #$i_termio I_TERMIO /**/
2268 #$i_termios I_TERMIOS /**/
2269 #$i_sgtty I_SGTTY /**/
2272 * This variable contains the return type of free(). It is usually
2273 * void, but occasionally int.
2276 * This symbol is the type of pointer returned by malloc and realloc.
2278 #define Malloc_t $malloctype /**/
2279 #define Free_t $freetype /**/
2281 /* PERL_MALLOC_WRAP:
2282 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2284 #$usemallocwrap PERL_MALLOC_WRAP /**/
2287 * This symbol, if defined, indicates that we're using our own malloc.
2289 #$d_mymalloc MYMALLOC /**/
2292 * This symbol contains the full pathname to the shell used on this
2293 * on this system to execute Bourne shell scripts. Usually, this will be
2294 * /bin/sh, though it's possible that some systems will have /bin/ksh,
2295 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
2298 #define SH_PATH "$targetsh" /**/
2301 * This symbol contains a list of signal names in order of
2302 * signal number. This is intended
2303 * to be used as a static array initialization, like this:
2304 * char *sig_name[] = { SIG_NAME };
2305 * The signals in the list are separated with commas, and each signal
2306 * is surrounded by double quotes. There is no leading SIG in the signal
2307 * name, i.e. SIGQUIT is known as "QUIT".
2308 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2309 * etc., where nn is the actual signal number (e.g. NUM37).
2310 * The signal number for sig_name[i] is stored in sig_num[i].
2311 * The last element is 0 to terminate the list with a NULL. This
2312 * corresponds to the 0 at the end of the sig_name_init list.
2313 * Note that this variable is initialized from the sig_name_init,
2314 * not from sig_name (which is unused).
2317 * This symbol contains a list of signal numbers, in the same order as the
2318 * SIG_NAME list. It is suitable for static array initialization, as in:
2319 * int sig_num[] = { SIG_NUM };
2320 * The signals in the list are separated with commas, and the indices
2321 * within that list and the SIG_NAME list match, so it's easy to compute
2322 * the signal name from a number or vice versa at the price of a small
2323 * dynamic linear lookup.
2324 * Duplicates are allowed, but are moved to the end of the list.
2325 * The signal number corresponding to sig_name[i] is sig_number[i].
2326 * if (i < NSIG) then sig_number[i] == i.
2327 * The last element is 0, corresponding to the 0 at the end of
2328 * the sig_name_init list.
2329 * Note that this variable is initialized from the sig_num_init,
2330 * not from sig_num (which is unused).
2333 * This variable contains the number of elements of the SIG_NAME
2334 * and SIG_NUM arrays, excluding the final NULL entry.
2336 #define SIG_NAME $sig_name_init /**/
2337 #define SIG_NUM $sig_num_init /**/
2338 #define SIG_SIZE $sig_size /**/
2340 /* USE_CROSS_COMPILE:
2341 * This symbol, if defined, indicates that Perl is being cross-compiled.
2344 * This symbol, if defined, indicates the target architecture
2345 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2347 #ifndef USE_CROSS_COMPILE
2348 #$usecrosscompile USE_CROSS_COMPILE /**/
2349 #define PERL_TARGETARCH "$targetarch" /**/
2353 * This symbol, if defined, indicates that Perl was configured with
2354 * -Dusedevel, to enable development features. This should not be
2355 * done for production builds.
2357 #$usedevel PERL_USE_DEVEL /**/
2360 * This symbol, if defined, indicates that the atolf routine is
2361 * available to convert strings into long doubles.
2363 #$d_atolf HAS_ATOLF /**/
2366 * This symbol, if defined, indicates that the atoll routine is
2367 * available to convert strings into long longs.
2369 #$d_atoll HAS_ATOLL /**/
2372 * This symbol, if defined, indicates that the _fwalk system call is
2373 * available to apply a function to all the file handles.
2375 #$d__fwalk HAS__FWALK /**/
2378 * This symbol, if defined, indicates that the acosh routine is
2379 * available to do the inverse hyperbolic cosine function.
2381 #$d_acosh HAS_ACOSH /**/
2384 * This symbol, if defined, indicates that the aintl routine is
2385 * available. If copysignl is also present we can emulate modfl.
2387 #$d_aintl HAS_AINTL /**/
2390 * This symbol, if defined, indicates that the asinh routine is
2391 * available to do the inverse hyperbolic sine function.
2393 #$d_asinh HAS_ASINH /**/
2396 * This symbol, if defined, indicates that the atanh routine is
2397 * available to do the inverse hyperbolic tangent function.
2399 #$d_atanh HAS_ATANH /**/
2401 /* HAS_BUILTIN_CHOOSE_EXPR:
2402 * Can we handle GCC builtin for compile-time ternary-like expressions
2404 /* HAS_BUILTIN_EXPECT:
2405 * Can we handle GCC builtin for telling that certain values are more
2408 #$d_builtin_expect HAS_BUILTIN_EXPECT /**/
2409 #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
2411 /* HAS_BUILTIN_ADD_OVERFLOW:
2412 * This symbol, if defined, indicates that the compiler supports
2413 * __builtin_add_overflow for adding integers with overflow checks.
2415 /* HAS_BUILTIN_SUB_OVERFLOW:
2416 * This symbol, if defined, indicates that the compiler supports
2417 * __builtin_sub_overflow for subtracting integers with overflow checks.
2419 /* HAS_BUILTIN_MUL_OVERFLOW:
2420 * This symbol, if defined, indicates that the compiler supports
2421 * __builtin_mul_overflow for multiplying integers with overflow checks.
2423 #$d_builtin_add_overflow HAS_BUILTIN_ADD_OVERFLOW /**/
2424 #$d_builtin_sub_overflow HAS_BUILTIN_SUB_OVERFLOW /**/
2425 #$d_builtin_mul_overflow HAS_BUILTIN_MUL_OVERFLOW /**/
2427 /* HAS_C99_VARIADIC_MACROS:
2428 * If defined, the compiler supports C99 variadic macros.
2430 #$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
2433 * This symbol, if defined, indicates that the class routine is
2434 * available to classify doubles. Available for example in AIX.
2435 * The returned values are defined in <float.h> and are:
2437 * FP_PLUS_NORM Positive normalized, nonzero
2438 * FP_MINUS_NORM Negative normalized, nonzero
2439 * FP_PLUS_DENORM Positive denormalized, nonzero
2440 * FP_MINUS_DENORM Negative denormalized, nonzero
2442 * FP_MINUS_ZERO -0.0
2445 * FP_NANS Signaling Not a Number (NaNS)
2446 * FP_NANQ Quiet Not a Number (NaNQ)
2448 #$d_class HAS_CLASS /**/
2451 * This symbol, if defined, indicates that the clearenv () routine is
2452 * available for use.
2454 #$d_clearenv HAS_CLEARENV /**/
2456 /* HAS_STRUCT_CMSGHDR:
2457 * This symbol, if defined, indicates that the struct cmsghdr
2460 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
2463 * This symbol, if defined, indicates that the copysign routine is
2464 * available to do the copysign function.
2466 #$d_copysign HAS_COPYSIGN /**/
2469 * This symbol, if defined, indicates that the copysignl routine is
2470 * available. If aintl is also present we can emulate modfl.
2472 #$d_copysignl HAS_COPYSIGNL /**/
2475 * This symbol, if defined, indicates that a C++ compiler was
2476 * used to compiled Perl and will be used to compile extensions.
2478 #$d_cplusplus USE_CPLUSPLUS /**/
2480 /* HAS_DBMINIT_PROTO:
2481 * This symbol, if defined, indicates that the system provides
2482 * a prototype for the dbminit() function. Otherwise, it is up
2483 * to the program to supply one. A good guess is
2484 * extern int dbminit(char *);
2486 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
2489 * This symbol, if defined, indicates that the the DIR* dirstream
2490 * structure contains a member variable named dd_fd.
2492 #$d_dir_dd_fd HAS_DIR_DD_FD /**/
2495 * This manifest constant lets the C program know that dirfd
2498 #$d_dirfd HAS_DIRFD /**/
2500 /* DLSYM_NEEDS_UNDERSCORE:
2501 * This symbol, if defined, indicates that we need to prepend an
2502 * underscore to the symbol name before calling dlsym(). This only
2503 * makes sense if you *have* dlsym, which we will presume is the
2504 * case if you're using dl_dlopen.xs.
2506 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
2509 * This symbol, if defined, indicates that the erf routine is
2510 * available to do the error function.
2512 #$d_erf HAS_ERF /**/
2515 * This symbol, if defined, indicates that the erfc routine is
2516 * available to do the complementary error function.
2518 #$d_erfc HAS_ERFC /**/
2521 * This symbol, if defined, indicates that the exp2 routine is
2522 * available to do the 2**x function.
2524 #$d_exp2 HAS_EXP2 /**/
2527 * This symbol, if defined, indicates that the expm1 routine is
2528 * available to do the exp(x) - 1 when x is near 1 function.
2530 #$d_expm1 HAS_EXPM1 /**/
2533 * This symbol, if defined, indicates that the "fast stdio"
2534 * is available to manipulate the stdio buffers directly.
2536 #$d_faststdio HAS_FAST_STDIO /**/
2539 * This symbol, if defined, indicates that the fchdir routine is
2540 * available to change directory using a file descriptor.
2542 #$d_fchdir HAS_FCHDIR /**/
2545 * This symbol, if defined, indicates that fcntl() can be used
2546 * for file locking. Normally on Unix systems this is defined.
2547 * It may be undefined on VMS.
2549 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
2552 * This symbol, if defined, indicates that the fdclose routine is
2553 * available to free a FILE structure without closing the underlying
2554 * file descriptor. This function appeared in FreeBSD 10.2.
2556 #$d_fdclose HAS_FDCLOSE /**/
2559 * This symbol, if defined, indicates that the fdim routine is
2560 * available to do the positive difference function.
2562 #$d_fdim HAS_FDIM /**/
2565 * This symbol, if defined, indicates that the fegetround routine is
2566 * available to return the macro corresponding to the current rounding
2569 #$d_fegetround HAS_FEGETROUND /**/
2572 * This symbol, if defined, indicates that the finite routine is
2573 * available to check whether a double is finite (non-infinity non-NaN).
2575 #$d_finite HAS_FINITE /**/
2578 * This symbol, if defined, indicates that the finitel routine is
2579 * available to check whether a long double is finite
2580 * (non-infinity non-NaN).
2582 #$d_finitel HAS_FINITEL /**/
2585 * This symbol, if defined, indicates that the system provides
2586 * a prototype for the flock() function. Otherwise, it is up
2587 * to the program to supply one. A good guess is
2588 * extern int flock(int, int);
2590 #$d_flockproto HAS_FLOCK_PROTO /**/
2593 * This symbol, if defined, indicates that the fma routine is
2594 * available to do the multiply-add function.
2596 #$d_fma HAS_FMA /**/
2599 * This symbol, if defined, indicates that the fmax routine is
2600 * available to do the maximum function.
2602 #$d_fmax HAS_FMAX /**/
2605 * This symbol, if defined, indicates that the fmin routine is
2606 * available to do the minimum function.
2608 #$d_fmin HAS_FMIN /**/
2611 * This symbol, if defined, indicates that the fp_class routine is
2612 * available to classify doubles. Available for example in Digital UNIX.
2613 * The returned values are defined in <math.h> and are:
2615 * FP_SNAN Signaling NaN (Not-a-Number)
2616 * FP_QNAN Quiet NaN (Not-a-Number)
2617 * FP_POS_INF +infinity
2618 * FP_NEG_INF -infinity
2619 * FP_POS_NORM Positive normalized
2620 * FP_NEG_NORM Negative normalized
2621 * FP_POS_DENORM Positive denormalized
2622 * FP_NEG_DENORM Negative denormalized
2623 * FP_POS_ZERO +0.0 (positive zero)
2624 * FP_NEG_ZERO -0.0 (negative zero)
2626 #$d_fp_class HAS_FP_CLASS /**/
2629 * This symbol, if defined, indicates that the fp_classl routine is
2630 * available to classify long doubles. Available for example in
2631 * Digital UNIX. See for possible values HAS_FP_CLASS.
2633 #$d_fp_classl HAS_FP_CLASSL /**/
2636 * This symbol, if defined, indicates that the fpclass routine is
2637 * available to classify doubles. Available for example in Solaris/SVR4.
2638 * The returned values are defined in <ieeefp.h> and are:
2640 * FP_SNAN signaling NaN
2642 * FP_NINF negative infinity
2643 * FP_PINF positive infinity
2644 * FP_NDENORM negative denormalized non-zero
2645 * FP_PDENORM positive denormalized non-zero
2646 * FP_NZERO negative zero
2647 * FP_PZERO positive zero
2648 * FP_NNORM negative normalized non-zero
2649 * FP_PNORM positive normalized non-zero
2651 #$d_fpclass HAS_FPCLASS /**/
2654 * This symbol, if defined, indicates that the fpclassify routine is
2655 * available to classify doubles. Available for example in HP-UX.
2656 * The returned values are defined in <math.h> and are
2658 * FP_NORMAL Normalized
2660 * FP_INFINITE Infinity
2661 * FP_SUBNORMAL Denormalized
2666 * This symbol, if defined, indicates that the fp_classify routine is
2667 * available to classify doubles. The values are defined in <math.h>
2669 * FP_NORMAL Normalized
2671 * FP_INFINITE Infinity
2672 * FP_SUBNORMAL Denormalized
2676 #$d_fpclassify HAS_FPCLASSIFY /**/
2677 #$d_fp_classify HAS_FP_CLASSIFY /**/
2680 * This symbol, if defined, indicates that the fpclassl routine is
2681 * available to classify long doubles. Available for example in IRIX.
2682 * The returned values are defined in <ieeefp.h> and are:
2684 * FP_SNAN signaling NaN
2686 * FP_NINF negative infinity
2687 * FP_PINF positive infinity
2688 * FP_NDENORM negative denormalized non-zero
2689 * FP_PDENORM positive denormalized non-zero
2690 * FP_NZERO negative zero
2691 * FP_PZERO positive zero
2692 * FP_NNORM negative normalized non-zero
2693 * FP_PNORM positive normalized non-zero
2695 #$d_fpclassl HAS_FPCLASSL /**/
2698 * This symbol, if defined, indicates that the fpgetround routine is
2699 * available to get the floating point rounding mode.
2701 #$d_fpgetround HAS_FPGETROUND /**/
2704 * This symbol will be defined if the C compiler supports fpos64_t.
2706 #$d_fpos64_t HAS_FPOS64_T /**/
2709 * This symbol, if defined, indicates that the frexpl routine is
2710 * available to break a long double floating-point number into
2711 * a normalized fraction and an integral power of 2.
2713 #$d_frexpl HAS_FREXPL /**/
2715 /* HAS_STRUCT_FS_DATA:
2716 * This symbol, if defined, indicates that the struct fs_data
2717 * to do statfs() is supported.
2719 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
2722 * This symbol is defined if the fchmodat() routine is available.
2725 * This symbol is defined if the linkat() routine is available.
2728 * This symbol is defined if the openat() routine is available.
2731 * This symbol is defined if the renameat() routine is available.
2734 * This symbol is defined if the unlinkat() routine is available.
2736 #$d_fchmodat HAS_FCHMODAT /**/
2737 #$d_linkat HAS_LINKAT /**/
2738 #$d_openat HAS_OPENAT /**/
2739 #$d_renameat HAS_RENAMEAT /**/
2740 #$d_unlinkat HAS_UNLINKAT /**/
2743 * This symbol, if defined, indicates that the fseeko routine is
2744 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2746 #$d_fseeko HAS_FSEEKO /**/
2749 * This symbol, if defined, indicates that the fstatfs routine is
2750 * available to stat filesystems by file descriptors.
2752 #$d_fstatfs HAS_FSTATFS /**/
2755 * This symbol, if defined, indicates that the fsync routine is
2756 * available to write a file's modified data and attributes to
2757 * permanent storage.
2759 #$d_fsync HAS_FSYNC /**/
2762 * This symbol, if defined, indicates that the ftello routine is
2763 * available to ftell beyond 32 bits (useful for ILP32 hosts).
2765 #$d_ftello HAS_FTELLO /**/
2768 * This symbol, if defined, indicates that the futimes routine is
2769 * available to change file descriptor time stamps with struct timevals.
2771 #$d_futimes HAS_FUTIMES /**/
2773 /* HAS_GAI_STRERROR:
2774 * This symbol, if defined, indicates that the gai_strerror routine
2775 * is available to translate error codes returned by getaddrinfo()
2776 * into human readable strings.
2778 #$d_gai_strerror HAS_GAI_STRERROR /**/
2781 * This symbol, if defined, indicates that the getaddrinfo() function
2782 * is available for use.
2784 #$d_getaddrinfo HAS_GETADDRINFO /**/
2787 * This symbol, if defined, indicates that the getcwd routine is
2788 * available to get the current working directory.
2790 #$d_getcwd HAS_GETCWD /**/
2793 * This symbol, if defined, indicates that the getespwnam system call is
2794 * available to retrieve enhanced (shadow) password entries by name.
2796 #$d_getespwnam HAS_GETESPWNAM /**/
2799 * This symbol, if defined, indicates that the getfsstat routine is
2800 * available to stat filesystems in bulk.
2802 #$d_getfsstat HAS_GETFSSTAT /**/
2805 * This symbol, if defined, indicates that the getitimer routine is
2806 * available to return interval timers.
2808 #$d_getitimer HAS_GETITIMER /**/
2811 * This symbol, if defined, indicates that the getmnt routine is
2812 * available to get filesystem mount info by filename.
2814 #$d_getmnt HAS_GETMNT /**/
2817 * This symbol, if defined, indicates that the getmntent routine is
2818 * available to iterate through mounted file systems to get their info.
2820 #$d_getmntent HAS_GETMNTENT /**/
2823 * This symbol, if defined, indicates that the getnameinfo() function
2824 * is available for use.
2826 #$d_getnameinfo HAS_GETNAMEINFO /**/
2829 * This symbol, if defined, indicates that the getprpwnam system call is
2830 * available to retrieve protected (shadow) password entries by name.
2832 #$d_getprpwnam HAS_GETPRPWNAM /**/
2835 * This symbol, if defined, indicates that the getspnam system call is
2836 * available to retrieve SysV shadow password entries by name.
2838 #$d_getspnam HAS_GETSPNAM /**/
2841 * This symbol, if defined, indicates that the hasmntopt routine is
2842 * available to query the mount options of file systems.
2844 #$d_hasmntopt HAS_HASMNTOPT /**/
2847 * This symbol, if defined, indicates that the hypot routine is
2848 * available to do the hypotenuse function.
2850 #$d_hypot HAS_HYPOT /**/
2853 * This symbol, if defined, indicates that the ilogb routine is
2854 * available to get integer exponent of a floating-point value.
2856 #$d_ilogb HAS_ILOGB /**/
2859 * This symbol, if defined, indicates that the ilogbl routine is
2860 * available. If scalbnl is also present we can emulate frexpl.
2862 #$d_ilogbl HAS_ILOGBL /**/
2865 * This symbol, if defined, indicates that the inet_ntop() function
2866 * is available to parse IPv4 and IPv6 strings.
2868 #$d_inetntop HAS_INETNTOP /**/
2871 * This symbol, if defined, indicates that the inet_pton() function
2872 * is available to parse IPv4 and IPv6 strings.
2874 #$d_inetpton HAS_INETPTON /**/
2877 * This symbol will defined if the C compiler supports int64_t.
2878 * Usually the <inttypes.h> needs to be included, but sometimes
2879 * <sys/types.h> is enough.
2881 #$d_int64_t HAS_INT64_T /**/
2884 * This manifest constant lets the C program know that isblank
2887 #$d_isblank HAS_ISBLANK /**/
2890 * This symbol, if defined, indicates that the isfinite routine is
2891 * available to check whether a double is finite (non-infinity non-NaN).
2893 #$d_isfinite HAS_ISFINITE /**/
2896 * This symbol, if defined, indicates that the isfinitel routine is
2897 * available to check whether a long double is finite.
2898 * (non-infinity non-NaN).
2900 #$d_isfinitel HAS_ISFINITEL /**/
2903 * This symbol, if defined, indicates that the isinf routine is
2904 * available to check whether a double is an infinity.
2906 #$d_isinf HAS_ISINF /**/
2909 * This symbol, if defined, indicates that the isinfl routine is
2910 * available to check whether a long double is an infinity.
2912 #$d_isinfl HAS_ISINFL /**/
2915 * This symbol, if defined, indicates that the isless routine is
2916 * available to do the isless function.
2918 #$d_isless HAS_ISLESS /**/
2921 * This symbol, if defined, indicates that the isnan routine is
2922 * available to check whether a double is a NaN.
2924 #$d_isnan HAS_ISNAN /**/
2927 * This symbol, if defined, indicates that the isnanl routine is
2928 * available to check whether a long double is a NaN.
2930 #$d_isnanl HAS_ISNANL /**/
2933 * This symbol, if defined, indicates that the isnormal routine is
2934 * available to check whether a double is normal (non-zero normalized).
2936 #$d_isnormal HAS_ISNORMAL /**/
2939 * This symbol, if defined, indicates to the C program that the
2940 * j0() function is available for Bessel functions of the first
2941 * kind of the order zero, for doubles.
2944 * This symbol, if defined, indicates to the C program that the
2945 * j0l() function is available for Bessel functions of the first
2946 * kind of the order zero, for long doubles.
2949 #$d_j0l HAS_J0L /**/
2951 /* HAS_LC_MONETARY_2008:
2952 * This symbol, if defined, indicates that the localeconv routine is
2953 * available and has the additional members added in POSIX 1003.1-2008.
2955 #$d_lc_monetary_2008 HAS_LC_MONETARY_2008 /**/
2958 * This symbol, if defined, indicates that this system's <float.h>
2959 * or <limits.h> defines the symbol LDBL_DIG, which is the number
2960 * of significant digits in a long double precision number. Unlike
2961 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
2963 #$d_ldbl_dig HAS_LDBL_DIG /* */
2966 * This symbol, if defined, indicates that the lgamma routine is
2967 * available to do the log gamma function. See also HAS_TGAMMA and
2970 #$d_lgamma HAS_LGAMMA /**/
2973 * This symbol, if defined, indicates that the lgamma_r routine is
2974 * available to do the log gamma function without using the global
2977 #$d_lgamma_r HAS_LGAMMA_R /**/
2979 /* LIBM_LIB_VERSION:
2980 * This symbol, if defined, indicates that libm exports _LIB_VERSION
2981 * and that math.h defines the enum to manipulate it.
2983 #$d_libm_lib_version LIBM_LIB_VERSION /**/
2986 * This symbol, if defined, indicates that the llrint routine is
2987 * available to return the long long value closest to a double
2988 * (according to the current rounding mode).
2990 #$d_llrint HAS_LLRINT /**/
2993 * This symbol, if defined, indicates that the llrintl routine is
2994 * available to return the long long value closest to a long double
2995 * (according to the current rounding mode).
2997 #$d_llrintl HAS_LLRINTL /**/
3000 * This symbol, if defined, indicates that the llround routine is
3001 * available to return the nearest long long value.
3003 #$d_llround HAS_LLROUND /**/
3006 * This symbol, if defined, indicates that the llroundl routine is
3007 * available to return the nearest long long value away from zero of
3008 * the long double argument value.
3010 #$d_llroundl HAS_LLROUNDL /**/
3013 * This symbol, if defined, indicates that the log1p routine is
3014 * available to do the logarithm of 1 plus argument function.
3016 #$d_log1p HAS_LOG1P /**/
3019 * This symbol, if defined, indicates that the log2 routine is
3020 * available to do the log2 function.
3022 #$d_log2 HAS_LOG2 /**/
3025 * This symbol, if defined, indicates that the logb routine is
3026 * available to do the logb function.
3028 #$d_logb HAS_LOGB /**/
3031 * This symbol, if defined, indicates that the lrint routine is
3032 * available to return the integral value closest to a double
3033 * (according to the current rounding mode).
3035 #$d_lrint HAS_LRINT /**/
3038 * This symbol, if defined, indicates that the lrintl routine is
3039 * available to return the integral value closest to a long double
3040 * (according to the current rounding mode).
3042 #$d_lrintl HAS_LRINTL /**/
3045 * This symbol, if defined, indicates that the lround routine is
3046 * available to return the nearest integral value.
3048 #$d_lround HAS_LROUND /**/
3051 * This symbol, if defined, indicates that the lroundl routine is
3052 * available to return the nearest integral value away from zero of
3053 * the long double argument value.
3055 #$d_lroundl HAS_LROUNDL /**/
3058 * This symbol, if defined, indicates that the madvise system call is
3059 * available to map a file into memory.
3061 #$d_madvise HAS_MADVISE /**/
3064 * This symbol, if defined, indicates that the malloc_size
3065 * routine is available for use.
3067 #$d_malloc_size HAS_MALLOC_SIZE /**/
3069 /* HAS_MALLOC_GOOD_SIZE:
3070 * This symbol, if defined, indicates that the malloc_good_size
3071 * routine is available for use.
3073 #$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3076 * This symbol, if defined, indicates that the memmem routine is
3077 * available to return a pointer to the start of the first occurance
3078 * of a substring in a memory area (or NULL if not found).
3080 #$d_memmem HAS_MEMMEM /**/
3083 * This symbol, if defined, indicates that the memrchr routine is
3084 * available to return a pointer to the last occurrence of a byte in
3085 * a memory area (or NULL if not found).
3087 #$d_memrchr HAS_MEMRCHR /**/
3090 * This symbol, if defined, indicates that the mkdtemp routine is
3091 * available to exclusively create a uniquely named temporary directory.
3093 #$d_mkdtemp HAS_MKDTEMP /**/
3096 * This symbol, if defined, indicates that the mkstemps routine is
3097 * available to exclusively create and open a uniquely named
3098 * (with a suffix) temporary file.
3100 #$d_mkstemps HAS_MKSTEMPS /**/
3103 * This symbol, if defined, indicates that the modfl routine is
3104 * available to split a long double x into a fractional part f and
3105 * an integer part i such that |f| < 1.0 and (f + i) = x.
3108 * This symbol, if defined, indicates that the system provides
3109 * a prototype for the modfl() function. Otherwise, it is up
3110 * to the program to supply one.
3112 #$d_modfl HAS_MODFL /**/
3113 #$d_modflproto HAS_MODFL_PROTO /**/
3116 * This symbol, if defined, indicates that the mprotect system call is
3117 * available to modify the access protection of a memory mapped file.
3119 #$d_mprotect HAS_MPROTECT /**/
3121 /* HAS_STRUCT_MSGHDR:
3122 * This symbol, if defined, indicates that the struct msghdr
3125 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3128 * This symbol, if defined, indicates that the nan routine is
3129 * available to generate NaN.
3131 #$d_nan HAS_NAN /**/
3134 * This symbol, if defined, indicates that the nanosleep
3135 * system call is available to sleep with 1E-9 sec accuracy.
3137 #$d_nanosleep HAS_NANOSLEEP /**/
3140 * This symbol, if defined, indicates that the nearbyint routine is
3141 * available to return the integral value closest to (according to
3142 * the current rounding mode) to x.
3144 #$d_nearbyint HAS_NEARBYINT /**/
3147 * This symbol, if defined, indicates that the newlocale routine is
3148 * available to return a new locale object or modify an existing
3152 * This symbol, if defined, indicates that the freelocale routine is
3153 * available to deallocates the resources associated with a locale object.
3156 * This symbol, if defined, indicates that the uselocale routine is
3157 * available to set the current locale for the calling thread.
3160 * This symbol, if defined, indicates that the querylocale routine is
3161 * available to return the name of the locale for a category mask.
3164 * This symbol, if defined, indicates to the C program that it should
3165 * include <xlocale.h> to get uselocale() and its friends.
3167 #$d_newlocale HAS_NEWLOCALE /**/
3168 #$d_freelocale HAS_FREELOCALE /**/
3169 #$d_uselocale HAS_USELOCALE /**/
3170 #$d_querylocale HAS_QUERYLOCALE /**/
3171 #$i_xlocale I_XLOCALE /**/
3174 * This symbol, if defined, indicates that the nextafter routine is
3175 * available to return the next machine representable double from
3178 #$d_nextafter HAS_NEXTAFTER /**/
3181 * This symbol, if defined, indicates that the nexttoward routine is
3182 * available to return the next machine representable long double from
3185 #$d_nexttoward HAS_NEXTTOWARD /**/
3188 * This symbol, if defined, indicates that the nl_langinfo routine is
3189 * available to return local data. You will also need <langinfo.h>
3190 * and therefore I_LANGINFO.
3192 #$d_nl_langinfo HAS_NL_LANGINFO /**/
3195 * This symbol will be defined if the C compiler supports off64_t.
3197 #$d_off64_t HAS_OFF64_T /**/
3200 * This symbol, if defined, indicates that the prctl routine is
3201 * available to set process title.
3202 * Note that there are at least two prctl variants: Linux and Irix.
3203 * While they are somewhat similar, they are incompatible.
3205 /* HAS_PRCTL_SET_NAME:
3206 * This symbol, if defined, indicates that the prctl routine is
3207 * available to set process title and supports PR_SET_NAME.
3209 #$d_prctl HAS_PRCTL /**/
3210 #$d_prctl_set_name HAS_PRCTL_SET_NAME /**/
3213 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3214 * to the absolute pathname of the executing program.
3216 /* PROCSELFEXE_PATH:
3217 * If HAS_PROCSELFEXE is defined this symbol is the filename
3218 * of the symbolic link pointing to the absolute pathname of
3219 * the executing program.
3221 #$d_procselfexe HAS_PROCSELFEXE /**/
3222 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3223 #define PROCSELFEXE_PATH $procselfexe /**/
3226 /* HAS_PTHREAD_ATTR_SETSCOPE:
3227 * This symbol, if defined, indicates that the pthread_attr_setscope
3228 * system call is available to set the contention scope attribute of
3229 * a thread attribute object.
3231 #$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3234 * This symbol will be defined if the C compiler supports ptrdiff_t.
3236 #$d_ptrdiff_t HAS_PTRDIFF_T /**/
3239 * This symbol, if defined, indicates that the readv routine is
3240 * available to do gather reads. You will also need <sys/uio.h>
3241 * and there I_SYSUIO.
3243 #$d_readv HAS_READV /**/
3246 * This symbol, if defined, indicates that the recvmsg routine is
3247 * available to send structured socket messages.
3249 #$d_recvmsg HAS_RECVMSG /**/
3252 * This symbol, if defined, indicates that the remainder routine is
3253 * available to return the floating-point remainder.
3255 #$d_remainder HAS_REMAINDER /**/
3258 * This symbol, if defined, indicates that the remquo routine is
3259 * available to return the remainder and part of quotient.
3261 #$d_remquo HAS_REMQUO /**/
3264 * This symbol, if defined, indicates that the rint routine is
3265 * available to return the nearest integral value to x as double
3266 * using the current rounding mode.
3268 #$d_rint HAS_RINT /**/
3271 * This symbol, if defined, indicates that the round routine is
3272 * available to round to nearest integer, away from zero.
3274 #$d_round HAS_ROUND /**/
3277 * This symbol, if defined, indicates that the system provides
3278 * a prototype for the sbrk() function. Otherwise, it is up
3279 * to the program to supply one. Good guesses are
3280 * extern void* sbrk(int);
3281 * extern void* sbrk(size_t);
3283 #$d_sbrkproto HAS_SBRK_PROTO /**/
3286 * This symbol, if defined, indicates that the scalbn routine is
3287 * available to multiply floating-point number by integral power
3290 #$d_scalbn HAS_SCALBN /**/
3293 * This symbol, if defined, indicates that the scalbnl routine is
3294 * available. If ilogbl is also present we can emulate frexpl.
3296 #$d_scalbnl HAS_SCALBNL /**/
3299 * This symbol, if defined, indicates that the sendmsg routine is
3300 * available to send structured socket messages.
3302 #$d_sendmsg HAS_SENDMSG /**/
3305 * This symbol, if defined, indicates that the setitimer routine is
3306 * available to set interval timers.
3308 #$d_setitimer HAS_SETITIMER /**/
3310 /* HAS_SETPROCTITLE:
3311 * This symbol, if defined, indicates that the setproctitle routine is
3312 * available to set process title.
3314 #$d_setproctitle HAS_SETPROCTITLE /**/
3317 * This symbol, if defined, indicates that the signbit routine is
3318 * available to check if the given number has the sign bit set.
3319 * This should include correct testing of -0.0. This will only be set
3320 * if the signbit() routine is safe to use with the NV type used internally
3321 * in perl. Users should call Perl_signbit(), which will be #defined to
3322 * the system's signbit() function or macro if this symbol is defined.
3324 #$d_signbit HAS_SIGNBIT /**/
3327 * This symbol, if defined, indicates that the sigprocmask
3328 * system call is available to examine or change the signal mask
3329 * of the calling process.
3331 #$d_sigprocmask HAS_SIGPROCMASK /**/
3333 /* USE_SITECUSTOMIZE:
3334 * This symbol, if defined, indicates that sitecustomize should
3337 #ifndef USE_SITECUSTOMIZE
3338 #$usesitecustomize USE_SITECUSTOMIZE /**/
3342 * This symbol, if defined, indicates that the sockatmark routine is
3343 * available to test whether a socket is at the out-of-band mark.
3345 #$d_sockatmark HAS_SOCKATMARK /**/
3347 /* HAS_SOCKATMARK_PROTO:
3348 * This symbol, if defined, indicates that the system provides
3349 * a prototype for the sockatmark() function. Otherwise, it is up
3350 * to the program to supply one. A good guess is
3351 * extern int sockatmark(int);
3353 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3356 * This symbol, if defined, indicates that the socks5_init routine is
3357 * available to initialize SOCKS 5.
3359 #$d_socks5_init HAS_SOCKS5_INIT /**/
3362 * This symbol, if defined, indicates that the sqrtl routine is
3363 * available to do long double square roots.
3365 #$d_sqrtl HAS_SQRTL /**/
3367 /* HAS_SETRESGID_PROTO:
3368 * This symbol, if defined, indicates that the system provides
3369 * a prototype for the setresgid() function. Otherwise, it is up
3370 * to the program to supply one. Good guesses are
3371 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3373 #$d_sresgproto HAS_SETRESGID_PROTO /**/
3375 /* HAS_SETRESUID_PROTO:
3376 * This symbol, if defined, indicates that the system provides
3377 * a prototype for the setresuid() function. Otherwise, it is up
3378 * to the program to supply one. Good guesses are
3379 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3381 #$d_sresuproto HAS_SETRESUID_PROTO /**/
3383 /* HAS_STRUCT_STATFS_F_FLAGS:
3384 * This symbol, if defined, indicates that the struct statfs
3385 * does have the f_flags member containing the mount flags of
3386 * the filesystem containing the file.
3387 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3388 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3389 * have statfs() and struct statfs, they have ustat() and getmnt()
3390 * with struct ustat and struct fs_data.
3392 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
3394 /* HAS_STRUCT_STATFS:
3395 * This symbol, if defined, indicates that the struct statfs
3396 * to do statfs() is supported.
3398 #$d_statfs_s HAS_STRUCT_STATFS /**/
3401 * This symbol, if defined, indicates that the fstatvfs routine is
3402 * available to stat filesystems by file descriptors.
3404 #$d_fstatvfs HAS_FSTATVFS /**/
3407 * This symbol, if defined, indicates that the strerror_l routine is
3408 * available to return the error message for a given errno value in
3409 * a particular locale (identified by a locale_t object).
3411 #$d_strerror_l HAS_STRERROR_L /**/
3414 * This symbol, if defined, indicates that the strftime routine is
3415 * available to do time formatting.
3417 #$d_strftime HAS_STRFTIME /**/
3420 * This symbol, if defined, indicates that the strlcat () routine is
3421 * available to do string concatenation.
3423 #$d_strlcat HAS_STRLCAT /**/
3426 * This symbol, if defined, indicates that the strlcpy () routine is
3427 * available to do string copying.
3429 #$d_strlcpy HAS_STRLCPY /**/
3432 * This symbol, if defined, indicates that the strnlen () routine is
3433 * available to check the length of a string up to a maximum.
3435 #$d_strnlen HAS_STRNLEN /**/
3438 * This symbol, if defined, indicates that the strtold routine is
3439 * available to convert strings to long doubles.
3441 #$d_strtold HAS_STRTOLD /**/
3444 * This symbol, if defined, indicates that the strtoll routine is
3445 * available to convert strings to long longs.
3447 #$d_strtoll HAS_STRTOLL /**/
3450 * This symbol, if defined, indicates that the strtoq routine is
3451 * available to convert strings to long longs (quads).
3453 #$d_strtoq HAS_STRTOQ /**/
3456 * This symbol, if defined, indicates that the strtoull routine is
3457 * available to convert strings to unsigned long longs.
3459 #$d_strtoull HAS_STRTOULL /**/
3462 * This symbol, if defined, indicates that the strtouq routine is
3463 * available to convert strings to unsigned long longs (quads).
3465 #$d_strtouq HAS_STRTOUQ /**/
3467 /* HAS_SYSCALL_PROTO:
3468 * This symbol, if defined, indicates that the system provides
3469 * a prototype for the syscall() function. Otherwise, it is up
3470 * to the program to supply one. Good guesses are
3471 * extern int syscall(int, ...);
3472 * extern int syscall(long, ...);
3474 #$d_syscallproto HAS_SYSCALL_PROTO /**/
3476 /* HAS_TELLDIR_PROTO:
3477 * This symbol, if defined, indicates that the system provides
3478 * a prototype for the telldir() function. Otherwise, it is up
3479 * to the program to supply one. A good guess is
3480 * extern long telldir(DIR*);
3482 #$d_telldirproto HAS_TELLDIR_PROTO /**/
3485 * This symbol, if defined, indicates that the tgamma routine is
3486 * available to do the gamma function. See also HAS_LGAMMA.
3488 #$d_tgamma HAS_TGAMMA /**/
3491 * This symbol, if defined, indicates that the ctime64 () routine is
3492 * available to do the 64bit variant of ctime ()
3495 * This symbol, if defined, indicates that the localtime64 () routine is
3496 * available to do the 64bit variant of localtime ()
3499 * This symbol, if defined, indicates that the gmtime64 () routine is
3500 * available to do the 64bit variant of gmtime ()
3503 * This symbol, if defined, indicates that the mktime64 () routine is
3504 * available to do the 64bit variant of mktime ()
3507 * This symbol, if defined, indicates that the difftime64 () routine is
3508 * available to do the 64bit variant of difftime ()
3511 * This symbol, if defined, indicates that the asctime64 () routine is
3512 * available to do the 64bit variant of asctime ()
3514 #$d_ctime64 HAS_CTIME64 /**/
3515 #$d_localtime64 HAS_LOCALTIME64 /**/
3516 #$d_gmtime64 HAS_GMTIME64 /**/
3517 #$d_mktime64 HAS_MKTIME64 /**/
3518 #$d_difftime64 HAS_DIFFTIME64 /**/
3519 #$d_asctime64 HAS_ASCTIME64 /**/
3522 * This symbol, if defined, indicates that the timegm routine is
3523 * available to do the opposite of gmtime ()
3525 #$d_timegm HAS_TIMEGM /**/
3528 * This symbol, if defined, indicates that the trunc routine is
3529 * available to round doubles towards zero.
3531 #$d_trunc HAS_TRUNC /**/
3534 * This symbol, if defined, indicates that the truncl routine is
3535 * available. If copysignl is also present we can emulate modfl.
3537 #$d_truncl HAS_TRUNCL /**/
3539 /* U32_ALIGNMENT_REQUIRED:
3540 * This symbol, if defined, indicates that you must access
3541 * character data through U32-aligned pointers.
3543 #ifndef U32_ALIGNMENT_REQUIRED
3544 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
3548 * This symbol, if defined, indicates that the ualarm routine is
3549 * available to do alarms with microsecond granularity.
3551 #$d_ualarm HAS_UALARM /**/
3554 * This symbol, if defined, indicates that the unordered routine is
3555 * available to check whether two doubles are unordered
3556 * (effectively: whether either of them is NaN)
3558 #$d_unordered HAS_UNORDERED /**/
3561 * This symbol, if defined, indicates that the unsetenv () routine is
3562 * available for use.
3564 #$d_unsetenv HAS_UNSETENV /**/
3566 /* HAS_USLEEP_PROTO:
3567 * This symbol, if defined, indicates that the system provides
3568 * a prototype for the usleep() function. Otherwise, it is up
3569 * to the program to supply one. A good guess is
3570 * extern int usleep(useconds_t);
3572 #$d_usleepproto HAS_USLEEP_PROTO /**/
3575 * This symbol, if defined, indicates that the ustat system call is
3576 * available to query file system statistics by dev_t.
3578 #$d_ustat HAS_USTAT /**/
3581 * This symbol, if defined, indicates that the wcscmp routine is
3582 * available to compare two wide character strings.
3584 #$d_wcscmp HAS_WCSCMP /**/
3587 * This symbol, if defined, indicates that the wcsxfrm routine is
3588 * available to tranform a wide character string for wcscmp().
3590 #$d_wcsxfrm HAS_WCSXFRM /**/
3593 * This symbol, if defined, indicates that the writev routine is
3594 * available to do scatter writes.
3596 #$d_writev HAS_WRITEV /**/
3598 /* DEFAULT_INC_EXCLUDES_DOT:
3599 * This symbol, if defined, removes the legacy default behavior of
3600 * including '.' at the end of @INC.
3602 #$default_inc_excludes_dot DEFAULT_INC_EXCLUDES_DOT /**/
3604 /* USE_DYNAMIC_LOADING:
3605 * This symbol, if defined, indicates that dynamic loading of
3606 * some sort is available.
3608 #$usedl USE_DYNAMIC_LOADING /**/
3611 * This symbol, if defined, tells that fflush(NULL) correctly
3612 * flushes all pending stdio output without side effects. In
3613 * particular, on some platforms calling fflush(NULL) *still*
3614 * corrupts STDIN if it is a pipe.
3617 * This symbol, if defined, tells that to flush
3618 * all pending stdio output one must loop through all
3619 * the stdio file handles stored in an array and fflush them.
3620 * Note that if fflushNULL is defined, fflushall will not
3621 * even be probed for and will be left undefined.
3623 #$fflushNULL FFLUSH_NULL /**/
3624 #$fflushall FFLUSH_ALL /**/
3627 * This symbol, if defined, indicates that <assert.h> exists and
3628 * could be included by the C program to get the assert() macro.
3630 #$i_assert I_ASSERT /**/
3633 * This symbol, if defined, indicates that <bfd.h> exists and
3639 * This symbol, if defined, indicates that <crypt.h> exists and
3640 * should be included.
3642 #$i_crypt I_CRYPT /**/
3645 * This symbol contains the type of the prefix structure element
3646 * in the <db.h> header file. In older versions of DB, it was
3647 * int, while in newer ones it is u_int32_t.
3650 * This symbol contains the type of the prefix structure element
3651 * in the <db.h> header file. In older versions of DB, it was
3652 * int, while in newer ones it is size_t.
3654 /* DB_VERSION_MAJOR_CFG:
3655 * This symbol, if defined, defines the major version number of
3656 * Berkeley DB found in the <db.h> header when Perl was configured.
3658 /* DB_VERSION_MINOR_CFG:
3659 * This symbol, if defined, defines the minor version number of
3660 * Berkeley DB found in the <db.h> header when Perl was configured.
3661 * For DB version 1 this is always 0.
3663 /* DB_VERSION_PATCH_CFG:
3664 * This symbol, if defined, defines the patch version number of
3665 * Berkeley DB found in the <db.h> header when Perl was configured.
3666 * For DB version 1 this is always 0.
3668 #define DB_Hash_t $db_hashtype /**/
3669 #define DB_Prefix_t $db_prefixtype /**/
3670 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
3671 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
3672 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
3675 * This symbol, if defined, indicates to the C program that it should
3676 * include <fenv.h> to get the floating point environment definitions.
3678 #$i_fenv I_FENV /**/
3681 * This symbol, if defined, indicates that <fp.h> exists and
3682 * should be included.
3687 * This symbol, if defined, indicates that <fp_class.h> exists and
3688 * should be included.
3690 #$i_fp_class I_FP_CLASS /**/
3693 * This symbol, if defined, indicates that <ieeefp.h> exists and
3694 * should be included.
3696 #$i_ieeefp I_IEEEFP /**/
3699 * This symbol, if defined, indicates to the C program that it should
3700 * include <inttypes.h>.
3702 #$i_inttypes I_INTTYPES /**/
3705 * This symbol, if defined, indicates that <langinfo.h> exists and
3706 * should be included.
3708 #$i_langinfo I_LANGINFO /**/
3711 * This symbol, if defined, indicates that <libutil.h> exists and
3712 * should be included.
3714 #$i_libutil I_LIBUTIL /**/
3717 * This symbol, if defined, indicates to the C program that it should
3718 * include <malloc/malloc.h>.
3720 #$i_mallocmalloc I_MALLOCMALLOC /**/
3723 * This symbol, if defined, indicates that <mntent.h> exists and
3724 * should be included.
3726 #$i_mntent I_MNTENT /**/
3729 * This symbol, if defined, indicates to the C program that it should
3730 * include <netinet/tcp.h>.
3732 #$i_netinettcp I_NETINET_TCP /**/
3735 * This symbol, if defined, indicates that <poll.h> exists and
3736 * should be included. (see also HAS_POLL)
3738 #$i_poll I_POLL /**/
3741 * This symbol, if defined, indicates that <prot.h> exists and
3742 * should be included.
3744 #$i_prot I_PROT /**/
3747 * This symbol, if defined, indicates that <quadmath.h> exists and
3748 * should be included.
3750 #$i_quadmath I_QUADMATH /**/
3753 * This symbol, if defined, indicates that <shadow.h> exists and
3754 * should be included.
3756 #$i_shadow I_SHADOW /**/
3759 * This symbol, if defined, indicates that <socks.h> exists and
3760 * should be included.
3762 #$i_socks I_SOCKS /**/
3765 * This symbol, if defined, indicates that <stdbool.h> exists and
3768 #$i_stdbool I_STDBOOL /**/
3771 * This symbol, if defined, indicates that <stdint.h> exists and
3772 * should be included.
3774 #$i_stdint I_STDINT /**/
3777 * This symbol, if defined, indicates that <sunmath.h> exists and
3778 * should be included.
3780 #$i_sunmath I_SUNMATH /**/
3783 * This symbol, if defined, indicates that <syslog.h> exists and
3784 * should be included.
3786 #$i_syslog I_SYSLOG /**/
3789 * This symbol, if defined, indicates that <sys/mode.h> exists and
3790 * should be included.
3792 #$i_sysmode I_SYSMODE /**/
3795 * This symbol, if defined, indicates that <sys/mount.h> exists and
3796 * should be included.
3798 #$i_sysmount I_SYS_MOUNT /**/
3801 * This symbol, if defined, indicates that <sys/statfs.h> exists.
3803 #$i_sysstatfs I_SYS_STATFS /**/
3806 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
3807 * should be included.
3809 #$i_sysstatvfs I_SYS_STATVFS /**/
3812 * This symbol, if defined, indicates that <sys/utsname.h> exists and
3813 * should be included.
3815 #$i_sysutsname I_SYSUTSNAME /**/
3818 * This symbol, if defined, indicates that <sys/vfs.h> exists and
3819 * should be included.
3821 #$i_sysvfs I_SYS_VFS /**/
3824 * This symbol, if defined, indicates that <ustat.h> exists and
3825 * should be included.
3827 #$i_ustat I_USTAT /**/
3830 * This symbol, if defined, indicates to the C program that <wchar.h>
3831 * is available for inclusion
3833 #$i_wchar I_WCHAR /**/
3836 * This symbol, if defined, is a comma-separated list of
3837 * hexadecimal bytes for the double precision infinity.
3840 * This symbol, if defined, is a comma-separated list of
3841 * hexadecimal bytes (0xHH) for the double precision not-a-number.
3844 * This symbol, if defined, is a comma-separated list of
3845 * hexadecimal bytes for the long double precision infinity.
3848 * This symbol, if defined, is a comma-separated list of
3849 * hexadecimal bytes (0xHH) for the long double precision not-a-number.
3851 #define DOUBLEINFBYTES $doubleinfbytes /**/
3852 #define DOUBLENANBYTES $doublenanbytes /**/
3853 #define LONGDBLINFBYTES $longdblinfbytes /**/
3854 #define LONGDBLNANBYTES $longdblnanbytes /**/
3857 * This symbol, if defined, contains the string used by stdio to
3858 * format long doubles (format 'f') for output.
3861 * This symbol, if defined, contains the string used by stdio to
3862 * format long doubles (format 'g') for output.
3865 * This symbol, if defined, contains the string used by stdio to
3866 * format long doubles (format 'e') for output.
3869 * This symbol, if defined, contains the string used by stdio to
3870 * format long doubles (format 'f') for input.
3873 * DOUBLEKIND will be one of
3874 * DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN
3875 * DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN
3876 * DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN
3877 * DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN
3878 * DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
3879 * DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
3880 * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE
3881 * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE
3882 * DOUBLE_IS_VAX_F_FLOAT
3883 * DOUBLE_IS_VAX_D_FLOAT
3884 * DOUBLE_IS_VAX_G_FLOAT
3885 * DOUBLE_IS_IBM_SINGLE_32_BIT
3886 * DOUBLE_IS_IBM_DOUBLE_64_BIT
3887 * DOUBLE_IS_CRAY_SINGLE_64_BIT
3888 * DOUBLE_IS_UNKNOWN_FORMAT
3891 * This symbol, if defined, indicates that the double has
3895 * This symbol, if defined, indicates that the double has
3898 /* DOUBLE_HAS_NEGATIVE_ZERO:
3899 * This symbol, if defined, indicates that the double has
3900 * the negative_zero.
3902 /* DOUBLE_HAS_SUBNORMALS:
3903 * This symbol, if defined, indicates that the double has
3904 * the subnormals (denormals).
3906 /* DOUBLE_STYLE_CRAY:
3907 * This symbol, if defined, indicates that the double is
3908 * the 64-bit CRAY mainframe format.
3910 /* DOUBLE_STYLE_IBM:
3911 * This symbol, if defined, indicates that the double is
3912 * the 64-bit IBM mainframe format.
3914 /* DOUBLE_STYLE_IEEE:
3915 * This symbol, if defined, indicates that the double is
3916 * the 64-bit IEEE 754.
3918 /* DOUBLE_STYLE_VAX:
3919 * This symbol, if defined, indicates that the double is
3920 * the 64-bit VAX format D or G.
3922 #define DOUBLEKIND $doublekind /**/
3923 #define DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN 1
3924 #define DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN 2
3925 #define DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN 3
3926 #define DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN 4
3927 #define DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 5
3928 #define DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 6
3929 #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE 7
3930 #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE 8
3931 #define DOUBLE_IS_VAX_F_FLOAT 9
3932 #define DOUBLE_IS_VAX_D_FLOAT 10
3933 #define DOUBLE_IS_VAX_G_FLOAT 11
3934 #define DOUBLE_IS_IBM_SINGLE_32_BIT 12
3935 #define DOUBLE_IS_IBM_DOUBLE_64_BIT 13
3936 #define DOUBLE_IS_CRAY_SINGLE_64_BIT 14
3937 #define DOUBLE_IS_UNKNOWN_FORMAT -1
3938 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
3939 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
3940 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
3941 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
3942 #$d_double_has_inf DOUBLE_HAS_INF
3943 #$d_double_has_nan DOUBLE_HAS_NAN
3944 #$d_double_has_negative_zero DOUBLE_HAS_NEGATIVE_ZERO
3945 #$d_double_has_subnormals DOUBLE_HAS_SUBNORMALS
3946 #$d_double_style_cray DOUBLE_STYLE_CRAY
3947 #$d_double_style_ibm DOUBLE_STYLE_IBM
3948 #$d_double_style_ieee DOUBLE_STYLE_IEEE
3949 #$d_double_style_vax DOUBLE_STYLE_VAX
3952 * This symbol, if defined, tells how many mantissa bits
3953 * there are in double precision floating point format.
3954 * Note that this is usually DBL_MANT_DIG minus one, since
3955 * with the standard IEEE 754 formats DBL_MANT_DIG includes
3956 * the implicit bit, which doesn't really exist.
3959 * This symbol, if defined, tells how many mantissa bits
3960 * there are in long double precision floating point format.
3961 * Note that this can be LDBL_MANT_DIG minus one,
3962 * since LDBL_MANT_DIG can include the IEEE 754 implicit bit.
3963 * The common x86-style 80-bit long double does not have
3967 * This symbol, if defined, tells how many mantissa bits
3968 * (not including implicit bit) there are in a Perl NV.
3969 * This depends on which floating point type was chosen.
3971 #define DOUBLEMANTBITS $doublemantbits
3972 #define LONGDBLMANTBITS $longdblmantbits
3973 #define NVMANTBITS $nvmantbits
3976 * This symbol, if defined, indicates that the system stores
3977 * the variable argument list datatype, va_list, in a format
3978 * that cannot be copied by simple assignment, so that some
3979 * other means must be used when copying is required.
3980 * As such systems vary in their provision (or non-provision)
3981 * of copying mechanisms, handy.h defines a platform-
3982 * independent macro, Perl_va_copy(src, dst), to do the job.
3984 #$need_va_copy NEED_VA_COPY /**/
3987 * This symbol defines the C type used for Perl's IV.
3990 * This symbol defines the C type used for Perl's UV.
3993 * This symbol defines the C type used for Perl's I8.
3996 * This symbol defines the C type used for Perl's U8.
3999 * This symbol defines the C type used for Perl's I16.
4002 * This symbol defines the C type used for Perl's U16.
4005 * This symbol defines the C type used for Perl's I32.
4008 * This symbol defines the C type used for Perl's U32.
4011 * This symbol defines the C type used for Perl's I64.
4014 * This symbol defines the C type used for Perl's U64.
4017 * This symbol defines the C type used for Perl's NV.
4020 * This symbol contains the sizeof(IV).
4023 * This symbol contains the sizeof(UV).
4026 * This symbol contains the sizeof(I8).
4029 * This symbol contains the sizeof(U8).
4032 * This symbol contains the sizeof(I16).
4035 * This symbol contains the sizeof(U16).
4038 * This symbol contains the sizeof(I32).
4041 * This symbol contains the sizeof(U32).
4044 * This symbol contains the sizeof(I64).
4047 * This symbol contains the sizeof(U64).
4050 * This symbol contains the sizeof(NV).
4051 * Note that some floating point formats have unused bytes.
4052 * The most notable example is the x86* 80-bit extended precision
4053 * which comes in byte sizes of 12 and 16 (for 32 and 64 bit
4054 * platforms, respectively), but which only uses 10 bytes.
4055 * Perl compiled with -Duselongdouble on x86* is like this.
4058 * This symbol, if defined, indicates that a variable of type NVTYPE
4059 * can preserve all the bits of a variable of type UVTYPE.
4061 /* NV_PRESERVES_UV_BITS:
4062 * This symbol contains the number of bits a variable of type NVTYPE
4063 * can preserve of a variable of type UVTYPE.
4065 /* NV_OVERFLOWS_INTEGERS_AT:
4066 * This symbol gives the largest integer value that NVs can hold. This
4067 * value + 1.0 cannot be stored accurately. It is expressed as constant
4068 * floating point expression to reduce the chance of decimal/binary
4069 * conversion issues. If it can not be determined, the value 0 is given.
4071 /* NV_ZERO_IS_ALLBITS_ZERO:
4072 * This symbol, if defined, indicates that a variable of type NVTYPE
4073 * stores 0.0 in memory as all bits zero.
4075 #define IVTYPE $ivtype /**/
4076 #define UVTYPE $uvtype /**/
4077 #define I8TYPE $i8type /**/
4078 #define U8TYPE $u8type /**/
4079 #define I16TYPE $i16type /**/
4080 #define U16TYPE $u16type /**/
4081 #define I32TYPE $i32type /**/
4082 #define U32TYPE $u32type /**/
4084 #define I64TYPE $i64type /**/
4085 #define U64TYPE $u64type /**/
4087 #define NVTYPE $nvtype /**/
4088 #define IVSIZE $ivsize /**/
4089 #define UVSIZE $uvsize /**/
4090 #define I8SIZE $i8size /**/
4091 #define U8SIZE $u8size /**/
4092 #define I16SIZE $i16size /**/
4093 #define U16SIZE $u16size /**/
4094 #define I32SIZE $i32size /**/
4095 #define U32SIZE $u32size /**/
4097 #define I64SIZE $i64size /**/
4098 #define U64SIZE $u64size /**/
4100 #define NVSIZE $nvsize /**/
4101 #$d_nv_preserves_uv NV_PRESERVES_UV
4102 #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4103 #define NV_OVERFLOWS_INTEGERS_AT ($nv_overflows_integers_at)
4104 #$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4107 # if BYTEORDER == 0x1234
4109 # define BYTEORDER 0x12345678
4111 # if BYTEORDER == 0x4321
4113 # define BYTEORDER 0x87654321
4120 * This symbol defines the format string used for printing a Perl IV
4121 * as a signed decimal integer.
4124 * This symbol defines the format string used for printing a Perl UV
4125 * as an unsigned decimal integer.
4128 * This symbol defines the format string used for printing a Perl UV
4129 * as an unsigned octal integer.
4132 * This symbol defines the format string used for printing a Perl UV
4133 * as an unsigned hexadecimal integer in lowercase abcdef.
4136 * This symbol defines the format string used for printing a Perl UV
4137 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4140 * This symbol defines the format string used for printing a Perl NV
4141 * using %e-ish floating point format.
4144 * This symbol defines the format string used for printing a Perl NV
4145 * using %f-ish floating point format.
4148 * This symbol defines the format string used for printing a Perl NV
4149 * using %g-ish floating point format.
4151 #define IVdf $ivdformat /**/
4152 #define UVuf $uvuformat /**/
4153 #define UVof $uvoformat /**/
4154 #define UVxf $uvxformat /**/
4155 #define UVXf $uvXUformat /**/
4156 #define NVef $nveformat /**/
4157 #define NVff $nvfformat /**/
4158 #define NVgf $nvgformat /**/
4161 * This symbol holds the minimum number of bits operated by select.
4162 * That is, if you do select(n, ...), how many bits at least will be
4163 * cleared in the masks if some activity is detected. Usually this
4164 * is either n or 32*ceil(n/32), especially many little-endians do
4165 * the latter. This is only useful if you have select(), naturally.
4167 #define SELECT_MIN_BITS $selectminbits /**/
4170 * This variable contains the size of struct stat's st_ino in bytes.
4173 * This symbol holds the signedness of struct stat's st_ino.
4174 * 1 for unsigned, -1 for signed.
4176 #define ST_INO_SIGN $st_ino_sign /* st_ino sign */
4177 #define ST_INO_SIZE $st_ino_size /* st_ino size */
4180 * This variable contains the string to put in front of a perl
4181 * script to make sure (one hopes) that it runs with perl and not
4184 #define STARTPERL "$startperl" /**/
4186 /* HAS_STDIO_STREAM_ARRAY:
4187 * This symbol, if defined, tells that there is an array
4188 * holding the stdio streams.
4190 /* STDIO_STREAM_ARRAY:
4191 * This symbol tells the name of the array holding the stdio streams.
4192 * Usual values include _iob, __iob, and __sF.
4194 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4195 #ifdef HAS_STDIO_STREAM_ARRAY
4196 #define STDIO_STREAM_ARRAY $stdio_stream_array
4200 * This symbol contains the maximum value for the time_t offset that
4201 * the system function gmtime () accepts, and defaults to 0
4204 * This symbol contains the minimum value for the time_t offset that
4205 * the system function gmtime () accepts, and defaults to 0
4208 * This symbol contains the maximum value for the time_t offset that
4209 * the system function localtime () accepts, and defaults to 0
4212 * This symbol contains the minimum value for the time_t offset that
4213 * the system function localtime () accepts, and defaults to 0
4215 #define GMTIME_MAX $sGMTIME_max /**/
4216 #define GMTIME_MIN $sGMTIME_min /**/
4217 #define LOCALTIME_MAX $sLOCALTIME_max /**/
4218 #define LOCALTIME_MIN $sLOCALTIME_min /**/
4221 * This symbol, if defined, indicates that 64-bit integers should
4222 * be used when available. If not defined, the native integers
4223 * will be employed (be they 32 or 64 bits). The minimal possible
4224 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4225 * This may mean using for example "long longs", while your memory
4226 * may still be limited to 2 gigabytes.
4229 * This symbol, if defined, indicates that 64-bit integers should
4230 * be used when available. If not defined, the native integers
4231 * will be used (be they 32 or 64 bits). The maximal possible
4232 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4233 * be able to use more than 2 gigabytes of memory. This mode is
4234 * even more binary incompatible than USE_64_BIT_INT. You may not
4235 * be able to run the resulting executable in a 32-bit CPU at all or
4236 * you may need at least to reboot your OS to 64-bit mode.
4238 #ifndef USE_64_BIT_INT
4239 #$use64bitint USE_64_BIT_INT /**/
4241 #ifndef USE_64_BIT_ALL
4242 #$use64bitall USE_64_BIT_ALL /**/
4246 * This symbol, if defined, indicates that Perl should
4247 * be built with support for backtrace.
4249 #$usecbacktrace USE_CBACKTRACE /**/
4252 * This symbol, if defined, indicates that Perl should
4253 * be built with support for DTrace.
4255 #$usedtrace USE_DTRACE /**/
4258 * This symbol, if defined, indicates that Perl should
4259 * be built to use 'fast stdio'.
4260 * Defaults to define in Perls 5.8 and earlier, to undef later.
4262 #ifndef USE_FAST_STDIO
4263 #$usefaststdio USE_FAST_STDIO /**/
4266 /* USE_KERN_PROC_PATHNAME:
4267 * This symbol, if defined, indicates that we can use sysctl with
4268 * KERN_PROC_PATHNAME to get a full path for the executable, and hence
4269 * convert $^X to an absolute path.
4271 #$usekernprocpathname USE_KERN_PROC_PATHNAME /**/
4274 * This symbol, if defined, indicates that large file support
4275 * should be used when available.
4277 #ifndef USE_LARGE_FILES
4278 #$uselargefiles USE_LARGE_FILES /**/
4282 * This symbol, if defined, indicates that long doubles should
4283 * be used when available.
4285 #ifndef USE_LONG_DOUBLE
4286 #$uselongdouble USE_LONG_DOUBLE /**/
4290 * This symbol, if defined, indicates that 64-bit interfaces and
4291 * long doubles should be used when available.
4293 #ifndef USE_MORE_BITS
4294 #$usemorebits USE_MORE_BITS /**/
4298 * This symbol, if defined, indicates that Perl should
4299 * be built to use multiplicity.
4301 #ifndef MULTIPLICITY
4302 #$usemultiplicity MULTIPLICITY /**/
4305 /* USE_NSGETEXECUTABLEPATH:
4306 * This symbol, if defined, indicates that we can use _NSGetExecutablePath
4307 * and realpath to get a full path for the executable, and hence convert
4308 * $^X to an absolute path.
4310 #$usensgetexecutablepath USE_NSGETEXECUTABLEPATH /**/
4313 * This symbol, if defined, indicates that the PerlIO abstraction should
4314 * be used throughout. If not defined, stdio should be
4315 * used in a fully backward compatible manner.
4318 #$useperlio USE_PERLIO /**/
4322 * This symbol, if defined, indicates that the quadmath library should
4323 * be used when available.
4325 #ifndef USE_QUADMATH
4326 #$usequadmath USE_QUADMATH /**/
4330 * This symbol, if defined, indicates that Perl should
4331 * be built to use socks.
4334 #$usesocks USE_SOCKS /**/
4337 /* HAS_DRAND48_PROTO:
4338 * This symbol, if defined, indicates that the system provides
4339 * a prototype for the drand48() function. Otherwise, it is up
4340 * to the program to supply one. A good guess is
4341 * extern double drand48(void);
4343 #$d_drand48proto HAS_DRAND48_PROTO /**/
4345 /* HAS_GETHOST_PROTOS:
4346 * This symbol, if defined, indicates that <netdb.h> includes
4347 * prototypes for gethostent(), gethostbyname(), and
4348 * gethostbyaddr(). Otherwise, it is up to the program to guess
4349 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4351 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
4353 /* HAS_GETNET_PROTOS:
4354 * This symbol, if defined, indicates that <netdb.h> includes
4355 * prototypes for getnetent(), getnetbyname(), and
4356 * getnetbyaddr(). Otherwise, it is up to the program to guess
4357 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4359 #$d_getnetprotos HAS_GETNET_PROTOS /**/
4361 /* HAS_GETPROTO_PROTOS:
4362 * This symbol, if defined, indicates that <netdb.h> includes
4363 * prototypes for getprotoent(), getprotobyname(), and
4364 * getprotobyaddr(). Otherwise, it is up to the program to guess
4365 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4367 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
4369 /* HAS_GETSERV_PROTOS:
4370 * This symbol, if defined, indicates that <netdb.h> includes
4371 * prototypes for getservent(), getservbyname(), and
4372 * getservbyaddr(). Otherwise, it is up to the program to guess
4373 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4375 #$d_getservprotos HAS_GETSERV_PROTOS /**/
4378 * This symbol, if defined, indicates that the system provides
4379 * a prototype for the lseek() function. Otherwise, it is up
4380 * to the program to supply one. A good guess is
4381 * extern off_t lseek(int, off_t, int);
4383 #$d_lseekproto HAS_LSEEK_PROTO /**/
4386 * This symbol holds the type used for the 1st argument
4387 * to gethostbyaddr().
4390 * This symbol holds the type used for the 2nd argument
4391 * to gethostbyaddr().
4394 * This symbol holds the type used for the argument to
4398 * This symbol holds the type used for the 1st argument to
4401 #define Netdb_host_t $netdb_host_type /**/
4402 #define Netdb_hlen_t $netdb_hlen_type /**/
4403 #define Netdb_name_t $netdb_name_type /**/
4404 #define Netdb_net_t $netdb_net_type /**/
4407 * This symbol holds the type used for the 2nd, 3rd, and 4th
4408 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
4409 * is defined, and 'int *' otherwise. This is only useful if you
4410 * have select(), of course.
4412 #define Select_fd_set_t $selecttype /**/
4415 * This symbol holds the type used for the size argument of
4416 * various socket calls (just the base type, not the pointer-to).
4418 #define Sock_size_t $socksizetype /**/
4421 * This symbol holds a string representing the architecture name.
4422 * It may be used to construct an architecture-dependant pathname
4423 * where library files may be held under a private library, for
4426 #define ARCHNAME "$archname" /**/
4429 * This symbol, if defined, indicates that the asctime_r routine
4430 * is available to asctime re-entrantly.
4433 * This symbol encodes the prototype of asctime_r.
4434 * It is zero if d_asctime_r is undef, and one of the
4435 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
4438 #$d_asctime_r HAS_ASCTIME_R /**/
4439 #define ASCTIME_R_PROTO $asctime_r_proto /**/
4442 * This symbol, if defined, indicates that the crypt_r routine
4443 * is available to crypt re-entrantly.
4446 * This symbol encodes the prototype of crypt_r.
4447 * It is zero if d_crypt_r is undef, and one of the
4448 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
4451 #$d_crypt_r HAS_CRYPT_R /**/
4452 #define CRYPT_R_PROTO $crypt_r_proto /**/
4455 * This symbol, if defined, indicates that the ctermid_r routine
4456 * is available to ctermid re-entrantly.
4459 * This symbol encodes the prototype of ctermid_r.
4460 * It is zero if d_ctermid_r is undef, and one of the
4461 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
4464 #$d_ctermid_r HAS_CTERMID_R /**/
4465 #define CTERMID_R_PROTO $ctermid_r_proto /**/
4468 * This symbol, if defined, indicates that the ctime_r routine
4469 * is available to ctime re-entrantly.
4472 * This symbol encodes the prototype of ctime_r.
4473 * It is zero if d_ctime_r is undef, and one of the
4474 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
4477 #$d_ctime_r HAS_CTIME_R /**/
4478 #define CTIME_R_PROTO $ctime_r_proto /**/
4481 * This symbol, if defined, indicates that the drand48_r routine
4482 * is available to drand48 re-entrantly.
4485 * This symbol encodes the prototype of drand48_r.
4486 * It is zero if d_drand48_r is undef, and one of the
4487 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
4490 #$d_drand48_r HAS_DRAND48_R /**/
4491 #define DRAND48_R_PROTO $drand48_r_proto /**/
4494 * This symbol, if defined, indicates that the endgrent_r routine
4495 * is available to endgrent re-entrantly.
4497 /* ENDGRENT_R_PROTO:
4498 * This symbol encodes the prototype of endgrent_r.
4499 * It is zero if d_endgrent_r is undef, and one of the
4500 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
4503 #$d_endgrent_r HAS_ENDGRENT_R /**/
4504 #define ENDGRENT_R_PROTO $endgrent_r_proto /**/
4506 /* HAS_ENDHOSTENT_R:
4507 * This symbol, if defined, indicates that the endhostent_r routine
4508 * is available to endhostent re-entrantly.
4510 /* ENDHOSTENT_R_PROTO:
4511 * This symbol encodes the prototype of endhostent_r.
4512 * It is zero if d_endhostent_r is undef, and one of the
4513 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
4516 #$d_endhostent_r HAS_ENDHOSTENT_R /**/
4517 #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
4520 * This symbol, if defined, indicates that the endnetent_r routine
4521 * is available to endnetent re-entrantly.
4523 /* ENDNETENT_R_PROTO:
4524 * This symbol encodes the prototype of endnetent_r.
4525 * It is zero if d_endnetent_r is undef, and one of the
4526 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
4529 #$d_endnetent_r HAS_ENDNETENT_R /**/
4530 #define ENDNETENT_R_PROTO $endnetent_r_proto /**/
4532 /* HAS_ENDPROTOENT_R:
4533 * This symbol, if defined, indicates that the endprotoent_r routine
4534 * is available to endprotoent re-entrantly.
4536 /* ENDPROTOENT_R_PROTO:
4537 * This symbol encodes the prototype of endprotoent_r.
4538 * It is zero if d_endprotoent_r is undef, and one of the
4539 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
4542 #$d_endprotoent_r HAS_ENDPROTOENT_R /**/
4543 #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
4546 * This symbol, if defined, indicates that the endpwent_r routine
4547 * is available to endpwent re-entrantly.
4549 /* ENDPWENT_R_PROTO:
4550 * This symbol encodes the prototype of endpwent_r.
4551 * It is zero if d_endpwent_r is undef, and one of the
4552 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
4555 #$d_endpwent_r HAS_ENDPWENT_R /**/
4556 #define ENDPWENT_R_PROTO $endpwent_r_proto /**/
4558 /* HAS_ENDSERVENT_R:
4559 * This symbol, if defined, indicates that the endservent_r routine
4560 * is available to endservent re-entrantly.
4562 /* ENDSERVENT_R_PROTO:
4563 * This symbol encodes the prototype of endservent_r.
4564 * It is zero if d_endservent_r is undef, and one of the
4565 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
4568 #$d_endservent_r HAS_ENDSERVENT_R /**/
4569 #define ENDSERVENT_R_PROTO $endservent_r_proto /**/
4572 * This symbol, if defined, indicates that the getgrent_r routine
4573 * is available to getgrent re-entrantly.
4575 /* GETGRENT_R_PROTO:
4576 * This symbol encodes the prototype of getgrent_r.
4577 * It is zero if d_getgrent_r is undef, and one of the
4578 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
4581 #$d_getgrent_r HAS_GETGRENT_R /**/
4582 #define GETGRENT_R_PROTO $getgrent_r_proto /**/
4585 * This symbol, if defined, indicates that the getgrgid_r routine
4586 * is available to getgrgid re-entrantly.
4588 /* GETGRGID_R_PROTO:
4589 * This symbol encodes the prototype of getgrgid_r.
4590 * It is zero if d_getgrgid_r is undef, and one of the
4591 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
4594 #$d_getgrgid_r HAS_GETGRGID_R /**/
4595 #define GETGRGID_R_PROTO $getgrgid_r_proto /**/
4598 * This symbol, if defined, indicates that the getgrnam_r routine
4599 * is available to getgrnam re-entrantly.
4601 /* GETGRNAM_R_PROTO:
4602 * This symbol encodes the prototype of getgrnam_r.
4603 * It is zero if d_getgrnam_r is undef, and one of the
4604 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
4607 #$d_getgrnam_r HAS_GETGRNAM_R /**/
4608 #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
4610 /* HAS_GETHOSTBYADDR_R:
4611 * This symbol, if defined, indicates that the gethostbyaddr_r routine
4612 * is available to gethostbyaddr re-entrantly.
4614 /* GETHOSTBYADDR_R_PROTO:
4615 * This symbol encodes the prototype of gethostbyaddr_r.
4616 * It is zero if d_gethostbyaddr_r is undef, and one of the
4617 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
4620 #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
4621 #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
4623 /* HAS_GETHOSTBYNAME_R:
4624 * This symbol, if defined, indicates that the gethostbyname_r routine
4625 * is available to gethostbyname re-entrantly.
4627 /* GETHOSTBYNAME_R_PROTO:
4628 * This symbol encodes the prototype of gethostbyname_r.
4629 * It is zero if d_gethostbyname_r is undef, and one of the
4630 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
4633 #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
4634 #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
4636 /* HAS_GETHOSTENT_R:
4637 * This symbol, if defined, indicates that the gethostent_r routine
4638 * is available to gethostent re-entrantly.
4640 /* GETHOSTENT_R_PROTO:
4641 * This symbol encodes the prototype of gethostent_r.
4642 * It is zero if d_gethostent_r is undef, and one of the
4643 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
4646 #$d_gethostent_r HAS_GETHOSTENT_R /**/
4647 #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
4650 * This symbol, if defined, indicates that the getlogin_r routine
4651 * is available to getlogin re-entrantly.
4653 /* GETLOGIN_R_PROTO:
4654 * This symbol encodes the prototype of getlogin_r.
4655 * It is zero if d_getlogin_r is undef, and one of the
4656 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
4659 #$d_getlogin_r HAS_GETLOGIN_R /**/
4660 #define GETLOGIN_R_PROTO $getlogin_r_proto /**/
4662 /* HAS_GETNETBYADDR_R:
4663 * This symbol, if defined, indicates that the getnetbyaddr_r routine
4664 * is available to getnetbyaddr re-entrantly.
4666 /* GETNETBYADDR_R_PROTO:
4667 * This symbol encodes the prototype of getnetbyaddr_r.
4668 * It is zero if d_getnetbyaddr_r is undef, and one of the
4669 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
4672 #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
4673 #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
4675 /* HAS_GETNETBYNAME_R:
4676 * This symbol, if defined, indicates that the getnetbyname_r routine
4677 * is available to getnetbyname re-entrantly.
4679 /* GETNETBYNAME_R_PROTO:
4680 * This symbol encodes the prototype of getnetbyname_r.
4681 * It is zero if d_getnetbyname_r is undef, and one of the
4682 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
4685 #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
4686 #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
4689 * This symbol, if defined, indicates that the getnetent_r routine
4690 * is available to getnetent re-entrantly.
4692 /* GETNETENT_R_PROTO:
4693 * This symbol encodes the prototype of getnetent_r.
4694 * It is zero if d_getnetent_r is undef, and one of the
4695 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
4698 #$d_getnetent_r HAS_GETNETENT_R /**/
4699 #define GETNETENT_R_PROTO $getnetent_r_proto /**/
4701 /* HAS_GETPROTOBYNAME_R:
4702 * This symbol, if defined, indicates that the getprotobyname_r routine
4703 * is available to getprotobyname re-entrantly.
4705 /* GETPROTOBYNAME_R_PROTO:
4706 * This symbol encodes the prototype of getprotobyname_r.
4707 * It is zero if d_getprotobyname_r is undef, and one of the
4708 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
4711 #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
4712 #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
4714 /* HAS_GETPROTOBYNUMBER_R:
4715 * This symbol, if defined, indicates that the getprotobynumber_r routine
4716 * is available to getprotobynumber re-entrantly.
4718 /* GETPROTOBYNUMBER_R_PROTO:
4719 * This symbol encodes the prototype of getprotobynumber_r.
4720 * It is zero if d_getprotobynumber_r is undef, and one of the
4721 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
4724 #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
4725 #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
4727 /* HAS_GETPROTOENT_R:
4728 * This symbol, if defined, indicates that the getprotoent_r routine
4729 * is available to getprotoent re-entrantly.
4731 /* GETPROTOENT_R_PROTO:
4732 * This symbol encodes the prototype of getprotoent_r.
4733 * It is zero if d_getprotoent_r is undef, and one of the
4734 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
4737 #$d_getprotoent_r HAS_GETPROTOENT_R /**/
4738 #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
4741 * This symbol, if defined, indicates that the getpwent_r routine
4742 * is available to getpwent re-entrantly.
4744 /* GETPWENT_R_PROTO:
4745 * This symbol encodes the prototype of getpwent_r.
4746 * It is zero if d_getpwent_r is undef, and one of the
4747 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
4750 #$d_getpwent_r HAS_GETPWENT_R /**/
4751 #define GETPWENT_R_PROTO $getpwent_r_proto