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 cbrt() (cube root)
86 * function is available.
88 #$d_cbrt HAS_CBRT /**/
91 * This symbol, if defined, indicates that the chown routine is
94 #$d_chown HAS_CHOWN /**/
97 * This symbol, if defined, indicates that the chroot routine is
100 #$d_chroot HAS_CHROOT /**/
103 * This symbol, if defined, indicates that the chsize routine is available
104 * to truncate files. You might need a -lx to get this routine.
106 #$d_chsize HAS_CHSIZE /**/
109 * This symbol, if defined, indicates that the crypt routine is available
110 * to encrypt passwords and the like.
112 #$d_crypt HAS_CRYPT /**/
115 * This symbol, if defined, indicates that the ctermid routine is
116 * available to generate filename for terminal.
118 #$d_ctermid HAS_CTERMID /**/
121 * This symbol, if defined, indicates that the cuserid routine is
122 * available to get character login names.
124 #$d_cuserid HAS_CUSERID /**/
127 * This symbol, if defined, indicates that this system's <float.h>
128 * or <limits.h> defines the symbol DBL_DIG, which is the number
129 * of significant digits in a double precision number. If this
130 * symbol is not defined, a guess of 15 is usually pretty good.
132 #$d_dbl_dig HAS_DBL_DIG /**/
135 * This symbol, if defined, indicates that the difftime routine is
138 #$d_difftime HAS_DIFFTIME /**/
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 dup2 routine is
149 * available to duplicate file descriptors.
151 #$d_dup2 HAS_DUP2 /**/
154 * This symbol, if defined, indicates that the fchmod routine is available
155 * to change mode of opened files. If unavailable, use chmod().
157 #$d_fchmod HAS_FCHMOD /**/
160 * This symbol, if defined, indicates that the fchown routine is available
161 * to change ownership of opened files. If unavailable, use chown().
163 #$d_fchown HAS_FCHOWN /**/
166 * This symbol, if defined, indicates to the C program that
167 * the fcntl() function exists.
169 #$d_fcntl HAS_FCNTL /**/
172 * This symbol, if defined, indicates that the fgetpos routine is
173 * available to get the file position indicator, similar to ftell().
175 #$d_fgetpos HAS_FGETPOS /**/
178 * This symbol, if defined, indicates that the flock routine is
179 * available to do file locking.
181 #$d_flock HAS_FLOCK /**/
184 * This symbol, if defined, indicates that the fork routine is
187 #$d_fork HAS_FORK /**/
190 * This symbol, if defined, indicates that the fsetpos routine is
191 * available to set the file position indicator, similar to fseek().
193 #$d_fsetpos HAS_FSETPOS /**/
196 * This symbol, if defined, indicates that the gettimeofday() system
197 * call is available for a sub-second accuracy clock. Usually, the file
198 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
199 * The type "Timeval" should be used to refer to "struct timeval".
201 #$d_gettimeod HAS_GETTIMEOFDAY /**/
202 #ifdef HAS_GETTIMEOFDAY
203 #define Timeval struct timeval /* Structure used by gettimeofday() */
207 * This symbol, if defined, indicates that the getgroups() routine is
208 * available to get the list of process groups. If unavailable, multiple
209 * groups are probably not supported.
211 #$d_getgrps HAS_GETGROUPS /**/
214 * This symbol, if defined, indicates that the getlogin routine is
215 * available to get the login name.
217 #$d_getlogin HAS_GETLOGIN /**/
220 * This symbol, if defined, indicates to the C program that
221 * the getpgid(pid) function is available to get the
224 #$d_getpgid HAS_GETPGID /**/
227 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
228 * routine is available to get the current process group.
230 #$d_getpgrp2 HAS_GETPGRP2 /**/
233 * This symbol, if defined, indicates that the getppid routine is
234 * available to get the parent process ID.
236 #$d_getppid HAS_GETPPID /**/
239 * This symbol, if defined, indicates that the getpriority routine is
240 * available to get a process's priority.
242 #$d_getprior HAS_GETPRIORITY /**/
245 * This symbol, if defined, indicates to the C program that the
246 * inet_aton() function is available to parse IP address "dotted-quad"
249 #$d_inetaton HAS_INET_ATON /**/
252 * This symbol, if defined, indicates that the killpg routine is available
253 * to kill process groups. If unavailable, you probably should use kill
254 * with a negative process number.
256 #$d_killpg HAS_KILLPG /**/
259 * This symbol, if defined, indicates that the link routine is
260 * available to create hard links.
262 #$d_link HAS_LINK /**/
265 * This symbol, if defined, indicates that the localeconv routine is
266 * available for numeric and monetary formatting conventions.
268 #$d_locconv HAS_LOCALECONV /**/
271 * This symbol, if defined, indicates that the lockf routine is
272 * available to do file locking.
274 #$d_lockf HAS_LOCKF /**/
277 * This symbol, if defined, indicates that the lstat routine is
278 * available to do file stats on symbolic links.
280 #$d_lstat HAS_LSTAT /**/
283 * This symbol, if defined, indicates that the mblen routine is available
284 * to find the number of bytes in a multibye character.
286 #$d_mblen HAS_MBLEN /**/
289 * This symbol, if defined, indicates that the mbstowcs routine is
290 * available to convert a multibyte string into a wide character string.
292 #$d_mbstowcs HAS_MBSTOWCS /**/
295 * This symbol, if defined, indicates that the mbtowc routine is available
296 * to convert a multibyte to a wide character.
298 #$d_mbtowc HAS_MBTOWC /**/
301 * This symbol, if defined, indicates that the memcmp routine is available
302 * to compare blocks of memory.
304 #$d_memcmp HAS_MEMCMP /**/
307 * This symbol, if defined, indicates that the memcpy routine is available
308 * to copy blocks of memory.
310 #$d_memcpy HAS_MEMCPY /**/
313 * This symbol, if defined, indicates that the memmove routine is available
314 * to copy potentially overlapping blocks of memory. This should be used
315 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
318 #$d_memmove HAS_MEMMOVE /**/
321 * This symbol, if defined, indicates that the memset routine is available
322 * to set blocks of memory.
324 #$d_memset HAS_MEMSET /**/
327 * This symbol, if defined, indicates that the mkdir routine is available
328 * to create directories. Otherwise you should fork off a new process to
331 #$d_mkdir HAS_MKDIR /**/
334 * This symbol, if defined, indicates that the mkfifo routine is
335 * available to create FIFOs. Otherwise, mknod should be able to
336 * do it for you. However, if mkfifo is there, mknod might require
337 * super-user privileges which mkfifo will not.
339 #$d_mkfifo HAS_MKFIFO /**/
342 * This symbol, if defined, indicates that the mktime routine is
345 #$d_mktime HAS_MKTIME /**/
348 * This symbol, if defined, indicates that the msync system call is
349 * available to synchronize a mapped file.
351 #$d_msync HAS_MSYNC /**/
354 * This symbol, if defined, indicates that the munmap system call is
355 * available to unmap a region, usually mapped by mmap().
357 #$d_munmap HAS_MUNMAP /**/
360 * This symbol, if defined, indicates that the nice routine is
363 #$d_nice HAS_NICE /**/
366 * This symbol, if defined, indicates that pathconf() is available
367 * to determine file-system related limits and options associated
368 * with a given filename.
371 * This symbol, if defined, indicates that pathconf() is available
372 * to determine file-system related limits and options associated
373 * with a given open file descriptor.
375 #$d_pathconf HAS_PATHCONF /**/
376 #$d_fpathconf HAS_FPATHCONF /**/
379 * This symbol, if defined, indicates that the pause routine is
380 * available to suspend a process until a signal is received.
382 #$d_pause HAS_PAUSE /**/
385 * This symbol, if defined, indicates that the pipe routine is
386 * available to create an inter-process channel.
388 #$d_pipe HAS_PIPE /**/
391 * This symbol, if defined, indicates that the poll routine is
392 * available to poll active file descriptors. Please check I_POLL and
393 * I_SYS_POLL to know which header should be included as well.
395 #$d_poll HAS_POLL /**/
398 * This symbol, if defined, indicates that the readdir routine is
399 * available to read directory entries. You may have to include
400 * <dirent.h>. See I_DIRENT.
402 #$d_readdir HAS_READDIR /**/
405 * This symbol, if defined, indicates that the seekdir routine is
406 * available. You may have to include <dirent.h>. See I_DIRENT.
408 #$d_seekdir HAS_SEEKDIR /**/
411 * This symbol, if defined, indicates that the telldir routine is
412 * available. You may have to include <dirent.h>. See I_DIRENT.
414 #$d_telldir HAS_TELLDIR /**/
417 * This symbol, if defined, indicates that the rewinddir routine is
418 * available. You may have to include <dirent.h>. See I_DIRENT.
420 #$d_rewinddir HAS_REWINDDIR /**/
423 * This symbol, if defined, indicates that the readlink routine is
424 * available to read the value of a symbolic link.
426 #$d_readlink HAS_READLINK /**/
429 * This symbol, if defined, indicates that the regcomp() routine is
430 * available to do some regular patern matching (usually on POSIX.2
431 * conforming systems).
433 #$d_regcomp HAS_REGCOMP /* POSIX.2 */
436 * This symbol, if defined, indicates that the rename routine is available
437 * to rename files. Otherwise you should do the unlink(), link(), unlink()
440 #$d_rename HAS_RENAME /**/
443 * This symbol, if defined, indicates that the rmdir routine is
444 * available to remove directories. Otherwise you should fork off a
445 * new process to exec /bin/rmdir.
447 #$d_rmdir HAS_RMDIR /**/
450 * This symbol, if defined, indicates that the select routine is
451 * available to select active file descriptors. If the timeout field
452 * is used, <sys/time.h> may need to be included.
454 #$d_select HAS_SELECT /**/
457 * This symbol, if defined, indicates that the setegid routine is available
458 * to change the effective gid of the current program.
460 #$d_setegid HAS_SETEGID /**/
463 * This symbol, if defined, indicates that the seteuid routine is available
464 * to change the effective uid of the current program.
466 #$d_seteuid HAS_SETEUID /**/
469 * This symbol, if defined, indicates that the setgroups() routine is
470 * available to set the list of process groups. If unavailable, multiple
471 * groups are probably not supported.
473 #$d_setgrps HAS_SETGROUPS /**/
476 * This symbol, if defined, indicates that the setlinebuf routine is
477 * available to change stderr or stdout from block-buffered or unbuffered
478 * to a line-buffered mode.
480 #$d_setlinebuf HAS_SETLINEBUF /**/
483 * This symbol, if defined, indicates that the setlocale routine is
484 * available to handle locale-specific ctype implementations.
486 #$d_setlocale HAS_SETLOCALE /**/
489 * This symbol, if defined, indicates that the setpgid(pid, gpid)
490 * routine is available to set process group ID.
492 #$d_setpgid HAS_SETPGID /**/
495 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
496 * routine is available to set the current process group.
498 #$d_setpgrp2 HAS_SETPGRP2 /**/
501 * This symbol, if defined, indicates that the setpriority routine is
502 * available to set a process's priority.
504 #$d_setprior HAS_SETPRIORITY /**/
507 * This symbol, if defined, indicates that the setregid routine is
508 * available to change the real and effective gid of the current
512 * This symbol, if defined, indicates that the setresgid routine is
513 * available to change the real, effective and saved gid of the current
516 #$d_setregid HAS_SETREGID /**/
517 #$d_setresgid HAS_SETRESGID /**/
520 * This symbol, if defined, indicates that the setreuid routine is
521 * available to change the real and effective uid of the current
525 * This symbol, if defined, indicates that the setresuid routine is
526 * available to change the real, effective and saved uid of the current
529 #$d_setreuid HAS_SETREUID /**/
530 #$d_setresuid HAS_SETRESUID /**/
533 * This symbol, if defined, indicates that the setrgid routine is available
534 * to change the real gid of the current program.
536 #$d_setrgid HAS_SETRGID /**/
539 * This symbol, if defined, indicates that the setruid routine is available
540 * to change the real uid of the current program.
542 #$d_setruid HAS_SETRUID /**/
545 * This symbol, if defined, indicates that the setsid routine is
546 * available to set the process group ID.
548 #$d_setsid HAS_SETSID /**/
551 * This symbol, if defined, indicates that the stat routine is
552 * available to get file status.
554 #$d_stat HAS_STAT /**/
557 * This symbol is defined to indicate that the strchr()/strrchr()
558 * functions are available for string searching. If not, try the
559 * index()/rindex() pair.
562 * This symbol is defined to indicate that the index()/rindex()
563 * functions are available for string searching.
565 #$d_strchr HAS_STRCHR /**/
566 #$d_index HAS_INDEX /**/
569 * This symbol, if defined, indicates that the strcoll routine is
570 * available to compare strings using collating information.
572 #$d_strcoll HAS_STRCOLL /**/
575 * This symbol, if defined, indicates that the strtod routine is
576 * available to provide better numeric string conversion than atof().
578 #$d_strtod HAS_STRTOD /**/
581 * This symbol, if defined, indicates that the strtol routine is available
582 * to provide better numeric string conversion than atoi() and friends.
584 #$d_strtol HAS_STRTOL /**/
587 * This symbol, if defined, indicates that the strxfrm() routine is
588 * available to transform strings.
590 #$d_strxfrm HAS_STRXFRM /**/
593 * This symbol, if defined, indicates that the symlink routine is available
594 * to create symbolic links.
596 #$d_symlink HAS_SYMLINK /**/
599 * This symbol, if defined, indicates that the syscall routine is
600 * available to call arbitrary system calls. If undefined, that's tough.
602 #$d_syscall HAS_SYSCALL /**/
605 * This symbol, if defined, indicates that sysconf() is available
606 * to determine system related limits and options.
608 #$d_sysconf HAS_SYSCONF /**/
611 * This symbol, if defined, indicates that the system routine is
612 * available to issue a shell command.
614 #$d_system HAS_SYSTEM /**/
617 * This symbol, if defined, indicates that the tcgetpgrp routine is
618 * available to get foreground process group ID.
620 #$d_tcgetpgrp HAS_TCGETPGRP /**/
623 * This symbol, if defined, indicates that the tcsetpgrp routine is
624 * available to set foreground process group ID.
626 #$d_tcsetpgrp HAS_TCSETPGRP /**/
629 * This symbol, if defined, indicates that the truncate routine is
630 * available to truncate files.
632 #$d_truncate HAS_TRUNCATE /**/
635 * This symbol, if defined, indicates that the tzname[] array is
636 * available to access timezone names.
638 #$d_tzname HAS_TZNAME /**/
641 * This symbol, if defined, indicates that the umask routine is
642 * available to set and get the value of the file creation mask.
644 #$d_umask HAS_UMASK /**/
647 * This symbol, if defined, indicates that the usleep routine is
648 * available to let the process sleep on a sub-second accuracy.
650 #$d_usleep HAS_USLEEP /**/
653 * This symbol, if defined, indicates that wait4() exists.
655 #$d_wait4 HAS_WAIT4 /**/
658 * This symbol, if defined, indicates that the waitpid routine is
659 * available to wait for child process.
661 #$d_waitpid HAS_WAITPID /**/
664 * This symbol, if defined, indicates that the wcstombs routine is
665 * available to convert wide character strings to multibyte strings.
667 #$d_wcstombs HAS_WCSTOMBS /**/
670 * This symbol, if defined, indicates that the wctomb routine is available
671 * to convert a wide character to a multibyte.
673 #$d_wctomb HAS_WCTOMB /**/
676 * This symbol holds the type used for the second argument to
677 * getgroups() and setgroups(). Usually, this is the same as
678 * gidtype (gid_t) , but sometimes it isn't.
679 * It can be int, ushort, gid_t, etc...
680 * It may be necessary to include <sys/types.h> to get any
681 * typedef'ed information. This is only required if you have
682 * getgroups() or setgroups()..
684 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
685 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
689 * This symbol, if defined, indicates to the C program that it should
690 * include <arpa/inet.h> to get inet_addr and friends declarations.
692 #$i_arpainet I_ARPA_INET /**/
695 * This symbol, if defined, indicates that <dbm.h> exists and should
699 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
700 * should be included.
703 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
706 * This symbol, if defined, indicates that <dlfcn.h> exists and should
709 #$i_dlfcn I_DLFCN /**/
712 * This manifest constant tells the C program to include <fcntl.h>.
714 #$i_fcntl I_FCNTL /**/
717 * This symbol, if defined, indicates to the C program that it should
718 * include <float.h> to get definition of symbols like DBL_MAX or
719 * DBL_MIN, i.e. machine dependent floating point values.
721 #$i_float I_FLOAT /**/
724 * This symbol, if defined, indicates that <gdbm.h> exists and should
730 * This symbol, if defined, indicates to the C program that it should
731 * include <limits.h> to get definition of symbols like WORD_BIT or
732 * LONG_MAX, i.e. machine dependant limitations.
734 #$i_limits I_LIMITS /**/
737 * This symbol, if defined, indicates to the C program that it should
738 * include <locale.h>.
740 #$i_locale I_LOCALE /**/
743 * This symbol, if defined, indicates to the C program that it should
749 * This symbol, if defined, indicates to the C program that it should
750 * include <memory.h>.
752 #$i_memory I_MEMORY /**/
755 * This symbol, if defined, indicates to the C program that it should
756 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
758 #$i_niin I_NETINET_IN /**/
761 * This symbol, if defined, indicates that <stddef.h> exists and should
764 #$i_stddef I_STDDEF /**/
767 * This symbol, if defined, indicates that <stdlib.h> exists and should
770 #$i_stdlib I_STDLIB /**/
773 * This symbol, if defined, indicates to the C program that it should
774 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
776 #$i_string I_STRING /**/
779 * This symbol, if defined, indicates to the C program that it should
780 * include <sys/dir.h>.
782 #$i_sysdir I_SYS_DIR /**/
785 * This symbol, if defined, indicates to the C program that it should
786 * include <sys/file.h> to get definition of R_OK and friends.
788 #$i_sysfile I_SYS_FILE /**/
791 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
792 * be included. Otherwise, include <sgtty.h> or <termio.h>.
795 * This symbol, if defined, indicates the <sys/sockio.h> should be included
796 * to get socket ioctl options, like SIOCATMARK.
798 #$i_sysioctl I_SYS_IOCTL /**/
799 #$i_syssockio I_SYS_SOCKIO /**/
802 * This symbol, if defined, indicates to the C program that it should
803 * include <sys/ndir.h>.
805 #$i_sysndir I_SYS_NDIR /**/
808 * This symbol, if defined, indicates to the C program that it should
809 * include <sys/param.h>.
811 #$i_sysparam I_SYS_PARAM /**/
814 * This symbol, if defined, indicates that the program may include
815 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
816 * to only include <poll.h>.
818 #$i_syspoll I_SYS_POLL /**/
821 * This symbol, if defined, indicates to the C program that it should
822 * include <sys/resource.h>.
824 #$i_sysresrc I_SYS_RESOURCE /**/
827 * This symbol, if defined, indicates to the C program that it should
828 * include <sys/select.h> in order to get definition of struct timeval.
830 #$i_sysselct I_SYS_SELECT /**/
833 * This symbol, if defined, indicates to the C program that it should
834 * include <sys/stat.h>.
836 #$i_sysstat I_SYS_STAT /**/
839 * This symbol, if defined, indicates to the C program that it should
840 * include <sys/times.h>.
842 #$i_systimes I_SYS_TIMES /**/
845 * This symbol, if defined, indicates to the C program that it should
846 * include <sys/types.h>.
848 #$i_systypes I_SYS_TYPES /**/
851 * This symbol, if defined, indicates to the C program that it should
852 * include <sys/un.h> to get UNIX domain socket definitions.
854 #$i_sysun I_SYS_UN /**/
857 * This symbol, if defined, indicates to the C program that it should
858 * include <sys/wait.h>.
860 #$i_syswait I_SYS_WAIT /**/
863 * This symbol, if defined, indicates to the C program that it should
864 * include <unistd.h>.
866 #$i_unistd I_UNISTD /**/
869 * This symbol, if defined, indicates to the C program that it should
872 #$i_utime I_UTIME /**/
875 * This symbol, if defined, indicates to the C program that it should
876 * include <values.h> to get definition of symbols like MINFLOAT or
877 * MAXLONG, i.e. machine dependant limitations. Probably, you
878 * should use <limits.h> instead, if it is available.
880 #$i_values I_VALUES /**/
883 * This symbol, if defined, indicates to the C program that it should
886 #$i_vfork I_VFORK /**/
889 * This symbol is defined to be the type of char used in stdio.h.
890 * It has the values "unsigned char" or "char".
892 #define STDCHAR $stdchar /**/
895 * This variable is defined on systems supporting prototype declaration
896 * of functions with a variable number of arguments.
899 * This macro is used to declare function parameters in prototypes for
900 * functions with a variable number of parameters. Use double parentheses.
903 * int printf _V((char *fmt, ...));
905 * Remember to use the plain simple _() macro when declaring a function
906 * with no variable number of arguments, since it might be possible to
907 * have a non-effect _V() macro and still get prototypes via _().
909 #$vaproto CAN_VAPROTO /**/
911 #define _V(args) args
917 * This symbol contains the value of sizeof(int) so that the C
918 * preprocessor can make decisions based on it.
921 * This symbol contains the value of sizeof(long) so that the C
922 * preprocessor can make decisions based on it.
925 * This symbol contains the value of sizeof(short) so that the C
926 * preprocessor can make decisions based on it.
928 #define INTSIZE $intsize /**/
929 #define LONGSIZE $longsize /**/
930 #define SHORTSIZE $shortsize /**/
933 * This symbol, if defined, signifies that the build
934 * process will produce some binary files that are going to be
935 * used in a cross-platform environment. This is the case for
936 * example with the NeXT "fat" binaries that contain executables
939 #$multiarch MULTIARCH /**/
942 * This symbol, if defined, tells that there's a 64-bit integer type,
943 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
944 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
945 * or QUAD_IS___INT64.
947 #$d_quad HAS_QUAD /**/
949 # define Quad_t $quadtype /**/
950 # define Uquad_t $uquadtype /**/
951 # define QUADKIND $quadkind /**/
952 # define QUAD_IS_INT 1
953 # define QUAD_IS_LONG 2
954 # define QUAD_IS_LONG_LONG 3
955 # define QUAD_IS_INT64_T 4
956 # define QUAD_IS___INT64 5
960 * This symbol, if defined, indicates that the accessx routine is
961 * available to do extended access checks.
963 #$d_accessx HAS_ACCESSX /**/
966 * This symbol, if defined, indicates that the eaccess routine is
967 * available to do extended access checks.
969 #$d_eaccess HAS_EACCESS /**/
972 * This symbol, if defined, indicates to the C program that it should
973 * include <sys/access.h>.
975 #$i_sysaccess I_SYS_ACCESS /**/
978 * This symbol, if defined, indicates to the C program that it should
979 * include <sys/security.h>.
981 #$i_syssecrt I_SYS_SECURITY /**/
984 * This symbol contains the number of bytes required to align a
985 * double, or a long double when applicable. Usual values are 2,
986 * 4 and 8. The default is eight, for safety. For cross-compiling
987 * or multiarch support, Configure will set a minimum of 8.
989 #define MEM_ALIGNBYTES $alignbytes
992 * This symbol holds the hexadecimal constant defined in byteorder,
993 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
994 * If the compiler supports cross-compiling or multiple-architecture
995 * binaries, use compiler-defined macros to
996 * determine the byte order.
998 #if defined(MULTIARCH)
999 # ifdef __LITTLE_ENDIAN__
1001 # define BYTEORDER 0x1234
1004 # define BYTEORDER 0x12345678
1008 # ifdef __BIG_ENDIAN__
1010 # define BYTEORDER 0x4321
1013 # define BYTEORDER 0x87654321
1019 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1023 * This symbol contains the size of a char, so that the C preprocessor
1024 * can make decisions based on it.
1026 #define CHARBITS $charbits /**/
1029 * This symbol is defined if the C compiler can cast negative
1030 * or large floating point numbers to 32-bit ints.
1032 #$d_casti32 CASTI32 /**/
1035 * This symbol is defined if the C compiler can cast negative
1036 * numbers to unsigned longs, ints and shorts.
1039 * This symbol contains flags that say what difficulties the compiler
1040 * has casting odd floating values to unsigned long:
1042 * 1 = couldn't cast < 0
1043 * 2 = couldn't cast >= 0x80000000
1044 * 4 = couldn't cast in argument expression list
1046 #$d_castneg CASTNEGFLOAT /**/
1047 #define CASTFLAGS $castflags /**/
1050 * This symbol, if defined, indicates that the closedir() routine
1051 * does not return a value.
1053 #$d_void_closedir VOID_CLOSEDIR /**/
1056 * This symbol, when defined, indicates presence of the fd_set typedef
1059 #$d_fd_set HAS_FD_SET /**/
1062 * This preprocessor macro is defined to convert a floating point
1063 * number to a string without a trailing decimal point. This
1064 * emulates the behavior of sprintf("%g"), but is sometimes much more
1065 * efficient. If gconvert() is not available, but gcvt() drops the
1066 * trailing decimal point, then gcvt() is used. If all else fails,
1067 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1068 * macro are: value, number of digits, whether trailing zeros should
1069 * be retained, and the output buffer.
1070 * The usual values are:
1071 * d_Gconvert='gconvert((x),(n),(t),(b))'
1072 * d_Gconvert='gcvt((x),(n),(b))'
1073 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1074 * The last two assume trailing zeros should not be kept.
1076 #define Gconvert(x,n,t,b) $d_Gconvert
1079 * This symbol, if defined, indicates that the getpagesize system call
1080 * is available to get system page size, which is the granularity of
1081 * many memory management calls.
1083 #$d_getpagsz HAS_GETPAGESIZE /**/
1086 * This symbol, if defined, indicates to the C program that
1087 * the GNU C library is being used. A better check is to use
1088 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1090 #$d_gnulibc HAS_GNULIBC /**/
1091 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1092 # define _GNU_SOURCE
1096 * This manifest constant lets the C program know that isascii
1099 #$d_isascii HAS_ISASCII /**/
1102 * This symbol, if defined, indicates that the lchown routine is
1103 * available to operate on a symbolic link (instead of following the
1106 #$d_lchown HAS_LCHOWN /**/
1109 * This manifest constant lets the C program know that the three
1110 * argument form of open(2) is available.
1112 #$d_open3 HAS_OPEN3 /**/
1115 * This symbol, if defined, indicates that the bcopy routine is available
1116 * to copy potentially overlapping memory blocks. Normally, you should
1117 * probably use memmove() or memcpy(). If neither is defined, roll your
1120 #$d_safebcpy HAS_SAFE_BCOPY /**/
1123 * This symbol, if defined, indicates that the memcpy routine is available
1124 * to copy potentially overlapping memory blocks. If you need to
1125 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
1126 * use memmove() instead, if available.
1128 #$d_safemcpy HAS_SAFE_MEMCPY /**/
1131 * This symbol, if defined, indicates that the memcmp routine is available
1132 * and can be used to compare relative magnitudes of chars with their high
1133 * bits set. If it is not defined, roll your own version.
1135 #$d_sanemcmp HAS_SANE_MEMCMP /**/
1138 * This symbol, if defined, indicates that Vr4's sigaction() routine
1141 #$d_sigaction HAS_SIGACTION /**/
1143 /* HAS_SIGINFO_SI_ERRNO:
1144 * This symbol, if defined, indicates that siginfo_t has the
1147 /* HAS_SIGINFO_SI_PID:
1148 * This symbol, if defined, indicates that siginfo_t has the
1151 /* HAS_SIGINFO_SI_UID:
1152 * This symbol, if defined, indicates that siginfo_t has the
1155 /* HAS_SIGINFO_SI_ADDR:
1156 * This symbol, if defined, indicates that siginfo_t has the
1159 /* HAS_SIGINFO_SI_STATUS:
1160 * This symbol, if defined, indicates that siginfo_t has the
1163 /* HAS_SIGINFO_SI_BAND:
1164 * This symbol, if defined, indicates that siginfo_t has the
1167 /* HAS_SIGINFO_SI_VALUE:
1168 * This symbol, if defined, indicates that siginfo_t has the
1171 #$d_siginfo_si_errno HAS_SIGINFO_SI_ERRNO /**/
1172 #$d_siginfo_si_pid HAS_SIGINFO_SI_PID /**/
1173 #$d_siginfo_si_uid HAS_SIGINFO_SI_UID /**/
1174 #$d_siginfo_si_addr HAS_SIGINFO_SI_ADDR /**/
1175 #$d_siginfo_si_status HAS_SIGINFO_SI_STATUS /**/
1176 #$d_siginfo_si_band HAS_SIGINFO_SI_BAND /**/
1177 #$d_siginfo_si_value HAS_SIGINFO_SI_VALUE /**/
1180 * This variable indicates to the C program that the sigsetjmp()
1181 * routine is available to save the calling process's registers
1182 * and stack environment for later use by siglongjmp(), and
1183 * to optionally save the process's signal mask. See
1184 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1187 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1190 * This macro is used in the same way as sigsetjmp(), but will invoke
1191 * traditional setjmp() if sigsetjmp isn't available.
1192 * See HAS_SIGSETJMP.
1195 * This macro is used in the same way as siglongjmp(), but will invoke
1196 * traditional longjmp() if siglongjmp isn't available.
1197 * See HAS_SIGSETJMP.
1199 #$d_sigsetjmp HAS_SIGSETJMP /**/
1200 #ifdef HAS_SIGSETJMP
1201 #define Sigjmp_buf sigjmp_buf
1202 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1203 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1205 #define Sigjmp_buf jmp_buf
1206 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1207 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1210 /* HAS_STATIC_INLINE:
1211 * This symbol, if defined, indicates that the C compiler supports
1212 * C99-style static inline. That is, the function can't be called
1213 * from another translation unit.
1215 /* PERL_STATIC_INLINE:
1216 * This symbol gives the best-guess incantation to use for static
1217 * inline functions. If HAS_STATIC_INLINE is defined, this will
1218 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
1219 * this will give a plain 'static'. It will always be defined
1220 * to something that gives static linkage.
1221 * Possibilities include
1222 * static inline (c99)
1223 * static __inline__ (gcc -ansi)
1224 * static __inline (MSVC)
1225 * static _inline (older MSVC)
1226 * static (c89 compilers)
1228 #$d_static_inline HAS_STATIC_INLINE /**/
1229 #define PERL_STATIC_INLINE $perl_static_inline /**/
1232 * This symbol is defined if the _ptr and _cnt fields (or similar)
1233 * of the stdio FILE structure can be used to access the stdio buffer
1234 * for a file handle. If this is defined, then the FILE_ptr(fp)
1235 * and FILE_cnt(fp) macros will also be defined and should be used
1236 * to access these fields.
1239 * This macro is used to access the _ptr field (or equivalent) of the
1240 * FILE structure pointed to by its argument. This macro will always be
1241 * defined if USE_STDIO_PTR is defined.
1243 /* STDIO_PTR_LVALUE:
1244 * This symbol is defined if the FILE_ptr macro can be used as an
1248 * This macro is used to access the _cnt field (or equivalent) of the
1249 * FILE structure pointed to by its argument. This macro will always be
1250 * defined if USE_STDIO_PTR is defined.
1252 /* STDIO_CNT_LVALUE:
1253 * This symbol is defined if the FILE_cnt macro can be used as an
1256 /* STDIO_PTR_LVAL_SETS_CNT:
1257 * This symbol is defined if using the FILE_ptr macro as an lvalue
1258 * to increase the pointer by n has the side effect of decreasing the
1259 * value of File_cnt(fp) by n.
1261 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
1262 * This symbol is defined if using the FILE_ptr macro as an lvalue
1263 * to increase the pointer by n leaves File_cnt(fp) unchanged.
1265 #$d_stdstdio USE_STDIO_PTR /**/
1266 #ifdef USE_STDIO_PTR
1267 #define FILE_ptr(fp) $stdio_ptr
1268 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
1269 #define FILE_cnt(fp) $stdio_cnt
1270 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
1271 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
1272 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
1276 * This symbol is defined if the _base field (or similar) of the
1277 * stdio FILE structure can be used to access the stdio buffer for
1278 * a file handle. If this is defined, then the FILE_base(fp) macro
1279 * will also be defined and should be used to access this field.
1280 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1281 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1282 * will never be defined unless USE_STDIO_PTR is.
1285 * This macro is used to access the _base field (or equivalent) of the
1286 * FILE structure pointed to by its argument. This macro will always be
1287 * defined if USE_STDIO_BASE is defined.
1290 * This macro is used to determine the number of bytes in the I/O
1291 * buffer pointed to by _base field (or equivalent) of the FILE
1292 * structure pointed to its argument. This macro will always be defined
1293 * if USE_STDIO_BASE is defined.
1295 #$d_stdiobase USE_STDIO_BASE /**/
1296 #ifdef USE_STDIO_BASE
1297 #define FILE_base(fp) $stdio_base
1298 #define FILE_bufsiz(fp) $stdio_bufsiz
1302 * This symbol, if defined, indicates that the vprintf routine is available
1303 * to printf with a pointer to an argument list. If unavailable, you
1304 * may need to write your own, probably in terms of _doprnt().
1306 /* USE_CHAR_VSPRINTF:
1307 * This symbol is defined if this system has vsprintf() returning type
1308 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1309 * is up to the package author to declare vsprintf correctly based on the
1312 #$d_vprintf HAS_VPRINTF /**/
1313 #$d_charvspr USE_CHAR_VSPRINTF /**/
1316 * This symbol contains the size of a double, so that the C preprocessor
1317 * can make decisions based on it.
1319 #define DOUBLESIZE $doublesize /**/
1322 * This symbol, if defined, indicates to the C program that it should
1326 * This symbol, if defined, indicates to the C program that it should
1327 * include <sys/time.h>.
1329 /* I_SYS_TIME_KERNEL:
1330 * This symbol, if defined, indicates to the C program that it should
1331 * include <sys/time.h> with KERNEL defined.
1334 * This symbol, if defined, indicates to the C program that
1335 * the struct tm has a tm_zone field.
1337 /* HAS_TM_TM_GMTOFF:
1338 * This symbol, if defined, indicates to the C program that
1339 * the struct tm has a tm_gmtoff field.
1341 #$i_time I_TIME /**/
1342 #$i_systime I_SYS_TIME /**/
1343 #$i_systimek I_SYS_TIME_KERNEL /**/
1344 #$d_tm_tm_zone HAS_TM_TM_ZONE /**/
1345 #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
1348 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1349 * non-blocking I/O for the file descriptor. Note that there is no way
1350 * back, i.e. you cannot turn it blocking again this way. If you wish to
1351 * alternatively switch between blocking and non-blocking, use the
1352 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1355 * This symbol holds the errno error code set by read() when no data was
1356 * present on the non-blocking file descriptor.
1359 * This symbol holds the return code from read() when no data is present
1360 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1361 * not defined, then you can't distinguish between no data and EOF by
1362 * issuing a read(). You'll have to find another way to tell for sure!
1365 * This symbol, if defined, indicates to the C program that a read() on
1366 * a non-blocking file descriptor will return 0 on EOF, and not the value
1367 * held in RD_NODATA (-1 usually, in that case!).
1369 #define VAL_O_NONBLOCK $o_nonblock
1370 #define VAL_EAGAIN $eagain
1371 #define RD_NODATA $rd_nodata
1372 #$d_eofnblk EOF_NONBLOCK
1375 * This symbol contains the size of a pointer, so that the C preprocessor
1376 * can make decisions based on it. It will be sizeof(void *) if
1377 * the compiler supports (void *); otherwise it will be
1380 #define PTRSIZE $ptrsize /**/
1383 * This macro is to be used to generate uniformly distributed
1384 * random numbers over the range [0., 1.[. You may have to supply
1385 * an 'extern double drand48();' in your program since SunOS 4.1.3
1386 * doesn't provide you with anything relevant in its headers.
1387 * See HAS_DRAND48_PROTO.
1390 * This symbol defines the type of the argument of the
1391 * random seed function.
1394 * This symbol defines the macro to be used in seeding the
1395 * random number generator (see Drand01).
1398 * This symbol indicates how many bits are produced by the
1399 * function used to generate normalized random numbers.
1400 * Values include 15, 16, 31, and 48.
1402 #define Drand01() $drand01 /**/
1403 #define Rand_seed_t $randseedtype /**/
1404 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
1405 #define RANDBITS $randbits /**/
1408 * This symbol holds the type used by functions that return
1409 * a count of bytes or an error condition. It must be a signed type.
1410 * It is usually ssize_t, but may be long or int, etc.
1411 * It may be necessary to include <sys/types.h> or <unistd.h>
1412 * to get any typedef'ed information.
1413 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1415 #define SSize_t $ssizetype /* signed count of bytes */
1418 * This symbol, if defined, indicates that this system uses
1421 #$ebcdic EBCDIC /**/
1424 * This variable, if defined, holds the name of the directory in
1425 * which the user wants to put architecture-dependent public
1426 * library files for $package. It is most often a local directory
1427 * such as /usr/local/lib. Programs using this variable must be
1428 * prepared to deal with filename expansion. If ARCHLIB is the
1429 * same as PRIVLIB, it is not defined, since presumably the
1430 * program already searches PRIVLIB.
1433 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1434 * in programs that are not prepared to deal with ~ expansion at run-time.
1436 #$d_archlib ARCHLIB "$archlib" /**/
1437 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
1440 * This symbol holds the path of the bin directory where the package will
1441 * be installed. Program must be prepared to deal with ~name substitution.
1444 * This symbol is the filename expanded version of the BIN symbol, for
1445 * programs that do not want to deal with that at run-time.
1447 /* PERL_RELOCATABLE_INC:
1448 * This symbol, if defined, indicates that we'd like to relocate entries
1449 * in @INC at run time based on the location of the perl binary.
1451 #define BIN "$bin" /**/
1452 #define BIN_EXP "$binexp" /**/
1453 #define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
1455 /* PERL_INC_VERSION_LIST:
1456 * This variable specifies the list of subdirectories in over
1457 * which perl.c:incpush() and lib/lib.pm will automatically
1458 * search when adding directories to @INC, in a format suitable
1459 * for a C initialization string. See the inc_version_list entry
1460 * in Porting/Glossary for more details.
1462 #$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
1464 /* INSTALL_USR_BIN_PERL:
1465 * This symbol, if defined, indicates that Perl is to be installed
1466 * also as /usr/bin/perl.
1468 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
1470 /* PERL_OTHERLIBDIRS:
1471 * This variable contains a colon-separated set of paths for the perl
1472 * binary to search for additional library files or modules.
1473 * These directories will be tacked to the end of @INC.
1474 * Perl will automatically search below each path for version-
1475 * and architecture-specific directories. See PERL_INC_VERSION_LIST
1478 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
1481 * This symbol contains the name of the private library for this package.
1482 * The library is private in the sense that it needn't be in anyone's
1483 * execution path, but it should be accessible by the world. The program
1484 * should be prepared to do ~ expansion.
1487 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1488 * in programs that are not prepared to deal with ~ expansion at run-time.
1490 #define PRIVLIB "$privlib" /**/
1491 #define PRIVLIB_EXP "$privlibexp" /**/
1494 * This symbol contains the name of the private library for this package.
1495 * The library is private in the sense that it needn't be in anyone's
1496 * execution path, but it should be accessible by the world. The program
1497 * should be prepared to do ~ expansion.
1498 * The standard distribution will put nothing in this directory.
1499 * After perl has been installed, users may install their own local
1500 * architecture-dependent modules in this directory with
1501 * MakeMaker Makefile.PL
1502 * or equivalent. See INSTALL for details.
1505 * This symbol contains the ~name expanded version of SITEARCH, to be used
1506 * in programs that are not prepared to deal with ~ expansion at run-time.
1508 #$d_sitearch SITEARCH "$sitearch" /**/
1509 #$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
1512 * This symbol contains the name of the private library for this package.
1513 * The library is private in the sense that it needn't be in anyone's
1514 * execution path, but it should be accessible by the world. The program
1515 * should be prepared to do ~ expansion.
1516 * The standard distribution will put nothing in this directory.
1517 * After perl has been installed, users may install their own local
1518 * architecture-independent modules in this directory with
1519 * MakeMaker Makefile.PL
1520 * or equivalent. See INSTALL for details.
1523 * This symbol contains the ~name expanded version of SITELIB, to be used
1524 * in programs that are not prepared to deal with ~ expansion at run-time.
1527 * This define is SITELIB_EXP with any trailing version-specific component
1528 * removed. The elements in inc_version_list (inc_version_list.U) can
1529 * be tacked onto this variable to generate a list of directories to search.
1531 #define SITELIB "$sitelib" /**/
1532 #define SITELIB_EXP "$sitelibexp" /**/
1533 #define SITELIB_STEM "$sitelib_stem" /**/
1536 * If defined, this symbol contains the name of a private library.
1537 * The library is private in the sense that it needn't be in anyone's
1538 * execution path, but it should be accessible by the world.
1539 * It may have a ~ on the front.
1540 * The standard distribution will put nothing in this directory.
1541 * Vendors who distribute perl may wish to place their own
1542 * architecture-dependent modules and extensions in this directory with
1543 * MakeMaker Makefile.PL INSTALLDIRS=vendor
1544 * or equivalent. See INSTALL for details.
1546 /* PERL_VENDORARCH_EXP:
1547 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
1548 * in programs that are not prepared to deal with ~ expansion at run-time.
1550 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
1551 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
1553 /* PERL_VENDORLIB_EXP:
1554 * This symbol contains the ~name expanded version of VENDORLIB, to be used
1555 * in programs that are not prepared to deal with ~ expansion at run-time.
1557 /* PERL_VENDORLIB_STEM:
1558 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
1559 * removed. The elements in inc_version_list (inc_version_list.U) can
1560 * be tacked onto this variable to generate a list of directories to search.
1562 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
1563 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
1566 * This symbol contains the name of the operating system, as determined
1567 * by Configure. You shouldn't rely on it too much; the specific
1568 * feature tests from Configure are generally more reliable.
1571 * This symbol contains the version of the operating system, as determined
1572 * by Configure. You shouldn't rely on it too much; the specific
1573 * feature tests from Configure are generally more reliable.
1575 #define OSNAME "$osname" /**/
1576 #define OSVERS "$osvers" /**/
1579 * This macro concatenates 2 tokens together.
1582 * This macro surrounds its token with double quotes.
1585 #define CAT2(a,b) a/**/b
1586 #define STRINGIFY(a) "a"
1588 #if $cpp_stuff == 42
1589 #define PeRl_CaTiFy(a, b) a ## b
1590 #define PeRl_StGiFy(a) #a
1591 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1592 #define StGiFy(a) PeRl_StGiFy(a)
1593 #define STRINGIFY(a) PeRl_StGiFy(a)
1595 #if $cpp_stuff != 1 && $cpp_stuff != 42
1596 #include "Bletch: How does this C preprocessor concatenate tokens?"
1600 * This symbol contains the first part of the string which will invoke
1601 * the C preprocessor on the standard input and produce to standard
1602 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1603 * call a wrapper. See CPPRUN.
1606 * This symbol contains the second part of the string which will invoke
1607 * the C preprocessor on the standard input and produce to standard
1608 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1609 * to specify standard input, otherwise the value is "".
1612 * This symbol contains the string which will invoke a C preprocessor on
1613 * the standard input and produce to standard output. It needs to end
1614 * with CPPLAST, after all other preprocessor flags have been specified.
1615 * The main difference with CPPSTDIN is that this program will never be a
1616 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1617 * available directly to the user. Note that it may well be different from
1618 * the preprocessor used to compile the C program.
1621 * This symbol is intended to be used along with CPPRUN in the same manner
1622 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1624 #define CPPSTDIN "$cppstdin"
1625 #define CPPMINUS "$cppminus"
1626 #define CPPRUN "$cpprun"
1627 #define CPPLAST "$cpplast"
1630 * This manifest constant lets the C program know that the access()
1631 * system call is available to check for accessibility using real UID/GID.
1632 * (always present on UNIX.)
1634 #$d_access HAS_ACCESS /**/
1636 /* HASATTRIBUTE_FORMAT:
1637 * Can we handle GCC attribute for checking printf-style formats
1639 /* PRINTF_FORMAT_NULL_OK:
1640 * Allows __printf__ format to be null when checking printf-style
1642 /* HASATTRIBUTE_MALLOC:
1643 * Can we handle GCC attribute for malloc-style functions.
1645 /* HASATTRIBUTE_NONNULL:
1646 * Can we handle GCC attribute for nonnull function parms.
1648 /* HASATTRIBUTE_NORETURN:
1649 * Can we handle GCC attribute for functions that do not return
1651 /* HASATTRIBUTE_PURE:
1652 * Can we handle GCC attribute for pure functions
1654 /* HASATTRIBUTE_UNUSED:
1655 * Can we handle GCC attribute for unused variables and arguments
1657 /* HASATTRIBUTE_DEPRECATED:
1658 * Can we handle GCC attribute for marking deprecated APIs
1660 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1661 * Can we handle GCC attribute for warning on unused results
1663 #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/
1664 #$d_attribute_format HASATTRIBUTE_FORMAT /**/
1665 #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
1666 #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1667 #$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1668 #$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1669 #$d_attribute_pure HASATTRIBUTE_PURE /**/
1670 #$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1671 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1674 * This symbol, if defined, indicates that the backtrace() routine is
1675 * available to get a stack trace. The <execinfo.h> header must be
1676 * included to use this routine.
1678 #$d_backtrace HAS_BACKTRACE /**/
1681 * This symbol, if defined, indicates that this C compiler knows about
1682 * the const type. There is no need to actually test for that symbol
1683 * within your programs. The mere use of the "const" keyword will
1684 * trigger the necessary tests.
1686 #$d_const HASCONST /**/
1692 * This symbol, if defined, indicates that the C-shell exists.
1695 * This symbol, if defined, contains the full pathname of csh.
1697 #$d_csh HAS_CSH /**/
1699 #define CSH "$full_csh" /**/
1703 * This symbol, if defined, indicates that the dladdr() routine is
1704 * available to query dynamic linker information for an address.
1705 * The <dlfcn.h> header must be included to use this routine.
1707 #$d_dladdr HAS_DLADDR /**/
1709 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1710 * This symbol, if defined, indicates that the bug that prevents
1711 * setuid scripts from being secure is not present in this kernel.
1714 * This symbol, if defined, indicates that the C program should
1715 * check the script that it is executing for setuid/setgid bits, and
1716 * attempt to emulate setuid/setgid on systems that have disabled
1717 * setuid #! scripts because the kernel can't do it securely.
1718 * It is up to the package designer to make sure that this emulation
1719 * is done securely. Among other things, it should do an fstat on
1720 * the script it just opened to make sure it really is a setuid/setgid
1721 * script, it should make sure the arguments passed correspond exactly
1722 * to the argument on the #! line, and it should not trust any
1723 * subprocesses to which it must pass the filename rather than the
1724 * file descriptor of the script to be executed.
1726 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1727 #$d_dosuid DOSUID /**/
1730 * This symbol, if defined, indicates that the getgrent routine is
1731 * available for finalizing sequential access of the group database.
1733 #$d_endgrent HAS_ENDGRENT /**/
1736 * This symbol, if defined, indicates that the endhostent() routine is
1737 * available to close whatever was being used for host queries.
1739 #$d_endhent HAS_ENDHOSTENT /**/
1742 * This symbol, if defined, indicates that the endnetent() routine is
1743 * available to close whatever was being used for network queries.
1745 #$d_endnent HAS_ENDNETENT /**/
1748 * This symbol, if defined, indicates that the endprotoent() routine is
1749 * available to close whatever was being used for protocol queries.
1751 #$d_endpent HAS_ENDPROTOENT /**/
1754 * This symbol, if defined, indicates that the getgrent routine is
1755 * available for finalizing sequential access of the passwd database.
1757 #$d_endpwent HAS_ENDPWENT /**/
1760 * This symbol, if defined, indicates that the endservent() routine is
1761 * available to close whatever was being used for service queries.
1763 #$d_endsent HAS_ENDSERVENT /**/
1766 * This symbol, if defined, indicates that the system supports filenames
1767 * longer than 14 characters.
1769 #$d_flexfnam FLEXFILENAMES /**/
1772 * This symbol, if defined, indicates that the getgrent routine is
1773 * available for sequential access of the group database.
1775 #$d_getgrent HAS_GETGRENT /**/
1777 /* HAS_GETHOSTBYADDR:
1778 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1779 * available to look up hosts by their IP addresses.
1781 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1783 /* HAS_GETHOSTBYNAME:
1784 * This symbol, if defined, indicates that the gethostbyname() routine is
1785 * available to look up host names in some data base or other.
1787 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1790 * This symbol, if defined, indicates that the gethostent() routine is
1791 * available to look up host names in some data base or another.
1793 #$d_gethent HAS_GETHOSTENT /**/
1796 * This symbol, if defined, indicates that the C program may use the
1797 * gethostname() routine to derive the host name. See also HAS_UNAME
1801 * This symbol, if defined, indicates that the C program may use the
1802 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1806 * This symbol, if defined, indicates the command to feed to the
1807 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1808 * and HAS_UNAME. Note that the command uses a fully qualified path,
1809 * so that it is safe even if used by a process with super-user
1813 * This symbol, if defined, indicates that the C program may use the
1814 * contents of PHOSTNAME as a command to feed to the popen() routine
1815 * to derive the host name.
1817 #$d_gethname HAS_GETHOSTNAME /**/
1818 #$d_uname HAS_UNAME /**/
1819 #$d_phostname HAS_PHOSTNAME /**/
1820 #ifdef HAS_PHOSTNAME
1821 #define PHOSTNAME "$aphostname" /* How to get the host name */
1824 /* HAS_GETNETBYADDR:
1825 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1826 * available to look up networks by their IP addresses.
1828 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1830 /* HAS_GETNETBYNAME:
1831 * This symbol, if defined, indicates that the getnetbyname() routine is
1832 * available to look up networks by their names.
1834 #$d_getnbyname HAS_GETNETBYNAME /**/
1837 * This symbol, if defined, indicates that the getnetent() routine is
1838 * available to look up network names in some data base or another.
1840 #$d_getnent HAS_GETNETENT /**/
1843 * This symbol, if defined, indicates that the getprotoent() routine is
1844 * available to look up protocols in some data base or another.
1846 #$d_getpent HAS_GETPROTOENT /**/
1849 * This symbol, if defined, indicates that the getpgrp routine is
1850 * available to get the current process group.
1853 * This symbol, if defined, indicates that getpgrp needs one
1854 * arguments whereas USG one needs none.
1856 #$d_getpgrp HAS_GETPGRP /**/
1857 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1859 /* HAS_GETPROTOBYNAME:
1860 * This symbol, if defined, indicates that the getprotobyname()
1861 * routine is available to look up protocols by their name.
1863 /* HAS_GETPROTOBYNUMBER:
1864 * This symbol, if defined, indicates that the getprotobynumber()
1865 * routine is available to look up protocols by their number.
1867 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1868 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1871 * This symbol, if defined, indicates that the getpwent routine is
1872 * available for sequential access of the passwd database.
1873 * If this is not available, the older getpw() function may be available.
1875 #$d_getpwent HAS_GETPWENT /**/
1878 * This symbol, if defined, indicates that the getservent() routine is
1879 * available to look up network services in some data base or another.
1881 #$d_getsent HAS_GETSERVENT /**/
1883 /* HAS_GETSERVBYNAME:
1884 * This symbol, if defined, indicates that the getservbyname()
1885 * routine is available to look up services by their name.
1887 /* HAS_GETSERVBYPORT:
1888 * This symbol, if defined, indicates that the getservbyport()
1889 * routine is available to look up services by their port.
1891 #$d_getsbyname HAS_GETSERVBYNAME /**/
1892 #$d_getsbyport HAS_GETSERVBYPORT /**/
1895 * This symbol, if defined, indicates that the htonl() routine (and
1896 * friends htons() ntohl() ntohs()) are available to do network
1897 * order byte swapping.
1900 * This symbol, if defined, indicates that the htons() routine (and
1901 * friends htonl() ntohl() ntohs()) are available to do network
1902 * order byte swapping.
1905 * This symbol, if defined, indicates that the ntohl() routine (and
1906 * friends htonl() htons() ntohs()) are available to do network
1907 * order byte swapping.
1910 * This symbol, if defined, indicates that the ntohs() routine (and
1911 * friends htonl() htons() ntohl()) are available to do network
1912 * order byte swapping.
1914 #$d_htonl HAS_HTONL /**/
1915 #$d_htonl HAS_HTONS /**/
1916 #$d_htonl HAS_NTOHL /**/
1917 #$d_htonl HAS_NTOHS /**/
1920 * This symbol will be defined if the C compiler supports long
1924 * This symbol contains the size of a long double, so that the
1925 * C preprocessor can make decisions based on it. It is only
1926 * defined if the system supports long doubles. Note that this
1927 * is sizeof(long double), which may include unused bytes.
1930 * This symbol, if defined, indicates that the ldexpl routine is
1931 * available to shift a long double floating-point number
1932 * by an integral power of 2.
1935 * LONG_DOUBLEKIND will be one of
1936 * LONG_DOUBLE_IS_DOUBLE
1937 * LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
1938 * LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
1939 * LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN
1940 * LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN
1941 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE
1942 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE
1943 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE
1944 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE
1945 * LONG_DOUBLE_IS_VAX_H_FLOAT
1946 * LONG_DOUBLE_IS_UNKNOWN_FORMAT
1947 * It is only defined if the system supports long doubles.
1949 /* LONG_DOUBLE_STYLE_IEEE:
1950 * This symbol, if defined, indicates that the long double
1951 * is any of the IEEE 754 style long doubles:
1952 * LONG_DOUBLE_STYLE_IEEE_STD, LONG_DOUBLE_STYLE_IEEE_EXTENDED,
1953 * LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE.
1955 /* LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE:
1956 * This symbol, if defined, indicates that the long double is
1957 * the 128-bit double-double.
1959 /* LONG_DOUBLE_STYLE_IEEE_EXTENDED:
1960 * This symbol, if defined, indicates that the long double is
1961 * the 80-bit IEEE 754. Note that despite the 'extended' this
1962 * is less than the 'std', since this is an extension of
1963 * the double precision.
1965 /* LONG_DOUBLE_STYLE_IEEE_STD:
1966 * This symbol, if defined, indicates that the long double is
1967 * the 128-bit IEEE 754.
1969 /* LONG_DOUBLE_STYLE_VAX:
1970 * This symbol, if defined, indicates that the long double is
1971 * the 128-bit VAX format H.
1973 #$d_ldexpl HAS_LDEXPL /**/
1974 #$d_longdbl HAS_LONG_DOUBLE /**/
1975 #ifdef HAS_LONG_DOUBLE
1976 #define LONG_DOUBLESIZE $longdblsize /**/
1977 #define LONG_DOUBLEKIND $longdblkind /**/
1978 #define LONG_DOUBLE_IS_DOUBLE 0
1979 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 1
1980 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 2
1981 #define LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN 3
1982 #define LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN 4
1983 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE 5
1984 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE 6
1985 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE 7
1986 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE 8
1987 #define LONG_DOUBLE_IS_VAX_H_FLOAT 9
1988 #define LONG_DOUBLE_IS_UNKNOWN_FORMAT -1
1989 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE /* back-compat */
1990 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE /* back-compat */
1991 #$d_long_double_style_ieee LONG_DOUBLE_STYLE_IEEE
1992 #$d_long_double_style_ieee_doubledouble LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE
1993 #$d_long_double_style_ieee_extended LONG_DOUBLE_STYLE_IEEE_EXTENDED
1994 #$d_long_double_style_ieee_std LONG_DOUBLE_STYLE_IEEE_STD
1995 #$d_long_double_style_vax LONG_DOUBLE_STYLE_VAX
1999 * This symbol will be defined if the C compiler supports long long.
2002 * This symbol contains the size of a long long, so that the
2003 * C preprocessor can make decisions based on it. It is only
2004 * defined if the system supports long long.
2006 #$d_longlong HAS_LONG_LONG /**/
2007 #ifdef HAS_LONG_LONG
2008 #define LONGLONGSIZE $longlongsize /**/
2012 * This symbol, if defined, indicates that the memchr routine is available
2013 * to locate characters within a C string.
2015 #$d_memchr HAS_MEMCHR /**/
2018 * This symbol, if defined, indicates that the mkstemp routine is
2019 * available to exclusively create and open a uniquely named
2022 #$d_mkstemp HAS_MKSTEMP /**/
2025 * This symbol, if defined, indicates that the mmap system call is
2026 * available to map a file into memory.
2029 * This symbol holds the return type of the mmap() system call
2030 * (and simultaneously the type of the first argument).
2031 * Usually set to 'void *' or 'caddr_t'.
2033 #$d_mmap HAS_MMAP /**/
2034 #define Mmap_t $mmaptype /**/
2037 * This symbol, if defined, indicates that the entire msg*(2) library is
2038 * supported (IPC mechanism based on message queues).
2040 #$d_msg HAS_MSG /**/
2043 * This symbol, if defined, indicates that the entire sem*(2) library is
2046 #$d_sem HAS_SEM /**/
2049 * This symbol, if defined, indicates that the setgrent routine is
2050 * available for initializing sequential access of the group database.
2052 #$d_setgrent HAS_SETGRENT /**/
2055 * This symbol, if defined, indicates that the sethostent() routine is
2058 #$d_sethent HAS_SETHOSTENT /**/
2061 * This symbol, if defined, indicates that the setnetent() routine is
2064 #$d_setnent HAS_SETNETENT /**/
2067 * This symbol, if defined, indicates that the setprotoent() routine is
2070 #$d_setpent HAS_SETPROTOENT /**/
2073 * This symbol, if defined, indicates that the setpgrp routine is
2074 * available to set the current process group.
2077 * This symbol, if defined, indicates that setpgrp needs two
2078 * arguments whereas USG one needs none. See also HAS_SETPGID
2079 * for a POSIX interface.
2081 #$d_setpgrp HAS_SETPGRP /**/
2082 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2085 * This symbol, if defined, indicates that the setpwent routine is
2086 * available for initializing sequential access of the passwd database.
2088 #$d_setpwent HAS_SETPWENT /**/
2091 * This symbol, if defined, indicates that the setservent() routine is
2094 #$d_setsent HAS_SETSERVENT /**/
2097 * This symbol, if defined, indicates that the setvbuf routine is
2098 * available to change buffering on an open stdio stream.
2099 * to a line-buffered mode.
2101 #$d_setvbuf HAS_SETVBUF /**/
2104 * This symbol, if defined, indicates that the entire shm*(2) library is
2107 #$d_shm HAS_SHM /**/
2110 * This symbol holds the return type of the shmat() system call.
2111 * Usually set to 'void *' or 'char *'.
2113 /* HAS_SHMAT_PROTOTYPE:
2114 * This symbol, if defined, indicates that the sys/shm.h includes
2115 * a prototype for shmat(). Otherwise, it is up to the program to
2116 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2117 * but not always right so it should be emitted by the program only
2118 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2120 #define Shmat_t $shmattype /**/
2121 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2124 * This symbol, if defined, indicates that the BSD socket interface is
2128 * This symbol, if defined, indicates that the BSD socketpair() call is
2131 /* HAS_SOCKADDR_SA_LEN:
2132 * This symbol, if defined, indicates that the struct sockaddr
2133 * structure has a member called sa_len, indicating the length of
2136 /* HAS_SOCKADDR_IN6:
2137 * This symbol, if defined, indicates the availability of
2138 * struct sockaddr_in6;
2140 /* HAS_SIN6_SCOPE_ID:
2141 * This symbol, if defined, indicates that the struct sockaddr_in6
2142 * structure has a member called sin6_scope_id.
2145 * This symbol, if defined, indicates the availability of
2148 /* HAS_IP_MREQ_SOURCE:
2149 * This symbol, if defined, indicates the availability of
2150 * struct ip_mreq_source;
2153 * This symbol, if defined, indicates the availability of
2156 /* HAS_IPV6_MREQ_SOURCE:
2157 * This symbol, if defined, indicates the availability of
2158 * struct ipv6_mreq_source;
2160 #$d_socket HAS_SOCKET /**/
2161 #$d_sockpair HAS_SOCKETPAIR /**/
2162 #$d_sockaddr_sa_len HAS_SOCKADDR_SA_LEN /**/
2163 #$d_sockaddr_in6 HAS_SOCKADDR_IN6 /**/
2164 #$d_sin6_scope_id HAS_SIN6_SCOPE_ID /**/
2165 #$d_ip_mreq HAS_IP_MREQ /**/
2166 #$d_ip_mreq_source HAS_IP_MREQ_SOURCE /**/
2167 #$d_ipv6_mreq HAS_IPV6_MREQ /**/
2168 #$d_ipv6_mreq_source HAS_IPV6_MREQ_SOURCE /**/
2171 * This symbol is defined if this system has a stat structure declaring
2172 * st_blksize and st_blocks.
2174 #ifndef USE_STAT_BLOCKS
2175 #$d_statblks USE_STAT_BLOCKS /**/
2179 * This symbol, if defined, indicates that this C compiler knows how
2180 * to copy structures. If undefined, you'll need to use a block copy
2181 * routine of some sort instead.
2183 #$d_strctcpy USE_STRUCT_COPY /**/
2186 * This symbol, if defined, indicates that the strerror routine is
2187 * available to translate error numbers to strings. See the writeup
2188 * of Strerror() in this file before you try to define your own.
2191 * This symbol, if defined, indicates that the sys_errlist array is
2192 * available to translate error numbers to strings. The extern int
2193 * sys_nerr gives the size of that table.
2196 * This preprocessor symbol is defined as a macro if strerror() is
2197 * not available to translate error numbers to strings but sys_errlist[]
2200 #$d_strerror HAS_STRERROR /**/
2201 #$d_syserrlst HAS_SYS_ERRLIST /**/
2202 #define Strerror(e) $d_strerrm
2205 * This symbol, if defined, indicates that the strtoul routine is
2206 * available to provide conversion of strings to unsigned long.
2208 #$d_strtoul HAS_STRTOUL /**/
2211 * This symbol, if defined, indicates that the union semun is
2212 * defined by including <sys/sem.h>. If not, the user code
2213 * probably needs to define it as:
2216 * struct semid_ds *buf;
2217 * unsigned short *array;
2220 /* USE_SEMCTL_SEMUN:
2221 * This symbol, if defined, indicates that union semun is
2222 * used for semctl IPC_STAT.
2224 /* USE_SEMCTL_SEMID_DS:
2225 * This symbol, if defined, indicates that struct semid_ds * is
2226 * used for semctl IPC_STAT.
2228 #$d_union_semun HAS_UNION_SEMUN /**/
2229 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2230 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2233 * This symbol, if defined, indicates that vfork() exists.
2235 #$d_vfork HAS_VFORK /**/
2238 * This symbol, if defined, indicates that an emulation of the
2239 * fork routine is available.
2241 #$d_pseudofork HAS_PSEUDOFORK /**/
2244 * This symbol's value is either "void" or "int", corresponding to the
2245 * appropriate return type of a signal handler. Thus, you can declare
2246 * a signal handler using "Signal_t (*handler)()", and define the
2247 * handler using "Signal_t handler(sig)".
2249 #define Signal_t $signal_t /* Signal handler's return type */
2252 * This symbol, if defined, indicates that this C compiler knows about
2253 * the volatile declaration.
2255 #$d_volatile HASVOLATILE /**/
2261 * This symbol, if defined, indicates to the C program that it should
2262 * include <dirent.h>. Using this symbol also triggers the definition
2263 * of the Direntry_t define which ends up being 'struct dirent' or
2264 * 'struct direct' depending on the availability of <dirent.h>.
2267 * This symbol, if defined, indicates to the C program that the length
2268 * of directory entry names is provided by a d_namlen field. Otherwise
2269 * you need to do strlen() on the d_name field.
2272 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2273 * whether dirent is available or not. You should use this pseudo type to
2274 * portably declare your directory entries.
2276 #$i_dirent I_DIRENT /**/
2277 #$d_dirnamlen DIRNAMLEN /**/
2278 #define Direntry_t $direntrytype
2281 * This symbol, if defined, indicates to the C program that it should
2282 * include <execinfo.h> for backtrace() support.
2284 #$i_execinfo I_EXECINFO /**/
2287 * This symbol, if defined, indicates to the C program that it should
2291 * This symbol, if defined, indicates to the C program that struct group
2292 * in <grp.h> contains gr_passwd.
2295 #$d_grpasswd GRPASSWD /**/
2298 * This symbol, if defined, indicates that <ndbm.h> exists and should
2302 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2303 * be included. This was the location of the ndbm.h compatibility file
2307 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2308 * be included. This is the location of the ndbm.h compatibility file
2311 /* NDBM_H_USES_PROTOTYPES:
2312 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2313 * prototypes instead of K&R style function declarations without any
2314 * parameter information. While ANSI C prototypes are supported in C++,
2315 * K&R style function declarations will yield errors.
2317 /* GDBMNDBM_H_USES_PROTOTYPES:
2318 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2319 * prototypes instead of K&R style function declarations without any
2320 * parameter information. While ANSI C prototypes are supported in C++,
2321 * K&R style function declarations will yield errors.
2323 /* GDBM_NDBM_H_USES_PROTOTYPES:
2324 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2325 * prototypes instead of K&R style function declarations without any
2326 * parameter information. While ANSI C prototypes are supported in C++,
2327 * K&R style function declarations will yield errors.
2329 #$i_ndbm I_NDBM /**/
2330 #$i_gdbmndbm I_GDBMNDBM /**/
2331 #$i_gdbm_ndbm I_GDBM_NDBM /**/
2332 #$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
2333 #$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
2334 #$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
2337 * This symbol, if defined, indicates that <netdb.h> exists and
2338 * should be included.
2340 #$i_netdb I_NETDB /**/
2343 * This symbol, if defined, indicates that <net/errno.h> exists and
2344 * should be included.
2346 #$i_neterrno I_NET_ERRNO /**/
2349 * This symbol, if defined, indicates to the C program that it should
2353 * This symbol, if defined, indicates to the C program that struct passwd
2354 * contains pw_quota.
2357 * This symbol, if defined, indicates to the C program that struct passwd
2361 * This symbol, if defined, indicates to the C program that struct passwd
2362 * contains pw_change.
2365 * This symbol, if defined, indicates to the C program that struct passwd
2366 * contains pw_class.
2369 * This symbol, if defined, indicates to the C program that struct passwd
2370 * contains pw_expire.
2373 * This symbol, if defined, indicates to the C program that struct passwd
2374 * contains pw_comment.
2377 * This symbol, if defined, indicates to the C program that struct passwd
2378 * contains pw_gecos.
2381 * This symbol, if defined, indicates to the C program that struct passwd
2382 * contains pw_passwd.
2385 #$d_pwquota PWQUOTA /**/
2386 #$d_pwage PWAGE /**/
2387 #$d_pwchange PWCHANGE /**/
2388 #$d_pwclass PWCLASS /**/
2389 #$d_pwexpire PWEXPIRE /**/
2390 #$d_pwcomment PWCOMMENT /**/
2391 #$d_pwgecos PWGECOS /**/
2392 #$d_pwpasswd PWPASSWD /**/
2395 * This symbol, if defined, indicates that <sys/uio.h> exists and
2396 * should be included.
2398 #$i_sysuio I_SYSUIO /**/
2401 * This symbol, if defined, indicates that the program should include
2402 * <termio.h> rather than <sgtty.h>. There are also differences in
2403 * the ioctl() calls that depend on the value of this symbol.
2406 * This symbol, if defined, indicates that the program should include
2407 * the POSIX termios.h rather than sgtty.h or termio.h.
2408 * There are also differences in the ioctl() calls that depend on the
2409 * value of this symbol.
2412 * This symbol, if defined, indicates that the program should include
2413 * <sgtty.h> rather than <termio.h>. There are also differences in
2414 * the ioctl() calls that depend on the value of this symbol.
2416 #$i_termio I_TERMIO /**/
2417 #$i_termios I_TERMIOS /**/
2418 #$i_sgtty I_SGTTY /**/
2421 * This symbol, if defined, indicates that <stdarg.h> exists and should
2425 * This symbol, if defined, indicates to the C program that it should
2426 * include <varargs.h>.
2428 #$i_stdarg I_STDARG /**/
2429 #$i_varargs I_VARARGS /**/
2432 * This variable contains the return type of free(). It is usually
2433 * void, but occasionally int.
2436 * This symbol is the type of pointer returned by malloc and realloc.
2438 #define Malloc_t $malloctype /**/
2439 #define Free_t $freetype /**/
2441 /* PERL_MALLOC_WRAP:
2442 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2444 #$usemallocwrap PERL_MALLOC_WRAP /**/
2447 * This symbol, if defined, indicates that we're using our own malloc.
2449 #$d_mymalloc MYMALLOC /**/
2452 * If defined, this macro indicates that the C compiler can handle
2453 * function prototypes.
2456 * This macro is used to declare function parameters for folks who want
2457 * to make declarations with prototypes using a different style than
2458 * the above macros. Use double parentheses. For example:
2460 * int main _((int argc, char *argv[]));
2462 #$prototype CAN_PROTOTYPE /**/
2463 #ifdef CAN_PROTOTYPE
2464 #define _(args) args
2470 * This symbol contains the full pathname to the shell used on this
2471 * on this system to execute Bourne shell scripts. Usually, this will be
2472 * /bin/sh, though it's possible that some systems will have /bin/ksh,
2473 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
2476 #define SH_PATH "$targetsh" /**/
2479 * This symbol contains a list of signal names in order of
2480 * signal number. This is intended
2481 * to be used as a static array initialization, like this:
2482 * char *sig_name[] = { SIG_NAME };
2483 * The signals in the list are separated with commas, and each signal
2484 * is surrounded by double quotes. There is no leading SIG in the signal
2485 * name, i.e. SIGQUIT is known as "QUIT".
2486 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2487 * etc., where nn is the actual signal number (e.g. NUM37).
2488 * The signal number for sig_name[i] is stored in sig_num[i].
2489 * The last element is 0 to terminate the list with a NULL. This
2490 * corresponds to the 0 at the end of the sig_name_init list.
2491 * Note that this variable is initialized from the sig_name_init,
2492 * not from sig_name (which is unused).
2495 * This symbol contains a list of signal numbers, in the same order as the
2496 * SIG_NAME list. It is suitable for static array initialization, as in:
2497 * int sig_num[] = { SIG_NUM };
2498 * The signals in the list are separated with commas, and the indices
2499 * within that list and the SIG_NAME list match, so it's easy to compute
2500 * the signal name from a number or vice versa at the price of a small
2501 * dynamic linear lookup.
2502 * Duplicates are allowed, but are moved to the end of the list.
2503 * The signal number corresponding to sig_name[i] is sig_number[i].
2504 * if (i < NSIG) then sig_number[i] == i.
2505 * The last element is 0, corresponding to the 0 at the end of
2506 * the sig_name_init list.
2507 * Note that this variable is initialized from the sig_num_init,
2508 * not from sig_num (which is unused).
2511 * This variable contains the number of elements of the SIG_NAME
2512 * and SIG_NUM arrays, excluding the final NULL entry.
2514 #define SIG_NAME $sig_name_init /**/
2515 #define SIG_NUM $sig_num_init /**/
2516 #define SIG_SIZE $sig_size /**/
2518 /* USE_CROSS_COMPILE:
2519 * This symbol, if defined, indicates that Perl is being cross-compiled.
2522 * This symbol, if defined, indicates the target architecture
2523 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2525 #ifndef USE_CROSS_COMPILE
2526 #$usecrosscompile USE_CROSS_COMPILE /**/
2527 #define PERL_TARGETARCH "$targetarch" /**/
2531 * This symbol, if defined, indicates that Perl was configured with
2532 * -Dusedevel, to enable development features. This should not be
2533 * done for production builds.
2535 #$usedevel PERL_USE_DEVEL /**/
2538 * This symbol, if defined, indicates that the atolf routine is
2539 * available to convert strings into long doubles.
2541 #$d_atolf HAS_ATOLF /**/
2544 * This symbol, if defined, indicates that the atoll routine is
2545 * available to convert strings into long longs.
2547 #$d_atoll HAS_ATOLL /**/
2550 * This symbol, if defined, indicates that the _fwalk system call is
2551 * available to apply a function to all the file handles.
2553 #$d__fwalk HAS__FWALK /**/
2556 * This symbol, if defined, indicates that the acosh routine is
2557 * available to do the inverse hyperbolic cosine function.
2559 #$d_acosh HAS_ACOSH /**/
2562 * This symbol, if defined, indicates that the aintl routine is
2563 * available. If copysignl is also present we can emulate modfl.
2565 #$d_aintl HAS_AINTL /**/
2568 * This symbol, if defined, indicates that the asinh routine is
2569 * available to do the inverse hyperbolic sine function.
2571 #$d_asinh HAS_ASINH /**/
2574 * This symbol, if defined, indicates that the atanh routine is
2575 * available to do the inverse hyperbolic tangent function.
2577 #$d_atanh HAS_ATANH /**/
2579 /* HAS_BUILTIN_CHOOSE_EXPR:
2580 * Can we handle GCC builtin for compile-time ternary-like expressions
2582 /* HAS_BUILTIN_EXPECT:
2583 * Can we handle GCC builtin for telling that certain values are more
2586 #$d_builtin_expect HAS_BUILTIN_EXPECT /**/
2587 #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
2589 /* HAS_C99_VARIADIC_MACROS:
2590 * If defined, the compiler supports C99 variadic macros.
2592 #$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
2595 * This symbol, if defined, indicates that the class routine is
2596 * available to classify doubles. Available for example in AIX.
2597 * The returned values are defined in <float.h> and are:
2599 * FP_PLUS_NORM Positive normalized, nonzero
2600 * FP_MINUS_NORM Negative normalized, nonzero
2601 * FP_PLUS_DENORM Positive denormalized, nonzero
2602 * FP_MINUS_DENORM Negative denormalized, nonzero
2604 * FP_MINUS_ZERO -0.0
2607 * FP_NANS Signaling Not a Number (NaNS)
2608 * FP_NANQ Quiet Not a Number (NaNQ)
2610 #$d_class HAS_CLASS /**/
2613 * This symbol, if defined, indicates that the clearenv () routine is
2614 * available for use.
2616 #$d_clearenv HAS_CLEARENV /**/
2618 /* HAS_STRUCT_CMSGHDR:
2619 * This symbol, if defined, indicates that the struct cmsghdr
2622 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
2625 * This symbol, if defined, indicates that the copysign routine is
2626 * available to do the copysign function.
2628 #$d_copysign HAS_COPYSIGN /**/
2631 * This symbol, if defined, indicates that the copysignl routine is
2632 * available. If aintl is also present we can emulate modfl.
2634 #$d_copysignl HAS_COPYSIGNL /**/
2637 * This symbol, if defined, indicates that a C++ compiler was
2638 * used to compiled Perl and will be used to compile extensions.
2640 #$d_cplusplus USE_CPLUSPLUS /**/
2642 /* HAS_DBMINIT_PROTO:
2643 * This symbol, if defined, indicates that the system provides
2644 * a prototype for the dbminit() function. Otherwise, it is up
2645 * to the program to supply one. A good guess is
2646 * extern int dbminit(char *);
2648 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
2651 * This symbol, if defined, indicates that the the DIR* dirstream
2652 * structure contains a member variable named dd_fd.
2654 #$d_dir_dd_fd HAS_DIR_DD_FD /**/
2657 * This manifest constant lets the C program know that dirfd
2660 #$d_dirfd HAS_DIRFD /**/
2662 /* DLSYM_NEEDS_UNDERSCORE:
2663 * This symbol, if defined, indicates that we need to prepend an
2664 * underscore to the symbol name before calling dlsym(). This only
2665 * makes sense if you *have* dlsym, which we will presume is the
2666 * case if you're using dl_dlopen.xs.
2668 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
2671 * This symbol, if defined, indicates that the erf routine is
2672 * available to do the error function.
2674 #$d_erf HAS_ERF /**/
2677 * This symbol, if defined, indicates that the erfc routine is
2678 * available to do the complementary error function.
2680 #$d_erfc HAS_ERFC /**/
2683 * This symbol, if defined, indicates that the exp2 routine is
2684 * available to do the 2**x function.
2686 #$d_exp2 HAS_EXP2 /**/
2689 * This symbol, if defined, indicates that the expm1 routine is
2690 * available to do the exp(x) - 1 when x is near 1 function.
2692 #$d_expm1 HAS_EXPM1 /**/
2695 * This symbol, if defined, indicates that the "fast stdio"
2696 * is available to manipulate the stdio buffers directly.
2698 #$d_faststdio HAS_FAST_STDIO /**/
2701 * This symbol, if defined, indicates that the fchdir routine is
2702 * available to change directory using a file descriptor.
2704 #$d_fchdir HAS_FCHDIR /**/
2707 * This symbol, if defined, indicates that fcntl() can be used
2708 * for file locking. Normally on Unix systems this is defined.
2709 * It may be undefined on VMS.
2711 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
2714 * This symbol, if defined, indicates that the fdclose routine is
2715 * available to free a FILE structure without closing the underlying
2716 * file descriptor. This function appeared in FreeBSD 10.2.
2718 #$d_fdclose HAS_FDCLOSE /**/
2721 * This symbol, if defined, indicates that the fdim routine is
2722 * available to do the positive difference function.
2724 #$d_fdim HAS_FDIM /**/
2727 * This symbol, if defined, indicates that the fegetround routine is
2728 * available to return the macro corresponding to the current rounding
2731 #$d_fegetround HAS_FEGETROUND /**/
2734 * This symbol, if defined, indicates that the finite routine is
2735 * available to check whether a double is finite (non-infinity non-NaN).
2737 #$d_finite HAS_FINITE /**/
2740 * This symbol, if defined, indicates that the finitel routine is
2741 * available to check whether a long double is finite
2742 * (non-infinity non-NaN).
2744 #$d_finitel HAS_FINITEL /**/
2747 * This symbol, if defined, indicates that the system provides
2748 * a prototype for the flock() function. Otherwise, it is up
2749 * to the program to supply one. A good guess is
2750 * extern int flock(int, int);
2752 #$d_flockproto HAS_FLOCK_PROTO /**/
2755 * This symbol, if defined, indicates that the fma routine is
2756 * available to do the multiply-add function.
2758 #$d_fma HAS_FMA /**/
2761 * This symbol, if defined, indicates that the fmax routine is
2762 * available to do the maximum function.
2764 #$d_fmax HAS_FMAX /**/
2767 * This symbol, if defined, indicates that the fmin routine is
2768 * available to do the minimum function.
2770 #$d_fmin HAS_FMIN /**/
2773 * This symbol, if defined, indicates that the fp_class routine is
2774 * available to classify doubles. Available for example in Digital UNIX.
2775 * The returned values are defined in <math.h> and are:
2777 * FP_SNAN Signaling NaN (Not-a-Number)
2778 * FP_QNAN Quiet NaN (Not-a-Number)
2779 * FP_POS_INF +infinity
2780 * FP_NEG_INF -infinity
2781 * FP_POS_NORM Positive normalized
2782 * FP_NEG_NORM Negative normalized
2783 * FP_POS_DENORM Positive denormalized
2784 * FP_NEG_DENORM Negative denormalized
2785 * FP_POS_ZERO +0.0 (positive zero)
2786 * FP_NEG_ZERO -0.0 (negative zero)
2788 #$d_fp_class HAS_FP_CLASS /**/
2791 * This symbol, if defined, indicates that the fp_classl routine is
2792 * available to classify long doubles. Available for example in
2793 * Digital UNIX. See for possible values HAS_FP_CLASS.
2795 #$d_fp_classl HAS_FP_CLASSL /**/
2798 * This symbol, if defined, indicates that the fpclass routine is
2799 * available to classify doubles. Available for example in Solaris/SVR4.
2800 * The returned values are defined in <ieeefp.h> and are:
2802 * FP_SNAN signaling NaN
2804 * FP_NINF negative infinity
2805 * FP_PINF positive infinity
2806 * FP_NDENORM negative denormalized non-zero
2807 * FP_PDENORM positive denormalized non-zero
2808 * FP_NZERO negative zero
2809 * FP_PZERO positive zero
2810 * FP_NNORM negative normalized non-zero
2811 * FP_PNORM positive normalized non-zero
2813 #$d_fpclass HAS_FPCLASS /**/
2816 * This symbol, if defined, indicates that the fpclassify routine is
2817 * available to classify doubles. Available for example in HP-UX.
2818 * The returned values are defined in <math.h> and are
2820 * FP_NORMAL Normalized
2822 * FP_INFINITE Infinity
2823 * FP_SUBNORMAL Denormalized
2828 * This symbol, if defined, indicates that the fp_classify routine is
2829 * available to classify doubles. The values are defined in <math.h>
2831 * FP_NORMAL Normalized
2833 * FP_INFINITE Infinity
2834 * FP_SUBNORMAL Denormalized
2838 #$d_fpclassify HAS_FPCLASSIFY /**/
2839 #$d_fp_classify HAS_FP_CLASSIFY /**/
2842 * This symbol, if defined, indicates that the fpclassl routine is
2843 * available to classify long doubles. Available for example in IRIX.
2844 * The returned values are defined in <ieeefp.h> and are:
2846 * FP_SNAN signaling NaN
2848 * FP_NINF negative infinity
2849 * FP_PINF positive infinity
2850 * FP_NDENORM negative denormalized non-zero
2851 * FP_PDENORM positive denormalized non-zero
2852 * FP_NZERO negative zero
2853 * FP_PZERO positive zero
2854 * FP_NNORM negative normalized non-zero
2855 * FP_PNORM positive normalized non-zero
2857 #$d_fpclassl HAS_FPCLASSL /**/
2860 * This symbol, if defined, indicates that the fpgetround routine is
2861 * available to get the floating point rounding mode.
2863 #$d_fpgetround HAS_FPGETROUND /**/
2866 * This symbol will be defined if the C compiler supports fpos64_t.
2868 #$d_fpos64_t HAS_FPOS64_T /**/
2871 * This symbol, if defined, indicates that the frexpl routine is
2872 * available to break a long double floating-point number into
2873 * a normalized fraction and an integral power of 2.
2875 #$d_frexpl HAS_FREXPL /**/
2877 /* HAS_STRUCT_FS_DATA:
2878 * This symbol, if defined, indicates that the struct fs_data
2879 * to do statfs() is supported.
2881 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
2884 * This symbol, if defined, indicates that the fseeko routine is
2885 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2887 #$d_fseeko HAS_FSEEKO /**/
2890 * This symbol, if defined, indicates that the fstatfs routine is
2891 * available to stat filesystems by file descriptors.
2893 #$d_fstatfs HAS_FSTATFS /**/
2896 * This symbol, if defined, indicates that the fsync routine is
2897 * available to write a file's modified data and attributes to
2898 * permanent storage.
2900 #$d_fsync HAS_FSYNC /**/
2903 * This symbol, if defined, indicates that the ftello routine is
2904 * available to ftell beyond 32 bits (useful for ILP32 hosts).
2906 #$d_ftello HAS_FTELLO /**/
2909 * This symbol, if defined, indicates that the futimes routine is
2910 * available to change file descriptor time stamps with struct timevals.
2912 #$d_futimes HAS_FUTIMES /**/
2914 /* HAS_GAI_STRERROR:
2915 * This symbol, if defined, indicates that the gai_strerror routine
2916 * is available to translate error codes returned by getaddrinfo()
2917 * into human readable strings.
2919 #$d_gai_strerror HAS_GAI_STRERROR /**/
2922 * This symbol, if defined, indicates that the getaddrinfo() function
2923 * is available for use.
2925 #$d_getaddrinfo HAS_GETADDRINFO /**/
2928 * This symbol, if defined, indicates that the getcwd routine is
2929 * available to get the current working directory.
2931 #$d_getcwd HAS_GETCWD /**/
2934 * This symbol, if defined, indicates that the getespwnam system call is
2935 * available to retrieve enhanced (shadow) password entries by name.
2937 #$d_getespwnam HAS_GETESPWNAM /**/
2940 * This symbol, if defined, indicates that the getfsstat routine is
2941 * available to stat filesystems in bulk.
2943 #$d_getfsstat HAS_GETFSSTAT /**/
2946 * This symbol, if defined, indicates that the getitimer routine is
2947 * available to return interval timers.
2949 #$d_getitimer HAS_GETITIMER /**/
2952 * This symbol, if defined, indicates that the getmnt routine is
2953 * available to get filesystem mount info by filename.
2955 #$d_getmnt HAS_GETMNT /**/
2958 * This symbol, if defined, indicates that the getmntent routine is
2959 * available to iterate through mounted file systems to get their info.
2961 #$d_getmntent HAS_GETMNTENT /**/
2964 * This symbol, if defined, indicates that the getnameinfo() function
2965 * is available for use.
2967 #$d_getnameinfo HAS_GETNAMEINFO /**/
2970 * This symbol, if defined, indicates that the getprpwnam system call is
2971 * available to retrieve protected (shadow) password entries by name.
2973 #$d_getprpwnam HAS_GETPRPWNAM /**/
2976 * This symbol, if defined, indicates that the getspnam system call is
2977 * available to retrieve SysV shadow password entries by name.
2979 #$d_getspnam HAS_GETSPNAM /**/
2982 * This symbol, if defined, indicates that the hasmntopt routine is
2983 * available to query the mount options of file systems.
2985 #$d_hasmntopt HAS_HASMNTOPT /**/
2988 * This symbol, if defined, indicates that the hypot routine is
2989 * available to do the hypotenuse function.
2991 #$d_hypot HAS_HYPOT /**/
2994 * This symbol, if defined, indicates that the ilogb routine is
2995 * available to get integer exponent of a floating-point value.
2997 #$d_ilogb HAS_ILOGB /**/
3000 * This symbol, if defined, indicates that the ilogbl routine is
3001 * available. If scalbnl is also present we can emulate frexpl.
3003 #$d_ilogbl HAS_ILOGBL /**/
3006 * This symbol, if defined, indicates that the inet_ntop() function
3007 * is available to parse IPv4 and IPv6 strings.
3009 #$d_inetntop HAS_INETNTOP /**/
3012 * This symbol, if defined, indicates that the inet_pton() function
3013 * is available to parse IPv4 and IPv6 strings.
3015 #$d_inetpton HAS_INETPTON /**/
3018 * This symbol will defined if the C compiler supports int64_t.
3019 * Usually the <inttypes.h> needs to be included, but sometimes
3020 * <sys/types.h> is enough.
3022 #$d_int64_t HAS_INT64_T /**/
3025 * This manifest constant lets the C program know that isblank
3028 #$d_isblank HAS_ISBLANK /**/
3031 * This symbol, if defined, indicates that the isfinite routine is
3032 * available to check whether a double is finite (non-infinity non-NaN).
3034 #$d_isfinite HAS_ISFINITE /**/
3037 * This symbol, if defined, indicates that the isfinitel routine is
3038 * available to check whether a long double is finite.
3039 * (non-infinity non-NaN).
3041 #$d_isfinitel HAS_ISFINITEL /**/
3044 * This symbol, if defined, indicates that the isinf routine is
3045 * available to check whether a double is an infinity.
3047 #$d_isinf HAS_ISINF /**/
3050 * This symbol, if defined, indicates that the isinfl routine is
3051 * available to check whether a long double is an infinity.
3053 #$d_isinfl HAS_ISINFL /**/
3056 * This symbol, if defined, indicates that the isless routine is
3057 * available to do the isless function.
3059 #$d_isless HAS_ISLESS /**/
3062 * This symbol, if defined, indicates that the isnan routine is
3063 * available to check whether a double is a NaN.
3065 #$d_isnan HAS_ISNAN /**/
3068 * This symbol, if defined, indicates that the isnanl routine is
3069 * available to check whether a long double is a NaN.
3071 #$d_isnanl HAS_ISNANL /**/
3074 * This symbol, if defined, indicates that the isnormal routine is
3075 * available to check whether a double is normal (non-zero normalized).
3077 #$d_isnormal HAS_ISNORMAL /**/
3080 * This symbol, if defined, indicates to the C program that the
3081 * j0() function is available for Bessel functions of the first
3082 * kind of the order zero, for doubles.
3085 * This symbol, if defined, indicates to the C program that the
3086 * j0l() function is available for Bessel functions of the first
3087 * kind of the order zero, for long doubles.
3090 #$d_j0l HAS_J0L /**/
3092 /* HAS_LC_MONETARY_2008:
3093 * This symbol, if defined, indicates that the localeconv routine is
3094 * available and has the additional members added in POSIX 1003.1-2008.
3096 #$d_lc_monetary_2008 HAS_LC_MONETARY_2008 /**/
3099 * This symbol, if defined, indicates that this system's <float.h>
3100 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3101 * of significant digits in a long double precision number. Unlike
3102 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3104 #$d_ldbl_dig HAS_LDBL_DIG /* */
3107 * This symbol, if defined, indicates that the lgamma routine is
3108 * available to do the log gamma function. See also HAS_TGAMMA and
3111 #$d_lgamma HAS_LGAMMA /**/
3114 * This symbol, if defined, indicates that the lgamma_r routine is
3115 * available to do the log gamma function without using the global
3118 #$d_lgamma_r HAS_LGAMMA_R /**/
3120 /* LIBM_LIB_VERSION:
3121 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3122 * and that math.h defines the enum to manipulate it.
3124 #$d_libm_lib_version LIBM_LIB_VERSION /**/
3127 * This symbol, if defined, indicates that the llrint routine is
3128 * available to return the long long value closest to a double
3129 * (according to the current rounding mode).
3131 #$d_llrint HAS_LLRINT /**/
3134 * This symbol, if defined, indicates that the llrintl routine is
3135 * available to return the long long value closest to a long double
3136 * (according to the current rounding mode).
3138 #$d_llrintl HAS_LLRINTL /**/
3141 * This symbol, if defined, indicates that the llround routine is
3142 * available to return the nearest long long value.
3144 #$d_llround HAS_LLROUND /**/
3147 * This symbol, if defined, indicates that the llroundl routine is
3148 * available to return the nearest long long value away from zero of
3149 * the long double argument value.
3151 #$d_llroundl HAS_LLROUNDL /**/
3154 * This symbol, if defined, indicates that the log1p routine is
3155 * available to do the logarithm of 1 plus argument function.
3157 #$d_log1p HAS_LOG1P /**/
3160 * This symbol, if defined, indicates that the log2 routine is
3161 * available to do the log2 function.
3163 #$d_log2 HAS_LOG2 /**/
3166 * This symbol, if defined, indicates that the logb routine is
3167 * available to do the logb function.
3169 #$d_logb HAS_LOGB /**/
3172 * This symbol, if defined, indicates that the lrint routine is
3173 * available to return the integral value closest to a double
3174 * (according to the current rounding mode).
3176 #$d_lrint HAS_LRINT /**/
3179 * This symbol, if defined, indicates that the lrintl routine is
3180 * available to return the integral value closest to a long double
3181 * (according to the current rounding mode).
3183 #$d_lrintl HAS_LRINTL /**/
3186 * This symbol, if defined, indicates that the lround routine is
3187 * available to return the nearest integral value.
3189 #$d_lround HAS_LROUND /**/
3192 * This symbol, if defined, indicates that the lroundl routine is
3193 * available to return the nearest integral value away from zero of
3194 * the long double argument value.
3196 #$d_lroundl HAS_LROUNDL /**/
3199 * This symbol, if defined, indicates that the madvise system call is
3200 * available to map a file into memory.
3202 #$d_madvise HAS_MADVISE /**/
3205 * This symbol, if defined, indicates that the malloc_size
3206 * routine is available for use.
3208 #$d_malloc_size HAS_MALLOC_SIZE /**/
3210 /* HAS_MALLOC_GOOD_SIZE:
3211 * This symbol, if defined, indicates that the malloc_good_size
3212 * routine is available for use.
3214 #$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3217 * This symbol, if defined, indicates that the memmem routine is
3218 * available to return a pointer to the start of the first occurance
3219 * of a substring in a memory area (or NULL if not found).
3221 #$d_memmem HAS_MEMMEM /**/
3224 * This symbol, if defined, indicates that the mkdtemp routine is
3225 * available to exclusively create a uniquely named temporary directory.
3227 #$d_mkdtemp HAS_MKDTEMP /**/
3230 * This symbol, if defined, indicates that the mkstemps routine is
3231 * available to exclusively create and open a uniquely named
3232 * (with a suffix) temporary file.
3234 #$d_mkstemps HAS_MKSTEMPS /**/
3237 * This symbol, if defined, indicates that the modfl routine is
3238 * available to split a long double x into a fractional part f and
3239 * an integer part i such that |f| < 1.0 and (f + i) = x.
3242 * This symbol, if defined, indicates that the system provides
3243 * a prototype for the modfl() function. Otherwise, it is up
3244 * to the program to supply one.
3246 #$d_modfl HAS_MODFL /**/
3247 #$d_modflproto HAS_MODFL_PROTO /**/
3250 * This symbol, if defined, indicates that the mprotect system call is
3251 * available to modify the access protection of a memory mapped file.
3253 #$d_mprotect HAS_MPROTECT /**/
3255 /* HAS_STRUCT_MSGHDR:
3256 * This symbol, if defined, indicates that the struct msghdr
3259 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3262 * This symbol, if defined, indicates that the nan routine is
3263 * available to generate NaN.
3265 #$d_nan HAS_NAN /**/
3268 * This symbol, if defined, indicates that the nearbyint routine is
3269 * available to return the integral value closest to (according to
3270 * the current rounding mode) to x.
3272 #$d_nearbyint HAS_NEARBYINT /**/
3275 * This symbol, if defined, indicates that the newlocale routine is
3276 * available to return a new locale object or modify an existing
3280 * This symbol, if defined, indicates that the freelocale routine is
3281 * available to deallocates the resources associated with a locale object.
3284 * This symbol, if defined, indicates that the uselocale routine is
3285 * available to set the current locale for the calling thread.
3288 * This symbol, if defined, indicates that the querylocale routine is
3289 * available to return the name of the locale for a category mask.
3292 * This symbol, if defined, indicates to the C program that it should
3293 * include <xlocale.h> to get uselocale() and its friends.
3295 #$d_newlocale HAS_NEWLOCALE /**/
3296 #$d_freelocale HAS_FREELOCALE /**/
3297 #$d_uselocale HAS_USELOCALE /**/
3298 #$d_querylocale HAS_QUERYLOCALE /**/
3299 #$i_xlocale I_XLOCALE /**/
3302 * This symbol, if defined, indicates that the nextafter routine is
3303 * available to return the next machine representable double from
3306 #$d_nextafter HAS_NEXTAFTER /**/
3309 * This symbol, if defined, indicates that the nexttoward routine is
3310 * available to return the next machine representable long double from
3313 #$d_nexttoward HAS_NEXTTOWARD /**/
3316 * This symbol, if defined, indicates that the nl_langinfo routine is
3317 * available to return local data. You will also need <langinfo.h>
3318 * and therefore I_LANGINFO.
3320 #$d_nl_langinfo HAS_NL_LANGINFO /**/
3323 * This symbol will be defined if the C compiler supports off64_t.
3325 #$d_off64_t HAS_OFF64_T /**/
3328 * This symbol, if defined, indicates that the prctl routine is
3329 * available to set process title.
3330 * Note that there are at least two prctl variants: Linux and Irix.
3331 * While they are somewhat similar, they are incompatible.
3333 /* HAS_PRCTL_SET_NAME:
3334 * This symbol, if defined, indicates that the prctl routine is
3335 * available to set process title and supports PR_SET_NAME.
3337 #$d_prctl HAS_PRCTL /**/
3338 #$d_prctl_set_name HAS_PRCTL_SET_NAME /**/
3341 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3342 * to the absolute pathname of the executing program.
3344 /* PROCSELFEXE_PATH:
3345 * If HAS_PROCSELFEXE is defined this symbol is the filename
3346 * of the symbolic link pointing to the absolute pathname of
3347 * the executing program.
3349 #$d_procselfexe HAS_PROCSELFEXE /**/
3350 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3351 #define PROCSELFEXE_PATH $procselfexe /**/
3354 /* HAS_PTHREAD_ATTR_SETSCOPE:
3355 * This symbol, if defined, indicates that the pthread_attr_setscope
3356 * system call is available to set the contention scope attribute of
3357 * a thread attribute object.
3359 #$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3362 * This symbol will be defined if the C compiler supports ptrdiff_t.
3364 #$d_ptrdiff_t HAS_PTRDIFF_T /**/
3367 * This symbol, if defined, indicates that the readv routine is
3368 * available to do gather reads. You will also need <sys/uio.h>
3369 * and there I_SYSUIO.
3371 #$d_readv HAS_READV /**/
3374 * This symbol, if defined, indicates that the recvmsg routine is
3375 * available to send structured socket messages.
3377 #$d_recvmsg HAS_RECVMSG /**/
3380 * This symbol, if defined, indicates that the remainder routine is
3381 * available to return the floating-point remainder.
3383 #$d_remainder HAS_REMAINDER /**/
3386 * This symbol, if defined, indicates that the remquo routine is
3387 * available to return the remainder and part of quotient.
3389 #$d_remquo HAS_REMQUO /**/
3392 * This symbol, if defined, indicates that the rint routine is
3393 * available to return the nearest integral value to x as double
3394 * using the current rounding mode.
3396 #$d_rint HAS_RINT /**/
3399 * This symbol, if defined, indicates that the round routine is
3400 * available to round to nearest integer, away from zero.
3402 #$d_round HAS_ROUND /**/
3405 * This symbol, if defined, indicates that the system provides
3406 * a prototype for the sbrk() function. Otherwise, it is up
3407 * to the program to supply one. Good guesses are
3408 * extern void* sbrk(int);
3409 * extern void* sbrk(size_t);
3411 #$d_sbrkproto HAS_SBRK_PROTO /**/
3414 * This symbol, if defined, indicates that the scalbn routine is
3415 * available to multiply floating-point number by integral power
3418 #$d_scalbn HAS_SCALBN /**/
3421 * This symbol, if defined, indicates that the scalbnl routine is
3422 * available. If ilogbl is also present we can emulate frexpl.
3424 #$d_scalbnl HAS_SCALBNL /**/
3427 * This symbol, if defined, indicates that the sendmsg routine is
3428 * available to send structured socket messages.
3430 #$d_sendmsg HAS_SENDMSG /**/
3433 * This symbol, if defined, indicates that the setitimer routine is
3434 * available to set interval timers.
3436 #$d_setitimer HAS_SETITIMER /**/
3438 /* HAS_SETPROCTITLE:
3439 * This symbol, if defined, indicates that the setproctitle routine is
3440 * available to set process title.
3442 #$d_setproctitle HAS_SETPROCTITLE /**/
3445 * This symbol, if defined, indicates that the signbit routine is
3446 * available to check if the given number has the sign bit set.
3447 * This should include correct testing of -0.0. This will only be set
3448 * if the signbit() routine is safe to use with the NV type used internally
3449 * in perl. Users should call Perl_signbit(), which will be #defined to
3450 * the system's signbit() function or macro if this symbol is defined.
3452 #$d_signbit HAS_SIGNBIT /**/
3455 * This symbol, if defined, indicates that the sigprocmask
3456 * system call is available to examine or change the signal mask
3457 * of the calling process.
3459 #$d_sigprocmask HAS_SIGPROCMASK /**/
3461 /* USE_SITECUSTOMIZE:
3462 * This symbol, if defined, indicates that sitecustomize should
3465 #ifndef USE_SITECUSTOMIZE
3466 #$usesitecustomize USE_SITECUSTOMIZE /**/
3470 * This symbol, if defined, indicates that the snprintf () library
3471 * function is available for use.
3474 * This symbol, if defined, indicates that the vsnprintf () library
3475 * function is available for use.
3477 #$d_snprintf HAS_SNPRINTF /**/
3478 #$d_vsnprintf HAS_VSNPRINTF /**/
3481 * This symbol, if defined, indicates that the sockatmark routine is
3482 * available to test whether a socket is at the out-of-band mark.
3484 #$d_sockatmark HAS_SOCKATMARK /**/
3486 /* HAS_SOCKATMARK_PROTO:
3487 * This symbol, if defined, indicates that the system provides
3488 * a prototype for the sockatmark() function. Otherwise, it is up
3489 * to the program to supply one. A good guess is
3490 * extern int sockatmark(int);
3492 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3495 * This symbol, if defined, indicates that the socks5_init routine is
3496 * available to initialize SOCKS 5.
3498 #$d_socks5_init HAS_SOCKS5_INIT /**/
3500 /* SPRINTF_RETURNS_STRLEN:
3501 * This variable defines whether sprintf returns the length of the string
3502 * (as per the ANSI spec). Some C libraries retain compatibility with
3503 * pre-ANSI C and return a pointer to the passed in buffer; for these
3504 * this variable will be undef.
3506 #$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
3509 * This symbol, if defined, indicates that the sqrtl routine is
3510 * available to do long double square roots.
3512 #$d_sqrtl HAS_SQRTL /**/
3514 /* HAS_SETRESGID_PROTO:
3515 * This symbol, if defined, indicates that the system provides
3516 * a prototype for the setresgid() function. Otherwise, it is up
3517 * to the program to supply one. Good guesses are
3518 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3520 #$d_sresgproto HAS_SETRESGID_PROTO /**/
3522 /* HAS_SETRESUID_PROTO:
3523 * This symbol, if defined, indicates that the system provides
3524 * a prototype for the setresuid() function. Otherwise, it is up
3525 * to the program to supply one. Good guesses are
3526 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3528 #$d_sresuproto HAS_SETRESUID_PROTO /**/
3530 /* HAS_STRUCT_STATFS_F_FLAGS:
3531 * This symbol, if defined, indicates that the struct statfs
3532 * does have the f_flags member containing the mount flags of
3533 * the filesystem containing the file.
3534 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3535 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3536 * have statfs() and struct statfs, they have ustat() and getmnt()
3537 * with struct ustat and struct fs_data.
3539 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
3541 /* HAS_STRUCT_STATFS:
3542 * This symbol, if defined, indicates that the struct statfs
3543 * to do statfs() is supported.
3545 #$d_statfs_s HAS_STRUCT_STATFS /**/
3548 * This symbol, if defined, indicates that the fstatvfs routine is
3549 * available to stat filesystems by file descriptors.
3551 #$d_fstatvfs HAS_FSTATVFS /**/
3554 * This symbol, if defined, indicates that the strerror_l routine is
3555 * available to return the error message for a given errno value in
3556 * a particular locale (identified by a locale_t object).
3558 #$d_strerror_l HAS_STRERROR_L /**/
3561 * This symbol, if defined, indicates that the strftime routine is
3562 * available to do time formatting.
3564 #$d_strftime HAS_STRFTIME /**/
3567 * This symbol, if defined, indicates that the strlcat () routine is
3568 * available to do string concatenation.
3570 #$d_strlcat HAS_STRLCAT /**/
3573 * This symbol, if defined, indicates that the strlcpy () routine is
3574 * available to do string copying.
3576 #$d_strlcpy HAS_STRLCPY /**/
3579 * This symbol, if defined, indicates that the strtold routine is
3580 * available to convert strings to long doubles.
3582 #$d_strtold HAS_STRTOLD /**/
3585 * This symbol, if defined, indicates that the strtoll routine is
3586 * available to convert strings to long longs.
3588 #$d_strtoll HAS_STRTOLL /**/
3591 * This symbol, if defined, indicates that the strtoq routine is
3592 * available to convert strings to long longs (quads).
3594 #$d_strtoq HAS_STRTOQ /**/
3597 * This symbol, if defined, indicates that the strtoull routine is
3598 * available to convert strings to unsigned long longs.
3600 #$d_strtoull HAS_STRTOULL /**/
3603 * This symbol, if defined, indicates that the strtouq routine is
3604 * available to convert strings to unsigned long longs (quads).
3606 #$d_strtouq HAS_STRTOUQ /**/
3608 /* HAS_SYSCALL_PROTO:
3609 * This symbol, if defined, indicates that the system provides
3610 * a prototype for the syscall() function. Otherwise, it is up
3611 * to the program to supply one. Good guesses are
3612 * extern int syscall(int, ...);
3613 * extern int syscall(long, ...);
3615 #$d_syscallproto HAS_SYSCALL_PROTO /**/
3617 /* HAS_TELLDIR_PROTO:
3618 * This symbol, if defined, indicates that the system provides
3619 * a prototype for the telldir() function. Otherwise, it is up
3620 * to the program to supply one. A good guess is
3621 * extern long telldir(DIR*);
3623 #$d_telldirproto HAS_TELLDIR_PROTO /**/
3626 * This symbol, if defined, indicates that the tgamma routine is
3627 * available to do the gamma function. See also HAS_LGAMMA.
3629 #$d_tgamma HAS_TGAMMA /**/
3632 * This symbol, if defined, indicates that the ctime64 () routine is
3633 * available to do the 64bit variant of ctime ()
3636 * This symbol, if defined, indicates that the localtime64 () routine is
3637 * available to do the 64bit variant of localtime ()
3640 * This symbol, if defined, indicates that the gmtime64 () routine is
3641 * available to do the 64bit variant of gmtime ()
3644 * This symbol, if defined, indicates that the mktime64 () routine is
3645 * available to do the 64bit variant of mktime ()
3648 * This symbol, if defined, indicates that the difftime64 () routine is
3649 * available to do the 64bit variant of difftime ()
3652 * This symbol, if defined, indicates that the asctime64 () routine is
3653 * available to do the 64bit variant of asctime ()
3655 #$d_ctime64 HAS_CTIME64 /**/
3656 #$d_localtime64 HAS_LOCALTIME64 /**/
3657 #$d_gmtime64 HAS_GMTIME64 /**/
3658 #$d_mktime64 HAS_MKTIME64 /**/
3659 #$d_difftime64 HAS_DIFFTIME64 /**/
3660 #$d_asctime64 HAS_ASCTIME64 /**/
3663 * This symbol, if defined, indicates that the timegm routine is
3664 * available to do the opposite of gmtime ()
3666 #$d_timegm HAS_TIMEGM /**/
3669 * This symbol, if defined, indicates that the trunc routine is
3670 * available to round doubles towards zero.
3672 #$d_trunc HAS_TRUNC /**/
3675 * This symbol, if defined, indicates that the truncl routine is
3676 * available. If copysignl is also present we can emulate modfl.
3678 #$d_truncl HAS_TRUNCL /**/
3680 /* U32_ALIGNMENT_REQUIRED:
3681 * This symbol, if defined, indicates that you must access
3682 * character data through U32-aligned pointers.
3684 #ifndef U32_ALIGNMENT_REQUIRED
3685 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
3689 * This symbol, if defined, indicates that the ualarm routine is
3690 * available to do alarms with microsecond granularity.
3692 #$d_ualarm HAS_UALARM /**/
3695 * This symbol, if defined, indicates that the unordered routine is
3696 * available to check whether two doubles are unordered
3697 * (effectively: whether either of them is NaN)
3699 #$d_unordered HAS_UNORDERED /**/
3702 * This symbol, if defined, indicates that the unsetenv () routine is
3703 * available for use.
3705 #$d_unsetenv HAS_UNSETENV /**/
3707 /* HAS_USLEEP_PROTO:
3708 * This symbol, if defined, indicates that the system provides
3709 * a prototype for the usleep() function. Otherwise, it is up
3710 * to the program to supply one. A good guess is
3711 * extern int usleep(useconds_t);
3713 #$d_usleepproto HAS_USLEEP_PROTO /**/
3716 * This symbol, if defined, indicates that the ustat system call is
3717 * available to query file system statistics by dev_t.
3719 #$d_ustat HAS_USTAT /**/
3722 * This symbol, if defined, indicates that the wcscmp routine is
3723 * available to compare two wide character strings.
3725 #$d_wcscmp HAS_WCSCMP /**/
3728 * This symbol, if defined, indicates that the wcsxfrm routine is
3729 * available to tranform a wide character string for wcscmp().
3731 #$d_wcsxfrm HAS_WCSXFRM /**/
3734 * This symbol, if defined, indicates that the writev routine is
3735 * available to do scatter writes.
3737 #$d_writev HAS_WRITEV /**/
3739 /* DEFAULT_INC_EXCLUDES_DOT:
3740 * This symbol, if defined, removes the legacy default behavior of
3741 * including '.' at the end of @INC.
3743 #$default_inc_excludes_dot DEFAULT_INC_EXCLUDES_DOT /**/
3745 /* USE_DYNAMIC_LOADING:
3746 * This symbol, if defined, indicates that dynamic loading of
3747 * some sort is available.
3749 #$usedl USE_DYNAMIC_LOADING /**/
3752 * This symbol, if defined, tells that fflush(NULL) correctly
3753 * flushes all pending stdio output without side effects. In
3754 * particular, on some platforms calling fflush(NULL) *still*
3755 * corrupts STDIN if it is a pipe.
3758 * This symbol, if defined, tells that to flush
3759 * all pending stdio output one must loop through all
3760 * the stdio file handles stored in an array and fflush them.
3761 * Note that if fflushNULL is defined, fflushall will not
3762 * even be probed for and will be left undefined.
3764 #$fflushNULL FFLUSH_NULL /**/
3765 #$fflushall FFLUSH_ALL /**/
3768 * This symbol, if defined, indicates that <assert.h> exists and
3769 * could be included by the C program to get the assert() macro.
3771 #$i_assert I_ASSERT /**/
3774 * This symbol, if defined, indicates that <bfd.h> exists and
3780 * This symbol, if defined, indicates that <crypt.h> exists and
3781 * should be included.
3783 #$i_crypt I_CRYPT /**/
3786 * This symbol contains the type of the prefix structure element
3787 * in the <db.h> header file. In older versions of DB, it was
3788 * int, while in newer ones it is u_int32_t.
3791 * This symbol contains the type of the prefix structure element
3792 * in the <db.h> header file. In older versions of DB, it was
3793 * int, while in newer ones it is size_t.
3795 /* DB_VERSION_MAJOR_CFG:
3796 * This symbol, if defined, defines the major version number of
3797 * Berkeley DB found in the <db.h> header when Perl was configured.
3799 /* DB_VERSION_MINOR_CFG:
3800 * This symbol, if defined, defines the minor version number of
3801 * Berkeley DB found in the <db.h> header when Perl was configured.
3802 * For DB version 1 this is always 0.
3804 /* DB_VERSION_PATCH_CFG:
3805 * This symbol, if defined, defines the patch version number of
3806 * Berkeley DB found in the <db.h> header when Perl was configured.
3807 * For DB version 1 this is always 0.
3809 #define DB_Hash_t $db_hashtype /**/
3810 #define DB_Prefix_t $db_prefixtype /**/
3811 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
3812 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
3813 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
3816 * This symbol, if defined, indicates to the C program that it should
3817 * include <fenv.h> to get the floating point environment definitions.
3819 #$i_fenv I_FENV /**/
3822 * This symbol, if defined, indicates that <fp.h> exists and
3823 * should be included.
3828 * This symbol, if defined, indicates that <fp_class.h> exists and
3829 * should be included.
3831 #$i_fp_class I_FP_CLASS /**/
3834 * This symbol, if defined, indicates that <ieeefp.h> exists and
3835 * should be included.
3837 #$i_ieeefp I_IEEEFP /**/
3840 * This symbol, if defined, indicates to the C program that it should
3841 * include <inttypes.h>.
3843 #$i_inttypes I_INTTYPES /**/
3846 * This symbol, if defined, indicates that <langinfo.h> exists and
3847 * should be included.
3849 #$i_langinfo I_LANGINFO /**/
3852 * This symbol, if defined, indicates that <libutil.h> exists and
3853 * should be included.
3855 #$i_libutil I_LIBUTIL /**/
3858 * This symbol, if defined, indicates to the C program that it should
3859 * include <malloc/malloc.h>.
3861 #$i_mallocmalloc I_MALLOCMALLOC /**/
3864 * This symbol, if defined, indicates that <mntent.h> exists and
3865 * should be included.
3867 #$i_mntent I_MNTENT /**/
3870 * This symbol, if defined, indicates to the C program that it should
3871 * include <netinet/tcp.h>.
3873 #$i_netinettcp I_NETINET_TCP /**/
3876 * This symbol, if defined, indicates that <poll.h> exists and
3877 * should be included. (see also HAS_POLL)
3879 #$i_poll I_POLL /**/
3882 * This symbol, if defined, indicates that <prot.h> exists and
3883 * should be included.
3885 #$i_prot I_PROT /**/
3888 * This symbol, if defined, indicates that <quadmath.h> exists and
3889 * should be included.
3891 #$i_quadmath I_QUADMATH /**/
3894 * This symbol, if defined, indicates that <shadow.h> exists and
3895 * should be included.
3897 #$i_shadow I_SHADOW /**/
3900 * This symbol, if defined, indicates that <socks.h> exists and
3901 * should be included.
3903 #$i_socks I_SOCKS /**/
3906 * This symbol, if defined, indicates that <stdbool.h> exists and
3909 #$i_stdbool I_STDBOOL /**/
3912 * This symbol, if defined, indicates that <stdint.h> exists and
3913 * should be included.
3915 #$i_stdint I_STDINT /**/
3918 * This symbol, if defined, indicates that <sunmath.h> exists and
3919 * should be included.
3921 #$i_sunmath I_SUNMATH /**/
3924 * This symbol, if defined, indicates that <syslog.h> exists and
3925 * should be included.
3927 #$i_syslog I_SYSLOG /**/
3930 * This symbol, if defined, indicates that <sys/mode.h> exists and
3931 * should be included.
3933 #$i_sysmode I_SYSMODE /**/
3936 * This symbol, if defined, indicates that <sys/mount.h> exists and
3937 * should be included.
3939 #$i_sysmount I_SYS_MOUNT /**/
3942 * This symbol, if defined, indicates that <sys/statfs.h> exists.
3944 #$i_sysstatfs I_SYS_STATFS /**/
3947 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
3948 * should be included.
3950 #$i_sysstatvfs I_SYS_STATVFS /**/
3953 * This symbol, if defined, indicates that <sys/utsname.h> exists and
3954 * should be included.
3956 #$i_sysutsname I_SYSUTSNAME /**/
3959 * This symbol, if defined, indicates that <sys/vfs.h> exists and
3960 * should be included.
3962 #$i_sysvfs I_SYS_VFS /**/
3965 * This symbol, if defined, indicates that <ustat.h> exists and
3966 * should be included.
3968 #$i_ustat I_USTAT /**/
3971 * This symbol, if defined, is a comma-separated list of
3972 * hexadecimal bytes for the double precision infinity.
3975 * This symbol, if defined, is a comma-separated list of
3976 * hexadecimal bytes (0xHH) for the double precision not-a-number.
3979 * This symbol, if defined, is a comma-separated list of
3980 * hexadecimal bytes for the long double precision infinity.
3983 * This symbol, if defined, is a comma-separated list of
3984 * hexadecimal bytes (0xHH) for the long double precision not-a-number.
3986 #define DOUBLEINFBYTES $doubleinfbytes /**/
3987 #define DOUBLENANBYTES $doublenanbytes /**/
3988 #define LONGDBLINFBYTES $longdblinfbytes /**/
3989 #define LONGDBLNANBYTES $longdblnanbytes /**/
3992 * This symbol, if defined, contains the string used by stdio to
3993 * format long doubles (format 'f') for output.
3996 * This symbol, if defined, contains the string used by stdio to
3997 * format long doubles (format 'g') for output.
4000 * This symbol, if defined, contains the string used by stdio to
4001 * format long doubles (format 'e') for output.
4004 * This symbol, if defined, contains the string used by stdio to
4005 * format long doubles (format 'f') for input.
4008 * DOUBLEKIND will be one of
4009 * DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN
4010 * DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN
4011 * DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN
4012 * DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN
4013 * DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
4014 * DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
4015 * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE
4016 * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE
4017 * DOUBLE_IS_VAX_F_FLOAT
4018 * DOUBLE_IS_VAX_D_FLOAT
4019 * DOUBLE_IS_VAX_G_FLOAT
4020 * DOUBLE_IS_IBM_SINGLE_32_BIT
4021 * DOUBLE_IS_IBM_DOUBLE_64_BIT
4022 * DOUBLE_IS_CRAY_SINGLE_64_BIT
4023 * DOUBLE_IS_UNKNOWN_FORMAT
4026 * This symbol, if defined, indicates that the double has
4030 * This symbol, if defined, indicates that the double has
4033 /* DOUBLE_HAS_NEGATIVE_ZERO:
4034 * This symbol, if defined, indicates that the double has
4035 * the negative_zero.
4037 /* DOUBLE_HAS_SUBNORMALS:
4038 * This symbol, if defined, indicates that the double has
4039 * the subnormals (denormals).
4041 /* DOUBLE_STYLE_CRAY:
4042 * This symbol, if defined, indicates that the double is
4043 * the 64-bit CRAY mainframe format.
4045 /* DOUBLE_STYLE_IBM:
4046 * This symbol, if defined, indicates that the double is
4047 * the 64-bit IBM mainframe format.
4049 /* DOUBLE_STYLE_IEEE:
4050 * This symbol, if defined, indicates that the double is
4051 * the 64-bit IEEE 754.
4053 /* DOUBLE_STYLE_VAX:
4054 * This symbol, if defined, indicates that the double is
4055 * the 64-bit VAX format D or G.
4057 #define DOUBLEKIND $doublekind /**/
4058 #define DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN 1
4059 #define DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN 2
4060 #define DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN 3
4061 #define DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN 4
4062 #define DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 5
4063 #define DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 6
4064 #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE 7
4065 #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE 8
4066 #define DOUBLE_IS_VAX_F_FLOAT 9
4067 #define DOUBLE_IS_VAX_D_FLOAT 10
4068 #define DOUBLE_IS_VAX_G_FLOAT 11
4069 #define DOUBLE_IS_IBM_SINGLE_32_BIT 12
4070 #define DOUBLE_IS_IBM_DOUBLE_64_BIT 13
4071 #define DOUBLE_IS_CRAY_SINGLE_64_BIT 14
4072 #define DOUBLE_IS_UNKNOWN_FORMAT -1
4073 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
4074 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
4075 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
4076 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
4077 #$d_double_has_inf DOUBLE_HAS_INF
4078 #$d_double_has_nan DOUBLE_HAS_NAN
4079 #$d_double_has_negative_zero DOUBLE_HAS_NEGATIVE_ZERO
4080 #$d_double_has_subnormals DOUBLE_HAS_SUBNORMALS
4081 #$d_double_style_cray DOUBLE_STYLE_CRAY
4082 #$d_double_style_ibm DOUBLE_STYLE_IBM
4083 #$d_double_style_ieee DOUBLE_STYLE_IEEE
4084 #$d_double_style_vax DOUBLE_STYLE_VAX
4087 * This symbol, if defined, tells how many mantissa bits
4088 * there are in double precision floating point format.
4089 * Note that this is usually DBL_MANT_DIG minus one, since
4090 * with the standard IEEE 754 formats DBL_MANT_DIG includes
4091 * the implicit bit, which doesn't really exist.
4094 * This symbol, if defined, tells how many mantissa bits
4095 * there are in long double precision floating point format.
4096 * Note that this can be LDBL_MANT_DIG minus one,
4097 * since LDBL_MANT_DIG can include the IEEE 754 implicit bit.
4098 * The common x86-style 80-bit long double does not have
4102 * This symbol, if defined, tells how many mantissa bits
4103 * (not including implicit bit) there are in a Perl NV.
4104 * This depends on which floating point type was chosen.
4106 #define DOUBLEMANTBITS $doublemantbits
4107 #define LONGDBLMANTBITS $longdblmantbits
4108 #define NVMANTBITS $nvmantbits
4111 * This symbol, if defined, indicates that the system stores
4112 * the variable argument list datatype, va_list, in a format
4113 * that cannot be copied by simple assignment, so that some
4114 * other means must be used when copying is required.
4115 * As such systems vary in their provision (or non-provision)
4116 * of copying mechanisms, handy.h defines a platform-
4117 * independent macro, Perl_va_copy(src, dst), to do the job.
4119 #$need_va_copy NEED_VA_COPY /**/
4122 * This symbol defines the C type used for Perl's IV.
4125 * This symbol defines the C type used for Perl's UV.
4128 * This symbol defines the C type used for Perl's I8.
4131 * This symbol defines the C type used for Perl's U8.
4134 * This symbol defines the C type used for Perl's I16.
4137 * This symbol defines the C type used for Perl's U16.
4140 * This symbol defines the C type used for Perl's I32.
4143 * This symbol defines the C type used for Perl's U32.
4146 * This symbol defines the C type used for Perl's I64.
4149 * This symbol defines the C type used for Perl's U64.
4152 * This symbol defines the C type used for Perl's NV.
4155 * This symbol contains the sizeof(IV).
4158 * This symbol contains the sizeof(UV).
4161 * This symbol contains the sizeof(I8).
4164 * This symbol contains the sizeof(U8).
4167 * This symbol contains the sizeof(I16).
4170 * This symbol contains the sizeof(U16).
4173 * This symbol contains the sizeof(I32).
4176 * This symbol contains the sizeof(U32).
4179 * This symbol contains the sizeof(I64).
4182 * This symbol contains the sizeof(U64).
4185 * This symbol contains the sizeof(NV).
4186 * Note that some floating point formats have unused bytes.
4187 * The most notable example is the x86* 80-bit extended precision
4188 * which comes in byte sizes of 12 and 16 (for 32 and 64 bit
4189 * platforms, respectively), but which only uses 10 bytes.
4190 * Perl compiled with -Duselongdouble on x86* is like this.
4193 * This symbol, if defined, indicates that a variable of type NVTYPE
4194 * can preserve all the bits of a variable of type UVTYPE.
4196 /* NV_PRESERVES_UV_BITS:
4197 * This symbol contains the number of bits a variable of type NVTYPE
4198 * can preserve of a variable of type UVTYPE.
4200 /* NV_OVERFLOWS_INTEGERS_AT:
4201 * This symbol gives the largest integer value that NVs can hold. This
4202 * value + 1.0 cannot be stored accurately. It is expressed as constant
4203 * floating point expression to reduce the chance of decimal/binary
4204 * conversion issues. If it can not be determined, the value 0 is given.
4206 /* NV_ZERO_IS_ALLBITS_ZERO:
4207 * This symbol, if defined, indicates that a variable of type NVTYPE
4208 * stores 0.0 in memory as all bits zero.
4210 #define IVTYPE $ivtype /**/
4211 #define UVTYPE $uvtype /**/
4212 #define I8TYPE $i8type /**/
4213 #define U8TYPE $u8type /**/
4214 #define I16TYPE $i16type /**/
4215 #define U16TYPE $u16type /**/
4216 #define I32TYPE $i32type /**/
4217 #define U32TYPE $u32type /**/
4219 #define I64TYPE $i64type /**/
4220 #define U64TYPE $u64type /**/
4222 #define NVTYPE $nvtype /**/
4223 #define IVSIZE $ivsize /**/
4224 #define UVSIZE $uvsize /**/
4225 #define I8SIZE $i8size /**/
4226 #define U8SIZE $u8size /**/
4227 #define I16SIZE $i16size /**/
4228 #define U16SIZE $u16size /**/
4229 #define I32SIZE $i32size /**/
4230 #define U32SIZE $u32size /**/
4232 #define I64SIZE $i64size /**/
4233 #define U64SIZE $u64size /**/
4235 #define NVSIZE $nvsize /**/
4236 #$d_nv_preserves_uv NV_PRESERVES_UV
4237 #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4238 #define NV_OVERFLOWS_INTEGERS_AT $nv_overflows_integers_at
4239 #$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4242 # if BYTEORDER == 0x1234
4244 # define BYTEORDER 0x12345678
4246 # if BYTEORDER == 0x4321
4248 # define BYTEORDER 0x87654321
4255 * This symbol defines the format string used for printing a Perl IV
4256 * as a signed decimal integer.
4259 * This symbol defines the format string used for printing a Perl UV
4260 * as an unsigned decimal integer.
4263 * This symbol defines the format string used for printing a Perl UV
4264 * as an unsigned octal integer.
4267 * This symbol defines the format string used for printing a Perl UV
4268 * as an unsigned hexadecimal integer in lowercase abcdef.
4271 * This symbol defines the format string used for printing a Perl UV
4272 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4275 * This symbol defines the format string used for printing a Perl NV
4276 * using %e-ish floating point format.
4279 * This symbol defines the format string used for printing a Perl NV
4280 * using %f-ish floating point format.
4283 * This symbol defines the format string used for printing a Perl NV
4284 * using %g-ish floating point format.
4286 #define IVdf $ivdformat /**/
4287 #define UVuf $uvuformat /**/
4288 #define UVof $uvoformat /**/
4289 #define UVxf $uvxformat /**/
4290 #define UVXf $uvXUformat /**/
4291 #define NVef $nveformat /**/
4292 #define NVff $nvfformat /**/
4293 #define NVgf $nvgformat /**/
4296 * This symbol holds the minimum number of bits operated by select.
4297 * That is, if you do select(n, ...), how many bits at least will be
4298 * cleared in the masks if some activity is detected. Usually this
4299 * is either n or 32*ceil(n/32), especially many little-endians do
4300 * the latter. This is only useful if you have select(), naturally.
4302 #define SELECT_MIN_BITS $selectminbits /**/
4305 * This variable contains the size of struct stat's st_ino in bytes.
4308 * This symbol holds the signedness of struct stat's st_ino.
4309 * 1 for unsigned, -1 for signed.
4311 #define ST_INO_SIGN $st_ino_sign /* st_ino sign */
4312 #define ST_INO_SIZE $st_ino_size /* st_ino size */
4315 * This variable contains the string to put in front of a perl
4316 * script to make sure (one hopes) that it runs with perl and not
4319 #define STARTPERL "$startperl" /**/
4321 /* HAS_STDIO_STREAM_ARRAY:
4322 * This symbol, if defined, tells that there is an array
4323 * holding the stdio streams.
4325 /* STDIO_STREAM_ARRAY:
4326 * This symbol tells the name of the array holding the stdio streams.
4327 * Usual values include _iob, __iob, and __sF.
4329 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4330 #ifdef HAS_STDIO_STREAM_ARRAY
4331 #define STDIO_STREAM_ARRAY $stdio_stream_array
4335 * This symbol contains the maximum value for the time_t offset that
4336 * the system function gmtime () accepts, and defaults to 0
4339 * This symbol contains the minimum value for the time_t offset that
4340 * the system function gmtime () accepts, and defaults to 0
4343 * This symbol contains the maximum value for the time_t offset that
4344 * the system function localtime () accepts, and defaults to 0
4347 * This symbol contains the minimum value for the time_t offset that
4348 * the system function localtime () accepts, and defaults to 0
4350 #define GMTIME_MAX $sGMTIME_max /**/
4351 #define GMTIME_MIN $sGMTIME_min /**/
4352 #define LOCALTIME_MAX $sLOCALTIME_max /**/
4353 #define LOCALTIME_MIN $sLOCALTIME_min /**/
4356 * This symbol, if defined, indicates that 64-bit integers should
4357 * be used when available. If not defined, the native integers
4358 * will be employed (be they 32 or 64 bits). The minimal possible
4359 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4360 * This may mean using for example "long longs", while your memory
4361 * may still be limited to 2 gigabytes.
4364 * This symbol, if defined, indicates that 64-bit integers should
4365 * be used when available. If not defined, the native integers
4366 * will be used (be they 32 or 64 bits). The maximal possible
4367 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4368 * be able to use more than 2 gigabytes of memory. This mode is
4369 * even more binary incompatible than USE_64_BIT_INT. You may not
4370 * be able to run the resulting executable in a 32-bit CPU at all or
4371 * you may need at least to reboot your OS to 64-bit mode.
4373 #ifndef USE_64_BIT_INT
4374 #$use64bitint USE_64_BIT_INT /**/
4376 #ifndef USE_64_BIT_ALL
4377 #$use64bitall USE_64_BIT_ALL /**/
4381 * This symbol, if defined, indicates that Perl should
4382 * be built with support for backtrace.
4384 #$usecbacktrace USE_CBACKTRACE /**/
4387 * This symbol, if defined, indicates that Perl should
4388 * be built with support for DTrace.
4390 #$usedtrace USE_DTRACE /**/
4393 * This symbol, if defined, indicates that Perl should
4394 * be built to use 'fast stdio'.
4395 * Defaults to define in Perls 5.8 and earlier, to undef later.
4397 #ifndef USE_FAST_STDIO
4398 #$usefaststdio USE_FAST_STDIO /**/
4401 /* USE_KERN_PROC_PATHNAME:
4402 * This symbol, if defined, indicates that we can use sysctl with
4403 * KERN_PROC_PATHNAME to get a full path for the executable, and hence
4404 * convert $^X to an absolute path.
4406 #$usekernprocpathname USE_KERN_PROC_PATHNAME /**/
4409 * This symbol, if defined, indicates that large file support
4410 * should be used when available.
4412 #ifndef USE_LARGE_FILES
4413 #$uselargefiles USE_LARGE_FILES /**/
4417 * This symbol, if defined, indicates that long doubles should
4418 * be used when available.
4420 #ifndef USE_LONG_DOUBLE
4421 #$uselongdouble USE_LONG_DOUBLE /**/
4425 * This symbol, if defined, indicates that 64-bit interfaces and
4426 * long doubles should be used when available.
4428 #ifndef USE_MORE_BITS
4429 #$usemorebits USE_MORE_BITS /**/
4433 * This symbol, if defined, indicates that Perl should
4434 * be built to use multiplicity.
4436 #ifndef MULTIPLICITY
4437 #$usemultiplicity MULTIPLICITY /**/
4440 /* USE_NSGETEXECUTABLEPATH:
4441 * This symbol, if defined, indicates that we can use _NSGetExecutablePath
4442 * and realpath to get a full path for the executable, and hence convert
4443 * $^X to an absolute path.
4445 #$usensgetexecutablepath USE_NSGETEXECUTABLEPATH /**/
4448 * This symbol, if defined, indicates that the PerlIO abstraction should
4449 * be used throughout. If not defined, stdio should be
4450 * used in a fully backward compatible manner.
4453 #$useperlio USE_PERLIO /**/
4457 * This symbol, if defined, indicates that the quadmath library should
4458 * be used when available.
4460 #ifndef USE_QUADMATH
4461 #$usequadmath USE_QUADMATH /**/
4465 * This symbol, if defined, indicates that Perl should
4466 * be built to use socks.
4469 #$usesocks USE_SOCKS /**/
4472 /* HAS_DRAND48_PROTO:
4473 * This symbol, if defined, indicates that the system provides
4474 * a prototype for the drand48() function. Otherwise, it is up
4475 * to the program to supply one. A good guess is
4476 * extern double drand48(void);
4478 #$d_drand48proto HAS_DRAND48_PROTO /**/
4480 /* HAS_GETHOST_PROTOS:
4481 * This symbol, if defined, indicates that <netdb.h> includes
4482 * prototypes for gethostent(), gethostbyname(), and
4483 * gethostbyaddr(). Otherwise, it is up to the program to guess
4484 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4486 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
4488 /* HAS_GETNET_PROTOS:
4489 * This symbol, if defined, indicates that <netdb.h> includes
4490 * prototypes for getnetent(), getnetbyname(), and
4491 * getnetbyaddr(). Otherwise, it is up to the program to guess
4492 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4494 #$d_getnetprotos HAS_GETNET_PROTOS /**/
4496 /* HAS_GETPROTO_PROTOS:
4497 * This symbol, if defined, indicates that <netdb.h> includes
4498 * prototypes for getprotoent(), getprotobyname(), and
4499 * getprotobyaddr(). Otherwise, it is up to the program to guess
4500 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4502 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
4504 /* HAS_GETSERV_PROTOS:
4505 * This symbol, if defined, indicates that <netdb.h> includes
4506 * prototypes for getservent(), getservbyname(), and
4507 * getservbyaddr(). Otherwise, it is up to the program to guess
4508 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4510 #$d_getservprotos HAS_GETSERV_PROTOS /**/
4513 * This symbol, if defined, indicates that the system provides
4514 * a prototype for the lseek() function. Otherwise, it is up
4515 * to the program to supply one. A good guess is
4516 * extern off_t lseek(int, off_t, int);
4518 #$d_lseekproto HAS_LSEEK_PROTO /**/
4521 * This symbol holds the type used for the 1st argument
4522 * to gethostbyaddr().
4525 * This symbol holds the type used for the 2nd argument
4526 * to gethostbyaddr().
4529 * This symbol holds the type used for the argument to
4533 * This symbol holds the type used for the 1st argument to
4536 #define Netdb_host_t $netdb_host_type /**/
4537 #define Netdb_hlen_t $netdb_hlen_type /**/
4538 #define Netdb_name_t $netdb_name_type /**/
4539 #define Netdb_net_t $netdb_net_type /**/
4542 * This symbol holds the type used for the 2nd, 3rd, and 4th
4543 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
4544 * is defined, and 'int *' otherwise. This is only useful if you
4545 * have select(), of course.
4547 #define Select_fd_set_t $selecttype /**/
4550 * This symbol holds the type used for the size argument of
4551 * various socket calls (just the base type, not the pointer-to).
4553 #define Sock_size_t $socksizetype /**/
4556 * This symbol holds a string representing the architecture name.
4557 * It may be used to construct an architecture-dependant pathname
4558 * where library files may be held under a private library, for
4561 #define ARCHNAME "$archname" /**/
4564 * This symbol, if defined, indicates that the asctime_r routine
4565 * is available to asctime re-entrantly.
4568 * This symbol encodes the prototype of asctime_r.
4569 * It is zero if d_asctime_r is undef, and one of the
4570 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
4573 #$d_asctime_r HAS_ASCTIME_R /**/
4574 #define ASCTIME_R_PROTO $asctime_r_proto /**/
4577 * This symbol, if defined, indicates that the crypt_r routine
4578 * is available to crypt re-entrantly.
4581 * This symbol encodes the prototype of crypt_r.
4582 * It is zero if d_crypt_r is undef, and one of the
4583 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
4586 #$d_crypt_r HAS_CRYPT_R /**/
4587 #define CRYPT_R_PROTO $crypt_r_proto /**/
4590 * This symbol, if defined, indicates that the ctermid_r routine
4591 * is available to ctermid re-entrantly.
4594 * This symbol encodes the prototype of ctermid_r.
4595 * It is zero if d_ctermid_r is undef, and one of the
4596 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
4599 #$d_ctermid_r HAS_CTERMID_R /**/
4600 #define CTERMID_R_PROTO $ctermid_r_proto /**/
4603 * This symbol, if defined, indicates that the ctime_r routine
4604 * is available to ctime re-entrantly.
4607 * This symbol encodes the prototype of ctime_r.
4608 * It is zero if d_ctime_r is undef, and one of the
4609 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
4612 #$d_ctime_r HAS_CTIME_R /**/
4613 #define CTIME_R_PROTO $ctime_r_proto /**/
4616 * This symbol, if defined, indicates that the drand48_r routine
4617 * is available to drand48 re-entrantly.
4620 * This symbol encodes the prototype of drand48_r.
4621 * It is zero if d_drand48_r is undef, and one of the
4622 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
4625 #$d_drand48_r HAS_DRAND48_R /**/
4626 #define DRAND48_R_PROTO $drand48_r_proto /**/
4629 * This symbol, if defined, indicates that the endgrent_r routine
4630 * is available to endgrent re-entrantly.
4632 /* ENDGRENT_R_PROTO:
4633 * This symbol encodes the prototype of endgrent_r.
4634 * It is zero if d_endgrent_r is undef, and one of the
4635 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
4638 #$d_endgrent_r HAS_ENDGRENT_R /**/
4639 #define ENDGRENT_R_PROTO $endgrent_r_proto /**/
4641 /* HAS_ENDHOSTENT_R:
4642 * This symbol, if defined, indicates that the endhostent_r routine
4643 * is available to endhostent re-entrantly.
4645 /* ENDHOSTENT_R_PROTO:
4646 * This symbol encodes the prototype of endhostent_r.
4647 * It is zero if d_endhostent_r is undef, and one of the
4648 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
4651 #$d_endhostent_r HAS_ENDHOSTENT_R /**/
4652 #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
4655 * This symbol, if defined, indicates that the endnetent_r routine
4656 * is available to endnetent re-entrantly.
4658 /* ENDNETENT_R_PROTO:
4659 * This symbol encodes the prototype of endnetent_r.
4660 * It is zero if d_endnetent_r is undef, and one of the
4661 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
4664 #$d_endnetent_r HAS_ENDNETENT_R /**/
4665 #define ENDNETENT_R_PROTO $endnetent_r_proto /**/
4667 /* HAS_ENDPROTOENT_R:
4668 * This symbol, if defined, indicates that the endprotoent_r routine
4669 * is available to endprotoent re-entrantly.
4671 /* ENDPROTOENT_R_PROTO:
4672 * This symbol encodes the prototype of endprotoent_r.
4673 * It is zero if d_endprotoent_r is undef, and one of the
4674 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
4677 #$d_endprotoent_r HAS_ENDPROTOENT_R /**/
4678 #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
4681 * This symbol, if defined, indicates that the endpwent_r routine
4682 * is available to endpwent re-entrantly.
4684 /* ENDPWENT_R_PROTO:
4685 * This symbol encodes the prototype of endpwent_r.
4686 * It is zero if d_endpwent_r is undef, and one of the
4687 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
4690 #$d_endpwent_r HAS_ENDPWENT_R /**/
4691 #define ENDPWENT_R_PROTO $endpwent_r_proto /**/
4693 /* HAS_ENDSERVENT_R:
4694 * This symbol, if defined, indicates that the endservent_r routine
4695 * is available to endservent re-entrantly.
4697 /* ENDSERVENT_R_PROTO:
4698 * This symbol encodes the prototype of endservent_r.
4699 * It is zero if d_endservent_r is undef, and one of the
4700 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
4703 #$d_endservent_r HAS_ENDSERVENT_R /**/
4704 #define ENDSERVENT_R_PROTO $endservent_r_proto /**/
4707 * This symbol, if defined, indicates that the getgrent_r routine
4708 * is available to getgrent re-entrantly.
4710 /* GETGRENT_R_PROTO:
4711 * This symbol encodes the prototype of getgrent_r.
4712 * It is zero if d_getgrent_r is undef, and one of the
4713 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
4716 #$d_getgrent_r HAS_GETGRENT_R /**/
4717 #define GETGRENT_R_PROTO $getgrent_r_proto /**/
4720 * This symbol, if defined, indicates that the getgrgid_r routine
4721 * is available to getgrgid re-entrantly.
4723 /* GETGRGID_R_PROTO:
4724 * This symbol encodes the prototype of getgrgid_r.
4725 * It is zero if d_getgrgid_r is undef, and one of the
4726 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
4729 #$d_getgrgid_r HAS_GETGRGID_R /**/
4730 #define GETGRGID_R_PROTO $getgrgid_r_proto /**/
4733 * This symbol, if defined, indicates that the getgrnam_r routine
4734 * is available to getgrnam re-entrantly.
4736 /* GETGRNAM_R_PROTO:
4737 * This symbol encodes the prototype of getgrnam_r.
4738 * It is zero if d_getgrnam_r is undef, and one of the
4739 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
4742 #$d_getgrnam_r HAS_GETGRNAM_R /**/
4743 #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
4745 /* HAS_GETHOSTBYADDR_R:
4746 * This symbol, if defined, indicates that the gethostbyaddr_r routine
4747 * is available to gethostbyaddr re-entrantly.
4749 /* GETHOSTBYADDR_R_PROTO:
4750 * This symbol encodes the prototype of gethostbyaddr_r.
4751 * It is zero if d_gethostbyaddr_r is undef, and one of the
4752 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
4755 #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
4756 #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
4758 /* HAS_GETHOSTBYNAME_R:
4759 * This symbol, if defined, indicates that the gethostbyname_r routine
4760 * is available to gethostbyname re-entrantly.
4762 /* GETHOSTBYNAME_R_PROTO:
4763 * This symbol encodes the prototype of gethostbyname_r.
4764 * It is zero if d_gethostbyname_r is undef, and one of the
4765 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
4768 #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
4769 #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
4771 /* HAS_GETHOSTENT_R:
4772 * This symbol, if defined, indicates that the gethostent_r routine
4773 * is available to gethostent re-entrantly.
4775 /* GETHOSTENT_R_PROTO:
4776 * This symbol encodes the prototype of gethostent_r.
4777 * It is zero if d_gethostent_r is undef, and one of the
4778 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
4781 #$d_gethostent_r HAS_GETHOSTENT_R /**/
4782 #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
4785 * This symbol, if defined, indicates that the getlogin_r routine
4786 * is available to getlogin re-entrantly.
4788 /* GETLOGIN_R_PROTO:
4789 * This symbol encodes the prototype of getlogin_r.
4790 * It is zero if d_getlogin_r is undef, and one of the
4791 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
4794 #$d_getlogin_r HAS_GETLOGIN_R /**/
4795 #define GETLOGIN_R_PROTO $getlogin_r_proto /**/
4797 /* HAS_GETNETBYADDR_R:
4798 * This symbol, if defined, indicates that the getnetbyaddr_r routine
4799 * is available to getnetbyaddr re-entrantly.
4801 /* GETNETBYADDR_R_PROTO:
4802 * This symbol encodes the prototype of getnetbyaddr_r.
4803 * It is zero if d_getnetbyaddr_r is undef, and one of the
4804 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
4807 #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
4808 #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
4810 /* HAS_GETNETBYNAME_R:
4811 * This symbol, if defined, indicates that the getnetbyname_r routine
4812 * is available to getnetbyname re-entrantly.
4814 /* GETNETBYNAME_R_PROTO:
4815 * This symbol encodes the prototype of getnetbyname_r.
4816 * It is zero if d_getnetbyname_r is undef, and one of the
4817 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
4820 #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
4821 #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
4824 * This symbol, if defined, indicates that the getnetent_r routine
4825 * is available to getnetent re-entrantly.
4827 /* GETNETENT_R_PROTO:
4828 * This symbol encodes the prototype of getnetent_r.
4829 * It is zero if d_getnetent_r is undef, and one of the
4830 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
4833 #$d_getnetent_r HAS_GETNETENT_R /**/
4834 #define GETNETENT_R_PROTO $getnetent_r_proto /**/
4836 /* HAS_GETPROTOBYNAME_R:
4837 * This symbol, if defined, indicates that the getprotobyname_r routine
4838 * is available to getprotobyname re-entrantly.
4840 /* GETPROTOBYNAME_R_PROTO:
4841 * This symbol encodes the prototype of getprotobyname_r.
4842 * It is zero if d_getprotobyname_r is undef, and one of the
4843 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
4846 #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
4847 #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
4849 /* HAS_GETPROTOBYNUMBER_R:
4850 * This symbol, if defined, indicates that the getprotobynumber_r routine
4851 * is available to getprotobynumber re-entrantly.
4853 /* GETPROTOBYNUMBER_R_PROTO:
4854 * This symbol encodes the prototype of getprotobynumber_r.
4855 * It is zero if d_getprotobynumber_r is undef, and one of the
4856 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
4859 #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
4860 #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
4862 /* HAS_GETPROTOENT_R:
4863 * This symbol, if defined, indicates that the getprotoent_r routine
4864 * is available to getprotoent re-entrantly.
4866 /* GETPROTOENT_R_PROTO:
4867 * This symbol encodes the prototype of getprotoent_r.
4868 * It is zero if d_getprotoent_r is undef, and one of the
4869 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
4872 #$d_getprotoent_r HAS_GETPROTOENT_R /**/
4873 #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
4876 * This symbol, if defined, indicates that the getpwent_r routine
4877 * is available to getpwent re-entrantly.
4879 /* GETPWENT_R_PROTO:
4880 * This symbol encodes the prototype of getpwent_r.
4881 * It is zero if d_getpwent_r is undef, and one of the
4882 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
4885 #$d_getpwent_r HAS_GETPWENT_R /**/
4886 #define GETPWENT_R_PROTO $getpwent_r_proto /**/
4889 * This symbol, if defined, indicates that the getpwnam_r routine
4890 * is available to getpwnam re-entrantly.
4892 /* GETPWNAM_R_PROTO:
4893 * This symbol encodes the prototype of getpwnam_r.
4894 * It is zero if d_getpwnam_r is undef, and one of the
4895 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
4898 #$d_getpwnam_r HAS_GETPWNAM_R /**/
4899 #define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
4902 * This symbol, if defined, indicates that the getpwuid_r routine
4903 * is available to getpwuid re-entrantly.
4905 /* GETPWUID_R_PROTO:
4906 * This symbol encodes the prototype of getpwuid_r.
4907 * It is zero if d_getpwuid_r is undef, and one of the
4908 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
4911 #$d_getpwuid_r HAS_GETPWUID_R /**/
4912 #define GETPWUID_R_PROTO $getpwuid_r_proto /**/
4914 /* HAS_GETSERVBYNAME_R:
4915 * This symbol, if defined, indicates that the getservbyname_r routine
4916 * is available to getservbyname re-entrantly.
4918 /* GETSERVBYNAME_R_PROTO:
4919 * This symbol encodes the prototype of getservbyname_r.
4920 * It is zero if d_getservbyname_r is undef, and one of the
4921 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
4924 #$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
4925 #define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
4927 /* HAS_GETSERVBYPORT_R:
4928 * This symbol, if defined, indicates that the getservbyport_r routine
4929 * is available to getservbyport re-entrantly.
4931 /* GETSERVBYPORT_R_PROTO:
4932 * This symbol encodes the prototype of getservbyport_r.
4933 * It is zero if d_getservbyport_r is undef, and one of the
4934 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
4937 #$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
4938 #define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
4940 /* HAS_GETSERVENT_R:
4941 * This symbol, if defined, indicates that the getservent_r routine
4942 * is available to getservent re-entrantly.
4944 /* GETSERVENT_R_PROTO:
4945 * This symbol encodes the prototype of getservent_r.
4946 * It is zero if d_getservent_r is undef, and one of the
4947 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
4950 #$d_getservent_r HAS_GETSERVENT_R /**/
4951 #define GETSERVENT_R_PROTO $getservent_r_proto /**/
4954 * This symbol, if defined, indicates that the getspnam_r routine
4955 * is available to getspnam re-entrantly.
4957 /* GETSPNAM_R_PROTO:
4958 * This symbol encodes the prototype of getspnam_r.
4959 * It is zero if d_getspnam_r is undef, and one of the
4960 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
4963 #$d_getspnam_r HAS_GETSPNAM_R /**/
4964 #define GETSPNAM_R_PROTO $getspnam_r_proto /**/
4967 * This symbol, if defined, indicates that the gmtime_r routine
4968 * is available to gmtime re-entrantly.
4971 * This symbol encodes the prototype of gmtime_r.
4972 * It is zero if d_gmtime_r is undef, and one of the
4973 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
4976 #$d_gmtime_r HAS_GMTIME_R /**/
4977 #define GMTIME_R_PROTO $gmtime_r_proto /**/
4980 * This symbol, if defined, indicates that the localtime_r routine
4981 * is available to localtime re-entrantly.
4983 /* LOCALTIME_R_NEEDS_TZSET:
4984 * Many libc's localtime_r implementations do not call tzset,
4985 * making them differ from localtime(), and making timezone
4986 * changes using \$ENV{TZ} without explicitly calling tzset
4987 * impossible. This symbol makes us call tzset before localtime_r
4989 #$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
4990 #ifdef LOCALTIME_R_NEEDS_TZSET
4991 #define L_R_TZSET tzset(),
4996 /* LOCALTIME_R_PROTO:
4997 * This symbol encodes the prototype of localtime_r.
4998 * It is zero if d_localtime_r is undef, and one of the
4999 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
5002 #$d_localtime_r HAS_LOCALTIME_R /**/
5003 #define LOCALTIME_R_PROTO $localtime_r_proto /**/
5005 /* OLD_PTHREAD_CREATE_JOINABLE:
5006 * This symbol, if defined, indicates how to create pthread
5007 * in joinable (aka undetached) state. NOTE: not defined
5008 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
5009 * (the new version of the constant).
5010 * If defined, known values are PTHREAD_CREATE_UNDETACHED
5013 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
5015 /* HAS_PTHREAD_ATFORK:
5016 * This symbol, if defined, indicates that the pthread_atfork routine
5017 * is available to setup fork handlers.
5019 #$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
5021 /* HAS_PTHREAD_YIELD:
5022 * This symbol, if defined, indicates that the pthread_yield
5023 * routine is available to yield the execution of the current
5024 * thread. sched_yield is preferable to pthread_yield.
5027 * This symbol defines the way to yield the execution of
5028 * the current thread. Known ways are sched_yield,
5029 * pthread_yield, and pthread_yield with NULL.
5032 * This symbol, if defined, indicates that the sched_yield
5033 * routine is available to yield the execution of the current
5034 * thread. sched_yield is preferable to pthread_yield.
5036 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
5037 #define SCHED_YIELD $sched_yield /**/
5038 #$d_sched_yield HAS_SCHED_YIELD /**/
5041 * This symbol, if defined, indicates that the random_r routine
5042 * is available to random re-entrantly.
5045 * This symbol encodes the prototype of random_r.
5046 * It is zero if d_random_r is undef, and one of the
5047 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
5050 #$d_random_r HAS_RANDOM_R /**/
5051 #define RANDOM_R_PROTO $random_r_proto /**/
5054 * This symbol, if defined, indicates that the readdir64_r routine
5055 * is available to readdir64 re-entrantly.
5057 /* READDIR64_R_PROTO:
5058 * This symbol encodes the prototype of readdir64_r.
5059 * It is zero if d_readdir64_r is undef, and one of the
5060 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
5063 #$d_readdir64_r HAS_READDIR64_R /**/
5064 #define READDIR64_R_PROTO $readdir64_r_proto /**/
5067 * This symbol, if defined, indicates that the readdir_r routine
5068 * is available to readdir re-entrantly.
5071 * This symbol encodes the prototype of readdir_r.
5072 * It is zero if d_readdir_r is undef, and one of the
5073 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
5076 #$d_readdir_r HAS_READDIR_R /**/
5077 #define READDIR_R_PROTO $readdir_r_proto /**/
5080 * This symbol, if defined, indicates that the setgrent_r routine
5081 * is available to setgrent re-entrantly.
5083 /* SETGRENT_R_PROTO:
5084 * This symbol encodes the prototype of setgrent_r.
5085 * It is zero if d_setgrent_r is undef, and one of the
5086 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
5089 #$d_setgrent_r HAS_SETGRENT_R /**/
5090 #define SETGRENT_R_PROTO $setgrent_r_proto /**/
5092 /* HAS_SETHOSTENT_R:
5093 * This symbol, if defined, indicates that the sethostent_r routine
5094 * is available to sethostent re-entrantly.
5096 /* SETHOSTENT_R_PROTO:
5097 * This symbol encodes the prototype of sethostent_r.
5098 * It is zero if d_sethostent_r is undef, and one of the
5099 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
5102 #$d_sethostent_r HAS_SETHOSTENT_R /**/
5103 #define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
5106 * This symbol, if defined, indicates that the setlocale_r routine
5107 * is available to setlocale re-entrantly.
5109 /* SETLOCALE_R_PROTO:
5110 * This symbol encodes the prototype of setlocale_r.
5111 * It is zero if d_setlocale_r is undef, and one of the
5112 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
5115 #$d_setlocale_r HAS_SETLOCALE_R /**/
5116 #define SETLOCALE_R_PROTO $setlocale_r_proto /**/
5119 * This symbol, if defined, indicates that the setnetent_r routine
5120 * is available to setnetent re-entrantly.
5122 /* SETNETENT_R_PROTO:
5123 * This symbol encodes the prototype of setnetent_r.
5124 * It is zero if d_setnetent_r is undef, and one of the
5125 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
5128 #$d_setnetent_r HAS_SETNETENT_R /**/
5129 #define SETNETENT_R_PROTO $setnetent_r_proto /**/
5131 /* HAS_SETPROTOENT_R:
5132 * This symbol, if defined, indicates that the setprotoent_r routine
5133 * is available to setprotoent re-entrantly.
5135 /* SETPROTOENT_R_PROTO:
5136 * This symbol encodes the prototype of setprotoent_r.
5137 * It is zero if d_setprotoent_r is undef, and one of the
5138 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
5141 #$d_setprotoent_r HAS_SETPROTOENT_R /**/
5142 #define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
5145 * This symbol, if defined, indicates that the setpwent_r routine
5146 * is available to setpwent re-entrantly.
5148 /* SETPWENT_R_PROTO:
5149 * This symbol encodes the prototype of setpwent_r.
5150 * It is zero if d_setpwent_r is undef, and one of the
5151 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
5154 #$d_setpwent_r HAS_SETPWENT_R /**/
5155 #define SETPWENT_R_PROTO $setpwent_r_proto /**/
5157 /* HAS_SETSERVENT_R:
5158 * This symbol, if defined, indicates that the setservent_r routine
5159 * is available to setservent re-entrantly.
5161 /* SETSERVENT_R_PROTO:
5162 * This symbol encodes the prototype of setservent_r.
5163 * It is zero if d_setservent_r is undef, and one of the
5164 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
5167 #$d_setservent_r HAS_SETSERVENT_R /**/
5168 #define SETSERVENT_R_PROTO $setservent_r_proto /**/
5171 * This symbol, if defined, indicates that the srand48_r routine
5172 * is available to srand48 re-entrantly.
5175 * This symbol encodes the prototype of srand48_r.
5176 * It is zero if d_srand48_r is undef, and one of the
5177 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
5180 #$d_srand48_r HAS_SRAND48_R /**/
5181 #define SRAND48_R_PROTO $srand48_r_proto /**/
5184 * This symbol, if defined, indicates that the srandom_r routine
5185 * is available to srandom re-entrantly.
5188 * This symbol encodes the prototype of srandom_r.
5189 * It is zero if d_srandom_r is undef, and one of the
5190 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
5193 #$d_srandom_r HAS_SRANDOM_R /**/
5194 #define SRANDOM_R_PROTO $srandom_r_proto /**/
5197 * This symbol, if defined, indicates that the strerror_r routine
5198 * is available to strerror re-entrantly.
5200 /* STRERROR_R_PROTO:
5201 * This symbol encodes the prototype of strerror_r.
5202 * It is zero if d_strerror_r is undef, and one of the
5203 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
5206 #$d_strerror_r HAS_STRERROR_R /**/
5207 #define STRERROR_R_PROTO $strerror_r_proto /**/
5210 * This symbol, if defined, indicates that the tmpnam_r routine
5211 * is available to tmpnam re-entrantly.
5214 * This symbol encodes the prototype of tmpnam_r.
5215 * It is zero if d_tmpnam_r is undef, and one of the
5216 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
5219 #$d_tmpnam_r HAS_TMPNAM_R /**/
5220 #define TMPNAM_R_PROTO $tmpnam_r_proto /**/
5223 * This symbol, if defined, indicates that the ttyname_r routine
5224 * is available to ttyname re-entrantly.
5227 * This symbol encodes the prototype of ttyname_r.
5228 * It is zero if d_ttyname_r is undef, and one of the
5229 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
5232 #$d_ttyname_r HAS_TTYNAME_R /**/
5233 #define TTYNAME_R_PROTO $ttyname_r_proto /**/
5236 * This symbol, if defined, indicates to the C program that it should
5237 * include <mach/cthreads.h>.
5239 #$i_machcthr I_MACH_CTHREADS /**/
5242 * This symbol, if defined, indicates to the C program that it should
5243 * include <pthread.h>.
5245 #$i_pthread I_PTHREAD /**/
5248 * This symbol, if defined, indicates that Perl should be built to
5249 * use the interpreter-based threading implementation.
5252 * This symbol, if defined, indicates that Perl should be built to
5253 * use the 5.005-based threading implementation.
5254 * Only valid up to 5.8.x.
5256 /* OLD_PTHREADS_API:
5257 * This symbol, if defined, indicates that Perl should
5258 * be built to use the old draft POSIX threads API.
5260 /* USE_REENTRANT_API:
5261 * This symbol, if defined, indicates that Perl should
5262 * try to use the various _r versions of library functions.
5263 * This is extremely experimental.
5265 #$use5005threads USE_5005THREADS /**/
5266 #$useithreads USE_ITHREADS /**/
5267 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
5268 #define USE_THREADS /* until src is revised*/
5270 #$d_oldpthreads OLD_PTHREADS_API /**/
5271 #$usereentrant USE_REENTRANT_API /**/
5274 * This symbol, if defined, indicates that the time() routine exists.
5277 * This symbol holds the type returned by time(). It can be long,
5278 * or time_t on BSD sites (in which case <sys/types.h> should be
5281 #$d_time HAS_TIME /**/
5282 #define Time_t $timetype /* Time type */
5285 * This symbol, if defined, indicates that the times() routine exists.
5286 * Note that this became obsolete on some systems (SUNOS), which now
5287 * use getrusage(). It may be necessary to include <sys/times.h>.
5289 #$d_times HAS_TIMES /**/
5292 * This symbol holds the type used to declare file positions in libc.
5293 * It can be fpos_t, long, uint, etc... It may be necessary to include
5294 * <sys/types.h> to get any typedef'ed information.
5296 #define Fpos_t $fpostype /* File position type */
5299 * This symbol defines the format string used for printing a Gid_t.
5301 #define Gid_t_f $gidformat /**/
5304 * This symbol holds the signedness of a Gid_t.
5305 * 1 for unsigned, -1 for signed.
5307 #define Gid_t_sign $gidsign /* GID sign */
5310 * This symbol holds the size of a Gid_t in bytes.
5312 #define Gid_t_size $gidsize /* GID size */
5315 * This symbol holds the return type of getgid() and the type of
5316 * argument to setrgid() and related functions. Typically,
5317 * it is the type of group ids in the kernel. It can be int, ushort,
5318 * gid_t, etc... It may be necessary to include <sys/types.h> to get
5319 * any typedef'ed information.
5321 #define Gid_t $gidtype /* Type for getgid(), etc... */
5324 * This symbol holds the type used to declare offsets in the kernel.
5325 * It can be int, long, off_t, etc... It may be necessary to include
5326 * <sys/types.h> to get any typedef'ed information.
5329 * This symbol holds the number of bytes used by the Off_t.
5332 * This symbol holds the number of bytes used by the Off_t.
5334 #define Off_t $lseektype /* <offset> type */
5335 #define LSEEKSIZE $lseeksize /* <offset> size */
5336 #define Off_t_size $lseeksize /* <offset> size */
5339 * This symbol holds the type used to declare file modes
5340 * for systems calls. It is usually mode_t, but may be
5341 * int or unsigned short. It may be necessary to include <sys/types.h>
5342 * to get any typedef'ed information.
5344 #define Mode_t $modetype /* file mode parameter for system calls */
5347 * This symbol holds the type used to declare process ids in the kernel.
5348 * It can be int, uint, pid_t, etc... It may be necessary to include
5349 * <sys/types.h> to get any typedef'ed information.
5351 #define Pid_t $pidtype /* PID type */
5354 * This symbol holds the size of a Size_t in bytes.
5356 #define Size_t_size $sizesize /**/
5359 * This symbol holds the type used to declare length parameters
5360 * for string functions. It is usually size_t, but may be
5361 * unsigned long, int, etc. It may be necessary to include
5362 * <sys/types.h> to get any typedef'ed information.
5364 #define Size_t $sizetype /* length parameter for string functions */
5367 * This symbol defines the format string used for printing a Uid_t.
5369 #define Uid_t_f $uidformat /**/
5372 * This symbol holds the signedness of a Uid_t.
5373 * 1 for unsigned, -1 for signed.
5375 #define Uid_t_sign $uidsign /* UID sign */
5378 * This symbol holds the size of a Uid_t in bytes.
5380 #define Uid_t_size $uidsize /* UID size */
5383 * This symbol holds the type used to declare user ids in the kernel.
5384 * It can be int, ushort, uid_t, etc... It may be necessary to include
5385 * <sys/types.h> to get any typedef'ed information.
5387 #define Uid_t $uidtype /* UID type */