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 the difftime routine is
112 #$d_difftime HAS_DIFFTIME /**/
115 * This symbol, if defined, indicates that the dlerror routine is
116 * available to return a string describing the last error that
117 * occurred from a call to dlopen(), dlclose() or dlsym().
119 #$d_dlerror HAS_DLERROR /**/
122 * This symbol, if defined, indicates that the dup2 routine is
123 * available to duplicate file descriptors.
125 #$d_dup2 HAS_DUP2 /**/
128 * This symbol, if defined, indicates that the fchmod routine is available
129 * to change mode of opened files. If unavailable, use chmod().
131 #$d_fchmod HAS_FCHMOD /**/
134 * This symbol, if defined, indicates that the fchown routine is available
135 * to change ownership of opened files. If unavailable, use chown().
137 #$d_fchown HAS_FCHOWN /**/
140 * This symbol, if defined, indicates to the C program that
141 * the fcntl() function exists.
143 #$d_fcntl HAS_FCNTL /**/
146 * This symbol, if defined, indicates that the fgetpos routine is
147 * available to get the file position indicator, similar to ftell().
149 #$d_fgetpos HAS_FGETPOS /**/
152 * This symbol, if defined, indicates that the flock routine is
153 * available to do file locking.
155 #$d_flock HAS_FLOCK /**/
158 * This symbol, if defined, indicates that the fork routine is
161 #$d_fork HAS_FORK /**/
164 * This symbol, if defined, indicates that the fsetpos routine is
165 * available to set the file position indicator, similar to fseek().
167 #$d_fsetpos HAS_FSETPOS /**/
170 * This symbol, if defined, indicates that the gettimeofday() system
171 * call is available for a sub-second accuracy clock. Usually, the file
172 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
173 * The type "Timeval" should be used to refer to "struct timeval".
175 #$d_gettimeod HAS_GETTIMEOFDAY /**/
176 #ifdef HAS_GETTIMEOFDAY
177 #define Timeval struct timeval /* Structure used by gettimeofday() */
181 * This symbol, if defined, indicates that the getgroups() routine is
182 * available to get the list of process groups. If unavailable, multiple
183 * groups are probably not supported.
185 #$d_getgrps HAS_GETGROUPS /**/
188 * This symbol, if defined, indicates that the getlogin routine is
189 * available to get the login name.
191 #$d_getlogin HAS_GETLOGIN /**/
194 * This symbol, if defined, indicates to the C program that
195 * the getpgid(pid) function is available to get the
198 #$d_getpgid HAS_GETPGID /**/
201 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
202 * routine is available to get the current process group.
204 #$d_getpgrp2 HAS_GETPGRP2 /**/
207 * This symbol, if defined, indicates that the getppid routine is
208 * available to get the parent process ID.
210 #$d_getppid HAS_GETPPID /**/
213 * This symbol, if defined, indicates that the getpriority routine is
214 * available to get a process's priority.
216 #$d_getprior HAS_GETPRIORITY /**/
219 * This symbol, if defined, indicates to the C program that the
220 * inet_aton() function is available to parse IP address "dotted-quad"
223 #$d_inetaton HAS_INET_ATON /**/
226 * This symbol, if defined, indicates that the killpg routine is available
227 * to kill process groups. If unavailable, you probably should use kill
228 * with a negative process number.
230 #$d_killpg HAS_KILLPG /**/
233 * This symbol, if defined, indicates that the link routine is
234 * available to create hard links.
236 #$d_link HAS_LINK /**/
239 * This symbol, if defined, indicates that the localeconv routine is
240 * available for numeric and monetary formatting conventions.
242 #$d_locconv HAS_LOCALECONV /**/
245 * This symbol, if defined, indicates that the lockf routine is
246 * available to do file locking.
248 #$d_lockf HAS_LOCKF /**/
251 * This symbol, if defined, indicates that the lstat routine is
252 * available to do file stats on symbolic links.
254 #$d_lstat HAS_LSTAT /**/
257 * This symbol, if defined, indicates that the mblen routine is available
258 * to find the number of bytes in a multibye character.
260 #$d_mblen HAS_MBLEN /**/
263 * This symbol, if defined, indicates that the mbstowcs routine is
264 * available to convert a multibyte string into a wide character string.
266 #$d_mbstowcs HAS_MBSTOWCS /**/
269 * This symbol, if defined, indicates that the mbtowc routine is available
270 * to convert a multibyte to a wide character.
272 #$d_mbtowc HAS_MBTOWC /**/
275 * This symbol, if defined, indicates that the mkdir routine is available
276 * to create directories. Otherwise you should fork off a new process to
279 #$d_mkdir HAS_MKDIR /**/
282 * This symbol, if defined, indicates that the mkfifo routine is
283 * available to create FIFOs. Otherwise, mknod should be able to
284 * do it for you. However, if mkfifo is there, mknod might require
285 * super-user privileges which mkfifo will not.
287 #$d_mkfifo HAS_MKFIFO /**/
290 * This symbol, if defined, indicates that the mktime routine is
293 #$d_mktime HAS_MKTIME /**/
296 * This symbol, if defined, indicates that the entire msg*(2) library is
297 * supported (IPC mechanism based on message queues).
302 * This symbol, if defined, indicates that the msync system call is
303 * available to synchronize a mapped file.
305 #$d_msync HAS_MSYNC /**/
308 * This symbol, if defined, indicates that the munmap system call is
309 * available to unmap a region, usually mapped by mmap().
311 #$d_munmap HAS_MUNMAP /**/
314 * This symbol, if defined, indicates that the nice routine is
317 #$d_nice HAS_NICE /**/
320 * This symbol, if defined, indicates that pathconf() is available
321 * to determine file-system related limits and options associated
322 * with a given filename.
325 * This symbol, if defined, indicates that pathconf() is available
326 * to determine file-system related limits and options associated
327 * with a given open file descriptor.
329 #$d_pathconf HAS_PATHCONF /**/
330 #$d_fpathconf HAS_FPATHCONF /**/
333 * This symbol, if defined, indicates that the pause routine is
334 * available to suspend a process until a signal is received.
336 #$d_pause HAS_PAUSE /**/
339 * This symbol, if defined, indicates that the pipe routine is
340 * available to create an inter-process channel.
342 #$d_pipe HAS_PIPE /**/
345 * This symbol, if defined, indicates that the poll routine is
346 * available to poll active file descriptors. Please check I_POLL and
347 * I_SYS_POLL to know which header should be included as well.
349 #$d_poll HAS_POLL /**/
352 * This symbol, if defined, indicates that the readdir routine is
353 * available to read directory entries. You may have to include
354 * <dirent.h>. See I_DIRENT.
356 #$d_readdir HAS_READDIR /**/
359 * This symbol, if defined, indicates that the seekdir routine is
360 * available. You may have to include <dirent.h>. See I_DIRENT.
362 #$d_seekdir HAS_SEEKDIR /**/
365 * This symbol, if defined, indicates that the telldir routine is
366 * available. You may have to include <dirent.h>. See I_DIRENT.
368 #$d_telldir HAS_TELLDIR /**/
371 * This symbol, if defined, indicates that the rewinddir routine is
372 * available. You may have to include <dirent.h>. See I_DIRENT.
374 #$d_rewinddir HAS_REWINDDIR /**/
377 * This symbol, if defined, indicates that the readlink routine is
378 * available to read the value of a symbolic link.
380 #$d_readlink HAS_READLINK /**/
383 * This symbol, if defined, indicates that the regcomp() routine is
384 * available to do some regular patern matching (usually on POSIX.2
385 * conforming systems).
387 #$d_regcomp HAS_REGCOMP /* POSIX.2 */
390 * This symbol, if defined, indicates that the rename routine is available
391 * to rename files. Otherwise you should do the unlink(), link(), unlink()
394 #$d_rename HAS_RENAME /**/
397 * This symbol, if defined, indicates that the rmdir routine is
398 * available to remove directories. Otherwise you should fork off a
399 * new process to exec /bin/rmdir.
401 #$d_rmdir HAS_RMDIR /**/
404 * This symbol, if defined, indicates that the select routine is
405 * available to select active file descriptors. If the timeout field
406 * is used, <sys/time.h> may need to be included.
408 #$d_select HAS_SELECT /**/
411 * This symbol, if defined, indicates that the entire sem*(2) library is
417 * This symbol, if defined, indicates that the setegid routine is available
418 * to change the effective gid of the current program.
420 #$d_setegid HAS_SETEGID /**/
423 * This symbol, if defined, indicates that the seteuid routine is available
424 * to change the effective uid of the current program.
426 #$d_seteuid HAS_SETEUID /**/
429 * This symbol, if defined, indicates that the setgroups() routine is
430 * available to set the list of process groups. If unavailable, multiple
431 * groups are probably not supported.
433 #$d_setgrps HAS_SETGROUPS /**/
436 * This symbol, if defined, indicates that the setlinebuf routine is
437 * available to change stderr or stdout from block-buffered or unbuffered
438 * to a line-buffered mode.
440 #$d_setlinebuf HAS_SETLINEBUF /**/
443 * This symbol, if defined, indicates that the setlocale routine is
444 * available to handle locale-specific ctype implementations.
446 #$d_setlocale HAS_SETLOCALE /**/
449 * This symbol, if defined, indicates that the setpgid(pid, gpid)
450 * routine is available to set process group ID.
452 #$d_setpgid HAS_SETPGID /**/
455 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
456 * routine is available to set the current process group.
458 #$d_setpgrp2 HAS_SETPGRP2 /**/
461 * This symbol, if defined, indicates that the setpriority routine is
462 * available to set a process's priority.
464 #$d_setprior HAS_SETPRIORITY /**/
467 * This symbol, if defined, indicates that the setregid routine is
468 * available to change the real and effective gid of the current
472 * This symbol, if defined, indicates that the setresgid routine is
473 * available to change the real, effective and saved gid of the current
476 #$d_setregid HAS_SETREGID /**/
477 #$d_setresgid HAS_SETRESGID /**/
480 * This symbol, if defined, indicates that the setreuid routine is
481 * available to change the real and effective uid of the current
485 * This symbol, if defined, indicates that the setresuid routine is
486 * available to change the real, effective and saved uid of the current
489 #$d_setreuid HAS_SETREUID /**/
490 #$d_setresuid HAS_SETRESUID /**/
493 * This symbol, if defined, indicates that the setrgid routine is available
494 * to change the real gid of the current program.
496 #$d_setrgid HAS_SETRGID /**/
499 * This symbol, if defined, indicates that the setruid routine is available
500 * to change the real uid of the current program.
502 #$d_setruid HAS_SETRUID /**/
505 * This symbol, if defined, indicates that the setsid routine is
506 * available to set the process group ID.
508 #$d_setsid HAS_SETSID /**/
511 * This symbol, if defined, indicates that the stat routine is
512 * available to get file status.
514 #$d_stat HAS_STAT /**/
517 * This symbol, if defined, indicates that the strcoll routine is
518 * available to compare strings using collating information.
520 #$d_strcoll HAS_STRCOLL /**/
523 * This symbol, if defined, indicates that the strtod routine is
524 * available to provide better numeric string conversion than atof().
526 #$d_strtod HAS_STRTOD /**/
529 * This symbol, if defined, indicates that the strtol routine is available
530 * to provide better numeric string conversion than atoi() and friends.
532 #$d_strtol HAS_STRTOL /**/
535 * This symbol, if defined, indicates that the strxfrm() routine is
536 * available to transform strings.
538 #$d_strxfrm HAS_STRXFRM /**/
541 * This symbol, if defined, indicates that the symlink routine is available
542 * to create symbolic links.
544 #$d_symlink HAS_SYMLINK /**/
547 * This symbol, if defined, indicates that the syscall routine is
548 * available to call arbitrary system calls. If undefined, that's tough.
550 #$d_syscall HAS_SYSCALL /**/
553 * This symbol, if defined, indicates that sysconf() is available
554 * to determine system related limits and options.
556 #$d_sysconf HAS_SYSCONF /**/
559 * This symbol, if defined, indicates that the system routine is
560 * available to issue a shell command.
562 #$d_system HAS_SYSTEM /**/
565 * This symbol, if defined, indicates that the tcgetpgrp routine is
566 * available to get foreground process group ID.
568 #$d_tcgetpgrp HAS_TCGETPGRP /**/
571 * This symbol, if defined, indicates that the tcsetpgrp routine is
572 * available to set foreground process group ID.
574 #$d_tcsetpgrp HAS_TCSETPGRP /**/
577 * This symbol, if defined, indicates that the truncate routine is
578 * available to truncate files.
580 #$d_truncate HAS_TRUNCATE /**/
583 * This symbol, if defined, indicates that the tzname[] array is
584 * available to access timezone names.
586 #$d_tzname HAS_TZNAME /**/
589 * This symbol, if defined, indicates that the umask routine is
590 * available to set and get the value of the file creation mask.
592 #$d_umask HAS_UMASK /**/
595 * This symbol, if defined, indicates that the usleep routine is
596 * available to let the process sleep on a sub-second accuracy.
598 #$d_usleep HAS_USLEEP /**/
601 * This symbol, if defined, indicates that wait4() exists.
603 #$d_wait4 HAS_WAIT4 /**/
606 * This symbol, if defined, indicates that the waitpid routine is
607 * available to wait for child process.
609 #$d_waitpid HAS_WAITPID /**/
612 * This symbol, if defined, indicates that the wcstombs routine is
613 * available to convert wide character strings to multibyte strings.
615 #$d_wcstombs HAS_WCSTOMBS /**/
618 * This symbol, if defined, indicates that the wctomb routine is available
619 * to convert a wide character to a multibyte.
621 #$d_wctomb HAS_WCTOMB /**/
624 * This symbol holds the type used for the second argument to
625 * getgroups() and setgroups(). Usually, this is the same as
626 * gidtype (gid_t) , but sometimes it isn't.
627 * It can be int, ushort, gid_t, etc...
628 * It may be necessary to include <sys/types.h> to get any
629 * typedef'ed information. This is only required if you have
630 * getgroups() or setgroups()..
632 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
633 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
637 * This symbol, if defined, indicates to the C program that it should
638 * include <arpa/inet.h> to get inet_addr and friends declarations.
640 #$i_arpainet I_ARPA_INET /**/
643 * This symbol, if defined, indicates that <dbm.h> exists and should
647 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
648 * should be included.
651 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
654 * This symbol, if defined, indicates that <dlfcn.h> exists and should
657 #$i_dlfcn I_DLFCN /**/
660 * This manifest constant tells the C program to include <fcntl.h>.
662 #$i_fcntl I_FCNTL /**/
665 * This symbol, if defined, indicates that <gdbm.h> exists and should
671 * This symbol, if defined, indicates to the C program that it should
672 * include <locale.h>.
674 #$i_locale I_LOCALE /**/
677 * This symbol, if defined, indicates to the C program that it should
678 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
680 #$i_niin I_NETINET_IN /**/
683 * This symbol, if defined, indicates to the C program that it should
684 * include <sys/dir.h>.
686 #$i_sysdir I_SYS_DIR /**/
689 * This symbol, if defined, indicates to the C program that it should
690 * include <sys/file.h> to get definition of R_OK and friends.
692 #$i_sysfile I_SYS_FILE /**/
695 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
696 * be included. Otherwise, include <sgtty.h> or <termio.h>.
699 * This symbol, if defined, indicates the <sys/sockio.h> should be included
700 * to get socket ioctl options, like SIOCATMARK.
702 #$i_sysioctl I_SYS_IOCTL /**/
703 #$i_syssockio I_SYS_SOCKIO /**/
706 * This symbol, if defined, indicates to the C program that it should
707 * include <sys/ndir.h>.
709 #$i_sysndir I_SYS_NDIR /**/
712 * This symbol, if defined, indicates to the C program that it should
713 * include <sys/param.h>.
715 #$i_sysparam I_SYS_PARAM /**/
718 * This symbol, if defined, indicates that the program may include
719 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
720 * to only include <poll.h>.
722 #$i_syspoll I_SYS_POLL /**/
725 * This symbol, if defined, indicates to the C program that it should
726 * include <sys/resource.h>.
728 #$i_sysresrc I_SYS_RESOURCE /**/
731 * This symbol, if defined, indicates to the C program that it should
732 * include <sys/select.h> in order to get definition of struct timeval.
734 #$i_sysselct I_SYS_SELECT /**/
737 * This symbol, if defined, indicates to the C program that it should
738 * include <sys/stat.h>.
740 #$i_sysstat I_SYS_STAT /**/
743 * This symbol, if defined, indicates to the C program that it should
744 * include <sys/times.h>.
746 #$i_systimes I_SYS_TIMES /**/
749 * This symbol, if defined, indicates to the C program that it should
750 * include <sys/types.h>.
752 #$i_systypes I_SYS_TYPES /**/
755 * This symbol, if defined, indicates to the C program that it should
756 * include <sys/un.h> to get UNIX domain socket definitions.
758 #$i_sysun I_SYS_UN /**/
761 * This symbol, if defined, indicates to the C program that it should
762 * include <sys/wait.h>.
764 #$i_syswait I_SYS_WAIT /**/
767 * This symbol, if defined, indicates to the C program that it should
768 * include <unistd.h>.
770 #$i_unistd I_UNISTD /**/
773 * This symbol, if defined, indicates to the C program that it should
776 #$i_utime I_UTIME /**/
779 * This symbol, if defined, indicates to the C program that it should
782 #$i_vfork I_VFORK /**/
785 * This symbol is defined to be the type of char used in stdio.h.
786 * It has the values "unsigned char" or "char".
788 #define STDCHAR $stdchar /**/
791 * This symbol contains the value of sizeof(int) so that the C
792 * preprocessor can make decisions based on it.
795 * This symbol contains the value of sizeof(long) so that the C
796 * preprocessor can make decisions based on it.
799 * This symbol contains the value of sizeof(short) so that the C
800 * preprocessor can make decisions based on it.
802 #define INTSIZE $intsize /**/
803 #define LONGSIZE $longsize /**/
804 #define SHORTSIZE $shortsize /**/
807 * This symbol, if defined, signifies that the build
808 * process will produce some binary files that are going to be
809 * used in a cross-platform environment. This is the case for
810 * example with the NeXT "fat" binaries that contain executables
813 #$multiarch MULTIARCH /**/
816 * This symbol, if defined, tells that there's a 64-bit integer type,
817 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
818 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
819 * or QUAD_IS___INT64.
821 #$d_quad HAS_QUAD /**/
823 # define Quad_t $quadtype /**/
824 # define Uquad_t $uquadtype /**/
825 # define QUADKIND $quadkind /**/
826 # define QUAD_IS_INT 1
827 # define QUAD_IS_LONG 2
828 # define QUAD_IS_LONG_LONG 3
829 # define QUAD_IS_INT64_T 4
830 # define QUAD_IS___INT64 5
834 * This symbol, if defined, indicates that the accessx routine is
835 * available to do extended access checks.
837 #$d_accessx HAS_ACCESSX /**/
840 * This symbol, if defined, indicates that the eaccess routine is
841 * available to do extended access checks.
843 #$d_eaccess HAS_EACCESS /**/
846 * This symbol, if defined, indicates to the C program that it should
847 * include <sys/access.h>.
849 #$i_sysaccess I_SYS_ACCESS /**/
852 * This symbol, if defined, indicates to the C program that it should
853 * include <sys/security.h>.
855 #$i_syssecrt I_SYS_SECURITY /**/
858 * This symbol contains the number of bytes required to align a
859 * double, or a long double when applicable. Usual values are 2,
860 * 4 and 8. The default is eight, for safety. For cross-compiling
861 * or multiarch support, Configure will set a minimum of 8.
863 #define MEM_ALIGNBYTES $alignbytes
866 * This symbol holds the hexadecimal constant defined in byteorder,
867 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
868 * If the compiler supports cross-compiling or multiple-architecture
869 * binaries, use compiler-defined macros to
870 * determine the byte order.
872 #if defined(MULTIARCH)
873 # ifdef __LITTLE_ENDIAN__
875 # define BYTEORDER 0x1234
878 # define BYTEORDER 0x12345678
882 # ifdef __BIG_ENDIAN__
884 # define BYTEORDER 0x4321
887 # define BYTEORDER 0x87654321
893 #define BYTEORDER 0x$byteorder /* large digits for MSB */
897 * This symbol contains the size of a char, so that the C preprocessor
898 * can make decisions based on it.
900 #define CHARBITS $charbits /**/
903 * This symbol is defined if the C compiler can cast negative
904 * or large floating point numbers to 32-bit ints.
906 #$d_casti32 CASTI32 /**/
909 * This symbol is defined if the C compiler can cast negative
910 * numbers to unsigned longs, ints and shorts.
913 * This symbol contains flags that say what difficulties the compiler
914 * has casting odd floating values to unsigned long:
916 * 1 = couldn't cast < 0
917 * 2 = couldn't cast >= 0x80000000
918 * 4 = couldn't cast in argument expression list
920 #$d_castneg CASTNEGFLOAT /**/
921 #define CASTFLAGS $castflags /**/
924 * This symbol, if defined, indicates that the closedir() routine
925 * does not return a value.
927 #$d_void_closedir VOID_CLOSEDIR /**/
930 * This symbol, when defined, indicates presence of the fd_set typedef
933 #$d_fd_set HAS_FD_SET /**/
936 * This preprocessor macro is defined to convert a floating point
937 * number to a string without a trailing decimal point. This
938 * emulates the behavior of sprintf("%g"), but is sometimes much more
939 * efficient. If gconvert() is not available, but gcvt() drops the
940 * trailing decimal point, then gcvt() is used. If all else fails,
941 * a macro using sprintf("%g") is used. Arguments for the Gconvert
942 * macro are: value, number of digits, whether trailing zeros should
943 * be retained, and the output buffer.
944 * The usual values are:
945 * d_Gconvert='gconvert((x),(n),(t),(b))'
946 * d_Gconvert='gcvt((x),(n),(b))'
947 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
948 * The last two assume trailing zeros should not be kept.
950 #define Gconvert(x,n,t,b) $d_Gconvert
953 * This symbol, if defined, indicates that the getpagesize system call
954 * is available to get system page size, which is the granularity of
955 * many memory management calls.
957 #$d_getpagsz HAS_GETPAGESIZE /**/
960 * This symbol, if defined, indicates to the C program that
961 * the GNU C library is being used. A better check is to use
962 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
964 #$d_gnulibc HAS_GNULIBC /**/
965 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
970 * This manifest constant lets the C program know that isascii
973 #$d_isascii HAS_ISASCII /**/
976 * This symbol, if defined, indicates that the lchown routine is
977 * available to operate on a symbolic link (instead of following the
980 #$d_lchown HAS_LCHOWN /**/
983 * This manifest constant lets the C program know that the three
984 * argument form of open(2) is available.
986 #$d_open3 HAS_OPEN3 /**/
989 * This symbol, if defined, indicates that Vr4's sigaction() routine
992 #$d_sigaction HAS_SIGACTION /**/
994 /* HAS_SIGINFO_SI_ERRNO:
995 * This symbol, if defined, indicates that siginfo_t has the
998 /* HAS_SIGINFO_SI_PID:
999 * This symbol, if defined, indicates that siginfo_t has the
1002 /* HAS_SIGINFO_SI_UID:
1003 * This symbol, if defined, indicates that siginfo_t has the
1006 /* HAS_SIGINFO_SI_ADDR:
1007 * This symbol, if defined, indicates that siginfo_t has the
1010 /* HAS_SIGINFO_SI_STATUS:
1011 * This symbol, if defined, indicates that siginfo_t has the
1014 /* HAS_SIGINFO_SI_BAND:
1015 * This symbol, if defined, indicates that siginfo_t has the
1018 /* HAS_SIGINFO_SI_VALUE:
1019 * This symbol, if defined, indicates that siginfo_t has the
1022 #$d_siginfo_si_errno HAS_SIGINFO_SI_ERRNO /**/
1023 #$d_siginfo_si_pid HAS_SIGINFO_SI_PID /**/
1024 #$d_siginfo_si_uid HAS_SIGINFO_SI_UID /**/
1025 #$d_siginfo_si_addr HAS_SIGINFO_SI_ADDR /**/
1026 #$d_siginfo_si_status HAS_SIGINFO_SI_STATUS /**/
1027 #$d_siginfo_si_band HAS_SIGINFO_SI_BAND /**/
1028 #$d_siginfo_si_value HAS_SIGINFO_SI_VALUE /**/
1031 * This variable indicates to the C program that the sigsetjmp()
1032 * routine is available to save the calling process's registers
1033 * and stack environment for later use by siglongjmp(), and
1034 * to optionally save the process's signal mask. See
1035 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1038 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1041 * This macro is used in the same way as sigsetjmp(), but will invoke
1042 * traditional setjmp() if sigsetjmp isn't available.
1043 * See HAS_SIGSETJMP.
1046 * This macro is used in the same way as siglongjmp(), but will invoke
1047 * traditional longjmp() if siglongjmp isn't available.
1048 * See HAS_SIGSETJMP.
1050 #$d_sigsetjmp HAS_SIGSETJMP /**/
1051 #ifdef HAS_SIGSETJMP
1052 #define Sigjmp_buf sigjmp_buf
1053 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1054 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1056 #define Sigjmp_buf jmp_buf
1057 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1058 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1061 /* HAS_STATIC_INLINE:
1062 * This symbol, if defined, indicates that the C compiler supports
1063 * C99-style static inline. That is, the function can't be called
1064 * from another translation unit.
1066 /* PERL_STATIC_INLINE:
1067 * This symbol gives the best-guess incantation to use for static
1068 * inline functions. If HAS_STATIC_INLINE is defined, this will
1069 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
1070 * this will give a plain 'static'. It will always be defined
1071 * to something that gives static linkage.
1072 * Possibilities include
1073 * static inline (c99)
1074 * static __inline__ (gcc -ansi)
1075 * static __inline (MSVC)
1076 * static _inline (older MSVC)
1077 * static (c89 compilers)
1079 #$d_static_inline HAS_STATIC_INLINE /**/
1080 #define PERL_STATIC_INLINE $perl_static_inline /**/
1083 * This symbol is defined if the _ptr and _cnt fields (or similar)
1084 * of the stdio FILE structure can be used to access the stdio buffer
1085 * for a file handle. If this is defined, then the FILE_ptr(fp)
1086 * and FILE_cnt(fp) macros will also be defined and should be used
1087 * to access these fields.
1090 * This macro is used to access the _ptr field (or equivalent) of the
1091 * FILE structure pointed to by its argument. This macro will always be
1092 * defined if USE_STDIO_PTR is defined.
1094 /* STDIO_PTR_LVALUE:
1095 * This symbol is defined if the FILE_ptr macro can be used as an
1099 * This macro is used to access the _cnt field (or equivalent) of the
1100 * FILE structure pointed to by its argument. This macro will always be
1101 * defined if USE_STDIO_PTR is defined.
1103 /* STDIO_CNT_LVALUE:
1104 * This symbol is defined if the FILE_cnt macro can be used as an
1107 /* STDIO_PTR_LVAL_SETS_CNT:
1108 * This symbol is defined if using the FILE_ptr macro as an lvalue
1109 * to increase the pointer by n has the side effect of decreasing the
1110 * value of File_cnt(fp) by n.
1112 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
1113 * This symbol is defined if using the FILE_ptr macro as an lvalue
1114 * to increase the pointer by n leaves File_cnt(fp) unchanged.
1116 #$d_stdstdio USE_STDIO_PTR /**/
1117 #ifdef USE_STDIO_PTR
1118 #define FILE_ptr(fp) $stdio_ptr
1119 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
1120 #define FILE_cnt(fp) $stdio_cnt
1121 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
1122 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
1123 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
1127 * This symbol is defined if the _base field (or similar) of the
1128 * stdio FILE structure can be used to access the stdio buffer for
1129 * a file handle. If this is defined, then the FILE_base(fp) macro
1130 * will also be defined and should be used to access this field.
1131 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1132 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1133 * will never be defined unless USE_STDIO_PTR is.
1136 * This macro is used to access the _base field (or equivalent) of the
1137 * FILE structure pointed to by its argument. This macro will always be
1138 * defined if USE_STDIO_BASE is defined.
1141 * This macro is used to determine the number of bytes in the I/O
1142 * buffer pointed to by _base field (or equivalent) of the FILE
1143 * structure pointed to its argument. This macro will always be defined
1144 * if USE_STDIO_BASE is defined.
1146 #$d_stdiobase USE_STDIO_BASE /**/
1147 #ifdef USE_STDIO_BASE
1148 #define FILE_base(fp) $stdio_base
1149 #define FILE_bufsiz(fp) $stdio_bufsiz
1153 * This symbol contains the size of a double, so that the C preprocessor
1154 * can make decisions based on it.
1156 #define DOUBLESIZE $doublesize /**/
1159 * This symbol is always defined, and indicates to the C program that
1160 * it should include <time.h>.
1163 * This symbol, if defined, indicates to the C program that it should
1164 * include <sys/time.h>.
1166 /* I_SYS_TIME_KERNEL:
1167 * This symbol, if defined, indicates to the C program that it should
1168 * include <sys/time.h> with KERNEL defined.
1171 * This symbol, if defined, indicates to the C program that
1172 * the struct tm has a tm_zone field.
1174 /* HAS_TM_TM_GMTOFF:
1175 * This symbol, if defined, indicates to the C program that
1176 * the struct tm has a tm_gmtoff field.
1178 #$i_time I_TIME /**/
1179 #$i_systime I_SYS_TIME /**/
1180 #$i_systimek I_SYS_TIME_KERNEL /**/
1181 #$d_tm_tm_zone HAS_TM_TM_ZONE /**/
1182 #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
1185 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1186 * non-blocking I/O for the file descriptor. Note that there is no way
1187 * back, i.e. you cannot turn it blocking again this way. If you wish to
1188 * alternatively switch between blocking and non-blocking, use the
1189 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1192 * This symbol holds the errno error code set by read() when no data was
1193 * present on the non-blocking file descriptor.
1196 * This symbol holds the return code from read() when no data is present
1197 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1198 * not defined, then you can't distinguish between no data and EOF by
1199 * issuing a read(). You'll have to find another way to tell for sure!
1202 * This symbol, if defined, indicates to the C program that a read() on
1203 * a non-blocking file descriptor will return 0 on EOF, and not the value
1204 * held in RD_NODATA (-1 usually, in that case!).
1206 #define VAL_O_NONBLOCK $o_nonblock
1207 #define VAL_EAGAIN $eagain
1208 #define RD_NODATA $rd_nodata
1209 #$d_eofnblk EOF_NONBLOCK
1212 * This symbol contains the size of a pointer, so that the C preprocessor
1213 * can make decisions based on it. It will be sizeof(void *) if
1214 * the compiler supports (void *); otherwise it will be
1217 #define PTRSIZE $ptrsize /**/
1220 * This macro is to be used to generate uniformly distributed
1221 * random numbers over the range [0., 1.[. You may have to supply
1222 * an 'extern double drand48();' in your program since SunOS 4.1.3
1223 * doesn't provide you with anything relevant in its headers.
1224 * See HAS_DRAND48_PROTO.
1227 * This symbol defines the type of the argument of the
1228 * random seed function.
1231 * This symbol defines the macro to be used in seeding the
1232 * random number generator (see Drand01).
1235 * This symbol indicates how many bits are produced by the
1236 * function used to generate normalized random numbers.
1237 * Values include 15, 16, 31, and 48.
1239 #define Drand01() $drand01 /**/
1240 #define Rand_seed_t $randseedtype /**/
1241 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
1242 #define RANDBITS $randbits /**/
1245 * This symbol holds the type used by functions that return
1246 * a count of bytes or an error condition. It must be a signed type.
1247 * It is usually ssize_t, but may be long or int, etc.
1248 * It may be necessary to include <sys/types.h> or <unistd.h>
1249 * to get any typedef'ed information.
1250 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1252 #define SSize_t $ssizetype /* signed count of bytes */
1255 * This symbol, if defined, indicates that this system uses
1258 #$ebcdic EBCDIC /**/
1261 * This variable, if defined, holds the name of the directory in
1262 * which the user wants to put architecture-dependent public
1263 * library files for $package. It is most often a local directory
1264 * such as /usr/local/lib. Programs using this variable must be
1265 * prepared to deal with filename expansion. If ARCHLIB is the
1266 * same as PRIVLIB, it is not defined, since presumably the
1267 * program already searches PRIVLIB.
1270 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1271 * in programs that are not prepared to deal with ~ expansion at run-time.
1273 #$d_archlib ARCHLIB "$archlib" /**/
1274 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
1277 * This symbol holds the path of the bin directory where the package will
1278 * be installed. Program must be prepared to deal with ~name substitution.
1281 * This symbol is the filename expanded version of the BIN symbol, for
1282 * programs that do not want to deal with that at run-time.
1284 /* PERL_RELOCATABLE_INC:
1285 * This symbol, if defined, indicates that we'd like to relocate entries
1286 * in @INC at run time based on the location of the perl binary.
1288 #define BIN "$bin" /**/
1289 #define BIN_EXP "$binexp" /**/
1290 #define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
1292 /* PERL_INC_VERSION_LIST:
1293 * This variable specifies the list of subdirectories in over
1294 * which perl.c:incpush() and lib/lib.pm will automatically
1295 * search when adding directories to @INC, in a format suitable
1296 * for a C initialization string. See the inc_version_list entry
1297 * in Porting/Glossary for more details.
1299 #$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
1301 /* INSTALL_USR_BIN_PERL:
1302 * This symbol, if defined, indicates that Perl is to be installed
1303 * also as /usr/bin/perl.
1305 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
1307 /* PERL_OTHERLIBDIRS:
1308 * This variable contains a colon-separated set of paths for the perl
1309 * binary to search for additional library files or modules.
1310 * These directories will be tacked to the end of @INC.
1311 * Perl will automatically search below each path for version-
1312 * and architecture-specific directories. See PERL_INC_VERSION_LIST
1315 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
1318 * This symbol contains the name of the private library for this package.
1319 * The library is private in the sense that it needn't be in anyone's
1320 * execution path, but it should be accessible by the world. The program
1321 * should be prepared to do ~ expansion.
1324 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1325 * in programs that are not prepared to deal with ~ expansion at run-time.
1327 #define PRIVLIB "$privlib" /**/
1328 #define PRIVLIB_EXP "$privlibexp" /**/
1331 * This symbol contains the name of the private library for this package.
1332 * The library is private in the sense that it needn't be in anyone's
1333 * execution path, but it should be accessible by the world. The program
1334 * should be prepared to do ~ expansion.
1335 * The standard distribution will put nothing in this directory.
1336 * After perl has been installed, users may install their own local
1337 * architecture-dependent modules in this directory with
1338 * MakeMaker Makefile.PL
1339 * or equivalent. See INSTALL for details.
1342 * This symbol contains the ~name expanded version of SITEARCH, to be used
1343 * in programs that are not prepared to deal with ~ expansion at run-time.
1345 #$d_sitearch SITEARCH "$sitearch" /**/
1346 #$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
1349 * This symbol contains the name of the private library for this package.
1350 * The library is private in the sense that it needn't be in anyone's
1351 * execution path, but it should be accessible by the world. The program
1352 * should be prepared to do ~ expansion.
1353 * The standard distribution will put nothing in this directory.
1354 * After perl has been installed, users may install their own local
1355 * architecture-independent modules in this directory with
1356 * MakeMaker Makefile.PL
1357 * or equivalent. See INSTALL for details.
1360 * This symbol contains the ~name expanded version of SITELIB, to be used
1361 * in programs that are not prepared to deal with ~ expansion at run-time.
1364 * This define is SITELIB_EXP with any trailing version-specific component
1365 * removed. The elements in inc_version_list (inc_version_list.U) can
1366 * be tacked onto this variable to generate a list of directories to search.
1368 #define SITELIB "$sitelib" /**/
1369 #define SITELIB_EXP "$sitelibexp" /**/
1370 #define SITELIB_STEM "$sitelib_stem" /**/
1373 * If defined, this symbol contains the name of a private library.
1374 * The library is private in the sense that it needn't be in anyone's
1375 * execution path, but it should be accessible by the world.
1376 * It may have a ~ on the front.
1377 * The standard distribution will put nothing in this directory.
1378 * Vendors who distribute perl may wish to place their own
1379 * architecture-dependent modules and extensions in this directory with
1380 * MakeMaker Makefile.PL INSTALLDIRS=vendor
1381 * or equivalent. See INSTALL for details.
1383 /* PERL_VENDORARCH_EXP:
1384 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
1385 * in programs that are not prepared to deal with ~ expansion at run-time.
1387 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
1388 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
1390 /* PERL_VENDORLIB_EXP:
1391 * This symbol contains the ~name expanded version of VENDORLIB, to be used
1392 * in programs that are not prepared to deal with ~ expansion at run-time.
1394 /* PERL_VENDORLIB_STEM:
1395 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
1396 * removed. The elements in inc_version_list (inc_version_list.U) can
1397 * be tacked onto this variable to generate a list of directories to search.
1399 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
1400 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
1403 * This symbol contains the name of the operating system, as determined
1404 * by Configure. You shouldn't rely on it too much; the specific
1405 * feature tests from Configure are generally more reliable.
1408 * This symbol contains the version of the operating system, as determined
1409 * by Configure. You shouldn't rely on it too much; the specific
1410 * feature tests from Configure are generally more reliable.
1412 #define OSNAME "$osname" /**/
1413 #define OSVERS "$osvers" /**/
1416 * This macro concatenates 2 tokens together.
1419 * This macro surrounds its token with double quotes.
1422 #define CAT2(a,b) a/**/b
1423 #define STRINGIFY(a) "a"
1425 #if $cpp_stuff == 42
1426 #define PeRl_CaTiFy(a, b) a ## b
1427 #define PeRl_StGiFy(a) #a
1428 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1429 #define StGiFy(a) PeRl_StGiFy(a)
1430 #define STRINGIFY(a) PeRl_StGiFy(a)
1432 #if $cpp_stuff != 1 && $cpp_stuff != 42
1433 #include "Bletch: How does this C preprocessor concatenate tokens?"
1437 * This symbol contains the first part of the string which will invoke
1438 * the C preprocessor on the standard input and produce to standard
1439 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1440 * call a wrapper. See CPPRUN.
1443 * This symbol contains the second part of the string which will invoke
1444 * the C preprocessor on the standard input and produce to standard
1445 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1446 * to specify standard input, otherwise the value is "".
1449 * This symbol contains the string which will invoke a C preprocessor on
1450 * the standard input and produce to standard output. It needs to end
1451 * with CPPLAST, after all other preprocessor flags have been specified.
1452 * The main difference with CPPSTDIN is that this program will never be a
1453 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1454 * available directly to the user. Note that it may well be different from
1455 * the preprocessor used to compile the C program.
1458 * This symbol is intended to be used along with CPPRUN in the same manner
1459 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1461 #define CPPSTDIN "$cppstdin"
1462 #define CPPMINUS "$cppminus"
1463 #define CPPRUN "$cpprun"
1464 #define CPPLAST "$cpplast"
1467 * This manifest constant lets the C program know that the access()
1468 * system call is available to check for accessibility using real UID/GID.
1469 * (always present on UNIX.)
1471 #$d_access HAS_ACCESS /**/
1473 /* HASATTRIBUTE_FORMAT:
1474 * Can we handle GCC attribute for checking printf-style formats
1476 /* PRINTF_FORMAT_NULL_OK:
1477 * Allows __printf__ format to be null when checking printf-style
1479 /* HASATTRIBUTE_MALLOC:
1480 * Can we handle GCC attribute for malloc-style functions.
1482 /* HASATTRIBUTE_NONNULL:
1483 * Can we handle GCC attribute for nonnull function parms.
1485 /* HASATTRIBUTE_NORETURN:
1486 * Can we handle GCC attribute for functions that do not return
1488 /* HASATTRIBUTE_PURE:
1489 * Can we handle GCC attribute for pure functions
1491 /* HASATTRIBUTE_UNUSED:
1492 * Can we handle GCC attribute for unused variables and arguments
1494 /* HASATTRIBUTE_DEPRECATED:
1495 * Can we handle GCC attribute for marking deprecated APIs
1497 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1498 * Can we handle GCC attribute for warning on unused results
1500 #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/
1501 #$d_attribute_format HASATTRIBUTE_FORMAT /**/
1502 #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
1503 #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1504 #$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1505 #$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1506 #$d_attribute_pure HASATTRIBUTE_PURE /**/
1507 #$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1508 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1511 * This symbol, if defined, indicates that the backtrace() routine is
1512 * available to get a stack trace. The <execinfo.h> header must be
1513 * included to use this routine.
1515 #$d_backtrace HAS_BACKTRACE /**/
1518 * This symbol, if defined, indicates that the C-shell exists.
1521 * This symbol, if defined, contains the full pathname of csh.
1523 #$d_csh HAS_CSH /**/
1525 #define CSH "$full_csh" /**/
1529 * This symbol, if defined, indicates that the dladdr() routine is
1530 * available to query dynamic linker information for an address.
1531 * The <dlfcn.h> header must be included to use this routine.
1533 #$d_dladdr HAS_DLADDR /**/
1535 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1536 * This symbol, if defined, indicates that the bug that prevents
1537 * setuid scripts from being secure is not present in this kernel.
1540 * This symbol, if defined, indicates that the C program should
1541 * check the script that it is executing for setuid/setgid bits, and
1542 * attempt to emulate setuid/setgid on systems that have disabled
1543 * setuid #! scripts because the kernel can't do it securely.
1544 * It is up to the package designer to make sure that this emulation
1545 * is done securely. Among other things, it should do an fstat on
1546 * the script it just opened to make sure it really is a setuid/setgid
1547 * script, it should make sure the arguments passed correspond exactly
1548 * to the argument on the #! line, and it should not trust any
1549 * subprocesses to which it must pass the filename rather than the
1550 * file descriptor of the script to be executed.
1552 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1553 #$d_dosuid DOSUID /**/
1556 * This symbol, if defined, indicates that the getgrent routine is
1557 * available for finalizing sequential access of the group database.
1559 #$d_endgrent HAS_ENDGRENT /**/
1562 * This symbol, if defined, indicates that the endhostent() routine is
1563 * available to close whatever was being used for host queries.
1565 #$d_endhent HAS_ENDHOSTENT /**/
1568 * This symbol, if defined, indicates that the endnetent() routine is
1569 * available to close whatever was being used for network queries.
1571 #$d_endnent HAS_ENDNETENT /**/
1574 * This symbol, if defined, indicates that the endprotoent() routine is
1575 * available to close whatever was being used for protocol queries.
1577 #$d_endpent HAS_ENDPROTOENT /**/
1580 * This symbol, if defined, indicates that the getgrent routine is
1581 * available for finalizing sequential access of the passwd database.
1583 #$d_endpwent HAS_ENDPWENT /**/
1586 * This symbol, if defined, indicates that the endservent() routine is
1587 * available to close whatever was being used for service queries.
1589 #$d_endsent HAS_ENDSERVENT /**/
1592 * This symbol, if defined, indicates that the system supports filenames
1593 * longer than 14 characters.
1595 #$d_flexfnam FLEXFILENAMES /**/
1598 * This symbol, if defined, indicates that the getgrent routine is
1599 * available for sequential access of the group database.
1601 #$d_getgrent HAS_GETGRENT /**/
1603 /* HAS_GETHOSTBYADDR:
1604 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1605 * available to look up hosts by their IP addresses.
1607 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1609 /* HAS_GETHOSTBYNAME:
1610 * This symbol, if defined, indicates that the gethostbyname() routine is
1611 * available to look up host names in some data base or other.
1613 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1616 * This symbol, if defined, indicates that the gethostent() routine is
1617 * available to look up host names in some data base or another.
1619 #$d_gethent HAS_GETHOSTENT /**/
1622 * This symbol, if defined, indicates that the C program may use the
1623 * gethostname() routine to derive the host name. See also HAS_UNAME
1627 * This symbol, if defined, indicates that the C program may use the
1628 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1632 * This symbol, if defined, indicates the command to feed to the
1633 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1634 * and HAS_UNAME. Note that the command uses a fully qualified path,
1635 * so that it is safe even if used by a process with super-user
1639 * This symbol, if defined, indicates that the C program may use the
1640 * contents of PHOSTNAME as a command to feed to the popen() routine
1641 * to derive the host name.
1643 #$d_gethname HAS_GETHOSTNAME /**/
1644 #$d_uname HAS_UNAME /**/
1645 #$d_phostname HAS_PHOSTNAME /**/
1646 #ifdef HAS_PHOSTNAME
1647 #define PHOSTNAME "$aphostname" /* How to get the host name */
1650 /* HAS_GETNETBYADDR:
1651 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1652 * available to look up networks by their IP addresses.
1654 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1656 /* HAS_GETNETBYNAME:
1657 * This symbol, if defined, indicates that the getnetbyname() routine is
1658 * available to look up networks by their names.
1660 #$d_getnbyname HAS_GETNETBYNAME /**/
1663 * This symbol, if defined, indicates that the getnetent() routine is
1664 * available to look up network names in some data base or another.
1666 #$d_getnent HAS_GETNETENT /**/
1669 * This symbol, if defined, indicates that the getprotoent() routine is
1670 * available to look up protocols in some data base or another.
1672 #$d_getpent HAS_GETPROTOENT /**/
1675 * This symbol, if defined, indicates that the getpgrp routine is
1676 * available to get the current process group.
1679 * This symbol, if defined, indicates that getpgrp needs one
1680 * arguments whereas USG one needs none.
1682 #$d_getpgrp HAS_GETPGRP /**/
1683 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1685 /* HAS_GETPROTOBYNAME:
1686 * This symbol, if defined, indicates that the getprotobyname()
1687 * routine is available to look up protocols by their name.
1689 /* HAS_GETPROTOBYNUMBER:
1690 * This symbol, if defined, indicates that the getprotobynumber()
1691 * routine is available to look up protocols by their number.
1693 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1694 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1697 * This symbol, if defined, indicates that the getpwent routine is
1698 * available for sequential access of the passwd database.
1699 * If this is not available, the older getpw() function may be available.
1701 #$d_getpwent HAS_GETPWENT /**/
1704 * This symbol, if defined, indicates that the getservent() routine is
1705 * available to look up network services in some data base or another.
1707 #$d_getsent HAS_GETSERVENT /**/
1709 /* HAS_GETSERVBYNAME:
1710 * This symbol, if defined, indicates that the getservbyname()
1711 * routine is available to look up services by their name.
1713 /* HAS_GETSERVBYPORT:
1714 * This symbol, if defined, indicates that the getservbyport()
1715 * routine is available to look up services by their port.
1717 #$d_getsbyname HAS_GETSERVBYNAME /**/
1718 #$d_getsbyport HAS_GETSERVBYPORT /**/
1721 * This symbol, if defined, indicates that the htonl() routine (and
1722 * friends htons() ntohl() ntohs()) are available to do network
1723 * order byte swapping.
1726 * This symbol, if defined, indicates that the htons() routine (and
1727 * friends htonl() ntohl() ntohs()) are available to do network
1728 * order byte swapping.
1731 * This symbol, if defined, indicates that the ntohl() routine (and
1732 * friends htonl() htons() ntohs()) are available to do network
1733 * order byte swapping.
1736 * This symbol, if defined, indicates that the ntohs() routine (and
1737 * friends htonl() htons() ntohl()) are available to do network
1738 * order byte swapping.
1740 #$d_htonl HAS_HTONL /**/
1741 #$d_htonl HAS_HTONS /**/
1742 #$d_htonl HAS_NTOHL /**/
1743 #$d_htonl HAS_NTOHS /**/
1746 * This symbol will be defined if the C compiler supports long
1750 * This symbol contains the size of a long double, so that the
1751 * C preprocessor can make decisions based on it. It is only
1752 * defined if the system supports long doubles. Note that this
1753 * is sizeof(long double), which may include unused bytes.
1756 * This symbol, if defined, indicates that the ldexpl routine is
1757 * available to shift a long double floating-point number
1758 * by an integral power of 2.
1761 * LONG_DOUBLEKIND will be one of
1762 * LONG_DOUBLE_IS_DOUBLE
1763 * LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
1764 * LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
1765 * LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN
1766 * LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN
1767 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE
1768 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE
1769 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE
1770 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE
1771 * LONG_DOUBLE_IS_VAX_H_FLOAT
1772 * LONG_DOUBLE_IS_UNKNOWN_FORMAT
1773 * It is only defined if the system supports long doubles.
1775 /* LONG_DOUBLE_STYLE_IEEE:
1776 * This symbol, if defined, indicates that the long double
1777 * is any of the IEEE 754 style long doubles:
1778 * LONG_DOUBLE_STYLE_IEEE_STD, LONG_DOUBLE_STYLE_IEEE_EXTENDED,
1779 * LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE.
1781 /* LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE:
1782 * This symbol, if defined, indicates that the long double is
1783 * the 128-bit double-double.
1785 /* LONG_DOUBLE_STYLE_IEEE_EXTENDED:
1786 * This symbol, if defined, indicates that the long double is
1787 * the 80-bit IEEE 754. Note that despite the 'extended' this
1788 * is less than the 'std', since this is an extension of
1789 * the double precision.
1791 /* LONG_DOUBLE_STYLE_IEEE_STD:
1792 * This symbol, if defined, indicates that the long double is
1793 * the 128-bit IEEE 754.
1795 /* LONG_DOUBLE_STYLE_VAX:
1796 * This symbol, if defined, indicates that the long double is
1797 * the 128-bit VAX format H.
1799 #$d_ldexpl HAS_LDEXPL /**/
1800 #$d_longdbl HAS_LONG_DOUBLE /**/
1801 #ifdef HAS_LONG_DOUBLE
1802 #define LONG_DOUBLESIZE $longdblsize /**/
1803 #define LONG_DOUBLEKIND $longdblkind /**/
1804 #define LONG_DOUBLE_IS_DOUBLE 0
1805 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 1
1806 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 2
1807 #define LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN 3
1808 #define LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN 4
1809 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE 5
1810 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE 6
1811 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE 7
1812 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE 8
1813 #define LONG_DOUBLE_IS_VAX_H_FLOAT 9
1814 #define LONG_DOUBLE_IS_UNKNOWN_FORMAT -1
1815 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE /* back-compat */
1816 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE /* back-compat */
1817 #$d_long_double_style_ieee LONG_DOUBLE_STYLE_IEEE
1818 #$d_long_double_style_ieee_doubledouble LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE
1819 #$d_long_double_style_ieee_extended LONG_DOUBLE_STYLE_IEEE_EXTENDED
1820 #$d_long_double_style_ieee_std LONG_DOUBLE_STYLE_IEEE_STD
1821 #$d_long_double_style_vax LONG_DOUBLE_STYLE_VAX
1825 * This symbol will be defined if the C compiler supports long long.
1828 * This symbol contains the size of a long long, so that the
1829 * C preprocessor can make decisions based on it. It is only
1830 * defined if the system supports long long.
1832 #$d_longlong HAS_LONG_LONG /**/
1833 #ifdef HAS_LONG_LONG
1834 #define LONGLONGSIZE $longlongsize /**/
1838 * This symbol, if defined, indicates that the mkstemp routine is
1839 * available to exclusively create and open a uniquely named
1842 #$d_mkstemp HAS_MKSTEMP /**/
1845 * This symbol, if defined, indicates that the mmap system call is
1846 * available to map a file into memory.
1849 * This symbol holds the return type of the mmap() system call
1850 * (and simultaneously the type of the first argument).
1851 * Usually set to 'void *' or 'caddr_t'.
1853 #$d_mmap HAS_MMAP /**/
1854 #define Mmap_t $mmaptype /**/
1857 * This symbol, if defined, indicates that the setgrent routine is
1858 * available for initializing sequential access of the group database.
1860 #$d_setgrent HAS_SETGRENT /**/
1863 * This symbol, if defined, indicates that the sethostent() routine is
1866 #$d_sethent HAS_SETHOSTENT /**/
1869 * This symbol, if defined, indicates that the setnetent() routine is
1872 #$d_setnent HAS_SETNETENT /**/
1875 * This symbol, if defined, indicates that the setprotoent() routine is
1878 #$d_setpent HAS_SETPROTOENT /**/
1881 * This symbol, if defined, indicates that the setpgrp routine is
1882 * available to set the current process group.
1885 * This symbol, if defined, indicates that setpgrp needs two
1886 * arguments whereas USG one needs none. See also HAS_SETPGID
1887 * for a POSIX interface.
1889 #$d_setpgrp HAS_SETPGRP /**/
1890 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
1893 * This symbol, if defined, indicates that the setpwent routine is
1894 * available for initializing sequential access of the passwd database.
1896 #$d_setpwent HAS_SETPWENT /**/
1899 * This symbol, if defined, indicates that the setservent() routine is
1902 #$d_setsent HAS_SETSERVENT /**/
1905 * This symbol, if defined, indicates that the setvbuf routine is
1906 * available to change buffering on an open stdio stream.
1907 * to a line-buffered mode.
1909 #$d_setvbuf HAS_SETVBUF /**/
1912 * This symbol, if defined, indicates that the entire shm*(2) library is
1915 #$d_shm HAS_SHM /**/
1918 * This symbol holds the return type of the shmat() system call.
1919 * Usually set to 'void *' or 'char *'.
1921 /* HAS_SHMAT_PROTOTYPE:
1922 * This symbol, if defined, indicates that the sys/shm.h includes
1923 * a prototype for shmat(). Otherwise, it is up to the program to
1924 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
1925 * but not always right so it should be emitted by the program only
1926 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
1928 #define Shmat_t $shmattype /**/
1929 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
1932 * This symbol, if defined, indicates that the BSD socket interface is
1936 * This symbol, if defined, indicates that the BSD socketpair() call is
1939 /* HAS_SOCKADDR_SA_LEN:
1940 * This symbol, if defined, indicates that the struct sockaddr
1941 * structure has a member called sa_len, indicating the length of
1944 /* HAS_SOCKADDR_IN6:
1945 * This symbol, if defined, indicates the availability of
1946 * struct sockaddr_in6;
1948 /* HAS_SIN6_SCOPE_ID:
1949 * This symbol, if defined, indicates that the struct sockaddr_in6
1950 * structure has a member called sin6_scope_id.
1953 * This symbol, if defined, indicates the availability of
1956 /* HAS_IP_MREQ_SOURCE:
1957 * This symbol, if defined, indicates the availability of
1958 * struct ip_mreq_source;
1961 * This symbol, if defined, indicates the availability of
1964 /* HAS_IPV6_MREQ_SOURCE:
1965 * This symbol, if defined, indicates the availability of
1966 * struct ipv6_mreq_source;
1968 #$d_socket HAS_SOCKET /**/
1969 #$d_sockpair HAS_SOCKETPAIR /**/
1970 #$d_sockaddr_sa_len HAS_SOCKADDR_SA_LEN /**/
1971 #$d_sockaddr_in6 HAS_SOCKADDR_IN6 /**/
1972 #$d_sin6_scope_id HAS_SIN6_SCOPE_ID /**/
1973 #$d_ip_mreq HAS_IP_MREQ /**/
1974 #$d_ip_mreq_source HAS_IP_MREQ_SOURCE /**/
1975 #$d_ipv6_mreq HAS_IPV6_MREQ /**/
1976 #$d_ipv6_mreq_source HAS_IPV6_MREQ_SOURCE /**/
1979 * This symbol is defined if this system has a stat structure declaring
1980 * st_blksize and st_blocks.
1982 #ifndef USE_STAT_BLOCKS
1983 #$d_statblks USE_STAT_BLOCKS /**/
1987 * This symbol, if defined, indicates that the sys_errlist array is
1988 * available to translate error numbers to strings. The extern int
1989 * sys_nerr gives the size of that table.
1991 #$d_syserrlst HAS_SYS_ERRLIST /**/
1994 * This symbol, if defined, indicates that the strtoul routine is
1995 * available to provide conversion of strings to unsigned long.
1997 #$d_strtoul HAS_STRTOUL /**/
2000 * This symbol, if defined, indicates that the union semun is
2001 * defined by including <sys/sem.h>. If not, the user code
2002 * probably needs to define it as:
2005 * struct semid_ds *buf;
2006 * unsigned short *array;
2009 /* USE_SEMCTL_SEMUN:
2010 * This symbol, if defined, indicates that union semun is
2011 * used for semctl IPC_STAT.
2013 /* USE_SEMCTL_SEMID_DS:
2014 * This symbol, if defined, indicates that struct semid_ds * is
2015 * used for semctl IPC_STAT.
2017 #$d_union_semun HAS_UNION_SEMUN /**/
2018 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2019 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2022 * This symbol, if defined, indicates that vfork() exists.
2024 #$d_vfork HAS_VFORK /**/
2027 * This symbol, if defined, indicates that an emulation of the
2028 * fork routine is available.
2030 #$d_pseudofork HAS_PSEUDOFORK /**/
2033 * This symbol's value is either "void" or "int", corresponding to the
2034 * appropriate return type of a signal handler. Thus, you can declare
2035 * a signal handler using "Signal_t (*handler)()", and define the
2036 * handler using "Signal_t handler(sig)".
2038 #define Signal_t $signal_t /* Signal handler's return type */
2041 * This symbol, if defined, indicates to the C program that it should
2042 * include <dirent.h>. Using this symbol also triggers the definition
2043 * of the Direntry_t define which ends up being 'struct dirent' or
2044 * 'struct direct' depending on the availability of <dirent.h>.
2047 * This symbol, if defined, indicates to the C program that the length
2048 * of directory entry names is provided by a d_namlen field. Otherwise
2049 * you need to do strlen() on the d_name field.
2052 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2053 * whether dirent is available or not. You should use this pseudo type to
2054 * portably declare your directory entries.
2056 #$i_dirent I_DIRENT /**/
2057 #$d_dirnamlen DIRNAMLEN /**/
2058 #define Direntry_t $direntrytype
2061 * This symbol, if defined, indicates to the C program that it should
2062 * include <execinfo.h> for backtrace() support.
2064 #$i_execinfo I_EXECINFO /**/
2067 * This symbol, if defined, indicates to the C program that it should
2071 * This symbol, if defined, indicates to the C program that struct group
2072 * in <grp.h> contains gr_passwd.
2075 #$d_grpasswd GRPASSWD /**/
2078 * This symbol, if defined, indicates that <ndbm.h> exists and should
2082 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2083 * be included. This was the location of the ndbm.h compatibility file
2087 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2088 * be included. This is the location of the ndbm.h compatibility file
2091 /* NDBM_H_USES_PROTOTYPES:
2092 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2093 * prototypes instead of K&R style function declarations without any
2094 * parameter information. While ANSI C prototypes are supported in C++,
2095 * K&R style function declarations will yield errors.
2097 /* GDBMNDBM_H_USES_PROTOTYPES:
2098 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2099 * prototypes instead of K&R style function declarations without any
2100 * parameter information. While ANSI C prototypes are supported in C++,
2101 * K&R style function declarations will yield errors.
2103 /* GDBM_NDBM_H_USES_PROTOTYPES:
2104 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2105 * prototypes instead of K&R style function declarations without any
2106 * parameter information. While ANSI C prototypes are supported in C++,
2107 * K&R style function declarations will yield errors.
2109 #$i_ndbm I_NDBM /**/
2110 #$i_gdbmndbm I_GDBMNDBM /**/
2111 #$i_gdbm_ndbm I_GDBM_NDBM /**/
2112 #$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
2113 #$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
2114 #$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
2117 * This symbol, if defined, indicates that <netdb.h> exists and
2118 * should be included.
2120 #$i_netdb I_NETDB /**/
2123 * This symbol, if defined, indicates that <net/errno.h> exists and
2124 * should be included.
2126 #$i_neterrno I_NET_ERRNO /**/
2129 * This symbol, if defined, indicates to the C program that it should
2133 * This symbol, if defined, indicates to the C program that struct passwd
2134 * contains pw_quota.
2137 * This symbol, if defined, indicates to the C program that struct passwd
2141 * This symbol, if defined, indicates to the C program that struct passwd
2142 * contains pw_change.
2145 * This symbol, if defined, indicates to the C program that struct passwd
2146 * contains pw_class.
2149 * This symbol, if defined, indicates to the C program that struct passwd
2150 * contains pw_expire.
2153 * This symbol, if defined, indicates to the C program that struct passwd
2154 * contains pw_comment.
2157 * This symbol, if defined, indicates to the C program that struct passwd
2158 * contains pw_gecos.
2161 * This symbol, if defined, indicates to the C program that struct passwd
2162 * contains pw_passwd.
2165 #$d_pwquota PWQUOTA /**/
2166 #$d_pwage PWAGE /**/
2167 #$d_pwchange PWCHANGE /**/
2168 #$d_pwclass PWCLASS /**/
2169 #$d_pwexpire PWEXPIRE /**/
2170 #$d_pwcomment PWCOMMENT /**/
2171 #$d_pwgecos PWGECOS /**/
2172 #$d_pwpasswd PWPASSWD /**/
2175 * This symbol, if defined, indicates that <sys/uio.h> exists and
2176 * should be included.
2178 #$i_sysuio I_SYSUIO /**/
2181 * This symbol, if defined, indicates that the program should include
2182 * <termio.h> rather than <sgtty.h>. There are also differences in
2183 * the ioctl() calls that depend on the value of this symbol.
2186 * This symbol, if defined, indicates that the program should include
2187 * the POSIX termios.h rather than sgtty.h or termio.h.
2188 * There are also differences in the ioctl() calls that depend on the
2189 * value of this symbol.
2192 * This symbol, if defined, indicates that the program should include
2193 * <sgtty.h> rather than <termio.h>. There are also differences in
2194 * the ioctl() calls that depend on the value of this symbol.
2196 #$i_termio I_TERMIO /**/
2197 #$i_termios I_TERMIOS /**/
2198 #$i_sgtty I_SGTTY /**/
2201 * This variable contains the return type of free(). It is usually
2202 * void, but occasionally int.
2205 * This symbol is the type of pointer returned by malloc and realloc.
2207 #define Malloc_t $malloctype /**/
2208 #define Free_t $freetype /**/
2210 /* PERL_MALLOC_WRAP:
2211 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2213 #$usemallocwrap PERL_MALLOC_WRAP /**/
2216 * This symbol, if defined, indicates that we're using our own malloc.
2218 #$d_mymalloc MYMALLOC /**/
2221 * This symbol contains the full pathname to the shell used on this
2222 * on this system to execute Bourne shell scripts. Usually, this will be
2223 * /bin/sh, though it's possible that some systems will have /bin/ksh,
2224 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
2227 #define SH_PATH "$targetsh" /**/
2230 * This symbol contains a list of signal names in order of
2231 * signal number. This is intended
2232 * to be used as a static array initialization, like this:
2233 * char *sig_name[] = { SIG_NAME };
2234 * The signals in the list are separated with commas, and each signal
2235 * is surrounded by double quotes. There is no leading SIG in the signal
2236 * name, i.e. SIGQUIT is known as "QUIT".
2237 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2238 * etc., where nn is the actual signal number (e.g. NUM37).
2239 * The signal number for sig_name[i] is stored in sig_num[i].
2240 * The last element is 0 to terminate the list with a NULL. This
2241 * corresponds to the 0 at the end of the sig_name_init list.
2242 * Note that this variable is initialized from the sig_name_init,
2243 * not from sig_name (which is unused).
2246 * This symbol contains a list of signal numbers, in the same order as the
2247 * SIG_NAME list. It is suitable for static array initialization, as in:
2248 * int sig_num[] = { SIG_NUM };
2249 * The signals in the list are separated with commas, and the indices
2250 * within that list and the SIG_NAME list match, so it's easy to compute
2251 * the signal name from a number or vice versa at the price of a small
2252 * dynamic linear lookup.
2253 * Duplicates are allowed, but are moved to the end of the list.
2254 * The signal number corresponding to sig_name[i] is sig_number[i].
2255 * if (i < NSIG) then sig_number[i] == i.
2256 * The last element is 0, corresponding to the 0 at the end of
2257 * the sig_name_init list.
2258 * Note that this variable is initialized from the sig_num_init,
2259 * not from sig_num (which is unused).
2262 * This variable contains the number of elements of the SIG_NAME
2263 * and SIG_NUM arrays, excluding the final NULL entry.
2265 #define SIG_NAME $sig_name_init /**/
2266 #define SIG_NUM $sig_num_init /**/
2267 #define SIG_SIZE $sig_size /**/
2269 /* USE_CROSS_COMPILE:
2270 * This symbol, if defined, indicates that Perl is being cross-compiled.
2273 * This symbol, if defined, indicates the target architecture
2274 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2276 #ifndef USE_CROSS_COMPILE
2277 #$usecrosscompile USE_CROSS_COMPILE /**/
2278 #define PERL_TARGETARCH "$targetarch" /**/
2282 * This symbol, if defined, indicates that Perl was configured with
2283 * -Dusedevel, to enable development features. This should not be
2284 * done for production builds.
2286 #$usedevel PERL_USE_DEVEL /**/
2289 * This symbol, if defined, indicates that the atolf routine is
2290 * available to convert strings into long doubles.
2292 #$d_atolf HAS_ATOLF /**/
2295 * This symbol, if defined, indicates that the atoll routine is
2296 * available to convert strings into long longs.
2298 #$d_atoll HAS_ATOLL /**/
2301 * This symbol, if defined, indicates that the _fwalk system call is
2302 * available to apply a function to all the file handles.
2304 #$d__fwalk HAS__FWALK /**/
2307 * This symbol, if defined, indicates that the accept4 routine is
2308 * available to accept socket connections.
2310 #$d_accept4 HAS_ACCEPT4 /**/
2313 * This symbol, if defined, indicates that the acosh routine is
2314 * available to do the inverse hyperbolic cosine function.
2316 #$d_acosh HAS_ACOSH /**/
2319 * This symbol, if defined, indicates that the aintl routine is
2320 * available. If copysignl is also present we can emulate modfl.
2322 #$d_aintl HAS_AINTL /**/
2325 * This symbol, if defined, indicates that the asinh routine is
2326 * available to do the inverse hyperbolic sine function.
2328 #$d_asinh HAS_ASINH /**/
2331 * This symbol, if defined, indicates that the atanh routine is
2332 * available to do the inverse hyperbolic tangent function.
2334 #$d_atanh HAS_ATANH /**/
2336 /* HAS_BUILTIN_CHOOSE_EXPR:
2337 * Can we handle GCC builtin for compile-time ternary-like expressions
2339 /* HAS_BUILTIN_EXPECT:
2340 * Can we handle GCC builtin for telling that certain values are more
2343 #$d_builtin_expect HAS_BUILTIN_EXPECT /**/
2344 #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
2346 /* HAS_BUILTIN_ADD_OVERFLOW:
2347 * This symbol, if defined, indicates that the compiler supports
2348 * __builtin_add_overflow for adding integers with overflow checks.
2350 /* HAS_BUILTIN_SUB_OVERFLOW:
2351 * This symbol, if defined, indicates that the compiler supports
2352 * __builtin_sub_overflow for subtracting integers with overflow checks.
2354 /* HAS_BUILTIN_MUL_OVERFLOW:
2355 * This symbol, if defined, indicates that the compiler supports
2356 * __builtin_mul_overflow for multiplying integers with overflow checks.
2358 #$d_builtin_add_overflow HAS_BUILTIN_ADD_OVERFLOW /**/
2359 #$d_builtin_sub_overflow HAS_BUILTIN_SUB_OVERFLOW /**/
2360 #$d_builtin_mul_overflow HAS_BUILTIN_MUL_OVERFLOW /**/
2362 /* HAS_C99_VARIADIC_MACROS:
2363 * If defined, the compiler supports C99 variadic macros.
2365 #$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
2368 * This symbol, if defined, indicates that the class routine is
2369 * available to classify doubles. Available for example in AIX.
2370 * The returned values are defined in <float.h> and are:
2372 * FP_PLUS_NORM Positive normalized, nonzero
2373 * FP_MINUS_NORM Negative normalized, nonzero
2374 * FP_PLUS_DENORM Positive denormalized, nonzero
2375 * FP_MINUS_DENORM Negative denormalized, nonzero
2377 * FP_MINUS_ZERO -0.0
2380 * FP_NANS Signaling Not a Number (NaNS)
2381 * FP_NANQ Quiet Not a Number (NaNQ)
2383 #$d_class HAS_CLASS /**/
2386 * This symbol, if defined, indicates that the clearenv () routine is
2387 * available for use.
2389 #$d_clearenv HAS_CLEARENV /**/
2391 /* HAS_STRUCT_CMSGHDR:
2392 * This symbol, if defined, indicates that the struct cmsghdr
2395 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
2398 * This symbol, if defined, indicates that the copysign routine is
2399 * available to do the copysign function.
2401 #$d_copysign HAS_COPYSIGN /**/
2404 * This symbol, if defined, indicates that the copysignl routine is
2405 * available. If aintl is also present we can emulate modfl.
2407 #$d_copysignl HAS_COPYSIGNL /**/
2410 * This symbol, if defined, indicates that a C++ compiler was
2411 * used to compiled Perl and will be used to compile extensions.
2413 #$d_cplusplus USE_CPLUSPLUS /**/
2415 /* HAS_DBMINIT_PROTO:
2416 * This symbol, if defined, indicates that the system provides
2417 * a prototype for the dbminit() function. Otherwise, it is up
2418 * to the program to supply one. A good guess is
2419 * extern int dbminit(char *);
2421 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
2424 * This symbol, if defined, indicates that the the DIR* dirstream
2425 * structure contains a member variable named dd_fd.
2427 #$d_dir_dd_fd HAS_DIR_DD_FD /**/
2430 * This manifest constant lets the C program know that dirfd
2433 #$d_dirfd HAS_DIRFD /**/
2435 /* DLSYM_NEEDS_UNDERSCORE:
2436 * This symbol, if defined, indicates that we need to prepend an
2437 * underscore to the symbol name before calling dlsym(). This only
2438 * makes sense if you *have* dlsym, which we will presume is the
2439 * case if you're using dl_dlopen.xs.
2441 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
2444 * This symbol, if defined, indicates that the dup3 routine is
2445 * available to duplicate file descriptors.
2447 #$d_dup3 HAS_DUP3 /**/
2450 * This symbol, if defined, indicates that the erf routine is
2451 * available to do the error function.
2453 #$d_erf HAS_ERF /**/
2456 * This symbol, if defined, indicates that the erfc routine is
2457 * available to do the complementary error function.
2459 #$d_erfc HAS_ERFC /**/
2462 * This symbol, if defined, indicates that the exp2 routine is
2463 * available to do the 2**x function.
2465 #$d_exp2 HAS_EXP2 /**/
2468 * This symbol, if defined, indicates that the expm1 routine is
2469 * available to do the exp(x) - 1 when x is near 1 function.
2471 #$d_expm1 HAS_EXPM1 /**/
2474 * This symbol, if defined, indicates that the "fast stdio"
2475 * is available to manipulate the stdio buffers directly.
2477 #$d_faststdio HAS_FAST_STDIO /**/
2480 * This symbol, if defined, indicates that the fchdir routine is
2481 * available to change directory using a file descriptor.
2483 #$d_fchdir HAS_FCHDIR /**/
2486 * This symbol, if defined, indicates that fcntl() can be used
2487 * for file locking. Normally on Unix systems this is defined.
2488 * It may be undefined on VMS.
2490 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
2493 * This symbol, if defined, indicates that the fdclose routine is
2494 * available to free a FILE structure without closing the underlying
2495 * file descriptor. This function appeared in FreeBSD 10.2.
2497 #$d_fdclose HAS_FDCLOSE /**/
2500 * This symbol, if defined, indicates that the fdim routine is
2501 * available to do the positive difference function.
2503 #$d_fdim HAS_FDIM /**/
2506 * This symbol, if defined, indicates that the fegetround routine is
2507 * available to return the macro corresponding to the current rounding
2510 #$d_fegetround HAS_FEGETROUND /**/
2513 * This symbol, if defined, indicates that the finite routine is
2514 * available to check whether a double is finite (non-infinity non-NaN).
2516 #$d_finite HAS_FINITE /**/
2519 * This symbol, if defined, indicates that the finitel routine is
2520 * available to check whether a long double is finite
2521 * (non-infinity non-NaN).
2523 #$d_finitel HAS_FINITEL /**/
2526 * This symbol, if defined, indicates that the system provides
2527 * a prototype for the flock() function. Otherwise, it is up
2528 * to the program to supply one. A good guess is
2529 * extern int flock(int, int);
2531 #$d_flockproto HAS_FLOCK_PROTO /**/
2534 * This symbol, if defined, indicates that the fma routine is
2535 * available to do the multiply-add function.
2537 #$d_fma HAS_FMA /**/
2540 * This symbol, if defined, indicates that the fmax routine is
2541 * available to do the maximum function.
2543 #$d_fmax HAS_FMAX /**/
2546 * This symbol, if defined, indicates that the fmin routine is
2547 * available to do the minimum function.
2549 #$d_fmin HAS_FMIN /**/
2552 * This symbol, if defined, indicates that the fp_class routine is
2553 * available to classify doubles. Available for example in Digital UNIX.
2554 * The returned values are defined in <math.h> and are:
2556 * FP_SNAN Signaling NaN (Not-a-Number)
2557 * FP_QNAN Quiet NaN (Not-a-Number)
2558 * FP_POS_INF +infinity
2559 * FP_NEG_INF -infinity
2560 * FP_POS_NORM Positive normalized
2561 * FP_NEG_NORM Negative normalized
2562 * FP_POS_DENORM Positive denormalized
2563 * FP_NEG_DENORM Negative denormalized
2564 * FP_POS_ZERO +0.0 (positive zero)
2565 * FP_NEG_ZERO -0.0 (negative zero)
2567 #$d_fp_class HAS_FP_CLASS /**/
2570 * This symbol, if defined, indicates that the fp_classl routine is
2571 * available to classify long doubles. Available for example in
2572 * Digital UNIX. See for possible values HAS_FP_CLASS.
2574 #$d_fp_classl HAS_FP_CLASSL /**/
2577 * This symbol, if defined, indicates that the fpclass routine is
2578 * available to classify doubles. Available for example in Solaris/SVR4.
2579 * The returned values are defined in <ieeefp.h> and are:
2581 * FP_SNAN signaling NaN
2583 * FP_NINF negative infinity
2584 * FP_PINF positive infinity
2585 * FP_NDENORM negative denormalized non-zero
2586 * FP_PDENORM positive denormalized non-zero
2587 * FP_NZERO negative zero
2588 * FP_PZERO positive zero
2589 * FP_NNORM negative normalized non-zero
2590 * FP_PNORM positive normalized non-zero
2592 #$d_fpclass HAS_FPCLASS /**/
2595 * This symbol, if defined, indicates that the fpclassify routine is
2596 * available to classify doubles. Available for example in HP-UX.
2597 * The returned values are defined in <math.h> and are
2599 * FP_NORMAL Normalized
2601 * FP_INFINITE Infinity
2602 * FP_SUBNORMAL Denormalized
2607 * This symbol, if defined, indicates that the fp_classify routine is
2608 * available to classify doubles. The values are defined in <math.h>
2610 * FP_NORMAL Normalized
2612 * FP_INFINITE Infinity
2613 * FP_SUBNORMAL Denormalized
2617 #$d_fpclassify HAS_FPCLASSIFY /**/
2618 #$d_fp_classify HAS_FP_CLASSIFY /**/
2621 * This symbol, if defined, indicates that the fpclassl routine is
2622 * available to classify long doubles. Available for example in IRIX.
2623 * The returned values are defined in <ieeefp.h> and are:
2625 * FP_SNAN signaling NaN
2627 * FP_NINF negative infinity
2628 * FP_PINF positive infinity
2629 * FP_NDENORM negative denormalized non-zero
2630 * FP_PDENORM positive denormalized non-zero
2631 * FP_NZERO negative zero
2632 * FP_PZERO positive zero
2633 * FP_NNORM negative normalized non-zero
2634 * FP_PNORM positive normalized non-zero
2636 #$d_fpclassl HAS_FPCLASSL /**/
2639 * This symbol, if defined, indicates that the fpgetround routine is
2640 * available to get the floating point rounding mode.
2642 #$d_fpgetround HAS_FPGETROUND /**/
2645 * This symbol will be defined if the C compiler supports fpos64_t.
2647 #$d_fpos64_t HAS_FPOS64_T /**/
2650 * This symbol, if defined, indicates that the frexpl routine is
2651 * available to break a long double floating-point number into
2652 * a normalized fraction and an integral power of 2.
2654 #$d_frexpl HAS_FREXPL /**/
2656 /* HAS_STRUCT_FS_DATA:
2657 * This symbol, if defined, indicates that the struct fs_data
2658 * to do statfs() is supported.
2660 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
2663 * This symbol is defined if the fchmodat() routine is available.
2666 * This symbol is defined if the linkat() routine is available.
2669 * This symbol is defined if the openat() routine is available.
2672 * This symbol is defined if the renameat() routine is available.
2675 * This symbol is defined if the unlinkat() routine is available.
2677 #$d_fchmodat HAS_FCHMODAT /**/
2678 #$d_linkat HAS_LINKAT /**/
2679 #$d_openat HAS_OPENAT /**/
2680 #$d_renameat HAS_RENAMEAT /**/
2681 #$d_unlinkat HAS_UNLINKAT /**/
2684 * This symbol, if defined, indicates that the fseeko routine is
2685 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2687 #$d_fseeko HAS_FSEEKO /**/
2690 * This symbol, if defined, indicates that the fstatfs routine is
2691 * available to stat filesystems by file descriptors.
2693 #$d_fstatfs HAS_FSTATFS /**/
2696 * This symbol, if defined, indicates that the fsync routine is
2697 * available to write a file's modified data and attributes to
2698 * permanent storage.
2700 #$d_fsync HAS_FSYNC /**/
2703 * This symbol, if defined, indicates that the ftello routine is
2704 * available to ftell beyond 32 bits (useful for ILP32 hosts).
2706 #$d_ftello HAS_FTELLO /**/
2709 * This symbol, if defined, indicates that the futimes routine is
2710 * available to change file descriptor time stamps with struct timevals.
2712 #$d_futimes HAS_FUTIMES /**/
2714 /* HAS_GAI_STRERROR:
2715 * This symbol, if defined, indicates that the gai_strerror routine
2716 * is available to translate error codes returned by getaddrinfo()
2717 * into human readable strings.
2719 #$d_gai_strerror HAS_GAI_STRERROR /**/
2722 * This symbol, if defined, indicates that the getaddrinfo() function
2723 * is available for use.
2725 #$d_getaddrinfo HAS_GETADDRINFO /**/
2728 * This symbol, if defined, indicates that the getcwd routine is
2729 * available to get the current working directory.
2731 #$d_getcwd HAS_GETCWD /**/
2734 * This symbol, if defined, indicates that the getespwnam system call is
2735 * available to retrieve enhanced (shadow) password entries by name.
2737 #$d_getespwnam HAS_GETESPWNAM /**/
2740 * This symbol, if defined, indicates that the getfsstat routine is
2741 * available to stat filesystems in bulk.
2743 #$d_getfsstat HAS_GETFSSTAT /**/
2746 * This symbol, if defined, indicates that the getitimer routine is
2747 * available to return interval timers.
2749 #$d_getitimer HAS_GETITIMER /**/
2752 * This symbol, if defined, indicates that the getmnt routine is
2753 * available to get filesystem mount info by filename.
2755 #$d_getmnt HAS_GETMNT /**/
2758 * This symbol, if defined, indicates that the getmntent routine is
2759 * available to iterate through mounted file systems to get their info.
2761 #$d_getmntent HAS_GETMNTENT /**/
2764 * This symbol, if defined, indicates that the getnameinfo() function
2765 * is available for use.
2767 #$d_getnameinfo HAS_GETNAMEINFO /**/
2770 * This symbol, if defined, indicates that the getprpwnam system call is
2771 * available to retrieve protected (shadow) password entries by name.
2773 #$d_getprpwnam HAS_GETPRPWNAM /**/
2776 * This symbol, if defined, indicates that the getspnam system call is
2777 * available to retrieve SysV shadow password entries by name.
2779 #$d_getspnam HAS_GETSPNAM /**/
2782 * This symbol, if defined, indicates that the hasmntopt routine is
2783 * available to query the mount options of file systems.
2785 #$d_hasmntopt HAS_HASMNTOPT /**/
2788 * This symbol, if defined, indicates that the hypot routine is
2789 * available to do the hypotenuse function.
2791 #$d_hypot HAS_HYPOT /**/
2794 * This symbol, if defined, indicates that the ilogb routine is
2795 * available to get integer exponent of a floating-point value.
2797 #$d_ilogb HAS_ILOGB /**/
2800 * This symbol, if defined, indicates that the ilogbl routine is
2801 * available. If scalbnl is also present we can emulate frexpl.
2803 #$d_ilogbl HAS_ILOGBL /**/
2806 * This symbol, if defined, indicates that the inet_ntop() function
2807 * is available to parse IPv4 and IPv6 strings.
2809 #$d_inetntop HAS_INETNTOP /**/
2812 * This symbol, if defined, indicates that the inet_pton() function
2813 * is available to parse IPv4 and IPv6 strings.
2815 #$d_inetpton HAS_INETPTON /**/
2818 * This symbol will defined if the C compiler supports int64_t.
2819 * Usually the <inttypes.h> needs to be included, but sometimes
2820 * <sys/types.h> is enough.
2822 #$d_int64_t HAS_INT64_T /**/
2825 * This manifest constant lets the C program know that isblank
2828 #$d_isblank HAS_ISBLANK /**/
2831 * This symbol, if defined, indicates that the isfinite routine is
2832 * available to check whether a double is finite (non-infinity non-NaN).
2834 #$d_isfinite HAS_ISFINITE /**/
2837 * This symbol, if defined, indicates that the isfinitel routine is
2838 * available to check whether a long double is finite.
2839 * (non-infinity non-NaN).
2841 #$d_isfinitel HAS_ISFINITEL /**/
2844 * This symbol, if defined, indicates that the isinf routine is
2845 * available to check whether a double is an infinity.
2847 #$d_isinf HAS_ISINF /**/
2850 * This symbol, if defined, indicates that the isinfl routine is
2851 * available to check whether a long double is an infinity.
2853 #$d_isinfl HAS_ISINFL /**/
2856 * This symbol, if defined, indicates that the isless routine is
2857 * available to do the isless function.
2859 #$d_isless HAS_ISLESS /**/
2862 * This symbol, if defined, indicates that the isnan routine is
2863 * available to check whether a double is a NaN.
2865 #$d_isnan HAS_ISNAN /**/
2868 * This symbol, if defined, indicates that the isnanl routine is
2869 * available to check whether a long double is a NaN.
2871 #$d_isnanl HAS_ISNANL /**/
2874 * This symbol, if defined, indicates that the isnormal routine is
2875 * available to check whether a double is normal (non-zero normalized).
2877 #$d_isnormal HAS_ISNORMAL /**/
2880 * This symbol, if defined, indicates to the C program that the
2881 * j0() function is available for Bessel functions of the first
2882 * kind of the order zero, for doubles.
2885 * This symbol, if defined, indicates to the C program that the
2886 * j0l() function is available for Bessel functions of the first
2887 * kind of the order zero, for long doubles.
2890 #$d_j0l HAS_J0L /**/
2892 /* HAS_LC_MONETARY_2008:
2893 * This symbol, if defined, indicates that the localeconv routine is
2894 * available and has the additional members added in POSIX 1003.1-2008.
2896 #$d_lc_monetary_2008 HAS_LC_MONETARY_2008 /**/
2899 * This symbol, if defined, indicates that this system's <float.h>
2900 * or <limits.h> defines the symbol LDBL_DIG, which is the number
2901 * of significant digits in a long double precision number. Unlike
2902 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
2904 #$d_ldbl_dig HAS_LDBL_DIG /* */
2907 * This symbol, if defined, indicates that the lgamma routine is
2908 * available to do the log gamma function. See also HAS_TGAMMA and
2911 #$d_lgamma HAS_LGAMMA /**/
2914 * This symbol, if defined, indicates that the lgamma_r routine is
2915 * available to do the log gamma function without using the global
2918 #$d_lgamma_r HAS_LGAMMA_R /**/
2920 /* LIBM_LIB_VERSION:
2921 * This symbol, if defined, indicates that libm exports _LIB_VERSION
2922 * and that math.h defines the enum to manipulate it.
2924 #$d_libm_lib_version LIBM_LIB_VERSION /**/
2927 * This symbol, if defined, indicates that the llrint routine is
2928 * available to return the long long value closest to a double
2929 * (according to the current rounding mode).
2931 #$d_llrint HAS_LLRINT /**/
2934 * This symbol, if defined, indicates that the llrintl routine is
2935 * available to return the long long value closest to a long double
2936 * (according to the current rounding mode).
2938 #$d_llrintl HAS_LLRINTL /**/
2941 * This symbol, if defined, indicates that the llround routine is
2942 * available to return the nearest long long value.
2944 #$d_llround HAS_LLROUND /**/
2947 * This symbol, if defined, indicates that the llroundl routine is
2948 * available to return the nearest long long value away from zero of
2949 * the long double argument value.
2951 #$d_llroundl HAS_LLROUNDL /**/
2954 * This symbol, if defined, indicates that the log1p routine is
2955 * available to do the logarithm of 1 plus argument function.
2957 #$d_log1p HAS_LOG1P /**/
2960 * This symbol, if defined, indicates that the log2 routine is
2961 * available to do the log2 function.
2963 #$d_log2 HAS_LOG2 /**/
2966 * This symbol, if defined, indicates that the logb routine is
2967 * available to do the logb function.
2969 #$d_logb HAS_LOGB /**/
2972 * This symbol, if defined, indicates that the lrint routine is
2973 * available to return the integral value closest to a double
2974 * (according to the current rounding mode).
2976 #$d_lrint HAS_LRINT /**/
2979 * This symbol, if defined, indicates that the lrintl routine is
2980 * available to return the integral value closest to a long double
2981 * (according to the current rounding mode).
2983 #$d_lrintl HAS_LRINTL /**/
2986 * This symbol, if defined, indicates that the lround routine is
2987 * available to return the nearest integral value.
2989 #$d_lround HAS_LROUND /**/
2992 * This symbol, if defined, indicates that the lroundl routine is
2993 * available to return the nearest integral value away from zero of
2994 * the long double argument value.
2996 #$d_lroundl HAS_LROUNDL /**/
2999 * This symbol, if defined, indicates that the madvise system call is
3000 * available to map a file into memory.
3002 #$d_madvise HAS_MADVISE /**/
3005 * This symbol, if defined, indicates that the malloc_size
3006 * routine is available for use.
3008 #$d_malloc_size HAS_MALLOC_SIZE /**/
3010 /* HAS_MALLOC_GOOD_SIZE:
3011 * This symbol, if defined, indicates that the malloc_good_size
3012 * routine is available for use.
3014 #$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3017 * This symbol, if defined, indicates that the memmem routine is
3018 * available to return a pointer to the start of the first occurance
3019 * of a substring in a memory area (or NULL if not found).
3021 #$d_memmem HAS_MEMMEM /**/
3024 * This symbol, if defined, indicates that the memrchr routine is
3025 * available to return a pointer to the last occurrence of a byte in
3026 * a memory area (or NULL if not found).
3028 #$d_memrchr HAS_MEMRCHR /**/
3031 * This symbol, if defined, indicates that the mkdtemp routine is
3032 * available to exclusively create a uniquely named temporary directory.
3034 #$d_mkdtemp HAS_MKDTEMP /**/
3037 * This symbol, if defined, indicates that the mkostemp routine is
3038 * available to exclusively create and open a uniquely named (with a
3039 * suffix) temporary file.
3041 #$d_mkostemp HAS_MKOSTEMP /**/
3044 * This symbol, if defined, indicates that the mkstemps routine is
3045 * available to exclusively create and open a uniquely named
3046 * (with a suffix) temporary file.
3048 #$d_mkstemps HAS_MKSTEMPS /**/
3051 * This symbol, if defined, indicates that the modfl routine is
3052 * available to split a long double x into a fractional part f and
3053 * an integer part i such that |f| < 1.0 and (f + i) = x.
3056 * This symbol, if defined, indicates that the system provides
3057 * a prototype for the modfl() function. Otherwise, it is up
3058 * to the program to supply one.
3060 #$d_modfl HAS_MODFL /**/
3061 #$d_modflproto HAS_MODFL_PROTO /**/
3064 * This symbol, if defined, indicates that the mprotect system call is
3065 * available to modify the access protection of a memory mapped file.
3067 #$d_mprotect HAS_MPROTECT /**/
3069 /* HAS_STRUCT_MSGHDR:
3070 * This symbol, if defined, indicates that the struct msghdr
3073 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3076 * This symbol, if defined, indicates that the nan routine is
3077 * available to generate NaN.
3079 #$d_nan HAS_NAN /**/
3082 * This symbol, if defined, indicates that the nanosleep
3083 * system call is available to sleep with 1E-9 sec accuracy.
3085 #$d_nanosleep HAS_NANOSLEEP /**/
3088 * This symbol, if defined, indicates that the nearbyint routine is
3089 * available to return the integral value closest to (according to
3090 * the current rounding mode) to x.
3092 #$d_nearbyint HAS_NEARBYINT /**/
3095 * This symbol, if defined, indicates that the newlocale routine is
3096 * available to return a new locale object or modify an existing
3100 * This symbol, if defined, indicates that the freelocale routine is
3101 * available to deallocates the resources associated with a locale object.
3104 * This symbol, if defined, indicates that the uselocale routine is
3105 * available to set the current locale for the calling thread.
3108 * This symbol, if defined, indicates that the duplocale routine is
3109 * available to duplicate a locale object.
3112 * This symbol, if defined, indicates that the querylocale routine is
3113 * available to return the name of the locale for a category mask.
3116 * This symbol, if defined, indicates to the C program that it should
3117 * include <xlocale.h> to get uselocale() and its friends.
3119 #$d_newlocale HAS_NEWLOCALE /**/
3120 #$d_freelocale HAS_FREELOCALE /**/
3121 #$d_uselocale HAS_USELOCALE /**/
3122 #$d_duplocale HAS_DUPLOCALE /**/
3123 #$d_querylocale HAS_QUERYLOCALE /**/
3124 #$i_xlocale I_XLOCALE /**/
3127 * This symbol, if defined, indicates that the nextafter routine is
3128 * available to return the next machine representable double from
3131 #$d_nextafter HAS_NEXTAFTER /**/
3134 * This symbol, if defined, indicates that the nexttoward routine is
3135 * available to return the next machine representable long double from
3138 #$d_nexttoward HAS_NEXTTOWARD /**/
3141 * This symbol, if defined, indicates that the nl_langinfo routine is
3142 * available to return local data. You will also need <langinfo.h>
3143 * and therefore I_LANGINFO.
3145 #$d_nl_langinfo HAS_NL_LANGINFO /**/
3148 * This symbol will be defined if the C compiler supports off64_t.
3150 #$d_off64_t HAS_OFF64_T /**/
3153 * This symbol, if defined, indicates that the pipe2 routine is
3154 * available to create an inter-process channel.
3156 #$d_pipe2 HAS_PIPE2 /**/
3159 * This symbol, if defined, indicates that the prctl routine is
3160 * available to set process title.
3161 * Note that there are at least two prctl variants: Linux and Irix.
3162 * While they are somewhat similar, they are incompatible.
3164 /* HAS_PRCTL_SET_NAME:
3165 * This symbol, if defined, indicates that the prctl routine is
3166 * available to set process title and supports PR_SET_NAME.
3168 #$d_prctl HAS_PRCTL /**/
3169 #$d_prctl_set_name HAS_PRCTL_SET_NAME /**/
3172 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3173 * to the absolute pathname of the executing program.
3175 /* PROCSELFEXE_PATH:
3176 * If HAS_PROCSELFEXE is defined this symbol is the filename
3177 * of the symbolic link pointing to the absolute pathname of
3178 * the executing program.
3180 #$d_procselfexe HAS_PROCSELFEXE /**/
3181 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3182 #define PROCSELFEXE_PATH $procselfexe /**/
3185 /* HAS_PTHREAD_ATTR_SETSCOPE:
3186 * This symbol, if defined, indicates that the pthread_attr_setscope
3187 * system call is available to set the contention scope attribute of
3188 * a thread attribute object.
3190 #$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3193 * This symbol will be defined if the C compiler supports ptrdiff_t.
3195 #$d_ptrdiff_t HAS_PTRDIFF_T /**/
3198 * This symbol, if defined, indicates that the readv routine is
3199 * available to do gather reads. You will also need <sys/uio.h>
3200 * and there I_SYSUIO.
3202 #$d_readv HAS_READV /**/
3205 * This symbol, if defined, indicates that the recvmsg routine is
3206 * available to send structured socket messages.
3208 #$d_recvmsg HAS_RECVMSG /**/
3211 * This symbol, if defined, indicates that the remainder routine is
3212 * available to return the floating-point remainder.
3214 #$d_remainder HAS_REMAINDER /**/
3217 * This symbol, if defined, indicates that the remquo routine is
3218 * available to return the remainder and part of quotient.
3220 #$d_remquo HAS_REMQUO /**/
3223 * This symbol, if defined, indicates that the rint routine is
3224 * available to return the nearest integral value to x as double
3225 * using the current rounding mode.
3227 #$d_rint HAS_RINT /**/
3230 * This symbol, if defined, indicates that the round routine is
3231 * available to round to nearest integer, away from zero.
3233 #$d_round HAS_ROUND /**/
3236 * This symbol, if defined, indicates that the system provides
3237 * a prototype for the sbrk() function. Otherwise, it is up
3238 * to the program to supply one. Good guesses are
3239 * extern void* sbrk(int);
3240 * extern void* sbrk(size_t);
3242 #$d_sbrkproto HAS_SBRK_PROTO /**/
3245 * This symbol, if defined, indicates that the scalbn routine is
3246 * available to multiply floating-point number by integral power
3249 #$d_scalbn HAS_SCALBN /**/
3252 * This symbol, if defined, indicates that the scalbnl routine is
3253 * available. If ilogbl is also present we can emulate frexpl.
3255 #$d_scalbnl HAS_SCALBNL /**/
3258 * This symbol, if defined, indicates that the sendmsg routine is
3259 * available to send structured socket messages.
3261 #$d_sendmsg HAS_SENDMSG /**/
3264 * This symbol, if defined, indicates that the setitimer routine is
3265 * available to set interval timers.
3267 #$d_setitimer HAS_SETITIMER /**/
3269 /* HAS_SETPROCTITLE:
3270 * This symbol, if defined, indicates that the setproctitle routine is
3271 * available to set process title.
3273 #$d_setproctitle HAS_SETPROCTITLE /**/
3276 * This symbol, if defined, indicates that the signbit routine is
3277 * available to check if the given number has the sign bit set.
3278 * This should include correct testing of -0.0. This will only be set
3279 * if the signbit() routine is safe to use with the NV type used internally
3280 * in perl. Users should call Perl_signbit(), which will be #defined to
3281 * the system's signbit() function or macro if this symbol is defined.
3283 #$d_signbit HAS_SIGNBIT /**/
3286 * This symbol, if defined, indicates that the sigprocmask
3287 * system call is available to examine or change the signal mask
3288 * of the calling process.
3290 #$d_sigprocmask HAS_SIGPROCMASK /**/
3292 /* USE_SITECUSTOMIZE:
3293 * This symbol, if defined, indicates that sitecustomize should
3296 #ifndef USE_SITECUSTOMIZE
3297 #$usesitecustomize USE_SITECUSTOMIZE /**/
3301 * This symbol, if defined, indicates that the snprintf () library
3302 * function is available for use.
3305 * This symbol, if defined, indicates that the vsnprintf () library
3306 * function is available for use.
3308 #$d_snprintf HAS_SNPRINTF /**/
3309 #$d_vsnprintf HAS_VSNPRINTF /**/
3312 * This symbol, if defined, indicates that the sockatmark routine is
3313 * available to test whether a socket is at the out-of-band mark.
3315 #$d_sockatmark HAS_SOCKATMARK /**/
3317 /* HAS_SOCKATMARK_PROTO:
3318 * This symbol, if defined, indicates that the system provides
3319 * a prototype for the sockatmark() function. Otherwise, it is up
3320 * to the program to supply one. A good guess is
3321 * extern int sockatmark(int);
3323 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3326 * This symbol, if defined, indicates that the socks5_init routine is
3327 * available to initialize SOCKS 5.
3329 #$d_socks5_init HAS_SOCKS5_INIT /**/
3332 * This symbol, if defined, indicates that the sqrtl routine is
3333 * available to do long double square roots.
3335 #$d_sqrtl HAS_SQRTL /**/
3337 /* HAS_SETRESGID_PROTO:
3338 * This symbol, if defined, indicates that the system provides
3339 * a prototype for the setresgid() function. Otherwise, it is up
3340 * to the program to supply one. Good guesses are
3341 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3343 #$d_sresgproto HAS_SETRESGID_PROTO /**/
3345 /* HAS_SETRESUID_PROTO:
3346 * This symbol, if defined, indicates that the system provides
3347 * a prototype for the setresuid() function. Otherwise, it is up
3348 * to the program to supply one. Good guesses are
3349 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3351 #$d_sresuproto HAS_SETRESUID_PROTO /**/
3353 /* HAS_STRUCT_STATFS_F_FLAGS:
3354 * This symbol, if defined, indicates that the struct statfs
3355 * does have the f_flags member containing the mount flags of
3356 * the filesystem containing the file.
3357 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3358 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3359 * have statfs() and struct statfs, they have ustat() and getmnt()
3360 * with struct ustat and struct fs_data.
3362 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
3364 /* HAS_STRUCT_STATFS:
3365 * This symbol, if defined, indicates that the struct statfs
3366 * to do statfs() is supported.
3368 #$d_statfs_s HAS_STRUCT_STATFS /**/
3371 * This symbol, if defined, indicates that the fstatvfs routine is
3372 * available to stat filesystems by file descriptors.
3374 #$d_fstatvfs HAS_FSTATVFS /**/
3377 * This symbol, if defined, indicates that the strerror_l routine is
3378 * available to return the error message for a given errno value in
3379 * a particular locale (identified by a locale_t object).
3381 #$d_strerror_l HAS_STRERROR_L /**/
3384 * This symbol, if defined, indicates that the strftime routine is
3385 * available to do time formatting.
3387 #$d_strftime HAS_STRFTIME /**/
3390 * This symbol, if defined, indicates that the strlcat () routine is
3391 * available to do string concatenation.
3393 #$d_strlcat HAS_STRLCAT /**/
3396 * This symbol, if defined, indicates that the strlcpy () routine is
3397 * available to do string copying.
3399 #$d_strlcpy HAS_STRLCPY /**/
3402 * This symbol, if defined, indicates that the strnlen () routine is
3403 * available to check the length of a string up to a maximum.
3405 #$d_strnlen HAS_STRNLEN /**/
3408 * This symbol, if defined, indicates that the strtold routine is
3409 * available to convert strings to long doubles.
3411 #$d_strtold HAS_STRTOLD /**/
3414 * This symbol, if defined, indicates that the strtoll routine is
3415 * available to convert strings to long longs.
3417 #$d_strtoll HAS_STRTOLL /**/
3420 * This symbol, if defined, indicates that the strtoq routine is
3421 * available to convert strings to long longs (quads).
3423 #$d_strtoq HAS_STRTOQ /**/
3426 * This symbol, if defined, indicates that the strtoull routine is
3427 * available to convert strings to unsigned long longs.
3429 #$d_strtoull HAS_STRTOULL /**/
3432 * This symbol, if defined, indicates that the strtouq routine is
3433 * available to convert strings to unsigned long longs (quads).
3435 #$d_strtouq HAS_STRTOUQ /**/
3437 /* HAS_SYSCALL_PROTO:
3438 * This symbol, if defined, indicates that the system provides
3439 * a prototype for the syscall() function. Otherwise, it is up
3440 * to the program to supply one. Good guesses are
3441 * extern int syscall(int, ...);
3442 * extern int syscall(long, ...);
3444 #$d_syscallproto HAS_SYSCALL_PROTO /**/
3446 /* HAS_TELLDIR_PROTO:
3447 * This symbol, if defined, indicates that the system provides
3448 * a prototype for the telldir() function. Otherwise, it is up
3449 * to the program to supply one. A good guess is
3450 * extern long telldir(DIR*);
3452 #$d_telldirproto HAS_TELLDIR_PROTO /**/
3455 * This symbol, if defined, indicates that the tgamma routine is
3456 * available to do the gamma function. See also HAS_LGAMMA.
3458 #$d_tgamma HAS_TGAMMA /**/
3461 * This symbol, if defined, indicates that the ctime64 () routine is
3462 * available to do the 64bit variant of ctime ()
3465 * This symbol, if defined, indicates that the localtime64 () routine is
3466 * available to do the 64bit variant of localtime ()
3469 * This symbol, if defined, indicates that the gmtime64 () routine is
3470 * available to do the 64bit variant of gmtime ()
3473 * This symbol, if defined, indicates that the mktime64 () routine is
3474 * available to do the 64bit variant of mktime ()
3477 * This symbol, if defined, indicates that the difftime64 () routine is
3478 * available to do the 64bit variant of difftime ()
3481 * This symbol, if defined, indicates that the asctime64 () routine is
3482 * available to do the 64bit variant of asctime ()
3484 #$d_ctime64 HAS_CTIME64 /**/
3485 #$d_localtime64 HAS_LOCALTIME64 /**/
3486 #$d_gmtime64 HAS_GMTIME64 /**/
3487 #$d_mktime64 HAS_MKTIME64 /**/
3488 #$d_difftime64 HAS_DIFFTIME64 /**/
3489 #$d_asctime64 HAS_ASCTIME64 /**/
3492 * This symbol, if defined, indicates that the timegm routine is
3493 * available to do the opposite of gmtime ()
3495 #$d_timegm HAS_TIMEGM /**/
3498 * This symbol, if defined, indicates that the trunc routine is
3499 * available to round doubles towards zero.
3501 #$d_trunc HAS_TRUNC /**/
3504 * This symbol, if defined, indicates that the truncl routine is
3505 * available. If copysignl is also present we can emulate modfl.
3507 #$d_truncl HAS_TRUNCL /**/
3509 /* U32_ALIGNMENT_REQUIRED:
3510 * This symbol, if defined, indicates that you must access
3511 * character data through U32-aligned pointers.
3513 #ifndef U32_ALIGNMENT_REQUIRED
3514 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
3518 * This symbol, if defined, indicates that the ualarm routine is
3519 * available to do alarms with microsecond granularity.
3521 #$d_ualarm HAS_UALARM /**/
3524 * This symbol, if defined, indicates that the unordered routine is
3525 * available to check whether two doubles are unordered
3526 * (effectively: whether either of them is NaN)
3528 #$d_unordered HAS_UNORDERED /**/
3531 * This symbol, if defined, indicates that the unsetenv () routine is
3532 * available for use.
3534 #$d_unsetenv HAS_UNSETENV /**/
3536 /* HAS_USLEEP_PROTO:
3537 * This symbol, if defined, indicates that the system provides
3538 * a prototype for the usleep() function. Otherwise, it is up
3539 * to the program to supply one. A good guess is
3540 * extern int usleep(useconds_t);
3542 #$d_usleepproto HAS_USLEEP_PROTO /**/
3545 * This symbol, if defined, indicates that the ustat system call is
3546 * available to query file system statistics by dev_t.
3548 #$d_ustat HAS_USTAT /**/
3551 * This symbol, if defined, indicates that the wcscmp routine is
3552 * available to compare two wide character strings.
3554 #$d_wcscmp HAS_WCSCMP /**/
3557 * This symbol, if defined, indicates that the wcsxfrm routine is
3558 * available to tranform a wide character string for wcscmp().
3560 #$d_wcsxfrm HAS_WCSXFRM /**/
3563 * This symbol, if defined, indicates that the writev routine is
3564 * available to do scatter writes.
3566 #$d_writev HAS_WRITEV /**/
3568 /* DEFAULT_INC_EXCLUDES_DOT:
3569 * This symbol, if defined, removes the legacy default behavior of
3570 * including '.' at the end of @INC.
3572 #$default_inc_excludes_dot DEFAULT_INC_EXCLUDES_DOT /**/
3574 /* USE_DYNAMIC_LOADING:
3575 * This symbol, if defined, indicates that dynamic loading of
3576 * some sort is available.
3578 #$usedl USE_DYNAMIC_LOADING /**/
3581 * This symbol, if defined, tells that fflush(NULL) correctly
3582 * flushes all pending stdio output without side effects. In
3583 * particular, on some platforms calling fflush(NULL) *still*
3584 * corrupts STDIN if it is a pipe.
3587 * This symbol, if defined, tells that to flush
3588 * all pending stdio output one must loop through all
3589 * the stdio file handles stored in an array and fflush them.
3590 * Note that if fflushNULL is defined, fflushall will not
3591 * even be probed for and will be left undefined.
3593 #$fflushNULL FFLUSH_NULL /**/
3594 #$fflushall FFLUSH_ALL /**/
3597 * This symbol, if defined, indicates that <bfd.h> exists and
3603 * This symbol, if defined, indicates that <crypt.h> exists and
3604 * should be included.
3606 #$i_crypt I_CRYPT /**/
3609 * This symbol contains the type of the prefix structure element
3610 * in the <db.h> header file. In older versions of DB, it was
3611 * int, while in newer ones it is u_int32_t.
3614 * This symbol contains the type of the prefix structure element
3615 * in the <db.h> header file. In older versions of DB, it was
3616 * int, while in newer ones it is size_t.
3618 /* DB_VERSION_MAJOR_CFG:
3619 * This symbol, if defined, defines the major version number of
3620 * Berkeley DB found in the <db.h> header when Perl was configured.
3622 /* DB_VERSION_MINOR_CFG:
3623 * This symbol, if defined, defines the minor version number of
3624 * Berkeley DB found in the <db.h> header when Perl was configured.
3625 * For DB version 1 this is always 0.
3627 /* DB_VERSION_PATCH_CFG:
3628 * This symbol, if defined, defines the patch version number of
3629 * Berkeley DB found in the <db.h> header when Perl was configured.
3630 * For DB version 1 this is always 0.
3632 #define DB_Hash_t $db_hashtype /**/
3633 #define DB_Prefix_t $db_prefixtype /**/
3634 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
3635 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
3636 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
3639 * This symbol, if defined, indicates to the C program that it should
3640 * include <fenv.h> to get the floating point environment definitions.
3642 #$i_fenv I_FENV /**/
3645 * This symbol, if defined, indicates that <fp.h> exists and
3646 * should be included.
3651 * This symbol, if defined, indicates that <fp_class.h> exists and
3652 * should be included.
3654 #$i_fp_class I_FP_CLASS /**/
3657 * This symbol, if defined, indicates that <ieeefp.h> exists and
3658 * should be included.
3660 #$i_ieeefp I_IEEEFP /**/
3663 * This symbol, if defined, indicates to the C program that it should
3664 * include <inttypes.h>.
3666 #$i_inttypes I_INTTYPES /**/
3669 * This symbol, if defined, indicates that <langinfo.h> exists and
3670 * should be included.
3672 #$i_langinfo I_LANGINFO /**/
3675 * This symbol, if defined, indicates that <libutil.h> exists and
3676 * should be included.
3678 #$i_libutil I_LIBUTIL /**/
3681 * This symbol, if defined, indicates to the C program that it should
3682 * include <malloc/malloc.h>.
3684 #$i_mallocmalloc I_MALLOCMALLOC /**/
3687 * This symbol, if defined, indicates that <mntent.h> exists and
3688 * should be included.
3690 #$i_mntent I_MNTENT /**/
3693 * This symbol, if defined, indicates to the C program that it should
3694 * include <netinet/tcp.h>.
3696 #$i_netinettcp I_NETINET_TCP /**/
3699 * This symbol, if defined, indicates that <poll.h> exists and
3700 * should be included. (see also HAS_POLL)
3702 #$i_poll I_POLL /**/
3705 * This symbol, if defined, indicates that <prot.h> exists and
3706 * should be included.
3708 #$i_prot I_PROT /**/
3711 * This symbol, if defined, indicates that <quadmath.h> exists and
3712 * should be included.
3714 #$i_quadmath I_QUADMATH /**/
3717 * This symbol, if defined, indicates that <shadow.h> exists and
3718 * should be included.
3720 #$i_shadow I_SHADOW /**/
3723 * This symbol, if defined, indicates that <socks.h> exists and
3724 * should be included.
3726 #$i_socks I_SOCKS /**/
3729 * This symbol, if defined, indicates that <stdbool.h> exists and
3732 #$i_stdbool I_STDBOOL /**/
3735 * This symbol, if defined, indicates that <stdint.h> exists and
3736 * should be included.
3738 #$i_stdint I_STDINT /**/
3741 * This symbol, if defined, indicates that <sunmath.h> exists and
3742 * should be included.
3744 #$i_sunmath I_SUNMATH /**/
3747 * This symbol, if defined, indicates that <syslog.h> exists and
3748 * should be included.
3750 #$i_syslog I_SYSLOG /**/
3753 * This symbol, if defined, indicates that <sys/mode.h> exists and
3754 * should be included.
3756 #$i_sysmode I_SYSMODE /**/
3759 * This symbol, if defined, indicates that <sys/mount.h> exists and
3760 * should be included.
3762 #$i_sysmount I_SYS_MOUNT /**/
3765 * This symbol, if defined, indicates that <sys/statfs.h> exists.
3767 #$i_sysstatfs I_SYS_STATFS /**/
3770 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
3771 * should be included.
3773 #$i_sysstatvfs I_SYS_STATVFS /**/
3776 * This symbol, if defined, indicates that <sys/utsname.h> exists and
3777 * should be included.
3779 #$i_sysutsname I_SYSUTSNAME /**/
3782 * This symbol, if defined, indicates that <sys/vfs.h> exists and
3783 * should be included.
3785 #$i_sysvfs I_SYS_VFS /**/
3788 * This symbol, if defined, indicates that <ustat.h> exists and
3789 * should be included.
3791 #$i_ustat I_USTAT /**/
3794 * This symbol, if defined, indicates to the C program that <wchar.h>
3795 * is available for inclusion
3797 #$i_wchar I_WCHAR /**/
3800 * This symbol, if defined, is a comma-separated list of
3801 * hexadecimal bytes for the double precision infinity.
3804 * This symbol, if defined, is a comma-separated list of
3805 * hexadecimal bytes (0xHH) for the double precision not-a-number.
3808 * This symbol, if defined, is a comma-separated list of
3809 * hexadecimal bytes for the long double precision infinity.
3812 * This symbol, if defined, is a comma-separated list of
3813 * hexadecimal bytes (0xHH) for the long double precision not-a-number.
3815 #define DOUBLEINFBYTES $doubleinfbytes /**/
3816 #define DOUBLENANBYTES $doublenanbytes /**/
3817 #define LONGDBLINFBYTES $longdblinfbytes /**/
3818 #define LONGDBLNANBYTES $longdblnanbytes /**/
3821 * This symbol, if defined, contains the string used by stdio to
3822 * format long doubles (format 'f') for output.
3825 * This symbol, if defined, contains the string used by stdio to
3826 * format long doubles (format 'g') for output.
3829 * This symbol, if defined, contains the string used by stdio to
3830 * format long doubles (format 'e') for output.
3833 * This symbol, if defined, contains the string used by stdio to
3834 * format long doubles (format 'f') for input.
3837 * DOUBLEKIND will be one of
3838 * DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN
3839 * DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN
3840 * DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN
3841 * DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN
3842 * DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
3843 * DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
3844 * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE
3845 * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE
3846 * DOUBLE_IS_VAX_F_FLOAT
3847 * DOUBLE_IS_VAX_D_FLOAT
3848 * DOUBLE_IS_VAX_G_FLOAT
3849 * DOUBLE_IS_IBM_SINGLE_32_BIT
3850 * DOUBLE_IS_IBM_DOUBLE_64_BIT
3851 * DOUBLE_IS_CRAY_SINGLE_64_BIT
3852 * DOUBLE_IS_UNKNOWN_FORMAT
3855 * This symbol, if defined, indicates that the double has
3859 * This symbol, if defined, indicates that the double has
3862 /* DOUBLE_HAS_NEGATIVE_ZERO:
3863 * This symbol, if defined, indicates that the double has
3864 * the negative_zero.
3866 /* DOUBLE_HAS_SUBNORMALS:
3867 * This symbol, if defined, indicates that the double has
3868 * the subnormals (denormals).
3870 /* DOUBLE_STYLE_CRAY:
3871 * This symbol, if defined, indicates that the double is
3872 * the 64-bit CRAY mainframe format.
3874 /* DOUBLE_STYLE_IBM:
3875 * This symbol, if defined, indicates that the double is
3876 * the 64-bit IBM mainframe format.
3878 /* DOUBLE_STYLE_IEEE:
3879 * This symbol, if defined, indicates that the double is
3880 * the 64-bit IEEE 754.
3882 /* DOUBLE_STYLE_VAX:
3883 * This symbol, if defined, indicates that the double is
3884 * the 64-bit VAX format D or G.
3886 #define DOUBLEKIND $doublekind /**/
3887 #define DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN 1
3888 #define DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN 2
3889 #define DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN 3
3890 #define DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN 4
3891 #define DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 5
3892 #define DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 6
3893 #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE 7
3894 #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE 8
3895 #define DOUBLE_IS_VAX_F_FLOAT 9
3896 #define DOUBLE_IS_VAX_D_FLOAT 10
3897 #define DOUBLE_IS_VAX_G_FLOAT 11
3898 #define DOUBLE_IS_IBM_SINGLE_32_BIT 12
3899 #define DOUBLE_IS_IBM_DOUBLE_64_BIT 13
3900 #define DOUBLE_IS_CRAY_SINGLE_64_BIT 14
3901 #define DOUBLE_IS_UNKNOWN_FORMAT -1
3902 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
3903 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
3904 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
3905 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
3906 #$d_double_has_inf DOUBLE_HAS_INF
3907 #$d_double_has_nan DOUBLE_HAS_NAN
3908 #$d_double_has_negative_zero DOUBLE_HAS_NEGATIVE_ZERO
3909 #$d_double_has_subnormals DOUBLE_HAS_SUBNORMALS
3910 #$d_double_style_cray DOUBLE_STYLE_CRAY
3911 #$d_double_style_ibm DOUBLE_STYLE_IBM
3912 #$d_double_style_ieee DOUBLE_STYLE_IEEE
3913 #$d_double_style_vax DOUBLE_STYLE_VAX
3916 * This symbol, if defined, tells how many mantissa bits
3917 * there are in double precision floating point format.
3918 * Note that this is usually DBL_MANT_DIG minus one, since
3919 * with the standard IEEE 754 formats DBL_MANT_DIG includes
3920 * the implicit bit, which doesn't really exist.
3923 * This symbol, if defined, tells how many mantissa bits
3924 * there are in long double precision floating point format.
3925 * Note that this can be LDBL_MANT_DIG minus one,
3926 * since LDBL_MANT_DIG can include the IEEE 754 implicit bit.
3927 * The common x86-style 80-bit long double does not have
3931 * This symbol, if defined, tells how many mantissa bits
3932 * (not including implicit bit) there are in a Perl NV.
3933 * This depends on which floating point type was chosen.
3935 #define DOUBLEMANTBITS $doublemantbits
3936 #define LONGDBLMANTBITS $longdblmantbits
3937 #define NVMANTBITS $nvmantbits
3940 * This symbol, if defined, indicates that the system stores
3941 * the variable argument list datatype, va_list, in a format
3942 * that cannot be copied by simple assignment, so that some
3943 * other means must be used when copying is required.
3944 * As such systems vary in their provision (or non-provision)
3945 * of copying mechanisms, handy.h defines a platform-
3946 * independent macro, Perl_va_copy(src, dst), to do the job.
3948 #$need_va_copy NEED_VA_COPY /**/
3951 * This symbol defines the C type used for Perl's IV.
3954 * This symbol defines the C type used for Perl's UV.
3957 * This symbol defines the C type used for Perl's I8.
3960 * This symbol defines the C type used for Perl's U8.
3963 * This symbol defines the C type used for Perl's I16.
3966 * This symbol defines the C type used for Perl's U16.
3969 * This symbol defines the C type used for Perl's I32.
3972 * This symbol defines the C type used for Perl's U32.
3975 * This symbol defines the C type used for Perl's I64.
3978 * This symbol defines the C type used for Perl's U64.
3981 * This symbol defines the C type used for Perl's NV.
3984 * This symbol contains the sizeof(IV).
3987 * This symbol contains the sizeof(UV).
3990 * This symbol contains the sizeof(I8).
3993 * This symbol contains the sizeof(U8).
3996 * This symbol contains the sizeof(I16).
3999 * This symbol contains the sizeof(U16).
4002 * This symbol contains the sizeof(I32).
4005 * This symbol contains the sizeof(U32).
4008 * This symbol contains the sizeof(I64).
4011 * This symbol contains the sizeof(U64).
4014 * This symbol contains the sizeof(NV).
4015 * Note that some floating point formats have unused bytes.
4016 * The most notable example is the x86* 80-bit extended precision
4017 * which comes in byte sizes of 12 and 16 (for 32 and 64 bit
4018 * platforms, respectively), but which only uses 10 bytes.
4019 * Perl compiled with -Duselongdouble on x86* is like this.
4022 * This symbol, if defined, indicates that a variable of type NVTYPE
4023 * can preserve all the bits of a variable of type UVTYPE.
4025 /* NV_PRESERVES_UV_BITS:
4026 * This symbol contains the number of bits a variable of type NVTYPE
4027 * can preserve of a variable of type UVTYPE.
4029 /* NV_OVERFLOWS_INTEGERS_AT:
4030 * This symbol gives the largest integer value that NVs can hold. This
4031 * value + 1.0 cannot be stored accurately. It is expressed as constant
4032 * floating point expression to reduce the chance of decimal/binary
4033 * conversion issues. If it can not be determined, the value 0 is given.
4035 /* NV_ZERO_IS_ALLBITS_ZERO:
4036 * This symbol, if defined, indicates that a variable of type NVTYPE
4037 * stores 0.0 in memory as all bits zero.
4039 #define IVTYPE $ivtype /**/
4040 #define UVTYPE $uvtype /**/
4041 #define I8TYPE $i8type /**/
4042 #define U8TYPE $u8type /**/
4043 #define I16TYPE $i16type /**/
4044 #define U16TYPE $u16type /**/
4045 #define I32TYPE $i32type /**/
4046 #define U32TYPE $u32type /**/
4048 #define I64TYPE $i64type /**/
4049 #define U64TYPE $u64type /**/
4051 #define NVTYPE $nvtype /**/
4052 #define IVSIZE $ivsize /**/
4053 #define UVSIZE $uvsize /**/
4054 #define I8SIZE $i8size /**/
4055 #define U8SIZE $u8size /**/
4056 #define I16SIZE $i16size /**/
4057 #define U16SIZE $u16size /**/
4058 #define I32SIZE $i32size /**/
4059 #define U32SIZE $u32size /**/
4061 #define I64SIZE $i64size /**/
4062 #define U64SIZE $u64size /**/
4064 #define NVSIZE $nvsize /**/
4065 #$d_nv_preserves_uv NV_PRESERVES_UV
4066 #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4067 #define NV_OVERFLOWS_INTEGERS_AT ($nv_overflows_integers_at)
4068 #$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4071 # if BYTEORDER == 0x1234
4073 # define BYTEORDER 0x12345678
4075 # if BYTEORDER == 0x4321
4077 # define BYTEORDER 0x87654321
4084 * This symbol defines the format string used for printing a Perl IV
4085 * as a signed decimal integer.
4088 * This symbol defines the format string used for printing a Perl UV
4089 * as an unsigned decimal integer.
4092 * This symbol defines the format string used for printing a Perl UV
4093 * as an unsigned octal integer.
4096 * This symbol defines the format string used for printing a Perl UV
4097 * as an unsigned hexadecimal integer in lowercase abcdef.
4100 * This symbol defines the format string used for printing a Perl UV
4101 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4104 * This symbol defines the format string used for printing a Perl NV
4105 * using %e-ish floating point format.
4108 * This symbol defines the format string used for printing a Perl NV
4109 * using %f-ish floating point format.
4112 * This symbol defines the format string used for printing a Perl NV
4113 * using %g-ish floating point format.
4115 #define IVdf $ivdformat /**/
4116 #define UVuf $uvuformat /**/
4117 #define UVof $uvoformat /**/
4118 #define UVxf $uvxformat /**/
4119 #define UVXf $uvXUformat /**/
4120 #define NVef $nveformat /**/
4121 #define NVff $nvfformat /**/
4122 #define NVgf $nvgformat /**/
4125 * This symbol holds the minimum number of bits operated by select.
4126 * That is, if you do select(n, ...), how many bits at least will be
4127 * cleared in the masks if some activity is detected. Usually this
4128 * is either n or 32*ceil(n/32), especially many little-endians do
4129 * the latter. This is only useful if you have select(), naturally.
4131 #define SELECT_MIN_BITS $selectminbits /**/
4134 * This variable contains the size of struct stat's st_ino in bytes.
4137 * This symbol holds the signedness of struct stat's st_ino.
4138 * 1 for unsigned, -1 for signed.
4140 #define ST_INO_SIGN $st_ino_sign /* st_ino sign */
4141 #define ST_INO_SIZE $st_ino_size /* st_ino size */
4144 * This variable contains the string to put in front of a perl
4145 * script to make sure (one hopes) that it runs with perl and not
4148 #define STARTPERL "$startperl" /**/
4150 /* HAS_STDIO_STREAM_ARRAY:
4151 * This symbol, if defined, tells that there is an array
4152 * holding the stdio streams.
4154 /* STDIO_STREAM_ARRAY:
4155 * This symbol tells the name of the array holding the stdio streams.
4156 * Usual values include _iob, __iob, and __sF.
4158 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4159 #ifdef HAS_STDIO_STREAM_ARRAY
4160 #define STDIO_STREAM_ARRAY $stdio_stream_array
4164 * This symbol contains the maximum value for the time_t offset that
4165 * the system function gmtime () accepts, and defaults to 0
4168 * This symbol contains the minimum value for the time_t offset that
4169 * the system function gmtime () accepts, and defaults to 0
4172 * This symbol contains the maximum value for the time_t offset that
4173 * the system function localtime () accepts, and defaults to 0
4176 * This symbol contains the minimum value for the time_t offset that
4177 * the system function localtime () accepts, and defaults to 0
4179 #define GMTIME_MAX $sGMTIME_max /**/
4180 #define GMTIME_MIN $sGMTIME_min /**/
4181 #define LOCALTIME_MAX $sLOCALTIME_max /**/
4182 #define LOCALTIME_MIN $sLOCALTIME_min /**/
4185 * This symbol, if defined, indicates that 64-bit integers should
4186 * be used when available. If not defined, the native integers
4187 * will be employed (be they 32 or 64 bits). The minimal possible
4188 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4189 * This may mean using for example "long longs", while your memory
4190 * may still be limited to 2 gigabytes.
4193 * This symbol, if defined, indicates that 64-bit integers should
4194 * be used when available. If not defined, the native integers
4195 * will be used (be they 32 or 64 bits). The maximal possible
4196 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4197 * be able to use more than 2 gigabytes of memory. This mode is
4198 * even more binary incompatible than USE_64_BIT_INT. You may not
4199 * be able to run the resulting executable in a 32-bit CPU at all or
4200 * you may need at least to reboot your OS to 64-bit mode.
4202 #ifndef USE_64_BIT_INT
4203 #$use64bitint USE_64_BIT_INT /**/
4205 #ifndef USE_64_BIT_ALL
4206 #$use64bitall USE_64_BIT_ALL /**/
4210 * This symbol, if defined, indicates that Perl should
4211 * be built with support for backtrace.
4213 #$usecbacktrace USE_CBACKTRACE /**/
4216 * This symbol, if defined, indicates that Perl should
4217 * be built with support for DTrace.
4219 #$usedtrace USE_DTRACE /**/
4222 * This symbol, if defined, indicates that Perl should
4223 * be built to use 'fast stdio'.
4224 * Defaults to define in Perls 5.8 and earlier, to undef later.
4226 #ifndef USE_FAST_STDIO
4227 #$usefaststdio USE_FAST_STDIO /**/
4230 /* USE_KERN_PROC_PATHNAME:
4231 * This symbol, if defined, indicates that we can use sysctl with
4232 * KERN_PROC_PATHNAME to get a full path for the executable, and hence
4233 * convert $^X to an absolute path.
4235 #$usekernprocpathname USE_KERN_PROC_PATHNAME /**/
4238 * This symbol, if defined, indicates that large file support
4239 * should be used when available.
4241 #ifndef USE_LARGE_FILES
4242 #$uselargefiles USE_LARGE_FILES /**/
4246 * This symbol, if defined, indicates that long doubles should
4247 * be used when available.
4249 #ifndef USE_LONG_DOUBLE
4250 #$uselongdouble USE_LONG_DOUBLE /**/
4254 * This symbol, if defined, indicates that 64-bit interfaces and
4255 * long doubles should be used when available.
4257 #ifndef USE_MORE_BITS
4258 #$usemorebits USE_MORE_BITS /**/
4262 * This symbol, if defined, indicates that Perl should
4263 * be built to use multiplicity.
4265 #ifndef MULTIPLICITY
4266 #$usemultiplicity MULTIPLICITY /**/
4269 /* USE_NSGETEXECUTABLEPATH:
4270 * This symbol, if defined, indicates that we can use _NSGetExecutablePath
4271 * and realpath to get a full path for the executable, and hence convert
4272 * $^X to an absolute path.
4274 #$usensgetexecutablepath USE_NSGETEXECUTABLEPATH /**/
4277 * This symbol, if defined, indicates that the PerlIO abstraction should
4278 * be used throughout. If not defined, stdio should be
4279 * used in a fully backward compatible manner.
4282 #$useperlio USE_PERLIO /**/
4286 * This symbol, if defined, indicates that the quadmath library should
4287 * be used when available.
4289 #ifndef USE_QUADMATH
4290 #$usequadmath USE_QUADMATH /**/
4294 * This symbol, if defined, indicates that Perl should
4295 * be built to use socks.
4298 #$usesocks USE_SOCKS /**/
4301 /* HAS_DRAND48_PROTO:
4302 * This symbol, if defined, indicates that the system provides
4303 * a prototype for the drand48() function. Otherwise, it is up
4304 * to the program to supply one. A good guess is
4305 * extern double drand48(void);
4307 #$d_drand48proto HAS_DRAND48_PROTO /**/
4309 /* HAS_GETHOST_PROTOS:
4310 * This symbol, if defined, indicates that <netdb.h> includes
4311 * prototypes for gethostent(), gethostbyname(), and
4312 * gethostbyaddr(). Otherwise, it is up to the program to guess
4313 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4315 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
4317 /* HAS_GETNET_PROTOS:
4318 * This symbol, if defined, indicates that <netdb.h> includes
4319 * prototypes for getnetent(), getnetbyname(), and
4320 * getnetbyaddr(). Otherwise, it is up to the program to guess
4321 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4323 #$d_getnetprotos HAS_GETNET_PROTOS /**/
4325 /* HAS_GETPROTO_PROTOS:
4326 * This symbol, if defined, indicates that <netdb.h> includes
4327 * prototypes for getprotoent(), getprotobyname(), and
4328 * getprotobyaddr(). Otherwise, it is up to the program to guess
4329 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4331 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
4333 /* HAS_GETSERV_PROTOS:
4334 * This symbol, if defined, indicates that <netdb.h> includes
4335 * prototypes for getservent(), getservbyname(), and
4336 * getservbyaddr(). Otherwise, it is up to the program to guess
4337 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4339 #$d_getservprotos HAS_GETSERV_PROTOS /**/
4342 * This symbol, if defined, indicates that the system provides
4343 * a prototype for the lseek() function. Otherwise, it is up
4344 * to the program to supply one. A good guess is
4345 * extern off_t lseek(int, off_t, int);
4347 #$d_lseekproto HAS_LSEEK_PROTO /**/
4350 * This symbol holds the type used for the 1st argument
4351 * to gethostbyaddr().
4354 * This symbol holds the type used for the 2nd argument
4355 * to gethostbyaddr().
4358 * This symbol holds the type used for the argument to
4362 * This symbol holds the type used for the 1st argument to
4365 #define Netdb_host_t $netdb_host_type /**/
4366 #define Netdb_hlen_t $netdb_hlen_type /**/
4367 #define Netdb_name_t $netdb_name_type /**/
4368 #define Netdb_net_t $netdb_net_type /**/
4371 * This symbol holds the type used for the 2nd, 3rd, and 4th
4372 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
4373 * is defined, and 'int *' otherwise. This is only useful if you
4374 * have select(), of course.
4376 #define Select_fd_set_t $selecttype /**/
4379 * This symbol holds the type used for the size argument of
4380 * various socket calls (just the base type, not the pointer-to).
4382 #define Sock_size_t $socksizetype /**/
4385 * This symbol holds a string representing the architecture name.
4386 * It may be used to construct an architecture-dependant pathname
4387 * where library files may be held under a private library, for
4390 #define ARCHNAME "$archname" /**/
4393 * This symbol, if defined, indicates that the asctime_r routine
4394 * is available to asctime re-entrantly.
4397 * This symbol encodes the prototype of asctime_r.
4398 * It is zero if d_asctime_r is undef, and one of the
4399 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
4402 #$d_asctime_r HAS_ASCTIME_R /**/
4403 #define ASCTIME_R_PROTO $asctime_r_proto /**/
4406 * This symbol, if defined, indicates that the crypt_r routine
4407 * is available to crypt re-entrantly.
4410 * This symbol encodes the prototype of crypt_r.
4411 * It is zero if d_crypt_r is undef, and one of the
4412 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
4415 #$d_crypt_r HAS_CRYPT_R /**/
4416 #define CRYPT_R_PROTO $crypt_r_proto /**/
4419 * This symbol, if defined, indicates that the ctermid_r routine
4420 * is available to ctermid re-entrantly.
4423 * This symbol encodes the prototype of ctermid_r.
4424 * It is zero if d_ctermid_r is undef, and one of the
4425 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
4428 #$d_ctermid_r HAS_CTERMID_R /**/
4429 #define CTERMID_R_PROTO $ctermid_r_proto /**/
4432 * This symbol, if defined, indicates that the ctime_r routine
4433 * is available to ctime re-entrantly.
4436 * This symbol encodes the prototype of ctime_r.
4437 * It is zero if d_ctime_r is undef, and one of the
4438 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
4441 #$d_ctime_r HAS_CTIME_R /**/
4442 #define CTIME_R_PROTO $ctime_r_proto /**/
4445 * This symbol, if defined, indicates that the drand48_r routine
4446 * is available to drand48 re-entrantly.
4449 * This symbol encodes the prototype of drand48_r.
4450 * It is zero if d_drand48_r is undef, and one of the
4451 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
4454 #$d_drand48_r HAS_DRAND48_R /**/
4455 #define DRAND48_R_PROTO $drand48_r_proto /**/
4458 * This symbol, if defined, indicates that the endgrent_r routine
4459 * is available to endgrent re-entrantly.
4461 /* ENDGRENT_R_PROTO:
4462 * This symbol encodes the prototype of endgrent_r.
4463 * It is zero if d_endgrent_r is undef, and one of the
4464 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
4467 #$d_endgrent_r HAS_ENDGRENT_R /**/
4468 #define ENDGRENT_R_PROTO $endgrent_r_proto /**/
4470 /* HAS_ENDHOSTENT_R:
4471 * This symbol, if defined, indicates that the endhostent_r routine
4472 * is available to endhostent re-entrantly.
4474 /* ENDHOSTENT_R_PROTO:
4475 * This symbol encodes the prototype of endhostent_r.
4476 * It is zero if d_endhostent_r is undef, and one of the
4477 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
4480 #$d_endhostent_r HAS_ENDHOSTENT_R /**/
4481 #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
4484 * This symbol, if defined, indicates that the endnetent_r routine
4485 * is available to endnetent re-entrantly.
4487 /* ENDNETENT_R_PROTO:
4488 * This symbol encodes the prototype of endnetent_r.
4489 * It is zero if d_endnetent_r is undef, and one of the
4490 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
4493 #$d_endnetent_r HAS_ENDNETENT_R /**/
4494 #define ENDNETENT_R_PROTO $endnetent_r_proto /**/
4496 /* HAS_ENDPROTOENT_R:
4497 * This symbol, if defined, indicates that the endprotoent_r routine
4498 * is available to endprotoent re-entrantly.
4500 /* ENDPROTOENT_R_PROTO:
4501 * This symbol encodes the prototype of endprotoent_r.
4502 * It is zero if d_endprotoent_r is undef, and one of the
4503 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
4506 #$d_endprotoent_r HAS_ENDPROTOENT_R /**/
4507 #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
4510 * This symbol, if defined, indicates that the endpwent_r routine
4511 * is available to endpwent re-entrantly.
4513 /* ENDPWENT_R_PROTO:
4514 * This symbol encodes the prototype of endpwent_r.
4515 * It is zero if d_endpwent_r is undef, and one of the
4516 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
4519 #$d_endpwent_r HAS_ENDPWENT_R /**/
4520 #define ENDPWENT_R_PROTO $endpwent_r_proto /**/
4522 /* HAS_ENDSERVENT_R:
4523 * This symbol, if defined, indicates that the endservent_r routine
4524 * is available to endservent re-entrantly.
4526 /* ENDSERVENT_R_PROTO:
4527 * This symbol encodes the prototype of endservent_r.
4528 * It is zero if d_endservent_r is undef, and one of the
4529 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
4532 #$d_endservent_r HAS_ENDSERVENT_R /**/
4533 #define ENDSERVENT_R_PROTO $endservent_r_proto /**/
4536 * This symbol, if defined, indicates that the getgrent_r routine
4537 * is available to getgrent re-entrantly.
4539 /* GETGRENT_R_PROTO:
4540 * This symbol encodes the prototype of getgrent_r.
4541 * It is zero if d_getgrent_r is undef, and one of the
4542 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
4545 #$d_getgrent_r HAS_GETGRENT_R /**/
4546 #define GETGRENT_R_PROTO $getgrent_r_proto /**/
4549 * This symbol, if defined, indicates that the getgrgid_r routine
4550 * is available to getgrgid re-entrantly.
4552 /* GETGRGID_R_PROTO:
4553 * This symbol encodes the prototype of getgrgid_r.
4554 * It is zero if d_getgrgid_r is undef, and one of the
4555 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
4558 #$d_getgrgid_r HAS_GETGRGID_R /**/
4559 #define GETGRGID_R_PROTO $getgrgid_r_proto /**/
4562 * This symbol, if defined, indicates that the getgrnam_r routine
4563 * is available to getgrnam re-entrantly.
4565 /* GETGRNAM_R_PROTO:
4566 * This symbol encodes the prototype of getgrnam_r.
4567 * It is zero if d_getgrnam_r is undef, and one of the
4568 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
4571 #$d_getgrnam_r HAS_GETGRNAM_R /**/
4572 #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
4574 /* HAS_GETHOSTBYADDR_R:
4575 * This symbol, if defined, indicates that the gethostbyaddr_r routine
4576 * is available to gethostbyaddr re-entrantly.
4578 /* GETHOSTBYADDR_R_PROTO:
4579 * This symbol encodes the prototype of gethostbyaddr_r.
4580 * It is zero if d_gethostbyaddr_r is undef, and one of the
4581 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
4584 #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
4585 #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
4587 /* HAS_GETHOSTBYNAME_R:
4588 * This symbol, if defined, indicates that the gethostbyname_r routine
4589 * is available to gethostbyname re-entrantly.
4591 /* GETHOSTBYNAME_R_PROTO:
4592 * This symbol encodes the prototype of gethostbyname_r.
4593 * It is zero if d_gethostbyname_r is undef, and one of the
4594 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
4597 #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
4598 #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
4600 /* HAS_GETHOSTENT_R:
4601 * This symbol, if defined, indicates that the gethostent_r routine
4602 * is available to gethostent re-entrantly.
4604 /* GETHOSTENT_R_PROTO:
4605 * This symbol encodes the prototype of gethostent_r.
4606 * It is zero if d_gethostent_r is undef, and one of the
4607 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
4610 #$d_gethostent_r HAS_GETHOSTENT_R /**/
4611 #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
4614 * This symbol, if defined, indicates that the getlogin_r routine
4615 * is available to getlogin re-entrantly.
4617 /* GETLOGIN_R_PROTO:
4618 * This symbol encodes the prototype of getlogin_r.
4619 * It is zero if d_getlogin_r is undef, and one of the
4620 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
4623 #$d_getlogin_r HAS_GETLOGIN_R /**/
4624 #define GETLOGIN_R_PROTO $getlogin_r_proto /**/
4626 /* HAS_GETNETBYADDR_R:
4627 * This symbol, if defined, indicates that the getnetbyaddr_r routine
4628 * is available to getnetbyaddr re-entrantly.
4630 /* GETNETBYADDR_R_PROTO:
4631 * This symbol encodes the prototype of getnetbyaddr_r.
4632 * It is zero if d_getnetbyaddr_r is undef, and one of the
4633 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
4636 #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
4637 #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
4639 /* HAS_GETNETBYNAME_R:
4640 * This symbol, if defined, indicates that the getnetbyname_r routine
4641 * is available to getnetbyname re-entrantly.
4643 /* GETNETBYNAME_R_PROTO:
4644 * This symbol encodes the prototype of getnetbyname_r.
4645 * It is zero if d_getnetbyname_r is undef, and one of the
4646 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
4649 #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
4650 #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
4653 * This symbol, if defined, indicates that the getnetent_r routine
4654 * is available to getnetent re-entrantly.
4656 /* GETNETENT_R_PROTO:
4657 * This symbol encodes the prototype of getnetent_r.
4658 * It is zero if d_getnetent_r is undef, and one of the
4659 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
4662 #$d_getnetent_r HAS_GETNETENT_R /**/
4663 #define GETNETENT_R_PROTO $getnetent_r_proto /**/
4665 /* HAS_GETPROTOBYNAME_R:
4666 * This symbol, if defined, indicates that the getprotobyname_r routine
4667 * is available to getprotobyname re-entrantly.
4669 /* GETPROTOBYNAME_R_PROTO:
4670 * This symbol encodes the prototype of getprotobyname_r.
4671 * It is zero if d_getprotobyname_r is undef, and one of the
4672 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
4675 #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
4676 #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
4678 /* HAS_GETPROTOBYNUMBER_R:
4679 * This symbol, if defined, indicates that the getprotobynumber_r routine
4680 * is available to getprotobynumber re-entrantly.
4682 /* GETPROTOBYNUMBER_R_PROTO:
4683 * This symbol encodes the prototype of getprotobynumber_r.
4684 * It is zero if d_getprotobynumber_r is undef, and one of the
4685 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
4688 #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
4689 #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
4691 /* HAS_GETPROTOENT_R:
4692 * This symbol, if defined, indicates that the getprotoent_r routine
4693 * is available to getprotoent re-entrantly.
4695 /* GETPROTOENT_R_PROTO:
4696 * This symbol encodes the prototype of getprotoent_r.
4697 * It is zero if d_getprotoent_r is undef, and one of the
4698 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
4701 #$d_getprotoent_r HAS_GETPROTOENT_R /**/
4702 #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
4705 * This symbol, if defined, indicates that the getpwent_r routine
4706 * is available to getpwent re-entrantly.
4708 /* GETPWENT_R_PROTO:
4709 * This symbol encodes the prototype of getpwent_r.
4710 * It is zero if d_getpwent_r is undef, and one of the
4711 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
4714 #$d_getpwent_r HAS_GETPWENT_R /**/
4715 #define GETPWENT_R_PROTO $getpwent_r_proto /**/
4718 * This symbol, if defined, indicates that the getpwnam_r routine
4719 * is available to getpwnam re-entrantly.
4721 /* GETPWNAM_R_PROTO:
4722 * This symbol encodes the prototype of getpwnam_r.
4723 * It is zero if d_getpwnam_r is undef, and one of the
4724 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
4727 #$d_getpwnam_r HAS_GETPWNAM_R /**/
4728 #define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
4731 * This symbol, if defined, indicates that the getpwuid_r routine
4732 * is available to getpwuid re-entrantly.
4734 /* GETPWUID_R_PROTO:
4735 * This symbol encodes the prototype of getpwuid_r.
4736 * It is zero if d_getpwuid_r is undef, and one of the
4737 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
4740 #$d_getpwuid_r HAS_GETPWUID_R /**/
4741 #define GETPWUID_R_PROTO $getpwuid_r_proto /**/
4743 /* HAS_GETSERVBYNAME_R:
4744 * This symbol, if defined, indicates that the getservbyname_r routine
4745 * is available to getservbyname re-entrantly.
4747 /* GETSERVBYNAME_R_PROTO:
4748 * This symbol encodes the prototype of getservbyname_r.
4749 * It is zero if d_getservbyname_r is undef, and one of the
4750 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
4753 #$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
4754 #define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
4756 /* HAS_GETSERVBYPORT_R:
4757 * This symbol, if defined, indicates that the getservbyport_r routine
4758 * is available to getservbyport re-entrantly.
4760 /* GETSERVBYPORT_R_PROTO:
4761 * This symbol encodes the prototype of getservbyport_r.
4762 * It is zero if d_getservbyport_r is undef, and one of the
4763 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
4766 #$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
4767 #define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
4769 /* HAS_GETSERVENT_R:
4770 * This symbol, if defined, indicates that the getservent_r routine
4771 * is available to getservent re-entrantly.
4773 /* GETSERVENT_R_PROTO:
4774 * This symbol encodes the prototype of getservent_r.
4775 * It is zero if d_getservent_r is undef, and one of the
4776 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
4779 #$d_getservent_r HAS_GETSERVENT_R /**/
4780 #define GETSERVENT_R_PROTO $getservent_r_proto /**/
4783 * This symbol, if defined, indicates that the getspnam_r routine
4784 * is available to getspnam re-entrantly.
4786 /* GETSPNAM_R_PROTO:
4787 * This symbol encodes the prototype of getspnam_r.
4788 * It is zero if d_getspnam_r is undef, and one of the
4789 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
4792 #$d_getspnam_r HAS_GETSPNAM_R /**/
4793 #define GETSPNAM_R_PROTO $getspnam_r_proto /**/
4796 * This symbol, if defined, indicates that the gmtime_r routine
4797 * is available to gmtime re-entrantly.
4800 * This symbol encodes the prototype of gmtime_r.
4801 * It is zero if d_gmtime_r is undef, and one of the
4802 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
4805 #$d_gmtime_r HAS_GMTIME_R /**/
4806 #define GMTIME_R_PROTO $gmtime_r_proto /**/
4808 /* HAS_LOCALECONV_L:
4809 * This symbol, if defined, indicates that the localeconv_l routine is
4810 * available to query certain information about a locale.
4812 #$d_localeconv_l HAS_LOCALECONV_L /**/
4815 * This symbol, if defined, indicates that the localtime_r routine
4816 * is available to localtime re-entrantly.
4818 /* LOCALTIME_R_NEEDS_TZSET:
4819 * Many libc's localtime_r implementations do not call tzset,
4820 * making them differ from localtime(), and making timezone
4821 * changes using \$ENV{TZ} without explicitly calling tzset
4822 * impossible. This symbol makes us call tzset before localtime_r
4824 #$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
4825 #ifdef LOCALTIME_R_NEEDS_TZSET
4826 #define L_R_TZSET tzset(),
4831 /* LOCALTIME_R_PROTO:
4832 * This symbol encodes the prototype of localtime_r.
4833 * It is zero if d_localtime_r is undef, and one of the
4834 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
4837 #$d_localtime_r HAS_LOCALTIME_R /**/
4838 #define LOCALTIME_R_PROTO $localtime_r_proto /**/
4841 * This symbol, if defined, indicates that the mbrlen routine is
4842 * available to get the length of multi-byte character strings.
4844 #$d_mbrlen HAS_MBRLEN /**/
4847 * This symbol, if defined, indicates that the mbrtowc routine is
4848 * available to convert a multi-byte character into a wide character.
4850 #$d_mbrtowc HAS_MBRTOWC /**/
4852 /* HAS_THREAD_SAFE_NL_LANGINFO_L:
4853 * This symbol, when defined, indicates presence of the nl_langinfo_l()
4854 * function, and that it is thread-safe.
4856 #$d_thread_safe_nl_langinfo_l HAS_THREAD_SAFE_NL_LANGINFO_L /**/
4858 /* OLD_PTHREAD_CREATE_JOINABLE:
4859 * This symbol, if defined, indicates how to create pthread
4860 * in joinable (aka undetached) state. NOTE: not defined
4861 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
4862 * (the new version of the constant).
4863 * If defined, known values are PTHREAD_CREATE_UNDETACHED
4866 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
4868 /* HAS_PTHREAD_ATFORK:
4869 * This symbol, if defined, indicates that the pthread_atfork routine
4870 * is available to setup fork handlers.
4872 #$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
4874 /* HAS_PTHREAD_YIELD:
4875 * This symbol, if defined, indicates that the pthread_yield
4876 * routine is available to yield the execution of the current
4877 * thread. sched_yield is preferable to pthread_yield.
4880 * This symbol defines the way to yield the execution of
4881 * the current thread. Known ways are sched_yield,
4882 * pthread_yield, and pthread_yield with NULL.
4885 * This symbol, if defined, indicates that the sched_yield
4886 * routine is available to yield the execution of the current
4887 * thread. sched_yield is preferable to pthread_yield.
4889 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
4890 #define SCHED_YIELD $sched_yield /**/
4891 #$d_sched_yield HAS_SCHED_YIELD /**/
4894 * This symbol, if defined, indicates that the random_r routine
4895 * is available to random re-entrantly.
4898 * This symbol encodes the prototype of random_r.
4899 * It is zero if d_random_r is undef, and one of the
4900 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
4903 #$d_random_r HAS_RANDOM_R /**/
4904 #define RANDOM_R_PROTO $random_r_proto /**/
4907 * This symbol, if defined, indicates that the readdir64_r routine
4908 * is available to readdir64 re-entrantly.
4910 /* READDIR64_R_PROTO:
4911 * This symbol encodes the prototype of readdir64_r.
4912 * It is zero if d_readdir64_r is undef, and one of the
4913 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
4916 #$d_readdir64_r HAS_READDIR64_R /**/
4917 #define READDIR64_R_PROTO $readdir64_r_proto /**/
4920 * This symbol, if defined, indicates that the readdir_r routine
4921 * is available to readdir re-entrantly.
4924 * This symbol encodes the prototype of readdir_r.
4925 * It is zero if d_readdir_r is undef, and one of the
4926 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
4929 #$d_readdir_r HAS_READDIR_R /**/
4930 #define READDIR_R_PROTO $readdir_r_proto /**/
4933 * This symbol, if defined, indicates that the setgrent_r routine
4934 * is available to setgrent re-entrantly.
4936 /* SETGRENT_R_PROTO:
4937 * This symbol encodes the prototype of setgrent_r.
4938 * It is zero if d_setgrent_r is undef, and one of the
4939 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
4942 #$d_setgrent_r HAS_SETGRENT_R /**/
4943 #define SETGRENT_R_PROTO $setgrent_r_proto /**/
4945 /* HAS_SETHOSTENT_R:
4946 * This symbol, if defined, indicates that the sethostent_r routine
4947 * is available to sethostent re-entrantly.
4949 /* SETHOSTENT_R_PROTO:
4950 * This symbol encodes the prototype of sethostent_r.
4951 * It is zero if d_sethostent_r is undef, and one of the
4952 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
4955 #$d_sethostent_r HAS_SETHOSTENT_R /**/
4956 #define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
4959 * This symbol, if defined, indicates that the setlocale_r routine
4960 * is available to setlocale re-entrantly.
4962 /* SETLOCALE_R_PROTO:
4963 * This symbol encodes the prototype of setlocale_r.
4964 * It is zero if d_setlocale_r is undef, and one of the
4965 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
4968 #$d_setlocale_r HAS_SETLOCALE_R /**/
4969 #define SETLOCALE_R_PROTO $setlocale_r_proto /**/
4972 * This symbol, if defined, indicates that the setnetent_r routine
4973 * is available to setnetent re-entrantly.
4975 /* SETNETENT_R_PROTO:
4976 * This symbol encodes the prototype of setnetent_r.
4977 * It is zero if d_setnetent_r is undef, and one of the
4978 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
4981 #$d_setnetent_r HAS_SETNETENT_R /**/
4982 #define SETNETENT_R_PROTO $setnetent_r_proto /**/
4984 /* HAS_SETPROTOENT_R:
4985 * This symbol, if defined, indicates that the setprotoent_r routine
4986 * is available to setprotoent re-entrantly.
4988 /* SETPROTOENT_R_PROTO:
4989 * This symbol encodes the prototype of setprotoent_r.
4990 * It is zero if d_setprotoent_r is undef, and one of the
4991 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
4994 #$d_setprotoent_r HAS_SETPROTOENT_R /**/
4995 #define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
4998 * This symbol, if defined, indicates that the setpwent_r routine
4999 * is available to setpwent re-entrantly.
5001 /* SETPWENT_R_PROTO:
5002 * This symbol encodes the prototype of setpwent_r.
5003 * It is zero if d_setpwent_r is undef, and one of the
5004 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
5007 #$d_setpwent_r HAS_SETPWENT_R /**/
5008 #define SETPWENT_R_PROTO $setpwent_r_proto /**/
5010 /* HAS_SETSERVENT_R:
5011 * This symbol, if defined, indicates that the setservent_r routine
5012 * is available to setservent re-entrantly.
5014 /* SETSERVENT_R_PROTO:
5015 * This symbol encodes the prototype of setservent_r.
5016 * It is zero if d_setservent_r is undef, and one of the
5017 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
5020 #$d_setservent_r HAS_SETSERVENT_R /**/
5021 #define SETSERVENT_R_PROTO $setservent_r_proto /**/
5024 * This symbol, if defined, indicates that the srand48_r routine
5025 * is available to srand48 re-entrantly.
5028 * This symbol encodes the prototype of srand48_r.
5029 * It is zero if d_srand48_r is undef, and one of the
5030 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
5033 #$d_srand48_r HAS_SRAND48_R /**/
5034 #define SRAND48_R_PROTO $srand48_r_proto /**/
5037 * This symbol, if defined, indicates that the srandom_r routine
5038 * is available to srandom re-entrantly.
5041 * This symbol encodes the prototype of srandom_r.
5042 * It is zero if d_srandom_r is undef, and one of the
5043 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
5046 #$d_srandom_r HAS_SRANDOM_R /**/
5047 #define SRANDOM_R_PROTO $srandom_r_proto /**/
5050 * This symbol, if defined, indicates that the strerror_r routine
5051 * is available to strerror re-entrantly.
5053 /* STRERROR_R_PROTO:
5054 * This symbol encodes the prototype of strerror_r.
5055 * It is zero if d_strerror_r is undef, and one of the
5056 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
5059 #$d_strerror_r HAS_STRERROR_R /**/
5060 #define STRERROR_R_PROTO $strerror_r_proto /**/
5063 * This symbol, if defined, indicates that the strtod_l routine is
5064 * available to convert strings to long doubles.
5066 #$d_strtod_l HAS_STRTOD_L /**/
5069 * This symbol, if defined, indicates that the strtold_l routine is
5070 * available to convert strings to long doubles.
5072 #$d_strtold_l HAS_STRTOLD_L /**/
5075 * This symbol, if defined, indicates that the tmpnam_r routine
5076 * is available to tmpnam re-entrantly.
5079 * This symbol encodes the prototype of tmpnam_r.
5080 * It is zero if d_tmpnam_r is undef, and one of the
5081 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
5084 #$d_tmpnam_r HAS_TMPNAM_R /**/
5085 #define TMPNAM_R_PROTO $tmpnam_r_proto /**/
5088 * This symbol, if defined, indicates that the ttyname_r routine
5089 * is available to ttyname re-entrantly.
5092 * This symbol encodes the prototype of ttyname_r.
5093 * It is zero if d_ttyname_r is undef, and one of the
5094 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
5097 #$d_ttyname_r HAS_TTYNAME_R /**/
5098 #define TTYNAME_R_PROTO $ttyname_r_proto /**/
5101 * This symbol, if defined, indicates to the C program that it should
5102 * include <mach/cthreads.h>.
5104 #$i_machcthr I_MACH_CTHREADS /**/
5107 * This symbol, if defined, indicates to the C program that it should
5108 * include <pthread.h>.
5110 #$i_pthread I_PTHREAD /**/
5113 * This symbol, if defined, indicates that Perl should be built to
5114 * use the interpreter-based threading implementation.
5117 * This symbol, if defined, indicates that Perl should be built to
5118 * use the 5.005-based threading implementation.
5119 * Only valid up to 5.8.x.
5121 /* OLD_PTHREADS_API:
5122 * This symbol, if defined, indicates that Perl should
5123 * be built to use the old draft POSIX threads API.
5125 /* USE_REENTRANT_API:
5126 * This symbol, if defined, indicates that Perl should
5127 * try to use the various _r versions of library functions.
5128 * This is extremely experimental.
5130 #$use5005threads USE_5005THREADS /**/
5131 #$useithreads USE_ITHREADS /**/
5132 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
5133 #define USE_THREADS /* until src is revised*/
5135 #$d_oldpthreads OLD_PTHREADS_API /**/
5136 #$usereentrant USE_REENTRANT_API /**/
5139 * This symbol, if defined, indicates that the time() routine exists.
5142 * This symbol holds the type returned by time(). It can be long,
5143 * or time_t on BSD sites (in which case <sys/types.h> should be
5146 #$d_time HAS_TIME /**/
5147 #define Time_t $timetype /* Time type */
5150 * This symbol, if defined, indicates that the times() routine exists.
5151 * Note that this became obsolete on some systems (SUNOS), which now
5152 * use getrusage(). It may be necessary to include <sys/times.h>.
5154 #$d_times HAS_TIMES /**/
5157 * This symbol holds the type used to declare file positions in libc.
5158 * It can be fpos_t, long, uint, etc... It may be necessary to include
5159 * <sys/types.h> to get any typedef'ed information.
5161 #define Fpos_t $fpostype /* File position type */
5164 * This symbol defines the format string used for printing a Gid_t.
5166 #define Gid_t_f $gidformat /**/
5169 * This symbol holds the signedness of a Gid_t.
5170 * 1 for unsigned, -1 for signed.
5172 #define Gid_t_sign $gidsign /* GID sign */
5175 * This symbol holds the size of a Gid_t in bytes.
5177 #define Gid_t_size $gidsize /* GID size */
5180 * This symbol holds the return type of getgid() and the type of
5181 * argument to setrgid() and related functions. Typically,
5182 * it is the type of group ids in the kernel. It can be int, ushort,
5183 * gid_t, etc... It may be necessary to include <sys/types.h> to get
5184 * any typedef'ed information.
5186 #define Gid_t $gidtype /* Type for getgid(), etc... */
5189 * This symbol holds the type used to declare offsets in the kernel.
5190 * It can be int, long, off_t, etc... It may be necessary to include
5191 * <sys/types.h> to get any typedef'ed information.
5194 * This symbol holds the number of bytes used by the Off_t.
5197 * This symbol holds the number of bytes used by the Off_t.
5199 #define Off_t $lseektype /* <offset> type */
5200 #define LSEEKSIZE $lseeksize /* <offset> size */
5201 #define Off_t_size $lseeksize /* <offset> size */
5204 * This symbol holds the type used to declare file modes
5205 * for systems calls. It is usually mode_t, but may be
5206 * int or unsigned short. It may be necessary to include <sys/types.h>
5207 * to get any typedef'ed information.
5209 #define Mode_t $modetype /* file mode parameter for system calls */
5212 * This symbol holds the type used to declare process ids in the kernel.
5213 * It can be int, uint, pid_t, etc... It may be necessary to include
5214 * <sys/types.h> to get any typedef'ed information.
5216 #define Pid_t $pidtype /* PID type */
5219 * This symbol holds the size of a Size_t in bytes.
5221 #define Size_t_size $sizesize /**/
5224 * This symbol holds the type used to declare length parameters
5225 * for string functions. It is usually size_t, but may be
5226 * unsigned long, int, etc. It may be necessary to include
5227 * <sys/types.h> to get any typedef'ed information.
5229 #define Size_t $sizetype /* length parameter for string functions */
5232 * This symbol defines the format string used for printing a Uid_t.
5234 #define Uid_t_f $uidformat /**/
5237 * This symbol holds the signedness of a Uid_t.
5238 * 1 for unsigned, -1 for signed.
5240 #define Uid_t_sign $uidsign /* UID sign */
5243 * This symbol holds the size of a Uid_t in bytes.
5245 #define Uid_t_size $uidsize /* UID size */
5248 * This symbol holds the type used to declare user ids in the kernel.
5249 * It can be int, ushort, uid_t, etc... It may be necessary to include
5250 * <sys/types.h> to get any typedef'ed information.
5252 #define Uid_t $uidtype /* UID type */