3 # THIS IS A GENERATED FILE
6 # See Porting/config_h.pl
8 : Set up for generating config_h.SH
10 '') CONFIG_SH=config.sh;;
13 '') CONFIG_H=config.h;;
15 case $PERL_CONFIG_SH in
17 if test -f $CONFIG_SH; then TOP=.;
18 elif test -f ../$CONFIG_SH; then TOP=..;
19 elif test -f ../../$CONFIG_SH; then TOP=../..;
20 elif test -f ../../../$CONFIG_SH; then TOP=../../..;
21 elif test -f ../../../../$CONFIG_SH; then TOP=../../../..;
23 echo "Can't find $CONFIG_SH."; exit 1
29 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
32 already-done) echo "Not re-extracting config.h" ;;
34 echo "Extracting $CONFIG_H (with variable substitutions)"
35 sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
36 /* This file was produced by running the config_h.SH script, which
37 * gets its values from $CONFIG_SH, which is generally produced by
40 * Feel free to modify any of this as the need arises. Note, however,
41 * that running config_h.SH again will wipe out any changes you've made.
42 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
45 /* Package name : $package
46 * Source directory : $src
47 * Configuration time: $cf_time
48 * Configured by : $cf_by
49 * Target system : $myuname
56 * This symbol holds the complete pathname to the sed program.
58 #define LOC_SED "$full_sed" /**/
61 * This symbol, if defined, indicates that the alarm routine is
64 #$d_alarm HAS_ALARM /**/
67 * This symbol is defined if the bcmp() routine is available to
68 * compare blocks of memory.
70 #$d_bcmp HAS_BCMP /**/
73 * This symbol is defined if the bcopy() routine is available to
74 * copy blocks of memory.
76 #$d_bcopy HAS_BCOPY /**/
79 * This symbol is defined if the bzero() routine is available to
80 * set a memory block to 0.
82 #$d_bzero HAS_BZERO /**/
85 * This symbol, if defined, indicates that the chown routine is
88 #$d_chown HAS_CHOWN /**/
91 * This symbol, if defined, indicates that the chroot routine is
94 #$d_chroot HAS_CHROOT /**/
97 * This symbol, if defined, indicates that the chsize routine is available
98 * to truncate files. You might need a -lx to get this routine.
100 #$d_chsize HAS_CHSIZE /**/
103 * This symbol, if defined, indicates that the crypt routine is available
104 * to encrypt passwords and the like.
106 #$d_crypt HAS_CRYPT /**/
109 * This symbol, if defined, indicates that the ctermid routine is
110 * available to generate filename for terminal.
112 #$d_ctermid HAS_CTERMID /**/
115 * This symbol, if defined, indicates that the cuserid routine is
116 * available to get character login names.
118 #$d_cuserid HAS_CUSERID /**/
121 * This symbol, if defined, indicates that this system's <float.h>
122 * or <limits.h> defines the symbol DBL_DIG, which is the number
123 * of significant digits in a double precision number. If this
124 * symbol is not defined, a guess of 15 is usually pretty good.
126 #$d_dbl_dig HAS_DBL_DIG /**/
129 * This symbol, if defined, indicates that the difftime routine is
132 #$d_difftime HAS_DIFFTIME /**/
135 * This symbol, if defined, indicates that the dlerror routine is
136 * available to return a string describing the last error that
137 * occurred from a call to dlopen(), dlclose() or dlsym().
139 #$d_dlerror HAS_DLERROR /**/
142 * This symbol, if defined, indicates that the dup2 routine is
143 * available to duplicate file descriptors.
145 #$d_dup2 HAS_DUP2 /**/
148 * This symbol, if defined, indicates that the fchmod routine is available
149 * to change mode of opened files. If unavailable, use chmod().
151 #$d_fchmod HAS_FCHMOD /**/
154 * This symbol, if defined, indicates that the fchown routine is available
155 * to change ownership of opened files. If unavailable, use chown().
157 #$d_fchown HAS_FCHOWN /**/
160 * This symbol, if defined, indicates to the C program that
161 * the fcntl() function exists.
163 #$d_fcntl HAS_FCNTL /**/
166 * This symbol, if defined, indicates that the fgetpos routine is
167 * available to get the file position indicator, similar to ftell().
169 #$d_fgetpos HAS_FGETPOS /**/
172 * This symbol, if defined, indicates that the flock routine is
173 * available to do file locking.
175 #$d_flock HAS_FLOCK /**/
178 * This symbol, if defined, indicates that the fork routine is
181 #$d_fork HAS_FORK /**/
184 * This symbol, if defined, indicates that the fsetpos routine is
185 * available to set the file position indicator, similar to fseek().
187 #$d_fsetpos HAS_FSETPOS /**/
190 * This symbol, if defined, indicates that the gettimeofday() system
191 * call is available for a sub-second accuracy clock. Usually, the file
192 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
193 * The type "Timeval" should be used to refer to "struct timeval".
195 #$d_gettimeod HAS_GETTIMEOFDAY /**/
196 #ifdef HAS_GETTIMEOFDAY
197 #define Timeval struct timeval /* Structure used by gettimeofday() */
201 * This symbol, if defined, indicates that the getgroups() routine is
202 * available to get the list of process groups. If unavailable, multiple
203 * groups are probably not supported.
205 #$d_getgrps HAS_GETGROUPS /**/
208 * This symbol, if defined, indicates that the getlogin routine is
209 * available to get the login name.
211 #$d_getlogin HAS_GETLOGIN /**/
214 * This symbol, if defined, indicates to the C program that
215 * the getpgid(pid) function is available to get the
218 #$d_getpgid HAS_GETPGID /**/
221 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
222 * routine is available to get the current process group.
224 #$d_getpgrp2 HAS_GETPGRP2 /**/
227 * This symbol, if defined, indicates that the getppid routine is
228 * available to get the parent process ID.
230 #$d_getppid HAS_GETPPID /**/
233 * This symbol, if defined, indicates that the getpriority routine is
234 * available to get a process's priority.
236 #$d_getprior HAS_GETPRIORITY /**/
239 * This symbol, if defined, indicates to the C program that the
240 * inet_aton() function is available to parse IP address "dotted-quad"
243 #$d_inetaton HAS_INET_ATON /**/
246 * This symbol, if defined, indicates that the killpg routine is available
247 * to kill process groups. If unavailable, you probably should use kill
248 * with a negative process number.
250 #$d_killpg HAS_KILLPG /**/
253 * This symbol, if defined, indicates that the link routine is
254 * available to create hard links.
256 #$d_link HAS_LINK /**/
259 * This symbol, if defined, indicates that the localeconv routine is
260 * available for numeric and monetary formatting conventions.
262 #$d_locconv HAS_LOCALECONV /**/
265 * This symbol, if defined, indicates that the lockf routine is
266 * available to do file locking.
268 #$d_lockf HAS_LOCKF /**/
271 * This symbol, if defined, indicates that the lstat routine is
272 * available to do file stats on symbolic links.
274 #$d_lstat HAS_LSTAT /**/
277 * This symbol, if defined, indicates that the mblen routine is available
278 * to find the number of bytes in a multibye character.
280 #$d_mblen HAS_MBLEN /**/
283 * This symbol, if defined, indicates that the mbstowcs routine is
284 * available to covert a multibyte string into a wide character string.
286 #$d_mbstowcs HAS_MBSTOWCS /**/
289 * This symbol, if defined, indicates that the mbtowc routine is available
290 * to covert a multibyte to a wide character.
292 #$d_mbtowc HAS_MBTOWC /**/
295 * This symbol, if defined, indicates that the memcmp routine is available
296 * to compare blocks of memory.
298 #$d_memcmp HAS_MEMCMP /**/
301 * This symbol, if defined, indicates that the memcpy routine is available
302 * to copy blocks of memory.
304 #$d_memcpy HAS_MEMCPY /**/
307 * This symbol, if defined, indicates that the memmove routine is available
308 * to copy potentially overlapping blocks of memory. This should be used
309 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
312 #$d_memmove HAS_MEMMOVE /**/
315 * This symbol, if defined, indicates that the memset routine is available
316 * to set blocks of memory.
318 #$d_memset HAS_MEMSET /**/
321 * This symbol, if defined, indicates that the mkdir routine is available
322 * to create directories. Otherwise you should fork off a new process to
325 #$d_mkdir HAS_MKDIR /**/
328 * This symbol, if defined, indicates that the mkfifo routine is
329 * available to create FIFOs. Otherwise, mknod should be able to
330 * do it for you. However, if mkfifo is there, mknod might require
331 * super-user privileges which mkfifo will not.
333 #$d_mkfifo HAS_MKFIFO /**/
336 * This symbol, if defined, indicates that the mktime routine is
339 #$d_mktime HAS_MKTIME /**/
342 * This symbol, if defined, indicates that the msync system call is
343 * available to synchronize a mapped file.
345 #$d_msync HAS_MSYNC /**/
348 * This symbol, if defined, indicates that the munmap system call is
349 * available to unmap a region, usually mapped by mmap().
351 #$d_munmap HAS_MUNMAP /**/
354 * This symbol, if defined, indicates that the nice routine is
357 #$d_nice HAS_NICE /**/
360 * This symbol, if defined, indicates that pathconf() is available
361 * to determine file-system related limits and options associated
362 * with a given filename.
365 * This symbol, if defined, indicates that pathconf() is available
366 * to determine file-system related limits and options associated
367 * with a given open file descriptor.
369 #$d_pathconf HAS_PATHCONF /**/
370 #$d_fpathconf HAS_FPATHCONF /**/
373 * This symbol, if defined, indicates that the pause routine is
374 * available to suspend a process until a signal is received.
376 #$d_pause HAS_PAUSE /**/
379 * This symbol, if defined, indicates that the pipe routine is
380 * available to create an inter-process channel.
382 #$d_pipe HAS_PIPE /**/
385 * This symbol, if defined, indicates that the poll routine is
386 * available to poll active file descriptors. Please check I_POLL and
387 * I_SYS_POLL to know which header should be included as well.
389 #$d_poll HAS_POLL /**/
392 * This symbol, if defined, indicates that the readdir routine is
393 * available to read directory entries. You may have to include
394 * <dirent.h>. See I_DIRENT.
396 #$d_readdir HAS_READDIR /**/
399 * This symbol, if defined, indicates that the seekdir routine is
400 * available. You may have to include <dirent.h>. See I_DIRENT.
402 #$d_seekdir HAS_SEEKDIR /**/
405 * This symbol, if defined, indicates that the telldir routine is
406 * available. You may have to include <dirent.h>. See I_DIRENT.
408 #$d_telldir HAS_TELLDIR /**/
411 * This symbol, if defined, indicates that the rewinddir routine is
412 * available. You may have to include <dirent.h>. See I_DIRENT.
414 #$d_rewinddir HAS_REWINDDIR /**/
417 * This symbol, if defined, indicates that the readlink routine is
418 * available to read the value of a symbolic link.
420 #$d_readlink HAS_READLINK /**/
423 * This symbol, if defined, indicates that the rename routine is available
424 * to rename files. Otherwise you should do the unlink(), link(), unlink()
427 #$d_rename HAS_RENAME /**/
430 * This symbol, if defined, indicates that the rmdir routine is
431 * available to remove directories. Otherwise you should fork off a
432 * new process to exec /bin/rmdir.
434 #$d_rmdir HAS_RMDIR /**/
437 * This symbol, if defined, indicates that the select routine is
438 * available to select active file descriptors. If the timeout field
439 * is used, <sys/time.h> may need to be included.
441 #$d_select HAS_SELECT /**/
444 * This symbol, if defined, indicates that the setegid routine is available
445 * to change the effective gid of the current program.
447 #$d_setegid HAS_SETEGID /**/
450 * This symbol, if defined, indicates that the seteuid routine is available
451 * to change the effective uid of the current program.
453 #$d_seteuid HAS_SETEUID /**/
456 * This symbol, if defined, indicates that the setgroups() routine is
457 * available to set the list of process groups. If unavailable, multiple
458 * groups are probably not supported.
460 #$d_setgrps HAS_SETGROUPS /**/
463 * This symbol, if defined, indicates that the setlinebuf routine is
464 * available to change stderr or stdout from block-buffered or unbuffered
465 * to a line-buffered mode.
467 #$d_setlinebuf HAS_SETLINEBUF /**/
470 * This symbol, if defined, indicates that the setlocale routine is
471 * available to handle locale-specific ctype implementations.
473 #$d_setlocale HAS_SETLOCALE /**/
476 * This symbol, if defined, indicates that the setpgid(pid, gpid)
477 * routine is available to set process group ID.
479 #$d_setpgid HAS_SETPGID /**/
482 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
483 * routine is available to set the current process group.
485 #$d_setpgrp2 HAS_SETPGRP2 /**/
488 * This symbol, if defined, indicates that the setpriority routine is
489 * available to set a process's priority.
491 #$d_setprior HAS_SETPRIORITY /**/
494 * This symbol, if defined, indicates that the setregid routine is
495 * available to change the real and effective gid of the current
499 * This symbol, if defined, indicates that the setresgid routine is
500 * available to change the real, effective and saved gid of the current
503 #$d_setregid HAS_SETREGID /**/
504 #$d_setresgid HAS_SETRESGID /**/
507 * This symbol, if defined, indicates that the setreuid routine is
508 * available to change the real and effective uid of the current
512 * This symbol, if defined, indicates that the setresuid routine is
513 * available to change the real, effective and saved uid of the current
516 #$d_setreuid HAS_SETREUID /**/
517 #$d_setresuid HAS_SETRESUID /**/
520 * This symbol, if defined, indicates that the setrgid routine is available
521 * to change the real gid of the current program.
523 #$d_setrgid HAS_SETRGID /**/
526 * This symbol, if defined, indicates that the setruid routine is available
527 * to change the real uid of the current program.
529 #$d_setruid HAS_SETRUID /**/
532 * This symbol, if defined, indicates that the setsid routine is
533 * available to set the process group ID.
535 #$d_setsid HAS_SETSID /**/
538 * This symbol is defined to indicate that the strchr()/strrchr()
539 * functions are available for string searching. If not, try the
540 * index()/rindex() pair.
543 * This symbol is defined to indicate that the index()/rindex()
544 * functions are available for string searching.
546 #$d_strchr HAS_STRCHR /**/
547 #$d_index HAS_INDEX /**/
550 * This symbol, if defined, indicates that the strcoll routine is
551 * available to compare strings using collating information.
553 #$d_strcoll HAS_STRCOLL /**/
556 * This symbol, if defined, indicates that the strtod routine is
557 * available to provide better numeric string conversion than atof().
559 #$d_strtod HAS_STRTOD /**/
562 * This symbol, if defined, indicates that the strtol routine is available
563 * to provide better numeric string conversion than atoi() and friends.
565 #$d_strtol HAS_STRTOL /**/
568 * This symbol, if defined, indicates that the strxfrm() routine is
569 * available to transform strings.
571 #$d_strxfrm HAS_STRXFRM /**/
574 * This symbol, if defined, indicates that the symlink routine is available
575 * to create symbolic links.
577 #$d_symlink HAS_SYMLINK /**/
580 * This symbol, if defined, indicates that the syscall routine is
581 * available to call arbitrary system calls. If undefined, that's tough.
583 #$d_syscall HAS_SYSCALL /**/
586 * This symbol, if defined, indicates that sysconf() is available
587 * to determine system related limits and options.
589 #$d_sysconf HAS_SYSCONF /**/
592 * This symbol, if defined, indicates that the system routine is
593 * available to issue a shell command.
595 #$d_system HAS_SYSTEM /**/
598 * This symbol, if defined, indicates that the tcgetpgrp routine is
599 * available to get foreground process group ID.
601 #$d_tcgetpgrp HAS_TCGETPGRP /**/
604 * This symbol, if defined, indicates that the tcsetpgrp routine is
605 * available to set foreground process group ID.
607 #$d_tcsetpgrp HAS_TCSETPGRP /**/
610 * This symbol, if defined, indicates that the truncate routine is
611 * available to truncate files.
613 #$d_truncate HAS_TRUNCATE /**/
616 * This symbol, if defined, indicates that the tzname[] array is
617 * available to access timezone names.
619 #$d_tzname HAS_TZNAME /**/
622 * This symbol, if defined, indicates that the umask routine is
623 * available to set and get the value of the file creation mask.
625 #$d_umask HAS_UMASK /**/
628 * This symbol, if defined, indicates that the usleep routine is
629 * available to let the process sleep on a sub-second accuracy.
631 #$d_usleep HAS_USLEEP /**/
634 * This symbol, if defined, indicates that wait4() exists.
636 #$d_wait4 HAS_WAIT4 /**/
639 * This symbol, if defined, indicates that the waitpid routine is
640 * available to wait for child process.
642 #$d_waitpid HAS_WAITPID /**/
645 * This symbol, if defined, indicates that the wcstombs routine is
646 * available to convert wide character strings to multibyte strings.
648 #$d_wcstombs HAS_WCSTOMBS /**/
651 * This symbol, if defined, indicates that the wctomb routine is available
652 * to covert a wide character to a multibyte.
654 #$d_wctomb HAS_WCTOMB /**/
657 * This symbol holds the type used for the second argument to
658 * getgroups() and setgroups(). Usually, this is the same as
659 * gidtype (gid_t) , but sometimes it isn't.
660 * It can be int, ushort, gid_t, etc...
661 * It may be necessary to include <sys/types.h> to get any
662 * typedef'ed information. This is only required if you have
663 * getgroups() or setgroups()..
665 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
666 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
670 * This symbol, if defined, indicates to the C program that it should
671 * include <arpa/inet.h> to get inet_addr and friends declarations.
673 #$i_arpainet I_ARPA_INET /**/
676 * This symbol, if defined, indicates that <dbm.h> exists and should
680 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
681 * should be included.
684 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
687 * This symbol, if defined, indicates that <dlfcn.h> exists and should
690 #$i_dlfcn I_DLFCN /**/
693 * This manifest constant tells the C program to include <fcntl.h>.
695 #$i_fcntl I_FCNTL /**/
698 * This symbol, if defined, indicates to the C program that it should
699 * include <float.h> to get definition of symbols like DBL_MAX or
700 * DBL_MIN, i.e. machine dependent floating point values.
702 #$i_float I_FLOAT /**/
705 * This symbol, if defined, indicates that <gdbm.h> exists and should
711 * This symbol, if defined, indicates to the C program that it should
712 * include <limits.h> to get definition of symbols like WORD_BIT or
713 * LONG_MAX, i.e. machine dependant limitations.
715 #$i_limits I_LIMITS /**/
718 * This symbol, if defined, indicates to the C program that it should
719 * include <locale.h>.
721 #$i_locale I_LOCALE /**/
724 * This symbol, if defined, indicates to the C program that it should
730 * This symbol, if defined, indicates to the C program that it should
731 * include <memory.h>.
733 #$i_memory I_MEMORY /**/
736 * This symbol, if defined, indicates to the C program that it should
737 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
739 #$i_niin I_NETINET_IN /**/
742 * This symbol, if defined, indicates that <stddef.h> exists and should
745 #$i_stddef I_STDDEF /**/
748 * This symbol, if defined, indicates that <stdlib.h> exists and should
751 #$i_stdlib I_STDLIB /**/
754 * This symbol, if defined, indicates to the C program that it should
755 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
757 #$i_string I_STRING /**/
760 * This symbol, if defined, indicates to the C program that it should
761 * include <sys/dir.h>.
763 #$i_sysdir I_SYS_DIR /**/
766 * This symbol, if defined, indicates to the C program that it should
767 * include <sys/file.h> to get definition of R_OK and friends.
769 #$i_sysfile I_SYS_FILE /**/
772 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
773 * be included. Otherwise, include <sgtty.h> or <termio.h>.
776 * This symbol, if defined, indicates the <sys/sockio.h> should be included
777 * to get socket ioctl options, like SIOCATMARK.
779 #$i_sysioctl I_SYS_IOCTL /**/
780 #$i_syssockio I_SYS_SOCKIO /**/
783 * This symbol, if defined, indicates to the C program that it should
784 * include <sys/ndir.h>.
786 #$i_sysndir I_SYS_NDIR /**/
789 * This symbol, if defined, indicates to the C program that it should
790 * include <sys/param.h>.
792 #$i_sysparam I_SYS_PARAM /**/
795 * This symbol, if defined, indicates that the program may include
796 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
797 * to only include <poll.h>.
799 #$i_syspoll I_SYS_POLL /**/
802 * This symbol, if defined, indicates to the C program that it should
803 * include <sys/resource.h>.
805 #$i_sysresrc I_SYS_RESOURCE /**/
808 * This symbol, if defined, indicates to the C program that it should
809 * include <sys/select.h> in order to get definition of struct timeval.
811 #$i_sysselct I_SYS_SELECT /**/
814 * This symbol, if defined, indicates to the C program that it should
815 * include <sys/stat.h>.
817 #$i_sysstat I_SYS_STAT /**/
820 * This symbol, if defined, indicates to the C program that it should
821 * include <sys/times.h>.
823 #$i_systimes I_SYS_TIMES /**/
826 * This symbol, if defined, indicates to the C program that it should
827 * include <sys/types.h>.
829 #$i_systypes I_SYS_TYPES /**/
832 * This symbol, if defined, indicates to the C program that it should
833 * include <sys/un.h> to get UNIX domain socket definitions.
835 #$i_sysun I_SYS_UN /**/
838 * This symbol, if defined, indicates to the C program that it should
839 * include <sys/wait.h>.
841 #$i_syswait I_SYS_WAIT /**/
844 * This symbol, if defined, indicates to the C program that it should
845 * include <unistd.h>.
847 #$i_unistd I_UNISTD /**/
850 * This symbol, if defined, indicates to the C program that it should
853 #$i_utime I_UTIME /**/
856 * This symbol, if defined, indicates to the C program that it should
857 * include <values.h> to get definition of symbols like MINFLOAT or
858 * MAXLONG, i.e. machine dependant limitations. Probably, you
859 * should use <limits.h> instead, if it is available.
861 #$i_values I_VALUES /**/
864 * This symbol, if defined, indicates to the C program that it should
867 #$i_vfork I_VFORK /**/
870 * This variable is defined on systems supporting prototype declaration
871 * of functions with a variable number of arguments.
874 * This macro is used to declare function parameters in prototypes for
875 * functions with a variable number of parameters. Use double parentheses.
878 * int printf _V((char *fmt, ...));
880 * Remember to use the plain simple _() macro when declaring a function
881 * with no variable number of arguments, since it might be possible to
882 * have a non-effect _V() macro and still get prototypes via _().
884 #$vaproto CAN_VAPROTO /**/
886 #define _V(args) args
892 * This symbol contains the name of the operating system, as determined
893 * by Configure. You shouldn't rely on it too much; the specific
894 * feature tests from Configure are generally more reliable.
897 * This symbol contains the version of the operating system, as determined
898 * by Configure. You shouldn't rely on it too much; the specific
899 * feature tests from Configure are generally more reliable.
901 #define OSNAME "$osname" /**/
902 #define OSVERS "$osvers" /**/
904 /* USE_CROSS_COMPILE:
905 * This symbol, if defined, indicates that Perl is being cross-compiled.
908 * This symbol, if defined, indicates the target architecture
909 * Perl has been cross-compiled to. Undefined if not a cross-compile.
911 #ifndef USE_CROSS_COMPILE
912 #$usecrosscompile USE_CROSS_COMPILE /**/
913 #define PERL_TARGETARCH "$targetarch" /**/
917 * This symbol, if defined, signifies that the build
918 * process will produce some binary files that are going to be
919 * used in a cross-platform environment. This is the case for
920 * example with the NeXT "fat" binaries that contain executables
923 #$multiarch MULTIARCH /**/
926 * This symbol contains the number of bytes required to align a
927 * double, or a long double when applicable. Usual values are 2,
928 * 4 and 8. The default is eight, for safety. For cross-compiling
929 * or multiarch support, Configure will set a minimum of 8.
931 #define MEM_ALIGNBYTES $alignbytes
934 * This variable, if defined, holds the name of the directory in
935 * which the user wants to put architecture-dependent public
936 * library files for $package. It is most often a local directory
937 * such as /usr/local/lib. Programs using this variable must be
938 * prepared to deal with filename expansion. If ARCHLIB is the
939 * same as PRIVLIB, it is not defined, since presumably the
940 * program already searches PRIVLIB.
943 * This symbol contains the ~name expanded version of ARCHLIB, to be used
944 * in programs that are not prepared to deal with ~ expansion at run-time.
946 #$d_archlib ARCHLIB "$archlib" /**/
947 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
950 * This symbol holds a string representing the architecture name.
951 * It may be used to construct an architecture-dependant pathname
952 * where library files may be held under a private library, for
955 #define ARCHNAME "$archname" /**/
958 * This symbol holds the path of the bin directory where the package will
959 * be installed. Program must be prepared to deal with ~name substitution.
962 * This symbol is the filename expanded version of the BIN symbol, for
963 * programs that do not want to deal with that at run-time.
965 /* PERL_RELOCATABLE_INC:
966 * This symbol, if defined, indicates that we'd like to relocate entries
967 * in @INC at run time based on the location of the perl binary.
969 #define BIN "$bin" /**/
970 #define BIN_EXP "$binexp" /**/
971 #define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
974 * This symbol contains the value of sizeof(int) so that the C
975 * preprocessor can make decisions based on it.
978 * This symbol contains the value of sizeof(long) so that the C
979 * preprocessor can make decisions based on it.
982 * This symbol contains the value of sizeof(short) so that the C
983 * preprocessor can make decisions based on it.
985 #define INTSIZE $intsize /**/
986 #define LONGSIZE $longsize /**/
987 #define SHORTSIZE $shortsize /**/
990 * This symbol holds the hexadecimal constant defined in byteorder,
991 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
992 * If the compiler supports cross-compiling or multiple-architecture
993 * binaries (e.g. on NeXT systems), use compiler-defined macros to
994 * determine the byte order.
995 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
996 * Binaries (MAB) on either big endian or little endian machines.
997 * The endian-ness is available at compile-time. This only matters
998 * for perl, where the config.h can be generated and installed on
999 * one system, and used by a different architecture to build an
1000 * extension. Older versions of NeXT that might not have
1001 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1002 * so the default case (for NeXT) is big endian to catch them.
1003 * This might matter for NeXT 3.0.
1005 #if defined(MULTIARCH)
1006 # ifdef __LITTLE_ENDIAN__
1008 # define BYTEORDER 0x1234
1011 # define BYTEORDER 0x12345678
1015 # ifdef __BIG_ENDIAN__
1017 # define BYTEORDER 0x4321
1020 # define BYTEORDER 0x87654321
1025 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1026 # define BYTEORDER 0x4321
1029 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1033 * This symbol contains the size of a char, so that the C preprocessor
1034 * can make decisions based on it.
1036 #define CHARBITS $charbits /**/
1039 * This macro concatenates 2 tokens together.
1042 * This macro surrounds its token with double quotes.
1045 #define CAT2(a,b) a/**/b
1046 #define STRINGIFY(a) "a"
1048 #if $cpp_stuff == 42
1049 #define PeRl_CaTiFy(a, b) a ## b
1050 #define PeRl_StGiFy(a) #a
1051 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1052 #define StGiFy(a) PeRl_StGiFy(a)
1053 #define STRINGIFY(a) PeRl_StGiFy(a)
1055 #if $cpp_stuff != 1 && $cpp_stuff != 42
1056 #include "Bletch: How does this C preprocessor concatenate tokens?"
1060 * This symbol contains the first part of the string which will invoke
1061 * the C preprocessor on the standard input and produce to standard
1062 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1063 * call a wrapper. See CPPRUN.
1066 * This symbol contains the second part of the string which will invoke
1067 * the C preprocessor on the standard input and produce to standard
1068 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1069 * to specify standard input, otherwise the value is "".
1072 * This symbol contains the string which will invoke a C preprocessor on
1073 * the standard input and produce to standard output. It needs to end
1074 * with CPPLAST, after all other preprocessor flags have been specified.
1075 * The main difference with CPPSTDIN is that this program will never be a
1076 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1077 * available directly to the user. Note that it may well be different from
1078 * the preprocessor used to compile the C program.
1081 * This symbol is intended to be used along with CPPRUN in the same manner
1082 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1084 #define CPPSTDIN "$cppstdin"
1085 #define CPPMINUS "$cppminus"
1086 #define CPPRUN "$cpprun"
1087 #define CPPLAST "$cpplast"
1090 * This manifest constant lets the C program know that the access()
1091 * system call is available to check for accessibility using real UID/GID.
1092 * (always present on UNIX.)
1094 #$d_access HAS_ACCESS /**/
1097 * This symbol, if defined, indicates that the accessx routine is
1098 * available to do extended access checks.
1100 #$d_accessx HAS_ACCESSX /**/
1103 * This symbol, if defined, indicates that the asctime_r routine
1104 * is available to asctime re-entrantly.
1107 * This symbol encodes the prototype of asctime_r.
1108 * It is zero if d_asctime_r is undef, and one of the
1109 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1112 #$d_asctime_r HAS_ASCTIME_R /**/
1113 #define ASCTIME_R_PROTO $asctime_r_proto /**/
1115 /* HASATTRIBUTE_FORMAT:
1116 * Can we handle GCC attribute for checking printf-style formats
1118 /* PRINTF_FORMAT_NULL_OK:
1119 * Allows __printf__ format to be null when checking printf-style
1121 /* HASATTRIBUTE_MALLOC:
1122 * Can we handle GCC attribute for malloc-style functions.
1124 /* HASATTRIBUTE_NONNULL:
1125 * Can we handle GCC attribute for nonnull function parms.
1127 /* HASATTRIBUTE_NORETURN:
1128 * Can we handle GCC attribute for functions that do not return
1130 /* HASATTRIBUTE_PURE:
1131 * Can we handle GCC attribute for pure functions
1133 /* HASATTRIBUTE_UNUSED:
1134 * Can we handle GCC attribute for unused variables and arguments
1136 /* HASATTRIBUTE_DEPRECATED:
1137 * Can we handle GCC attribute for marking deprecated APIs
1139 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1140 * Can we handle GCC attribute for warning on unused results
1142 #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/
1143 #$d_attribute_format HASATTRIBUTE_FORMAT /**/
1144 #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
1145 #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1146 #$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1147 #$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1148 #$d_attribute_pure HASATTRIBUTE_PURE /**/
1149 #$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1150 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1153 * This symbol is defined if the C compiler can cast negative
1154 * or large floating point numbers to 32-bit ints.
1156 #$d_casti32 CASTI32 /**/
1159 * This symbol is defined if the C compiler can cast negative
1160 * numbers to unsigned longs, ints and shorts.
1163 * This symbol contains flags that say what difficulties the compiler
1164 * has casting odd floating values to unsigned long:
1166 * 1 = couldn't cast < 0
1167 * 2 = couldn't cast >= 0x80000000
1168 * 4 = couldn't cast in argument expression list
1170 #$d_castneg CASTNEGFLOAT /**/
1171 #define CASTFLAGS $castflags /**/
1174 * This symbol, if defined, indicates that the closedir() routine
1175 * does not return a value.
1177 #$d_void_closedir VOID_CLOSEDIR /**/
1180 * This symbol, if defined, indicates that this C compiler knows about
1181 * the const type. There is no need to actually test for that symbol
1182 * within your programs. The mere use of the "const" keyword will
1183 * trigger the necessary tests.
1185 #$d_const HASCONST /**/
1191 * This symbol, if defined, indicates that the crypt_r routine
1192 * is available to crypt re-entrantly.
1195 * This symbol encodes the prototype of crypt_r.
1196 * It is zero if d_crypt_r is undef, and one of the
1197 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1200 #$d_crypt_r HAS_CRYPT_R /**/
1201 #define CRYPT_R_PROTO $crypt_r_proto /**/
1204 * This symbol, if defined, indicates that the C-shell exists.
1207 * This symbol, if defined, contains the full pathname of csh.
1209 #$d_csh HAS_CSH /**/
1211 #define CSH "$full_csh" /**/
1215 * This symbol, if defined, indicates that the ctermid_r routine
1216 * is available to ctermid re-entrantly.
1219 * This symbol encodes the prototype of ctermid_r.
1220 * It is zero if d_ctermid_r is undef, and one of the
1221 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1224 #$d_ctermid_r HAS_CTERMID_R /**/
1225 #define CTERMID_R_PROTO $ctermid_r_proto /**/
1228 * This symbol, if defined, indicates that the ctime_r routine
1229 * is available to ctime re-entrantly.
1232 * This symbol encodes the prototype of ctime_r.
1233 * It is zero if d_ctime_r is undef, and one of the
1234 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1237 #$d_ctime_r HAS_CTIME_R /**/
1238 #define CTIME_R_PROTO $ctime_r_proto /**/
1240 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1241 * This symbol, if defined, indicates that the bug that prevents
1242 * setuid scripts from being secure is not present in this kernel.
1245 * This symbol, if defined, indicates that the C program should
1246 * check the script that it is executing for setuid/setgid bits, and
1247 * attempt to emulate setuid/setgid on systems that have disabled
1248 * setuid #! scripts because the kernel can't do it securely.
1249 * It is up to the package designer to make sure that this emulation
1250 * is done securely. Among other things, it should do an fstat on
1251 * the script it just opened to make sure it really is a setuid/setgid
1252 * script, it should make sure the arguments passed correspond exactly
1253 * to the argument on the #! line, and it should not trust any
1254 * subprocesses to which it must pass the filename rather than the
1255 * file descriptor of the script to be executed.
1257 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1258 #$d_dosuid DOSUID /**/
1261 * This symbol, if defined, indicates that the drand48_r routine
1262 * is available to drand48 re-entrantly.
1265 * This symbol encodes the prototype of drand48_r.
1266 * It is zero if d_drand48_r is undef, and one of the
1267 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1270 #$d_drand48_r HAS_DRAND48_R /**/
1271 #define DRAND48_R_PROTO $drand48_r_proto /**/
1273 /* HAS_DRAND48_PROTO:
1274 * This symbol, if defined, indicates that the system provides
1275 * a prototype for the drand48() function. Otherwise, it is up
1276 * to the program to supply one. A good guess is
1277 * extern double drand48(void);
1279 #$d_drand48proto HAS_DRAND48_PROTO /**/
1282 * This symbol, if defined, indicates that the eaccess routine is
1283 * available to do extended access checks.
1285 #$d_eaccess HAS_EACCESS /**/
1288 * This symbol, if defined, indicates that the getgrent routine is
1289 * available for finalizing sequential access of the group database.
1291 #$d_endgrent HAS_ENDGRENT /**/
1294 * This symbol, if defined, indicates that the endgrent_r routine
1295 * is available to endgrent re-entrantly.
1297 /* ENDGRENT_R_PROTO:
1298 * This symbol encodes the prototype of endgrent_r.
1299 * It is zero if d_endgrent_r is undef, and one of the
1300 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1303 #$d_endgrent_r HAS_ENDGRENT_R /**/
1304 #define ENDGRENT_R_PROTO $endgrent_r_proto /**/
1307 * This symbol, if defined, indicates that the endhostent() routine is
1308 * available to close whatever was being used for host queries.
1310 #$d_endhent HAS_ENDHOSTENT /**/
1312 /* HAS_ENDHOSTENT_R:
1313 * This symbol, if defined, indicates that the endhostent_r routine
1314 * is available to endhostent re-entrantly.
1316 /* ENDHOSTENT_R_PROTO:
1317 * This symbol encodes the prototype of endhostent_r.
1318 * It is zero if d_endhostent_r is undef, and one of the
1319 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1322 #$d_endhostent_r HAS_ENDHOSTENT_R /**/
1323 #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
1326 * This symbol, if defined, indicates that the endnetent() routine is
1327 * available to close whatever was being used for network queries.
1329 #$d_endnent HAS_ENDNETENT /**/
1332 * This symbol, if defined, indicates that the endnetent_r routine
1333 * is available to endnetent re-entrantly.
1335 /* ENDNETENT_R_PROTO:
1336 * This symbol encodes the prototype of endnetent_r.
1337 * It is zero if d_endnetent_r is undef, and one of the
1338 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1341 #$d_endnetent_r HAS_ENDNETENT_R /**/
1342 #define ENDNETENT_R_PROTO $endnetent_r_proto /**/
1345 * This symbol, if defined, indicates that the endprotoent() routine is
1346 * available to close whatever was being used for protocol queries.
1348 #$d_endpent HAS_ENDPROTOENT /**/
1350 /* HAS_ENDPROTOENT_R:
1351 * This symbol, if defined, indicates that the endprotoent_r routine
1352 * is available to endprotoent re-entrantly.
1354 /* ENDPROTOENT_R_PROTO:
1355 * This symbol encodes the prototype of endprotoent_r.
1356 * It is zero if d_endprotoent_r is undef, and one of the
1357 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1360 #$d_endprotoent_r HAS_ENDPROTOENT_R /**/
1361 #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
1364 * This symbol, if defined, indicates that the getgrent routine is
1365 * available for finalizing sequential access of the passwd database.
1367 #$d_endpwent HAS_ENDPWENT /**/
1370 * This symbol, if defined, indicates that the endpwent_r routine
1371 * is available to endpwent re-entrantly.
1373 /* ENDPWENT_R_PROTO:
1374 * This symbol encodes the prototype of endpwent_r.
1375 * It is zero if d_endpwent_r is undef, and one of the
1376 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1379 #$d_endpwent_r HAS_ENDPWENT_R /**/
1380 #define ENDPWENT_R_PROTO $endpwent_r_proto /**/
1383 * This symbol, if defined, indicates that the endservent() routine is
1384 * available to close whatever was being used for service queries.
1386 #$d_endsent HAS_ENDSERVENT /**/
1388 /* HAS_ENDSERVENT_R:
1389 * This symbol, if defined, indicates that the endservent_r routine
1390 * is available to endservent re-entrantly.
1392 /* ENDSERVENT_R_PROTO:
1393 * This symbol encodes the prototype of endservent_r.
1394 * It is zero if d_endservent_r is undef, and one of the
1395 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1398 #$d_endservent_r HAS_ENDSERVENT_R /**/
1399 #define ENDSERVENT_R_PROTO $endservent_r_proto /**/
1402 * This symbol, when defined, indicates presence of the fd_set typedef
1405 #$d_fd_set HAS_FD_SET /**/
1408 * This symbol, if defined, indicates that the system supports filenames
1409 * longer than 14 characters.
1411 #$d_flexfnam FLEXFILENAMES /**/
1414 * This preprocessor macro is defined to convert a floating point
1415 * number to a string without a trailing decimal point. This
1416 * emulates the behavior of sprintf("%g"), but is sometimes much more
1417 * efficient. If gconvert() is not available, but gcvt() drops the
1418 * trailing decimal point, then gcvt() is used. If all else fails,
1419 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1420 * macro are: value, number of digits, whether trailing zeros should
1421 * be retained, and the output buffer.
1422 * The usual values are:
1423 * d_Gconvert='gconvert((x),(n),(t),(b))'
1424 * d_Gconvert='gcvt((x),(n),(b))'
1425 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1426 * The last two assume trailing zeros should not be kept.
1428 #define Gconvert(x,n,t,b) $d_Gconvert
1431 * This symbol, if defined, indicates that the getgrent routine is
1432 * available for sequential access of the group database.
1434 #$d_getgrent HAS_GETGRENT /**/
1437 * This symbol, if defined, indicates that the getgrent_r routine
1438 * is available to getgrent re-entrantly.
1440 /* GETGRENT_R_PROTO:
1441 * This symbol encodes the prototype of getgrent_r.
1442 * It is zero if d_getgrent_r is undef, and one of the
1443 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1446 #$d_getgrent_r HAS_GETGRENT_R /**/
1447 #define GETGRENT_R_PROTO $getgrent_r_proto /**/
1450 * This symbol, if defined, indicates that the getgrgid_r routine
1451 * is available to getgrgid re-entrantly.
1453 /* GETGRGID_R_PROTO:
1454 * This symbol encodes the prototype of getgrgid_r.
1455 * It is zero if d_getgrgid_r is undef, and one of the
1456 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1459 #$d_getgrgid_r HAS_GETGRGID_R /**/
1460 #define GETGRGID_R_PROTO $getgrgid_r_proto /**/
1463 * This symbol, if defined, indicates that the getgrnam_r routine
1464 * is available to getgrnam re-entrantly.
1466 /* GETGRNAM_R_PROTO:
1467 * This symbol encodes the prototype of getgrnam_r.
1468 * It is zero if d_getgrnam_r is undef, and one of the
1469 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1472 #$d_getgrnam_r HAS_GETGRNAM_R /**/
1473 #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
1475 /* HAS_GETHOSTBYADDR:
1476 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1477 * available to look up hosts by their IP addresses.
1479 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1481 /* HAS_GETHOSTBYNAME:
1482 * This symbol, if defined, indicates that the gethostbyname() routine is
1483 * available to look up host names in some data base or other.
1485 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1488 * This symbol, if defined, indicates that the gethostent() routine is
1489 * available to look up host names in some data base or another.
1491 #$d_gethent HAS_GETHOSTENT /**/
1494 * This symbol, if defined, indicates that the C program may use the
1495 * gethostname() routine to derive the host name. See also HAS_UNAME
1499 * This symbol, if defined, indicates that the C program may use the
1500 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1504 * This symbol, if defined, indicates the command to feed to the
1505 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1506 * and HAS_UNAME. Note that the command uses a fully qualified path,
1507 * so that it is safe even if used by a process with super-user
1511 * This symbol, if defined, indicates that the C program may use the
1512 * contents of PHOSTNAME as a command to feed to the popen() routine
1513 * to derive the host name.
1515 #$d_gethname HAS_GETHOSTNAME /**/
1516 #$d_uname HAS_UNAME /**/
1517 #$d_phostname HAS_PHOSTNAME /**/
1518 #ifdef HAS_PHOSTNAME
1519 #define PHOSTNAME "$aphostname" /* How to get the host name */
1522 /* HAS_GETHOSTBYADDR_R:
1523 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1524 * is available to gethostbyaddr re-entrantly.
1526 /* GETHOSTBYADDR_R_PROTO:
1527 * This symbol encodes the prototype of gethostbyaddr_r.
1528 * It is zero if d_gethostbyaddr_r is undef, and one of the
1529 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1532 #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
1533 #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
1535 /* HAS_GETHOSTBYNAME_R:
1536 * This symbol, if defined, indicates that the gethostbyname_r routine
1537 * is available to gethostbyname re-entrantly.
1539 /* GETHOSTBYNAME_R_PROTO:
1540 * This symbol encodes the prototype of gethostbyname_r.
1541 * It is zero if d_gethostbyname_r is undef, and one of the
1542 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1545 #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
1546 #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
1548 /* HAS_GETHOSTENT_R:
1549 * This symbol, if defined, indicates that the gethostent_r routine
1550 * is available to gethostent re-entrantly.
1552 /* GETHOSTENT_R_PROTO:
1553 * This symbol encodes the prototype of gethostent_r.
1554 * It is zero if d_gethostent_r is undef, and one of the
1555 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1558 #$d_gethostent_r HAS_GETHOSTENT_R /**/
1559 #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
1561 /* HAS_GETHOST_PROTOS:
1562 * This symbol, if defined, indicates that <netdb.h> includes
1563 * prototypes for gethostent(), gethostbyname(), and
1564 * gethostbyaddr(). Otherwise, it is up to the program to guess
1565 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1567 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
1570 * This symbol, if defined, indicates that the getlogin_r routine
1571 * is available to getlogin re-entrantly.
1573 /* GETLOGIN_R_PROTO:
1574 * This symbol encodes the prototype of getlogin_r.
1575 * It is zero if d_getlogin_r is undef, and one of the
1576 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1579 #$d_getlogin_r HAS_GETLOGIN_R /**/
1580 #define GETLOGIN_R_PROTO $getlogin_r_proto /**/
1582 /* HAS_GETNETBYADDR:
1583 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1584 * available to look up networks by their IP addresses.
1586 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1588 /* HAS_GETNETBYNAME:
1589 * This symbol, if defined, indicates that the getnetbyname() routine is
1590 * available to look up networks by their names.
1592 #$d_getnbyname HAS_GETNETBYNAME /**/
1595 * This symbol, if defined, indicates that the getnetent() routine is
1596 * available to look up network names in some data base or another.
1598 #$d_getnent HAS_GETNETENT /**/
1600 /* HAS_GETNETBYADDR_R:
1601 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1602 * is available to getnetbyaddr re-entrantly.
1604 /* GETNETBYADDR_R_PROTO:
1605 * This symbol encodes the prototype of getnetbyaddr_r.
1606 * It is zero if d_getnetbyaddr_r is undef, and one of the
1607 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1610 #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
1611 #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
1613 /* HAS_GETNETBYNAME_R:
1614 * This symbol, if defined, indicates that the getnetbyname_r routine
1615 * is available to getnetbyname re-entrantly.
1617 /* GETNETBYNAME_R_PROTO:
1618 * This symbol encodes the prototype of getnetbyname_r.
1619 * It is zero if d_getnetbyname_r is undef, and one of the
1620 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1623 #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
1624 #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
1627 * This symbol, if defined, indicates that the getnetent_r routine
1628 * is available to getnetent re-entrantly.
1630 /* GETNETENT_R_PROTO:
1631 * This symbol encodes the prototype of getnetent_r.
1632 * It is zero if d_getnetent_r is undef, and one of the
1633 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1636 #$d_getnetent_r HAS_GETNETENT_R /**/
1637 #define GETNETENT_R_PROTO $getnetent_r_proto /**/
1639 /* HAS_GETNET_PROTOS:
1640 * This symbol, if defined, indicates that <netdb.h> includes
1641 * prototypes for getnetent(), getnetbyname(), and
1642 * getnetbyaddr(). Otherwise, it is up to the program to guess
1643 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1645 #$d_getnetprotos HAS_GETNET_PROTOS /**/
1648 * This symbol, if defined, indicates that the getpagesize system call
1649 * is available to get system page size, which is the granularity of
1650 * many memory management calls.
1652 #$d_getpagsz HAS_GETPAGESIZE /**/
1655 * This symbol, if defined, indicates that the getprotoent() routine is
1656 * available to look up protocols in some data base or another.
1658 #$d_getpent HAS_GETPROTOENT /**/
1661 * This symbol, if defined, indicates that the getpgrp routine is
1662 * available to get the current process group.
1665 * This symbol, if defined, indicates that getpgrp needs one
1666 * arguments whereas USG one needs none.
1668 #$d_getpgrp HAS_GETPGRP /**/
1669 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1671 /* HAS_GETPROTOBYNAME:
1672 * This symbol, if defined, indicates that the getprotobyname()
1673 * routine is available to look up protocols by their name.
1675 /* HAS_GETPROTOBYNUMBER:
1676 * This symbol, if defined, indicates that the getprotobynumber()
1677 * routine is available to look up protocols by their number.
1679 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1680 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1682 /* HAS_GETPROTOBYNAME_R:
1683 * This symbol, if defined, indicates that the getprotobyname_r routine
1684 * is available to getprotobyname re-entrantly.
1686 /* GETPROTOBYNAME_R_PROTO:
1687 * This symbol encodes the prototype of getprotobyname_r.
1688 * It is zero if d_getprotobyname_r is undef, and one of the
1689 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1692 #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
1693 #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
1695 /* HAS_GETPROTOBYNUMBER_R:
1696 * This symbol, if defined, indicates that the getprotobynumber_r routine
1697 * is available to getprotobynumber re-entrantly.
1699 /* GETPROTOBYNUMBER_R_PROTO:
1700 * This symbol encodes the prototype of getprotobynumber_r.
1701 * It is zero if d_getprotobynumber_r is undef, and one of the
1702 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1705 #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
1706 #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
1708 /* HAS_GETPROTOENT_R:
1709 * This symbol, if defined, indicates that the getprotoent_r routine
1710 * is available to getprotoent re-entrantly.
1712 /* GETPROTOENT_R_PROTO:
1713 * This symbol encodes the prototype of getprotoent_r.
1714 * It is zero if d_getprotoent_r is undef, and one of the
1715 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1718 #$d_getprotoent_r HAS_GETPROTOENT_R /**/
1719 #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
1721 /* HAS_GETPROTO_PROTOS:
1722 * This symbol, if defined, indicates that <netdb.h> includes
1723 * prototypes for getprotoent(), getprotobyname(), and
1724 * getprotobyaddr(). Otherwise, it is up to the program to guess
1725 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1727 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1730 * This symbol, if defined, indicates that the getpwent routine is
1731 * available for sequential access of the passwd database.
1732 * If this is not available, the older getpw() function may be available.
1734 #$d_getpwent HAS_GETPWENT /**/
1737 * This symbol, if defined, indicates that the getpwent_r routine
1738 * is available to getpwent re-entrantly.
1740 /* GETPWENT_R_PROTO:
1741 * This symbol encodes the prototype of getpwent_r.
1742 * It is zero if d_getpwent_r is undef, and one of the
1743 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1746 #$d_getpwent_r HAS_GETPWENT_R /**/
1747 #define GETPWENT_R_PROTO $getpwent_r_proto /**/
1750 * This symbol, if defined, indicates that the getpwnam_r routine
1751 * is available to getpwnam re-entrantly.
1753 /* GETPWNAM_R_PROTO:
1754 * This symbol encodes the prototype of getpwnam_r.
1755 * It is zero if d_getpwnam_r is undef, and one of the
1756 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1759 #$d_getpwnam_r HAS_GETPWNAM_R /**/
1760 #define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
1763 * This symbol, if defined, indicates that the getpwuid_r routine
1764 * is available to getpwuid re-entrantly.
1766 /* GETPWUID_R_PROTO:
1767 * This symbol encodes the prototype of getpwuid_r.
1768 * It is zero if d_getpwuid_r is undef, and one of the
1769 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1772 #$d_getpwuid_r HAS_GETPWUID_R /**/
1773 #define GETPWUID_R_PROTO $getpwuid_r_proto /**/
1776 * This symbol, if defined, indicates that the getservent() routine is
1777 * available to look up network services in some data base or another.
1779 #$d_getsent HAS_GETSERVENT /**/
1781 /* HAS_GETSERVBYNAME_R:
1782 * This symbol, if defined, indicates that the getservbyname_r routine
1783 * is available to getservbyname re-entrantly.
1785 /* GETSERVBYNAME_R_PROTO:
1786 * This symbol encodes the prototype of getservbyname_r.
1787 * It is zero if d_getservbyname_r is undef, and one of the
1788 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1791 #$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
1792 #define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
1794 /* HAS_GETSERVBYPORT_R:
1795 * This symbol, if defined, indicates that the getservbyport_r routine
1796 * is available to getservbyport re-entrantly.
1798 /* GETSERVBYPORT_R_PROTO:
1799 * This symbol encodes the prototype of getservbyport_r.
1800 * It is zero if d_getservbyport_r is undef, and one of the
1801 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1804 #$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
1805 #define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
1807 /* HAS_GETSERVENT_R:
1808 * This symbol, if defined, indicates that the getservent_r routine
1809 * is available to getservent re-entrantly.
1811 /* GETSERVENT_R_PROTO:
1812 * This symbol encodes the prototype of getservent_r.
1813 * It is zero if d_getservent_r is undef, and one of the
1814 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1817 #$d_getservent_r HAS_GETSERVENT_R /**/
1818 #define GETSERVENT_R_PROTO $getservent_r_proto /**/
1820 /* HAS_GETSERV_PROTOS:
1821 * This symbol, if defined, indicates that <netdb.h> includes
1822 * prototypes for getservent(), getservbyname(), and
1823 * getservbyaddr(). Otherwise, it is up to the program to guess
1824 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1826 #$d_getservprotos HAS_GETSERV_PROTOS /**/
1829 * This symbol, if defined, indicates that the getspnam_r routine
1830 * is available to getspnam re-entrantly.
1832 /* GETSPNAM_R_PROTO:
1833 * This symbol encodes the prototype of getspnam_r.
1834 * It is zero if d_getspnam_r is undef, and one of the
1835 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1838 #$d_getspnam_r HAS_GETSPNAM_R /**/
1839 #define GETSPNAM_R_PROTO $getspnam_r_proto /**/
1841 /* HAS_GETSERVBYNAME:
1842 * This symbol, if defined, indicates that the getservbyname()
1843 * routine is available to look up services by their name.
1845 /* HAS_GETSERVBYPORT:
1846 * This symbol, if defined, indicates that the getservbyport()
1847 * routine is available to look up services by their port.
1849 #$d_getsbyname HAS_GETSERVBYNAME /**/
1850 #$d_getsbyport HAS_GETSERVBYPORT /**/
1853 * This symbol, if defined, indicates that the gmtime_r routine
1854 * is available to gmtime re-entrantly.
1857 * This symbol encodes the prototype of gmtime_r.
1858 * It is zero if d_gmtime_r is undef, and one of the
1859 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1862 #$d_gmtime_r HAS_GMTIME_R /**/
1863 #define GMTIME_R_PROTO $gmtime_r_proto /**/
1866 * This symbol, if defined, indicates to the C program that
1867 * the GNU C library is being used. A better check is to use
1868 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1870 #$d_gnulibc HAS_GNULIBC /**/
1871 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1872 # define _GNU_SOURCE
1876 * This symbol, if defined, indicates that the htonl() routine (and
1877 * friends htons() ntohl() ntohs()) are available to do network
1878 * order byte swapping.
1881 * This symbol, if defined, indicates that the htons() routine (and
1882 * friends htonl() ntohl() ntohs()) are available to do network
1883 * order byte swapping.
1886 * This symbol, if defined, indicates that the ntohl() routine (and
1887 * friends htonl() htons() ntohs()) are available to do network
1888 * order byte swapping.
1891 * This symbol, if defined, indicates that the ntohs() routine (and
1892 * friends htonl() htons() ntohl()) are available to do network
1893 * order byte swapping.
1895 #$d_htonl HAS_HTONL /**/
1896 #$d_htonl HAS_HTONS /**/
1897 #$d_htonl HAS_NTOHL /**/
1898 #$d_htonl HAS_NTOHS /**/
1901 * This manifest constant lets the C program know that isascii
1904 #$d_isascii HAS_ISASCII /**/
1907 * This symbol, if defined, indicates that the lchown routine is
1908 * available to operate on a symbolic link (instead of following the
1911 #$d_lchown HAS_LCHOWN /**/
1914 * This symbol, if defined, indicates that the localtime_r routine
1915 * is available to localtime re-entrantly.
1917 /* LOCALTIME_R_NEEDS_TZSET:
1918 * Many libc's localtime_r implementations do not call tzset,
1919 * making them differ from localtime(), and making timezone
1920 * changes using \$ENV{TZ} without explicitly calling tzset
1921 * impossible. This symbol makes us call tzset before localtime_r
1923 #$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
1924 #ifdef LOCALTIME_R_NEEDS_TZSET
1925 #define L_R_TZSET tzset(),
1930 /* LOCALTIME_R_PROTO:
1931 * This symbol encodes the prototype of localtime_r.
1932 * It is zero if d_localtime_r is undef, and one of the
1933 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1936 #$d_localtime_r HAS_LOCALTIME_R /**/
1937 #define LOCALTIME_R_PROTO $localtime_r_proto /**/
1940 * This symbol will be defined if the C compiler supports long
1944 * This symbol contains the size of a long double, so that the
1945 * C preprocessor can make decisions based on it. It is only
1946 * defined if the system supports long doubles.
1948 #$d_longdbl HAS_LONG_DOUBLE /**/
1949 #ifdef HAS_LONG_DOUBLE
1950 #define LONG_DOUBLESIZE $longdblsize /**/
1954 * This symbol will be defined if the C compiler supports long long.
1957 * This symbol contains the size of a long long, so that the
1958 * C preprocessor can make decisions based on it. It is only
1959 * defined if the system supports long long.
1961 #$d_longlong HAS_LONG_LONG /**/
1962 #ifdef HAS_LONG_LONG
1963 #define LONGLONGSIZE $longlongsize /**/
1967 * This symbol, if defined, indicates that the system provides
1968 * a prototype for the lseek() function. Otherwise, it is up
1969 * to the program to supply one. A good guess is
1970 * extern off_t lseek(int, off_t, int);
1972 #$d_lseekproto HAS_LSEEK_PROTO /**/
1975 * This symbol, if defined, indicates that the memchr routine is available
1976 * to locate characters within a C string.
1978 #$d_memchr HAS_MEMCHR /**/
1981 * This symbol, if defined, indicates that the mkstemp routine is
1982 * available to exclusively create and open a uniquely named
1985 #$d_mkstemp HAS_MKSTEMP /**/
1988 * This symbol, if defined, indicates that the mmap system call is
1989 * available to map a file into memory.
1992 * This symbol holds the return type of the mmap() system call
1993 * (and simultaneously the type of the first argument).
1994 * Usually set to 'void *' or 'caddr_t'.
1996 #$d_mmap HAS_MMAP /**/
1997 #define Mmap_t $mmaptype /**/
2000 * This symbol, if defined, indicates that the entire msg*(2) library is
2001 * supported (IPC mechanism based on message queues).
2003 #$d_msg HAS_MSG /**/
2006 * This manifest constant lets the C program know that the three
2007 * argument form of open(2) is available.
2009 #$d_open3 HAS_OPEN3 /**/
2011 /* OLD_PTHREAD_CREATE_JOINABLE:
2012 * This symbol, if defined, indicates how to create pthread
2013 * in joinable (aka undetached) state. NOTE: not defined
2014 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2015 * (the new version of the constant).
2016 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2019 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
2021 /* HAS_PTHREAD_ATFORK:
2022 * This symbol, if defined, indicates that the pthread_atfork routine
2023 * is available to setup fork handlers.
2025 #$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
2027 /* HAS_PTHREAD_YIELD:
2028 * This symbol, if defined, indicates that the pthread_yield
2029 * routine is available to yield the execution of the current
2030 * thread. sched_yield is preferable to pthread_yield.
2033 * This symbol defines the way to yield the execution of
2034 * the current thread. Known ways are sched_yield,
2035 * pthread_yield, and pthread_yield with NULL.
2038 * This symbol, if defined, indicates that the sched_yield
2039 * routine is available to yield the execution of the current
2040 * thread. sched_yield is preferable to pthread_yield.
2042 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
2043 #define SCHED_YIELD $sched_yield /**/
2044 #$d_sched_yield HAS_SCHED_YIELD /**/
2047 * This symbol, if defined, indicates that the random_r routine
2048 * is available to random re-entrantly.
2051 * This symbol encodes the prototype of random_r.
2052 * It is zero if d_random_r is undef, and one of the
2053 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2056 #$d_random_r HAS_RANDOM_R /**/
2057 #define RANDOM_R_PROTO $random_r_proto /**/
2060 * This symbol, if defined, indicates that the readdir64_r routine
2061 * is available to readdir64 re-entrantly.
2063 /* READDIR64_R_PROTO:
2064 * This symbol encodes the prototype of readdir64_r.
2065 * It is zero if d_readdir64_r is undef, and one of the
2066 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
2069 #$d_readdir64_r HAS_READDIR64_R /**/
2070 #define READDIR64_R_PROTO $readdir64_r_proto /**/
2073 * This symbol, if defined, indicates that the readdir_r routine
2074 * is available to readdir re-entrantly.
2077 * This symbol encodes the prototype of readdir_r.
2078 * It is zero if d_readdir_r is undef, and one of the
2079 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2082 #$d_readdir_r HAS_READDIR_R /**/
2083 #define READDIR_R_PROTO $readdir_r_proto /**/
2086 * This symbol, if defined, indicates that the bcopy routine is available
2087 * to copy potentially overlapping memory blocks. Normally, you should
2088 * probably use memmove() or memcpy(). If neither is defined, roll your
2091 #$d_safebcpy HAS_SAFE_BCOPY /**/
2094 * This symbol, if defined, indicates that the memcpy routine is available
2095 * to copy potentially overlapping memory blocks. If you need to
2096 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2097 * use memmove() instead, if available.
2099 #$d_safemcpy HAS_SAFE_MEMCPY /**/
2102 * This symbol, if defined, indicates that the memcmp routine is available
2103 * and can be used to compare relative magnitudes of chars with their high
2104 * bits set. If it is not defined, roll your own version.
2106 #$d_sanemcmp HAS_SANE_MEMCMP /**/
2109 * This symbol, if defined, indicates that the entire sem*(2) library is
2112 #$d_sem HAS_SEM /**/
2115 * This symbol, if defined, indicates that the setgrent routine is
2116 * available for initializing sequential access of the group database.
2118 #$d_setgrent HAS_SETGRENT /**/
2121 * This symbol, if defined, indicates that the setgrent_r routine
2122 * is available to setgrent re-entrantly.
2124 /* SETGRENT_R_PROTO:
2125 * This symbol encodes the prototype of setgrent_r.
2126 * It is zero if d_setgrent_r is undef, and one of the
2127 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2130 #$d_setgrent_r HAS_SETGRENT_R /**/
2131 #define SETGRENT_R_PROTO $setgrent_r_proto /**/
2134 * This symbol, if defined, indicates that the sethostent() routine is
2137 #$d_sethent HAS_SETHOSTENT /**/
2139 /* HAS_SETHOSTENT_R:
2140 * This symbol, if defined, indicates that the sethostent_r routine
2141 * is available to sethostent re-entrantly.
2143 /* SETHOSTENT_R_PROTO:
2144 * This symbol encodes the prototype of sethostent_r.
2145 * It is zero if d_sethostent_r is undef, and one of the
2146 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
2149 #$d_sethostent_r HAS_SETHOSTENT_R /**/
2150 #define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
2153 * This symbol, if defined, indicates that the setlocale_r routine
2154 * is available to setlocale re-entrantly.
2156 /* SETLOCALE_R_PROTO:
2157 * This symbol encodes the prototype of setlocale_r.
2158 * It is zero if d_setlocale_r is undef, and one of the
2159 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
2162 #$d_setlocale_r HAS_SETLOCALE_R /**/
2163 #define SETLOCALE_R_PROTO $setlocale_r_proto /**/
2166 * This symbol, if defined, indicates that the setnetent() routine is
2169 #$d_setnent HAS_SETNETENT /**/
2172 * This symbol, if defined, indicates that the setnetent_r routine
2173 * is available to setnetent re-entrantly.
2175 /* SETNETENT_R_PROTO:
2176 * This symbol encodes the prototype of setnetent_r.
2177 * It is zero if d_setnetent_r is undef, and one of the
2178 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2181 #$d_setnetent_r HAS_SETNETENT_R /**/
2182 #define SETNETENT_R_PROTO $setnetent_r_proto /**/
2185 * This symbol, if defined, indicates that the setprotoent() routine is
2188 #$d_setpent HAS_SETPROTOENT /**/
2191 * This symbol, if defined, indicates that the setpgrp routine is
2192 * available to set the current process group.
2195 * This symbol, if defined, indicates that setpgrp needs two
2196 * arguments whereas USG one needs none. See also HAS_SETPGID
2197 * for a POSIX interface.
2199 #$d_setpgrp HAS_SETPGRP /**/
2200 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2202 /* HAS_SETPROTOENT_R:
2203 * This symbol, if defined, indicates that the setprotoent_r routine
2204 * is available to setprotoent re-entrantly.
2206 /* SETPROTOENT_R_PROTO:
2207 * This symbol encodes the prototype of setprotoent_r.
2208 * It is zero if d_setprotoent_r is undef, and one of the
2209 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2212 #$d_setprotoent_r HAS_SETPROTOENT_R /**/
2213 #define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
2216 * This symbol, if defined, indicates that the setpwent routine is
2217 * available for initializing sequential access of the passwd database.
2219 #$d_setpwent HAS_SETPWENT /**/
2222 * This symbol, if defined, indicates that the setpwent_r routine
2223 * is available to setpwent re-entrantly.
2225 /* SETPWENT_R_PROTO:
2226 * This symbol encodes the prototype of setpwent_r.
2227 * It is zero if d_setpwent_r is undef, and one of the
2228 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2231 #$d_setpwent_r HAS_SETPWENT_R /**/
2232 #define SETPWENT_R_PROTO $setpwent_r_proto /**/
2235 * This symbol, if defined, indicates that the setservent() routine is
2238 #$d_setsent HAS_SETSERVENT /**/
2240 /* HAS_SETSERVENT_R:
2241 * This symbol, if defined, indicates that the setservent_r routine
2242 * is available to setservent re-entrantly.
2244 /* SETSERVENT_R_PROTO:
2245 * This symbol encodes the prototype of setservent_r.
2246 * It is zero if d_setservent_r is undef, and one of the
2247 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2250 #$d_setservent_r HAS_SETSERVENT_R /**/
2251 #define SETSERVENT_R_PROTO $setservent_r_proto /**/
2254 * This symbol, if defined, indicates that the setvbuf routine is
2255 * available to change buffering on an open stdio stream.
2256 * to a line-buffered mode.
2258 #$d_setvbuf HAS_SETVBUF /**/
2261 * This symbol, if defined, indicates that the entire shm*(2) library is
2264 #$d_shm HAS_SHM /**/
2267 * This symbol holds the return type of the shmat() system call.
2268 * Usually set to 'void *' or 'char *'.
2270 /* HAS_SHMAT_PROTOTYPE:
2271 * This symbol, if defined, indicates that the sys/shm.h includes
2272 * a prototype for shmat(). Otherwise, it is up to the program to
2273 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2274 * but not always right so it should be emitted by the program only
2275 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2277 #define Shmat_t $shmattype /**/
2278 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2281 * This symbol, if defined, indicates that Vr4's sigaction() routine
2284 #$d_sigaction HAS_SIGACTION /**/
2287 * This variable indicates to the C program that the sigsetjmp()
2288 * routine is available to save the calling process's registers
2289 * and stack environment for later use by siglongjmp(), and
2290 * to optionally save the process's signal mask. See
2291 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2294 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2297 * This macro is used in the same way as sigsetjmp(), but will invoke
2298 * traditional setjmp() if sigsetjmp isn't available.
2299 * See HAS_SIGSETJMP.
2302 * This macro is used in the same way as siglongjmp(), but will invoke
2303 * traditional longjmp() if siglongjmp isn't available.
2304 * See HAS_SIGSETJMP.
2306 #$d_sigsetjmp HAS_SIGSETJMP /**/
2307 #ifdef HAS_SIGSETJMP
2308 #define Sigjmp_buf sigjmp_buf
2309 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2310 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2312 #define Sigjmp_buf jmp_buf
2313 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2314 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2318 * This symbol, if defined, indicates that the BSD socket interface is
2322 * This symbol, if defined, indicates that the BSD socketpair() call is
2326 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2327 * Checking just with #ifdef might not be enough because this symbol
2328 * has been known to be an enum.
2330 /* HAS_MSG_DONTROUTE:
2331 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2332 * Checking just with #ifdef might not be enough because this symbol
2333 * has been known to be an enum.
2336 * This symbol, if defined, indicates that the MSG_OOB is supported.
2337 * Checking just with #ifdef might not be enough because this symbol
2338 * has been known to be an enum.
2341 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2342 * Checking just with #ifdef might not be enough because this symbol
2343 * has been known to be an enum.
2346 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2347 * Checking just with #ifdef might not be enough because this symbol
2348 * has been known to be an enum.
2351 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2352 * Checking just with #ifdef might not be enough because this symbol
2353 * has been known to be an enum.
2355 /* HAS_SOCKADDR_SA_LEN:
2356 * This symbol, if defined, indicates that the struct sockaddr
2357 * structure has a member called sa_len, indicating the length of
2360 /* HAS_SOCKADDR_IN6:
2361 * This symbol, if defined, indicates the availability of
2362 * struct sockaddr_in6;
2364 /* HAS_SIN6_SCOPE_ID:
2365 * This symbol, if defined, indicates that the struct sockaddr_in6
2366 * structure has a member called sin6_scope_id.
2369 * This symbol, if defined, indicates the availability of
2372 /* HAS_IP_MREQ_SOURCE:
2373 * This symbol, if defined, indicates the availability of
2374 * struct ip_mreq_source;
2377 * This symbol, if defined, indicates the availability of
2380 /* HAS_IPV6_MREQ_SOURCE:
2381 * This symbol, if defined, indicates the availability of
2382 * struct ipv6_mreq_source;
2384 #$d_socket HAS_SOCKET /**/
2385 #$d_sockpair HAS_SOCKETPAIR /**/
2386 #$d_sockaddr_sa_len HAS_SOCKADDR_SA_LEN /**/
2387 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2388 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2389 #$d_msg_oob HAS_MSG_OOB /**/
2390 #$d_msg_peek HAS_MSG_PEEK /**/
2391 #$d_msg_proxy HAS_MSG_PROXY /**/
2392 #$d_scm_rights HAS_SCM_RIGHTS /**/
2393 #$d_sockaddr_in6 HAS_SOCKADDR_IN6 /**/
2394 #$d_sin6_scope_id HAS_SIN6_SCOPE_ID /**/
2395 #$d_ip_mreq HAS_IP_MREQ /**/
2396 #$d_ip_mreq_source HAS_IP_MREQ_SOURCE /**/
2397 #$d_ipv6_mreq HAS_IPV6_MREQ /**/
2398 #$d_ipv6_mreq_source HAS_IPV6_MREQ_SOURCE /**/
2401 * This symbol, if defined, indicates that the srand48_r routine
2402 * is available to srand48 re-entrantly.
2405 * This symbol encodes the prototype of srand48_r.
2406 * It is zero if d_srand48_r is undef, and one of the
2407 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2410 #$d_srand48_r HAS_SRAND48_R /**/
2411 #define SRAND48_R_PROTO $srand48_r_proto /**/
2414 * This symbol, if defined, indicates that the srandom_r routine
2415 * is available to srandom re-entrantly.
2418 * This symbol encodes the prototype of srandom_r.
2419 * It is zero if d_srandom_r is undef, and one of the
2420 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2423 #$d_srandom_r HAS_SRANDOM_R /**/
2424 #define SRANDOM_R_PROTO $srandom_r_proto /**/
2427 * This symbol is defined if this system has a stat structure declaring
2428 * st_blksize and st_blocks.
2430 #ifndef USE_STAT_BLOCKS
2431 #$d_statblks USE_STAT_BLOCKS /**/
2434 /* HAS_STATIC_INLINE:
2435 * This symbol, if defined, indicates that the C compiler supports
2436 * C99-style static inline. That is, the function can't be called
2437 * from another translation unit.
2439 /* PERL_STATIC_INLINE:
2440 * This symbol gives the best-guess incantation to use for static
2441 * inline functions. If HAS_STATIC_INLINE is defined, this will
2442 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
2443 * this will give a plain 'static'. It will always be defined
2444 * to something that gives static linkage.
2445 * Possibilities include
2446 * static inline (c99)
2447 * static __inline__ (gcc -ansi)
2448 * static __inline (MSVC)
2449 * static _inline (older MSVC)
2450 * static (c89 compilers)
2452 #$d_static_inline HAS_STATIC_INLINE /**/
2453 #define PERL_STATIC_INLINE $perl_static_inline /**/
2456 * This symbol is defined if the _ptr and _cnt fields (or similar)
2457 * of the stdio FILE structure can be used to access the stdio buffer
2458 * for a file handle. If this is defined, then the FILE_ptr(fp)
2459 * and FILE_cnt(fp) macros will also be defined and should be used
2460 * to access these fields.
2463 * This macro is used to access the _ptr field (or equivalent) of the
2464 * FILE structure pointed to by its argument. This macro will always be
2465 * defined if USE_STDIO_PTR is defined.
2467 /* STDIO_PTR_LVALUE:
2468 * This symbol is defined if the FILE_ptr macro can be used as an
2472 * This macro is used to access the _cnt field (or equivalent) of the
2473 * FILE structure pointed to by its argument. This macro will always be
2474 * defined if USE_STDIO_PTR is defined.
2476 /* STDIO_CNT_LVALUE:
2477 * This symbol is defined if the FILE_cnt macro can be used as an
2480 /* STDIO_PTR_LVAL_SETS_CNT:
2481 * This symbol is defined if using the FILE_ptr macro as an lvalue
2482 * to increase the pointer by n has the side effect of decreasing the
2483 * value of File_cnt(fp) by n.
2485 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2486 * This symbol is defined if using the FILE_ptr macro as an lvalue
2487 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2489 #$d_stdstdio USE_STDIO_PTR /**/
2490 #ifdef USE_STDIO_PTR
2491 #define FILE_ptr(fp) $stdio_ptr
2492 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
2493 #define FILE_cnt(fp) $stdio_cnt
2494 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
2495 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
2496 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
2500 * This symbol is defined if the _base field (or similar) of the
2501 * stdio FILE structure can be used to access the stdio buffer for
2502 * a file handle. If this is defined, then the FILE_base(fp) macro
2503 * will also be defined and should be used to access this field.
2504 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2505 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2506 * will never be defined unless USE_STDIO_PTR is.
2509 * This macro is used to access the _base field (or equivalent) of the
2510 * FILE structure pointed to by its argument. This macro will always be
2511 * defined if USE_STDIO_BASE is defined.
2514 * This macro is used to determine the number of bytes in the I/O
2515 * buffer pointed to by _base field (or equivalent) of the FILE
2516 * structure pointed to its argument. This macro will always be defined
2517 * if USE_STDIO_BASE is defined.
2519 #$d_stdiobase USE_STDIO_BASE /**/
2520 #ifdef USE_STDIO_BASE
2521 #define FILE_base(fp) $stdio_base
2522 #define FILE_bufsiz(fp) $stdio_bufsiz
2526 * This symbol, if defined, indicates that this C compiler knows how
2527 * to copy structures. If undefined, you'll need to use a block copy
2528 * routine of some sort instead.
2530 #$d_strctcpy USE_STRUCT_COPY /**/
2533 * This symbol, if defined, indicates that the strerror routine is
2534 * available to translate error numbers to strings. See the writeup
2535 * of Strerror() in this file before you try to define your own.
2538 * This symbol, if defined, indicates that the sys_errlist array is
2539 * available to translate error numbers to strings. The extern int
2540 * sys_nerr gives the size of that table.
2543 * This preprocessor symbol is defined as a macro if strerror() is
2544 * not available to translate error numbers to strings but sys_errlist[]
2547 #$d_strerror HAS_STRERROR /**/
2548 #$d_syserrlst HAS_SYS_ERRLIST /**/
2549 #define Strerror(e) $d_strerrm
2552 * This symbol, if defined, indicates that the strerror_r routine
2553 * is available to strerror re-entrantly.
2555 /* STRERROR_R_PROTO:
2556 * This symbol encodes the prototype of strerror_r.
2557 * It is zero if d_strerror_r is undef, and one of the
2558 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2561 #$d_strerror_r HAS_STRERROR_R /**/
2562 #define STRERROR_R_PROTO $strerror_r_proto /**/
2565 * This symbol, if defined, indicates that the strtoul routine is
2566 * available to provide conversion of strings to unsigned long.
2568 #$d_strtoul HAS_STRTOUL /**/
2571 * This symbol, if defined, indicates that the time() routine exists.
2574 * This symbol holds the type returned by time(). It can be long,
2575 * or time_t on BSD sites (in which case <sys/types.h> should be
2578 #$d_time HAS_TIME /**/
2579 #define Time_t $timetype /* Time type */
2582 * This symbol, if defined, indicates that the times() routine exists.
2583 * Note that this became obsolete on some systems (SUNOS), which now
2584 * use getrusage(). It may be necessary to include <sys/times.h>.
2586 #$d_times HAS_TIMES /**/
2589 * This symbol, if defined, indicates that the tmpnam_r routine
2590 * is available to tmpnam re-entrantly.
2593 * This symbol encodes the prototype of tmpnam_r.
2594 * It is zero if d_tmpnam_r is undef, and one of the
2595 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2598 #$d_tmpnam_r HAS_TMPNAM_R /**/
2599 #define TMPNAM_R_PROTO $tmpnam_r_proto /**/
2602 * This symbol, if defined, indicates that the ttyname_r routine
2603 * is available to ttyname re-entrantly.
2606 * This symbol encodes the prototype of ttyname_r.
2607 * It is zero if d_ttyname_r is undef, and one of the
2608 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2611 #$d_ttyname_r HAS_TTYNAME_R /**/
2612 #define TTYNAME_R_PROTO $ttyname_r_proto /**/
2615 * This symbol, if defined, indicates that the union semun is
2616 * defined by including <sys/sem.h>. If not, the user code
2617 * probably needs to define it as:
2620 * struct semid_ds *buf;
2621 * unsigned short *array;
2624 /* USE_SEMCTL_SEMUN:
2625 * This symbol, if defined, indicates that union semun is
2626 * used for semctl IPC_STAT.
2628 /* USE_SEMCTL_SEMID_DS:
2629 * This symbol, if defined, indicates that struct semid_ds * is
2630 * used for semctl IPC_STAT.
2632 #$d_union_semun HAS_UNION_SEMUN /**/
2633 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2634 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2637 * This symbol, if defined, indicates that vfork() exists.
2639 #$d_vfork HAS_VFORK /**/
2642 * This symbol, if defined, indicates that an emulation of the
2643 * fork routine is available.
2645 #$d_pseudofork HAS_PSEUDOFORK /**/
2648 * This symbol's value is either "void" or "int", corresponding to the
2649 * appropriate return type of a signal handler. Thus, you can declare
2650 * a signal handler using "Signal_t (*handler)()", and define the
2651 * handler using "Signal_t handler(sig)".
2653 #define Signal_t $signal_t /* Signal handler's return type */
2656 * This symbol, if defined, indicates that this C compiler knows about
2657 * the volatile declaration.
2659 #$d_volatile HASVOLATILE /**/
2665 * This symbol, if defined, indicates that the vprintf routine is available
2666 * to printf with a pointer to an argument list. If unavailable, you
2667 * may need to write your own, probably in terms of _doprnt().
2669 /* USE_CHAR_VSPRINTF:
2670 * This symbol is defined if this system has vsprintf() returning type
2671 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2672 * is up to the package author to declare vsprintf correctly based on the
2675 #$d_vprintf HAS_VPRINTF /**/
2676 #$d_charvspr USE_CHAR_VSPRINTF /**/
2679 * This symbol contains the size of a double, so that the C preprocessor
2680 * can make decisions based on it.
2682 #define DOUBLESIZE $doublesize /**/
2685 * This symbol, if defined, indicates that this system uses
2688 /* BOOTSTRAP_CHARSET:
2689 * This symbol, if defined, indicates that this system needs
2690 * converting various files to the native character set before
2691 * bringing up perl on a system that has a non-ASCII character
2692 * set and no working perl.
2694 #$ebcdic EBCDIC /**/
2695 #$bootstrap_charset BOOTSTRAP_CHARSET /**/
2698 * This symbol holds the type used to declare file positions in libc.
2699 * It can be fpos_t, long, uint, etc... It may be necessary to include
2700 * <sys/types.h> to get any typedef'ed information.
2702 #define Fpos_t $fpostype /* File position type */
2705 * This symbol defines the format string used for printing a Gid_t.
2707 #define Gid_t_f $gidformat /**/
2710 * This symbol holds the signedness of a Gid_t.
2711 * 1 for unsigned, -1 for signed.
2713 #define Gid_t_sign $gidsign /* GID sign */
2716 * This symbol holds the size of a Gid_t in bytes.
2718 #define Gid_t_size $gidsize /* GID size */
2721 * This symbol holds the return type of getgid() and the type of
2722 * argument to setrgid() and related functions. Typically,
2723 * it is the type of group ids in the kernel. It can be int, ushort,
2724 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2725 * any typedef'ed information.
2727 #define Gid_t $gidtype /* Type for getgid(), etc... */
2730 * This symbol, if defined, indicates to the C program that it should
2731 * include <dirent.h>. Using this symbol also triggers the definition
2732 * of the Direntry_t define which ends up being 'struct dirent' or
2733 * 'struct direct' depending on the availability of <dirent.h>.
2736 * This symbol, if defined, indicates to the C program that the length
2737 * of directory entry names is provided by a d_namlen field. Otherwise
2738 * you need to do strlen() on the d_name field.
2741 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2742 * whether dirent is available or not. You should use this pseudo type to
2743 * portably declare your directory entries.
2745 #$i_dirent I_DIRENT /**/
2746 #$d_dirnamlen DIRNAMLEN /**/
2747 #define Direntry_t $direntrytype
2750 * This symbol, if defined, indicates to the C program that it should
2754 * This symbol, if defined, indicates to the C program that struct group
2755 * in <grp.h> contains gr_passwd.
2758 #$d_grpasswd GRPASSWD /**/
2761 * This symbol, if defined, indicates to the C program that it should
2762 * include <mach/cthreads.h>.
2764 #$i_machcthr I_MACH_CTHREADS /**/
2767 * This symbol, if defined, indicates that <ndbm.h> exists and should
2771 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2772 * be included. This was the location of the ndbm.h compatibility file
2776 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2777 * be included. This is the location of the ndbm.h compatibility file
2780 /* NDBM_H_USES_PROTOTYPES:
2781 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2782 * prototypes instead of K&R style function declarations without any
2783 * parameter information. While ANSI C prototypes are supported in C++,
2784 * K&R style function declarations will yield errors.
2786 /* GDBMNDBM_H_USES_PROTOTYPES:
2787 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2788 * prototypes instead of K&R style function declarations without any
2789 * parameter information. While ANSI C prototypes are supported in C++,
2790 * K&R style function declarations will yield errors.
2792 /* GDBM_NDBM_H_USES_PROTOTYPES:
2793 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2794 * prototypes instead of K&R style function declarations without any
2795 * parameter information. While ANSI C prototypes are supported in C++,
2796 * K&R style function declarations will yield errors.
2798 #$i_ndbm I_NDBM /**/
2799 #$i_gdbmndbm I_GDBMNDBM /**/
2800 #$i_gdbm_ndbm I_GDBM_NDBM /**/
2801 #$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
2802 #$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
2803 #$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
2806 * This symbol, if defined, indicates that <netdb.h> exists and
2807 * should be included.
2809 #$i_netdb I_NETDB /**/
2812 * This symbol, if defined, indicates that <net/errno.h> exists and
2813 * should be included.
2815 #$i_neterrno I_NET_ERRNO /**/
2818 * This symbol, if defined, indicates to the C program that it should
2819 * include <pthread.h>.
2821 #$i_pthread I_PTHREAD /**/
2824 * This symbol, if defined, indicates to the C program that it should
2828 * This symbol, if defined, indicates to the C program that struct passwd
2829 * contains pw_quota.
2832 * This symbol, if defined, indicates to the C program that struct passwd
2836 * This symbol, if defined, indicates to the C program that struct passwd
2837 * contains pw_change.
2840 * This symbol, if defined, indicates to the C program that struct passwd
2841 * contains pw_class.
2844 * This symbol, if defined, indicates to the C program that struct passwd
2845 * contains pw_expire.
2848 * This symbol, if defined, indicates to the C program that struct passwd
2849 * contains pw_comment.
2852 * This symbol, if defined, indicates to the C program that struct passwd
2853 * contains pw_gecos.
2856 * This symbol, if defined, indicates to the C program that struct passwd
2857 * contains pw_passwd.
2860 #$d_pwquota PWQUOTA /**/
2861 #$d_pwage PWAGE /**/
2862 #$d_pwchange PWCHANGE /**/
2863 #$d_pwclass PWCLASS /**/
2864 #$d_pwexpire PWEXPIRE /**/
2865 #$d_pwcomment PWCOMMENT /**/
2866 #$d_pwgecos PWGECOS /**/
2867 #$d_pwpasswd PWPASSWD /**/
2870 * This symbol, if defined, indicates to the C program that it should
2871 * include <sys/access.h>.
2873 #$i_sysaccess I_SYS_ACCESS /**/
2876 * This symbol, if defined, indicates to the C program that it should
2877 * include <sys/security.h>.
2879 #$i_syssecrt I_SYS_SECURITY /**/
2882 * This symbol, if defined, indicates that <sys/uio.h> exists and
2883 * should be included.
2885 #$i_sysuio I_SYSUIO /**/
2888 * This symbol, if defined, indicates to the C program that it should
2892 * This symbol, if defined, indicates to the C program that it should
2893 * include <sys/time.h>.
2895 /* I_SYS_TIME_KERNEL:
2896 * This symbol, if defined, indicates to the C program that it should
2897 * include <sys/time.h> with KERNEL defined.
2900 * This symbol, if defined, indicates to the C program that
2901 * the struct tm has a tm_zone field.
2903 /* HAS_TM_TM_GMTOFF:
2904 * This symbol, if defined, indicates to the C program that
2905 * the struct tm has a tm_gmtoff field.
2907 #$i_time I_TIME /**/
2908 #$i_systime I_SYS_TIME /**/
2909 #$i_systimek I_SYS_TIME_KERNEL /**/
2910 #$d_tm_tm_zone HAS_TM_TM_ZONE /**/
2911 #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
2914 * This symbol, if defined, indicates that <stdarg.h> exists and should
2918 * This symbol, if defined, indicates to the C program that it should
2919 * include <varargs.h>.
2921 #$i_stdarg I_STDARG /**/
2922 #$i_varargs I_VARARGS /**/
2924 /* PERL_INC_VERSION_LIST:
2925 * This variable specifies the list of subdirectories in over
2926 * which perl.c:incpush() and lib/lib.pm will automatically
2927 * search when adding directories to @INC, in a format suitable
2928 * for a C initialization string. See the inc_version_list entry
2929 * in Porting/Glossary for more details.
2931 #$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
2933 /* INSTALL_USR_BIN_PERL:
2934 * This symbol, if defined, indicates that Perl is to be installed
2935 * also as /usr/bin/perl.
2937 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
2940 * This symbol holds the type used to declare offsets in the kernel.
2941 * It can be int, long, off_t, etc... It may be necessary to include
2942 * <sys/types.h> to get any typedef'ed information.
2945 * This symbol holds the number of bytes used by the Off_t.
2948 * This symbol holds the number of bytes used by the Off_t.
2950 #define Off_t $lseektype /* <offset> type */
2951 #define LSEEKSIZE $lseeksize /* <offset> size */
2952 #define Off_t_size $lseeksize /* <offset> size */
2955 * This variable contains the return type of free(). It is usually
2956 * void, but occasionally int.
2959 * This symbol is the type of pointer returned by malloc and realloc.
2961 #define Malloc_t $malloctype /**/
2962 #define Free_t $freetype /**/
2964 /* PERL_MALLOC_WRAP:
2965 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2967 #$usemallocwrap PERL_MALLOC_WRAP /**/
2970 * This symbol, if defined, indicates that we're using our own malloc.
2972 #$d_mymalloc MYMALLOC /**/
2975 * This symbol holds the type used to declare file modes
2976 * for systems calls. It is usually mode_t, but may be
2977 * int or unsigned short. It may be necessary to include <sys/types.h>
2978 * to get any typedef'ed information.
2980 #define Mode_t $modetype /* file mode parameter for system calls */
2983 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2984 * non-blocking I/O for the file descriptor. Note that there is no way
2985 * back, i.e. you cannot turn it blocking again this way. If you wish to
2986 * alternatively switch between blocking and non-blocking, use the
2987 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2990 * This symbol holds the errno error code set by read() when no data was
2991 * present on the non-blocking file descriptor.
2994 * This symbol holds the return code from read() when no data is present
2995 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2996 * not defined, then you can't distinguish between no data and EOF by
2997 * issuing a read(). You'll have to find another way to tell for sure!
3000 * This symbol, if defined, indicates to the C program that a read() on
3001 * a non-blocking file descriptor will return 0 on EOF, and not the value
3002 * held in RD_NODATA (-1 usually, in that case!).
3004 #define VAL_O_NONBLOCK $o_nonblock
3005 #define VAL_EAGAIN $eagain
3006 #define RD_NODATA $rd_nodata
3007 #$d_eofnblk EOF_NONBLOCK
3010 * This symbol holds the type used for the 1st argument
3011 * to gethostbyaddr().
3014 * This symbol holds the type used for the 2nd argument
3015 * to gethostbyaddr().
3018 * This symbol holds the type used for the argument to
3022 * This symbol holds the type used for the 1st argument to
3025 #define Netdb_host_t $netdb_host_type /**/
3026 #define Netdb_hlen_t $netdb_hlen_type /**/
3027 #define Netdb_name_t $netdb_name_type /**/
3028 #define Netdb_net_t $netdb_net_type /**/
3030 /* PERL_OTHERLIBDIRS:
3031 * This variable contains a colon-separated set of paths for the perl
3032 * binary to search for additional library files or modules.
3033 * These directories will be tacked to the end of @INC.
3034 * Perl will automatically search below each path for version-
3035 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3038 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
3041 * This symbol holds the type used to declare process ids in the kernel.
3042 * It can be int, uint, pid_t, etc... It may be necessary to include
3043 * <sys/types.h> to get any typedef'ed information.
3045 #define Pid_t $pidtype /* PID type */
3048 * This symbol contains the name of the private library for this package.
3049 * The library is private in the sense that it needn't be in anyone's
3050 * execution path, but it should be accessible by the world. The program
3051 * should be prepared to do ~ expansion.
3054 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3055 * in programs that are not prepared to deal with ~ expansion at run-time.
3057 #define PRIVLIB "$privlib" /**/
3058 #define PRIVLIB_EXP "$privlibexp" /**/
3061 * If defined, this macro indicates that the C compiler can handle
3062 * function prototypes.
3065 * This macro is used to declare function parameters for folks who want
3066 * to make declarations with prototypes using a different style than
3067 * the above macros. Use double parentheses. For example:
3069 * int main _((int argc, char *argv[]));
3071 #$prototype CAN_PROTOTYPE /**/
3072 #ifdef CAN_PROTOTYPE
3073 #define _(args) args
3079 * This symbol contains the size of a pointer, so that the C preprocessor
3080 * can make decisions based on it. It will be sizeof(void *) if
3081 * the compiler supports (void *); otherwise it will be
3084 #define PTRSIZE $ptrsize /**/
3087 * This symbol, if defined, tells that there's a 64-bit integer type,
3088 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
3089 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
3090 * or QUAD_IS___INT64.
3092 #$d_quad HAS_QUAD /**/
3094 # define Quad_t $quadtype /**/
3095 # define Uquad_t $uquadtype /**/
3096 # define QUADKIND $quadkind /**/
3097 # define QUAD_IS_INT 1
3098 # define QUAD_IS_LONG 2
3099 # define QUAD_IS_LONG_LONG 3
3100 # define QUAD_IS_INT64_T 4
3101 # define QUAD_IS___INT64 5
3105 * This macro is to be used to generate uniformly distributed
3106 * random numbers over the range [0., 1.[. You may have to supply
3107 * an 'extern double drand48();' in your program since SunOS 4.1.3
3108 * doesn't provide you with anything relevant in its headers.
3109 * See HAS_DRAND48_PROTO.
3112 * This symbol defines the type of the argument of the
3113 * random seed function.
3116 * This symbol defines the macro to be used in seeding the
3117 * random number generator (see Drand01).
3120 * This symbol indicates how many bits are produced by the
3121 * function used to generate normalized random numbers.
3122 * Values include 15, 16, 31, and 48.
3124 #define Drand01() $drand01 /**/
3125 #define Rand_seed_t $randseedtype /**/
3126 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3127 #define RANDBITS $randbits /**/
3130 * This symbol holds the type used for the 2nd, 3rd, and 4th
3131 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3132 * is defined, and 'int *' otherwise. This is only useful if you
3133 * have select(), of course.
3135 #define Select_fd_set_t $selecttype /**/
3138 * This symbol contains the full pathname to the shell used on this
3139 * on this system to execute Bourne shell scripts. Usually, this will be
3140 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3141 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3144 #define SH_PATH "$sh" /**/
3147 * This symbol contains a list of signal names in order of
3148 * signal number. This is intended
3149 * to be used as a static array initialization, like this:
3150 * char *sig_name[] = { SIG_NAME };
3151 * The signals in the list are separated with commas, and each signal
3152 * is surrounded by double quotes. There is no leading SIG in the signal
3153 * name, i.e. SIGQUIT is known as "QUIT".
3154 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3155 * etc., where nn is the actual signal number (e.g. NUM37).
3156 * The signal number for sig_name[i] is stored in sig_num[i].
3157 * The last element is 0 to terminate the list with a NULL. This
3158 * corresponds to the 0 at the end of the sig_name_init list.
3159 * Note that this variable is initialized from the sig_name_init,
3160 * not from sig_name (which is unused).
3163 * This symbol contains a list of signal numbers, in the same order as the
3164 * SIG_NAME list. It is suitable for static array initialization, as in:
3165 * int sig_num[] = { SIG_NUM };
3166 * The signals in the list are separated with commas, and the indices
3167 * within that list and the SIG_NAME list match, so it's easy to compute
3168 * the signal name from a number or vice versa at the price of a small
3169 * dynamic linear lookup.
3170 * Duplicates are allowed, but are moved to the end of the list.
3171 * The signal number corresponding to sig_name[i] is sig_number[i].
3172 * if (i < NSIG) then sig_number[i] == i.
3173 * The last element is 0, corresponding to the 0 at the end of
3174 * the sig_name_init list.
3175 * Note that this variable is initialized from the sig_num_init,
3176 * not from sig_num (which is unused).
3179 * This variable contains the number of elements of the SIG_NAME
3180 * and SIG_NUM arrays, excluding the final NULL entry.
3182 #define SIG_NAME $sig_name_init /**/
3183 #define SIG_NUM $sig_num_init /**/
3184 #define SIG_SIZE $sig_size /**/
3187 * This symbol contains the name of the private library for this package.
3188 * The library is private in the sense that it needn't be in anyone's
3189 * execution path, but it should be accessible by the world. The program
3190 * should be prepared to do ~ expansion.
3191 * The standard distribution will put nothing in this directory.
3192 * After perl has been installed, users may install their own local
3193 * architecture-dependent modules in this directory with
3194 * MakeMaker Makefile.PL
3195 * or equivalent. See INSTALL for details.
3198 * This symbol contains the ~name expanded version of SITEARCH, to be used
3199 * in programs that are not prepared to deal with ~ expansion at run-time.
3201 #$d_sitearch SITEARCH "$sitearch" /**/
3202 #$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
3205 * This symbol contains the name of the private library for this package.
3206 * The library is private in the sense that it needn't be in anyone's
3207 * execution path, but it should be accessible by the world. The program
3208 * should be prepared to do ~ expansion.
3209 * The standard distribution will put nothing in this directory.
3210 * After perl has been installed, users may install their own local
3211 * architecture-independent modules in this directory with
3212 * MakeMaker Makefile.PL
3213 * or equivalent. See INSTALL for details.
3216 * This symbol contains the ~name expanded version of SITELIB, to be used
3217 * in programs that are not prepared to deal with ~ expansion at run-time.
3220 * This define is SITELIB_EXP with any trailing version-specific component
3221 * removed. The elements in inc_version_list (inc_version_list.U) can
3222 * be tacked onto this variable to generate a list of directories to search.
3224 #define SITELIB "$sitelib" /**/
3225 #define SITELIB_EXP "$sitelibexp" /**/
3226 #define SITELIB_STEM "$sitelib_stem" /**/
3229 * This symbol holds the size of a Size_t in bytes.
3231 #define Size_t_size $sizesize /**/
3234 * This symbol holds the type used to declare length parameters
3235 * for string functions. It is usually size_t, but may be
3236 * unsigned long, int, etc. It may be necessary to include
3237 * <sys/types.h> to get any typedef'ed information.
3239 #define Size_t $sizetype /* length parameter for string functions */
3242 * This symbol holds the type used for the size argument of
3243 * various socket calls (just the base type, not the pointer-to).
3245 #define Sock_size_t $socksizetype /**/
3248 * This symbol holds the type used by functions that return
3249 * a count of bytes or an error condition. It must be a signed type.
3250 * It is usually ssize_t, but may be long or int, etc.
3251 * It may be necessary to include <sys/types.h> or <unistd.h>
3252 * to get any typedef'ed information.
3253 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3255 #define SSize_t $ssizetype /* signed count of bytes */
3258 * This symbol is defined to be the type of char used in stdio.h.
3259 * It has the values "unsigned char" or "char".
3261 #define STDCHAR $stdchar /**/
3264 * This symbol defines the format string used for printing a Uid_t.
3266 #define Uid_t_f $uidformat /**/
3269 * This symbol holds the signedness of a Uid_t.
3270 * 1 for unsigned, -1 for signed.
3272 #define Uid_t_sign $uidsign /* UID sign */
3275 * This symbol holds the size of a Uid_t in bytes.
3277 #define Uid_t_size $uidsize /* UID size */
3280 * This symbol holds the type used to declare user ids in the kernel.
3281 * It can be int, ushort, uid_t, etc... It may be necessary to include
3282 * <sys/types.h> to get any typedef'ed information.
3284 #define Uid_t $uidtype /* UID type */
3287 * This symbol, if defined, indicates that Perl should be built to
3288 * use the interpreter-based threading implementation.
3291 * This symbol, if defined, indicates that Perl should be built to
3292 * use the 5.005-based threading implementation.
3293 * Only valid up to 5.8.x.
3295 /* OLD_PTHREADS_API:
3296 * This symbol, if defined, indicates that Perl should
3297 * be built to use the old draft POSIX threads API.
3299 /* USE_REENTRANT_API:
3300 * This symbol, if defined, indicates that Perl should
3301 * try to use the various _r versions of library functions.
3302 * This is extremely experimental.
3304 #$use5005threads USE_5005THREADS /**/
3305 #$useithreads USE_ITHREADS /**/
3306 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3307 #define USE_THREADS /* until src is revised*/
3309 #$d_oldpthreads OLD_PTHREADS_API /**/
3310 #$usereentrant USE_REENTRANT_API /**/
3313 * If defined, this symbol contains the name of a private library.
3314 * The library is private in the sense that it needn't be in anyone's
3315 * execution path, but it should be accessible by the world.
3316 * It may have a ~ on the front.
3317 * The standard distribution will put nothing in this directory.
3318 * Vendors who distribute perl may wish to place their own
3319 * architecture-dependent modules and extensions in this directory with
3320 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3321 * or equivalent. See INSTALL for details.
3323 /* PERL_VENDORARCH_EXP:
3324 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3325 * in programs that are not prepared to deal with ~ expansion at run-time.
3327 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
3328 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
3330 /* PERL_VENDORLIB_EXP:
3331 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3332 * in programs that are not prepared to deal with ~ expansion at run-time.
3334 /* PERL_VENDORLIB_STEM:
3335 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3336 * removed. The elements in inc_version_list (inc_version_list.U) can
3337 * be tacked onto this variable to generate a list of directories to search.
3339 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
3340 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
3343 * This symbol, if defined, indicates that the program should include
3344 * <termio.h> rather than <sgtty.h>. There are also differences in
3345 * the ioctl() calls that depend on the value of this symbol.
3348 * This symbol, if defined, indicates that the program should include
3349 * the POSIX termios.h rather than sgtty.h or termio.h.
3350 * There are also differences in the ioctl() calls that depend on the
3351 * value of this symbol.
3354 * This symbol, if defined, indicates that the program should include
3355 * <sgtty.h> rather than <termio.h>. There are also differences in
3356 * the ioctl() calls that depend on the value of this symbol.
3358 #$i_termio I_TERMIO /**/
3359 #$i_termios I_TERMIOS /**/
3360 #$i_sgtty I_SGTTY /**/
3363 * This symbol, if defined, indicates that Perl was configured with
3364 * -Dusedevel, to enable development features. This should not be
3365 * done for production builds.
3367 #$usedevel PERL_USE_DEVEL /**/
3370 * This symbol, if defined, indicates that the atolf routine is
3371 * available to convert strings into long doubles.
3373 #$d_atolf HAS_ATOLF /**/
3376 * This symbol, if defined, indicates that the atoll routine is
3377 * available to convert strings into long longs.
3379 #$d_atoll HAS_ATOLL /**/
3382 * This symbol, if defined, indicates that the _fwalk system call is
3383 * available to apply a function to all the file handles.
3385 #$d__fwalk HAS__FWALK /**/
3388 * This symbol, if defined, indicates that the aintl routine is
3389 * available. If copysignl is also present we can emulate modfl.
3391 #$d_aintl HAS_AINTL /**/
3393 /* HAS_BUILTIN_CHOOSE_EXPR:
3394 * Can we handle GCC builtin for compile-time ternary-like expressions
3396 /* HAS_BUILTIN_EXPECT:
3397 * Can we handle GCC builtin for telling that certain values are more
3400 #$d_builtin_expect HAS_BUILTIN_EXPECT /**/
3401 #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
3403 /* HAS_C99_VARIADIC_MACROS:
3404 * If defined, the compiler supports C99 variadic macros.
3406 #$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
3409 * This symbol, if defined, indicates that the class routine is
3410 * available to classify doubles. Available for example in AIX.
3411 * The returned values are defined in <float.h> and are:
3413 * FP_PLUS_NORM Positive normalized, nonzero
3414 * FP_MINUS_NORM Negative normalized, nonzero
3415 * FP_PLUS_DENORM Positive denormalized, nonzero
3416 * FP_MINUS_DENORM Negative denormalized, nonzero
3418 * FP_MINUS_ZERO -0.0
3421 * FP_NANS Signaling Not a Number (NaNS)
3422 * FP_NANQ Quiet Not a Number (NaNQ)
3424 #$d_class HAS_CLASS /**/
3427 * This symbol, if defined, indicates that the clearenv () routine is
3428 * available for use.
3430 #$d_clearenv HAS_CLEARENV /**/
3432 /* HAS_STRUCT_CMSGHDR:
3433 * This symbol, if defined, indicates that the struct cmsghdr
3436 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
3439 * This symbol, if defined, indicates that the copysignl routine is
3440 * available. If aintl is also present we can emulate modfl.
3442 #$d_copysignl HAS_COPYSIGNL /**/
3445 * This symbol, if defined, indicates that a C++ compiler was
3446 * used to compiled Perl and will be used to compile extensions.
3448 #$d_cplusplus USE_CPLUSPLUS /**/
3450 /* HAS_DBMINIT_PROTO:
3451 * This symbol, if defined, indicates that the system provides
3452 * a prototype for the dbminit() function. Otherwise, it is up
3453 * to the program to supply one. A good guess is
3454 * extern int dbminit(char *);
3456 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
3459 * This symbol, if defined, indicates that the the DIR* dirstream
3460 * structure contains a member variable named dd_fd.
3462 #$d_dir_dd_fd HAS_DIR_DD_FD /**/
3465 * This manifest constant lets the C program know that dirfd
3468 #$d_dirfd HAS_DIRFD /**/
3470 /* DLSYM_NEEDS_UNDERSCORE:
3471 * This symbol, if defined, indicates that we need to prepend an
3472 * underscore to the symbol name before calling dlsym(). This only
3473 * makes sense if you *have* dlsym, which we will presume is the
3474 * case if you're using dl_dlopen.xs.
3476 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
3479 * This symbol, if defined, indicates that the "fast stdio"
3480 * is available to manipulate the stdio buffers directly.
3482 #$d_faststdio HAS_FAST_STDIO /**/
3485 * This symbol, if defined, indicates that the fchdir routine is
3486 * available to change directory using a file descriptor.
3488 #$d_fchdir HAS_FCHDIR /**/
3491 * This symbol, if defined, indicates that fcntl() can be used
3492 * for file locking. Normally on Unix systems this is defined.
3493 * It may be undefined on VMS.
3495 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
3498 * This symbol, if defined, indicates that the finite routine is
3499 * available to check whether a double is finite (non-infinity non-NaN).
3501 #$d_finite HAS_FINITE /**/
3504 * This symbol, if defined, indicates that the finitel routine is
3505 * available to check whether a long double is finite
3506 * (non-infinity non-NaN).
3508 #$d_finitel HAS_FINITEL /**/
3511 * This symbol, if defined, indicates that the system provides
3512 * a prototype for the flock() function. Otherwise, it is up
3513 * to the program to supply one. A good guess is
3514 * extern int flock(int, int);
3516 #$d_flockproto HAS_FLOCK_PROTO /**/
3519 * This symbol, if defined, indicates that the fp_class routine is
3520 * available to classify doubles. Available for example in Digital UNIX.
3521 * The returned values are defined in <math.h> and are:
3523 * FP_SNAN Signaling NaN (Not-a-Number)
3524 * FP_QNAN Quiet NaN (Not-a-Number)
3525 * FP_POS_INF +infinity
3526 * FP_NEG_INF -infinity
3527 * FP_POS_NORM Positive normalized
3528 * FP_NEG_NORM Negative normalized
3529 * FP_POS_DENORM Positive denormalized
3530 * FP_NEG_DENORM Negative denormalized
3531 * FP_POS_ZERO +0.0 (positive zero)
3532 * FP_NEG_ZERO -0.0 (negative zero)
3534 #$d_fp_class HAS_FP_CLASS /**/
3537 * This symbol, if defined, indicates that the fpclass routine is
3538 * available to classify doubles. Available for example in Solaris/SVR4.
3539 * The returned values are defined in <ieeefp.h> and are:
3541 * FP_SNAN signaling NaN
3543 * FP_NINF negative infinity
3544 * FP_PINF positive infinity
3545 * FP_NDENORM negative denormalized non-zero
3546 * FP_PDENORM positive denormalized non-zero
3547 * FP_NZERO negative zero
3548 * FP_PZERO positive zero
3549 * FP_NNORM negative normalized non-zero
3550 * FP_PNORM positive normalized non-zero
3552 #$d_fpclass HAS_FPCLASS /**/
3555 * This symbol, if defined, indicates that the fpclassify routine is
3556 * available to classify doubles. Available for example in HP-UX.
3557 * The returned values are defined in <math.h> and are
3559 * FP_NORMAL Normalized
3561 * FP_INFINITE Infinity
3562 * FP_SUBNORMAL Denormalized
3566 #$d_fpclassify HAS_FPCLASSIFY /**/
3569 * This symbol, if defined, indicates that the fpclassl routine is
3570 * available to classify long doubles. Available for example in IRIX.
3571 * The returned values are defined in <ieeefp.h> and are:
3573 * FP_SNAN signaling NaN
3575 * FP_NINF negative infinity
3576 * FP_PINF positive infinity
3577 * FP_NDENORM negative denormalized non-zero
3578 * FP_PDENORM positive denormalized non-zero
3579 * FP_NZERO negative zero
3580 * FP_PZERO positive zero
3581 * FP_NNORM negative normalized non-zero
3582 * FP_PNORM positive normalized non-zero
3584 #$d_fpclassl HAS_FPCLASSL /**/
3587 * This symbol will be defined if the C compiler supports fpos64_t.
3589 #$d_fpos64_t HAS_FPOS64_T /**/
3592 * This symbol, if defined, indicates that the frexpl routine is
3593 * available to break a long double floating-point number into
3594 * a normalized fraction and an integral power of 2.
3596 #$d_frexpl HAS_FREXPL /**/
3598 /* HAS_STRUCT_FS_DATA:
3599 * This symbol, if defined, indicates that the struct fs_data
3600 * to do statfs() is supported.
3602 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
3605 * This symbol, if defined, indicates that the fseeko routine is
3606 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3608 #$d_fseeko HAS_FSEEKO /**/
3611 * This symbol, if defined, indicates that the fstatfs routine is
3612 * available to stat filesystems by file descriptors.
3614 #$d_fstatfs HAS_FSTATFS /**/
3617 * This symbol, if defined, indicates that the fsync routine is
3618 * available to write a file's modified data and attributes to
3619 * permanent storage.
3621 #$d_fsync HAS_FSYNC /**/
3624 * This symbol, if defined, indicates that the ftello routine is
3625 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3627 #$d_ftello HAS_FTELLO /**/
3630 * This symbol, if defined, indicates that the futimes routine is
3631 * available to change file descriptor time stamps with struct timevals.
3633 #$d_futimes HAS_FUTIMES /**/
3636 * This symbol, if defined, indicates that the getaddrinfo() function
3637 * is available for use.
3639 #$d_getaddrinfo HAS_GETADDRINFO /**/
3642 * This symbol, if defined, indicates that the getcwd routine is
3643 * available to get the current working directory.
3645 #$d_getcwd HAS_GETCWD /**/
3648 * This symbol, if defined, indicates that the getespwnam system call is
3649 * available to retrieve enhanced (shadow) password entries by name.
3651 #$d_getespwnam HAS_GETESPWNAM /**/
3654 * This symbol, if defined, indicates that the getfsstat routine is
3655 * available to stat filesystems in bulk.
3657 #$d_getfsstat HAS_GETFSSTAT /**/
3660 * This symbol, if defined, indicates that the getitimer routine is
3661 * available to return interval timers.
3663 #$d_getitimer HAS_GETITIMER /**/
3666 * This symbol, if defined, indicates that the getmnt routine is
3667 * available to get filesystem mount info by filename.
3669 #$d_getmnt HAS_GETMNT /**/
3672 * This symbol, if defined, indicates that the getmntent routine is
3673 * available to iterate through mounted file systems to get their info.
3675 #$d_getmntent HAS_GETMNTENT /**/
3678 * This symbol, if defined, indicates that the getnameinfo() function
3679 * is available for use.
3681 #$d_getnameinfo HAS_GETNAMEINFO /**/
3684 * This symbol, if defined, indicates that the getprpwnam system call is
3685 * available to retrieve protected (shadow) password entries by name.
3687 #$d_getprpwnam HAS_GETPRPWNAM /**/
3690 * This symbol, if defined, indicates that the getspnam system call is
3691 * available to retrieve SysV shadow password entries by name.
3693 #$d_getspnam HAS_GETSPNAM /**/
3696 * This symbol, if defined, indicates that the hasmntopt routine is
3697 * available to query the mount options of file systems.
3699 #$d_hasmntopt HAS_HASMNTOPT /**/
3702 * This symbol, if defined, indicates that the ilogbl routine is
3703 * available. If scalbnl is also present we can emulate frexpl.
3705 #$d_ilogbl HAS_ILOGBL /**/
3708 * This symbol, if defined, indicates that the inet_ntop() function
3709 * is available to parse IPv4 and IPv6 strings.
3711 #$d_inetntop HAS_INETNTOP /**/
3714 * This symbol, if defined, indicates that the inet_pton() function
3715 * is available to parse IPv4 and IPv6 strings.
3717 #$d_inetpton HAS_INETPTON /**/
3720 * This symbol will defined if the C compiler supports int64_t.
3721 * Usually the <inttypes.h> needs to be included, but sometimes
3722 * <sys/types.h> is enough.
3724 #$d_int64_t HAS_INT64_T /**/
3727 * This manifest constant lets the C program know that isblank
3730 #$d_isblank HAS_ISBLANK /**/
3733 * This symbol, if defined, indicates that the isfinite routine is
3734 * available to check whether a double is finite (non-infinity non-NaN).
3736 #$d_isfinite HAS_ISFINITE /**/
3739 * This symbol, if defined, indicates that the isinf routine is
3740 * available to check whether a double is an infinity.
3742 #$d_isinf HAS_ISINF /**/
3745 * This symbol, if defined, indicates that the isnan routine is
3746 * available to check whether a double is a NaN.
3748 #$d_isnan HAS_ISNAN /**/
3751 * This symbol, if defined, indicates that the isnanl routine is
3752 * available to check whether a long double is a NaN.
3754 #$d_isnanl HAS_ISNANL /**/
3757 * This symbol, if defined, indicates that this system's <float.h>
3758 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3759 * of significant digits in a long double precision number. Unlike
3760 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3762 #$d_ldbl_dig HAS_LDBL_DIG /* */
3764 /* LIBM_LIB_VERSION:
3765 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3766 * and that math.h defines the enum to manipulate it.
3768 #$d_libm_lib_version LIBM_LIB_VERSION /**/
3771 * This symbol, if defined, indicates that the madvise system call is
3772 * available to map a file into memory.
3774 #$d_madvise HAS_MADVISE /**/
3777 * This symbol, if defined, indicates that the malloc_size
3778 * routine is available for use.
3780 #$d_malloc_size HAS_MALLOC_SIZE /**/
3782 /* HAS_MALLOC_GOOD_SIZE:
3783 * This symbol, if defined, indicates that the malloc_good_size
3784 * routine is available for use.
3786 #$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3789 * This symbol, if defined, indicates that the mkdtemp routine is
3790 * available to exclusively create a uniquely named temporary directory.
3792 #$d_mkdtemp HAS_MKDTEMP /**/
3795 * This symbol, if defined, indicates that the mkstemps routine is
3796 * available to exclusively create and open a uniquely named
3797 * (with a suffix) temporary file.
3799 #$d_mkstemps HAS_MKSTEMPS /**/
3802 * This symbol, if defined, indicates that the modfl routine is
3803 * available to split a long double x into a fractional part f and
3804 * an integer part i such that |f| < 1.0 and (f + i) = x.
3807 * This symbol, if defined, indicates that the system provides
3808 * a prototype for the modfl() function. Otherwise, it is up
3809 * to the program to supply one.
3811 /* HAS_MODFL_POW32_BUG:
3812 * This symbol, if defined, indicates that the modfl routine is
3813 * broken for long doubles >= pow(2, 32).
3814 * For example from 4294967303.150000 one would get 4294967302.000000
3815 * and 1.150000. The bug has been seen in certain versions of glibc,
3816 * release 2.2.2 is known to be okay.
3818 #$d_modfl HAS_MODFL /**/
3819 #$d_modflproto HAS_MODFL_PROTO /**/
3820 #$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
3823 * This symbol, if defined, indicates that the mprotect system call is
3824 * available to modify the access protection of a memory mapped file.
3826 #$d_mprotect HAS_MPROTECT /**/
3828 /* HAS_STRUCT_MSGHDR:
3829 * This symbol, if defined, indicates that the struct msghdr
3832 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3835 * This symbol, if defined, indicates that the nl_langinfo routine is
3836 * available to return local data. You will also need <langinfo.h>
3837 * and therefore I_LANGINFO.
3839 #$d_nl_langinfo HAS_NL_LANGINFO /**/
3842 * This symbol will be defined if the C compiler supports off64_t.
3844 #$d_off64_t HAS_OFF64_T /**/
3847 * This symbol, if defined, indicates that the prctl routine is
3848 * available to set process title.
3850 /* HAS_PRCTL_SET_NAME:
3851 * This symbol, if defined, indicates that the prctl routine is
3852 * available to set process title and supports PR_SET_NAME.
3854 #$d_prctl HAS_PRCTL /**/
3855 #$d_prctl_set_name HAS_PRCTL_SET_NAME /**/
3858 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3859 * to the absolute pathname of the executing program.
3861 /* PROCSELFEXE_PATH:
3862 * If HAS_PROCSELFEXE is defined this symbol is the filename
3863 * of the symbolic link pointing to the absolute pathname of
3864 * the executing program.
3866 #$d_procselfexe HAS_PROCSELFEXE /**/
3867 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3868 #define PROCSELFEXE_PATH $procselfexe /**/
3871 /* HAS_PTHREAD_ATTR_SETSCOPE:
3872 * This symbol, if defined, indicates that the pthread_attr_setscope
3873 * system call is available to set the contention scope attribute of
3874 * a thread attribute object.
3876 #$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3879 * This symbol, if defined, indicates that the readv routine is
3880 * available to do gather reads. You will also need <sys/uio.h>
3881 * and there I_SYSUIO.
3883 #$d_readv HAS_READV /**/
3886 * This symbol, if defined, indicates that the recvmsg routine is
3887 * available to send structured socket messages.
3889 #$d_recvmsg HAS_RECVMSG /**/
3892 * This symbol, if defined, indicates that the system provides
3893 * a prototype for the sbrk() function. Otherwise, it is up
3894 * to the program to supply one. Good guesses are
3895 * extern void* sbrk(int);
3896 * extern void* sbrk(size_t);
3898 #$d_sbrkproto HAS_SBRK_PROTO /**/
3901 * This symbol, if defined, indicates that the scalbnl routine is
3902 * available. If ilogbl is also present we can emulate frexpl.
3904 #$d_scalbnl HAS_SCALBNL /**/
3907 * This symbol, if defined, indicates that the sendmsg routine is
3908 * available to send structured socket messages.
3910 #$d_sendmsg HAS_SENDMSG /**/
3913 * This symbol, if defined, indicates that the setitimer routine is
3914 * available to set interval timers.
3916 #$d_setitimer HAS_SETITIMER /**/
3918 /* HAS_SETPROCTITLE:
3919 * This symbol, if defined, indicates that the setproctitle routine is
3920 * available to set process title.
3922 #$d_setproctitle HAS_SETPROCTITLE /**/
3925 * This symbol, if defined, indicates that the signbit routine is
3926 * available to check if the given number has the sign bit set.
3927 * This should include correct testing of -0.0. This will only be set
3928 * if the signbit() routine is safe to use with the NV type used internally
3929 * in perl. Users should call Perl_signbit(), which will be #defined to
3930 * the system's signbit() function or macro if this symbol is defined.
3932 #$d_signbit HAS_SIGNBIT /**/
3935 * This symbol, if defined, indicates that the sigprocmask
3936 * system call is available to examine or change the signal mask
3937 * of the calling process.
3939 #$d_sigprocmask HAS_SIGPROCMASK /**/
3941 /* USE_SITECUSTOMIZE:
3942 * This symbol, if defined, indicates that sitecustomize should
3945 #ifndef USE_SITECUSTOMIZE
3946 #$usesitecustomize USE_SITECUSTOMIZE /**/
3950 * This symbol, if defined, indicates that the snprintf () library
3951 * function is available for use.
3954 * This symbol, if defined, indicates that the vsnprintf () library
3955 * function is available for use.
3957 #$d_snprintf HAS_SNPRINTF /**/
3958 #$d_vsnprintf HAS_VSNPRINTF /**/
3961 * This symbol, if defined, indicates that the sockatmark routine is
3962 * available to test whether a socket is at the out-of-band mark.
3964 #$d_sockatmark HAS_SOCKATMARK /**/
3966 /* HAS_SOCKATMARK_PROTO:
3967 * This symbol, if defined, indicates that the system provides
3968 * a prototype for the sockatmark() function. Otherwise, it is up
3969 * to the program to supply one. A good guess is
3970 * extern int sockatmark(int);
3972 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3975 * This symbol, if defined, indicates that the socks5_init routine is
3976 * available to initialize SOCKS 5.
3978 #$d_socks5_init HAS_SOCKS5_INIT /**/
3980 /* SPRINTF_RETURNS_STRLEN:
3981 * This variable defines whether sprintf returns the length of the string
3982 * (as per the ANSI spec). Some C libraries retain compatibility with
3983 * pre-ANSI C and return a pointer to the passed in buffer; for these
3984 * this variable will be undef.
3986 #$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
3989 * This symbol, if defined, indicates that the sqrtl routine is
3990 * available to do long double square roots.
3992 #$d_sqrtl HAS_SQRTL /**/
3994 /* HAS_SETRESGID_PROTO:
3995 * This symbol, if defined, indicates that the system provides
3996 * a prototype for the setresgid() function. Otherwise, it is up
3997 * to the program to supply one. Good guesses are
3998 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
4000 #$d_sresgproto HAS_SETRESGID_PROTO /**/
4002 /* HAS_SETRESUID_PROTO:
4003 * This symbol, if defined, indicates that the system provides
4004 * a prototype for the setresuid() function. Otherwise, it is up
4005 * to the program to supply one. Good guesses are
4006 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
4008 #$d_sresuproto HAS_SETRESUID_PROTO /**/
4010 /* HAS_STRUCT_STATFS_F_FLAGS:
4011 * This symbol, if defined, indicates that the struct statfs
4012 * does have the f_flags member containing the mount flags of
4013 * the filesystem containing the file.
4014 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
4015 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
4016 * have statfs() and struct statfs, they have ustat() and getmnt()
4017 * with struct ustat and struct fs_data.
4019 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
4021 /* HAS_STRUCT_STATFS:
4022 * This symbol, if defined, indicates that the struct statfs
4023 * to do statfs() is supported.
4025 #$d_statfs_s HAS_STRUCT_STATFS /**/
4028 * This symbol, if defined, indicates that the fstatvfs routine is
4029 * available to stat filesystems by file descriptors.
4031 #$d_fstatvfs HAS_FSTATVFS /**/
4034 * This symbol, if defined, indicates that the strftime routine is
4035 * available to do time formatting.
4037 #$d_strftime HAS_STRFTIME /**/
4040 * This symbol, if defined, indicates that the strlcat () routine is
4041 * available to do string concatenation.
4043 #$d_strlcat HAS_STRLCAT /**/
4046 * This symbol, if defined, indicates that the strlcpy () routine is
4047 * available to do string copying.
4049 #$d_strlcpy HAS_STRLCPY /**/
4052 * This symbol, if defined, indicates that the strtold routine is
4053 * available to convert strings to long doubles.
4055 #$d_strtold HAS_STRTOLD /**/
4058 * This symbol, if defined, indicates that the strtoll routine is
4059 * available to convert strings to long longs.
4061 #$d_strtoll HAS_STRTOLL /**/
4064 * This symbol, if defined, indicates that the strtoq routine is
4065 * available to convert strings to long longs (quads).
4067 #$d_strtoq HAS_STRTOQ /**/
4070 * This symbol, if defined, indicates that the strtoull routine is
4071 * available to convert strings to unsigned long longs.
4073 #$d_strtoull HAS_STRTOULL /**/
4076 * This symbol, if defined, indicates that the strtouq routine is
4077 * available to convert strings to unsigned long longs (quads).
4079 #$d_strtouq HAS_STRTOUQ /**/
4081 /* HAS_SYSCALL_PROTO:
4082 * This symbol, if defined, indicates that the system provides
4083 * a prototype for the syscall() function. Otherwise, it is up
4084 * to the program to supply one. Good guesses are
4085 * extern int syscall(int, ...);
4086 * extern int syscall(long, ...);
4088 #$d_syscallproto HAS_SYSCALL_PROTO /**/
4090 /* HAS_TELLDIR_PROTO:
4091 * This symbol, if defined, indicates that the system provides
4092 * a prototype for the telldir() function. Otherwise, it is up
4093 * to the program to supply one. A good guess is
4094 * extern long telldir(DIR*);
4096 #$d_telldirproto HAS_TELLDIR_PROTO /**/
4099 * This symbol, if defined, indicates that the ctime64 () routine is
4100 * available to do the 64bit variant of ctime ()
4103 * This symbol, if defined, indicates that the localtime64 () routine is
4104 * available to do the 64bit variant of localtime ()
4107 * This symbol, if defined, indicates that the gmtime64 () routine is
4108 * available to do the 64bit variant of gmtime ()
4111 * This symbol, if defined, indicates that the mktime64 () routine is
4112 * available to do the 64bit variant of mktime ()
4115 * This symbol, if defined, indicates that the difftime64 () routine is
4116 * available to do the 64bit variant of difftime ()
4119 * This symbol, if defined, indicates that the asctime64 () routine is
4120 * available to do the 64bit variant of asctime ()
4122 #$d_ctime64 HAS_CTIME64 /**/
4123 #$d_localtime64 HAS_LOCALTIME64 /**/
4124 #$d_gmtime64 HAS_GMTIME64 /**/
4125 #$d_mktime64 HAS_MKTIME64 /**/
4126 #$d_difftime64 HAS_DIFFTIME64 /**/
4127 #$d_asctime64 HAS_ASCTIME64 /**/
4130 * This symbol, if defined, indicates that the timegm routine is
4131 * available to do the opposite of gmtime ()
4133 #$d_timegm HAS_TIMEGM /**/
4135 /* U32_ALIGNMENT_REQUIRED:
4136 * This symbol, if defined, indicates that you must access
4137 * character data through U32-aligned pointers.
4139 #ifndef U32_ALIGNMENT_REQUIRED
4140 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
4144 * This symbol, if defined, indicates that the ualarm routine is
4145 * available to do alarms with microsecond granularity.
4147 #$d_ualarm HAS_UALARM /**/
4150 * This symbol, if defined, indicates that the unordered routine is
4151 * available to check whether two doubles are unordered
4152 * (effectively: whether either of them is NaN)
4154 #$d_unordered HAS_UNORDERED /**/
4157 * This symbol, if defined, indicates that the unsetenv () routine is
4158 * available for use.
4160 #$d_unsetenv HAS_UNSETENV /**/
4162 /* HAS_USLEEP_PROTO:
4163 * This symbol, if defined, indicates that the system provides
4164 * a prototype for the usleep() function. Otherwise, it is up
4165 * to the program to supply one. A good guess is
4166 * extern int usleep(useconds_t);
4168 #$d_usleepproto HAS_USLEEP_PROTO /**/
4171 * This symbol, if defined, indicates that the ustat system call is
4172 * available to query file system statistics by dev_t.
4174 #$d_ustat HAS_USTAT /**/
4177 * This symbol, if defined, indicates that the writev routine is
4178 * available to do scatter writes.
4180 #$d_writev HAS_WRITEV /**/
4182 /* USE_DYNAMIC_LOADING:
4183 * This symbol, if defined, indicates that dynamic loading of
4184 * some sort is available.
4186 #$usedl USE_DYNAMIC_LOADING /**/
4189 * This symbol, if defined, tells that fflush(NULL) correctly
4190 * flushes all pending stdio output without side effects. In
4191 * particular, on some platforms calling fflush(NULL) *still*
4192 * corrupts STDIN if it is a pipe.
4195 * This symbol, if defined, tells that to flush
4196 * all pending stdio output one must loop through all
4197 * the stdio file handles stored in an array and fflush them.
4198 * Note that if fflushNULL is defined, fflushall will not
4199 * even be probed for and will be left undefined.
4201 #$fflushNULL FFLUSH_NULL /**/
4202 #$fflushall FFLUSH_ALL /**/
4205 * This symbol, if defined, indicates that <assert.h> exists and
4206 * could be included by the C program to get the assert() macro.
4208 #$i_assert I_ASSERT /**/
4211 * This symbol, if defined, indicates that <crypt.h> exists and
4212 * should be included.
4214 #$i_crypt I_CRYPT /**/
4217 * This symbol contains the type of the prefix structure element
4218 * in the <db.h> header file. In older versions of DB, it was
4219 * int, while in newer ones it is u_int32_t.
4222 * This symbol contains the type of the prefix structure element
4223 * in the <db.h> header file. In older versions of DB, it was
4224 * int, while in newer ones it is size_t.
4226 /* DB_VERSION_MAJOR_CFG:
4227 * This symbol, if defined, defines the major version number of
4228 * Berkeley DB found in the <db.h> header when Perl was configured.
4230 /* DB_VERSION_MINOR_CFG:
4231 * This symbol, if defined, defines the minor version number of
4232 * Berkeley DB found in the <db.h> header when Perl was configured.
4233 * For DB version 1 this is always 0.
4235 /* DB_VERSION_PATCH_CFG:
4236 * This symbol, if defined, defines the patch version number of
4237 * Berkeley DB found in the <db.h> header when Perl was configured.
4238 * For DB version 1 this is always 0.
4240 #define DB_Hash_t $db_hashtype /**/
4241 #define DB_Prefix_t $db_prefixtype /**/
4242 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
4243 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
4244 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
4247 * This symbol, if defined, indicates that <fp.h> exists and
4248 * should be included.
4253 * This symbol, if defined, indicates that <fp_class.h> exists and
4254 * should be included.
4256 #$i_fp_class I_FP_CLASS /**/
4259 * This symbol, if defined, indicates that <ieeefp.h> exists and
4260 * should be included.
4262 #$i_ieeefp I_IEEEFP /**/
4265 * This symbol, if defined, indicates to the C program that it should
4266 * include <inttypes.h>.
4268 #$i_inttypes I_INTTYPES /**/
4271 * This symbol, if defined, indicates that <langinfo.h> exists and
4272 * should be included.
4274 #$i_langinfo I_LANGINFO /**/
4277 * This symbol, if defined, indicates that <libutil.h> exists and
4278 * should be included.
4280 #$i_libutil I_LIBUTIL /**/
4283 * This symbol, if defined, indicates to the C program that it should
4284 * include <malloc/malloc.h>.
4286 #$i_mallocmalloc I_MALLOCMALLOC /**/
4289 * This symbol, if defined, indicates that <mntent.h> exists and
4290 * should be included.
4292 #$i_mntent I_MNTENT /**/
4295 * This symbol, if defined, indicates to the C program that it should
4296 * include <netinet/tcp.h>.
4298 #$i_netinettcp I_NETINET_TCP /**/
4301 * This symbol, if defined, indicates that <poll.h> exists and
4302 * should be included. (see also HAS_POLL)
4304 #$i_poll I_POLL /**/
4307 * This symbol, if defined, indicates that <prot.h> exists and
4308 * should be included.
4310 #$i_prot I_PROT /**/
4313 * This symbol, if defined, indicates that <shadow.h> exists and
4314 * should be included.
4316 #$i_shadow I_SHADOW /**/
4319 * This symbol, if defined, indicates that <socks.h> exists and
4320 * should be included.
4322 #$i_socks I_SOCKS /**/
4325 * This symbol, if defined, indicates that <stdbool.h> exists and
4328 #$i_stdbool I_STDBOOL /**/
4331 * This symbol, if defined, indicates that <sunmath.h> exists and
4332 * should be included.
4334 #$i_sunmath I_SUNMATH /**/
4337 * This symbol, if defined, indicates that <syslog.h> exists and
4338 * should be included.
4340 #$i_syslog I_SYSLOG /**/
4343 * This symbol, if defined, indicates that <sys/mode.h> exists and
4344 * should be included.
4346 #$i_sysmode I_SYSMODE /**/
4349 * This symbol, if defined, indicates that <sys/mount.h> exists and
4350 * should be included.
4352 #$i_sysmount I_SYS_MOUNT /**/
4355 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4357 #$i_sysstatfs I_SYS_STATFS /**/
4360 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4361 * should be included.
4363 #$i_sysstatvfs I_SYS_STATVFS /**/
4366 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4367 * should be included.
4369 #$i_sysutsname I_SYSUTSNAME /**/
4372 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4373 * should be included.
4375 #$i_sysvfs I_SYS_VFS /**/
4378 * This symbol, if defined, indicates that <ustat.h> exists and
4379 * should be included.
4381 #$i_ustat I_USTAT /**/
4384 * This symbol, if defined, contains the string used by stdio to
4385 * format long doubles (format 'f') for output.
4388 * This symbol, if defined, contains the string used by stdio to
4389 * format long doubles (format 'g') for output.
4392 * This symbol, if defined, contains the string used by stdio to
4393 * format long doubles (format 'e') for output.
4396 * This symbol, if defined, contains the string used by stdio to
4397 * format long doubles (format 'f') for input.
4399 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
4400 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
4401 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
4402 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
4405 * This symbol, if defined, indicates that the Misc Attribution
4406 * Declaration code should be conditionally compiled.
4411 * This symbol, if defined, indicates that the system stores
4412 * the variable argument list datatype, va_list, in a format
4413 * that cannot be copied by simple assignment, so that some
4414 * other means must be used when copying is required.
4415 * As such systems vary in their provision (or non-provision)
4416 * of copying mechanisms, handy.h defines a platform-
4417 * independent macro, Perl_va_copy(src, dst), to do the job.
4419 #$need_va_copy NEED_VA_COPY /**/
4422 * This symbol defines the C type used for Perl's IV.
4425 * This symbol defines the C type used for Perl's UV.
4428 * This symbol defines the C type used for Perl's I8.
4431 * This symbol defines the C type used for Perl's U8.
4434 * This symbol defines the C type used for Perl's I16.
4437 * This symbol defines the C type used for Perl's U16.
4440 * This symbol defines the C type used for Perl's I32.
4443 * This symbol defines the C type used for Perl's U32.
4446 * This symbol defines the C type used for Perl's I64.
4449 * This symbol defines the C type used for Perl's U64.
4452 * This symbol defines the C type used for Perl's NV.
4455 * This symbol contains the sizeof(IV).
4458 * This symbol contains the sizeof(UV).
4461 * This symbol contains the sizeof(I8).
4464 * This symbol contains the sizeof(U8).
4467 * This symbol contains the sizeof(I16).
4470 * This symbol contains the sizeof(U16).
4473 * This symbol contains the sizeof(I32).
4476 * This symbol contains the sizeof(U32).
4479 * This symbol contains the sizeof(I64).
4482 * This symbol contains the sizeof(U64).
4485 * This symbol contains the sizeof(NV).
4488 * This symbol, if defined, indicates that a variable of type NVTYPE
4489 * can preserve all the bits of a variable of type UVTYPE.
4491 /* NV_PRESERVES_UV_BITS:
4492 * This symbol contains the number of bits a variable of type NVTYPE
4493 * can preserve of a variable of type UVTYPE.
4495 /* NV_OVERFLOWS_INTEGERS_AT:
4496 * This symbol gives the largest integer value that NVs can hold. This
4497 * value + 1.0 cannot be stored accurately. It is expressed as constant
4498 * floating point expression to reduce the chance of decimal/binary
4499 * conversion issues. If it can not be determined, the value 0 is given.
4501 /* NV_ZERO_IS_ALLBITS_ZERO:
4502 * This symbol, if defined, indicates that a variable of type NVTYPE
4503 * stores 0.0 in memory as all bits zero.
4505 #define IVTYPE $ivtype /**/
4506 #define UVTYPE $uvtype /**/
4507 #define I8TYPE $i8type /**/
4508 #define U8TYPE $u8type /**/
4509 #define I16TYPE $i16type /**/
4510 #define U16TYPE $u16type /**/
4511 #define I32TYPE $i32type /**/
4512 #define U32TYPE $u32type /**/
4514 #define I64TYPE $i64type /**/
4515 #define U64TYPE $u64type /**/
4517 #define NVTYPE $nvtype /**/
4518 #define IVSIZE $ivsize /**/
4519 #define UVSIZE $uvsize /**/
4520 #define I8SIZE $i8size /**/
4521 #define U8SIZE $u8size /**/
4522 #define I16SIZE $i16size /**/
4523 #define U16SIZE $u16size /**/
4524 #define I32SIZE $i32size /**/
4525 #define U32SIZE $u32size /**/
4527 #define I64SIZE $i64size /**/
4528 #define U64SIZE $u64size /**/
4530 #define NVSIZE $nvsize /**/
4531 #$d_nv_preserves_uv NV_PRESERVES_UV
4532 #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4533 #define NV_OVERFLOWS_INTEGERS_AT $nv_overflows_integers_at
4534 #$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4537 # if BYTEORDER == 0x1234
4539 # define BYTEORDER 0x12345678
4541 # if BYTEORDER == 0x4321
4543 # define BYTEORDER 0x87654321
4550 * This symbol defines the format string used for printing a Perl IV
4551 * as a signed decimal integer.
4554 * This symbol defines the format string used for printing a Perl UV
4555 * as an unsigned decimal integer.
4558 * This symbol defines the format string used for printing a Perl UV
4559 * as an unsigned octal integer.
4562 * This symbol defines the format string used for printing a Perl UV
4563 * as an unsigned hexadecimal integer in lowercase abcdef.
4566 * This symbol defines the format string used for printing a Perl UV
4567 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4570 * This symbol defines the format string used for printing a Perl NV
4571 * using %e-ish floating point format.
4574 * This symbol defines the format string used for printing a Perl NV
4575 * using %f-ish floating point format.
4578 * This symbol defines the format string used for printing a Perl NV
4579 * using %g-ish floating point format.
4581 #define IVdf $ivdformat /**/
4582 #define UVuf $uvuformat /**/
4583 #define UVof $uvoformat /**/
4584 #define UVxf $uvxformat /**/
4585 #define UVXf $uvXUformat /**/
4586 #define NVef $nveformat /**/
4587 #define NVff $nvfformat /**/
4588 #define NVgf $nvgformat /**/
4591 * This symbol holds the minimum number of bits operated by select.
4592 * That is, if you do select(n, ...), how many bits at least will be
4593 * cleared in the masks if some activity is detected. Usually this
4594 * is either n or 32*ceil(n/32), especially many little-endians do
4595 * the latter. This is only useful if you have select(), naturally.
4597 #define SELECT_MIN_BITS $selectminbits /**/
4600 * This variable contains the size of struct stat's st_ino in bytes.
4603 * This symbol holds the signedness of struct stat's st_ino.
4604 * 1 for unsigned, -1 for signed.
4606 #define ST_INO_SIGN $st_ino_sign /* st_ino sign */
4607 #define ST_INO_SIZE $st_ino_size /* st_ino size */
4610 * This variable contains the string to put in front of a perl
4611 * script to make sure (one hopes) that it runs with perl and not
4614 #define STARTPERL "$startperl" /**/
4616 /* HAS_STDIO_STREAM_ARRAY:
4617 * This symbol, if defined, tells that there is an array
4618 * holding the stdio streams.
4620 /* STDIO_STREAM_ARRAY:
4621 * This symbol tells the name of the array holding the stdio streams.
4622 * Usual values include _iob, __iob, and __sF.
4624 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4625 #ifdef HAS_STDIO_STREAM_ARRAY
4626 #define STDIO_STREAM_ARRAY $stdio_stream_array
4630 * This symbol contains the maximum value for the time_t offset that
4631 * the system function gmtime () accepts, and defaults to 0
4634 * This symbol contains the minimum value for the time_t offset that
4635 * the system function gmtime () accepts, and defaults to 0
4638 * This symbol contains the maximum value for the time_t offset that
4639 * the system function localtime () accepts, and defaults to 0
4642 * This symbol contains the minimum value for the time_t offset that
4643 * the system function localtime () accepts, and defaults to 0
4645 #define GMTIME_MAX $sGMTIME_max /**/
4646 #define GMTIME_MIN $sGMTIME_min /**/
4647 #define LOCALTIME_MAX $sLOCALTIME_max /**/
4648 #define LOCALTIME_MIN $sLOCALTIME_min /**/
4651 * This symbol, if defined, indicates that 64-bit integers should
4652 * be used when available. If not defined, the native integers
4653 * will be employed (be they 32 or 64 bits). The minimal possible
4654 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4655 * This may mean using for example "long longs", while your memory
4656 * may still be limited to 2 gigabytes.
4659 * This symbol, if defined, indicates that 64-bit integers should
4660 * be used when available. If not defined, the native integers
4661 * will be used (be they 32 or 64 bits). The maximal possible
4662 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4663 * be able to use more than 2 gigabytes of memory. This mode is
4664 * even more binary incompatible than USE_64_BIT_INT. You may not
4665 * be able to run the resulting executable in a 32-bit CPU at all or
4666 * you may need at least to reboot your OS to 64-bit mode.
4668 #ifndef USE_64_BIT_INT
4669 #$use64bitint USE_64_BIT_INT /**/
4671 #ifndef USE_64_BIT_ALL
4672 #$use64bitall USE_64_BIT_ALL /**/
4676 * This symbol, if defined, indicates that Perl should
4677 * be built with support for DTrace.
4679 #$usedtrace USE_DTRACE /**/
4682 * This symbol, if defined, indicates that Perl should
4683 * be built to use 'fast stdio'.
4684 * Defaults to define in Perls 5.8 and earlier, to undef later.
4686 #ifndef USE_FAST_STDIO
4687 #$usefaststdio USE_FAST_STDIO /**/
4690 /* USE_KERN_PROC_PATHNAME:
4691 * This symbol, if defined, indicates that we can use sysctl with
4692 * KERN_PROC_PATHNAME to get a full path for the executable, and hence
4693 * convert $^X to an absolute path.
4695 #$usekernprocpathname USE_KERN_PROC_PATHNAME /**/
4698 * This symbol, if defined, indicates that large file support
4699 * should be used when available.
4701 #ifndef USE_LARGE_FILES
4702 #$uselargefiles USE_LARGE_FILES /**/
4706 * This symbol, if defined, indicates that long doubles should
4707 * be used when available.
4709 #ifndef USE_LONG_DOUBLE
4710 #$uselongdouble USE_LONG_DOUBLE /**/
4714 * This symbol, if defined, indicates that 64-bit interfaces and
4715 * long doubles should be used when available.
4717 #ifndef USE_MORE_BITS
4718 #$usemorebits USE_MORE_BITS /**/
4722 * This symbol, if defined, indicates that Perl should
4723 * be built to use multiplicity.
4725 #ifndef MULTIPLICITY
4726 #$usemultiplicity MULTIPLICITY /**/
4729 /* USE_NSGETEXECUTABLEPATH:
4730 * This symbol, if defined, indicates that we can use _NSGetExecutablePath
4731 * and realpath to get a full path for the executable, and hence convert
4732 * $^X to an absolute path.
4734 #$usensgetexecutablepath USE_NSGETEXECUTABLEPATH /**/
4737 * This symbol, if defined, indicates that the PerlIO abstraction should
4738 * be used throughout. If not defined, stdio should be
4739 * used in a fully backward compatible manner.
4742 #$useperlio USE_PERLIO /**/
4746 * This symbol, if defined, indicates that Perl should
4747 * be built to use socks.
4750 #$usesocks USE_SOCKS /**/