1 # THIS IS A GENERATED FILE
4 # See Porting/config_h.pl
6 : Set up for generating config_h.SH
8 '') CONFIG_SH=config.sh;;
11 '') CONFIG_H=config.h;;
13 case $PERL_CONFIG_SH in
15 if test -f $CONFIG_SH; then TOP=.;
16 elif test -f ../$CONFIG_SH; then TOP=..;
17 elif test -f ../../$CONFIG_SH; then TOP=../..;
18 elif test -f ../../../$CONFIG_SH; then TOP=../../..;
19 elif test -f ../../../../$CONFIG_SH; then TOP=../../../..;
21 echo "Can't find $CONFIG_SH."; exit 1
27 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
30 already-done) echo "Not re-extracting config.h" ;;
32 echo "Extracting $CONFIG_H (with variable substitutions)"
33 sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
34 /* This file was produced by running the config_h.SH script, which
35 * gets its values from $CONFIG_SH, which is generally produced by
38 * Feel free to modify any of this as the need arises. Note, however,
39 * that running config_h.SH again will wipe out any changes you've made.
40 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
43 /* Package name : $package
44 * Source directory : $src
45 * Configuration time: $cf_time
46 * Configured by : $cf_by
47 * Target system : $myuname
54 * This symbol holds the complete pathname to the sed program.
56 #define LOC_SED "$full_sed" /**/
59 * This symbol, if defined, indicates that the alarm routine is
62 #$d_alarm HAS_ALARM /**/
65 * This symbol is defined if the bcmp() routine is available to
66 * compare blocks of memory.
68 #$d_bcmp HAS_BCMP /**/
71 * This symbol is defined if the bcopy() routine is available to
72 * copy blocks of memory.
74 #$d_bcopy HAS_BCOPY /**/
77 * This symbol is defined if the bzero() routine is available to
78 * set a memory block to 0.
80 #$d_bzero HAS_BZERO /**/
83 * This symbol, if defined, indicates that the chown routine is
86 #$d_chown HAS_CHOWN /**/
89 * This symbol, if defined, indicates that the chroot routine is
92 #$d_chroot HAS_CHROOT /**/
95 * This symbol, if defined, indicates that the chsize routine is available
96 * to truncate files. You might need a -lx to get this routine.
98 #$d_chsize HAS_CHSIZE /**/
101 * This symbol, if defined, indicates that the crypt routine is available
102 * to encrypt passwords and the like.
104 #$d_crypt HAS_CRYPT /**/
107 * This symbol, if defined, indicates that the ctermid routine is
108 * available to generate filename for terminal.
110 #$d_ctermid HAS_CTERMID /**/
113 * This symbol, if defined, indicates that the cuserid routine is
114 * available to get character login names.
116 #$d_cuserid HAS_CUSERID /**/
119 * This symbol, if defined, indicates that this system's <float.h>
120 * or <limits.h> defines the symbol DBL_DIG, which is the number
121 * of significant digits in a double precision number. If this
122 * symbol is not defined, a guess of 15 is usually pretty good.
124 #$d_dbl_dig HAS_DBL_DIG /**/
127 * This symbol, if defined, indicates that the difftime routine is
130 #$d_difftime HAS_DIFFTIME /**/
133 * This symbol, if defined, indicates that the dlerror routine is
134 * available to return a string describing the last error that
135 * occurred from a call to dlopen(), dlclose() or dlsym().
137 #$d_dlerror HAS_DLERROR /**/
140 * This symbol, if defined, indicates that the dup2 routine is
141 * available to duplicate file descriptors.
143 #$d_dup2 HAS_DUP2 /**/
146 * This symbol, if defined, indicates that the fchmod routine is available
147 * to change mode of opened files. If unavailable, use chmod().
149 #$d_fchmod HAS_FCHMOD /**/
152 * This symbol, if defined, indicates that the fchown routine is available
153 * to change ownership of opened files. If unavailable, use chown().
155 #$d_fchown HAS_FCHOWN /**/
158 * This symbol, if defined, indicates to the C program that
159 * the fcntl() function exists.
161 #$d_fcntl HAS_FCNTL /**/
164 * This symbol, if defined, indicates that the fgetpos routine is
165 * available to get the file position indicator, similar to ftell().
167 #$d_fgetpos HAS_FGETPOS /**/
170 * This symbol, if defined, indicates that the flock routine is
171 * available to do file locking.
173 #$d_flock HAS_FLOCK /**/
176 * This symbol, if defined, indicates that the fork routine is
179 #$d_fork HAS_FORK /**/
182 * This symbol, if defined, indicates that the fsetpos routine is
183 * available to set the file position indicator, similar to fseek().
185 #$d_fsetpos HAS_FSETPOS /**/
188 * This symbol, if defined, indicates that the gettimeofday() system
189 * call is available for a sub-second accuracy clock. Usually, the file
190 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
191 * The type "Timeval" should be used to refer to "struct timeval".
193 #$d_gettimeod HAS_GETTIMEOFDAY /**/
194 #ifdef HAS_GETTIMEOFDAY
195 #define Timeval struct timeval /* Structure used by gettimeofday() */
199 * This symbol, if defined, indicates that the getgroups() routine is
200 * available to get the list of process groups. If unavailable, multiple
201 * groups are probably not supported.
203 #$d_getgrps HAS_GETGROUPS /**/
206 * This symbol, if defined, indicates that the getlogin routine is
207 * available to get the login name.
209 #$d_getlogin HAS_GETLOGIN /**/
212 * This symbol, if defined, indicates to the C program that
213 * the getpgid(pid) function is available to get the
216 #$d_getpgid HAS_GETPGID /**/
219 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
220 * routine is available to get the current process group.
222 #$d_getpgrp2 HAS_GETPGRP2 /**/
225 * This symbol, if defined, indicates that the getppid routine is
226 * available to get the parent process ID.
228 #$d_getppid HAS_GETPPID /**/
231 * This symbol, if defined, indicates that the getpriority routine is
232 * available to get a process's priority.
234 #$d_getprior HAS_GETPRIORITY /**/
237 * This symbol, if defined, indicates to the C program that the
238 * inet_aton() function is available to parse IP address "dotted-quad"
241 #$d_inetaton HAS_INET_ATON /**/
244 * This symbol, if defined, indicates that the killpg routine is available
245 * to kill process groups. If unavailable, you probably should use kill
246 * with a negative process number.
248 #$d_killpg HAS_KILLPG /**/
251 * This symbol, if defined, indicates that the link routine is
252 * available to create hard links.
254 #$d_link HAS_LINK /**/
257 * This symbol, if defined, indicates that the localeconv routine is
258 * available for numeric and monetary formatting conventions.
260 #$d_locconv HAS_LOCALECONV /**/
263 * This symbol, if defined, indicates that the lockf routine is
264 * available to do file locking.
266 #$d_lockf HAS_LOCKF /**/
269 * This symbol, if defined, indicates that the lstat routine is
270 * available to do file stats on symbolic links.
272 #$d_lstat HAS_LSTAT /**/
275 * This symbol, if defined, indicates that the mblen routine is available
276 * to find the number of bytes in a multibye character.
278 #$d_mblen HAS_MBLEN /**/
281 * This symbol, if defined, indicates that the mbstowcs routine is
282 * available to covert a multibyte string into a wide character string.
284 #$d_mbstowcs HAS_MBSTOWCS /**/
287 * This symbol, if defined, indicates that the mbtowc routine is available
288 * to covert a multibyte to a wide character.
290 #$d_mbtowc HAS_MBTOWC /**/
293 * This symbol, if defined, indicates that the memcmp routine is available
294 * to compare blocks of memory.
296 #$d_memcmp HAS_MEMCMP /**/
299 * This symbol, if defined, indicates that the memcpy routine is available
300 * to copy blocks of memory.
302 #$d_memcpy HAS_MEMCPY /**/
305 * This symbol, if defined, indicates that the memmove routine is available
306 * to copy potentially overlapping blocks of memory. This should be used
307 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
310 #$d_memmove HAS_MEMMOVE /**/
313 * This symbol, if defined, indicates that the memset routine is available
314 * to set blocks of memory.
316 #$d_memset HAS_MEMSET /**/
319 * This symbol, if defined, indicates that the mkdir routine is available
320 * to create directories. Otherwise you should fork off a new process to
323 #$d_mkdir HAS_MKDIR /**/
326 * This symbol, if defined, indicates that the mkfifo routine is
327 * available to create FIFOs. Otherwise, mknod should be able to
328 * do it for you. However, if mkfifo is there, mknod might require
329 * super-user privileges which mkfifo will not.
331 #$d_mkfifo HAS_MKFIFO /**/
334 * This symbol, if defined, indicates that the mktime routine is
337 #$d_mktime HAS_MKTIME /**/
340 * This symbol, if defined, indicates that the msync system call is
341 * available to synchronize a mapped file.
343 #$d_msync HAS_MSYNC /**/
346 * This symbol, if defined, indicates that the munmap system call is
347 * available to unmap a region, usually mapped by mmap().
349 #$d_munmap HAS_MUNMAP /**/
352 * This symbol, if defined, indicates that the nice routine is
355 #$d_nice HAS_NICE /**/
358 * This symbol, if defined, indicates that pathconf() is available
359 * to determine file-system related limits and options associated
360 * with a given filename.
363 * This symbol, if defined, indicates that pathconf() is available
364 * to determine file-system related limits and options associated
365 * with a given open file descriptor.
367 #$d_pathconf HAS_PATHCONF /**/
368 #$d_fpathconf HAS_FPATHCONF /**/
371 * This symbol, if defined, indicates that the pause routine is
372 * available to suspend a process until a signal is received.
374 #$d_pause HAS_PAUSE /**/
377 * This symbol, if defined, indicates that the pipe routine is
378 * available to create an inter-process channel.
380 #$d_pipe HAS_PIPE /**/
383 * This symbol, if defined, indicates that the poll routine is
384 * available to poll active file descriptors. Please check I_POLL and
385 * I_SYS_POLL to know which header should be included as well.
387 #$d_poll HAS_POLL /**/
390 * This symbol, if defined, indicates that the readdir routine is
391 * available to read directory entries. You may have to include
392 * <dirent.h>. See I_DIRENT.
394 #$d_readdir HAS_READDIR /**/
397 * This symbol, if defined, indicates that the seekdir routine is
398 * available. You may have to include <dirent.h>. See I_DIRENT.
400 #$d_seekdir HAS_SEEKDIR /**/
403 * This symbol, if defined, indicates that the telldir routine is
404 * available. You may have to include <dirent.h>. See I_DIRENT.
406 #$d_telldir HAS_TELLDIR /**/
409 * This symbol, if defined, indicates that the rewinddir routine is
410 * available. You may have to include <dirent.h>. See I_DIRENT.
412 #$d_rewinddir HAS_REWINDDIR /**/
415 * This symbol, if defined, indicates that the readlink routine is
416 * available to read the value of a symbolic link.
418 #$d_readlink HAS_READLINK /**/
421 * This symbol, if defined, indicates that the rename routine is available
422 * to rename files. Otherwise you should do the unlink(), link(), unlink()
425 #$d_rename HAS_RENAME /**/
428 * This symbol, if defined, indicates that the rmdir routine is
429 * available to remove directories. Otherwise you should fork off a
430 * new process to exec /bin/rmdir.
432 #$d_rmdir HAS_RMDIR /**/
435 * This symbol, if defined, indicates that the select routine is
436 * available to select active file descriptors. If the timeout field
437 * is used, <sys/time.h> may need to be included.
439 #$d_select HAS_SELECT /**/
442 * This symbol, if defined, indicates that the setegid routine is available
443 * to change the effective gid of the current program.
445 #$d_setegid HAS_SETEGID /**/
448 * This symbol, if defined, indicates that the seteuid routine is available
449 * to change the effective uid of the current program.
451 #$d_seteuid HAS_SETEUID /**/
454 * This symbol, if defined, indicates that the setgroups() routine is
455 * available to set the list of process groups. If unavailable, multiple
456 * groups are probably not supported.
458 #$d_setgrps HAS_SETGROUPS /**/
461 * This symbol, if defined, indicates that the setlinebuf routine is
462 * available to change stderr or stdout from block-buffered or unbuffered
463 * to a line-buffered mode.
465 #$d_setlinebuf HAS_SETLINEBUF /**/
468 * This symbol, if defined, indicates that the setlocale routine is
469 * available to handle locale-specific ctype implementations.
471 #$d_setlocale HAS_SETLOCALE /**/
474 * This symbol, if defined, indicates that the setpgid(pid, gpid)
475 * routine is available to set process group ID.
477 #$d_setpgid HAS_SETPGID /**/
480 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
481 * routine is available to set the current process group.
483 #$d_setpgrp2 HAS_SETPGRP2 /**/
486 * This symbol, if defined, indicates that the setpriority routine is
487 * available to set a process's priority.
489 #$d_setprior HAS_SETPRIORITY /**/
492 * This symbol, if defined, indicates that the setregid routine is
493 * available to change the real and effective gid of the current
497 * This symbol, if defined, indicates that the setresgid routine is
498 * available to change the real, effective and saved gid of the current
501 #$d_setregid HAS_SETREGID /**/
502 #$d_setresgid HAS_SETRESGID /**/
505 * This symbol, if defined, indicates that the setreuid routine is
506 * available to change the real and effective uid of the current
510 * This symbol, if defined, indicates that the setresuid routine is
511 * available to change the real, effective and saved uid of the current
514 #$d_setreuid HAS_SETREUID /**/
515 #$d_setresuid HAS_SETRESUID /**/
518 * This symbol, if defined, indicates that the setrgid routine is available
519 * to change the real gid of the current program.
521 #$d_setrgid HAS_SETRGID /**/
524 * This symbol, if defined, indicates that the setruid routine is available
525 * to change the real uid of the current program.
527 #$d_setruid HAS_SETRUID /**/
530 * This symbol, if defined, indicates that the setsid routine is
531 * available to set the process group ID.
533 #$d_setsid HAS_SETSID /**/
536 * This symbol is defined to indicate that the strchr()/strrchr()
537 * functions are available for string searching. If not, try the
538 * index()/rindex() pair.
541 * This symbol is defined to indicate that the index()/rindex()
542 * functions are available for string searching.
544 #$d_strchr HAS_STRCHR /**/
545 #$d_index HAS_INDEX /**/
548 * This symbol, if defined, indicates that the strcoll routine is
549 * available to compare strings using collating information.
551 #$d_strcoll HAS_STRCOLL /**/
554 * This symbol, if defined, indicates that the strtod routine is
555 * available to provide better numeric string conversion than atof().
557 #$d_strtod HAS_STRTOD /**/
560 * This symbol, if defined, indicates that the strtol routine is available
561 * to provide better numeric string conversion than atoi() and friends.
563 #$d_strtol HAS_STRTOL /**/
566 * This symbol, if defined, indicates that the strxfrm() routine is
567 * available to transform strings.
569 #$d_strxfrm HAS_STRXFRM /**/
572 * This symbol, if defined, indicates that the symlink routine is available
573 * to create symbolic links.
575 #$d_symlink HAS_SYMLINK /**/
578 * This symbol, if defined, indicates that the syscall routine is
579 * available to call arbitrary system calls. If undefined, that's tough.
581 #$d_syscall HAS_SYSCALL /**/
584 * This symbol, if defined, indicates that sysconf() is available
585 * to determine system related limits and options.
587 #$d_sysconf HAS_SYSCONF /**/
590 * This symbol, if defined, indicates that the system routine is
591 * available to issue a shell command.
593 #$d_system HAS_SYSTEM /**/
596 * This symbol, if defined, indicates that the tcgetpgrp routine is
597 * available to get foreground process group ID.
599 #$d_tcgetpgrp HAS_TCGETPGRP /**/
602 * This symbol, if defined, indicates that the tcsetpgrp routine is
603 * available to set foreground process group ID.
605 #$d_tcsetpgrp HAS_TCSETPGRP /**/
608 * This symbol, if defined, indicates that the truncate routine is
609 * available to truncate files.
611 #$d_truncate HAS_TRUNCATE /**/
614 * This symbol, if defined, indicates that the tzname[] array is
615 * available to access timezone names.
617 #$d_tzname HAS_TZNAME /**/
620 * This symbol, if defined, indicates that the umask routine is
621 * available to set and get the value of the file creation mask.
623 #$d_umask HAS_UMASK /**/
626 * This symbol, if defined, indicates that the usleep routine is
627 * available to let the process sleep on a sub-second accuracy.
629 #$d_usleep HAS_USLEEP /**/
632 * This symbol, if defined, indicates that wait4() exists.
634 #$d_wait4 HAS_WAIT4 /**/
637 * This symbol, if defined, indicates that the waitpid routine is
638 * available to wait for child process.
640 #$d_waitpid HAS_WAITPID /**/
643 * This symbol, if defined, indicates that the wcstombs routine is
644 * available to convert wide character strings to multibyte strings.
646 #$d_wcstombs HAS_WCSTOMBS /**/
649 * This symbol, if defined, indicates that the wctomb routine is available
650 * to covert a wide character to a multibyte.
652 #$d_wctomb HAS_WCTOMB /**/
655 * This symbol holds the type used for the second argument to
656 * getgroups() and setgroups(). Usually, this is the same as
657 * gidtype (gid_t) , but sometimes it isn't.
658 * It can be int, ushort, gid_t, etc...
659 * It may be necessary to include <sys/types.h> to get any
660 * typedef'ed information. This is only required if you have
661 * getgroups() or setgroups()..
663 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
664 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
668 * This symbol, if defined, indicates to the C program that it should
669 * include <arpa/inet.h> to get inet_addr and friends declarations.
671 #$i_arpainet I_ARPA_INET /**/
674 * This symbol, if defined, indicates that <dbm.h> exists and should
678 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
679 * should be included.
682 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
685 * This symbol, if defined, indicates that <dlfcn.h> exists and should
688 #$i_dlfcn I_DLFCN /**/
691 * This manifest constant tells the C program to include <fcntl.h>.
693 #$i_fcntl I_FCNTL /**/
696 * This symbol, if defined, indicates to the C program that it should
697 * include <float.h> to get definition of symbols like DBL_MAX or
698 * DBL_MIN, i.e. machine dependent floating point values.
700 #$i_float I_FLOAT /**/
703 * This symbol, if defined, indicates that <gdbm.h> exists and should
709 * This symbol, if defined, indicates to the C program that it should
710 * include <limits.h> to get definition of symbols like WORD_BIT or
711 * LONG_MAX, i.e. machine dependant limitations.
713 #$i_limits I_LIMITS /**/
716 * This symbol, if defined, indicates to the C program that it should
717 * include <locale.h>.
719 #$i_locale I_LOCALE /**/
722 * This symbol, if defined, indicates to the C program that it should
728 * This symbol, if defined, indicates to the C program that it should
729 * include <memory.h>.
731 #$i_memory I_MEMORY /**/
734 * This symbol, if defined, indicates to the C program that it should
735 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
737 #$i_niin I_NETINET_IN /**/
740 * This symbol, if defined, indicates to the C program that it should
746 * This symbol, if defined, indicates that <stddef.h> exists and should
749 #$i_stddef I_STDDEF /**/
752 * This symbol, if defined, indicates that <stdlib.h> exists and should
755 #$i_stdlib I_STDLIB /**/
758 * This symbol, if defined, indicates to the C program that it should
759 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
761 #$i_string I_STRING /**/
764 * This symbol, if defined, indicates to the C program that it should
765 * include <sys/dir.h>.
767 #$i_sysdir I_SYS_DIR /**/
770 * This symbol, if defined, indicates to the C program that it should
771 * include <sys/file.h> to get definition of R_OK and friends.
773 #$i_sysfile I_SYS_FILE /**/
776 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
777 * be included. Otherwise, include <sgtty.h> or <termio.h>.
780 * This symbol, if defined, indicates the <sys/sockio.h> should be included
781 * to get socket ioctl options, like SIOCATMARK.
783 #$i_sysioctl I_SYS_IOCTL /**/
784 #$i_syssockio I_SYS_SOCKIO /**/
787 * This symbol, if defined, indicates to the C program that it should
788 * include <sys/ndir.h>.
790 #$i_sysndir I_SYS_NDIR /**/
793 * This symbol, if defined, indicates to the C program that it should
794 * include <sys/param.h>.
796 #$i_sysparam I_SYS_PARAM /**/
799 * This symbol, if defined, indicates that the program may include
800 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
801 * to only include <poll.h>.
803 #$i_syspoll I_SYS_POLL /**/
806 * This symbol, if defined, indicates to the C program that it should
807 * include <sys/resource.h>.
809 #$i_sysresrc I_SYS_RESOURCE /**/
812 * This symbol, if defined, indicates to the C program that it should
813 * include <sys/select.h> in order to get definition of struct timeval.
815 #$i_sysselct I_SYS_SELECT /**/
818 * This symbol, if defined, indicates to the C program that it should
819 * include <sys/stat.h>.
821 #$i_sysstat I_SYS_STAT /**/
824 * This symbol, if defined, indicates to the C program that it should
825 * include <sys/times.h>.
827 #$i_systimes I_SYS_TIMES /**/
830 * This symbol, if defined, indicates to the C program that it should
831 * include <sys/types.h>.
833 #$i_systypes I_SYS_TYPES /**/
836 * This symbol, if defined, indicates to the C program that it should
837 * include <sys/un.h> to get UNIX domain socket definitions.
839 #$i_sysun I_SYS_UN /**/
842 * This symbol, if defined, indicates to the C program that it should
843 * include <sys/wait.h>.
845 #$i_syswait I_SYS_WAIT /**/
848 * This symbol, if defined, indicates that the program should include
849 * <termio.h> rather than <sgtty.h>. There are also differences in
850 * the ioctl() calls that depend on the value of this symbol.
853 * This symbol, if defined, indicates that the program should include
854 * the POSIX termios.h rather than sgtty.h or termio.h.
855 * There are also differences in the ioctl() calls that depend on the
856 * value of this symbol.
859 * This symbol, if defined, indicates that the program should include
860 * <sgtty.h> rather than <termio.h>. There are also differences in
861 * the ioctl() calls that depend on the value of this symbol.
863 #$i_termio I_TERMIO /**/
864 #$i_termios I_TERMIOS /**/
865 #$i_sgtty I_SGTTY /**/
868 * This symbol, if defined, indicates to the C program that it should
869 * include <unistd.h>.
871 #$i_unistd I_UNISTD /**/
874 * This symbol, if defined, indicates to the C program that it should
877 #$i_utime I_UTIME /**/
880 * This symbol, if defined, indicates to the C program that it should
881 * include <values.h> to get definition of symbols like MINFLOAT or
882 * MAXLONG, i.e. machine dependant limitations. Probably, you
883 * should use <limits.h> instead, if it is available.
885 #$i_values I_VALUES /**/
888 * This symbol, if defined, indicates to the C program that it should
891 #$i_vfork I_VFORK /**/
894 * This variable is defined on systems supporting prototype declaration
895 * of functions with a variable number of arguments.
898 * This macro is used to declare function parameters in prototypes for
899 * functions with a variable number of parameters. Use double parentheses.
902 * int printf _V((char *fmt, ...));
904 * Remember to use the plain simple _() macro when declaring a function
905 * with no variable number of arguments, since it might be possible to
906 * have a non-effect _V() macro and still get prototypes via _().
908 #$vaproto CAN_VAPROTO /**/
910 #define _V(args) args
916 * This symbol contains the name of the operating system, as determined
917 * by Configure. You shouldn't rely on it too much; the specific
918 * feature tests from Configure are generally more reliable.
921 * This symbol contains the version of the operating system, as determined
922 * by Configure. You shouldn't rely on it too much; the specific
923 * feature tests from Configure are generally more reliable.
925 #define OSNAME "$osname" /**/
926 #define OSVERS "$osvers" /**/
928 /* USE_CROSS_COMPILE:
929 * This symbol, if defined, indicates that Perl is being cross-compiled.
932 * This symbol, if defined, indicates the target architecture
933 * Perl has been cross-compiled to. Undefined if not a cross-compile.
935 #ifndef USE_CROSS_COMPILE
936 #$usecrosscompile USE_CROSS_COMPILE /**/
937 #define PERL_TARGETARCH "$targetarch" /**/
941 * This symbol, if defined, signifies that the build
942 * process will produce some binary files that are going to be
943 * used in a cross-platform environment. This is the case for
944 * example with the NeXT "fat" binaries that contain executables
947 #$multiarch MULTIARCH /**/
950 * This symbol contains the number of bytes required to align a
951 * double, or a long double when applicable. Usual values are 2,
952 * 4 and 8. The default is eight, for safety.
954 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
955 # define MEM_ALIGNBYTES 8
957 #define MEM_ALIGNBYTES $alignbytes
961 * This variable, if defined, holds the name of the directory in
962 * which the user wants to put architecture-dependent public
963 * library files for $package. It is most often a local directory
964 * such as /usr/local/lib. Programs using this variable must be
965 * prepared to deal with filename expansion. If ARCHLIB is the
966 * same as PRIVLIB, it is not defined, since presumably the
967 * program already searches PRIVLIB.
970 * This symbol contains the ~name expanded version of ARCHLIB, to be used
971 * in programs that are not prepared to deal with ~ expansion at run-time.
973 #$d_archlib ARCHLIB "$archlib" /**/
974 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
977 * This symbol holds a string representing the architecture name.
978 * It may be used to construct an architecture-dependant pathname
979 * where library files may be held under a private library, for
982 #define ARCHNAME "$archname" /**/
985 * This symbol holds the path of the bin directory where the package will
986 * be installed. Program must be prepared to deal with ~name substitution.
989 * This symbol is the filename expanded version of the BIN symbol, for
990 * programs that do not want to deal with that at run-time.
992 /* PERL_RELOCATABLE_INC:
993 * This symbol, if defined, indicates that we'd like to relocate entries
994 * in @INC at run time based on the location of the perl binary.
996 #define BIN "$bin" /**/
997 #define BIN_EXP "$binexp" /**/
998 #$userelocatableinc PERL_RELOCATABLE_INC /**/
1001 * This symbol contains the value of sizeof(int) so that the C
1002 * preprocessor can make decisions based on it.
1005 * This symbol contains the value of sizeof(long) so that the C
1006 * preprocessor can make decisions based on it.
1009 * This symbol contains the value of sizeof(short) so that the C
1010 * preprocessor can make decisions based on it.
1012 #define INTSIZE $intsize /**/
1013 #define LONGSIZE $longsize /**/
1014 #define SHORTSIZE $shortsize /**/
1017 * This symbol holds the hexadecimal constant defined in byteorder,
1018 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
1019 * If the compiler supports cross-compiling or multiple-architecture
1020 * binaries (eg. on NeXT systems), use compiler-defined macros to
1021 * determine the byte order.
1022 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1023 * Binaries (MAB) on either big endian or little endian machines.
1024 * The endian-ness is available at compile-time. This only matters
1025 * for perl, where the config.h can be generated and installed on
1026 * one system, and used by a different architecture to build an
1027 * extension. Older versions of NeXT that might not have
1028 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1029 * so the default case (for NeXT) is big endian to catch them.
1030 * This might matter for NeXT 3.0.
1032 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1033 # ifdef __LITTLE_ENDIAN__
1035 # define BYTEORDER 0x1234
1038 # define BYTEORDER 0x12345678
1042 # ifdef __BIG_ENDIAN__
1044 # define BYTEORDER 0x4321
1047 # define BYTEORDER 0x87654321
1052 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1053 # define BYTEORDER 0x4321
1056 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1060 * This symbol contains the size of a char, so that the C preprocessor
1061 * can make decisions based on it.
1063 #define CHARBITS $charbits /**/
1066 * This macro concatenates 2 tokens together.
1069 * This macro surrounds its token with double quotes.
1072 #define CAT2(a,b) a/**/b
1073 #define STRINGIFY(a) "a"
1075 #if $cpp_stuff == 42
1076 #define PeRl_CaTiFy(a, b) a ## b
1077 #define PeRl_StGiFy(a) #a
1078 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1079 #define StGiFy(a) PeRl_StGiFy(a)
1080 #define STRINGIFY(a) PeRl_StGiFy(a)
1082 #if $cpp_stuff != 1 && $cpp_stuff != 42
1083 #include "Bletch: How does this C preprocessor concatenate tokens?"
1087 * This symbol contains the first part of the string which will invoke
1088 * the C preprocessor on the standard input and produce to standard
1089 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1090 * call a wrapper. See CPPRUN.
1093 * This symbol contains the second part of the string which will invoke
1094 * the C preprocessor on the standard input and produce to standard
1095 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1096 * to specify standard input, otherwise the value is "".
1099 * This symbol contains the string which will invoke a C preprocessor on
1100 * the standard input and produce to standard output. It needs to end
1101 * with CPPLAST, after all other preprocessor flags have been specified.
1102 * The main difference with CPPSTDIN is that this program will never be a
1103 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1104 * available directly to the user. Note that it may well be different from
1105 * the preprocessor used to compile the C program.
1108 * This symbol is intended to be used along with CPPRUN in the same manner
1109 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1111 #define CPPSTDIN "$cppstdin"
1112 #define CPPMINUS "$cppminus"
1113 #define CPPRUN "$cpprun"
1114 #define CPPLAST "$cpplast"
1117 * This manifest constant lets the C program know that the access()
1118 * system call is available to check for accessibility using real UID/GID.
1119 * (always present on UNIX.)
1121 #$d_access HAS_ACCESS /**/
1124 * This symbol, if defined, indicates that the accessx routine is
1125 * available to do extended access checks.
1127 #$d_accessx HAS_ACCESSX /**/
1130 * This symbol, if defined, indicates that the asctime_r routine
1131 * is available to asctime re-entrantly.
1134 * This symbol encodes the prototype of asctime_r.
1135 * It is zero if d_asctime_r is undef, and one of the
1136 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1139 #$d_asctime_r HAS_ASCTIME_R /**/
1140 #define ASCTIME_R_PROTO $asctime_r_proto /**/
1142 /* HASATTRIBUTE_FORMAT:
1143 * Can we handle GCC attribute for checking printf-style formats
1145 /* PRINTF_FORMAT_NULL_OK:
1146 * Allows __printf__ format to be null when checking printf-style
1148 /* HASATTRIBUTE_MALLOC:
1149 * Can we handle GCC attribute for malloc-style functions.
1151 /* HASATTRIBUTE_NONNULL:
1152 * Can we handle GCC attribute for nonnull function parms.
1154 /* HASATTRIBUTE_NORETURN:
1155 * Can we handle GCC attribute for functions that do not return
1157 /* HASATTRIBUTE_PURE:
1158 * Can we handle GCC attribute for pure functions
1160 /* HASATTRIBUTE_UNUSED:
1161 * Can we handle GCC attribute for unused variables and arguments
1163 /* HASATTRIBUTE_DEPRECATED:
1164 * Can we handle GCC attribute for marking deprecated APIs
1166 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1167 * Can we handle GCC attribute for warning on unused results
1169 #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/
1170 #$d_attribute_format HASATTRIBUTE_FORMAT /**/
1171 #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
1172 #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1173 #$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1174 #$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1175 #$d_attribute_pure HASATTRIBUTE_PURE /**/
1176 #$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1177 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1180 * This symbol is defined if the C compiler can cast negative
1181 * or large floating point numbers to 32-bit ints.
1183 #$d_casti32 CASTI32 /**/
1186 * This symbol is defined if the C compiler can cast negative
1187 * numbers to unsigned longs, ints and shorts.
1190 * This symbol contains flags that say what difficulties the compiler
1191 * has casting odd floating values to unsigned long:
1193 * 1 = couldn't cast < 0
1194 * 2 = couldn't cast >= 0x80000000
1195 * 4 = couldn't cast in argument expression list
1197 #$d_castneg CASTNEGFLOAT /**/
1198 #define CASTFLAGS $castflags /**/
1201 * This symbol, if defined, indicates that the closedir() routine
1202 * does not return a value.
1204 #$d_void_closedir VOID_CLOSEDIR /**/
1207 * This symbol, if defined, indicates that this C compiler knows about
1208 * the const type. There is no need to actually test for that symbol
1209 * within your programs. The mere use of the "const" keyword will
1210 * trigger the necessary tests.
1212 #$d_const HASCONST /**/
1218 * This symbol, if defined, indicates that the crypt_r routine
1219 * is available to crypt re-entrantly.
1222 * This symbol encodes the prototype of crypt_r.
1223 * It is zero if d_crypt_r is undef, and one of the
1224 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1227 #$d_crypt_r HAS_CRYPT_R /**/
1228 #define CRYPT_R_PROTO $crypt_r_proto /**/
1231 * This symbol, if defined, indicates that the C-shell exists.
1234 * This symbol, if defined, contains the full pathname of csh.
1236 #$d_csh HAS_CSH /**/
1238 #define CSH "$full_csh" /**/
1242 * This symbol, if defined, indicates that the ctermid_r routine
1243 * is available to ctermid re-entrantly.
1246 * This symbol encodes the prototype of ctermid_r.
1247 * It is zero if d_ctermid_r is undef, and one of the
1248 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1251 #$d_ctermid_r HAS_CTERMID_R /**/
1252 #define CTERMID_R_PROTO $ctermid_r_proto /**/
1255 * This symbol, if defined, indicates that the ctime_r routine
1256 * is available to ctime re-entrantly.
1259 * This symbol encodes the prototype of ctime_r.
1260 * It is zero if d_ctime_r is undef, and one of the
1261 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1264 #$d_ctime_r HAS_CTIME_R /**/
1265 #define CTIME_R_PROTO $ctime_r_proto /**/
1267 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1268 * This symbol, if defined, indicates that the bug that prevents
1269 * setuid scripts from being secure is not present in this kernel.
1272 * This symbol, if defined, indicates that the C program should
1273 * check the script that it is executing for setuid/setgid bits, and
1274 * attempt to emulate setuid/setgid on systems that have disabled
1275 * setuid #! scripts because the kernel can't do it securely.
1276 * It is up to the package designer to make sure that this emulation
1277 * is done securely. Among other things, it should do an fstat on
1278 * the script it just opened to make sure it really is a setuid/setgid
1279 * script, it should make sure the arguments passed correspond exactly
1280 * to the argument on the #! line, and it should not trust any
1281 * subprocesses to which it must pass the filename rather than the
1282 * file descriptor of the script to be executed.
1284 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1285 #$d_dosuid DOSUID /**/
1288 * This symbol, if defined, indicates that the drand48_r routine
1289 * is available to drand48 re-entrantly.
1292 * This symbol encodes the prototype of drand48_r.
1293 * It is zero if d_drand48_r is undef, and one of the
1294 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1297 #$d_drand48_r HAS_DRAND48_R /**/
1298 #define DRAND48_R_PROTO $drand48_r_proto /**/
1300 /* HAS_DRAND48_PROTO:
1301 * This symbol, if defined, indicates that the system provides
1302 * a prototype for the drand48() function. Otherwise, it is up
1303 * to the program to supply one. A good guess is
1304 * extern double drand48(void);
1306 #$d_drand48proto HAS_DRAND48_PROTO /**/
1309 * This symbol, if defined, indicates that the eaccess routine is
1310 * available to do extended access checks.
1312 #$d_eaccess HAS_EACCESS /**/
1315 * This symbol, if defined, indicates that the getgrent routine is
1316 * available for finalizing sequential access of the group database.
1318 #$d_endgrent HAS_ENDGRENT /**/
1321 * This symbol, if defined, indicates that the endgrent_r routine
1322 * is available to endgrent re-entrantly.
1324 /* ENDGRENT_R_PROTO:
1325 * This symbol encodes the prototype of endgrent_r.
1326 * It is zero if d_endgrent_r is undef, and one of the
1327 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1330 #$d_endgrent_r HAS_ENDGRENT_R /**/
1331 #define ENDGRENT_R_PROTO $endgrent_r_proto /**/
1334 * This symbol, if defined, indicates that the endhostent() routine is
1335 * available to close whatever was being used for host queries.
1337 #$d_endhent HAS_ENDHOSTENT /**/
1339 /* HAS_ENDHOSTENT_R:
1340 * This symbol, if defined, indicates that the endhostent_r routine
1341 * is available to endhostent re-entrantly.
1343 /* ENDHOSTENT_R_PROTO:
1344 * This symbol encodes the prototype of endhostent_r.
1345 * It is zero if d_endhostent_r is undef, and one of the
1346 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1349 #$d_endhostent_r HAS_ENDHOSTENT_R /**/
1350 #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
1353 * This symbol, if defined, indicates that the endnetent() routine is
1354 * available to close whatever was being used for network queries.
1356 #$d_endnent HAS_ENDNETENT /**/
1359 * This symbol, if defined, indicates that the endnetent_r routine
1360 * is available to endnetent re-entrantly.
1362 /* ENDNETENT_R_PROTO:
1363 * This symbol encodes the prototype of endnetent_r.
1364 * It is zero if d_endnetent_r is undef, and one of the
1365 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1368 #$d_endnetent_r HAS_ENDNETENT_R /**/
1369 #define ENDNETENT_R_PROTO $endnetent_r_proto /**/
1372 * This symbol, if defined, indicates that the endprotoent() routine is
1373 * available to close whatever was being used for protocol queries.
1375 #$d_endpent HAS_ENDPROTOENT /**/
1377 /* HAS_ENDPROTOENT_R:
1378 * This symbol, if defined, indicates that the endprotoent_r routine
1379 * is available to endprotoent re-entrantly.
1381 /* ENDPROTOENT_R_PROTO:
1382 * This symbol encodes the prototype of endprotoent_r.
1383 * It is zero if d_endprotoent_r is undef, and one of the
1384 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1387 #$d_endprotoent_r HAS_ENDPROTOENT_R /**/
1388 #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
1391 * This symbol, if defined, indicates that the getgrent routine is
1392 * available for finalizing sequential access of the passwd database.
1394 #$d_endpwent HAS_ENDPWENT /**/
1397 * This symbol, if defined, indicates that the endpwent_r routine
1398 * is available to endpwent re-entrantly.
1400 /* ENDPWENT_R_PROTO:
1401 * This symbol encodes the prototype of endpwent_r.
1402 * It is zero if d_endpwent_r is undef, and one of the
1403 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1406 #$d_endpwent_r HAS_ENDPWENT_R /**/
1407 #define ENDPWENT_R_PROTO $endpwent_r_proto /**/
1410 * This symbol, if defined, indicates that the endservent() routine is
1411 * available to close whatever was being used for service queries.
1413 #$d_endsent HAS_ENDSERVENT /**/
1415 /* HAS_ENDSERVENT_R:
1416 * This symbol, if defined, indicates that the endservent_r routine
1417 * is available to endservent re-entrantly.
1419 /* ENDSERVENT_R_PROTO:
1420 * This symbol encodes the prototype of endservent_r.
1421 * It is zero if d_endservent_r is undef, and one of the
1422 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1425 #$d_endservent_r HAS_ENDSERVENT_R /**/
1426 #define ENDSERVENT_R_PROTO $endservent_r_proto /**/
1429 * This symbol, when defined, indicates presence of the fd_set typedef
1432 #$d_fd_set HAS_FD_SET /**/
1435 * This symbol, if defined, indicates that the system supports filenames
1436 * longer than 14 characters.
1438 #$d_flexfnam FLEXFILENAMES /**/
1441 * This preprocessor macro is defined to convert a floating point
1442 * number to a string without a trailing decimal point. This
1443 * emulates the behavior of sprintf("%g"), but is sometimes much more
1444 * efficient. If gconvert() is not available, but gcvt() drops the
1445 * trailing decimal point, then gcvt() is used. If all else fails,
1446 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1447 * macro are: value, number of digits, whether trailing zeros should
1448 * be retained, and the output buffer.
1449 * The usual values are:
1450 * d_Gconvert='gconvert((x),(n),(t),(b))'
1451 * d_Gconvert='gcvt((x),(n),(b))'
1452 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1453 * The last two assume trailing zeros should not be kept.
1455 #define Gconvert(x,n,t,b) $d_Gconvert
1458 * This symbol, if defined, indicates that the getgrent routine is
1459 * available for sequential access of the group database.
1461 #$d_getgrent HAS_GETGRENT /**/
1464 * This symbol, if defined, indicates that the getgrent_r routine
1465 * is available to getgrent re-entrantly.
1467 /* GETGRENT_R_PROTO:
1468 * This symbol encodes the prototype of getgrent_r.
1469 * It is zero if d_getgrent_r is undef, and one of the
1470 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1473 #$d_getgrent_r HAS_GETGRENT_R /**/
1474 #define GETGRENT_R_PROTO $getgrent_r_proto /**/
1477 * This symbol, if defined, indicates that the getgrgid_r routine
1478 * is available to getgrgid re-entrantly.
1480 /* GETGRGID_R_PROTO:
1481 * This symbol encodes the prototype of getgrgid_r.
1482 * It is zero if d_getgrgid_r is undef, and one of the
1483 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1486 #$d_getgrgid_r HAS_GETGRGID_R /**/
1487 #define GETGRGID_R_PROTO $getgrgid_r_proto /**/
1490 * This symbol, if defined, indicates that the getgrnam_r routine
1491 * is available to getgrnam re-entrantly.
1493 /* GETGRNAM_R_PROTO:
1494 * This symbol encodes the prototype of getgrnam_r.
1495 * It is zero if d_getgrnam_r is undef, and one of the
1496 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1499 #$d_getgrnam_r HAS_GETGRNAM_R /**/
1500 #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
1502 /* HAS_GETHOSTBYADDR:
1503 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1504 * available to look up hosts by their IP addresses.
1506 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1508 /* HAS_GETHOSTBYNAME:
1509 * This symbol, if defined, indicates that the gethostbyname() routine is
1510 * available to look up host names in some data base or other.
1512 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1515 * This symbol, if defined, indicates that the gethostent() routine is
1516 * available to look up host names in some data base or another.
1518 #$d_gethent HAS_GETHOSTENT /**/
1521 * This symbol, if defined, indicates that the C program may use the
1522 * gethostname() routine to derive the host name. See also HAS_UNAME
1526 * This symbol, if defined, indicates that the C program may use the
1527 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1531 * This symbol, if defined, indicates the command to feed to the
1532 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1533 * and HAS_UNAME. Note that the command uses a fully qualified path,
1534 * so that it is safe even if used by a process with super-user
1538 * This symbol, if defined, indicates that the C program may use the
1539 * contents of PHOSTNAME as a command to feed to the popen() routine
1540 * to derive the host name.
1542 #$d_gethname HAS_GETHOSTNAME /**/
1543 #$d_uname HAS_UNAME /**/
1544 #$d_phostname HAS_PHOSTNAME /**/
1545 #ifdef HAS_PHOSTNAME
1546 #define PHOSTNAME "$aphostname" /* How to get the host name */
1549 /* HAS_GETHOSTBYADDR_R:
1550 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1551 * is available to gethostbyaddr re-entrantly.
1553 /* GETHOSTBYADDR_R_PROTO:
1554 * This symbol encodes the prototype of gethostbyaddr_r.
1555 * It is zero if d_gethostbyaddr_r is undef, and one of the
1556 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1559 #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
1560 #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
1562 /* HAS_GETHOSTBYNAME_R:
1563 * This symbol, if defined, indicates that the gethostbyname_r routine
1564 * is available to gethostbyname re-entrantly.
1566 /* GETHOSTBYNAME_R_PROTO:
1567 * This symbol encodes the prototype of gethostbyname_r.
1568 * It is zero if d_gethostbyname_r is undef, and one of the
1569 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1572 #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
1573 #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
1575 /* HAS_GETHOSTENT_R:
1576 * This symbol, if defined, indicates that the gethostent_r routine
1577 * is available to gethostent re-entrantly.
1579 /* GETHOSTENT_R_PROTO:
1580 * This symbol encodes the prototype of gethostent_r.
1581 * It is zero if d_gethostent_r is undef, and one of the
1582 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1585 #$d_gethostent_r HAS_GETHOSTENT_R /**/
1586 #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
1588 /* HAS_GETHOST_PROTOS:
1589 * This symbol, if defined, indicates that <netdb.h> includes
1590 * prototypes for gethostent(), gethostbyname(), and
1591 * gethostbyaddr(). Otherwise, it is up to the program to guess
1592 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1594 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
1597 * This symbol, if defined, indicates that the getlogin_r routine
1598 * is available to getlogin re-entrantly.
1600 /* GETLOGIN_R_PROTO:
1601 * This symbol encodes the prototype of getlogin_r.
1602 * It is zero if d_getlogin_r is undef, and one of the
1603 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1606 #$d_getlogin_r HAS_GETLOGIN_R /**/
1607 #define GETLOGIN_R_PROTO $getlogin_r_proto /**/
1609 /* HAS_GETNETBYADDR:
1610 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1611 * available to look up networks by their IP addresses.
1613 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1615 /* HAS_GETNETBYNAME:
1616 * This symbol, if defined, indicates that the getnetbyname() routine is
1617 * available to look up networks by their names.
1619 #$d_getnbyname HAS_GETNETBYNAME /**/
1622 * This symbol, if defined, indicates that the getnetent() routine is
1623 * available to look up network names in some data base or another.
1625 #$d_getnent HAS_GETNETENT /**/
1627 /* HAS_GETNETBYADDR_R:
1628 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1629 * is available to getnetbyaddr re-entrantly.
1631 /* GETNETBYADDR_R_PROTO:
1632 * This symbol encodes the prototype of getnetbyaddr_r.
1633 * It is zero if d_getnetbyaddr_r is undef, and one of the
1634 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1637 #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
1638 #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
1640 /* HAS_GETNETBYNAME_R:
1641 * This symbol, if defined, indicates that the getnetbyname_r routine
1642 * is available to getnetbyname re-entrantly.
1644 /* GETNETBYNAME_R_PROTO:
1645 * This symbol encodes the prototype of getnetbyname_r.
1646 * It is zero if d_getnetbyname_r is undef, and one of the
1647 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1650 #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
1651 #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
1654 * This symbol, if defined, indicates that the getnetent_r routine
1655 * is available to getnetent re-entrantly.
1657 /* GETNETENT_R_PROTO:
1658 * This symbol encodes the prototype of getnetent_r.
1659 * It is zero if d_getnetent_r is undef, and one of the
1660 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1663 #$d_getnetent_r HAS_GETNETENT_R /**/
1664 #define GETNETENT_R_PROTO $getnetent_r_proto /**/
1666 /* HAS_GETNET_PROTOS:
1667 * This symbol, if defined, indicates that <netdb.h> includes
1668 * prototypes for getnetent(), getnetbyname(), and
1669 * getnetbyaddr(). Otherwise, it is up to the program to guess
1670 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1672 #$d_getnetprotos HAS_GETNET_PROTOS /**/
1675 * This symbol, if defined, indicates that the getpagesize system call
1676 * is available to get system page size, which is the granularity of
1677 * many memory management calls.
1679 #$d_getpagsz HAS_GETPAGESIZE /**/
1682 * This symbol, if defined, indicates that the getprotoent() routine is
1683 * available to look up protocols in some data base or another.
1685 #$d_getpent HAS_GETPROTOENT /**/
1688 * This symbol, if defined, indicates that the getpgrp routine is
1689 * available to get the current process group.
1692 * This symbol, if defined, indicates that getpgrp needs one
1693 * arguments whereas USG one needs none.
1695 #$d_getpgrp HAS_GETPGRP /**/
1696 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1698 /* HAS_GETPROTOBYNAME:
1699 * This symbol, if defined, indicates that the getprotobyname()
1700 * routine is available to look up protocols by their name.
1702 /* HAS_GETPROTOBYNUMBER:
1703 * This symbol, if defined, indicates that the getprotobynumber()
1704 * routine is available to look up protocols by their number.
1706 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1707 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1709 /* HAS_GETPROTOBYNAME_R:
1710 * This symbol, if defined, indicates that the getprotobyname_r routine
1711 * is available to getprotobyname re-entrantly.
1713 /* GETPROTOBYNAME_R_PROTO:
1714 * This symbol encodes the prototype of getprotobyname_r.
1715 * It is zero if d_getprotobyname_r is undef, and one of the
1716 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1719 #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
1720 #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
1722 /* HAS_GETPROTOBYNUMBER_R:
1723 * This symbol, if defined, indicates that the getprotobynumber_r routine
1724 * is available to getprotobynumber re-entrantly.
1726 /* GETPROTOBYNUMBER_R_PROTO:
1727 * This symbol encodes the prototype of getprotobynumber_r.
1728 * It is zero if d_getprotobynumber_r is undef, and one of the
1729 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1732 #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
1733 #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
1735 /* HAS_GETPROTOENT_R:
1736 * This symbol, if defined, indicates that the getprotoent_r routine
1737 * is available to getprotoent re-entrantly.
1739 /* GETPROTOENT_R_PROTO:
1740 * This symbol encodes the prototype of getprotoent_r.
1741 * It is zero if d_getprotoent_r is undef, and one of the
1742 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1745 #$d_getprotoent_r HAS_GETPROTOENT_R /**/
1746 #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
1748 /* HAS_GETPROTO_PROTOS:
1749 * This symbol, if defined, indicates that <netdb.h> includes
1750 * prototypes for getprotoent(), getprotobyname(), and
1751 * getprotobyaddr(). Otherwise, it is up to the program to guess
1752 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1754 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1757 * This symbol, if defined, indicates that the getpwent routine is
1758 * available for sequential access of the passwd database.
1759 * If this is not available, the older getpw() function may be available.
1761 #$d_getpwent HAS_GETPWENT /**/
1764 * This symbol, if defined, indicates that the getpwent_r routine
1765 * is available to getpwent re-entrantly.
1767 /* GETPWENT_R_PROTO:
1768 * This symbol encodes the prototype of getpwent_r.
1769 * It is zero if d_getpwent_r is undef, and one of the
1770 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1773 #$d_getpwent_r HAS_GETPWENT_R /**/
1774 #define GETPWENT_R_PROTO $getpwent_r_proto /**/
1777 * This symbol, if defined, indicates that the getpwnam_r routine
1778 * is available to getpwnam re-entrantly.
1780 /* GETPWNAM_R_PROTO:
1781 * This symbol encodes the prototype of getpwnam_r.
1782 * It is zero if d_getpwnam_r is undef, and one of the
1783 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1786 #$d_getpwnam_r HAS_GETPWNAM_R /**/
1787 #define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
1790 * This symbol, if defined, indicates that the getpwuid_r routine
1791 * is available to getpwuid re-entrantly.
1793 /* GETPWUID_R_PROTO:
1794 * This symbol encodes the prototype of getpwuid_r.
1795 * It is zero if d_getpwuid_r is undef, and one of the
1796 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1799 #$d_getpwuid_r HAS_GETPWUID_R /**/
1800 #define GETPWUID_R_PROTO $getpwuid_r_proto /**/
1803 * This symbol, if defined, indicates that the getservent() routine is
1804 * available to look up network services in some data base or another.
1806 #$d_getsent HAS_GETSERVENT /**/
1808 /* HAS_GETSERVBYNAME_R:
1809 * This symbol, if defined, indicates that the getservbyname_r routine
1810 * is available to getservbyname re-entrantly.
1812 /* GETSERVBYNAME_R_PROTO:
1813 * This symbol encodes the prototype of getservbyname_r.
1814 * It is zero if d_getservbyname_r is undef, and one of the
1815 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1818 #$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
1819 #define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
1821 /* HAS_GETSERVBYPORT_R:
1822 * This symbol, if defined, indicates that the getservbyport_r routine
1823 * is available to getservbyport re-entrantly.
1825 /* GETSERVBYPORT_R_PROTO:
1826 * This symbol encodes the prototype of getservbyport_r.
1827 * It is zero if d_getservbyport_r is undef, and one of the
1828 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1831 #$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
1832 #define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
1834 /* HAS_GETSERVENT_R:
1835 * This symbol, if defined, indicates that the getservent_r routine
1836 * is available to getservent re-entrantly.
1838 /* GETSERVENT_R_PROTO:
1839 * This symbol encodes the prototype of getservent_r.
1840 * It is zero if d_getservent_r is undef, and one of the
1841 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1844 #$d_getservent_r HAS_GETSERVENT_R /**/
1845 #define GETSERVENT_R_PROTO $getservent_r_proto /**/
1847 /* HAS_GETSERV_PROTOS:
1848 * This symbol, if defined, indicates that <netdb.h> includes
1849 * prototypes for getservent(), getservbyname(), and
1850 * getservbyaddr(). Otherwise, it is up to the program to guess
1851 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1853 #$d_getservprotos HAS_GETSERV_PROTOS /**/
1856 * This symbol, if defined, indicates that the getspnam_r routine
1857 * is available to getspnam re-entrantly.
1859 /* GETSPNAM_R_PROTO:
1860 * This symbol encodes the prototype of getspnam_r.
1861 * It is zero if d_getspnam_r is undef, and one of the
1862 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1865 #$d_getspnam_r HAS_GETSPNAM_R /**/
1866 #define GETSPNAM_R_PROTO $getspnam_r_proto /**/
1868 /* HAS_GETSERVBYNAME:
1869 * This symbol, if defined, indicates that the getservbyname()
1870 * routine is available to look up services by their name.
1872 /* HAS_GETSERVBYPORT:
1873 * This symbol, if defined, indicates that the getservbyport()
1874 * routine is available to look up services by their port.
1876 #$d_getsbyname HAS_GETSERVBYNAME /**/
1877 #$d_getsbyport HAS_GETSERVBYPORT /**/
1880 * This symbol, if defined, indicates that the gmtime_r routine
1881 * is available to gmtime re-entrantly.
1884 * This symbol encodes the prototype of gmtime_r.
1885 * It is zero if d_gmtime_r is undef, and one of the
1886 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1889 #$d_gmtime_r HAS_GMTIME_R /**/
1890 #define GMTIME_R_PROTO $gmtime_r_proto /**/
1893 * This symbol, if defined, indicates to the C program that
1894 * the GNU C library is being used. A better check is to use
1895 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1897 #$d_gnulibc HAS_GNULIBC /**/
1898 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1899 # define _GNU_SOURCE
1903 * This symbol, if defined, indicates that the htonl() routine (and
1904 * friends htons() ntohl() ntohs()) are available to do network
1905 * order byte swapping.
1908 * This symbol, if defined, indicates that the htons() routine (and
1909 * friends htonl() ntohl() ntohs()) are available to do network
1910 * order byte swapping.
1913 * This symbol, if defined, indicates that the ntohl() routine (and
1914 * friends htonl() htons() ntohs()) are available to do network
1915 * order byte swapping.
1918 * This symbol, if defined, indicates that the ntohs() routine (and
1919 * friends htonl() htons() ntohl()) are available to do network
1920 * order byte swapping.
1922 #$d_htonl HAS_HTONL /**/
1923 #$d_htonl HAS_HTONS /**/
1924 #$d_htonl HAS_NTOHL /**/
1925 #$d_htonl HAS_NTOHS /**/
1928 * This manifest constant lets the C program know that isascii
1931 #$d_isascii HAS_ISASCII /**/
1934 * This symbol, if defined, indicates that the lchown routine is
1935 * available to operate on a symbolic link (instead of following the
1938 #$d_lchown HAS_LCHOWN /**/
1941 * This symbol, if defined, indicates that the localtime_r routine
1942 * is available to localtime re-entrantly.
1944 /* LOCALTIME_R_NEEDS_TZSET:
1945 * Many libc's localtime_r implementations do not call tzset,
1946 * making them differ from localtime(), and making timezone
1947 * changes using \$ENV{TZ} without explicitly calling tzset
1948 * impossible. This symbol makes us call tzset before localtime_r
1950 #$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
1951 #ifdef LOCALTIME_R_NEEDS_TZSET
1952 #define L_R_TZSET tzset(),
1957 /* LOCALTIME_R_PROTO:
1958 * This symbol encodes the prototype of localtime_r.
1959 * It is zero if d_localtime_r is undef, and one of the
1960 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1963 #$d_localtime_r HAS_LOCALTIME_R /**/
1964 #define LOCALTIME_R_PROTO $localtime_r_proto /**/
1967 * This symbol will be defined if the C compiler supports long
1971 * This symbol contains the size of a long double, so that the
1972 * C preprocessor can make decisions based on it. It is only
1973 * defined if the system supports long doubles.
1975 #$d_longdbl HAS_LONG_DOUBLE /**/
1976 #ifdef HAS_LONG_DOUBLE
1977 #define LONG_DOUBLESIZE $longdblsize /**/
1981 * This symbol will be defined if the C compiler supports long long.
1984 * This symbol contains the size of a long long, so that the
1985 * C preprocessor can make decisions based on it. It is only
1986 * defined if the system supports long long.
1988 #$d_longlong HAS_LONG_LONG /**/
1989 #ifdef HAS_LONG_LONG
1990 #define LONGLONGSIZE $longlongsize /**/
1994 * This symbol, if defined, indicates that the system provides
1995 * a prototype for the lseek() function. Otherwise, it is up
1996 * to the program to supply one. A good guess is
1997 * extern off_t lseek(int, off_t, int);
1999 #$d_lseekproto HAS_LSEEK_PROTO /**/
2002 * This symbol, if defined, indicates that the memchr routine is available
2003 * to locate characters within a C string.
2005 #$d_memchr HAS_MEMCHR /**/
2008 * This symbol, if defined, indicates that the mkstemp routine is
2009 * available to exclusively create and open a uniquely named
2012 #$d_mkstemp HAS_MKSTEMP /**/
2015 * This symbol, if defined, indicates that the mmap system call is
2016 * available to map a file into memory.
2019 * This symbol holds the return type of the mmap() system call
2020 * (and simultaneously the type of the first argument).
2021 * Usually set to 'void *' or 'caddr_t'.
2023 #$d_mmap HAS_MMAP /**/
2024 #define Mmap_t $mmaptype /**/
2027 * This symbol, if defined, indicates that the entire msg*(2) library is
2028 * supported (IPC mechanism based on message queues).
2030 #$d_msg HAS_MSG /**/
2033 * This manifest constant lets the C program know that the three
2034 * argument form of open(2) is available.
2036 #$d_open3 HAS_OPEN3 /**/
2038 /* OLD_PTHREAD_CREATE_JOINABLE:
2039 * This symbol, if defined, indicates how to create pthread
2040 * in joinable (aka undetached) state. NOTE: not defined
2041 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2042 * (the new version of the constant).
2043 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2046 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
2048 /* HAS_PTHREAD_ATFORK:
2049 * This symbol, if defined, indicates that the pthread_atfork routine
2050 * is available to setup fork handlers.
2052 #$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
2054 /* HAS_PTHREAD_YIELD:
2055 * This symbol, if defined, indicates that the pthread_yield
2056 * routine is available to yield the execution of the current
2057 * thread. sched_yield is preferable to pthread_yield.
2060 * This symbol defines the way to yield the execution of
2061 * the current thread. Known ways are sched_yield,
2062 * pthread_yield, and pthread_yield with NULL.
2065 * This symbol, if defined, indicates that the sched_yield
2066 * routine is available to yield the execution of the current
2067 * thread. sched_yield is preferable to pthread_yield.
2069 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
2070 #define SCHED_YIELD $sched_yield /**/
2071 #$d_sched_yield HAS_SCHED_YIELD /**/
2074 * This symbol, if defined, indicates that the random_r routine
2075 * is available to random re-entrantly.
2078 * This symbol encodes the prototype of random_r.
2079 * It is zero if d_random_r is undef, and one of the
2080 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2083 #$d_random_r HAS_RANDOM_R /**/
2084 #define RANDOM_R_PROTO $random_r_proto /**/
2087 * This symbol, if defined, indicates that the readdir64_r routine
2088 * is available to readdir64 re-entrantly.
2090 /* READDIR64_R_PROTO:
2091 * This symbol encodes the prototype of readdir64_r.
2092 * It is zero if d_readdir64_r is undef, and one of the
2093 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
2096 #$d_readdir64_r HAS_READDIR64_R /**/
2097 #define READDIR64_R_PROTO $readdir64_r_proto /**/
2100 * This symbol, if defined, indicates that the readdir_r routine
2101 * is available to readdir re-entrantly.
2104 * This symbol encodes the prototype of readdir_r.
2105 * It is zero if d_readdir_r is undef, and one of the
2106 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2109 #$d_readdir_r HAS_READDIR_R /**/
2110 #define READDIR_R_PROTO $readdir_r_proto /**/
2113 * This symbol, if defined, indicates that the bcopy routine is available
2114 * to copy potentially overlapping memory blocks. Normally, you should
2115 * probably use memmove() or memcpy(). If neither is defined, roll your
2118 #$d_safebcpy HAS_SAFE_BCOPY /**/
2121 * This symbol, if defined, indicates that the memcpy routine is available
2122 * to copy potentially overlapping memory blocks. If you need to
2123 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2124 * use memmove() instead, if available.
2126 #$d_safemcpy HAS_SAFE_MEMCPY /**/
2129 * This symbol, if defined, indicates that the memcmp routine is available
2130 * and can be used to compare relative magnitudes of chars with their high
2131 * bits set. If it is not defined, roll your own version.
2133 #$d_sanemcmp HAS_SANE_MEMCMP /**/
2136 * This symbol, if defined, indicates that the entire sem*(2) library is
2139 #$d_sem HAS_SEM /**/
2142 * This symbol, if defined, indicates that the setgrent routine is
2143 * available for initializing sequential access of the group database.
2145 #$d_setgrent HAS_SETGRENT /**/
2148 * This symbol, if defined, indicates that the setgrent_r routine
2149 * is available to setgrent re-entrantly.
2151 /* SETGRENT_R_PROTO:
2152 * This symbol encodes the prototype of setgrent_r.
2153 * It is zero if d_setgrent_r is undef, and one of the
2154 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2157 #$d_setgrent_r HAS_SETGRENT_R /**/
2158 #define SETGRENT_R_PROTO $setgrent_r_proto /**/
2161 * This symbol, if defined, indicates that the sethostent() routine is
2164 #$d_sethent HAS_SETHOSTENT /**/
2166 /* HAS_SETHOSTENT_R:
2167 * This symbol, if defined, indicates that the sethostent_r routine
2168 * is available to sethostent re-entrantly.
2170 /* SETHOSTENT_R_PROTO:
2171 * This symbol encodes the prototype of sethostent_r.
2172 * It is zero if d_sethostent_r is undef, and one of the
2173 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
2176 #$d_sethostent_r HAS_SETHOSTENT_R /**/
2177 #define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
2180 * This symbol, if defined, indicates that the setlocale_r routine
2181 * is available to setlocale re-entrantly.
2183 /* SETLOCALE_R_PROTO:
2184 * This symbol encodes the prototype of setlocale_r.
2185 * It is zero if d_setlocale_r is undef, and one of the
2186 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
2189 #$d_setlocale_r HAS_SETLOCALE_R /**/
2190 #define SETLOCALE_R_PROTO $setlocale_r_proto /**/
2193 * This symbol, if defined, indicates that the setnetent() routine is
2196 #$d_setnent HAS_SETNETENT /**/
2199 * This symbol, if defined, indicates that the setnetent_r routine
2200 * is available to setnetent re-entrantly.
2202 /* SETNETENT_R_PROTO:
2203 * This symbol encodes the prototype of setnetent_r.
2204 * It is zero if d_setnetent_r is undef, and one of the
2205 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2208 #$d_setnetent_r HAS_SETNETENT_R /**/
2209 #define SETNETENT_R_PROTO $setnetent_r_proto /**/
2212 * This symbol, if defined, indicates that the setprotoent() routine is
2215 #$d_setpent HAS_SETPROTOENT /**/
2218 * This symbol, if defined, indicates that the setpgrp routine is
2219 * available to set the current process group.
2222 * This symbol, if defined, indicates that setpgrp needs two
2223 * arguments whereas USG one needs none. See also HAS_SETPGID
2224 * for a POSIX interface.
2226 #$d_setpgrp HAS_SETPGRP /**/
2227 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2229 /* HAS_SETPROTOENT_R:
2230 * This symbol, if defined, indicates that the setprotoent_r routine
2231 * is available to setprotoent re-entrantly.
2233 /* SETPROTOENT_R_PROTO:
2234 * This symbol encodes the prototype of setprotoent_r.
2235 * It is zero if d_setprotoent_r is undef, and one of the
2236 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2239 #$d_setprotoent_r HAS_SETPROTOENT_R /**/
2240 #define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
2243 * This symbol, if defined, indicates that the setpwent routine is
2244 * available for initializing sequential access of the passwd database.
2246 #$d_setpwent HAS_SETPWENT /**/
2249 * This symbol, if defined, indicates that the setpwent_r routine
2250 * is available to setpwent re-entrantly.
2252 /* SETPWENT_R_PROTO:
2253 * This symbol encodes the prototype of setpwent_r.
2254 * It is zero if d_setpwent_r is undef, and one of the
2255 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2258 #$d_setpwent_r HAS_SETPWENT_R /**/
2259 #define SETPWENT_R_PROTO $setpwent_r_proto /**/
2262 * This symbol, if defined, indicates that the setservent() routine is
2265 #$d_setsent HAS_SETSERVENT /**/
2267 /* HAS_SETSERVENT_R:
2268 * This symbol, if defined, indicates that the setservent_r routine
2269 * is available to setservent re-entrantly.
2271 /* SETSERVENT_R_PROTO:
2272 * This symbol encodes the prototype of setservent_r.
2273 * It is zero if d_setservent_r is undef, and one of the
2274 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2277 #$d_setservent_r HAS_SETSERVENT_R /**/
2278 #define SETSERVENT_R_PROTO $setservent_r_proto /**/
2281 * This symbol, if defined, indicates that the setvbuf routine is
2282 * available to change buffering on an open stdio stream.
2283 * to a line-buffered mode.
2285 #$d_setvbuf HAS_SETVBUF /**/
2288 * This symbol, if defined, indicates that the entire shm*(2) library is
2291 #$d_shm HAS_SHM /**/
2294 * This symbol holds the return type of the shmat() system call.
2295 * Usually set to 'void *' or 'char *'.
2297 /* HAS_SHMAT_PROTOTYPE:
2298 * This symbol, if defined, indicates that the sys/shm.h includes
2299 * a prototype for shmat(). Otherwise, it is up to the program to
2300 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2301 * but not always right so it should be emitted by the program only
2302 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2304 #define Shmat_t $shmattype /**/
2305 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2308 * This symbol, if defined, indicates that Vr4's sigaction() routine
2311 #$d_sigaction HAS_SIGACTION /**/
2314 * This variable indicates to the C program that the sigsetjmp()
2315 * routine is available to save the calling process's registers
2316 * and stack environment for later use by siglongjmp(), and
2317 * to optionally save the process's signal mask. See
2318 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2321 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2324 * This macro is used in the same way as sigsetjmp(), but will invoke
2325 * traditional setjmp() if sigsetjmp isn't available.
2326 * See HAS_SIGSETJMP.
2329 * This macro is used in the same way as siglongjmp(), but will invoke
2330 * traditional longjmp() if siglongjmp isn't available.
2331 * See HAS_SIGSETJMP.
2333 #$d_sigsetjmp HAS_SIGSETJMP /**/
2334 #ifdef HAS_SIGSETJMP
2335 #define Sigjmp_buf sigjmp_buf
2336 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2337 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2339 #define Sigjmp_buf jmp_buf
2340 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2341 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2345 * This symbol, if defined, indicates that the BSD socket interface is
2349 * This symbol, if defined, indicates that the BSD socketpair() call is
2353 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2354 * Checking just with #ifdef might not be enough because this symbol
2355 * has been known to be an enum.
2357 /* HAS_MSG_DONTROUTE:
2358 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2359 * Checking just with #ifdef might not be enough because this symbol
2360 * has been known to be an enum.
2363 * This symbol, if defined, indicates that the MSG_OOB is supported.
2364 * Checking just with #ifdef might not be enough because this symbol
2365 * has been known to be an enum.
2368 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2369 * Checking just with #ifdef might not be enough because this symbol
2370 * has been known to be an enum.
2373 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2374 * Checking just with #ifdef might not be enough because this symbol
2375 * has been known to be an enum.
2378 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2379 * Checking just with #ifdef might not be enough because this symbol
2380 * has been known to be an enum.
2382 /* HAS_SOCKADDR_SA_LEN:
2383 * This symbol, if defined, indicates that the struct sockaddr
2384 * structure has a member called sa_len, indicating the length of
2387 /* HAS_SOCKADDR_IN6:
2388 * This symbol, if defined, indicates the availability of
2389 * struct sockaddr_in6;
2391 /* HAS_SIN6_SCOPE_ID:
2392 * This symbol, if defined, indicates that the struct sockaddr_in6
2393 * structure has a member called sin6_scope_id.
2396 * This symbol, if defined, indicates the availability of
2399 #$d_socket HAS_SOCKET /**/
2400 #$d_sockpair HAS_SOCKETPAIR /**/
2401 #$d_sockaddr_sa_len HAS_SOCKADDR_SA_LEN /**/
2402 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2403 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2404 #$d_msg_oob HAS_MSG_OOB /**/
2405 #$d_msg_peek HAS_MSG_PEEK /**/
2406 #$d_msg_proxy HAS_MSG_PROXY /**/
2407 #$d_scm_rights HAS_SCM_RIGHTS /**/
2408 #$d_sockaddr_in6 HAS_SOCKADDR_IN6 /**/
2409 #$d_sin6_scope_id HAS_SIN6_SCOPE_ID /**/
2410 #$d_ipv6_mreq HAS_IPV6_MREQ /**/
2413 * This symbol, if defined, indicates that the srand48_r routine
2414 * is available to srand48 re-entrantly.
2417 * This symbol encodes the prototype of srand48_r.
2418 * It is zero if d_srand48_r is undef, and one of the
2419 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2422 #$d_srand48_r HAS_SRAND48_R /**/
2423 #define SRAND48_R_PROTO $srand48_r_proto /**/
2426 * This symbol, if defined, indicates that the srandom_r routine
2427 * is available to srandom re-entrantly.
2430 * This symbol encodes the prototype of srandom_r.
2431 * It is zero if d_srandom_r is undef, and one of the
2432 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2435 #$d_srandom_r HAS_SRANDOM_R /**/
2436 #define SRANDOM_R_PROTO $srandom_r_proto /**/
2439 * This symbol is defined if this system has a stat structure declaring
2440 * st_blksize and st_blocks.
2442 #ifndef USE_STAT_BLOCKS
2443 #$d_statblks USE_STAT_BLOCKS /**/
2446 /* HAS_STATIC_INLINE:
2447 * This symbol, if defined, indicates that the C compiler supports
2448 * C99-style static inline. That is, the function can't be called
2449 * from another translation unit.
2451 /* PERL_STATIC_INLINE:
2452 * This symbol gives the best-guess incantation to use for static
2453 * inline functions. If HAS_STATIC_INLINE is defined, this will
2454 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
2455 * this will give a plain 'static'. It will always be defined
2456 * to something that gives static linkage.
2457 * Possibilities include
2458 * static inline (c99)
2459 * static __inline__ (gcc -ansi)
2460 * static __inline (MSVC)
2461 * static _inline (older MSVC)
2462 * static (c89 compilers)
2464 #$d_static_inline HAS_STATIC_INLINE /**/
2465 #define PERL_STATIC_INLINE $perl_static_inline /**/
2468 * This symbol is defined if the _ptr and _cnt fields (or similar)
2469 * of the stdio FILE structure can be used to access the stdio buffer
2470 * for a file handle. If this is defined, then the FILE_ptr(fp)
2471 * and FILE_cnt(fp) macros will also be defined and should be used
2472 * to access these fields.
2475 * This macro is used to access the _ptr field (or equivalent) of the
2476 * FILE structure pointed to by its argument. This macro will always be
2477 * defined if USE_STDIO_PTR is defined.
2479 /* STDIO_PTR_LVALUE:
2480 * This symbol is defined if the FILE_ptr macro can be used as an
2484 * This macro is used to access the _cnt field (or equivalent) of the
2485 * FILE structure pointed to by its argument. This macro will always be
2486 * defined if USE_STDIO_PTR is defined.
2488 /* STDIO_CNT_LVALUE:
2489 * This symbol is defined if the FILE_cnt macro can be used as an
2492 /* STDIO_PTR_LVAL_SETS_CNT:
2493 * This symbol is defined if using the FILE_ptr macro as an lvalue
2494 * to increase the pointer by n has the side effect of decreasing the
2495 * value of File_cnt(fp) by n.
2497 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2498 * This symbol is defined if using the FILE_ptr macro as an lvalue
2499 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2501 #$d_stdstdio USE_STDIO_PTR /**/
2502 #ifdef USE_STDIO_PTR
2503 #define FILE_ptr(fp) $stdio_ptr
2504 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
2505 #define FILE_cnt(fp) $stdio_cnt
2506 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
2507 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
2508 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
2512 * This symbol is defined if the _base field (or similar) of the
2513 * stdio FILE structure can be used to access the stdio buffer for
2514 * a file handle. If this is defined, then the FILE_base(fp) macro
2515 * will also be defined and should be used to access this field.
2516 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2517 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2518 * will never be defined unless USE_STDIO_PTR is.
2521 * This macro is used to access the _base field (or equivalent) of the
2522 * FILE structure pointed to by its argument. This macro will always be
2523 * defined if USE_STDIO_BASE is defined.
2526 * This macro is used to determine the number of bytes in the I/O
2527 * buffer pointed to by _base field (or equivalent) of the FILE
2528 * structure pointed to its argument. This macro will always be defined
2529 * if USE_STDIO_BASE is defined.
2531 #$d_stdiobase USE_STDIO_BASE /**/
2532 #ifdef USE_STDIO_BASE
2533 #define FILE_base(fp) $stdio_base
2534 #define FILE_bufsiz(fp) $stdio_bufsiz
2538 * This symbol, if defined, indicates that this C compiler knows how
2539 * to copy structures. If undefined, you'll need to use a block copy
2540 * routine of some sort instead.
2542 #$d_strctcpy USE_STRUCT_COPY /**/
2545 * This symbol, if defined, indicates that the strerror routine is
2546 * available to translate error numbers to strings. See the writeup
2547 * of Strerror() in this file before you try to define your own.
2550 * This symbol, if defined, indicates that the sys_errlist array is
2551 * available to translate error numbers to strings. The extern int
2552 * sys_nerr gives the size of that table.
2555 * This preprocessor symbol is defined as a macro if strerror() is
2556 * not available to translate error numbers to strings but sys_errlist[]
2559 #$d_strerror HAS_STRERROR /**/
2560 #$d_syserrlst HAS_SYS_ERRLIST /**/
2561 #define Strerror(e) $d_strerrm
2564 * This symbol, if defined, indicates that the strerror_r routine
2565 * is available to strerror re-entrantly.
2567 /* STRERROR_R_PROTO:
2568 * This symbol encodes the prototype of strerror_r.
2569 * It is zero if d_strerror_r is undef, and one of the
2570 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2573 #$d_strerror_r HAS_STRERROR_R /**/
2574 #define STRERROR_R_PROTO $strerror_r_proto /**/
2577 * This symbol, if defined, indicates that the strtoul routine is
2578 * available to provide conversion of strings to unsigned long.
2580 #$d_strtoul HAS_STRTOUL /**/
2583 * This symbol, if defined, indicates that the time() routine exists.
2586 * This symbol holds the type returned by time(). It can be long,
2587 * or time_t on BSD sites (in which case <sys/types.h> should be
2590 #$d_time HAS_TIME /**/
2591 #define Time_t $timetype /* Time type */
2594 * This symbol, if defined, indicates that the times() routine exists.
2595 * Note that this became obsolete on some systems (SUNOS), which now
2596 * use getrusage(). It may be necessary to include <sys/times.h>.
2598 #$d_times HAS_TIMES /**/
2601 * This symbol, if defined, indicates that the tmpnam_r routine
2602 * is available to tmpnam re-entrantly.
2605 * This symbol encodes the prototype of tmpnam_r.
2606 * It is zero if d_tmpnam_r is undef, and one of the
2607 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2610 #$d_tmpnam_r HAS_TMPNAM_R /**/
2611 #define TMPNAM_R_PROTO $tmpnam_r_proto /**/
2614 * This symbol, if defined, indicates that the ttyname_r routine
2615 * is available to ttyname re-entrantly.
2618 * This symbol encodes the prototype of ttyname_r.
2619 * It is zero if d_ttyname_r is undef, and one of the
2620 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2623 #$d_ttyname_r HAS_TTYNAME_R /**/
2624 #define TTYNAME_R_PROTO $ttyname_r_proto /**/
2627 * This symbol, if defined, indicates that the union semun is
2628 * defined by including <sys/sem.h>. If not, the user code
2629 * probably needs to define it as:
2632 * struct semid_ds *buf;
2633 * unsigned short *array;
2636 /* USE_SEMCTL_SEMUN:
2637 * This symbol, if defined, indicates that union semun is
2638 * used for semctl IPC_STAT.
2640 /* USE_SEMCTL_SEMID_DS:
2641 * This symbol, if defined, indicates that struct semid_ds * is
2642 * used for semctl IPC_STAT.
2644 #$d_union_semun HAS_UNION_SEMUN /**/
2645 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2646 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2649 * This symbol, if defined, indicates that vfork() exists.
2651 #$d_vfork HAS_VFORK /**/
2654 * This symbol, if defined, indicates that an emulation of the
2655 * fork routine is available.
2657 #$d_pseudofork HAS_PSEUDOFORK /**/
2660 * This symbol's value is either "void" or "int", corresponding to the
2661 * appropriate return type of a signal handler. Thus, you can declare
2662 * a signal handler using "Signal_t (*handler)()", and define the
2663 * handler using "Signal_t handler(sig)".
2665 #define Signal_t $signal_t /* Signal handler's return type */
2668 * This symbol, if defined, indicates that this C compiler knows about
2669 * the volatile declaration.
2671 #$d_volatile HASVOLATILE /**/
2677 * This symbol, if defined, indicates that the vprintf routine is available
2678 * to printf with a pointer to an argument list. If unavailable, you
2679 * may need to write your own, probably in terms of _doprnt().
2681 /* USE_CHAR_VSPRINTF:
2682 * This symbol is defined if this system has vsprintf() returning type
2683 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2684 * is up to the package author to declare vsprintf correctly based on the
2687 #$d_vprintf HAS_VPRINTF /**/
2688 #$d_charvspr USE_CHAR_VSPRINTF /**/
2691 * This symbol contains the size of a double, so that the C preprocessor
2692 * can make decisions based on it.
2694 #define DOUBLESIZE $doublesize /**/
2697 * This symbol, if defined, indicates that this system uses
2700 #$ebcdic EBCDIC /**/
2703 * This symbol holds the type used to declare file positions in libc.
2704 * It can be fpos_t, long, uint, etc... It may be necessary to include
2705 * <sys/types.h> to get any typedef'ed information.
2707 #define Fpos_t $fpostype /* File position type */
2710 * This symbol defines the format string used for printing a Gid_t.
2712 #define Gid_t_f $gidformat /**/
2715 * This symbol holds the signedess of a Gid_t.
2716 * 1 for unsigned, -1 for signed.
2718 #define Gid_t_sign $gidsign /* GID sign */
2721 * This symbol holds the size of a Gid_t in bytes.
2723 #define Gid_t_size $gidsize /* GID size */
2726 * This symbol holds the return type of getgid() and the type of
2727 * argument to setrgid() and related functions. Typically,
2728 * it is the type of group ids in the kernel. It can be int, ushort,
2729 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2730 * any typedef'ed information.
2732 #define Gid_t $gidtype /* Type for getgid(), etc... */
2735 * This symbol, if defined, indicates to the C program that it should
2736 * include <dirent.h>. Using this symbol also triggers the definition
2737 * of the Direntry_t define which ends up being 'struct dirent' or
2738 * 'struct direct' depending on the availability of <dirent.h>.
2741 * This symbol, if defined, indicates to the C program that the length
2742 * of directory entry names is provided by a d_namlen field. Otherwise
2743 * you need to do strlen() on the d_name field.
2746 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2747 * whether dirent is available or not. You should use this pseudo type to
2748 * portably declare your directory entries.
2750 #$i_dirent I_DIRENT /**/
2751 #$d_dirnamlen DIRNAMLEN /**/
2752 #define Direntry_t $direntrytype
2755 * This symbol, if defined, indicates to the C program that it should
2759 * This symbol, if defined, indicates to the C program that struct group
2760 * in <grp.h> contains gr_passwd.
2763 #$d_grpasswd GRPASSWD /**/
2766 * This symbol, if defined, indicates to the C program that it should
2767 * include <mach/cthreads.h>.
2769 #$i_machcthr I_MACH_CTHREADS /**/
2772 * This symbol, if defined, indicates that <ndbm.h> exists and should
2776 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2777 * be included. This was the location of the ndbm.h compatibility file
2781 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2782 * be included. This is the location of the ndbm.h compatibility file
2785 /* NDBM_H_USES_PROTOTYPES:
2786 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2787 * prototypes instead of K&R style function declarations without any
2788 * parameter information. While ANSI C prototypes are supported in C++,
2789 * K&R style function declarations will yield errors.
2791 /* GDBMNDBM_H_USES_PROTOTYPES:
2792 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2793 * prototypes instead of K&R style function declarations without any
2794 * parameter information. While ANSI C prototypes are supported in C++,
2795 * K&R style function declarations will yield errors.
2797 /* GDBM_NDBM_H_USES_PROTOTYPES:
2798 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2799 * prototypes instead of K&R style function declarations without any
2800 * parameter information. While ANSI C prototypes are supported in C++,
2801 * K&R style function declarations will yield errors.
2803 #$i_ndbm I_NDBM /**/
2804 #$i_gdbmndbm I_GDBMNDBM /**/
2805 #$i_gdbm_ndbm I_GDBM_NDBM /**/
2806 #$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
2807 #$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
2808 #$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
2811 * This symbol, if defined, indicates that <netdb.h> exists and
2812 * should be included.
2814 #$i_netdb I_NETDB /**/
2817 * This symbol, if defined, indicates that <net/errno.h> exists and
2818 * should be included.
2820 #$i_neterrno I_NET_ERRNO /**/
2823 * This symbol, if defined, indicates to the C program that it should
2824 * include <pthread.h>.
2826 #$i_pthread I_PTHREAD /**/
2829 * This symbol, if defined, indicates to the C program that it should
2833 * This symbol, if defined, indicates to the C program that struct passwd
2834 * contains pw_quota.
2837 * This symbol, if defined, indicates to the C program that struct passwd
2841 * This symbol, if defined, indicates to the C program that struct passwd
2842 * contains pw_change.
2845 * This symbol, if defined, indicates to the C program that struct passwd
2846 * contains pw_class.
2849 * This symbol, if defined, indicates to the C program that struct passwd
2850 * contains pw_expire.
2853 * This symbol, if defined, indicates to the C program that struct passwd
2854 * contains pw_comment.
2857 * This symbol, if defined, indicates to the C program that struct passwd
2858 * contains pw_gecos.
2861 * This symbol, if defined, indicates to the C program that struct passwd
2862 * contains pw_passwd.
2865 #$d_pwquota PWQUOTA /**/
2866 #$d_pwage PWAGE /**/
2867 #$d_pwchange PWCHANGE /**/
2868 #$d_pwclass PWCLASS /**/
2869 #$d_pwexpire PWEXPIRE /**/
2870 #$d_pwcomment PWCOMMENT /**/
2871 #$d_pwgecos PWGECOS /**/
2872 #$d_pwpasswd PWPASSWD /**/
2875 * This symbol, if defined, indicates to the C program that it should
2876 * include <sys/access.h>.
2878 #$i_sysaccess I_SYS_ACCESS /**/
2881 * This symbol, if defined, indicates to the C program that it should
2882 * include <sys/security.h>.
2884 #$i_syssecrt I_SYS_SECURITY /**/
2887 * This symbol, if defined, indicates that <sys/uio.h> exists and
2888 * should be included.
2890 #$i_sysuio I_SYSUIO /**/
2893 * This symbol, if defined, indicates to the C program that it should
2897 * This symbol, if defined, indicates to the C program that it should
2898 * include <sys/time.h>.
2900 /* I_SYS_TIME_KERNEL:
2901 * This symbol, if defined, indicates to the C program that it should
2902 * include <sys/time.h> with KERNEL defined.
2905 * This symbol, if defined, indicates to the C program that
2906 * the struct tm has a tm_zone field.
2908 /* HAS_TM_TM_GMTOFF:
2909 * This symbol, if defined, indicates to the C program that
2910 * the struct tm has a tm_gmtoff field.
2912 #$i_time I_TIME /**/
2913 #$i_systime I_SYS_TIME /**/
2914 #$i_systimek I_SYS_TIME_KERNEL /**/
2915 #$d_tm_tm_zone HAS_TM_TM_ZONE /**/
2916 #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
2919 * This symbol, if defined, indicates that <stdarg.h> exists and should
2923 * This symbol, if defined, indicates to the C program that it should
2924 * include <varargs.h>.
2926 #$i_stdarg I_STDARG /**/
2927 #$i_varargs I_VARARGS /**/
2929 /* PERL_INC_VERSION_LIST:
2930 * This variable specifies the list of subdirectories in over
2931 * which perl.c:incpush() and lib/lib.pm will automatically
2932 * search when adding directories to @INC, in a format suitable
2933 * for a C initialization string. See the inc_version_list entry
2934 * in Porting/Glossary for more details.
2936 #$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
2938 /* INSTALL_USR_BIN_PERL:
2939 * This symbol, if defined, indicates that Perl is to be installed
2940 * also as /usr/bin/perl.
2942 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
2945 * This symbol holds the type used to declare offsets in the kernel.
2946 * It can be int, long, off_t, etc... It may be necessary to include
2947 * <sys/types.h> to get any typedef'ed information.
2950 * This symbol holds the number of bytes used by the Off_t.
2953 * This symbol holds the number of bytes used by the Off_t.
2955 #define Off_t $lseektype /* <offset> type */
2956 #define LSEEKSIZE $lseeksize /* <offset> size */
2957 #define Off_t_size $lseeksize /* <offset> size */
2960 * This variable contains the return type of free(). It is usually
2961 * void, but occasionally int.
2964 * This symbol is the type of pointer returned by malloc and realloc.
2966 #define Malloc_t $malloctype /**/
2967 #define Free_t $freetype /**/
2969 /* PERL_MALLOC_WRAP:
2970 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2972 #$usemallocwrap PERL_MALLOC_WRAP /**/
2975 * This symbol, if defined, indicates that we're using our own malloc.
2977 #$d_mymalloc MYMALLOC /**/
2980 * This symbol holds the type used to declare file modes
2981 * for systems calls. It is usually mode_t, but may be
2982 * int or unsigned short. It may be necessary to include <sys/types.h>
2983 * to get any typedef'ed information.
2985 #define Mode_t $modetype /* file mode parameter for system calls */
2988 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2989 * non-blocking I/O for the file descriptor. Note that there is no way
2990 * back, i.e. you cannot turn it blocking again this way. If you wish to
2991 * alternatively switch between blocking and non-blocking, use the
2992 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2995 * This symbol holds the errno error code set by read() when no data was
2996 * present on the non-blocking file descriptor.
2999 * This symbol holds the return code from read() when no data is present
3000 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3001 * not defined, then you can't distinguish between no data and EOF by
3002 * issuing a read(). You'll have to find another way to tell for sure!
3005 * This symbol, if defined, indicates to the C program that a read() on
3006 * a non-blocking file descriptor will return 0 on EOF, and not the value
3007 * held in RD_NODATA (-1 usually, in that case!).
3009 #define VAL_O_NONBLOCK $o_nonblock
3010 #define VAL_EAGAIN $eagain
3011 #define RD_NODATA $rd_nodata
3012 #$d_eofnblk EOF_NONBLOCK
3015 * This symbol holds the type used for the 1st argument
3016 * to gethostbyaddr().
3019 * This symbol holds the type used for the 2nd argument
3020 * to gethostbyaddr().
3023 * This symbol holds the type used for the argument to
3027 * This symbol holds the type used for the 1st argument to
3030 #define Netdb_host_t $netdb_host_type /**/
3031 #define Netdb_hlen_t $netdb_hlen_type /**/
3032 #define Netdb_name_t $netdb_name_type /**/
3033 #define Netdb_net_t $netdb_net_type /**/
3035 /* PERL_OTHERLIBDIRS:
3036 * This variable contains a colon-separated set of paths for the perl
3037 * binary to search for additional library files or modules.
3038 * These directories will be tacked to the end of @INC.
3039 * Perl will automatically search below each path for version-
3040 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3043 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
3046 * This symbol holds the type used to declare process ids in the kernel.
3047 * It can be int, uint, pid_t, etc... It may be necessary to include
3048 * <sys/types.h> to get any typedef'ed information.
3050 #define Pid_t $pidtype /* PID type */
3053 * This symbol contains the name of the private library for this package.
3054 * The library is private in the sense that it needn't be in anyone's
3055 * execution path, but it should be accessible by the world. The program
3056 * should be prepared to do ~ expansion.
3059 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3060 * in programs that are not prepared to deal with ~ expansion at run-time.
3062 #define PRIVLIB "$privlib" /**/
3063 #define PRIVLIB_EXP "$privlibexp" /**/
3066 * If defined, this macro indicates that the C compiler can handle
3067 * function prototypes.
3070 * This macro is used to declare function parameters for folks who want
3071 * to make declarations with prototypes using a different style than
3072 * the above macros. Use double parentheses. For example:
3074 * int main _((int argc, char *argv[]));
3076 #$prototype CAN_PROTOTYPE /**/
3077 #ifdef CAN_PROTOTYPE
3078 #define _(args) args
3084 * This symbol contains the size of a pointer, so that the C preprocessor
3085 * can make decisions based on it. It will be sizeof(void *) if
3086 * the compiler supports (void *); otherwise it will be
3089 #define PTRSIZE $ptrsize /**/
3092 * This symbol, if defined, tells that there's a 64-bit integer type,
3093 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
3094 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
3095 * or QUAD_IS___INT64.
3097 #$d_quad HAS_QUAD /**/
3099 # define Quad_t $quadtype /**/
3100 # define Uquad_t $uquadtype /**/
3101 # define QUADKIND $quadkind /**/
3102 # define QUAD_IS_INT 1
3103 # define QUAD_IS_LONG 2
3104 # define QUAD_IS_LONG_LONG 3
3105 # define QUAD_IS_INT64_T 4
3106 # define QUAD_IS___INT64 5
3110 * This macro is to be used to generate uniformly distributed
3111 * random numbers over the range [0., 1.[. You may have to supply
3112 * an 'extern double drand48();' in your program since SunOS 4.1.3
3113 * doesn't provide you with anything relevant in its headers.
3114 * See HAS_DRAND48_PROTO.
3117 * This symbol defines the type of the argument of the
3118 * random seed function.
3121 * This symbol defines the macro to be used in seeding the
3122 * random number generator (see Drand01).
3125 * This symbol indicates how many bits are produced by the
3126 * function used to generate normalized random numbers.
3127 * Values include 15, 16, 31, and 48.
3129 #define Drand01() $drand01 /**/
3130 #define Rand_seed_t $randseedtype /**/
3131 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3132 #define RANDBITS $randbits /**/
3135 * This symbol holds the type used for the 2nd, 3rd, and 4th
3136 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3137 * is defined, and 'int *' otherwise. This is only useful if you
3138 * have select(), of course.
3140 #define Select_fd_set_t $selecttype /**/
3143 * This symbol contains the full pathname to the shell used on this
3144 * on this system to execute Bourne shell scripts. Usually, this will be
3145 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3146 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3149 #define SH_PATH "$sh" /**/
3152 * This symbol contains a list of signal names in order of
3153 * signal number. This is intended
3154 * to be used as a static array initialization, like this:
3155 * char *sig_name[] = { SIG_NAME };
3156 * The signals in the list are separated with commas, and each signal
3157 * is surrounded by double quotes. There is no leading SIG in the signal
3158 * name, i.e. SIGQUIT is known as "QUIT".
3159 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3160 * etc., where nn is the actual signal number (e.g. NUM37).
3161 * The signal number for sig_name[i] is stored in sig_num[i].
3162 * The last element is 0 to terminate the list with a NULL. This
3163 * corresponds to the 0 at the end of the sig_name_init list.
3164 * Note that this variable is initialized from the sig_name_init,
3165 * not from sig_name (which is unused).
3168 * This symbol contains a list of signal numbers, in the same order as the
3169 * SIG_NAME list. It is suitable for static array initialization, as in:
3170 * int sig_num[] = { SIG_NUM };
3171 * The signals in the list are separated with commas, and the indices
3172 * within that list and the SIG_NAME list match, so it's easy to compute
3173 * the signal name from a number or vice versa at the price of a small
3174 * dynamic linear lookup.
3175 * Duplicates are allowed, but are moved to the end of the list.
3176 * The signal number corresponding to sig_name[i] is sig_number[i].
3177 * if (i < NSIG) then sig_number[i] == i.
3178 * The last element is 0, corresponding to the 0 at the end of
3179 * the sig_name_init list.
3180 * Note that this variable is initialized from the sig_num_init,
3181 * not from sig_num (which is unused).
3184 * This variable contains the number of elements of the SIG_NAME
3185 * and SIG_NUM arrays, excluding the final NULL entry.
3187 #define SIG_NAME $sig_name_init /**/
3188 #define SIG_NUM $sig_num_init /**/
3189 #define SIG_SIZE $sig_size /**/
3192 * This symbol contains the name of the private library for this package.
3193 * The library is private in the sense that it needn't be in anyone's
3194 * execution path, but it should be accessible by the world. The program
3195 * should be prepared to do ~ expansion.
3196 * The standard distribution will put nothing in this directory.
3197 * After perl has been installed, users may install their own local
3198 * architecture-dependent modules in this directory with
3199 * MakeMaker Makefile.PL
3200 * or equivalent. See INSTALL for details.
3203 * This symbol contains the ~name expanded version of SITEARCH, to be used
3204 * in programs that are not prepared to deal with ~ expansion at run-time.
3206 #$d_sitearch SITEARCH "$sitearch" /**/
3207 #$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
3210 * This symbol contains the name of the private library for this package.
3211 * The library is private in the sense that it needn't be in anyone's
3212 * execution path, but it should be accessible by the world. The program
3213 * should be prepared to do ~ expansion.
3214 * The standard distribution will put nothing in this directory.
3215 * After perl has been installed, users may install their own local
3216 * architecture-independent modules in this directory with
3217 * MakeMaker Makefile.PL
3218 * or equivalent. See INSTALL for details.
3221 * This symbol contains the ~name expanded version of SITELIB, to be used
3222 * in programs that are not prepared to deal with ~ expansion at run-time.
3225 * This define is SITELIB_EXP with any trailing version-specific component
3226 * removed. The elements in inc_version_list (inc_version_list.U) can
3227 * be tacked onto this variable to generate a list of directories to search.
3229 #define SITELIB "$sitelib" /**/
3230 #define SITELIB_EXP "$sitelibexp" /**/
3231 #define SITELIB_STEM "$sitelib_stem" /**/
3234 * This symbol holds the size of a Size_t in bytes.
3236 #define Size_t_size $sizesize /**/
3239 * This symbol holds the type used to declare length parameters
3240 * for string functions. It is usually size_t, but may be
3241 * unsigned long, int, etc. It may be necessary to include
3242 * <sys/types.h> to get any typedef'ed information.
3244 #define Size_t $sizetype /* length parameter for string functions */
3247 * This symbol holds the type used for the size argument of
3248 * various socket calls (just the base type, not the pointer-to).
3250 #define Sock_size_t $socksizetype /**/
3253 * This symbol holds the type used by functions that return
3254 * a count of bytes or an error condition. It must be a signed type.
3255 * It is usually ssize_t, but may be long or int, etc.
3256 * It may be necessary to include <sys/types.h> or <unistd.h>
3257 * to get any typedef'ed information.
3258 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3260 #define SSize_t $ssizetype /* signed count of bytes */
3263 * This symbol is defined to be the type of char used in stdio.h.
3264 * It has the values "unsigned char" or "char".
3266 #define STDCHAR $stdchar /**/
3269 * This symbol defines the format string used for printing a Uid_t.
3271 #define Uid_t_f $uidformat /**/
3274 * This symbol holds the signedess of a Uid_t.
3275 * 1 for unsigned, -1 for signed.
3277 #define Uid_t_sign $uidsign /* UID sign */
3280 * This symbol holds the size of a Uid_t in bytes.
3282 #define Uid_t_size $uidsize /* UID size */
3285 * This symbol holds the type used to declare user ids in the kernel.
3286 * It can be int, ushort, uid_t, etc... It may be necessary to include
3287 * <sys/types.h> to get any typedef'ed information.
3289 #define Uid_t $uidtype /* UID type */
3292 * This symbol, if defined, indicates that Perl should be built to
3293 * use the interpreter-based threading implementation.
3296 * This symbol, if defined, indicates that Perl should be built to
3297 * use the 5.005-based threading implementation.
3298 * Only valid up to 5.8.x.
3300 /* OLD_PTHREADS_API:
3301 * This symbol, if defined, indicates that Perl should
3302 * be built to use the old draft POSIX threads API.
3304 /* USE_REENTRANT_API:
3305 * This symbol, if defined, indicates that Perl should
3306 * try to use the various _r versions of library functions.
3307 * This is extremely experimental.
3309 #$use5005threads USE_5005THREADS /**/
3310 #$useithreads USE_ITHREADS /**/
3311 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3312 #define USE_THREADS /* until src is revised*/
3314 #$d_oldpthreads OLD_PTHREADS_API /**/
3315 #$usereentrant USE_REENTRANT_API /**/
3318 * If defined, this symbol contains the name of a private library.
3319 * The library is private in the sense that it needn't be in anyone's
3320 * execution path, but it should be accessible by the world.
3321 * It may have a ~ on the front.
3322 * The standard distribution will put nothing in this directory.
3323 * Vendors who distribute perl may wish to place their own
3324 * architecture-dependent modules and extensions in this directory with
3325 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3326 * or equivalent. See INSTALL for details.
3328 /* PERL_VENDORARCH_EXP:
3329 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3330 * in programs that are not prepared to deal with ~ expansion at run-time.
3332 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
3333 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
3335 /* PERL_VENDORLIB_EXP:
3336 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3337 * in programs that are not prepared to deal with ~ expansion at run-time.
3339 /* PERL_VENDORLIB_STEM:
3340 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3341 * removed. The elements in inc_version_list (inc_version_list.U) can
3342 * be tacked onto this variable to generate a list of directories to search.
3344 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
3345 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
3348 * This symbol indicates how much support of the void type is given by this
3349 * compiler. What various bits mean:
3351 * 1 = supports declaration of void
3352 * 2 = supports arrays of pointers to functions returning void
3353 * 4 = supports comparisons between pointers to void functions and
3354 * addresses of void functions
3355 * 8 = supports declaration of generic void pointers
3357 * The package designer should define VOIDUSED to indicate the requirements
3358 * of the package. This can be done either by #defining VOIDUSED before
3359 * including config.h, or by defining defvoidused in Myinit.U. If the
3360 * latter approach is taken, only those flags will be tested. If the
3361 * level of void support necessary is not present, defines void to int.
3364 #define VOIDUSED $defvoidused
3366 #define VOIDFLAGS $voidflags
3367 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3368 #define void int /* is void to be avoided? */
3369 #define M_VOID /* Xenix strikes again */
3373 * This symbol, if defined, indicates that Perl was configured with
3374 * -Dusedevel, to enable development features. This should not be
3375 * done for production builds.
3377 #$usedevel PERL_USE_DEVEL /**/
3380 * This symbol, if defined, indicates that the atolf routine is
3381 * available to convert strings into long doubles.
3383 #$d_atolf HAS_ATOLF /**/
3386 * This symbol, if defined, indicates that the atoll routine is
3387 * available to convert strings into long longs.
3389 #$d_atoll HAS_ATOLL /**/
3392 * This symbol, if defined, indicates that the _fwalk system call is
3393 * available to apply a function to all the file handles.
3395 #$d__fwalk HAS__FWALK /**/
3398 * This symbol, if defined, indicates that the aintl routine is
3399 * available. If copysignl is also present we can emulate modfl.
3401 #$d_aintl HAS_AINTL /**/
3403 /* HAS_BUILTIN_CHOOSE_EXPR:
3404 * Can we handle GCC builtin for compile-time ternary-like expressions
3406 /* HAS_BUILTIN_EXPECT:
3407 * Can we handle GCC builtin for telling that certain values are more
3410 #$d_builtin_expect HAS_BUILTIN_EXPECT /**/
3411 #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
3413 /* HAS_C99_VARIADIC_MACROS:
3414 * If defined, the compiler supports C99 variadic macros.
3416 #$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
3419 * This symbol, if defined, indicates that the class routine is
3420 * available to classify doubles. Available for example in AIX.
3421 * The returned values are defined in <float.h> and are:
3423 * FP_PLUS_NORM Positive normalized, nonzero
3424 * FP_MINUS_NORM Negative normalized, nonzero
3425 * FP_PLUS_DENORM Positive denormalized, nonzero
3426 * FP_MINUS_DENORM Negative denormalized, nonzero
3428 * FP_MINUS_ZERO -0.0
3431 * FP_NANS Signaling Not a Number (NaNS)
3432 * FP_NANQ Quiet Not a Number (NaNQ)
3434 #$d_class HAS_CLASS /**/
3437 * This symbol, if defined, indicates that the clearenv () routine is
3438 * available for use.
3440 #$d_clearenv HAS_CLEARENV /**/
3442 /* HAS_STRUCT_CMSGHDR:
3443 * This symbol, if defined, indicates that the struct cmsghdr
3446 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
3449 * This symbol, if defined, indicates that the copysignl routine is
3450 * available. If aintl is also present we can emulate modfl.
3452 #$d_copysignl HAS_COPYSIGNL /**/
3455 * This symbol, if defined, indicates that a C++ compiler was
3456 * used to compiled Perl and will be used to compile extensions.
3458 #$d_cplusplus USE_CPLUSPLUS /**/
3460 /* HAS_DBMINIT_PROTO:
3461 * This symbol, if defined, indicates that the system provides
3462 * a prototype for the dbminit() function. Otherwise, it is up
3463 * to the program to supply one. A good guess is
3464 * extern int dbminit(char *);
3466 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
3469 * This symbol, if defined, indicates that the the DIR* dirstream
3470 * structure contains a member variable named dd_fd.
3472 #$d_dir_dd_fd HAS_DIR_DD_FD /**/
3475 * This manifest constant lets the C program know that dirfd
3478 #$d_dirfd HAS_DIRFD /**/
3480 /* DLSYM_NEEDS_UNDERSCORE:
3481 * This symbol, if defined, indicates that we need to prepend an
3482 * underscore to the symbol name before calling dlsym(). This only
3483 * makes sense if you *have* dlsym, which we will presume is the
3484 * case if you're using dl_dlopen.xs.
3486 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
3489 * This symbol, if defined, indicates that the "fast stdio"
3490 * is available to manipulate the stdio buffers directly.
3492 #$d_faststdio HAS_FAST_STDIO /**/
3495 * This symbol, if defined, indicates that the fchdir routine is
3496 * available to change directory using a file descriptor.
3498 #$d_fchdir HAS_FCHDIR /**/
3501 * This symbol, if defined, indicates that fcntl() can be used
3502 * for file locking. Normally on Unix systems this is defined.
3503 * It may be undefined on VMS.
3505 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
3508 * This symbol, if defined, indicates that the finite routine is
3509 * available to check whether a double is finite (non-infinity non-NaN).
3511 #$d_finite HAS_FINITE /**/
3514 * This symbol, if defined, indicates that the finitel routine is
3515 * available to check whether a long double is finite
3516 * (non-infinity non-NaN).
3518 #$d_finitel HAS_FINITEL /**/
3521 * This symbol, if defined, indicates that the system provides
3522 * a prototype for the flock() function. Otherwise, it is up
3523 * to the program to supply one. A good guess is
3524 * extern int flock(int, int);
3526 #$d_flockproto HAS_FLOCK_PROTO /**/
3529 * This symbol, if defined, indicates that the fp_class routine is
3530 * available to classify doubles. Available for example in Digital UNIX.
3531 * The returned values are defined in <math.h> and are:
3533 * FP_SNAN Signaling NaN (Not-a-Number)
3534 * FP_QNAN Quiet NaN (Not-a-Number)
3535 * FP_POS_INF +infinity
3536 * FP_NEG_INF -infinity
3537 * FP_POS_NORM Positive normalized
3538 * FP_NEG_NORM Negative normalized
3539 * FP_POS_DENORM Positive denormalized
3540 * FP_NEG_DENORM Negative denormalized
3541 * FP_POS_ZERO +0.0 (positive zero)
3542 * FP_NEG_ZERO -0.0 (negative zero)
3544 #$d_fp_class HAS_FP_CLASS /**/
3547 * This symbol, if defined, indicates that the fpclass routine is
3548 * available to classify doubles. Available for example in Solaris/SVR4.
3549 * The returned values are defined in <ieeefp.h> and are:
3551 * FP_SNAN signaling NaN
3553 * FP_NINF negative infinity
3554 * FP_PINF positive infinity
3555 * FP_NDENORM negative denormalized non-zero
3556 * FP_PDENORM positive denormalized non-zero
3557 * FP_NZERO negative zero
3558 * FP_PZERO positive zero
3559 * FP_NNORM negative normalized non-zero
3560 * FP_PNORM positive normalized non-zero
3562 #$d_fpclass HAS_FPCLASS /**/
3565 * This symbol, if defined, indicates that the fpclassify routine is
3566 * available to classify doubles. Available for example in HP-UX.
3567 * The returned values are defined in <math.h> and are
3569 * FP_NORMAL Normalized
3571 * FP_INFINITE Infinity
3572 * FP_SUBNORMAL Denormalized
3576 #$d_fpclassify HAS_FPCLASSIFY /**/
3579 * This symbol, if defined, indicates that the fpclassl routine is
3580 * available to classify long doubles. Available for example in IRIX.
3581 * The returned values are defined in <ieeefp.h> and are:
3583 * FP_SNAN signaling NaN
3585 * FP_NINF negative infinity
3586 * FP_PINF positive infinity
3587 * FP_NDENORM negative denormalized non-zero
3588 * FP_PDENORM positive denormalized non-zero
3589 * FP_NZERO negative zero
3590 * FP_PZERO positive zero
3591 * FP_NNORM negative normalized non-zero
3592 * FP_PNORM positive normalized non-zero
3594 #$d_fpclassl HAS_FPCLASSL /**/
3597 * This symbol will be defined if the C compiler supports fpos64_t.
3599 #$d_fpos64_t HAS_FPOS64_T /**/
3602 * This symbol, if defined, indicates that the frexpl routine is
3603 * available to break a long double floating-point number into
3604 * a normalized fraction and an integral power of 2.
3606 #$d_frexpl HAS_FREXPL /**/
3608 /* HAS_STRUCT_FS_DATA:
3609 * This symbol, if defined, indicates that the struct fs_data
3610 * to do statfs() is supported.
3612 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
3615 * This symbol, if defined, indicates that the fseeko routine is
3616 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3618 #$d_fseeko HAS_FSEEKO /**/
3621 * This symbol, if defined, indicates that the fstatfs routine is
3622 * available to stat filesystems by file descriptors.
3624 #$d_fstatfs HAS_FSTATFS /**/
3627 * This symbol, if defined, indicates that the fsync routine is
3628 * available to write a file's modified data and attributes to
3629 * permanent storage.
3631 #$d_fsync HAS_FSYNC /**/
3634 * This symbol, if defined, indicates that the ftello routine is
3635 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3637 #$d_ftello HAS_FTELLO /**/
3640 * This symbol, if defined, indicates that the futimes routine is
3641 * available to change file descriptor time stamps with struct timevals.
3643 #$d_futimes HAS_FUTIMES /**/
3646 * This symbol, if defined, indicates that the getaddrinfo() function
3647 * is available for use.
3649 #$d_getaddrinfo HAS_GETADDRINFO /**/
3652 * This symbol, if defined, indicates that the getcwd routine is
3653 * available to get the current working directory.
3655 #$d_getcwd HAS_GETCWD /**/
3658 * This symbol, if defined, indicates that the getespwnam system call is
3659 * available to retrieve enhanced (shadow) password entries by name.
3661 #$d_getespwnam HAS_GETESPWNAM /**/
3664 * This symbol, if defined, indicates that the getfsstat routine is
3665 * available to stat filesystems in bulk.
3667 #$d_getfsstat HAS_GETFSSTAT /**/
3670 * This symbol, if defined, indicates that the getitimer routine is
3671 * available to return interval timers.
3673 #$d_getitimer HAS_GETITIMER /**/
3676 * This symbol, if defined, indicates that the getmnt routine is
3677 * available to get filesystem mount info by filename.
3679 #$d_getmnt HAS_GETMNT /**/
3682 * This symbol, if defined, indicates that the getmntent routine is
3683 * available to iterate through mounted file systems to get their info.
3685 #$d_getmntent HAS_GETMNTENT /**/
3688 * This symbol, if defined, indicates that the getnameinfo() function
3689 * is available for use.
3691 #$d_getnameinfo HAS_GETNAMEINFO /**/
3694 * This symbol, if defined, indicates that the getprpwnam system call is
3695 * available to retrieve protected (shadow) password entries by name.
3697 #$d_getprpwnam HAS_GETPRPWNAM /**/
3700 * This symbol, if defined, indicates that the getspnam system call is
3701 * available to retrieve SysV shadow password entries by name.
3703 #$d_getspnam HAS_GETSPNAM /**/
3706 * This symbol, if defined, indicates that the hasmntopt routine is
3707 * available to query the mount options of file systems.
3709 #$d_hasmntopt HAS_HASMNTOPT /**/
3712 * This symbol, if defined, indicates that the ilogbl routine is
3713 * available. If scalbnl is also present we can emulate frexpl.
3715 #$d_ilogbl HAS_ILOGBL /**/
3718 * This symbol, if defined, indicates that the inet_ntop() function
3719 * is available to parse IPv4 and IPv6 strings.
3721 #$d_inetntop HAS_INETNTOP /**/
3724 * This symbol, if defined, indicates that the inet_pton() function
3725 * is available to parse IPv4 and IPv6 strings.
3727 #$d_inetpton HAS_INETPTON /**/
3730 * This symbol will defined if the C compiler supports int64_t.
3731 * Usually the <inttypes.h> needs to be included, but sometimes
3732 * <sys/types.h> is enough.
3734 #$d_int64_t HAS_INT64_T /**/
3737 * This manifest constant lets the C program know that isblank
3740 #$d_isblank HAS_ISBLANK /**/
3743 * This symbol, if defined, indicates that the isfinite routine is
3744 * available to check whether a double is finite (non-infinity non-NaN).
3746 #$d_isfinite HAS_ISFINITE /**/
3749 * This symbol, if defined, indicates that the isinf routine is
3750 * available to check whether a double is an infinity.
3752 #$d_isinf HAS_ISINF /**/
3755 * This symbol, if defined, indicates that the isnan routine is
3756 * available to check whether a double is a NaN.
3758 #$d_isnan HAS_ISNAN /**/
3761 * This symbol, if defined, indicates that the isnanl routine is
3762 * available to check whether a long double is a NaN.
3764 #$d_isnanl HAS_ISNANL /**/
3767 * This symbol, if defined, indicates that this system's <float.h>
3768 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3769 * of significant digits in a long double precision number. Unlike
3770 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3772 #$d_ldbl_dig HAS_LDBL_DIG /* */
3774 /* LIBM_LIB_VERSION:
3775 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3776 * and that math.h defines the enum to manipulate it.
3778 #$d_libm_lib_version LIBM_LIB_VERSION /**/
3781 * This symbol, if defined, indicates that the madvise system call is
3782 * available to map a file into memory.
3784 #$d_madvise HAS_MADVISE /**/
3787 * This symbol, if defined, indicates that the malloc_size
3788 * routine is available for use.
3790 #$d_malloc_size HAS_MALLOC_SIZE /**/
3792 /* HAS_MALLOC_GOOD_SIZE:
3793 * This symbol, if defined, indicates that the malloc_good_size
3794 * routine is available for use.
3796 #$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3799 * This symbol, if defined, indicates that the mkdtemp routine is
3800 * available to exclusively create a uniquely named temporary directory.
3802 #$d_mkdtemp HAS_MKDTEMP /**/
3805 * This symbol, if defined, indicates that the mkstemps routine is
3806 * available to exclusively create and open a uniquely named
3807 * (with a suffix) temporary file.
3809 #$d_mkstemps HAS_MKSTEMPS /**/
3812 * This symbol, if defined, indicates that the modfl routine is
3813 * available to split a long double x into a fractional part f and
3814 * an integer part i such that |f| < 1.0 and (f + i) = x.
3817 * This symbol, if defined, indicates that the system provides
3818 * a prototype for the modfl() function. Otherwise, it is up
3819 * to the program to supply one.
3821 /* HAS_MODFL_POW32_BUG:
3822 * This symbol, if defined, indicates that the modfl routine is
3823 * broken for long doubles >= pow(2, 32).
3824 * For example from 4294967303.150000 one would get 4294967302.000000
3825 * and 1.150000. The bug has been seen in certain versions of glibc,
3826 * release 2.2.2 is known to be okay.
3828 #$d_modfl HAS_MODFL /**/
3829 #$d_modflproto HAS_MODFL_PROTO /**/
3830 #$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
3833 * This symbol, if defined, indicates that the mprotect system call is
3834 * available to modify the access protection of a memory mapped file.
3836 #$d_mprotect HAS_MPROTECT /**/
3838 /* HAS_STRUCT_MSGHDR:
3839 * This symbol, if defined, indicates that the struct msghdr
3842 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3845 * This symbol, if defined, indicates that the nl_langinfo routine is
3846 * available to return local data. You will also need <langinfo.h>
3847 * and therefore I_LANGINFO.
3849 #$d_nl_langinfo HAS_NL_LANGINFO /**/
3852 * This symbol will be defined if the C compiler supports off64_t.
3854 #$d_off64_t HAS_OFF64_T /**/
3857 * This symbol, if defined, indicates that the prctl routine is
3858 * available to set process title.
3860 /* HAS_PRCTL_SET_NAME:
3861 * This symbol, if defined, indicates that the prctl routine is
3862 * available to set process title and supports PR_SET_NAME.
3864 #$d_prctl HAS_PRCTL /**/
3865 #$d_prctl_set_name HAS_PRCTL_SET_NAME /**/
3868 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3869 * to the absolute pathname of the executing program.
3871 /* PROCSELFEXE_PATH:
3872 * If HAS_PROCSELFEXE is defined this symbol is the filename
3873 * of the symbolic link pointing to the absolute pathname of
3874 * the executing program.
3876 #$d_procselfexe HAS_PROCSELFEXE /**/
3877 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3878 #define PROCSELFEXE_PATH $procselfexe /**/
3881 /* HAS_PTHREAD_ATTR_SETSCOPE:
3882 * This symbol, if defined, indicates that the pthread_attr_setscope
3883 * system call is available to set the contention scope attribute of
3884 * a thread attribute object.
3886 #$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3889 * This symbol, if defined, indicates that the readv routine is
3890 * available to do gather reads. You will also need <sys/uio.h>
3891 * and there I_SYSUIO.
3893 #$d_readv HAS_READV /**/
3896 * This symbol, if defined, indicates that the recvmsg routine is
3897 * available to send structured socket messages.
3899 #$d_recvmsg HAS_RECVMSG /**/
3902 * This symbol, if defined, indicates that the system provides
3903 * a prototype for the sbrk() function. Otherwise, it is up
3904 * to the program to supply one. Good guesses are
3905 * extern void* sbrk(int);
3906 * extern void* sbrk(size_t);
3908 #$d_sbrkproto HAS_SBRK_PROTO /**/
3911 * This symbol, if defined, indicates that the scalbnl routine is
3912 * available. If ilogbl is also present we can emulate frexpl.
3914 #$d_scalbnl HAS_SCALBNL /**/
3917 * This symbol, if defined, indicates that the sendmsg routine is
3918 * available to send structured socket messages.
3920 #$d_sendmsg HAS_SENDMSG /**/
3923 * This symbol, if defined, indicates that the setitimer routine is
3924 * available to set interval timers.
3926 #$d_setitimer HAS_SETITIMER /**/
3928 /* HAS_SETPROCTITLE:
3929 * This symbol, if defined, indicates that the setproctitle routine is
3930 * available to set process title.
3932 #$d_setproctitle HAS_SETPROCTITLE /**/
3935 * This symbol, if defined, indicates that sfio should
3938 #$d_sfio USE_SFIO /**/
3941 * This symbol, if defined, indicates that the signbit routine is
3942 * available to check if the given number has the sign bit set.
3943 * This should include correct testing of -0.0. This will only be set
3944 * if the signbit() routine is safe to use with the NV type used internally
3945 * in perl. Users should call Perl_signbit(), which will be #defined to
3946 * the system's signbit() function or macro if this symbol is defined.
3948 #$d_signbit HAS_SIGNBIT /**/
3951 * This symbol, if defined, indicates that the sigprocmask
3952 * system call is available to examine or change the signal mask
3953 * of the calling process.
3955 #$d_sigprocmask HAS_SIGPROCMASK /**/
3957 /* USE_SITECUSTOMIZE:
3958 * This symbol, if defined, indicates that sitecustomize should
3961 #ifndef USE_SITECUSTOMIZE
3962 #$usesitecustomize USE_SITECUSTOMIZE /**/
3966 * This symbol, if defined, indicates that the snprintf () library
3967 * function is available for use.
3970 * This symbol, if defined, indicates that the vsnprintf () library
3971 * function is available for use.
3973 #$d_snprintf HAS_SNPRINTF /**/
3974 #$d_vsnprintf HAS_VSNPRINTF /**/
3977 * This symbol, if defined, indicates that the sockatmark routine is
3978 * available to test whether a socket is at the out-of-band mark.
3980 #$d_sockatmark HAS_SOCKATMARK /**/
3982 /* HAS_SOCKATMARK_PROTO:
3983 * This symbol, if defined, indicates that the system provides
3984 * a prototype for the sockatmark() function. Otherwise, it is up
3985 * to the program to supply one. A good guess is
3986 * extern int sockatmark(int);
3988 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3991 * This symbol, if defined, indicates that the socks5_init routine is
3992 * available to initialize SOCKS 5.
3994 #$d_socks5_init HAS_SOCKS5_INIT /**/
3996 /* SPRINTF_RETURNS_STRLEN:
3997 * This variable defines whether sprintf returns the length of the string
3998 * (as per the ANSI spec). Some C libraries retain compatibility with
3999 * pre-ANSI C and return a pointer to the passed in buffer; for these
4000 * this variable will be undef.
4002 #$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
4005 * This symbol, if defined, indicates that the sqrtl routine is
4006 * available to do long double square roots.
4008 #$d_sqrtl HAS_SQRTL /**/
4010 /* HAS_SETRESGID_PROTO:
4011 * This symbol, if defined, indicates that the system provides
4012 * a prototype for the setresgid() function. Otherwise, it is up
4013 * to the program to supply one. Good guesses are
4014 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
4016 #$d_sresgproto HAS_SETRESGID_PROTO /**/
4018 /* HAS_SETRESUID_PROTO:
4019 * This symbol, if defined, indicates that the system provides
4020 * a prototype for the setresuid() function. Otherwise, it is up
4021 * to the program to supply one. Good guesses are
4022 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
4024 #$d_sresuproto HAS_SETRESUID_PROTO /**/
4026 /* HAS_STRUCT_STATFS_F_FLAGS:
4027 * This symbol, if defined, indicates that the struct statfs
4028 * does have the f_flags member containing the mount flags of
4029 * the filesystem containing the file.
4030 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
4031 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
4032 * have statfs() and struct statfs, they have ustat() and getmnt()
4033 * with struct ustat and struct fs_data.
4035 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
4037 /* HAS_STRUCT_STATFS:
4038 * This symbol, if defined, indicates that the struct statfs
4039 * to do statfs() is supported.
4041 #$d_statfs_s HAS_STRUCT_STATFS /**/
4044 * This symbol, if defined, indicates that the fstatvfs routine is
4045 * available to stat filesystems by file descriptors.
4047 #$d_fstatvfs HAS_FSTATVFS /**/
4050 * This symbol, if defined, indicates that the strftime routine is
4051 * available to do time formatting.
4053 #$d_strftime HAS_STRFTIME /**/
4056 * This symbol, if defined, indicates that the strlcat () routine is
4057 * available to do string concatenation.
4059 #$d_strlcat HAS_STRLCAT /**/
4062 * This symbol, if defined, indicates that the strlcpy () routine is
4063 * available to do string copying.
4065 #$d_strlcpy HAS_STRLCPY /**/
4068 * This symbol, if defined, indicates that the strtold routine is
4069 * available to convert strings to long doubles.
4071 #$d_strtold HAS_STRTOLD /**/
4074 * This symbol, if defined, indicates that the strtoll routine is
4075 * available to convert strings to long longs.
4077 #$d_strtoll HAS_STRTOLL /**/
4080 * This symbol, if defined, indicates that the strtoq routine is
4081 * available to convert strings to long longs (quads).
4083 #$d_strtoq HAS_STRTOQ /**/
4086 * This symbol, if defined, indicates that the strtoull routine is
4087 * available to convert strings to unsigned long longs.
4089 #$d_strtoull HAS_STRTOULL /**/
4092 * This symbol, if defined, indicates that the strtouq routine is
4093 * available to convert strings to unsigned long longs (quads).
4095 #$d_strtouq HAS_STRTOUQ /**/
4097 /* HAS_SYSCALL_PROTO:
4098 * This symbol, if defined, indicates that the system provides
4099 * a prototype for the syscall() function. Otherwise, it is up
4100 * to the program to supply one. Good guesses are
4101 * extern int syscall(int, ...);
4102 * extern int syscall(long, ...);
4104 #$d_syscallproto HAS_SYSCALL_PROTO /**/
4106 /* HAS_TELLDIR_PROTO:
4107 * This symbol, if defined, indicates that the system provides
4108 * a prototype for the telldir() function. Otherwise, it is up
4109 * to the program to supply one. A good guess is
4110 * extern long telldir(DIR*);
4112 #$d_telldirproto HAS_TELLDIR_PROTO /**/
4115 * This symbol, if defined, indicates that the ctime64 () routine is
4116 * available to do the 64bit variant of ctime ()
4119 * This symbol, if defined, indicates that the localtime64 () routine is
4120 * available to do the 64bit variant of localtime ()
4123 * This symbol, if defined, indicates that the gmtime64 () routine is
4124 * available to do the 64bit variant of gmtime ()
4127 * This symbol, if defined, indicates that the mktime64 () routine is
4128 * available to do the 64bit variant of mktime ()
4131 * This symbol, if defined, indicates that the difftime64 () routine is
4132 * available to do the 64bit variant of difftime ()
4135 * This symbol, if defined, indicates that the asctime64 () routine is
4136 * available to do the 64bit variant of asctime ()
4138 #$d_ctime64 HAS_CTIME64 /**/
4139 #$d_localtime64 HAS_LOCALTIME64 /**/
4140 #$d_gmtime64 HAS_GMTIME64 /**/
4141 #$d_mktime64 HAS_MKTIME64 /**/
4142 #$d_difftime64 HAS_DIFFTIME64 /**/
4143 #$d_asctime64 HAS_ASCTIME64 /**/
4146 * This symbol, if defined, indicates that the timegm routine is
4147 * available to do the opposite of gmtime ()
4149 #$d_timegm HAS_TIMEGM /**/
4151 /* U32_ALIGNMENT_REQUIRED:
4152 * This symbol, if defined, indicates that you must access
4153 * character data through U32-aligned pointers.
4155 #ifndef U32_ALIGNMENT_REQUIRED
4156 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
4160 * This symbol, if defined, indicates that the ualarm routine is
4161 * available to do alarms with microsecond granularity.
4163 #$d_ualarm HAS_UALARM /**/
4166 * This symbol, if defined, indicates that the unordered routine is
4167 * available to check whether two doubles are unordered
4168 * (effectively: whether either of them is NaN)
4170 #$d_unordered HAS_UNORDERED /**/
4173 * This symbol, if defined, indicates that the unsetenv () routine is
4174 * available for use.
4176 #$d_unsetenv HAS_UNSETENV /**/
4178 /* HAS_USLEEP_PROTO:
4179 * This symbol, if defined, indicates that the system provides
4180 * a prototype for the usleep() function. Otherwise, it is up
4181 * to the program to supply one. A good guess is
4182 * extern int usleep(useconds_t);
4184 #$d_usleepproto HAS_USLEEP_PROTO /**/
4187 * This symbol, if defined, indicates that the ustat system call is
4188 * available to query file system statistics by dev_t.
4190 #$d_ustat HAS_USTAT /**/
4193 * This symbol, if defined, indicates that the writev routine is
4194 * available to do scatter writes.
4196 #$d_writev HAS_WRITEV /**/
4198 /* USE_DYNAMIC_LOADING:
4199 * This symbol, if defined, indicates that dynamic loading of
4200 * some sort is available.
4202 #$usedl USE_DYNAMIC_LOADING /**/
4205 * This symbol, if defined, tells that fflush(NULL) does flush
4206 * all pending stdio output.
4209 * This symbol, if defined, tells that to flush
4210 * all pending stdio output one must loop through all
4211 * the stdio file handles stored in an array and fflush them.
4212 * Note that if fflushNULL is defined, fflushall will not
4213 * even be probed for and will be left undefined.
4215 #$fflushNULL FFLUSH_NULL /**/
4216 #$fflushall FFLUSH_ALL /**/
4219 * This symbol, if defined, indicates that <assert.h> exists and
4220 * could be included by the C program to get the assert() macro.
4222 #$i_assert I_ASSERT /**/
4225 * This symbol, if defined, indicates that <crypt.h> exists and
4226 * should be included.
4228 #$i_crypt I_CRYPT /**/
4231 * This symbol contains the type of the prefix structure element
4232 * in the <db.h> header file. In older versions of DB, it was
4233 * int, while in newer ones it is u_int32_t.
4236 * This symbol contains the type of the prefix structure element
4237 * in the <db.h> header file. In older versions of DB, it was
4238 * int, while in newer ones it is size_t.
4240 /* DB_VERSION_MAJOR_CFG:
4241 * This symbol, if defined, defines the major version number of
4242 * Berkeley DB found in the <db.h> header when Perl was configured.
4244 /* DB_VERSION_MINOR_CFG:
4245 * This symbol, if defined, defines the minor version number of
4246 * Berkeley DB found in the <db.h> header when Perl was configured.
4247 * For DB version 1 this is always 0.
4249 /* DB_VERSION_PATCH_CFG:
4250 * This symbol, if defined, defines the patch version number of
4251 * Berkeley DB found in the <db.h> header when Perl was configured.
4252 * For DB version 1 this is always 0.
4254 #define DB_Hash_t $db_hashtype /**/
4255 #define DB_Prefix_t $db_prefixtype /**/
4256 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
4257 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
4258 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
4261 * This symbol, if defined, indicates that <fp.h> exists and
4262 * should be included.
4267 * This symbol, if defined, indicates that <fp_class.h> exists and
4268 * should be included.
4270 #$i_fp_class I_FP_CLASS /**/
4273 * This symbol, if defined, indicates that <ieeefp.h> exists and
4274 * should be included.
4276 #$i_ieeefp I_IEEEFP /**/
4279 * This symbol, if defined, indicates to the C program that it should
4280 * include <inttypes.h>.
4282 #$i_inttypes I_INTTYPES /**/
4285 * This symbol, if defined, indicates that <langinfo.h> exists and
4286 * should be included.
4288 #$i_langinfo I_LANGINFO /**/
4291 * This symbol, if defined, indicates that <libutil.h> exists and
4292 * should be included.
4294 #$i_libutil I_LIBUTIL /**/
4297 * This symbol, if defined, indicates to the C program that it should
4298 * include <malloc/malloc.h>.
4300 #$i_mallocmalloc I_MALLOCMALLOC /**/
4303 * This symbol, if defined, indicates that <mntent.h> exists and
4304 * should be included.
4306 #$i_mntent I_MNTENT /**/
4309 * This symbol, if defined, indicates to the C program that it should
4310 * include <netinet/tcp.h>.
4312 #$i_netinettcp I_NETINET_TCP /**/
4315 * This symbol, if defined, indicates that <poll.h> exists and
4316 * should be included. (see also HAS_POLL)
4318 #$i_poll I_POLL /**/
4321 * This symbol, if defined, indicates that <prot.h> exists and
4322 * should be included.
4324 #$i_prot I_PROT /**/
4327 * This symbol, if defined, indicates that <shadow.h> exists and
4328 * should be included.
4330 #$i_shadow I_SHADOW /**/
4333 * This symbol, if defined, indicates that <socks.h> exists and
4334 * should be included.
4336 #$i_socks I_SOCKS /**/
4339 * This symbol, if defined, indicates that <stdbool.h> exists and
4342 #$i_stdbool I_STDBOOL /**/
4345 * This symbol, if defined, indicates that <sunmath.h> exists and
4346 * should be included.
4348 #$i_sunmath I_SUNMATH /**/
4351 * This symbol, if defined, indicates that <syslog.h> exists and
4352 * should be included.
4354 #$i_syslog I_SYSLOG /**/
4357 * This symbol, if defined, indicates that <sys/mode.h> exists and
4358 * should be included.
4360 #$i_sysmode I_SYSMODE /**/
4363 * This symbol, if defined, indicates that <sys/mount.h> exists and
4364 * should be included.
4366 #$i_sysmount I_SYS_MOUNT /**/
4369 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4371 #$i_sysstatfs I_SYS_STATFS /**/
4374 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4375 * should be included.
4377 #$i_sysstatvfs I_SYS_STATVFS /**/
4380 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4381 * should be included.
4383 #$i_sysutsname I_SYSUTSNAME /**/
4386 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4387 * should be included.
4389 #$i_sysvfs I_SYS_VFS /**/
4392 * This symbol, if defined, indicates that <ustat.h> exists and
4393 * should be included.
4395 #$i_ustat I_USTAT /**/
4398 * This symbol, if defined, contains the string used by stdio to
4399 * format long doubles (format 'f') for output.
4402 * This symbol, if defined, contains the string used by stdio to
4403 * format long doubles (format 'g') for output.
4406 * This symbol, if defined, contains the string used by stdio to
4407 * format long doubles (format 'e') for output.
4410 * This symbol, if defined, contains the string used by stdio to
4411 * format long doubles (format 'f') for input.
4413 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
4414 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
4415 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
4416 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
4419 * This symbol, if defined, indicates that the Misc Attribution
4420 * Declaration code should be conditionally compiled.
4425 * This symbol, if defined, indicates that the system stores
4426 * the variable argument list datatype, va_list, in a format
4427 * that cannot be copied by simple assignment, so that some
4428 * other means must be used when copying is required.
4429 * As such systems vary in their provision (or non-provision)
4430 * of copying mechanisms, handy.h defines a platform-
4431 * independent macro, Perl_va_copy(src, dst), to do the job.
4433 #$need_va_copy NEED_VA_COPY /**/
4436 * This symbol defines the C type used for Perl's IV.
4439 * This symbol defines the C type used for Perl's UV.
4442 * This symbol defines the C type used for Perl's I8.
4445 * This symbol defines the C type used for Perl's U8.
4448 * This symbol defines the C type used for Perl's I16.
4451 * This symbol defines the C type used for Perl's U16.
4454 * This symbol defines the C type used for Perl's I32.
4457 * This symbol defines the C type used for Perl's U32.
4460 * This symbol defines the C type used for Perl's I64.
4463 * This symbol defines the C type used for Perl's U64.
4466 * This symbol defines the C type used for Perl's NV.
4469 * This symbol contains the sizeof(IV).
4472 * This symbol contains the sizeof(UV).
4475 * This symbol contains the sizeof(I8).
4478 * This symbol contains the sizeof(U8).
4481 * This symbol contains the sizeof(I16).
4484 * This symbol contains the sizeof(U16).
4487 * This symbol contains the sizeof(I32).
4490 * This symbol contains the sizeof(U32).
4493 * This symbol contains the sizeof(I64).
4496 * This symbol contains the sizeof(U64).
4499 * This symbol contains the sizeof(NV).
4502 * This symbol, if defined, indicates that a variable of type NVTYPE
4503 * can preserve all the bits of a variable of type UVTYPE.
4505 /* NV_PRESERVES_UV_BITS:
4506 * This symbol contains the number of bits a variable of type NVTYPE
4507 * can preserve of a variable of type UVTYPE.
4509 /* NV_OVERFLOWS_INTEGERS_AT:
4510 * This symbol gives the largest integer value that NVs can hold. This
4511 * value + 1.0 cannot be stored accurately. It is expressed as constant
4512 * floating point expression to reduce the chance of decimal/binary
4513 * conversion issues. If it can not be determined, the value 0 is given.
4515 /* NV_ZERO_IS_ALLBITS_ZERO:
4516 * This symbol, if defined, indicates that a variable of type NVTYPE
4517 * stores 0.0 in memory as all bits zero.
4519 #define IVTYPE $ivtype /**/
4520 #define UVTYPE $uvtype /**/
4521 #define I8TYPE $i8type /**/
4522 #define U8TYPE $u8type /**/
4523 #define I16TYPE $i16type /**/
4524 #define U16TYPE $u16type /**/
4525 #define I32TYPE $i32type /**/
4526 #define U32TYPE $u32type /**/
4528 #define I64TYPE $i64type /**/
4529 #define U64TYPE $u64type /**/
4531 #define NVTYPE $nvtype /**/
4532 #define IVSIZE $ivsize /**/
4533 #define UVSIZE $uvsize /**/
4534 #define I8SIZE $i8size /**/
4535 #define U8SIZE $u8size /**/
4536 #define I16SIZE $i16size /**/
4537 #define U16SIZE $u16size /**/
4538 #define I32SIZE $i32size /**/
4539 #define U32SIZE $u32size /**/
4541 #define I64SIZE $i64size /**/
4542 #define U64SIZE $u64size /**/
4544 #define NVSIZE $nvsize /**/
4545 #$d_nv_preserves_uv NV_PRESERVES_UV
4546 #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4547 #define NV_OVERFLOWS_INTEGERS_AT $nv_overflows_integers_at
4548 #$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4551 # if BYTEORDER == 0x1234
4553 # define BYTEORDER 0x12345678
4555 # if BYTEORDER == 0x4321
4557 # define BYTEORDER 0x87654321
4564 * This symbol defines the format string used for printing a Perl IV
4565 * as a signed decimal integer.
4568 * This symbol defines the format string used for printing a Perl UV
4569 * as an unsigned decimal integer.
4572 * This symbol defines the format string used for printing a Perl UV
4573 * as an unsigned octal integer.
4576 * This symbol defines the format string used for printing a Perl UV
4577 * as an unsigned hexadecimal integer in lowercase abcdef.
4580 * This symbol defines the format string used for printing a Perl UV
4581 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4584 * This symbol defines the format string used for printing a Perl NV
4585 * using %e-ish floating point format.
4588 * This symbol defines the format string used for printing a Perl NV
4589 * using %f-ish floating point format.
4592 * This symbol defines the format string used for printing a Perl NV
4593 * using %g-ish floating point format.
4595 #define IVdf $ivdformat /**/
4596 #define UVuf $uvuformat /**/
4597 #define UVof $uvoformat /**/
4598 #define UVxf $uvxformat /**/
4599 #define UVXf $uvXUformat /**/
4600 #define NVef $nveformat /**/
4601 #define NVff $nvfformat /**/
4602 #define NVgf $nvgformat /**/
4605 * This symbol holds the minimum number of bits operated by select.
4606 * That is, if you do select(n, ...), how many bits at least will be
4607 * cleared in the masks if some activity is detected. Usually this
4608 * is either n or 32*ceil(n/32), especially many little-endians do
4609 * the latter. This is only useful if you have select(), naturally.
4611 #define SELECT_MIN_BITS $selectminbits /**/
4614 * This variable contains the size of struct stat's st_ino in bytes.
4617 * This symbol holds the signedess of struct stat's st_ino.
4618 * 1 for unsigned, -1 for signed.
4620 #define ST_INO_SIGN $st_ino_sign /* st_ino sign */
4621 #define ST_INO_SIZE $st_ino_size /* st_ino size */
4624 * This variable contains the string to put in front of a perl
4625 * script to make sure (one hopes) that it runs with perl and not
4628 #define STARTPERL "$startperl" /**/
4630 /* HAS_STDIO_STREAM_ARRAY:
4631 * This symbol, if defined, tells that there is an array
4632 * holding the stdio streams.
4634 /* STDIO_STREAM_ARRAY:
4635 * This symbol tells the name of the array holding the stdio streams.
4636 * Usual values include _iob, __iob, and __sF.
4638 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4639 #ifdef HAS_STDIO_STREAM_ARRAY
4640 #define STDIO_STREAM_ARRAY $stdio_stream_array
4644 * This symbol contains the maximum value for the time_t offset that
4645 * the system function gmtime () accepts, and defaults to 0
4648 * This symbol contains the minimum value for the time_t offset that
4649 * the system function gmtime () accepts, and defaults to 0
4652 * This symbol contains the maximum value for the time_t offset that
4653 * the system function localtime () accepts, and defaults to 0
4656 * This symbol contains the minimum value for the time_t offset that
4657 * the system function localtime () accepts, and defaults to 0
4659 #define GMTIME_MAX $sGMTIME_max /**/
4660 #define GMTIME_MIN $sGMTIME_min /**/
4661 #define LOCALTIME_MAX $sLOCALTIME_max /**/
4662 #define LOCALTIME_MIN $sLOCALTIME_min /**/
4665 * This symbol, if defined, indicates that 64-bit integers should
4666 * be used when available. If not defined, the native integers
4667 * will be employed (be they 32 or 64 bits). The minimal possible
4668 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4669 * This may mean using for example "long longs", while your memory
4670 * may still be limited to 2 gigabytes.
4673 * This symbol, if defined, indicates that 64-bit integers should
4674 * be used when available. If not defined, the native integers
4675 * will be used (be they 32 or 64 bits). The maximal possible
4676 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4677 * be able to use more than 2 gigabytes of memory. This mode is
4678 * even more binary incompatible than USE_64_BIT_INT. You may not
4679 * be able to run the resulting executable in a 32-bit CPU at all or
4680 * you may need at least to reboot your OS to 64-bit mode.
4682 #ifndef USE_64_BIT_INT
4683 #$use64bitint USE_64_BIT_INT /**/
4685 #ifndef USE_64_BIT_ALL
4686 #$use64bitall USE_64_BIT_ALL /**/
4690 * This symbol, if defined, indicates that Perl should
4691 * be built with support for DTrace.
4693 #$usedtrace USE_DTRACE /**/
4696 * This symbol, if defined, indicates that Perl should
4697 * be built to use 'fast stdio'.
4698 * Defaults to define in Perls 5.8 and earlier, to undef later.
4700 #ifndef USE_FAST_STDIO
4701 #$usefaststdio USE_FAST_STDIO /**/
4704 /* USE_KERN_PROC_PATHNAME:
4705 * This symbol, if defined, indicates that we can use sysctl with
4706 * KERN_PROC_PATHNAME to get a full path for the executable, and hence
4707 * convert $^X to an absolute path.
4709 #$usekernprocpathname USE_KERN_PROC_PATHNAME /**/
4712 * This symbol, if defined, indicates that large file support
4713 * should be used when available.
4715 #ifndef USE_LARGE_FILES
4716 #$uselargefiles USE_LARGE_FILES /**/
4720 * This symbol, if defined, indicates that long doubles should
4721 * be used when available.
4723 #ifndef USE_LONG_DOUBLE
4724 #$uselongdouble USE_LONG_DOUBLE /**/
4728 * This symbol, if defined, indicates that 64-bit interfaces and
4729 * long doubles should be used when available.
4731 #ifndef USE_MORE_BITS
4732 #$usemorebits USE_MORE_BITS /**/
4736 * This symbol, if defined, indicates that Perl should
4737 * be built to use multiplicity.
4739 #ifndef MULTIPLICITY
4740 #$usemultiplicity MULTIPLICITY /**/
4743 /* USE_NSGETEXECUTABLEPATH:
4744 * This symbol, if defined, indicates that we can use _NSGetExecutablePath
4745 * and realpath to get a full path for the executable, and hence convert
4746 * $^X to an absolute path.
4748 #$usensgetexecutablepath USE_NSGETEXECUTABLEPATH /**/
4751 * This symbol, if defined, indicates that the PerlIO abstraction should
4752 * be used throughout. If not defined, stdio should be
4753 * used in a fully backward compatible manner.
4756 #$useperlio USE_PERLIO /**/
4760 * This symbol, if defined, indicates that Perl should
4761 * be built to use socks.
4764 #$usesocks USE_SOCKS /**/