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 dladdr routine is
136 * available to return information about stack addresses.
138 #$d_dladdr HAS_DLADDR /**/
141 * This symbol, if defined, indicates that the dlerror routine is
142 * available to return a string describing the last error that
143 * occurred from a call to dlopen(), dlclose() or dlsym().
145 #$d_dlerror HAS_DLERROR /**/
148 * This symbol, if defined, indicates that the backtrace routine is
149 * available to return backtrace information about the C stack.
151 #$d_backtrace HAS_BACKTRACE /**/
154 * This symbol, if defined, indicates that the dup2 routine is
155 * available to duplicate file descriptors.
157 #$d_dup2 HAS_DUP2 /**/
160 * This symbol, if defined, indicates that the fchmod routine is available
161 * to change mode of opened files. If unavailable, use chmod().
163 #$d_fchmod HAS_FCHMOD /**/
166 * This symbol, if defined, indicates that the fchown routine is available
167 * to change ownership of opened files. If unavailable, use chown().
169 #$d_fchown HAS_FCHOWN /**/
172 * This symbol, if defined, indicates to the C program that
173 * the fcntl() function exists.
175 #$d_fcntl HAS_FCNTL /**/
178 * This symbol, if defined, indicates that the fgetpos routine is
179 * available to get the file position indicator, similar to ftell().
181 #$d_fgetpos HAS_FGETPOS /**/
184 * This symbol, if defined, indicates that the flock routine is
185 * available to do file locking.
187 #$d_flock HAS_FLOCK /**/
190 * This symbol, if defined, indicates that the fork routine is
193 #$d_fork HAS_FORK /**/
196 * This symbol, if defined, indicates that the fsetpos routine is
197 * available to set the file position indicator, similar to fseek().
199 #$d_fsetpos HAS_FSETPOS /**/
202 * This symbol, if defined, indicates that the gettimeofday() system
203 * call is available for a sub-second accuracy clock. Usually, the file
204 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
205 * The type "Timeval" should be used to refer to "struct timeval".
207 #$d_gettimeod HAS_GETTIMEOFDAY /**/
208 #ifdef HAS_GETTIMEOFDAY
209 #define Timeval struct timeval /* Structure used by gettimeofday() */
213 * This symbol, if defined, indicates that the getgroups() routine is
214 * available to get the list of process groups. If unavailable, multiple
215 * groups are probably not supported.
217 #$d_getgrps HAS_GETGROUPS /**/
220 * This symbol, if defined, indicates that the getlogin routine is
221 * available to get the login name.
223 #$d_getlogin HAS_GETLOGIN /**/
226 * This symbol, if defined, indicates to the C program that
227 * the getpgid(pid) function is available to get the
230 #$d_getpgid HAS_GETPGID /**/
233 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
234 * routine is available to get the current process group.
236 #$d_getpgrp2 HAS_GETPGRP2 /**/
239 * This symbol, if defined, indicates that the getppid routine is
240 * available to get the parent process ID.
242 #$d_getppid HAS_GETPPID /**/
245 * This symbol, if defined, indicates that the getpriority routine is
246 * available to get a process's priority.
248 #$d_getprior HAS_GETPRIORITY /**/
251 * This symbol, if defined, indicates to the C program that the
252 * inet_aton() function is available to parse IP address "dotted-quad"
255 #$d_inetaton HAS_INET_ATON /**/
258 * This symbol, if defined, indicates that the killpg routine is available
259 * to kill process groups. If unavailable, you probably should use kill
260 * with a negative process number.
262 #$d_killpg HAS_KILLPG /**/
265 * This symbol, if defined, indicates that the link routine is
266 * available to create hard links.
268 #$d_link HAS_LINK /**/
271 * This symbol, if defined, indicates that the localeconv routine is
272 * available for numeric and monetary formatting conventions.
274 #$d_locconv HAS_LOCALECONV /**/
277 * This symbol, if defined, indicates that the lockf routine is
278 * available to do file locking.
280 #$d_lockf HAS_LOCKF /**/
283 * This symbol, if defined, indicates that the lstat routine is
284 * available to do file stats on symbolic links.
286 #$d_lstat HAS_LSTAT /**/
289 * This symbol, if defined, indicates that the mblen routine is available
290 * to find the number of bytes in a multibye character.
292 #$d_mblen HAS_MBLEN /**/
295 * This symbol, if defined, indicates that the mbstowcs routine is
296 * available to convert a multibyte string into a wide character string.
298 #$d_mbstowcs HAS_MBSTOWCS /**/
301 * This symbol, if defined, indicates that the mbtowc routine is available
302 * to convert a multibyte to a wide character.
304 #$d_mbtowc HAS_MBTOWC /**/
307 * This symbol, if defined, indicates that the memcmp routine is available
308 * to compare blocks of memory.
310 #$d_memcmp HAS_MEMCMP /**/
313 * This symbol, if defined, indicates that the memcpy routine is available
314 * to copy blocks of memory.
316 #$d_memcpy HAS_MEMCPY /**/
319 * This symbol, if defined, indicates that the memmove routine is available
320 * to copy potentially overlapping blocks of memory. This should be used
321 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
324 #$d_memmove HAS_MEMMOVE /**/
327 * This symbol, if defined, indicates that the memset routine is available
328 * to set blocks of memory.
330 #$d_memset HAS_MEMSET /**/
333 * This symbol, if defined, indicates that the mkdir routine is available
334 * to create directories. Otherwise you should fork off a new process to
337 #$d_mkdir HAS_MKDIR /**/
340 * This symbol, if defined, indicates that the mkfifo routine is
341 * available to create FIFOs. Otherwise, mknod should be able to
342 * do it for you. However, if mkfifo is there, mknod might require
343 * super-user privileges which mkfifo will not.
345 #$d_mkfifo HAS_MKFIFO /**/
348 * This symbol, if defined, indicates that the mktime routine is
351 #$d_mktime HAS_MKTIME /**/
354 * This symbol, if defined, indicates that the msync system call is
355 * available to synchronize a mapped file.
357 #$d_msync HAS_MSYNC /**/
360 * This symbol, if defined, indicates that the munmap system call is
361 * available to unmap a region, usually mapped by mmap().
363 #$d_munmap HAS_MUNMAP /**/
366 * This symbol, if defined, indicates that the nice routine is
369 #$d_nice HAS_NICE /**/
372 * This symbol, if defined, indicates that pathconf() is available
373 * to determine file-system related limits and options associated
374 * with a given filename.
377 * This symbol, if defined, indicates that pathconf() is available
378 * to determine file-system related limits and options associated
379 * with a given open file descriptor.
381 #$d_pathconf HAS_PATHCONF /**/
382 #$d_fpathconf HAS_FPATHCONF /**/
385 * This symbol, if defined, indicates that the pause routine is
386 * available to suspend a process until a signal is received.
388 #$d_pause HAS_PAUSE /**/
391 * This symbol, if defined, indicates that the pipe routine is
392 * available to create an inter-process channel.
394 #$d_pipe HAS_PIPE /**/
397 * This symbol, if defined, indicates that the poll routine is
398 * available to poll active file descriptors. Please check I_POLL and
399 * I_SYS_POLL to know which header should be included as well.
401 #$d_poll HAS_POLL /**/
404 * This symbol, if defined, indicates that the readdir routine is
405 * available to read directory entries. You may have to include
406 * <dirent.h>. See I_DIRENT.
408 #$d_readdir HAS_READDIR /**/
411 * This symbol, if defined, indicates that the seekdir routine is
412 * available. You may have to include <dirent.h>. See I_DIRENT.
414 #$d_seekdir HAS_SEEKDIR /**/
417 * This symbol, if defined, indicates that the telldir routine is
418 * available. You may have to include <dirent.h>. See I_DIRENT.
420 #$d_telldir HAS_TELLDIR /**/
423 * This symbol, if defined, indicates that the rewinddir routine is
424 * available. You may have to include <dirent.h>. See I_DIRENT.
426 #$d_rewinddir HAS_REWINDDIR /**/
429 * This symbol, if defined, indicates that the readlink routine is
430 * available to read the value of a symbolic link.
432 #$d_readlink HAS_READLINK /**/
435 * This symbol, if defined, indicates that the rename routine is available
436 * to rename files. Otherwise you should do the unlink(), link(), unlink()
439 #$d_rename HAS_RENAME /**/
442 * This symbol, if defined, indicates that the rmdir routine is
443 * available to remove directories. Otherwise you should fork off a
444 * new process to exec /bin/rmdir.
446 #$d_rmdir HAS_RMDIR /**/
449 * This symbol, if defined, indicates that the select routine is
450 * available to select active file descriptors. If the timeout field
451 * is used, <sys/time.h> may need to be included.
453 #$d_select HAS_SELECT /**/
456 * This symbol, if defined, indicates that the setegid routine is available
457 * to change the effective gid of the current program.
459 #$d_setegid HAS_SETEGID /**/
462 * This symbol, if defined, indicates that the seteuid routine is available
463 * to change the effective uid of the current program.
465 #$d_seteuid HAS_SETEUID /**/
468 * This symbol, if defined, indicates that the setgroups() routine is
469 * available to set the list of process groups. If unavailable, multiple
470 * groups are probably not supported.
472 #$d_setgrps HAS_SETGROUPS /**/
475 * This symbol, if defined, indicates that the setlinebuf routine is
476 * available to change stderr or stdout from block-buffered or unbuffered
477 * to a line-buffered mode.
479 #$d_setlinebuf HAS_SETLINEBUF /**/
482 * This symbol, if defined, indicates that the setlocale routine is
483 * available to handle locale-specific ctype implementations.
485 #$d_setlocale HAS_SETLOCALE /**/
488 * This symbol, if defined, indicates that the setpgid(pid, gpid)
489 * routine is available to set process group ID.
491 #$d_setpgid HAS_SETPGID /**/
494 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
495 * routine is available to set the current process group.
497 #$d_setpgrp2 HAS_SETPGRP2 /**/
500 * This symbol, if defined, indicates that the setpriority routine is
501 * available to set a process's priority.
503 #$d_setprior HAS_SETPRIORITY /**/
506 * This symbol, if defined, indicates that the setregid routine is
507 * available to change the real and effective gid of the current
511 * This symbol, if defined, indicates that the setresgid routine is
512 * available to change the real, effective and saved gid of the current
515 #$d_setregid HAS_SETREGID /**/
516 #$d_setresgid HAS_SETRESGID /**/
519 * This symbol, if defined, indicates that the setreuid routine is
520 * available to change the real and effective uid of the current
524 * This symbol, if defined, indicates that the setresuid routine is
525 * available to change the real, effective and saved uid of the current
528 #$d_setreuid HAS_SETREUID /**/
529 #$d_setresuid HAS_SETRESUID /**/
532 * This symbol, if defined, indicates that the setrgid routine is available
533 * to change the real gid of the current program.
535 #$d_setrgid HAS_SETRGID /**/
538 * This symbol, if defined, indicates that the setruid routine is available
539 * to change the real uid of the current program.
541 #$d_setruid HAS_SETRUID /**/
544 * This symbol, if defined, indicates that the setsid routine is
545 * available to set the process group ID.
547 #$d_setsid HAS_SETSID /**/
550 * This symbol is defined to indicate that the strchr()/strrchr()
551 * functions are available for string searching. If not, try the
552 * index()/rindex() pair.
555 * This symbol is defined to indicate that the index()/rindex()
556 * functions are available for string searching.
558 #$d_strchr HAS_STRCHR /**/
559 #$d_index HAS_INDEX /**/
562 * This symbol, if defined, indicates that the strcoll routine is
563 * available to compare strings using collating information.
565 #$d_strcoll HAS_STRCOLL /**/
568 * This symbol, if defined, indicates that the strtod routine is
569 * available to provide better numeric string conversion than atof().
571 #$d_strtod HAS_STRTOD /**/
574 * This symbol, if defined, indicates that the strtol routine is available
575 * to provide better numeric string conversion than atoi() and friends.
577 #$d_strtol HAS_STRTOL /**/
580 * This symbol, if defined, indicates that the strxfrm() routine is
581 * available to transform strings.
583 #$d_strxfrm HAS_STRXFRM /**/
586 * This symbol, if defined, indicates that the symlink routine is available
587 * to create symbolic links.
589 #$d_symlink HAS_SYMLINK /**/
592 * This symbol, if defined, indicates that the syscall routine is
593 * available to call arbitrary system calls. If undefined, that's tough.
595 #$d_syscall HAS_SYSCALL /**/
598 * This symbol, if defined, indicates that sysconf() is available
599 * to determine system related limits and options.
601 #$d_sysconf HAS_SYSCONF /**/
604 * This symbol, if defined, indicates that the system routine is
605 * available to issue a shell command.
607 #$d_system HAS_SYSTEM /**/
610 * This symbol, if defined, indicates that the tcgetpgrp routine is
611 * available to get foreground process group ID.
613 #$d_tcgetpgrp HAS_TCGETPGRP /**/
616 * This symbol, if defined, indicates that the tcsetpgrp routine is
617 * available to set foreground process group ID.
619 #$d_tcsetpgrp HAS_TCSETPGRP /**/
622 * This symbol, if defined, indicates that the truncate routine is
623 * available to truncate files.
625 #$d_truncate HAS_TRUNCATE /**/
628 * This symbol, if defined, indicates that the tzname[] array is
629 * available to access timezone names.
631 #$d_tzname HAS_TZNAME /**/
634 * This symbol, if defined, indicates that the umask routine is
635 * available to set and get the value of the file creation mask.
637 #$d_umask HAS_UMASK /**/
640 * This symbol, if defined, indicates that the usleep routine is
641 * available to let the process sleep on a sub-second accuracy.
643 #$d_usleep HAS_USLEEP /**/
646 * This symbol, if defined, indicates that wait4() exists.
648 #$d_wait4 HAS_WAIT4 /**/
651 * This symbol, if defined, indicates that the waitpid routine is
652 * available to wait for child process.
654 #$d_waitpid HAS_WAITPID /**/
657 * This symbol, if defined, indicates that the wcstombs routine is
658 * available to convert wide character strings to multibyte strings.
660 #$d_wcstombs HAS_WCSTOMBS /**/
663 * This symbol, if defined, indicates that the wctomb routine is available
664 * to convert a wide character to a multibyte.
666 #$d_wctomb HAS_WCTOMB /**/
669 * This symbol holds the type used for the second argument to
670 * getgroups() and setgroups(). Usually, this is the same as
671 * gidtype (gid_t) , but sometimes it isn't.
672 * It can be int, ushort, gid_t, etc...
673 * It may be necessary to include <sys/types.h> to get any
674 * typedef'ed information. This is only required if you have
675 * getgroups() or setgroups()..
677 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
678 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
682 * This symbol, if defined, indicates to the C program that it should
683 * include <arpa/inet.h> to get inet_addr and friends declarations.
685 #$i_arpainet I_ARPA_INET /**/
688 * This symbol, if defined, indicates that <dbm.h> exists and should
692 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
693 * should be included.
696 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
699 * This symbol, if defined, indicates that <dlfcn.h> exists and should
702 #$i_dlfcn I_DLFCN /**/
705 * This symbol, if defined, indicates that <execinfo.h> exists and should
708 #$i_execinfo I_EXECINFO /**/
711 * This manifest constant tells the C program to include <fcntl.h>.
713 #$i_fcntl I_FCNTL /**/
716 * This symbol, if defined, indicates to the C program that it should
717 * include <float.h> to get definition of symbols like DBL_MAX or
718 * DBL_MIN, i.e. machine dependent floating point values.
720 #$i_float I_FLOAT /**/
723 * This symbol, if defined, indicates that <gdbm.h> exists and should
729 * This symbol, if defined, indicates to the C program that it should
730 * include <limits.h> to get definition of symbols like WORD_BIT or
731 * LONG_MAX, i.e. machine dependant limitations.
733 #$i_limits I_LIMITS /**/
736 * This symbol, if defined, indicates to the C program that it should
737 * include <locale.h>.
739 #$i_locale I_LOCALE /**/
742 * This symbol, if defined, indicates to the C program that it should
748 * This symbol, if defined, indicates to the C program that it should
749 * include <memory.h>.
751 #$i_memory I_MEMORY /**/
754 * This symbol, if defined, indicates to the C program that it should
755 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
757 #$i_niin I_NETINET_IN /**/
760 * This symbol, if defined, indicates that <stddef.h> exists and should
763 #$i_stddef I_STDDEF /**/
766 * This symbol, if defined, indicates that <stdlib.h> exists and should
769 #$i_stdlib I_STDLIB /**/
772 * This symbol, if defined, indicates to the C program that it should
773 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
775 #$i_string I_STRING /**/
778 * This symbol, if defined, indicates to the C program that it should
779 * include <sys/dir.h>.
781 #$i_sysdir I_SYS_DIR /**/
784 * This symbol, if defined, indicates to the C program that it should
785 * include <sys/file.h> to get definition of R_OK and friends.
787 #$i_sysfile I_SYS_FILE /**/
790 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
791 * be included. Otherwise, include <sgtty.h> or <termio.h>.
794 * This symbol, if defined, indicates the <sys/sockio.h> should be included
795 * to get socket ioctl options, like SIOCATMARK.
797 #$i_sysioctl I_SYS_IOCTL /**/
798 #$i_syssockio I_SYS_SOCKIO /**/
801 * This symbol, if defined, indicates to the C program that it should
802 * include <sys/ndir.h>.
804 #$i_sysndir I_SYS_NDIR /**/
807 * This symbol, if defined, indicates to the C program that it should
808 * include <sys/param.h>.
810 #$i_sysparam I_SYS_PARAM /**/
813 * This symbol, if defined, indicates that the program may include
814 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
815 * to only include <poll.h>.
817 #$i_syspoll I_SYS_POLL /**/
820 * This symbol, if defined, indicates to the C program that it should
821 * include <sys/resource.h>.
823 #$i_sysresrc I_SYS_RESOURCE /**/
826 * This symbol, if defined, indicates to the C program that it should
827 * include <sys/select.h> in order to get definition of struct timeval.
829 #$i_sysselct I_SYS_SELECT /**/
832 * This symbol, if defined, indicates to the C program that it should
833 * include <sys/stat.h>.
835 #$i_sysstat I_SYS_STAT /**/
838 * This symbol, if defined, indicates to the C program that it should
839 * include <sys/times.h>.
841 #$i_systimes I_SYS_TIMES /**/
844 * This symbol, if defined, indicates to the C program that it should
845 * include <sys/types.h>.
847 #$i_systypes I_SYS_TYPES /**/
850 * This symbol, if defined, indicates to the C program that it should
851 * include <sys/un.h> to get UNIX domain socket definitions.
853 #$i_sysun I_SYS_UN /**/
856 * This symbol, if defined, indicates to the C program that it should
857 * include <sys/wait.h>.
859 #$i_syswait I_SYS_WAIT /**/
862 * This symbol, if defined, indicates to the C program that it should
863 * include <unistd.h>.
865 #$i_unistd I_UNISTD /**/
868 * This symbol, if defined, indicates to the C program that it should
871 #$i_utime I_UTIME /**/
874 * This symbol, if defined, indicates to the C program that it should
875 * include <values.h> to get definition of symbols like MINFLOAT or
876 * MAXLONG, i.e. machine dependant limitations. Probably, you
877 * should use <limits.h> instead, if it is available.
879 #$i_values I_VALUES /**/
882 * This symbol, if defined, indicates to the C program that it should
885 #$i_vfork I_VFORK /**/
888 * This variable is defined on systems supporting prototype declaration
889 * of functions with a variable number of arguments.
892 * This macro is used to declare function parameters in prototypes for
893 * functions with a variable number of parameters. Use double parentheses.
896 * int printf _V((char *fmt, ...));
898 * Remember to use the plain simple _() macro when declaring a function
899 * with no variable number of arguments, since it might be possible to
900 * have a non-effect _V() macro and still get prototypes via _().
902 #$vaproto CAN_VAPROTO /**/
904 #define _V(args) args
910 * This symbol contains the name of the operating system, as determined
911 * by Configure. You shouldn't rely on it too much; the specific
912 * feature tests from Configure are generally more reliable.
915 * This symbol contains the version of the operating system, as determined
916 * by Configure. You shouldn't rely on it too much; the specific
917 * feature tests from Configure are generally more reliable.
919 #define OSNAME "$osname" /**/
920 #define OSVERS "$osvers" /**/
923 * This symbol, if defined, signifies that the build
924 * process will produce some binary files that are going to be
925 * used in a cross-platform environment. This is the case for
926 * example with the NeXT "fat" binaries that contain executables
929 #$multiarch MULTIARCH /**/
932 * This symbol contains the number of bytes required to align a
933 * double, or a long double when applicable. Usual values are 2,
934 * 4 and 8. The default is eight, for safety. For cross-compiling
935 * or multiarch support, Configure will set a minimum of 8.
937 #define MEM_ALIGNBYTES $alignbytes
940 * This variable, if defined, holds the name of the directory in
941 * which the user wants to put architecture-dependent public
942 * library files for $package. It is most often a local directory
943 * such as /usr/local/lib. Programs using this variable must be
944 * prepared to deal with filename expansion. If ARCHLIB is the
945 * same as PRIVLIB, it is not defined, since presumably the
946 * program already searches PRIVLIB.
949 * This symbol contains the ~name expanded version of ARCHLIB, to be used
950 * in programs that are not prepared to deal with ~ expansion at run-time.
952 #$d_archlib ARCHLIB "$archlib" /**/
953 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
956 * This symbol holds a string representing the architecture name.
957 * It may be used to construct an architecture-dependant pathname
958 * where library files may be held under a private library, for
961 #define ARCHNAME "$archname" /**/
964 * This symbol holds the path of the bin directory where the package will
965 * be installed. Program must be prepared to deal with ~name substitution.
968 * This symbol is the filename expanded version of the BIN symbol, for
969 * programs that do not want to deal with that at run-time.
971 /* PERL_RELOCATABLE_INC:
972 * This symbol, if defined, indicates that we'd like to relocate entries
973 * in @INC at run time based on the location of the perl binary.
975 #define BIN "$bin" /**/
976 #define BIN_EXP "$binexp" /**/
977 #define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
980 * This symbol contains the value of sizeof(int) so that the C
981 * preprocessor can make decisions based on it.
984 * This symbol contains the value of sizeof(long) so that the C
985 * preprocessor can make decisions based on it.
988 * This symbol contains the value of sizeof(short) so that the C
989 * preprocessor can make decisions based on it.
991 #define INTSIZE $intsize /**/
992 #define LONGSIZE $longsize /**/
993 #define SHORTSIZE $shortsize /**/
996 * This symbol holds the hexadecimal constant defined in byteorder,
997 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
998 * If the compiler supports cross-compiling or multiple-architecture
999 * binaries (e.g. on NeXT systems), use compiler-defined macros to
1000 * determine the byte order.
1001 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1002 * Binaries (MAB) on either big endian or little endian machines.
1003 * The endian-ness is available at compile-time. This only matters
1004 * for perl, where the config.h can be generated and installed on
1005 * one system, and used by a different architecture to build an
1006 * extension. Older versions of NeXT that might not have
1007 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1008 * so the default case (for NeXT) is big endian to catch them.
1009 * This might matter for NeXT 3.0.
1011 #if defined(MULTIARCH)
1012 # ifdef __LITTLE_ENDIAN__
1014 # define BYTEORDER 0x1234
1017 # define BYTEORDER 0x12345678
1021 # ifdef __BIG_ENDIAN__
1023 # define BYTEORDER 0x4321
1026 # define BYTEORDER 0x87654321
1031 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1032 # define BYTEORDER 0x4321
1035 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1039 * This symbol contains the size of a char, so that the C preprocessor
1040 * can make decisions based on it.
1042 #define CHARBITS $charbits /**/
1045 * This macro concatenates 2 tokens together.
1048 * This macro surrounds its token with double quotes.
1051 #define CAT2(a,b) a/**/b
1052 #define STRINGIFY(a) "a"
1054 #if $cpp_stuff == 42
1055 #define PeRl_CaTiFy(a, b) a ## b
1056 #define PeRl_StGiFy(a) #a
1057 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1058 #define StGiFy(a) PeRl_StGiFy(a)
1059 #define STRINGIFY(a) PeRl_StGiFy(a)
1061 #if $cpp_stuff != 1 && $cpp_stuff != 42
1062 #include "Bletch: How does this C preprocessor concatenate tokens?"
1066 * This symbol contains the first part of the string which will invoke
1067 * the C preprocessor on the standard input and produce to standard
1068 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1069 * call a wrapper. See CPPRUN.
1072 * This symbol contains the second part of the string which will invoke
1073 * the C preprocessor on the standard input and produce to standard
1074 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1075 * to specify standard input, otherwise the value is "".
1078 * This symbol contains the string which will invoke a C preprocessor on
1079 * the standard input and produce to standard output. It needs to end
1080 * with CPPLAST, after all other preprocessor flags have been specified.
1081 * The main difference with CPPSTDIN is that this program will never be a
1082 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1083 * available directly to the user. Note that it may well be different from
1084 * the preprocessor used to compile the C program.
1087 * This symbol is intended to be used along with CPPRUN in the same manner
1088 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1090 #define CPPSTDIN "$cppstdin"
1091 #define CPPMINUS "$cppminus"
1092 #define CPPRUN "$cpprun"
1093 #define CPPLAST "$cpplast"
1096 * This manifest constant lets the C program know that the access()
1097 * system call is available to check for accessibility using real UID/GID.
1098 * (always present on UNIX.)
1100 #$d_access HAS_ACCESS /**/
1103 * This symbol, if defined, indicates that the accessx routine is
1104 * available to do extended access checks.
1106 #$d_accessx HAS_ACCESSX /**/
1109 * This symbol, if defined, indicates that the asctime_r routine
1110 * is available to asctime re-entrantly.
1113 * This symbol encodes the prototype of asctime_r.
1114 * It is zero if d_asctime_r is undef, and one of the
1115 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1118 #$d_asctime_r HAS_ASCTIME_R /**/
1119 #define ASCTIME_R_PROTO $asctime_r_proto /**/
1121 /* HASATTRIBUTE_FORMAT:
1122 * Can we handle GCC attribute for checking printf-style formats
1124 /* PRINTF_FORMAT_NULL_OK:
1125 * Allows __printf__ format to be null when checking printf-style
1127 /* HASATTRIBUTE_MALLOC:
1128 * Can we handle GCC attribute for malloc-style functions.
1130 /* HASATTRIBUTE_NONNULL:
1131 * Can we handle GCC attribute for nonnull function parms.
1133 /* HASATTRIBUTE_NORETURN:
1134 * Can we handle GCC attribute for functions that do not return
1136 /* HASATTRIBUTE_PURE:
1137 * Can we handle GCC attribute for pure functions
1139 /* HASATTRIBUTE_UNUSED:
1140 * Can we handle GCC attribute for unused variables and arguments
1142 /* HASATTRIBUTE_DEPRECATED:
1143 * Can we handle GCC attribute for marking deprecated APIs
1145 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1146 * Can we handle GCC attribute for warning on unused results
1148 #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/
1149 #$d_attribute_format HASATTRIBUTE_FORMAT /**/
1150 #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
1151 #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1152 #$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1153 #$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1154 #$d_attribute_pure HASATTRIBUTE_PURE /**/
1155 #$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1156 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1159 * This symbol is defined if the C compiler can cast negative
1160 * or large floating point numbers to 32-bit ints.
1162 #$d_casti32 CASTI32 /**/
1165 * This symbol is defined if the C compiler can cast negative
1166 * numbers to unsigned longs, ints and shorts.
1169 * This symbol contains flags that say what difficulties the compiler
1170 * has casting odd floating values to unsigned long:
1172 * 1 = couldn't cast < 0
1173 * 2 = couldn't cast >= 0x80000000
1174 * 4 = couldn't cast in argument expression list
1176 #$d_castneg CASTNEGFLOAT /**/
1177 #define CASTFLAGS $castflags /**/
1180 * This symbol, if defined, indicates that the closedir() routine
1181 * does not return a value.
1183 #$d_void_closedir VOID_CLOSEDIR /**/
1186 * This symbol, if defined, indicates that this C compiler knows about
1187 * the const type. There is no need to actually test for that symbol
1188 * within your programs. The mere use of the "const" keyword will
1189 * trigger the necessary tests.
1191 #$d_const HASCONST /**/
1197 * This symbol, if defined, indicates that the crypt_r routine
1198 * is available to crypt re-entrantly.
1201 * This symbol encodes the prototype of crypt_r.
1202 * It is zero if d_crypt_r is undef, and one of the
1203 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1206 #$d_crypt_r HAS_CRYPT_R /**/
1207 #define CRYPT_R_PROTO $crypt_r_proto /**/
1210 * This symbol, if defined, indicates that the C-shell exists.
1213 * This symbol, if defined, contains the full pathname of csh.
1215 #$d_csh HAS_CSH /**/
1217 #define CSH "$full_csh" /**/
1221 * This symbol, if defined, indicates that the ctermid_r routine
1222 * is available to ctermid re-entrantly.
1225 * This symbol encodes the prototype of ctermid_r.
1226 * It is zero if d_ctermid_r is undef, and one of the
1227 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1230 #$d_ctermid_r HAS_CTERMID_R /**/
1231 #define CTERMID_R_PROTO $ctermid_r_proto /**/
1234 * This symbol, if defined, indicates that the ctime_r routine
1235 * is available to ctime re-entrantly.
1238 * This symbol encodes the prototype of ctime_r.
1239 * It is zero if d_ctime_r is undef, and one of the
1240 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1243 #$d_ctime_r HAS_CTIME_R /**/
1244 #define CTIME_R_PROTO $ctime_r_proto /**/
1246 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1247 * This symbol, if defined, indicates that the bug that prevents
1248 * setuid scripts from being secure is not present in this kernel.
1251 * This symbol, if defined, indicates that the C program should
1252 * check the script that it is executing for setuid/setgid bits, and
1253 * attempt to emulate setuid/setgid on systems that have disabled
1254 * setuid #! scripts because the kernel can't do it securely.
1255 * It is up to the package designer to make sure that this emulation
1256 * is done securely. Among other things, it should do an fstat on
1257 * the script it just opened to make sure it really is a setuid/setgid
1258 * script, it should make sure the arguments passed correspond exactly
1259 * to the argument on the #! line, and it should not trust any
1260 * subprocesses to which it must pass the filename rather than the
1261 * file descriptor of the script to be executed.
1263 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1264 #$d_dosuid DOSUID /**/
1267 * This symbol, if defined, indicates that the drand48_r routine
1268 * is available to drand48 re-entrantly.
1271 * This symbol encodes the prototype of drand48_r.
1272 * It is zero if d_drand48_r is undef, and one of the
1273 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1276 #$d_drand48_r HAS_DRAND48_R /**/
1277 #define DRAND48_R_PROTO $drand48_r_proto /**/
1279 /* HAS_DRAND48_PROTO:
1280 * This symbol, if defined, indicates that the system provides
1281 * a prototype for the drand48() function. Otherwise, it is up
1282 * to the program to supply one. A good guess is
1283 * extern double drand48(void);
1285 #$d_drand48proto HAS_DRAND48_PROTO /**/
1288 * This symbol, if defined, indicates that the eaccess routine is
1289 * available to do extended access checks.
1291 #$d_eaccess HAS_EACCESS /**/
1294 * This symbol, if defined, indicates that the getgrent routine is
1295 * available for finalizing sequential access of the group database.
1297 #$d_endgrent HAS_ENDGRENT /**/
1300 * This symbol, if defined, indicates that the endgrent_r routine
1301 * is available to endgrent re-entrantly.
1303 /* ENDGRENT_R_PROTO:
1304 * This symbol encodes the prototype of endgrent_r.
1305 * It is zero if d_endgrent_r is undef, and one of the
1306 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1309 #$d_endgrent_r HAS_ENDGRENT_R /**/
1310 #define ENDGRENT_R_PROTO $endgrent_r_proto /**/
1313 * This symbol, if defined, indicates that the endhostent() routine is
1314 * available to close whatever was being used for host queries.
1316 #$d_endhent HAS_ENDHOSTENT /**/
1318 /* HAS_ENDHOSTENT_R:
1319 * This symbol, if defined, indicates that the endhostent_r routine
1320 * is available to endhostent re-entrantly.
1322 /* ENDHOSTENT_R_PROTO:
1323 * This symbol encodes the prototype of endhostent_r.
1324 * It is zero if d_endhostent_r is undef, and one of the
1325 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1328 #$d_endhostent_r HAS_ENDHOSTENT_R /**/
1329 #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
1332 * This symbol, if defined, indicates that the endnetent() routine is
1333 * available to close whatever was being used for network queries.
1335 #$d_endnent HAS_ENDNETENT /**/
1338 * This symbol, if defined, indicates that the endnetent_r routine
1339 * is available to endnetent re-entrantly.
1341 /* ENDNETENT_R_PROTO:
1342 * This symbol encodes the prototype of endnetent_r.
1343 * It is zero if d_endnetent_r is undef, and one of the
1344 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1347 #$d_endnetent_r HAS_ENDNETENT_R /**/
1348 #define ENDNETENT_R_PROTO $endnetent_r_proto /**/
1351 * This symbol, if defined, indicates that the endprotoent() routine is
1352 * available to close whatever was being used for protocol queries.
1354 #$d_endpent HAS_ENDPROTOENT /**/
1356 /* HAS_ENDPROTOENT_R:
1357 * This symbol, if defined, indicates that the endprotoent_r routine
1358 * is available to endprotoent re-entrantly.
1360 /* ENDPROTOENT_R_PROTO:
1361 * This symbol encodes the prototype of endprotoent_r.
1362 * It is zero if d_endprotoent_r is undef, and one of the
1363 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1366 #$d_endprotoent_r HAS_ENDPROTOENT_R /**/
1367 #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
1370 * This symbol, if defined, indicates that the getgrent routine is
1371 * available for finalizing sequential access of the passwd database.
1373 #$d_endpwent HAS_ENDPWENT /**/
1376 * This symbol, if defined, indicates that the endpwent_r routine
1377 * is available to endpwent re-entrantly.
1379 /* ENDPWENT_R_PROTO:
1380 * This symbol encodes the prototype of endpwent_r.
1381 * It is zero if d_endpwent_r is undef, and one of the
1382 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1385 #$d_endpwent_r HAS_ENDPWENT_R /**/
1386 #define ENDPWENT_R_PROTO $endpwent_r_proto /**/
1389 * This symbol, if defined, indicates that the endservent() routine is
1390 * available to close whatever was being used for service queries.
1392 #$d_endsent HAS_ENDSERVENT /**/
1394 /* HAS_ENDSERVENT_R:
1395 * This symbol, if defined, indicates that the endservent_r routine
1396 * is available to endservent re-entrantly.
1398 /* ENDSERVENT_R_PROTO:
1399 * This symbol encodes the prototype of endservent_r.
1400 * It is zero if d_endservent_r is undef, and one of the
1401 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1404 #$d_endservent_r HAS_ENDSERVENT_R /**/
1405 #define ENDSERVENT_R_PROTO $endservent_r_proto /**/
1408 * This symbol, when defined, indicates presence of the fd_set typedef
1411 #$d_fd_set HAS_FD_SET /**/
1414 * This symbol, if defined, indicates that the system supports filenames
1415 * longer than 14 characters.
1417 #$d_flexfnam FLEXFILENAMES /**/
1420 * This preprocessor macro is defined to convert a floating point
1421 * number to a string without a trailing decimal point. This
1422 * emulates the behavior of sprintf("%g"), but is sometimes much more
1423 * efficient. If gconvert() is not available, but gcvt() drops the
1424 * trailing decimal point, then gcvt() is used. If all else fails,
1425 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1426 * macro are: value, number of digits, whether trailing zeros should
1427 * be retained, and the output buffer.
1428 * The usual values are:
1429 * d_Gconvert='gconvert((x),(n),(t),(b))'
1430 * d_Gconvert='gcvt((x),(n),(b))'
1431 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1432 * The last two assume trailing zeros should not be kept.
1434 #define Gconvert(x,n,t,b) $d_Gconvert
1437 * This symbol, if defined, indicates that the getgrent routine is
1438 * available for sequential access of the group database.
1440 #$d_getgrent HAS_GETGRENT /**/
1443 * This symbol, if defined, indicates that the getgrent_r routine
1444 * is available to getgrent re-entrantly.
1446 /* GETGRENT_R_PROTO:
1447 * This symbol encodes the prototype of getgrent_r.
1448 * It is zero if d_getgrent_r is undef, and one of the
1449 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1452 #$d_getgrent_r HAS_GETGRENT_R /**/
1453 #define GETGRENT_R_PROTO $getgrent_r_proto /**/
1456 * This symbol, if defined, indicates that the getgrgid_r routine
1457 * is available to getgrgid re-entrantly.
1459 /* GETGRGID_R_PROTO:
1460 * This symbol encodes the prototype of getgrgid_r.
1461 * It is zero if d_getgrgid_r is undef, and one of the
1462 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1465 #$d_getgrgid_r HAS_GETGRGID_R /**/
1466 #define GETGRGID_R_PROTO $getgrgid_r_proto /**/
1469 * This symbol, if defined, indicates that the getgrnam_r routine
1470 * is available to getgrnam re-entrantly.
1472 /* GETGRNAM_R_PROTO:
1473 * This symbol encodes the prototype of getgrnam_r.
1474 * It is zero if d_getgrnam_r is undef, and one of the
1475 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1478 #$d_getgrnam_r HAS_GETGRNAM_R /**/
1479 #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
1481 /* HAS_GETHOSTBYADDR:
1482 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1483 * available to look up hosts by their IP addresses.
1485 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1487 /* HAS_GETHOSTBYNAME:
1488 * This symbol, if defined, indicates that the gethostbyname() routine is
1489 * available to look up host names in some data base or other.
1491 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1494 * This symbol, if defined, indicates that the gethostent() routine is
1495 * available to look up host names in some data base or another.
1497 #$d_gethent HAS_GETHOSTENT /**/
1500 * This symbol, if defined, indicates that the C program may use the
1501 * gethostname() routine to derive the host name. See also HAS_UNAME
1505 * This symbol, if defined, indicates that the C program may use the
1506 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1510 * This symbol, if defined, indicates the command to feed to the
1511 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1512 * and HAS_UNAME. Note that the command uses a fully qualified path,
1513 * so that it is safe even if used by a process with super-user
1517 * This symbol, if defined, indicates that the C program may use the
1518 * contents of PHOSTNAME as a command to feed to the popen() routine
1519 * to derive the host name.
1521 #$d_gethname HAS_GETHOSTNAME /**/
1522 #$d_uname HAS_UNAME /**/
1523 #$d_phostname HAS_PHOSTNAME /**/
1524 #ifdef HAS_PHOSTNAME
1525 #define PHOSTNAME "$aphostname" /* How to get the host name */
1528 /* HAS_GETHOSTBYADDR_R:
1529 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1530 * is available to gethostbyaddr re-entrantly.
1532 /* GETHOSTBYADDR_R_PROTO:
1533 * This symbol encodes the prototype of gethostbyaddr_r.
1534 * It is zero if d_gethostbyaddr_r is undef, and one of the
1535 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1538 #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
1539 #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
1541 /* HAS_GETHOSTBYNAME_R:
1542 * This symbol, if defined, indicates that the gethostbyname_r routine
1543 * is available to gethostbyname re-entrantly.
1545 /* GETHOSTBYNAME_R_PROTO:
1546 * This symbol encodes the prototype of gethostbyname_r.
1547 * It is zero if d_gethostbyname_r is undef, and one of the
1548 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1551 #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
1552 #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
1554 /* HAS_GETHOSTENT_R:
1555 * This symbol, if defined, indicates that the gethostent_r routine
1556 * is available to gethostent re-entrantly.
1558 /* GETHOSTENT_R_PROTO:
1559 * This symbol encodes the prototype of gethostent_r.
1560 * It is zero if d_gethostent_r is undef, and one of the
1561 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1564 #$d_gethostent_r HAS_GETHOSTENT_R /**/
1565 #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
1567 /* HAS_GETHOST_PROTOS:
1568 * This symbol, if defined, indicates that <netdb.h> includes
1569 * prototypes for gethostent(), gethostbyname(), and
1570 * gethostbyaddr(). Otherwise, it is up to the program to guess
1571 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1573 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
1576 * This symbol, if defined, indicates that the getlogin_r routine
1577 * is available to getlogin re-entrantly.
1579 /* GETLOGIN_R_PROTO:
1580 * This symbol encodes the prototype of getlogin_r.
1581 * It is zero if d_getlogin_r is undef, and one of the
1582 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1585 #$d_getlogin_r HAS_GETLOGIN_R /**/
1586 #define GETLOGIN_R_PROTO $getlogin_r_proto /**/
1588 /* HAS_GETNETBYADDR:
1589 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1590 * available to look up networks by their IP addresses.
1592 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1594 /* HAS_GETNETBYNAME:
1595 * This symbol, if defined, indicates that the getnetbyname() routine is
1596 * available to look up networks by their names.
1598 #$d_getnbyname HAS_GETNETBYNAME /**/
1601 * This symbol, if defined, indicates that the getnetent() routine is
1602 * available to look up network names in some data base or another.
1604 #$d_getnent HAS_GETNETENT /**/
1606 /* HAS_GETNETBYADDR_R:
1607 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1608 * is available to getnetbyaddr re-entrantly.
1610 /* GETNETBYADDR_R_PROTO:
1611 * This symbol encodes the prototype of getnetbyaddr_r.
1612 * It is zero if d_getnetbyaddr_r is undef, and one of the
1613 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1616 #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
1617 #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
1619 /* HAS_GETNETBYNAME_R:
1620 * This symbol, if defined, indicates that the getnetbyname_r routine
1621 * is available to getnetbyname re-entrantly.
1623 /* GETNETBYNAME_R_PROTO:
1624 * This symbol encodes the prototype of getnetbyname_r.
1625 * It is zero if d_getnetbyname_r is undef, and one of the
1626 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1629 #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
1630 #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
1633 * This symbol, if defined, indicates that the getnetent_r routine
1634 * is available to getnetent re-entrantly.
1636 /* GETNETENT_R_PROTO:
1637 * This symbol encodes the prototype of getnetent_r.
1638 * It is zero if d_getnetent_r is undef, and one of the
1639 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1642 #$d_getnetent_r HAS_GETNETENT_R /**/
1643 #define GETNETENT_R_PROTO $getnetent_r_proto /**/
1645 /* HAS_GETNET_PROTOS:
1646 * This symbol, if defined, indicates that <netdb.h> includes
1647 * prototypes for getnetent(), getnetbyname(), and
1648 * getnetbyaddr(). Otherwise, it is up to the program to guess
1649 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1651 #$d_getnetprotos HAS_GETNET_PROTOS /**/
1654 * This symbol, if defined, indicates that the getpagesize system call
1655 * is available to get system page size, which is the granularity of
1656 * many memory management calls.
1658 #$d_getpagsz HAS_GETPAGESIZE /**/
1661 * This symbol, if defined, indicates that the getprotoent() routine is
1662 * available to look up protocols in some data base or another.
1664 #$d_getpent HAS_GETPROTOENT /**/
1667 * This symbol, if defined, indicates that the getpgrp routine is
1668 * available to get the current process group.
1671 * This symbol, if defined, indicates that getpgrp needs one
1672 * arguments whereas USG one needs none.
1674 #$d_getpgrp HAS_GETPGRP /**/
1675 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1677 /* HAS_GETPROTOBYNAME:
1678 * This symbol, if defined, indicates that the getprotobyname()
1679 * routine is available to look up protocols by their name.
1681 /* HAS_GETPROTOBYNUMBER:
1682 * This symbol, if defined, indicates that the getprotobynumber()
1683 * routine is available to look up protocols by their number.
1685 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1686 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1688 /* HAS_GETPROTOBYNAME_R:
1689 * This symbol, if defined, indicates that the getprotobyname_r routine
1690 * is available to getprotobyname re-entrantly.
1692 /* GETPROTOBYNAME_R_PROTO:
1693 * This symbol encodes the prototype of getprotobyname_r.
1694 * It is zero if d_getprotobyname_r is undef, and one of the
1695 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1698 #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
1699 #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
1701 /* HAS_GETPROTOBYNUMBER_R:
1702 * This symbol, if defined, indicates that the getprotobynumber_r routine
1703 * is available to getprotobynumber re-entrantly.
1705 /* GETPROTOBYNUMBER_R_PROTO:
1706 * This symbol encodes the prototype of getprotobynumber_r.
1707 * It is zero if d_getprotobynumber_r is undef, and one of the
1708 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1711 #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
1712 #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
1714 /* HAS_GETPROTOENT_R:
1715 * This symbol, if defined, indicates that the getprotoent_r routine
1716 * is available to getprotoent re-entrantly.
1718 /* GETPROTOENT_R_PROTO:
1719 * This symbol encodes the prototype of getprotoent_r.
1720 * It is zero if d_getprotoent_r is undef, and one of the
1721 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1724 #$d_getprotoent_r HAS_GETPROTOENT_R /**/
1725 #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
1727 /* HAS_GETPROTO_PROTOS:
1728 * This symbol, if defined, indicates that <netdb.h> includes
1729 * prototypes for getprotoent(), getprotobyname(), and
1730 * getprotobyaddr(). Otherwise, it is up to the program to guess
1731 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1733 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1736 * This symbol, if defined, indicates that the getpwent routine is
1737 * available for sequential access of the passwd database.
1738 * If this is not available, the older getpw() function may be available.
1740 #$d_getpwent HAS_GETPWENT /**/
1743 * This symbol, if defined, indicates that the getpwent_r routine
1744 * is available to getpwent re-entrantly.
1746 /* GETPWENT_R_PROTO:
1747 * This symbol encodes the prototype of getpwent_r.
1748 * It is zero if d_getpwent_r is undef, and one of the
1749 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1752 #$d_getpwent_r HAS_GETPWENT_R /**/
1753 #define GETPWENT_R_PROTO $getpwent_r_proto /**/
1756 * This symbol, if defined, indicates that the getpwnam_r routine
1757 * is available to getpwnam re-entrantly.
1759 /* GETPWNAM_R_PROTO:
1760 * This symbol encodes the prototype of getpwnam_r.
1761 * It is zero if d_getpwnam_r is undef, and one of the
1762 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1765 #$d_getpwnam_r HAS_GETPWNAM_R /**/
1766 #define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
1769 * This symbol, if defined, indicates that the getpwuid_r routine
1770 * is available to getpwuid re-entrantly.
1772 /* GETPWUID_R_PROTO:
1773 * This symbol encodes the prototype of getpwuid_r.
1774 * It is zero if d_getpwuid_r is undef, and one of the
1775 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1778 #$d_getpwuid_r HAS_GETPWUID_R /**/
1779 #define GETPWUID_R_PROTO $getpwuid_r_proto /**/
1782 * This symbol, if defined, indicates that the getservent() routine is
1783 * available to look up network services in some data base or another.
1785 #$d_getsent HAS_GETSERVENT /**/
1787 /* HAS_GETSERVBYNAME_R:
1788 * This symbol, if defined, indicates that the getservbyname_r routine
1789 * is available to getservbyname re-entrantly.
1791 /* GETSERVBYNAME_R_PROTO:
1792 * This symbol encodes the prototype of getservbyname_r.
1793 * It is zero if d_getservbyname_r is undef, and one of the
1794 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1797 #$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
1798 #define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
1800 /* HAS_GETSERVBYPORT_R:
1801 * This symbol, if defined, indicates that the getservbyport_r routine
1802 * is available to getservbyport re-entrantly.
1804 /* GETSERVBYPORT_R_PROTO:
1805 * This symbol encodes the prototype of getservbyport_r.
1806 * It is zero if d_getservbyport_r is undef, and one of the
1807 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1810 #$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
1811 #define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
1813 /* HAS_GETSERVENT_R:
1814 * This symbol, if defined, indicates that the getservent_r routine
1815 * is available to getservent re-entrantly.
1817 /* GETSERVENT_R_PROTO:
1818 * This symbol encodes the prototype of getservent_r.
1819 * It is zero if d_getservent_r is undef, and one of the
1820 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1823 #$d_getservent_r HAS_GETSERVENT_R /**/
1824 #define GETSERVENT_R_PROTO $getservent_r_proto /**/
1826 /* HAS_GETSERV_PROTOS:
1827 * This symbol, if defined, indicates that <netdb.h> includes
1828 * prototypes for getservent(), getservbyname(), and
1829 * getservbyaddr(). Otherwise, it is up to the program to guess
1830 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1832 #$d_getservprotos HAS_GETSERV_PROTOS /**/
1835 * This symbol, if defined, indicates that the getspnam_r routine
1836 * is available to getspnam re-entrantly.
1838 /* GETSPNAM_R_PROTO:
1839 * This symbol encodes the prototype of getspnam_r.
1840 * It is zero if d_getspnam_r is undef, and one of the
1841 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1844 #$d_getspnam_r HAS_GETSPNAM_R /**/
1845 #define GETSPNAM_R_PROTO $getspnam_r_proto /**/
1847 /* HAS_GETSERVBYNAME:
1848 * This symbol, if defined, indicates that the getservbyname()
1849 * routine is available to look up services by their name.
1851 /* HAS_GETSERVBYPORT:
1852 * This symbol, if defined, indicates that the getservbyport()
1853 * routine is available to look up services by their port.
1855 #$d_getsbyname HAS_GETSERVBYNAME /**/
1856 #$d_getsbyport HAS_GETSERVBYPORT /**/
1859 * This symbol, if defined, indicates that the gmtime_r routine
1860 * is available to gmtime re-entrantly.
1863 * This symbol encodes the prototype of gmtime_r.
1864 * It is zero if d_gmtime_r is undef, and one of the
1865 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1868 #$d_gmtime_r HAS_GMTIME_R /**/
1869 #define GMTIME_R_PROTO $gmtime_r_proto /**/
1872 * This symbol, if defined, indicates to the C program that
1873 * the GNU C library is being used. A better check is to use
1874 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1876 #$d_gnulibc HAS_GNULIBC /**/
1877 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1878 # define _GNU_SOURCE
1882 * This symbol, if defined, indicates that the htonl() routine (and
1883 * friends htons() ntohl() ntohs()) are available to do network
1884 * order byte swapping.
1887 * This symbol, if defined, indicates that the htons() routine (and
1888 * friends htonl() ntohl() ntohs()) are available to do network
1889 * order byte swapping.
1892 * This symbol, if defined, indicates that the ntohl() routine (and
1893 * friends htonl() htons() ntohs()) are available to do network
1894 * order byte swapping.
1897 * This symbol, if defined, indicates that the ntohs() routine (and
1898 * friends htonl() htons() ntohl()) are available to do network
1899 * order byte swapping.
1901 #$d_htonl HAS_HTONL /**/
1902 #$d_htonl HAS_HTONS /**/
1903 #$d_htonl HAS_NTOHL /**/
1904 #$d_htonl HAS_NTOHS /**/
1907 * This manifest constant lets the C program know that isascii
1910 #$d_isascii HAS_ISASCII /**/
1913 * This symbol, if defined, indicates that the lchown routine is
1914 * available to operate on a symbolic link (instead of following the
1917 #$d_lchown HAS_LCHOWN /**/
1920 * This symbol, if defined, indicates that the localtime_r routine
1921 * is available to localtime re-entrantly.
1923 /* LOCALTIME_R_NEEDS_TZSET:
1924 * Many libc's localtime_r implementations do not call tzset,
1925 * making them differ from localtime(), and making timezone
1926 * changes using \$ENV{TZ} without explicitly calling tzset
1927 * impossible. This symbol makes us call tzset before localtime_r
1929 #$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
1930 #ifdef LOCALTIME_R_NEEDS_TZSET
1931 #define L_R_TZSET tzset(),
1936 /* LOCALTIME_R_PROTO:
1937 * This symbol encodes the prototype of localtime_r.
1938 * It is zero if d_localtime_r is undef, and one of the
1939 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1942 #$d_localtime_r HAS_LOCALTIME_R /**/
1943 #define LOCALTIME_R_PROTO $localtime_r_proto /**/
1946 * This symbol will be defined if the C compiler supports long
1950 * This symbol contains the size of a long double, so that the
1951 * C preprocessor can make decisions based on it. It is only
1952 * defined if the system supports long doubles.
1954 #$d_longdbl HAS_LONG_DOUBLE /**/
1955 #ifdef HAS_LONG_DOUBLE
1956 #define LONG_DOUBLESIZE $longdblsize /**/
1960 * This symbol will be defined if the C compiler supports long long.
1963 * This symbol contains the size of a long long, so that the
1964 * C preprocessor can make decisions based on it. It is only
1965 * defined if the system supports long long.
1967 #$d_longlong HAS_LONG_LONG /**/
1968 #ifdef HAS_LONG_LONG
1969 #define LONGLONGSIZE $longlongsize /**/
1973 * This symbol, if defined, indicates that the system provides
1974 * a prototype for the lseek() function. Otherwise, it is up
1975 * to the program to supply one. A good guess is
1976 * extern off_t lseek(int, off_t, int);
1978 #$d_lseekproto HAS_LSEEK_PROTO /**/
1981 * This symbol, if defined, indicates that the memchr routine is available
1982 * to locate characters within a C string.
1984 #$d_memchr HAS_MEMCHR /**/
1987 * This symbol, if defined, indicates that the mkstemp routine is
1988 * available to exclusively create and open a uniquely named
1991 #$d_mkstemp HAS_MKSTEMP /**/
1994 * This symbol, if defined, indicates that the mmap system call is
1995 * available to map a file into memory.
1998 * This symbol holds the return type of the mmap() system call
1999 * (and simultaneously the type of the first argument).
2000 * Usually set to 'void *' or 'caddr_t'.
2002 #$d_mmap HAS_MMAP /**/
2003 #define Mmap_t $mmaptype /**/
2006 * This symbol, if defined, indicates that the entire msg*(2) library is
2007 * supported (IPC mechanism based on message queues).
2009 #$d_msg HAS_MSG /**/
2012 * This manifest constant lets the C program know that the three
2013 * argument form of open(2) is available.
2015 #$d_open3 HAS_OPEN3 /**/
2017 /* OLD_PTHREAD_CREATE_JOINABLE:
2018 * This symbol, if defined, indicates how to create pthread
2019 * in joinable (aka undetached) state. NOTE: not defined
2020 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2021 * (the new version of the constant).
2022 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2025 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
2027 /* HAS_PTHREAD_ATFORK:
2028 * This symbol, if defined, indicates that the pthread_atfork routine
2029 * is available to setup fork handlers.
2031 #$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
2033 /* HAS_PTHREAD_YIELD:
2034 * This symbol, if defined, indicates that the pthread_yield
2035 * routine is available to yield the execution of the current
2036 * thread. sched_yield is preferable to pthread_yield.
2039 * This symbol defines the way to yield the execution of
2040 * the current thread. Known ways are sched_yield,
2041 * pthread_yield, and pthread_yield with NULL.
2044 * This symbol, if defined, indicates that the sched_yield
2045 * routine is available to yield the execution of the current
2046 * thread. sched_yield is preferable to pthread_yield.
2048 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
2049 #define SCHED_YIELD $sched_yield /**/
2050 #$d_sched_yield HAS_SCHED_YIELD /**/
2053 * This symbol, if defined, indicates that the random_r routine
2054 * is available to random re-entrantly.
2057 * This symbol encodes the prototype of random_r.
2058 * It is zero if d_random_r is undef, and one of the
2059 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2062 #$d_random_r HAS_RANDOM_R /**/
2063 #define RANDOM_R_PROTO $random_r_proto /**/
2066 * This symbol, if defined, indicates that the readdir64_r routine
2067 * is available to readdir64 re-entrantly.
2069 /* READDIR64_R_PROTO:
2070 * This symbol encodes the prototype of readdir64_r.
2071 * It is zero if d_readdir64_r is undef, and one of the
2072 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
2075 #$d_readdir64_r HAS_READDIR64_R /**/
2076 #define READDIR64_R_PROTO $readdir64_r_proto /**/
2079 * This symbol, if defined, indicates that the readdir_r routine
2080 * is available to readdir re-entrantly.
2083 * This symbol encodes the prototype of readdir_r.
2084 * It is zero if d_readdir_r is undef, and one of the
2085 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2088 #$d_readdir_r HAS_READDIR_R /**/
2089 #define READDIR_R_PROTO $readdir_r_proto /**/
2092 * This symbol, if defined, indicates that the bcopy routine is available
2093 * to copy potentially overlapping memory blocks. Normally, you should
2094 * probably use memmove() or memcpy(). If neither is defined, roll your
2097 #$d_safebcpy HAS_SAFE_BCOPY /**/
2100 * This symbol, if defined, indicates that the memcpy routine is available
2101 * to copy potentially overlapping memory blocks. If you need to
2102 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2103 * use memmove() instead, if available.
2105 #$d_safemcpy HAS_SAFE_MEMCPY /**/
2108 * This symbol, if defined, indicates that the memcmp routine is available
2109 * and can be used to compare relative magnitudes of chars with their high
2110 * bits set. If it is not defined, roll your own version.
2112 #$d_sanemcmp HAS_SANE_MEMCMP /**/
2115 * This symbol, if defined, indicates that the entire sem*(2) library is
2118 #$d_sem HAS_SEM /**/
2121 * This symbol, if defined, indicates that the setgrent routine is
2122 * available for initializing sequential access of the group database.
2124 #$d_setgrent HAS_SETGRENT /**/
2127 * This symbol, if defined, indicates that the setgrent_r routine
2128 * is available to setgrent re-entrantly.
2130 /* SETGRENT_R_PROTO:
2131 * This symbol encodes the prototype of setgrent_r.
2132 * It is zero if d_setgrent_r is undef, and one of the
2133 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2136 #$d_setgrent_r HAS_SETGRENT_R /**/
2137 #define SETGRENT_R_PROTO $setgrent_r_proto /**/
2140 * This symbol, if defined, indicates that the sethostent() routine is
2143 #$d_sethent HAS_SETHOSTENT /**/
2145 /* HAS_SETHOSTENT_R:
2146 * This symbol, if defined, indicates that the sethostent_r routine
2147 * is available to sethostent re-entrantly.
2149 /* SETHOSTENT_R_PROTO:
2150 * This symbol encodes the prototype of sethostent_r.
2151 * It is zero if d_sethostent_r is undef, and one of the
2152 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
2155 #$d_sethostent_r HAS_SETHOSTENT_R /**/
2156 #define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
2159 * This symbol, if defined, indicates that the setlocale_r routine
2160 * is available to setlocale re-entrantly.
2162 /* SETLOCALE_R_PROTO:
2163 * This symbol encodes the prototype of setlocale_r.
2164 * It is zero if d_setlocale_r is undef, and one of the
2165 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
2168 #$d_setlocale_r HAS_SETLOCALE_R /**/
2169 #define SETLOCALE_R_PROTO $setlocale_r_proto /**/
2172 * This symbol, if defined, indicates that the setnetent() routine is
2175 #$d_setnent HAS_SETNETENT /**/
2178 * This symbol, if defined, indicates that the setnetent_r routine
2179 * is available to setnetent re-entrantly.
2181 /* SETNETENT_R_PROTO:
2182 * This symbol encodes the prototype of setnetent_r.
2183 * It is zero if d_setnetent_r is undef, and one of the
2184 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2187 #$d_setnetent_r HAS_SETNETENT_R /**/
2188 #define SETNETENT_R_PROTO $setnetent_r_proto /**/
2191 * This symbol, if defined, indicates that the setprotoent() routine is
2194 #$d_setpent HAS_SETPROTOENT /**/
2197 * This symbol, if defined, indicates that the setpgrp routine is
2198 * available to set the current process group.
2201 * This symbol, if defined, indicates that setpgrp needs two
2202 * arguments whereas USG one needs none. See also HAS_SETPGID
2203 * for a POSIX interface.
2205 #$d_setpgrp HAS_SETPGRP /**/
2206 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2208 /* HAS_SETPROTOENT_R:
2209 * This symbol, if defined, indicates that the setprotoent_r routine
2210 * is available to setprotoent re-entrantly.
2212 /* SETPROTOENT_R_PROTO:
2213 * This symbol encodes the prototype of setprotoent_r.
2214 * It is zero if d_setprotoent_r is undef, and one of the
2215 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2218 #$d_setprotoent_r HAS_SETPROTOENT_R /**/
2219 #define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
2222 * This symbol, if defined, indicates that the setpwent routine is
2223 * available for initializing sequential access of the passwd database.
2225 #$d_setpwent HAS_SETPWENT /**/
2228 * This symbol, if defined, indicates that the setpwent_r routine
2229 * is available to setpwent re-entrantly.
2231 /* SETPWENT_R_PROTO:
2232 * This symbol encodes the prototype of setpwent_r.
2233 * It is zero if d_setpwent_r is undef, and one of the
2234 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2237 #$d_setpwent_r HAS_SETPWENT_R /**/
2238 #define SETPWENT_R_PROTO $setpwent_r_proto /**/
2241 * This symbol, if defined, indicates that the setservent() routine is
2244 #$d_setsent HAS_SETSERVENT /**/
2246 /* HAS_SETSERVENT_R:
2247 * This symbol, if defined, indicates that the setservent_r routine
2248 * is available to setservent re-entrantly.
2250 /* SETSERVENT_R_PROTO:
2251 * This symbol encodes the prototype of setservent_r.
2252 * It is zero if d_setservent_r is undef, and one of the
2253 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2256 #$d_setservent_r HAS_SETSERVENT_R /**/
2257 #define SETSERVENT_R_PROTO $setservent_r_proto /**/
2260 * This symbol, if defined, indicates that the setvbuf routine is
2261 * available to change buffering on an open stdio stream.
2262 * to a line-buffered mode.
2264 #$d_setvbuf HAS_SETVBUF /**/
2267 * This symbol, if defined, indicates that the entire shm*(2) library is
2270 #$d_shm HAS_SHM /**/
2273 * This symbol holds the return type of the shmat() system call.
2274 * Usually set to 'void *' or 'char *'.
2276 /* HAS_SHMAT_PROTOTYPE:
2277 * This symbol, if defined, indicates that the sys/shm.h includes
2278 * a prototype for shmat(). Otherwise, it is up to the program to
2279 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2280 * but not always right so it should be emitted by the program only
2281 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2283 #define Shmat_t $shmattype /**/
2284 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2287 * This symbol, if defined, indicates that Vr4's sigaction() routine
2290 #$d_sigaction HAS_SIGACTION /**/
2293 * This variable indicates to the C program that the sigsetjmp()
2294 * routine is available to save the calling process's registers
2295 * and stack environment for later use by siglongjmp(), and
2296 * to optionally save the process's signal mask. See
2297 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2300 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2303 * This macro is used in the same way as sigsetjmp(), but will invoke
2304 * traditional setjmp() if sigsetjmp isn't available.
2305 * See HAS_SIGSETJMP.
2308 * This macro is used in the same way as siglongjmp(), but will invoke
2309 * traditional longjmp() if siglongjmp isn't available.
2310 * See HAS_SIGSETJMP.
2312 #$d_sigsetjmp HAS_SIGSETJMP /**/
2313 #ifdef HAS_SIGSETJMP
2314 #define Sigjmp_buf sigjmp_buf
2315 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2316 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2318 #define Sigjmp_buf jmp_buf
2319 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2320 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2324 * This symbol, if defined, indicates that the BSD socket interface is
2328 * This symbol, if defined, indicates that the BSD socketpair() call is
2332 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2333 * Checking just with #ifdef might not be enough because this symbol
2334 * has been known to be an enum.
2336 /* HAS_MSG_DONTROUTE:
2337 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2338 * Checking just with #ifdef might not be enough because this symbol
2339 * has been known to be an enum.
2342 * This symbol, if defined, indicates that the MSG_OOB is supported.
2343 * Checking just with #ifdef might not be enough because this symbol
2344 * has been known to be an enum.
2347 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2348 * Checking just with #ifdef might not be enough because this symbol
2349 * has been known to be an enum.
2352 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2353 * Checking just with #ifdef might not be enough because this symbol
2354 * has been known to be an enum.
2357 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2358 * Checking just with #ifdef might not be enough because this symbol
2359 * has been known to be an enum.
2361 /* HAS_SOCKADDR_SA_LEN:
2362 * This symbol, if defined, indicates that the struct sockaddr
2363 * structure has a member called sa_len, indicating the length of
2366 /* HAS_SOCKADDR_IN6:
2367 * This symbol, if defined, indicates the availability of
2368 * struct sockaddr_in6;
2370 /* HAS_SIN6_SCOPE_ID:
2371 * This symbol, if defined, indicates that the struct sockaddr_in6
2372 * structure has a member called sin6_scope_id.
2375 * This symbol, if defined, indicates the availability of
2378 /* HAS_IP_MREQ_SOURCE:
2379 * This symbol, if defined, indicates the availability of
2380 * struct ip_mreq_source;
2383 * This symbol, if defined, indicates the availability of
2386 /* HAS_IPV6_MREQ_SOURCE:
2387 * This symbol, if defined, indicates the availability of
2388 * struct ipv6_mreq_source;
2390 #$d_socket HAS_SOCKET /**/
2391 #$d_sockpair HAS_SOCKETPAIR /**/
2392 #$d_sockaddr_sa_len HAS_SOCKADDR_SA_LEN /**/
2393 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2394 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2395 #$d_msg_oob HAS_MSG_OOB /**/
2396 #$d_msg_peek HAS_MSG_PEEK /**/
2397 #$d_msg_proxy HAS_MSG_PROXY /**/
2398 #$d_scm_rights HAS_SCM_RIGHTS /**/
2399 #$d_sockaddr_in6 HAS_SOCKADDR_IN6 /**/
2400 #$d_sin6_scope_id HAS_SIN6_SCOPE_ID /**/
2401 #$d_ip_mreq HAS_IP_MREQ /**/
2402 #$d_ip_mreq_source HAS_IP_MREQ_SOURCE /**/
2403 #$d_ipv6_mreq HAS_IPV6_MREQ /**/
2404 #$d_ipv6_mreq_source HAS_IPV6_MREQ_SOURCE /**/
2407 * This symbol, if defined, indicates that the srand48_r routine
2408 * is available to srand48 re-entrantly.
2411 * This symbol encodes the prototype of srand48_r.
2412 * It is zero if d_srand48_r is undef, and one of the
2413 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2416 #$d_srand48_r HAS_SRAND48_R /**/
2417 #define SRAND48_R_PROTO $srand48_r_proto /**/
2420 * This symbol, if defined, indicates that the srandom_r routine
2421 * is available to srandom re-entrantly.
2424 * This symbol encodes the prototype of srandom_r.
2425 * It is zero if d_srandom_r is undef, and one of the
2426 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2429 #$d_srandom_r HAS_SRANDOM_R /**/
2430 #define SRANDOM_R_PROTO $srandom_r_proto /**/
2433 * This symbol is defined if this system has a stat structure declaring
2434 * st_blksize and st_blocks.
2436 #ifndef USE_STAT_BLOCKS
2437 #$d_statblks USE_STAT_BLOCKS /**/
2440 /* HAS_STATIC_INLINE:
2441 * This symbol, if defined, indicates that the C compiler supports
2442 * C99-style static inline. That is, the function can't be called
2443 * from another translation unit.
2445 /* PERL_STATIC_INLINE:
2446 * This symbol gives the best-guess incantation to use for static
2447 * inline functions. If HAS_STATIC_INLINE is defined, this will
2448 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
2449 * this will give a plain 'static'. It will always be defined
2450 * to something that gives static linkage.
2451 * Possibilities include
2452 * static inline (c99)
2453 * static __inline__ (gcc -ansi)
2454 * static __inline (MSVC)
2455 * static _inline (older MSVC)
2456 * static (c89 compilers)
2458 #$d_static_inline HAS_STATIC_INLINE /**/
2459 #define PERL_STATIC_INLINE $perl_static_inline /**/
2462 * This symbol is defined if the _ptr and _cnt fields (or similar)
2463 * of the stdio FILE structure can be used to access the stdio buffer
2464 * for a file handle. If this is defined, then the FILE_ptr(fp)
2465 * and FILE_cnt(fp) macros will also be defined and should be used
2466 * to access these fields.
2469 * This macro is used to access the _ptr field (or equivalent) of the
2470 * FILE structure pointed to by its argument. This macro will always be
2471 * defined if USE_STDIO_PTR is defined.
2473 /* STDIO_PTR_LVALUE:
2474 * This symbol is defined if the FILE_ptr macro can be used as an
2478 * This macro is used to access the _cnt field (or equivalent) of the
2479 * FILE structure pointed to by its argument. This macro will always be
2480 * defined if USE_STDIO_PTR is defined.
2482 /* STDIO_CNT_LVALUE:
2483 * This symbol is defined if the FILE_cnt macro can be used as an
2486 /* STDIO_PTR_LVAL_SETS_CNT:
2487 * This symbol is defined if using the FILE_ptr macro as an lvalue
2488 * to increase the pointer by n has the side effect of decreasing the
2489 * value of File_cnt(fp) by n.
2491 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2492 * This symbol is defined if using the FILE_ptr macro as an lvalue
2493 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2495 #$d_stdstdio USE_STDIO_PTR /**/
2496 #ifdef USE_STDIO_PTR
2497 #define FILE_ptr(fp) $stdio_ptr
2498 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
2499 #define FILE_cnt(fp) $stdio_cnt
2500 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
2501 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
2502 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
2506 * This symbol is defined if the _base field (or similar) of the
2507 * stdio FILE structure can be used to access the stdio buffer for
2508 * a file handle. If this is defined, then the FILE_base(fp) macro
2509 * will also be defined and should be used to access this field.
2510 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2511 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2512 * will never be defined unless USE_STDIO_PTR is.
2515 * This macro is used to access the _base field (or equivalent) of the
2516 * FILE structure pointed to by its argument. This macro will always be
2517 * defined if USE_STDIO_BASE is defined.
2520 * This macro is used to determine the number of bytes in the I/O
2521 * buffer pointed to by _base field (or equivalent) of the FILE
2522 * structure pointed to its argument. This macro will always be defined
2523 * if USE_STDIO_BASE is defined.
2525 #$d_stdiobase USE_STDIO_BASE /**/
2526 #ifdef USE_STDIO_BASE
2527 #define FILE_base(fp) $stdio_base
2528 #define FILE_bufsiz(fp) $stdio_bufsiz
2532 * This symbol, if defined, indicates that this C compiler knows how
2533 * to copy structures. If undefined, you'll need to use a block copy
2534 * routine of some sort instead.
2536 #$d_strctcpy USE_STRUCT_COPY /**/
2539 * This symbol, if defined, indicates that the strerror routine is
2540 * available to translate error numbers to strings. See the writeup
2541 * of Strerror() in this file before you try to define your own.
2544 * This symbol, if defined, indicates that the sys_errlist array is
2545 * available to translate error numbers to strings. The extern int
2546 * sys_nerr gives the size of that table.
2549 * This preprocessor symbol is defined as a macro if strerror() is
2550 * not available to translate error numbers to strings but sys_errlist[]
2553 #$d_strerror HAS_STRERROR /**/
2554 #$d_syserrlst HAS_SYS_ERRLIST /**/
2555 #define Strerror(e) $d_strerrm
2558 * This symbol, if defined, indicates that the strerror_r routine
2559 * is available to strerror re-entrantly.
2561 /* STRERROR_R_PROTO:
2562 * This symbol encodes the prototype of strerror_r.
2563 * It is zero if d_strerror_r is undef, and one of the
2564 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2567 #$d_strerror_r HAS_STRERROR_R /**/
2568 #define STRERROR_R_PROTO $strerror_r_proto /**/
2571 * This symbol, if defined, indicates that the strtoul routine is
2572 * available to provide conversion of strings to unsigned long.
2574 #$d_strtoul HAS_STRTOUL /**/
2577 * This symbol, if defined, indicates that the time() routine exists.
2580 * This symbol holds the type returned by time(). It can be long,
2581 * or time_t on BSD sites (in which case <sys/types.h> should be
2584 #$d_time HAS_TIME /**/
2585 #define Time_t $timetype /* Time type */
2588 * This symbol, if defined, indicates that the times() routine exists.
2589 * Note that this became obsolete on some systems (SUNOS), which now
2590 * use getrusage(). It may be necessary to include <sys/times.h>.
2592 #$d_times HAS_TIMES /**/
2595 * This symbol, if defined, indicates that the tmpnam_r routine
2596 * is available to tmpnam re-entrantly.
2599 * This symbol encodes the prototype of tmpnam_r.
2600 * It is zero if d_tmpnam_r is undef, and one of the
2601 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2604 #$d_tmpnam_r HAS_TMPNAM_R /**/
2605 #define TMPNAM_R_PROTO $tmpnam_r_proto /**/
2608 * This symbol, if defined, indicates that the ttyname_r routine
2609 * is available to ttyname re-entrantly.
2612 * This symbol encodes the prototype of ttyname_r.
2613 * It is zero if d_ttyname_r is undef, and one of the
2614 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2617 #$d_ttyname_r HAS_TTYNAME_R /**/
2618 #define TTYNAME_R_PROTO $ttyname_r_proto /**/
2621 * This symbol, if defined, indicates that the union semun is
2622 * defined by including <sys/sem.h>. If not, the user code
2623 * probably needs to define it as:
2626 * struct semid_ds *buf;
2627 * unsigned short *array;
2630 /* USE_SEMCTL_SEMUN:
2631 * This symbol, if defined, indicates that union semun is
2632 * used for semctl IPC_STAT.
2634 /* USE_SEMCTL_SEMID_DS:
2635 * This symbol, if defined, indicates that struct semid_ds * is
2636 * used for semctl IPC_STAT.
2638 #$d_union_semun HAS_UNION_SEMUN /**/
2639 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2640 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2643 * This symbol, if defined, indicates that vfork() exists.
2645 #$d_vfork HAS_VFORK /**/
2648 * This symbol, if defined, indicates that an emulation of the
2649 * fork routine is available.
2651 #$d_pseudofork HAS_PSEUDOFORK /**/
2654 * This symbol's value is either "void" or "int", corresponding to the
2655 * appropriate return type of a signal handler. Thus, you can declare
2656 * a signal handler using "Signal_t (*handler)()", and define the
2657 * handler using "Signal_t handler(sig)".
2659 #define Signal_t $signal_t /* Signal handler's return type */
2662 * This symbol, if defined, indicates that this C compiler knows about
2663 * the volatile declaration.
2665 #$d_volatile HASVOLATILE /**/
2671 * This symbol, if defined, indicates that the vprintf routine is available
2672 * to printf with a pointer to an argument list. If unavailable, you
2673 * may need to write your own, probably in terms of _doprnt().
2675 /* USE_CHAR_VSPRINTF:
2676 * This symbol is defined if this system has vsprintf() returning type
2677 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2678 * is up to the package author to declare vsprintf correctly based on the
2681 #$d_vprintf HAS_VPRINTF /**/
2682 #$d_charvspr USE_CHAR_VSPRINTF /**/
2685 * This symbol contains the size of a double, so that the C preprocessor
2686 * can make decisions based on it.
2688 #define DOUBLESIZE $doublesize /**/
2691 * This symbol, if defined, indicates that this system uses
2694 #$ebcdic EBCDIC /**/
2697 * This symbol holds the type used to declare file positions in libc.
2698 * It can be fpos_t, long, uint, etc... It may be necessary to include
2699 * <sys/types.h> to get any typedef'ed information.
2701 #define Fpos_t $fpostype /* File position type */
2704 * This symbol defines the format string used for printing a Gid_t.
2706 #define Gid_t_f $gidformat /**/
2709 * This symbol holds the signedness of a Gid_t.
2710 * 1 for unsigned, -1 for signed.
2712 #define Gid_t_sign $gidsign /* GID sign */
2715 * This symbol holds the size of a Gid_t in bytes.
2717 #define Gid_t_size $gidsize /* GID size */
2720 * This symbol holds the return type of getgid() and the type of
2721 * argument to setrgid() and related functions. Typically,
2722 * it is the type of group ids in the kernel. It can be int, ushort,
2723 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2724 * any typedef'ed information.
2726 #define Gid_t $gidtype /* Type for getgid(), etc... */
2729 * This symbol, if defined, indicates to the C program that it should
2730 * include <dirent.h>. Using this symbol also triggers the definition
2731 * of the Direntry_t define which ends up being 'struct dirent' or
2732 * 'struct direct' depending on the availability of <dirent.h>.
2735 * This symbol, if defined, indicates to the C program that the length
2736 * of directory entry names is provided by a d_namlen field. Otherwise
2737 * you need to do strlen() on the d_name field.
2740 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2741 * whether dirent is available or not. You should use this pseudo type to
2742 * portably declare your directory entries.
2744 #$i_dirent I_DIRENT /**/
2745 #$d_dirnamlen DIRNAMLEN /**/
2746 #define Direntry_t $direntrytype
2749 * This symbol, if defined, indicates to the C program that it should
2753 * This symbol, if defined, indicates to the C program that struct group
2754 * in <grp.h> contains gr_passwd.
2757 #$d_grpasswd GRPASSWD /**/
2760 * This symbol, if defined, indicates to the C program that it should
2761 * include <mach/cthreads.h>.
2763 #$i_machcthr I_MACH_CTHREADS /**/
2766 * This symbol, if defined, indicates that <ndbm.h> exists and should
2770 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2771 * be included. This was the location of the ndbm.h compatibility file
2775 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2776 * be included. This is the location of the ndbm.h compatibility file
2779 /* NDBM_H_USES_PROTOTYPES:
2780 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2781 * prototypes instead of K&R style function declarations without any
2782 * parameter information. While ANSI C prototypes are supported in C++,
2783 * K&R style function declarations will yield errors.
2785 /* GDBMNDBM_H_USES_PROTOTYPES:
2786 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2787 * prototypes instead of K&R style function declarations without any
2788 * parameter information. While ANSI C prototypes are supported in C++,
2789 * K&R style function declarations will yield errors.
2791 /* GDBM_NDBM_H_USES_PROTOTYPES:
2792 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2793 * prototypes instead of K&R style function declarations without any
2794 * parameter information. While ANSI C prototypes are supported in C++,
2795 * K&R style function declarations will yield errors.
2797 #$i_ndbm I_NDBM /**/
2798 #$i_gdbmndbm I_GDBMNDBM /**/
2799 #$i_gdbm_ndbm I_GDBM_NDBM /**/
2800 #$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
2801 #$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
2802 #$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
2805 * This symbol, if defined, indicates that <netdb.h> exists and
2806 * should be included.
2808 #$i_netdb I_NETDB /**/
2811 * This symbol, if defined, indicates that <net/errno.h> exists and
2812 * should be included.
2814 #$i_neterrno I_NET_ERRNO /**/
2817 * This symbol, if defined, indicates to the C program that it should
2818 * include <pthread.h>.
2820 #$i_pthread I_PTHREAD /**/
2823 * This symbol, if defined, indicates to the C program that it should
2827 * This symbol, if defined, indicates to the C program that struct passwd
2828 * contains pw_quota.
2831 * This symbol, if defined, indicates to the C program that struct passwd
2835 * This symbol, if defined, indicates to the C program that struct passwd
2836 * contains pw_change.
2839 * This symbol, if defined, indicates to the C program that struct passwd
2840 * contains pw_class.
2843 * This symbol, if defined, indicates to the C program that struct passwd
2844 * contains pw_expire.
2847 * This symbol, if defined, indicates to the C program that struct passwd
2848 * contains pw_comment.
2851 * This symbol, if defined, indicates to the C program that struct passwd
2852 * contains pw_gecos.
2855 * This symbol, if defined, indicates to the C program that struct passwd
2856 * contains pw_passwd.
2859 #$d_pwquota PWQUOTA /**/
2860 #$d_pwage PWAGE /**/
2861 #$d_pwchange PWCHANGE /**/
2862 #$d_pwclass PWCLASS /**/
2863 #$d_pwexpire PWEXPIRE /**/
2864 #$d_pwcomment PWCOMMENT /**/
2865 #$d_pwgecos PWGECOS /**/
2866 #$d_pwpasswd PWPASSWD /**/
2869 * This symbol, if defined, indicates to the C program that it should
2870 * include <sys/access.h>.
2872 #$i_sysaccess I_SYS_ACCESS /**/
2875 * This symbol, if defined, indicates to the C program that it should
2876 * include <sys/security.h>.
2878 #$i_syssecrt I_SYS_SECURITY /**/
2881 * This symbol, if defined, indicates that <sys/uio.h> exists and
2882 * should be included.
2884 #$i_sysuio I_SYSUIO /**/
2887 * This symbol, if defined, indicates to the C program that it should
2891 * This symbol, if defined, indicates to the C program that it should
2892 * include <sys/time.h>.
2894 /* I_SYS_TIME_KERNEL:
2895 * This symbol, if defined, indicates to the C program that it should
2896 * include <sys/time.h> with KERNEL defined.
2899 * This symbol, if defined, indicates to the C program that
2900 * the struct tm has a tm_zone field.
2902 /* HAS_TM_TM_GMTOFF:
2903 * This symbol, if defined, indicates to the C program that
2904 * the struct tm has a tm_gmtoff field.
2906 #$i_time I_TIME /**/
2907 #$i_systime I_SYS_TIME /**/
2908 #$i_systimek I_SYS_TIME_KERNEL /**/
2909 #$d_tm_tm_zone HAS_TM_TM_ZONE /**/
2910 #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
2913 * This symbol, if defined, indicates that <stdarg.h> exists and should
2917 * This symbol, if defined, indicates to the C program that it should
2918 * include <varargs.h>.
2920 #$i_stdarg I_STDARG /**/
2921 #$i_varargs I_VARARGS /**/
2923 /* PERL_INC_VERSION_LIST:
2924 * This variable specifies the list of subdirectories in over
2925 * which perl.c:incpush() and lib/lib.pm will automatically
2926 * search when adding directories to @INC, in a format suitable
2927 * for a C initialization string. See the inc_version_list entry
2928 * in Porting/Glossary for more details.
2930 #$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
2932 /* INSTALL_USR_BIN_PERL:
2933 * This symbol, if defined, indicates that Perl is to be installed
2934 * also as /usr/bin/perl.
2936 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
2939 * This symbol holds the type used to declare offsets in the kernel.
2940 * It can be int, long, off_t, etc... It may be necessary to include
2941 * <sys/types.h> to get any typedef'ed information.
2944 * This symbol holds the number of bytes used by the Off_t.
2947 * This symbol holds the number of bytes used by the Off_t.
2949 #define Off_t $lseektype /* <offset> type */
2950 #define LSEEKSIZE $lseeksize /* <offset> size */
2951 #define Off_t_size $lseeksize /* <offset> size */
2954 * This variable contains the return type of free(). It is usually
2955 * void, but occasionally int.
2958 * This symbol is the type of pointer returned by malloc and realloc.
2960 #define Malloc_t $malloctype /**/
2961 #define Free_t $freetype /**/
2963 /* PERL_MALLOC_WRAP:
2964 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2966 #$usemallocwrap PERL_MALLOC_WRAP /**/
2969 * This symbol, if defined, indicates that we're using our own malloc.
2971 #$d_mymalloc MYMALLOC /**/
2974 * This symbol holds the type used to declare file modes
2975 * for systems calls. It is usually mode_t, but may be
2976 * int or unsigned short. It may be necessary to include <sys/types.h>
2977 * to get any typedef'ed information.
2979 #define Mode_t $modetype /* file mode parameter for system calls */
2982 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2983 * non-blocking I/O for the file descriptor. Note that there is no way
2984 * back, i.e. you cannot turn it blocking again this way. If you wish to
2985 * alternatively switch between blocking and non-blocking, use the
2986 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2989 * This symbol holds the errno error code set by read() when no data was
2990 * present on the non-blocking file descriptor.
2993 * This symbol holds the return code from read() when no data is present
2994 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2995 * not defined, then you can't distinguish between no data and EOF by
2996 * issuing a read(). You'll have to find another way to tell for sure!
2999 * This symbol, if defined, indicates to the C program that a read() on
3000 * a non-blocking file descriptor will return 0 on EOF, and not the value
3001 * held in RD_NODATA (-1 usually, in that case!).
3003 #define VAL_O_NONBLOCK $o_nonblock
3004 #define VAL_EAGAIN $eagain
3005 #define RD_NODATA $rd_nodata
3006 #$d_eofnblk EOF_NONBLOCK
3009 * This symbol holds the type used for the 1st argument
3010 * to gethostbyaddr().
3013 * This symbol holds the type used for the 2nd argument
3014 * to gethostbyaddr().
3017 * This symbol holds the type used for the argument to
3021 * This symbol holds the type used for the 1st argument to
3024 #define Netdb_host_t $netdb_host_type /**/
3025 #define Netdb_hlen_t $netdb_hlen_type /**/
3026 #define Netdb_name_t $netdb_name_type /**/
3027 #define Netdb_net_t $netdb_net_type /**/
3029 /* PERL_OTHERLIBDIRS:
3030 * This variable contains a colon-separated set of paths for the perl
3031 * binary to search for additional library files or modules.
3032 * These directories will be tacked to the end of @INC.
3033 * Perl will automatically search below each path for version-
3034 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3037 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
3040 * This symbol holds the type used to declare process ids in the kernel.
3041 * It can be int, uint, pid_t, etc... It may be necessary to include
3042 * <sys/types.h> to get any typedef'ed information.
3044 #define Pid_t $pidtype /* PID type */
3047 * This symbol contains the name of the private library for this package.
3048 * The library is private in the sense that it needn't be in anyone's
3049 * execution path, but it should be accessible by the world. The program
3050 * should be prepared to do ~ expansion.
3053 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3054 * in programs that are not prepared to deal with ~ expansion at run-time.
3056 #define PRIVLIB "$privlib" /**/
3057 #define PRIVLIB_EXP "$privlibexp" /**/
3060 * If defined, this macro indicates that the C compiler can handle
3061 * function prototypes.
3064 * This macro is used to declare function parameters for folks who want
3065 * to make declarations with prototypes using a different style than
3066 * the above macros. Use double parentheses. For example:
3068 * int main _((int argc, char *argv[]));
3070 #$prototype CAN_PROTOTYPE /**/
3071 #ifdef CAN_PROTOTYPE
3072 #define _(args) args
3078 * This symbol contains the size of a pointer, so that the C preprocessor
3079 * can make decisions based on it. It will be sizeof(void *) if
3080 * the compiler supports (void *); otherwise it will be
3083 #define PTRSIZE $ptrsize /**/
3086 * This symbol, if defined, tells that there's a 64-bit integer type,
3087 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
3088 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
3089 * or QUAD_IS___INT64.
3091 #$d_quad HAS_QUAD /**/
3093 # define Quad_t $quadtype /**/
3094 # define Uquad_t $uquadtype /**/
3095 # define QUADKIND $quadkind /**/
3096 # define QUAD_IS_INT 1
3097 # define QUAD_IS_LONG 2
3098 # define QUAD_IS_LONG_LONG 3
3099 # define QUAD_IS_INT64_T 4
3100 # define QUAD_IS___INT64 5
3104 * This macro is to be used to generate uniformly distributed
3105 * random numbers over the range [0., 1.[. You may have to supply
3106 * an 'extern double drand48();' in your program since SunOS 4.1.3
3107 * doesn't provide you with anything relevant in its headers.
3108 * See HAS_DRAND48_PROTO.
3111 * This symbol defines the type of the argument of the
3112 * random seed function.
3115 * This symbol defines the macro to be used in seeding the
3116 * random number generator (see Drand01).
3119 * This symbol indicates how many bits are produced by the
3120 * function used to generate normalized random numbers.
3121 * Values include 15, 16, 31, and 48.
3123 #define Drand01() $drand01 /**/
3124 #define Rand_seed_t $randseedtype /**/
3125 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3126 #define RANDBITS $randbits /**/
3129 * This symbol holds the type used for the 2nd, 3rd, and 4th
3130 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3131 * is defined, and 'int *' otherwise. This is only useful if you
3132 * have select(), of course.
3134 #define Select_fd_set_t $selecttype /**/
3137 * This symbol contains the full pathname to the shell used on this
3138 * on this system to execute Bourne shell scripts. Usually, this will be
3139 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3140 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3143 #define SH_PATH "$targetsh" /**/
3146 * This symbol contains a list of signal names in order of
3147 * signal number. This is intended
3148 * to be used as a static array initialization, like this:
3149 * char *sig_name[] = { SIG_NAME };
3150 * The signals in the list are separated with commas, and each signal
3151 * is surrounded by double quotes. There is no leading SIG in the signal
3152 * name, i.e. SIGQUIT is known as "QUIT".
3153 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3154 * etc., where nn is the actual signal number (e.g. NUM37).
3155 * The signal number for sig_name[i] is stored in sig_num[i].
3156 * The last element is 0 to terminate the list with a NULL. This
3157 * corresponds to the 0 at the end of the sig_name_init list.
3158 * Note that this variable is initialized from the sig_name_init,
3159 * not from sig_name (which is unused).
3162 * This symbol contains a list of signal numbers, in the same order as the
3163 * SIG_NAME list. It is suitable for static array initialization, as in:
3164 * int sig_num[] = { SIG_NUM };
3165 * The signals in the list are separated with commas, and the indices
3166 * within that list and the SIG_NAME list match, so it's easy to compute
3167 * the signal name from a number or vice versa at the price of a small
3168 * dynamic linear lookup.
3169 * Duplicates are allowed, but are moved to the end of the list.
3170 * The signal number corresponding to sig_name[i] is sig_number[i].
3171 * if (i < NSIG) then sig_number[i] == i.
3172 * The last element is 0, corresponding to the 0 at the end of
3173 * the sig_name_init list.
3174 * Note that this variable is initialized from the sig_num_init,
3175 * not from sig_num (which is unused).
3178 * This variable contains the number of elements of the SIG_NAME
3179 * and SIG_NUM arrays, excluding the final NULL entry.
3181 #define SIG_NAME $sig_name_init /**/
3182 #define SIG_NUM $sig_num_init /**/
3183 #define SIG_SIZE $sig_size /**/
3186 * This symbol contains the name of the private library for this package.
3187 * The library is private in the sense that it needn't be in anyone's
3188 * execution path, but it should be accessible by the world. The program
3189 * should be prepared to do ~ expansion.
3190 * The standard distribution will put nothing in this directory.
3191 * After perl has been installed, users may install their own local
3192 * architecture-dependent modules in this directory with
3193 * MakeMaker Makefile.PL
3194 * or equivalent. See INSTALL for details.
3197 * This symbol contains the ~name expanded version of SITEARCH, to be used
3198 * in programs that are not prepared to deal with ~ expansion at run-time.
3200 #$d_sitearch SITEARCH "$sitearch" /**/
3201 #$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
3204 * This symbol contains the name of the private library for this package.
3205 * The library is private in the sense that it needn't be in anyone's
3206 * execution path, but it should be accessible by the world. The program
3207 * should be prepared to do ~ expansion.
3208 * The standard distribution will put nothing in this directory.
3209 * After perl has been installed, users may install their own local
3210 * architecture-independent modules in this directory with
3211 * MakeMaker Makefile.PL
3212 * or equivalent. See INSTALL for details.
3215 * This symbol contains the ~name expanded version of SITELIB, to be used
3216 * in programs that are not prepared to deal with ~ expansion at run-time.
3219 * This define is SITELIB_EXP with any trailing version-specific component
3220 * removed. The elements in inc_version_list (inc_version_list.U) can
3221 * be tacked onto this variable to generate a list of directories to search.
3223 #define SITELIB "$sitelib" /**/
3224 #define SITELIB_EXP "$sitelibexp" /**/
3225 #define SITELIB_STEM "$sitelib_stem" /**/
3228 * This symbol holds the size of a Size_t in bytes.
3230 #define Size_t_size $sizesize /**/
3233 * This symbol holds the type used to declare length parameters
3234 * for string functions. It is usually size_t, but may be
3235 * unsigned long, int, etc. It may be necessary to include
3236 * <sys/types.h> to get any typedef'ed information.
3238 #define Size_t $sizetype /* length parameter for string functions */
3241 * This symbol holds the type used for the size argument of
3242 * various socket calls (just the base type, not the pointer-to).
3244 #define Sock_size_t $socksizetype /**/
3247 * This symbol holds the type used by functions that return
3248 * a count of bytes or an error condition. It must be a signed type.
3249 * It is usually ssize_t, but may be long or int, etc.
3250 * It may be necessary to include <sys/types.h> or <unistd.h>
3251 * to get any typedef'ed information.
3252 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3254 #define SSize_t $ssizetype /* signed count of bytes */
3257 * This symbol is defined to be the type of char used in stdio.h.
3258 * It has the values "unsigned char" or "char".
3260 #define STDCHAR $stdchar /**/
3263 * This symbol defines the format string used for printing a Uid_t.
3265 #define Uid_t_f $uidformat /**/
3268 * This symbol holds the signedness of a Uid_t.
3269 * 1 for unsigned, -1 for signed.
3271 #define Uid_t_sign $uidsign /* UID sign */
3274 * This symbol holds the size of a Uid_t in bytes.
3276 #define Uid_t_size $uidsize /* UID size */
3279 * This symbol holds the type used to declare user ids in the kernel.
3280 * It can be int, ushort, uid_t, etc... It may be necessary to include
3281 * <sys/types.h> to get any typedef'ed information.
3283 #define Uid_t $uidtype /* UID type */
3286 * This symbol, if defined, indicates that Perl should be built to
3287 * use the interpreter-based threading implementation.
3290 * This symbol, if defined, indicates that Perl should be built to
3291 * use the 5.005-based threading implementation.
3292 * Only valid up to 5.8.x.
3294 /* OLD_PTHREADS_API:
3295 * This symbol, if defined, indicates that Perl should
3296 * be built to use the old draft POSIX threads API.
3298 /* USE_REENTRANT_API:
3299 * This symbol, if defined, indicates that Perl should
3300 * try to use the various _r versions of library functions.
3301 * This is extremely experimental.
3303 #$use5005threads USE_5005THREADS /**/
3304 #$useithreads USE_ITHREADS /**/
3305 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3306 #define USE_THREADS /* until src is revised*/
3308 #$d_oldpthreads OLD_PTHREADS_API /**/
3309 #$usereentrant USE_REENTRANT_API /**/
3312 * If defined, this symbol contains the name of a private library.
3313 * The library is private in the sense that it needn't be in anyone's
3314 * execution path, but it should be accessible by the world.
3315 * It may have a ~ on the front.
3316 * The standard distribution will put nothing in this directory.
3317 * Vendors who distribute perl may wish to place their own
3318 * architecture-dependent modules and extensions in this directory with
3319 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3320 * or equivalent. See INSTALL for details.
3322 /* PERL_VENDORARCH_EXP:
3323 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3324 * in programs that are not prepared to deal with ~ expansion at run-time.
3326 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
3327 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
3329 /* PERL_VENDORLIB_EXP:
3330 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3331 * in programs that are not prepared to deal with ~ expansion at run-time.
3333 /* PERL_VENDORLIB_STEM:
3334 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3335 * removed. The elements in inc_version_list (inc_version_list.U) can
3336 * be tacked onto this variable to generate a list of directories to search.
3338 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
3339 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
3342 * This symbol, if defined, indicates that the program should include
3343 * <termio.h> rather than <sgtty.h>. There are also differences in
3344 * the ioctl() calls that depend on the value of this symbol.
3347 * This symbol, if defined, indicates that the program should include
3348 * the POSIX termios.h rather than sgtty.h or termio.h.
3349 * There are also differences in the ioctl() calls that depend on the
3350 * value of this symbol.
3353 * This symbol, if defined, indicates that the program should include
3354 * <sgtty.h> rather than <termio.h>. There are also differences in
3355 * the ioctl() calls that depend on the value of this symbol.
3357 #$i_termio I_TERMIO /**/
3358 #$i_termios I_TERMIOS /**/
3359 #$i_sgtty I_SGTTY /**/
3361 /* USE_CROSS_COMPILE:
3362 * This symbol, if defined, indicates that Perl is being cross-compiled.
3365 * This symbol, if defined, indicates the target architecture
3366 * Perl has been cross-compiled to. Undefined if not a cross-compile.
3368 #ifndef USE_CROSS_COMPILE
3369 #$usecrosscompile USE_CROSS_COMPILE /**/
3370 #define PERL_TARGETARCH "$targetarch" /**/
3374 * This symbol, if defined, indicates that Perl was configured with
3375 * -Dusedevel, to enable development features. This should not be
3376 * done for production builds.
3378 #$usedevel PERL_USE_DEVEL /**/
3381 * This symbol, if defined, indicates that the atolf routine is
3382 * available to convert strings into long doubles.
3384 #$d_atolf HAS_ATOLF /**/
3387 * This symbol, if defined, indicates that the atoll routine is
3388 * available to convert strings into long longs.
3390 #$d_atoll HAS_ATOLL /**/
3393 * This symbol, if defined, indicates that the _fwalk system call is
3394 * available to apply a function to all the file handles.
3396 #$d__fwalk HAS__FWALK /**/
3399 * This symbol, if defined, indicates that the aintl routine is
3400 * available. If copysignl is also present we can emulate modfl.
3402 #$d_aintl HAS_AINTL /**/
3404 /* HAS_BUILTIN_CHOOSE_EXPR:
3405 * Can we handle GCC builtin for compile-time ternary-like expressions
3407 /* HAS_BUILTIN_EXPECT:
3408 * Can we handle GCC builtin for telling that certain values are more
3411 #$d_builtin_expect HAS_BUILTIN_EXPECT /**/
3412 #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
3414 /* HAS_C99_VARIADIC_MACROS:
3415 * If defined, the compiler supports C99 variadic macros.
3417 #$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
3420 * This symbol, if defined, indicates that the class routine is
3421 * available to classify doubles. Available for example in AIX.
3422 * The returned values are defined in <float.h> and are:
3424 * FP_PLUS_NORM Positive normalized, nonzero
3425 * FP_MINUS_NORM Negative normalized, nonzero
3426 * FP_PLUS_DENORM Positive denormalized, nonzero
3427 * FP_MINUS_DENORM Negative denormalized, nonzero
3429 * FP_MINUS_ZERO -0.0
3432 * FP_NANS Signaling Not a Number (NaNS)
3433 * FP_NANQ Quiet Not a Number (NaNQ)
3435 #$d_class HAS_CLASS /**/
3438 * This symbol, if defined, indicates that the clearenv () routine is
3439 * available for use.
3441 #$d_clearenv HAS_CLEARENV /**/
3443 /* HAS_STRUCT_CMSGHDR:
3444 * This symbol, if defined, indicates that the struct cmsghdr
3447 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
3450 * This symbol, if defined, indicates that the copysignl routine is
3451 * available. If aintl is also present we can emulate modfl.
3453 #$d_copysignl HAS_COPYSIGNL /**/
3456 * This symbol, if defined, indicates that a C++ compiler was
3457 * used to compiled Perl and will be used to compile extensions.
3459 #$d_cplusplus USE_CPLUSPLUS /**/
3461 /* HAS_DBMINIT_PROTO:
3462 * This symbol, if defined, indicates that the system provides
3463 * a prototype for the dbminit() function. Otherwise, it is up
3464 * to the program to supply one. A good guess is
3465 * extern int dbminit(char *);
3467 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
3470 * This symbol, if defined, indicates that the the DIR* dirstream
3471 * structure contains a member variable named dd_fd.
3473 #$d_dir_dd_fd HAS_DIR_DD_FD /**/
3476 * This manifest constant lets the C program know that dirfd
3479 #$d_dirfd HAS_DIRFD /**/
3481 /* DLSYM_NEEDS_UNDERSCORE:
3482 * This symbol, if defined, indicates that we need to prepend an
3483 * underscore to the symbol name before calling dlsym(). This only
3484 * makes sense if you *have* dlsym, which we will presume is the
3485 * case if you're using dl_dlopen.xs.
3487 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
3490 * This symbol, if defined, indicates that the "fast stdio"
3491 * is available to manipulate the stdio buffers directly.
3493 #$d_faststdio HAS_FAST_STDIO /**/
3496 * This symbol, if defined, indicates that the fchdir routine is
3497 * available to change directory using a file descriptor.
3499 #$d_fchdir HAS_FCHDIR /**/
3502 * This symbol, if defined, indicates that fcntl() can be used
3503 * for file locking. Normally on Unix systems this is defined.
3504 * It may be undefined on VMS.
3506 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
3509 * This symbol, if defined, indicates that the finite routine is
3510 * available to check whether a double is finite (non-infinity non-NaN).
3512 #$d_finite HAS_FINITE /**/
3515 * This symbol, if defined, indicates that the finitel routine is
3516 * available to check whether a long double is finite
3517 * (non-infinity non-NaN).
3519 #$d_finitel HAS_FINITEL /**/
3522 * This symbol, if defined, indicates that the system provides
3523 * a prototype for the flock() function. Otherwise, it is up
3524 * to the program to supply one. A good guess is
3525 * extern int flock(int, int);
3527 #$d_flockproto HAS_FLOCK_PROTO /**/
3530 * This symbol, if defined, indicates that the fp_class routine is
3531 * available to classify doubles. Available for example in Digital UNIX.
3532 * The returned values are defined in <math.h> and are:
3534 * FP_SNAN Signaling NaN (Not-a-Number)
3535 * FP_QNAN Quiet NaN (Not-a-Number)
3536 * FP_POS_INF +infinity
3537 * FP_NEG_INF -infinity
3538 * FP_POS_NORM Positive normalized
3539 * FP_NEG_NORM Negative normalized
3540 * FP_POS_DENORM Positive denormalized
3541 * FP_NEG_DENORM Negative denormalized
3542 * FP_POS_ZERO +0.0 (positive zero)
3543 * FP_NEG_ZERO -0.0 (negative zero)
3545 #$d_fp_class HAS_FP_CLASS /**/
3548 * This symbol, if defined, indicates that the fpclass routine is
3549 * available to classify doubles. Available for example in Solaris/SVR4.
3550 * The returned values are defined in <ieeefp.h> and are:
3552 * FP_SNAN signaling NaN
3554 * FP_NINF negative infinity
3555 * FP_PINF positive infinity
3556 * FP_NDENORM negative denormalized non-zero
3557 * FP_PDENORM positive denormalized non-zero
3558 * FP_NZERO negative zero
3559 * FP_PZERO positive zero
3560 * FP_NNORM negative normalized non-zero
3561 * FP_PNORM positive normalized non-zero
3563 #$d_fpclass HAS_FPCLASS /**/
3566 * This symbol, if defined, indicates that the fpclassify routine is
3567 * available to classify doubles. Available for example in HP-UX.
3568 * The returned values are defined in <math.h> and are
3570 * FP_NORMAL Normalized
3572 * FP_INFINITE Infinity
3573 * FP_SUBNORMAL Denormalized
3577 #$d_fpclassify HAS_FPCLASSIFY /**/
3580 * This symbol, if defined, indicates that the fpclassl routine is
3581 * available to classify long doubles. Available for example in IRIX.
3582 * The returned values are defined in <ieeefp.h> and are:
3584 * FP_SNAN signaling NaN
3586 * FP_NINF negative infinity
3587 * FP_PINF positive infinity
3588 * FP_NDENORM negative denormalized non-zero
3589 * FP_PDENORM positive denormalized non-zero
3590 * FP_NZERO negative zero
3591 * FP_PZERO positive zero
3592 * FP_NNORM negative normalized non-zero
3593 * FP_PNORM positive normalized non-zero
3595 #$d_fpclassl HAS_FPCLASSL /**/
3598 * This symbol will be defined if the C compiler supports fpos64_t.
3600 #$d_fpos64_t HAS_FPOS64_T /**/
3603 * This symbol, if defined, indicates that the frexpl routine is
3604 * available to break a long double floating-point number into
3605 * a normalized fraction and an integral power of 2.
3607 #$d_frexpl HAS_FREXPL /**/
3609 /* HAS_STRUCT_FS_DATA:
3610 * This symbol, if defined, indicates that the struct fs_data
3611 * to do statfs() is supported.
3613 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
3616 * This symbol, if defined, indicates that the fseeko routine is
3617 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3619 #$d_fseeko HAS_FSEEKO /**/
3622 * This symbol, if defined, indicates that the fstatfs routine is
3623 * available to stat filesystems by file descriptors.
3625 #$d_fstatfs HAS_FSTATFS /**/
3628 * This symbol, if defined, indicates that the fsync routine is
3629 * available to write a file's modified data and attributes to
3630 * permanent storage.
3632 #$d_fsync HAS_FSYNC /**/
3635 * This symbol, if defined, indicates that the ftello routine is
3636 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3638 #$d_ftello HAS_FTELLO /**/
3641 * This symbol, if defined, indicates that the futimes routine is
3642 * available to change file descriptor time stamps with struct timevals.
3644 #$d_futimes HAS_FUTIMES /**/
3647 * This symbol, if defined, indicates that the getaddrinfo() function
3648 * is available for use.
3650 #$d_getaddrinfo HAS_GETADDRINFO /**/
3653 * This symbol, if defined, indicates that the getcwd routine is
3654 * available to get the current working directory.
3656 #$d_getcwd HAS_GETCWD /**/
3659 * This symbol, if defined, indicates that the getespwnam system call is
3660 * available to retrieve enhanced (shadow) password entries by name.
3662 #$d_getespwnam HAS_GETESPWNAM /**/
3665 * This symbol, if defined, indicates that the getfsstat routine is
3666 * available to stat filesystems in bulk.
3668 #$d_getfsstat HAS_GETFSSTAT /**/
3671 * This symbol, if defined, indicates that the getitimer routine is
3672 * available to return interval timers.
3674 #$d_getitimer HAS_GETITIMER /**/
3677 * This symbol, if defined, indicates that the getmnt routine is
3678 * available to get filesystem mount info by filename.
3680 #$d_getmnt HAS_GETMNT /**/
3683 * This symbol, if defined, indicates that the getmntent routine is
3684 * available to iterate through mounted file systems to get their info.
3686 #$d_getmntent HAS_GETMNTENT /**/
3689 * This symbol, if defined, indicates that the getnameinfo() function
3690 * is available for use.
3692 #$d_getnameinfo HAS_GETNAMEINFO /**/
3695 * This symbol, if defined, indicates that the getprpwnam system call is
3696 * available to retrieve protected (shadow) password entries by name.
3698 #$d_getprpwnam HAS_GETPRPWNAM /**/
3701 * This symbol, if defined, indicates that the getspnam system call is
3702 * available to retrieve SysV shadow password entries by name.
3704 #$d_getspnam HAS_GETSPNAM /**/
3707 * This symbol, if defined, indicates that the hasmntopt routine is
3708 * available to query the mount options of file systems.
3710 #$d_hasmntopt HAS_HASMNTOPT /**/
3713 * This symbol, if defined, indicates that the ilogbl routine is
3714 * available. If scalbnl is also present we can emulate frexpl.
3716 #$d_ilogbl HAS_ILOGBL /**/
3719 * This symbol, if defined, indicates that the inet_ntop() function
3720 * is available to parse IPv4 and IPv6 strings.
3722 #$d_inetntop HAS_INETNTOP /**/
3725 * This symbol, if defined, indicates that the inet_pton() function
3726 * is available to parse IPv4 and IPv6 strings.
3728 #$d_inetpton HAS_INETPTON /**/
3731 * This symbol will defined if the C compiler supports int64_t.
3732 * Usually the <inttypes.h> needs to be included, but sometimes
3733 * <sys/types.h> is enough.
3735 #$d_int64_t HAS_INT64_T /**/
3738 * This manifest constant lets the C program know that isblank
3741 #$d_isblank HAS_ISBLANK /**/
3744 * This symbol, if defined, indicates that the isfinite routine is
3745 * available to check whether a double is finite (non-infinity non-NaN).
3747 #$d_isfinite HAS_ISFINITE /**/
3750 * This symbol, if defined, indicates that the isinf routine is
3751 * available to check whether a double is an infinity.
3753 #$d_isinf HAS_ISINF /**/
3756 * This symbol, if defined, indicates that the isnan routine is
3757 * available to check whether a double is a NaN.
3759 #$d_isnan HAS_ISNAN /**/
3762 * This symbol, if defined, indicates that the isnanl routine is
3763 * available to check whether a long double is a NaN.
3765 #$d_isnanl HAS_ISNANL /**/
3768 * This symbol, if defined, indicates that this system's <float.h>
3769 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3770 * of significant digits in a long double precision number. Unlike
3771 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3773 #$d_ldbl_dig HAS_LDBL_DIG /* */
3775 /* LIBM_LIB_VERSION:
3776 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3777 * and that math.h defines the enum to manipulate it.
3779 #$d_libm_lib_version LIBM_LIB_VERSION /**/
3782 * This symbol, if defined, indicates that the madvise system call is
3783 * available to map a file into memory.
3785 #$d_madvise HAS_MADVISE /**/
3788 * This symbol, if defined, indicates that the malloc_size
3789 * routine is available for use.
3791 #$d_malloc_size HAS_MALLOC_SIZE /**/
3793 /* HAS_MALLOC_GOOD_SIZE:
3794 * This symbol, if defined, indicates that the malloc_good_size
3795 * routine is available for use.
3797 #$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3800 * This symbol, if defined, indicates that the mkdtemp routine is
3801 * available to exclusively create a uniquely named temporary directory.
3803 #$d_mkdtemp HAS_MKDTEMP /**/
3806 * This symbol, if defined, indicates that the mkstemps routine is
3807 * available to exclusively create and open a uniquely named
3808 * (with a suffix) temporary file.
3810 #$d_mkstemps HAS_MKSTEMPS /**/
3813 * This symbol, if defined, indicates that the modfl routine is
3814 * available to split a long double x into a fractional part f and
3815 * an integer part i such that |f| < 1.0 and (f + i) = x.
3818 * This symbol, if defined, indicates that the system provides
3819 * a prototype for the modfl() function. Otherwise, it is up
3820 * to the program to supply one.
3822 /* HAS_MODFL_POW32_BUG:
3823 * This symbol, if defined, indicates that the modfl routine is
3824 * broken for long doubles >= pow(2, 32).
3825 * For example from 4294967303.150000 one would get 4294967302.000000
3826 * and 1.150000. The bug has been seen in certain versions of glibc,
3827 * release 2.2.2 is known to be okay.
3829 #$d_modfl HAS_MODFL /**/
3830 #$d_modflproto HAS_MODFL_PROTO /**/
3831 #$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
3834 * This symbol, if defined, indicates that the mprotect system call is
3835 * available to modify the access protection of a memory mapped file.
3837 #$d_mprotect HAS_MPROTECT /**/
3839 /* HAS_STRUCT_MSGHDR:
3840 * This symbol, if defined, indicates that the struct msghdr
3843 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3846 * This symbol, if defined, indicates that the nl_langinfo routine is
3847 * available to return local data. You will also need <langinfo.h>
3848 * and therefore I_LANGINFO.
3850 #$d_nl_langinfo HAS_NL_LANGINFO /**/
3853 * This symbol will be defined if the C compiler supports off64_t.
3855 #$d_off64_t HAS_OFF64_T /**/
3858 * This symbol, if defined, indicates that the prctl routine is
3859 * available to set process title.
3861 /* HAS_PRCTL_SET_NAME:
3862 * This symbol, if defined, indicates that the prctl routine is
3863 * available to set process title and supports PR_SET_NAME.
3865 #$d_prctl HAS_PRCTL /**/
3866 #$d_prctl_set_name HAS_PRCTL_SET_NAME /**/
3869 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3870 * to the absolute pathname of the executing program.
3872 /* PROCSELFEXE_PATH:
3873 * If HAS_PROCSELFEXE is defined this symbol is the filename
3874 * of the symbolic link pointing to the absolute pathname of
3875 * the executing program.
3877 #$d_procselfexe HAS_PROCSELFEXE /**/
3878 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3879 #define PROCSELFEXE_PATH $procselfexe /**/
3882 /* HAS_PTHREAD_ATTR_SETSCOPE:
3883 * This symbol, if defined, indicates that the pthread_attr_setscope
3884 * system call is available to set the contention scope attribute of
3885 * a thread attribute object.
3887 #$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3890 * This symbol, if defined, indicates that the readv routine is
3891 * available to do gather reads. You will also need <sys/uio.h>
3892 * and there I_SYSUIO.
3894 #$d_readv HAS_READV /**/
3897 * This symbol, if defined, indicates that the recvmsg routine is
3898 * available to send structured socket messages.
3900 #$d_recvmsg HAS_RECVMSG /**/
3903 * This symbol, if defined, indicates that the system provides
3904 * a prototype for the sbrk() function. Otherwise, it is up
3905 * to the program to supply one. Good guesses are
3906 * extern void* sbrk(int);
3907 * extern void* sbrk(size_t);
3909 #$d_sbrkproto HAS_SBRK_PROTO /**/
3912 * This symbol, if defined, indicates that the scalbnl routine is
3913 * available. If ilogbl is also present we can emulate frexpl.
3915 #$d_scalbnl HAS_SCALBNL /**/
3918 * This symbol, if defined, indicates that the sendmsg routine is
3919 * available to send structured socket messages.
3921 #$d_sendmsg HAS_SENDMSG /**/
3924 * This symbol, if defined, indicates that the setitimer routine is
3925 * available to set interval timers.
3927 #$d_setitimer HAS_SETITIMER /**/
3929 /* HAS_SETPROCTITLE:
3930 * This symbol, if defined, indicates that the setproctitle routine is
3931 * available to set process title.
3933 #$d_setproctitle HAS_SETPROCTITLE /**/
3936 * This symbol, if defined, indicates that the signbit routine is
3937 * available to check if the given number has the sign bit set.
3938 * This should include correct testing of -0.0. This will only be set
3939 * if the signbit() routine is safe to use with the NV type used internally
3940 * in perl. Users should call Perl_signbit(), which will be #defined to
3941 * the system's signbit() function or macro if this symbol is defined.
3943 #$d_signbit HAS_SIGNBIT /**/
3946 * This symbol, if defined, indicates that the sigprocmask
3947 * system call is available to examine or change the signal mask
3948 * of the calling process.
3950 #$d_sigprocmask HAS_SIGPROCMASK /**/
3952 /* USE_SITECUSTOMIZE:
3953 * This symbol, if defined, indicates that sitecustomize should
3956 #ifndef USE_SITECUSTOMIZE
3957 #$usesitecustomize USE_SITECUSTOMIZE /**/
3961 * This symbol, if defined, indicates that the snprintf () library
3962 * function is available for use.
3965 * This symbol, if defined, indicates that the vsnprintf () library
3966 * function is available for use.
3968 #$d_snprintf HAS_SNPRINTF /**/
3969 #$d_vsnprintf HAS_VSNPRINTF /**/
3972 * This symbol, if defined, indicates that the sockatmark routine is
3973 * available to test whether a socket is at the out-of-band mark.
3975 #$d_sockatmark HAS_SOCKATMARK /**/
3977 /* HAS_SOCKATMARK_PROTO:
3978 * This symbol, if defined, indicates that the system provides
3979 * a prototype for the sockatmark() function. Otherwise, it is up
3980 * to the program to supply one. A good guess is
3981 * extern int sockatmark(int);
3983 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3986 * This symbol, if defined, indicates that the socks5_init routine is
3987 * available to initialize SOCKS 5.
3989 #$d_socks5_init HAS_SOCKS5_INIT /**/
3991 /* SPRINTF_RETURNS_STRLEN:
3992 * This variable defines whether sprintf returns the length of the string
3993 * (as per the ANSI spec). Some C libraries retain compatibility with
3994 * pre-ANSI C and return a pointer to the passed in buffer; for these
3995 * this variable will be undef.
3997 #$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
4000 * This symbol, if defined, indicates that the sqrtl routine is
4001 * available to do long double square roots.
4003 #$d_sqrtl HAS_SQRTL /**/
4005 /* HAS_SETRESGID_PROTO:
4006 * This symbol, if defined, indicates that the system provides
4007 * a prototype for the setresgid() function. Otherwise, it is up
4008 * to the program to supply one. Good guesses are
4009 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
4011 #$d_sresgproto HAS_SETRESGID_PROTO /**/
4013 /* HAS_SETRESUID_PROTO:
4014 * This symbol, if defined, indicates that the system provides
4015 * a prototype for the setresuid() function. Otherwise, it is up
4016 * to the program to supply one. Good guesses are
4017 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
4019 #$d_sresuproto HAS_SETRESUID_PROTO /**/
4021 /* HAS_STRUCT_STATFS_F_FLAGS:
4022 * This symbol, if defined, indicates that the struct statfs
4023 * does have the f_flags member containing the mount flags of
4024 * the filesystem containing the file.
4025 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
4026 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
4027 * have statfs() and struct statfs, they have ustat() and getmnt()
4028 * with struct ustat and struct fs_data.
4030 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
4032 /* HAS_STRUCT_STATFS:
4033 * This symbol, if defined, indicates that the struct statfs
4034 * to do statfs() is supported.
4036 #$d_statfs_s HAS_STRUCT_STATFS /**/
4039 * This symbol, if defined, indicates that the fstatvfs routine is
4040 * available to stat filesystems by file descriptors.
4042 #$d_fstatvfs HAS_FSTATVFS /**/
4045 * This symbol, if defined, indicates that the strftime routine is
4046 * available to do time formatting.
4048 #$d_strftime HAS_STRFTIME /**/
4051 * This symbol, if defined, indicates that the strlcat () routine is
4052 * available to do string concatenation.
4054 #$d_strlcat HAS_STRLCAT /**/
4057 * This symbol, if defined, indicates that the strlcpy () routine is
4058 * available to do string copying.
4060 #$d_strlcpy HAS_STRLCPY /**/
4063 * This symbol, if defined, indicates that the strtold routine is
4064 * available to convert strings to long doubles.
4066 #$d_strtold HAS_STRTOLD /**/
4069 * This symbol, if defined, indicates that the strtoll routine is
4070 * available to convert strings to long longs.
4072 #$d_strtoll HAS_STRTOLL /**/
4075 * This symbol, if defined, indicates that the strtoq routine is
4076 * available to convert strings to long longs (quads).
4078 #$d_strtoq HAS_STRTOQ /**/
4081 * This symbol, if defined, indicates that the strtoull routine is
4082 * available to convert strings to unsigned long longs.
4084 #$d_strtoull HAS_STRTOULL /**/
4087 * This symbol, if defined, indicates that the strtouq routine is
4088 * available to convert strings to unsigned long longs (quads).
4090 #$d_strtouq HAS_STRTOUQ /**/
4092 /* HAS_SYSCALL_PROTO:
4093 * This symbol, if defined, indicates that the system provides
4094 * a prototype for the syscall() function. Otherwise, it is up
4095 * to the program to supply one. Good guesses are
4096 * extern int syscall(int, ...);
4097 * extern int syscall(long, ...);
4099 #$d_syscallproto HAS_SYSCALL_PROTO /**/
4101 /* HAS_TELLDIR_PROTO:
4102 * This symbol, if defined, indicates that the system provides
4103 * a prototype for the telldir() function. Otherwise, it is up
4104 * to the program to supply one. A good guess is
4105 * extern long telldir(DIR*);
4107 #$d_telldirproto HAS_TELLDIR_PROTO /**/
4110 * This symbol, if defined, indicates that the ctime64 () routine is
4111 * available to do the 64bit variant of ctime ()
4114 * This symbol, if defined, indicates that the localtime64 () routine is
4115 * available to do the 64bit variant of localtime ()
4118 * This symbol, if defined, indicates that the gmtime64 () routine is
4119 * available to do the 64bit variant of gmtime ()
4122 * This symbol, if defined, indicates that the mktime64 () routine is
4123 * available to do the 64bit variant of mktime ()
4126 * This symbol, if defined, indicates that the difftime64 () routine is
4127 * available to do the 64bit variant of difftime ()
4130 * This symbol, if defined, indicates that the asctime64 () routine is
4131 * available to do the 64bit variant of asctime ()
4133 #$d_ctime64 HAS_CTIME64 /**/
4134 #$d_localtime64 HAS_LOCALTIME64 /**/
4135 #$d_gmtime64 HAS_GMTIME64 /**/
4136 #$d_mktime64 HAS_MKTIME64 /**/
4137 #$d_difftime64 HAS_DIFFTIME64 /**/
4138 #$d_asctime64 HAS_ASCTIME64 /**/
4141 * This symbol, if defined, indicates that the timegm routine is
4142 * available to do the opposite of gmtime ()
4144 #$d_timegm HAS_TIMEGM /**/
4146 /* U32_ALIGNMENT_REQUIRED:
4147 * This symbol, if defined, indicates that you must access
4148 * character data through U32-aligned pointers.
4150 #ifndef U32_ALIGNMENT_REQUIRED
4151 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
4155 * This symbol, if defined, indicates that the ualarm routine is
4156 * available to do alarms with microsecond granularity.
4158 #$d_ualarm HAS_UALARM /**/
4161 * This symbol, if defined, indicates that the unordered routine is
4162 * available to check whether two doubles are unordered
4163 * (effectively: whether either of them is NaN)
4165 #$d_unordered HAS_UNORDERED /**/
4168 * This symbol, if defined, indicates that the unsetenv () routine is
4169 * available for use.
4171 #$d_unsetenv HAS_UNSETENV /**/
4173 /* HAS_USLEEP_PROTO:
4174 * This symbol, if defined, indicates that the system provides
4175 * a prototype for the usleep() function. Otherwise, it is up
4176 * to the program to supply one. A good guess is
4177 * extern int usleep(useconds_t);
4179 #$d_usleepproto HAS_USLEEP_PROTO /**/
4182 * This symbol, if defined, indicates that the ustat system call is
4183 * available to query file system statistics by dev_t.
4185 #$d_ustat HAS_USTAT /**/
4188 * This symbol, if defined, indicates that the wcscmp routine is
4189 * available to compare two wide character strings.
4191 #$d_wcscmp HAS_WCSCMP /**/
4194 * This symbol, if defined, indicates that the wcsxfrm routine is
4195 * available to tranform a wide character string for wcscmp().
4197 #$d_wcsxfrm HAS_WCSXFRM /**/
4200 * This symbol, if defined, indicates that the writev routine is
4201 * available to do scatter writes.
4203 #$d_writev HAS_WRITEV /**/
4205 /* USE_DYNAMIC_LOADING:
4206 * This symbol, if defined, indicates that dynamic loading of
4207 * some sort is available.
4209 #$usedl USE_DYNAMIC_LOADING /**/
4212 * This symbol, if defined, tells that fflush(NULL) correctly
4213 * flushes all pending stdio output without side effects. In
4214 * particular, on some platforms calling fflush(NULL) *still*
4215 * corrupts STDIN if it is a pipe.
4218 * This symbol, if defined, tells that to flush
4219 * all pending stdio output one must loop through all
4220 * the stdio file handles stored in an array and fflush them.
4221 * Note that if fflushNULL is defined, fflushall will not
4222 * even be probed for and will be left undefined.
4224 #$fflushNULL FFLUSH_NULL /**/
4225 #$fflushall FFLUSH_ALL /**/
4228 * This symbol, if defined, indicates that <assert.h> exists and
4229 * could be included by the C program to get the assert() macro.
4231 #$i_assert I_ASSERT /**/
4234 * This symbol, if defined, indicates that <bfd.h> exists and
4235 * could be included by the C program to use the BFD library.
4240 * This symbol, if defined, indicates that <crypt.h> exists and
4241 * should be included.
4243 #$i_crypt I_CRYPT /**/
4246 * This symbol contains the type of the prefix structure element
4247 * in the <db.h> header file. In older versions of DB, it was
4248 * int, while in newer ones it is u_int32_t.
4251 * This symbol contains the type of the prefix structure element
4252 * in the <db.h> header file. In older versions of DB, it was
4253 * int, while in newer ones it is size_t.
4255 /* DB_VERSION_MAJOR_CFG:
4256 * This symbol, if defined, defines the major version number of
4257 * Berkeley DB found in the <db.h> header when Perl was configured.
4259 /* DB_VERSION_MINOR_CFG:
4260 * This symbol, if defined, defines the minor version number of
4261 * Berkeley DB found in the <db.h> header when Perl was configured.
4262 * For DB version 1 this is always 0.
4264 /* DB_VERSION_PATCH_CFG:
4265 * This symbol, if defined, defines the patch version number of
4266 * Berkeley DB found in the <db.h> header when Perl was configured.
4267 * For DB version 1 this is always 0.
4269 #define DB_Hash_t $db_hashtype /**/
4270 #define DB_Prefix_t $db_prefixtype /**/
4271 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
4272 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
4273 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
4276 * This symbol, if defined, indicates that <fp.h> exists and
4277 * should be included.
4282 * This symbol, if defined, indicates that <fp_class.h> exists and
4283 * should be included.
4285 #$i_fp_class I_FP_CLASS /**/
4288 * This symbol, if defined, indicates that <ieeefp.h> exists and
4289 * should be included.
4291 #$i_ieeefp I_IEEEFP /**/
4294 * This symbol, if defined, indicates to the C program that it should
4295 * include <inttypes.h>.
4297 #$i_inttypes I_INTTYPES /**/
4300 * This symbol, if defined, indicates that <langinfo.h> exists and
4301 * should be included.
4303 #$i_langinfo I_LANGINFO /**/
4306 * This symbol, if defined, indicates that <libutil.h> exists and
4307 * should be included.
4309 #$i_libutil I_LIBUTIL /**/
4312 * This symbol, if defined, indicates to the C program that it should
4313 * include <malloc/malloc.h>.
4315 #$i_mallocmalloc I_MALLOCMALLOC /**/
4318 * This symbol, if defined, indicates that <mntent.h> exists and
4319 * should be included.
4321 #$i_mntent I_MNTENT /**/
4324 * This symbol, if defined, indicates to the C program that it should
4325 * include <netinet/tcp.h>.
4327 #$i_netinettcp I_NETINET_TCP /**/
4330 * This symbol, if defined, indicates that <poll.h> exists and
4331 * should be included. (see also HAS_POLL)
4333 #$i_poll I_POLL /**/
4336 * This symbol, if defined, indicates that <prot.h> exists and
4337 * should be included.
4339 #$i_prot I_PROT /**/
4342 * This symbol, if defined, indicates that <shadow.h> exists and
4343 * should be included.
4345 #$i_shadow I_SHADOW /**/
4348 * This symbol, if defined, indicates that <socks.h> exists and
4349 * should be included.
4351 #$i_socks I_SOCKS /**/
4354 * This symbol, if defined, indicates that <stdbool.h> exists and
4357 #$i_stdbool I_STDBOOL /**/
4360 * This symbol, if defined, indicates that <sunmath.h> exists and
4361 * should be included.
4363 #$i_sunmath I_SUNMATH /**/
4366 * This symbol, if defined, indicates that <syslog.h> exists and
4367 * should be included.
4369 #$i_syslog I_SYSLOG /**/
4372 * This symbol, if defined, indicates that <sys/mode.h> exists and
4373 * should be included.
4375 #$i_sysmode I_SYSMODE /**/
4378 * This symbol, if defined, indicates that <sys/mount.h> exists and
4379 * should be included.
4381 #$i_sysmount I_SYS_MOUNT /**/
4384 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4386 #$i_sysstatfs I_SYS_STATFS /**/
4389 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4390 * should be included.
4392 #$i_sysstatvfs I_SYS_STATVFS /**/
4395 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4396 * should be included.
4398 #$i_sysutsname I_SYSUTSNAME /**/
4401 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4402 * should be included.
4404 #$i_sysvfs I_SYS_VFS /**/
4407 * This symbol, if defined, indicates that <ustat.h> exists and
4408 * should be included.
4410 #$i_ustat I_USTAT /**/
4413 * This symbol, if defined, contains the string used by stdio to
4414 * format long doubles (format 'f') for output.
4417 * This symbol, if defined, contains the string used by stdio to
4418 * format long doubles (format 'g') for output.
4421 * This symbol, if defined, contains the string used by stdio to
4422 * format long doubles (format 'e') for output.
4425 * This symbol, if defined, contains the string used by stdio to
4426 * format long doubles (format 'f') for input.
4428 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
4429 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
4430 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
4431 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
4434 * This symbol, if defined, indicates that the Misc Attribution
4435 * Declaration code should be conditionally compiled.
4440 * This symbol, if defined, indicates that the system stores
4441 * the variable argument list datatype, va_list, in a format
4442 * that cannot be copied by simple assignment, so that some
4443 * other means must be used when copying is required.
4444 * As such systems vary in their provision (or non-provision)
4445 * of copying mechanisms, handy.h defines a platform-
4446 * independent macro, Perl_va_copy(src, dst), to do the job.
4448 #$need_va_copy NEED_VA_COPY /**/
4451 * This symbol defines the C type used for Perl's IV.
4454 * This symbol defines the C type used for Perl's UV.
4457 * This symbol defines the C type used for Perl's I8.
4460 * This symbol defines the C type used for Perl's U8.
4463 * This symbol defines the C type used for Perl's I16.
4466 * This symbol defines the C type used for Perl's U16.
4469 * This symbol defines the C type used for Perl's I32.
4472 * This symbol defines the C type used for Perl's U32.
4475 * This symbol defines the C type used for Perl's I64.
4478 * This symbol defines the C type used for Perl's U64.
4481 * This symbol defines the C type used for Perl's NV.
4484 * This symbol contains the sizeof(IV).
4487 * This symbol contains the sizeof(UV).
4490 * This symbol contains the sizeof(I8).
4493 * This symbol contains the sizeof(U8).
4496 * This symbol contains the sizeof(I16).
4499 * This symbol contains the sizeof(U16).
4502 * This symbol contains the sizeof(I32).
4505 * This symbol contains the sizeof(U32).
4508 * This symbol contains the sizeof(I64).
4511 * This symbol contains the sizeof(U64).
4514 * This symbol contains the sizeof(NV).
4517 * This symbol, if defined, indicates that a variable of type NVTYPE
4518 * can preserve all the bits of a variable of type UVTYPE.
4520 /* NV_PRESERVES_UV_BITS:
4521 * This symbol contains the number of bits a variable of type NVTYPE
4522 * can preserve of a variable of type UVTYPE.
4524 /* NV_OVERFLOWS_INTEGERS_AT:
4525 * This symbol gives the largest integer value that NVs can hold. This
4526 * value + 1.0 cannot be stored accurately. It is expressed as constant
4527 * floating point expression to reduce the chance of decimal/binary
4528 * conversion issues. If it can not be determined, the value 0 is given.
4530 /* NV_ZERO_IS_ALLBITS_ZERO:
4531 * This symbol, if defined, indicates that a variable of type NVTYPE
4532 * stores 0.0 in memory as all bits zero.
4534 #define IVTYPE $ivtype /**/
4535 #define UVTYPE $uvtype /**/
4536 #define I8TYPE $i8type /**/
4537 #define U8TYPE $u8type /**/
4538 #define I16TYPE $i16type /**/
4539 #define U16TYPE $u16type /**/
4540 #define I32TYPE $i32type /**/
4541 #define U32TYPE $u32type /**/
4543 #define I64TYPE $i64type /**/
4544 #define U64TYPE $u64type /**/
4546 #define NVTYPE $nvtype /**/
4547 #define IVSIZE $ivsize /**/
4548 #define UVSIZE $uvsize /**/
4549 #define I8SIZE $i8size /**/
4550 #define U8SIZE $u8size /**/
4551 #define I16SIZE $i16size /**/
4552 #define U16SIZE $u16size /**/
4553 #define I32SIZE $i32size /**/
4554 #define U32SIZE $u32size /**/
4556 #define I64SIZE $i64size /**/
4557 #define U64SIZE $u64size /**/
4559 #define NVSIZE $nvsize /**/
4560 #$d_nv_preserves_uv NV_PRESERVES_UV
4561 #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4562 #define NV_OVERFLOWS_INTEGERS_AT $nv_overflows_integers_at
4563 #$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4566 # if BYTEORDER == 0x1234
4568 # define BYTEORDER 0x12345678
4570 # if BYTEORDER == 0x4321
4572 # define BYTEORDER 0x87654321
4579 * This symbol defines the format string used for printing a Perl IV
4580 * as a signed decimal integer.
4583 * This symbol defines the format string used for printing a Perl UV
4584 * as an unsigned decimal integer.
4587 * This symbol defines the format string used for printing a Perl UV
4588 * as an unsigned octal integer.
4591 * This symbol defines the format string used for printing a Perl UV
4592 * as an unsigned hexadecimal integer in lowercase abcdef.
4595 * This symbol defines the format string used for printing a Perl UV
4596 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4599 * This symbol defines the format string used for printing a Perl NV
4600 * using %e-ish floating point format.
4603 * This symbol defines the format string used for printing a Perl NV
4604 * using %f-ish floating point format.
4607 * This symbol defines the format string used for printing a Perl NV
4608 * using %g-ish floating point format.
4610 #define IVdf $ivdformat /**/
4611 #define UVuf $uvuformat /**/
4612 #define UVof $uvoformat /**/
4613 #define UVxf $uvxformat /**/
4614 #define UVXf $uvXUformat /**/
4615 #define NVef $nveformat /**/
4616 #define NVff $nvfformat /**/
4617 #define NVgf $nvgformat /**/
4620 * This symbol holds the minimum number of bits operated by select.
4621 * That is, if you do select(n, ...), how many bits at least will be
4622 * cleared in the masks if some activity is detected. Usually this
4623 * is either n or 32*ceil(n/32), especially many little-endians do
4624 * the latter. This is only useful if you have select(), naturally.
4626 #define SELECT_MIN_BITS $selectminbits /**/
4629 * This variable contains the size of struct stat's st_ino in bytes.
4632 * This symbol holds the signedness of struct stat's st_ino.
4633 * 1 for unsigned, -1 for signed.
4635 #define ST_INO_SIGN $st_ino_sign /* st_ino sign */
4636 #define ST_INO_SIZE $st_ino_size /* st_ino size */
4639 * This variable contains the string to put in front of a perl
4640 * script to make sure (one hopes) that it runs with perl and not
4643 #define STARTPERL "$startperl" /**/
4645 /* HAS_STDIO_STREAM_ARRAY:
4646 * This symbol, if defined, tells that there is an array
4647 * holding the stdio streams.
4649 /* STDIO_STREAM_ARRAY:
4650 * This symbol tells the name of the array holding the stdio streams.
4651 * Usual values include _iob, __iob, and __sF.
4653 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4654 #ifdef HAS_STDIO_STREAM_ARRAY
4655 #define STDIO_STREAM_ARRAY $stdio_stream_array
4659 * This symbol contains the maximum value for the time_t offset that
4660 * the system function gmtime () accepts, and defaults to 0
4663 * This symbol contains the minimum value for the time_t offset that
4664 * the system function gmtime () accepts, and defaults to 0
4667 * This symbol contains the maximum value for the time_t offset that
4668 * the system function localtime () accepts, and defaults to 0
4671 * This symbol contains the minimum value for the time_t offset that
4672 * the system function localtime () accepts, and defaults to 0
4674 #define GMTIME_MAX $sGMTIME_max /**/
4675 #define GMTIME_MIN $sGMTIME_min /**/
4676 #define LOCALTIME_MAX $sLOCALTIME_max /**/
4677 #define LOCALTIME_MIN $sLOCALTIME_min /**/
4680 * This symbol, if defined, indicates that 64-bit integers should
4681 * be used when available. If not defined, the native integers
4682 * will be employed (be they 32 or 64 bits). The minimal possible
4683 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4684 * This may mean using for example "long longs", while your memory
4685 * may still be limited to 2 gigabytes.
4688 * This symbol, if defined, indicates that 64-bit integers should
4689 * be used when available. If not defined, the native integers
4690 * will be used (be they 32 or 64 bits). The maximal possible
4691 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4692 * be able to use more than 2 gigabytes of memory. This mode is
4693 * even more binary incompatible than USE_64_BIT_INT. You may not
4694 * be able to run the resulting executable in a 32-bit CPU at all or
4695 * you may need at least to reboot your OS to 64-bit mode.
4697 #ifndef USE_64_BIT_INT
4698 #$use64bitint USE_64_BIT_INT /**/
4700 #ifndef USE_64_BIT_ALL
4701 #$use64bitall USE_64_BIT_ALL /**/
4705 * This symbol, if defined, indicates that Perl should
4706 * be built with support for DTrace.
4708 #$usedtrace USE_DTRACE /**/
4711 * This symbol, if defined, indicates that Perl should
4712 * be built to use 'fast stdio'.
4713 * Defaults to define in Perls 5.8 and earlier, to undef later.
4715 #ifndef USE_FAST_STDIO
4716 #$usefaststdio USE_FAST_STDIO /**/
4719 /* USE_KERN_PROC_PATHNAME:
4720 * This symbol, if defined, indicates that we can use sysctl with
4721 * KERN_PROC_PATHNAME to get a full path for the executable, and hence
4722 * convert $^X to an absolute path.
4724 #$usekernprocpathname USE_KERN_PROC_PATHNAME /**/
4727 * This symbol, if defined, indicates that large file support
4728 * should be used when available.
4730 #ifndef USE_LARGE_FILES
4731 #$uselargefiles USE_LARGE_FILES /**/
4735 * This symbol, if defined, indicates that long doubles should
4736 * be used when available.
4738 #ifndef USE_LONG_DOUBLE
4739 #$uselongdouble USE_LONG_DOUBLE /**/
4743 * This symbol, if defined, indicates that 64-bit interfaces and
4744 * long doubles should be used when available.
4746 #ifndef USE_MORE_BITS
4747 #$usemorebits USE_MORE_BITS /**/
4751 * This symbol, if defined, indicates that Perl should
4752 * be built to use multiplicity.
4754 #ifndef MULTIPLICITY
4755 #$usemultiplicity MULTIPLICITY /**/
4758 /* USE_NSGETEXECUTABLEPATH:
4759 * This symbol, if defined, indicates that we can use _NSGetExecutablePath
4760 * and realpath to get a full path for the executable, and hence convert
4761 * $^X to an absolute path.
4763 #$usensgetexecutablepath USE_NSGETEXECUTABLEPATH /**/
4766 * This symbol, if defined, indicates that the PerlIO abstraction should
4767 * be used throughout. If not defined, stdio should be
4768 * used in a fully backward compatible manner.
4771 #$useperlio USE_PERLIO /**/
4775 * This symbol, if defined, indicates that Perl should
4776 * be built to use socks.
4779 #$usesocks USE_SOCKS /**/