3 # THIS IS A GENERATED FILE
6 # See Porting/config_h.pl
8 : Set up for generating config_h.SH
10 '') CONFIG_SH=config.sh;;
13 '') CONFIG_H=config.h;;
15 case $PERL_CONFIG_SH in
17 if test -f $CONFIG_SH; then TOP=.;
18 elif test -f ../$CONFIG_SH; then TOP=..;
19 elif test -f ../../$CONFIG_SH; then TOP=../..;
20 elif test -f ../../../$CONFIG_SH; then TOP=../../..;
21 elif test -f ../../../../$CONFIG_SH; then TOP=../../../..;
23 echo "Can't find $CONFIG_SH."; exit 1
29 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
32 already-done) echo "Not re-extracting config.h" ;;
34 echo "Extracting $CONFIG_H (with variable substitutions)"
35 sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
36 /* This file was produced by running the config_h.SH script, which
37 * gets its values from $CONFIG_SH, which is generally produced by
40 * Feel free to modify any of this as the need arises. Note, however,
41 * that running config_h.SH again will wipe out any changes you've made.
42 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
45 /* Package name : $package
46 * Source directory : $src
47 * Configuration time: $cf_time
48 * Configured by : $cf_by
49 * Target system : $myuname
56 * This symbol holds the complete pathname to the sed program.
58 #define LOC_SED "$full_sed" /**/
61 * This symbol, if defined, indicates that the alarm routine is
64 #$d_alarm HAS_ALARM /**/
67 * This symbol is defined if the bcmp() routine is available to
68 * compare blocks of memory.
70 #$d_bcmp HAS_BCMP /**/
73 * This symbol is defined if the bcopy() routine is available to
74 * copy blocks of memory.
76 #$d_bcopy HAS_BCOPY /**/
79 * This symbol is defined if the bzero() routine is available to
80 * set a memory block to 0.
82 #$d_bzero HAS_BZERO /**/
85 * This symbol, if defined, indicates that the chown routine is
88 #$d_chown HAS_CHOWN /**/
91 * This symbol, if defined, indicates that the chroot routine is
94 #$d_chroot HAS_CHROOT /**/
97 * This symbol, if defined, indicates that the chsize routine is available
98 * to truncate files. You might need a -lx to get this routine.
100 #$d_chsize HAS_CHSIZE /**/
103 * This symbol, if defined, indicates that the crypt routine is available
104 * to encrypt passwords and the like.
106 #$d_crypt HAS_CRYPT /**/
109 * This symbol, if defined, indicates that the ctermid routine is
110 * available to generate filename for terminal.
112 #$d_ctermid HAS_CTERMID /**/
115 * This symbol, if defined, indicates that the cuserid routine is
116 * available to get character login names.
118 #$d_cuserid HAS_CUSERID /**/
121 * This symbol, if defined, indicates that this system's <float.h>
122 * or <limits.h> defines the symbol DBL_DIG, which is the number
123 * of significant digits in a double precision number. If this
124 * symbol is not defined, a guess of 15 is usually pretty good.
126 #$d_dbl_dig HAS_DBL_DIG /**/
129 * This symbol, if defined, indicates that the difftime routine is
132 #$d_difftime HAS_DIFFTIME /**/
135 * This symbol, if defined, indicates that the dlerror routine is
136 * available to return a string describing the last error that
137 * occurred from a call to dlopen(), dlclose() or dlsym().
139 #$d_dlerror HAS_DLERROR /**/
142 * This symbol, if defined, indicates that the dup2 routine is
143 * available to duplicate file descriptors.
145 #$d_dup2 HAS_DUP2 /**/
148 * This symbol, if defined, indicates that the fchmod routine is available
149 * to change mode of opened files. If unavailable, use chmod().
151 #$d_fchmod HAS_FCHMOD /**/
154 * This symbol, if defined, indicates that the fchown routine is available
155 * to change ownership of opened files. If unavailable, use chown().
157 #$d_fchown HAS_FCHOWN /**/
160 * This symbol, if defined, indicates to the C program that
161 * the fcntl() function exists.
163 #$d_fcntl HAS_FCNTL /**/
166 * This symbol, if defined, indicates that the fgetpos routine is
167 * available to get the file position indicator, similar to ftell().
169 #$d_fgetpos HAS_FGETPOS /**/
172 * This symbol, if defined, indicates that the flock routine is
173 * available to do file locking.
175 #$d_flock HAS_FLOCK /**/
178 * This symbol, if defined, indicates that the fork routine is
181 #$d_fork HAS_FORK /**/
184 * This symbol, if defined, indicates that the fsetpos routine is
185 * available to set the file position indicator, similar to fseek().
187 #$d_fsetpos HAS_FSETPOS /**/
190 * This symbol, if defined, indicates that the gettimeofday() system
191 * call is available for a sub-second accuracy clock. Usually, the file
192 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
193 * The type "Timeval" should be used to refer to "struct timeval".
195 #$d_gettimeod HAS_GETTIMEOFDAY /**/
196 #ifdef HAS_GETTIMEOFDAY
197 #define Timeval struct timeval /* Structure used by gettimeofday() */
201 * This symbol, if defined, indicates that the getgroups() routine is
202 * available to get the list of process groups. If unavailable, multiple
203 * groups are probably not supported.
205 #$d_getgrps HAS_GETGROUPS /**/
208 * This symbol, if defined, indicates that the getlogin routine is
209 * available to get the login name.
211 #$d_getlogin HAS_GETLOGIN /**/
214 * This symbol, if defined, indicates to the C program that
215 * the getpgid(pid) function is available to get the
218 #$d_getpgid HAS_GETPGID /**/
221 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
222 * routine is available to get the current process group.
224 #$d_getpgrp2 HAS_GETPGRP2 /**/
227 * This symbol, if defined, indicates that the getppid routine is
228 * available to get the parent process ID.
230 #$d_getppid HAS_GETPPID /**/
233 * This symbol, if defined, indicates that the getpriority routine is
234 * available to get a process's priority.
236 #$d_getprior HAS_GETPRIORITY /**/
239 * This symbol, if defined, indicates to the C program that the
240 * inet_aton() function is available to parse IP address "dotted-quad"
243 #$d_inetaton HAS_INET_ATON /**/
246 * This symbol, if defined, indicates that the killpg routine is available
247 * to kill process groups. If unavailable, you probably should use kill
248 * with a negative process number.
250 #$d_killpg HAS_KILLPG /**/
253 * This symbol, if defined, indicates that the link routine is
254 * available to create hard links.
256 #$d_link HAS_LINK /**/
259 * This symbol, if defined, indicates that the localeconv routine is
260 * available for numeric and monetary formatting conventions.
262 #$d_locconv HAS_LOCALECONV /**/
265 * This symbol, if defined, indicates that the lockf routine is
266 * available to do file locking.
268 #$d_lockf HAS_LOCKF /**/
271 * This symbol, if defined, indicates that the lstat routine is
272 * available to do file stats on symbolic links.
274 #$d_lstat HAS_LSTAT /**/
277 * This symbol, if defined, indicates that the mblen routine is available
278 * to find the number of bytes in a multibye character.
280 #$d_mblen HAS_MBLEN /**/
283 * This symbol, if defined, indicates that the mbstowcs routine is
284 * available to convert a multibyte string into a wide character string.
286 #$d_mbstowcs HAS_MBSTOWCS /**/
289 * This symbol, if defined, indicates that the mbtowc routine is available
290 * to convert a multibyte to a wide character.
292 #$d_mbtowc HAS_MBTOWC /**/
295 * This symbol, if defined, indicates that the memcmp routine is available
296 * to compare blocks of memory.
298 #$d_memcmp HAS_MEMCMP /**/
301 * This symbol, if defined, indicates that the memcpy routine is available
302 * to copy blocks of memory.
304 #$d_memcpy HAS_MEMCPY /**/
307 * This symbol, if defined, indicates that the memmove routine is available
308 * to copy potentially overlapping blocks of memory. This should be used
309 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
312 #$d_memmove HAS_MEMMOVE /**/
315 * This symbol, if defined, indicates that the memset routine is available
316 * to set blocks of memory.
318 #$d_memset HAS_MEMSET /**/
321 * This symbol, if defined, indicates that the mkdir routine is available
322 * to create directories. Otherwise you should fork off a new process to
325 #$d_mkdir HAS_MKDIR /**/
328 * This symbol, if defined, indicates that the mkfifo routine is
329 * available to create FIFOs. Otherwise, mknod should be able to
330 * do it for you. However, if mkfifo is there, mknod might require
331 * super-user privileges which mkfifo will not.
333 #$d_mkfifo HAS_MKFIFO /**/
336 * This symbol, if defined, indicates that the mktime routine is
339 #$d_mktime HAS_MKTIME /**/
342 * This symbol, if defined, indicates that the msync system call is
343 * available to synchronize a mapped file.
345 #$d_msync HAS_MSYNC /**/
348 * This symbol, if defined, indicates that the munmap system call is
349 * available to unmap a region, usually mapped by mmap().
351 #$d_munmap HAS_MUNMAP /**/
354 * This symbol, if defined, indicates that the nice routine is
357 #$d_nice HAS_NICE /**/
360 * This symbol, if defined, indicates that pathconf() is available
361 * to determine file-system related limits and options associated
362 * with a given filename.
365 * This symbol, if defined, indicates that pathconf() is available
366 * to determine file-system related limits and options associated
367 * with a given open file descriptor.
369 #$d_pathconf HAS_PATHCONF /**/
370 #$d_fpathconf HAS_FPATHCONF /**/
373 * This symbol, if defined, indicates that the pause routine is
374 * available to suspend a process until a signal is received.
376 #$d_pause HAS_PAUSE /**/
379 * This symbol, if defined, indicates that the pipe routine is
380 * available to create an inter-process channel.
382 #$d_pipe HAS_PIPE /**/
385 * This symbol, if defined, indicates that the poll routine is
386 * available to poll active file descriptors. Please check I_POLL and
387 * I_SYS_POLL to know which header should be included as well.
389 #$d_poll HAS_POLL /**/
392 * This symbol, if defined, indicates that the readdir routine is
393 * available to read directory entries. You may have to include
394 * <dirent.h>. See I_DIRENT.
396 #$d_readdir HAS_READDIR /**/
399 * This symbol, if defined, indicates that the seekdir routine is
400 * available. You may have to include <dirent.h>. See I_DIRENT.
402 #$d_seekdir HAS_SEEKDIR /**/
405 * This symbol, if defined, indicates that the telldir routine is
406 * available. You may have to include <dirent.h>. See I_DIRENT.
408 #$d_telldir HAS_TELLDIR /**/
411 * This symbol, if defined, indicates that the rewinddir routine is
412 * available. You may have to include <dirent.h>. See I_DIRENT.
414 #$d_rewinddir HAS_REWINDDIR /**/
417 * This symbol, if defined, indicates that the readlink routine is
418 * available to read the value of a symbolic link.
420 #$d_readlink HAS_READLINK /**/
423 * This symbol, if defined, indicates that the rename routine is available
424 * to rename files. Otherwise you should do the unlink(), link(), unlink()
427 #$d_rename HAS_RENAME /**/
430 * This symbol, if defined, indicates that the rmdir routine is
431 * available to remove directories. Otherwise you should fork off a
432 * new process to exec /bin/rmdir.
434 #$d_rmdir HAS_RMDIR /**/
437 * This symbol, if defined, indicates that the select routine is
438 * available to select active file descriptors. If the timeout field
439 * is used, <sys/time.h> may need to be included.
441 #$d_select HAS_SELECT /**/
444 * This symbol, if defined, indicates that the setegid routine is available
445 * to change the effective gid of the current program.
447 #$d_setegid HAS_SETEGID /**/
450 * This symbol, if defined, indicates that the seteuid routine is available
451 * to change the effective uid of the current program.
453 #$d_seteuid HAS_SETEUID /**/
456 * This symbol, if defined, indicates that the setgroups() routine is
457 * available to set the list of process groups. If unavailable, multiple
458 * groups are probably not supported.
460 #$d_setgrps HAS_SETGROUPS /**/
463 * This symbol, if defined, indicates that the setlinebuf routine is
464 * available to change stderr or stdout from block-buffered or unbuffered
465 * to a line-buffered mode.
467 #$d_setlinebuf HAS_SETLINEBUF /**/
470 * This symbol, if defined, indicates that the setlocale routine is
471 * available to handle locale-specific ctype implementations.
473 #$d_setlocale HAS_SETLOCALE /**/
476 * This symbol, if defined, indicates that the setpgid(pid, gpid)
477 * routine is available to set process group ID.
479 #$d_setpgid HAS_SETPGID /**/
482 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
483 * routine is available to set the current process group.
485 #$d_setpgrp2 HAS_SETPGRP2 /**/
488 * This symbol, if defined, indicates that the setpriority routine is
489 * available to set a process's priority.
491 #$d_setprior HAS_SETPRIORITY /**/
494 * This symbol, if defined, indicates that the setregid routine is
495 * available to change the real and effective gid of the current
499 * This symbol, if defined, indicates that the setresgid routine is
500 * available to change the real, effective and saved gid of the current
503 #$d_setregid HAS_SETREGID /**/
504 #$d_setresgid HAS_SETRESGID /**/
507 * This symbol, if defined, indicates that the setreuid routine is
508 * available to change the real and effective uid of the current
512 * This symbol, if defined, indicates that the setresuid routine is
513 * available to change the real, effective and saved uid of the current
516 #$d_setreuid HAS_SETREUID /**/
517 #$d_setresuid HAS_SETRESUID /**/
520 * This symbol, if defined, indicates that the setrgid routine is available
521 * to change the real gid of the current program.
523 #$d_setrgid HAS_SETRGID /**/
526 * This symbol, if defined, indicates that the setruid routine is available
527 * to change the real uid of the current program.
529 #$d_setruid HAS_SETRUID /**/
532 * This symbol, if defined, indicates that the setsid routine is
533 * available to set the process group ID.
535 #$d_setsid HAS_SETSID /**/
538 * This symbol is defined to indicate that the strchr()/strrchr()
539 * functions are available for string searching. If not, try the
540 * index()/rindex() pair.
543 * This symbol is defined to indicate that the index()/rindex()
544 * functions are available for string searching.
546 #$d_strchr HAS_STRCHR /**/
547 #$d_index HAS_INDEX /**/
550 * This symbol, if defined, indicates that the strcoll routine is
551 * available to compare strings using collating information.
553 #$d_strcoll HAS_STRCOLL /**/
556 * This symbol, if defined, indicates that the strtod routine is
557 * available to provide better numeric string conversion than atof().
559 #$d_strtod HAS_STRTOD /**/
562 * This symbol, if defined, indicates that the strtol routine is available
563 * to provide better numeric string conversion than atoi() and friends.
565 #$d_strtol HAS_STRTOL /**/
568 * This symbol, if defined, indicates that the strxfrm() routine is
569 * available to transform strings.
571 #$d_strxfrm HAS_STRXFRM /**/
574 * This symbol, if defined, indicates that the symlink routine is available
575 * to create symbolic links.
577 #$d_symlink HAS_SYMLINK /**/
580 * This symbol, if defined, indicates that the syscall routine is
581 * available to call arbitrary system calls. If undefined, that's tough.
583 #$d_syscall HAS_SYSCALL /**/
586 * This symbol, if defined, indicates that sysconf() is available
587 * to determine system related limits and options.
589 #$d_sysconf HAS_SYSCONF /**/
592 * This symbol, if defined, indicates that the system routine is
593 * available to issue a shell command.
595 #$d_system HAS_SYSTEM /**/
598 * This symbol, if defined, indicates that the tcgetpgrp routine is
599 * available to get foreground process group ID.
601 #$d_tcgetpgrp HAS_TCGETPGRP /**/
604 * This symbol, if defined, indicates that the tcsetpgrp routine is
605 * available to set foreground process group ID.
607 #$d_tcsetpgrp HAS_TCSETPGRP /**/
610 * This symbol, if defined, indicates that the truncate routine is
611 * available to truncate files.
613 #$d_truncate HAS_TRUNCATE /**/
616 * This symbol, if defined, indicates that the tzname[] array is
617 * available to access timezone names.
619 #$d_tzname HAS_TZNAME /**/
622 * This symbol, if defined, indicates that the umask routine is
623 * available to set and get the value of the file creation mask.
625 #$d_umask HAS_UMASK /**/
628 * This symbol, if defined, indicates that the usleep routine is
629 * available to let the process sleep on a sub-second accuracy.
631 #$d_usleep HAS_USLEEP /**/
634 * This symbol, if defined, indicates that wait4() exists.
636 #$d_wait4 HAS_WAIT4 /**/
639 * This symbol, if defined, indicates that the waitpid routine is
640 * available to wait for child process.
642 #$d_waitpid HAS_WAITPID /**/
645 * This symbol, if defined, indicates that the wcstombs routine is
646 * available to convert wide character strings to multibyte strings.
648 #$d_wcstombs HAS_WCSTOMBS /**/
651 * This symbol, if defined, indicates that the wctomb routine is available
652 * to convert a wide character to a multibyte.
654 #$d_wctomb HAS_WCTOMB /**/
657 * This symbol holds the type used for the second argument to
658 * getgroups() and setgroups(). Usually, this is the same as
659 * gidtype (gid_t) , but sometimes it isn't.
660 * It can be int, ushort, gid_t, etc...
661 * It may be necessary to include <sys/types.h> to get any
662 * typedef'ed information. This is only required if you have
663 * getgroups() or setgroups()..
665 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
666 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
670 * This symbol, if defined, indicates to the C program that it should
671 * include <arpa/inet.h> to get inet_addr and friends declarations.
673 #$i_arpainet I_ARPA_INET /**/
676 * This symbol, if defined, indicates that <dbm.h> exists and should
680 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
681 * should be included.
684 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
687 * This symbol, if defined, indicates that <dlfcn.h> exists and should
690 #$i_dlfcn I_DLFCN /**/
693 * This manifest constant tells the C program to include <fcntl.h>.
695 #$i_fcntl I_FCNTL /**/
698 * This symbol, if defined, indicates to the C program that it should
699 * include <float.h> to get definition of symbols like DBL_MAX or
700 * DBL_MIN, i.e. machine dependent floating point values.
702 #$i_float I_FLOAT /**/
705 * This symbol, if defined, indicates that <gdbm.h> exists and should
711 * This symbol, if defined, indicates to the C program that it should
712 * include <limits.h> to get definition of symbols like WORD_BIT or
713 * LONG_MAX, i.e. machine dependant limitations.
715 #$i_limits I_LIMITS /**/
718 * This symbol, if defined, indicates to the C program that it should
719 * include <locale.h>.
721 #$i_locale I_LOCALE /**/
724 * This symbol, if defined, indicates to the C program that it should
730 * This symbol, if defined, indicates to the C program that it should
731 * include <memory.h>.
733 #$i_memory I_MEMORY /**/
736 * This symbol, if defined, indicates to the C program that it should
737 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
739 #$i_niin I_NETINET_IN /**/
742 * This symbol, if defined, indicates that <stddef.h> exists and should
745 #$i_stddef I_STDDEF /**/
748 * This symbol, if defined, indicates that <stdlib.h> exists and should
751 #$i_stdlib I_STDLIB /**/
754 * This symbol, if defined, indicates to the C program that it should
755 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
757 #$i_string I_STRING /**/
760 * This symbol, if defined, indicates to the C program that it should
761 * include <sys/dir.h>.
763 #$i_sysdir I_SYS_DIR /**/
766 * This symbol, if defined, indicates to the C program that it should
767 * include <sys/file.h> to get definition of R_OK and friends.
769 #$i_sysfile I_SYS_FILE /**/
772 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
773 * be included. Otherwise, include <sgtty.h> or <termio.h>.
776 * This symbol, if defined, indicates the <sys/sockio.h> should be included
777 * to get socket ioctl options, like SIOCATMARK.
779 #$i_sysioctl I_SYS_IOCTL /**/
780 #$i_syssockio I_SYS_SOCKIO /**/
783 * This symbol, if defined, indicates to the C program that it should
784 * include <sys/ndir.h>.
786 #$i_sysndir I_SYS_NDIR /**/
789 * This symbol, if defined, indicates to the C program that it should
790 * include <sys/param.h>.
792 #$i_sysparam I_SYS_PARAM /**/
795 * This symbol, if defined, indicates that the program may include
796 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
797 * to only include <poll.h>.
799 #$i_syspoll I_SYS_POLL /**/
802 * This symbol, if defined, indicates to the C program that it should
803 * include <sys/resource.h>.
805 #$i_sysresrc I_SYS_RESOURCE /**/
808 * This symbol, if defined, indicates to the C program that it should
809 * include <sys/select.h> in order to get definition of struct timeval.
811 #$i_sysselct I_SYS_SELECT /**/
814 * This symbol, if defined, indicates to the C program that it should
815 * include <sys/stat.h>.
817 #$i_sysstat I_SYS_STAT /**/
820 * This symbol, if defined, indicates to the C program that it should
821 * include <sys/times.h>.
823 #$i_systimes I_SYS_TIMES /**/
826 * This symbol, if defined, indicates to the C program that it should
827 * include <sys/types.h>.
829 #$i_systypes I_SYS_TYPES /**/
832 * This symbol, if defined, indicates to the C program that it should
833 * include <sys/un.h> to get UNIX domain socket definitions.
835 #$i_sysun I_SYS_UN /**/
838 * This symbol, if defined, indicates to the C program that it should
839 * include <sys/wait.h>.
841 #$i_syswait I_SYS_WAIT /**/
844 * This symbol, if defined, indicates to the C program that it should
845 * include <unistd.h>.
847 #$i_unistd I_UNISTD /**/
850 * This symbol, if defined, indicates to the C program that it should
853 #$i_utime I_UTIME /**/
856 * This symbol, if defined, indicates to the C program that it should
857 * include <values.h> to get definition of symbols like MINFLOAT or
858 * MAXLONG, i.e. machine dependant limitations. Probably, you
859 * should use <limits.h> instead, if it is available.
861 #$i_values I_VALUES /**/
864 * This symbol, if defined, indicates to the C program that it should
867 #$i_vfork I_VFORK /**/
870 * This variable is defined on systems supporting prototype declaration
871 * of functions with a variable number of arguments.
874 * This macro is used to declare function parameters in prototypes for
875 * functions with a variable number of parameters. Use double parentheses.
878 * int printf _V((char *fmt, ...));
880 * Remember to use the plain simple _() macro when declaring a function
881 * with no variable number of arguments, since it might be possible to
882 * have a non-effect _V() macro and still get prototypes via _().
884 #$vaproto CAN_VAPROTO /**/
886 #define _V(args) args
892 * This symbol contains the name of the operating system, as determined
893 * by Configure. You shouldn't rely on it too much; the specific
894 * feature tests from Configure are generally more reliable.
897 * This symbol contains the version of the operating system, as determined
898 * by Configure. You shouldn't rely on it too much; the specific
899 * feature tests from Configure are generally more reliable.
901 #define OSNAME "$osname" /**/
902 #define OSVERS "$osvers" /**/
905 * This symbol, if defined, signifies that the build
906 * process will produce some binary files that are going to be
907 * used in a cross-platform environment. This is the case for
908 * example with the NeXT "fat" binaries that contain executables
911 #$multiarch MULTIARCH /**/
914 * This symbol contains the number of bytes required to align a
915 * double, or a long double when applicable. Usual values are 2,
916 * 4 and 8. The default is eight, for safety. For cross-compiling
917 * or multiarch support, Configure will set a minimum of 8.
919 #define MEM_ALIGNBYTES $alignbytes
922 * This variable, if defined, holds the name of the directory in
923 * which the user wants to put architecture-dependent public
924 * library files for $package. It is most often a local directory
925 * such as /usr/local/lib. Programs using this variable must be
926 * prepared to deal with filename expansion. If ARCHLIB is the
927 * same as PRIVLIB, it is not defined, since presumably the
928 * program already searches PRIVLIB.
931 * This symbol contains the ~name expanded version of ARCHLIB, to be used
932 * in programs that are not prepared to deal with ~ expansion at run-time.
934 #$d_archlib ARCHLIB "$archlib" /**/
935 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
938 * This symbol holds a string representing the architecture name.
939 * It may be used to construct an architecture-dependant pathname
940 * where library files may be held under a private library, for
943 #define ARCHNAME "$archname" /**/
946 * This symbol holds the path of the bin directory where the package will
947 * be installed. Program must be prepared to deal with ~name substitution.
950 * This symbol is the filename expanded version of the BIN symbol, for
951 * programs that do not want to deal with that at run-time.
953 /* PERL_RELOCATABLE_INC:
954 * This symbol, if defined, indicates that we'd like to relocate entries
955 * in @INC at run time based on the location of the perl binary.
957 #define BIN "$bin" /**/
958 #define BIN_EXP "$binexp" /**/
959 #define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
962 * This symbol contains the value of sizeof(int) so that the C
963 * preprocessor can make decisions based on it.
966 * This symbol contains the value of sizeof(long) so that the C
967 * preprocessor can make decisions based on it.
970 * This symbol contains the value of sizeof(short) so that the C
971 * preprocessor can make decisions based on it.
973 #define INTSIZE $intsize /**/
974 #define LONGSIZE $longsize /**/
975 #define SHORTSIZE $shortsize /**/
978 * This symbol holds the hexadecimal constant defined in byteorder,
979 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
980 * If the compiler supports cross-compiling or multiple-architecture
981 * binaries, use compiler-defined macros to
982 * determine the byte order.
984 #if defined(MULTIARCH)
985 # ifdef __LITTLE_ENDIAN__
987 # define BYTEORDER 0x1234
990 # define BYTEORDER 0x12345678
994 # ifdef __BIG_ENDIAN__
996 # define BYTEORDER 0x4321
999 # define BYTEORDER 0x87654321
1005 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1009 * This symbol contains the size of a char, so that the C preprocessor
1010 * can make decisions based on it.
1012 #define CHARBITS $charbits /**/
1015 * This macro concatenates 2 tokens together.
1018 * This macro surrounds its token with double quotes.
1021 #define CAT2(a,b) a/**/b
1022 #define STRINGIFY(a) "a"
1024 #if $cpp_stuff == 42
1025 #define PeRl_CaTiFy(a, b) a ## b
1026 #define PeRl_StGiFy(a) #a
1027 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1028 #define StGiFy(a) PeRl_StGiFy(a)
1029 #define STRINGIFY(a) PeRl_StGiFy(a)
1031 #if $cpp_stuff != 1 && $cpp_stuff != 42
1032 #include "Bletch: How does this C preprocessor concatenate tokens?"
1036 * This symbol contains the first part of the string which will invoke
1037 * the C preprocessor on the standard input and produce to standard
1038 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1039 * call a wrapper. See CPPRUN.
1042 * This symbol contains the second part of the string which will invoke
1043 * the C preprocessor on the standard input and produce to standard
1044 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1045 * to specify standard input, otherwise the value is "".
1048 * This symbol contains the string which will invoke a C preprocessor on
1049 * the standard input and produce to standard output. It needs to end
1050 * with CPPLAST, after all other preprocessor flags have been specified.
1051 * The main difference with CPPSTDIN is that this program will never be a
1052 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1053 * available directly to the user. Note that it may well be different from
1054 * the preprocessor used to compile the C program.
1057 * This symbol is intended to be used along with CPPRUN in the same manner
1058 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1060 #define CPPSTDIN "$cppstdin"
1061 #define CPPMINUS "$cppminus"
1062 #define CPPRUN "$cpprun"
1063 #define CPPLAST "$cpplast"
1066 * This manifest constant lets the C program know that the access()
1067 * system call is available to check for accessibility using real UID/GID.
1068 * (always present on UNIX.)
1070 #$d_access HAS_ACCESS /**/
1073 * This symbol, if defined, indicates that the accessx routine is
1074 * available to do extended access checks.
1076 #$d_accessx HAS_ACCESSX /**/
1079 * This symbol, if defined, indicates that the asctime_r routine
1080 * is available to asctime re-entrantly.
1083 * This symbol encodes the prototype of asctime_r.
1084 * It is zero if d_asctime_r is undef, and one of the
1085 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1088 #$d_asctime_r HAS_ASCTIME_R /**/
1089 #define ASCTIME_R_PROTO $asctime_r_proto /**/
1091 /* HASATTRIBUTE_FORMAT:
1092 * Can we handle GCC attribute for checking printf-style formats
1094 /* PRINTF_FORMAT_NULL_OK:
1095 * Allows __printf__ format to be null when checking printf-style
1097 /* HASATTRIBUTE_MALLOC:
1098 * Can we handle GCC attribute for malloc-style functions.
1100 /* HASATTRIBUTE_NONNULL:
1101 * Can we handle GCC attribute for nonnull function parms.
1103 /* HASATTRIBUTE_NORETURN:
1104 * Can we handle GCC attribute for functions that do not return
1106 /* HASATTRIBUTE_PURE:
1107 * Can we handle GCC attribute for pure functions
1109 /* HASATTRIBUTE_UNUSED:
1110 * Can we handle GCC attribute for unused variables and arguments
1112 /* HASATTRIBUTE_DEPRECATED:
1113 * Can we handle GCC attribute for marking deprecated APIs
1115 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1116 * Can we handle GCC attribute for warning on unused results
1118 #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/
1119 #$d_attribute_format HASATTRIBUTE_FORMAT /**/
1120 #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
1121 #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1122 #$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1123 #$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1124 #$d_attribute_pure HASATTRIBUTE_PURE /**/
1125 #$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1126 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1129 * This symbol, if defined, indicates that the backtrace() routine is
1130 * available to get a stack trace. The <execinfo.h> header must be
1131 * included to use this routine.
1133 #$d_backtrace HAS_BACKTRACE /**/
1136 * This symbol is defined if the C compiler can cast negative
1137 * or large floating point numbers to 32-bit ints.
1139 #$d_casti32 CASTI32 /**/
1142 * This symbol is defined if the C compiler can cast negative
1143 * numbers to unsigned longs, ints and shorts.
1146 * This symbol contains flags that say what difficulties the compiler
1147 * has casting odd floating values to unsigned long:
1149 * 1 = couldn't cast < 0
1150 * 2 = couldn't cast >= 0x80000000
1151 * 4 = couldn't cast in argument expression list
1153 #$d_castneg CASTNEGFLOAT /**/
1154 #define CASTFLAGS $castflags /**/
1157 * This symbol, if defined, indicates that the closedir() routine
1158 * does not return a value.
1160 #$d_void_closedir VOID_CLOSEDIR /**/
1163 * This symbol, if defined, indicates that this C compiler knows about
1164 * the const type. There is no need to actually test for that symbol
1165 * within your programs. The mere use of the "const" keyword will
1166 * trigger the necessary tests.
1168 #$d_const HASCONST /**/
1174 * This symbol, if defined, indicates that the crypt_r routine
1175 * is available to crypt re-entrantly.
1178 * This symbol encodes the prototype of crypt_r.
1179 * It is zero if d_crypt_r is undef, and one of the
1180 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1183 #$d_crypt_r HAS_CRYPT_R /**/
1184 #define CRYPT_R_PROTO $crypt_r_proto /**/
1187 * This symbol, if defined, indicates that the C-shell exists.
1190 * This symbol, if defined, contains the full pathname of csh.
1192 #$d_csh HAS_CSH /**/
1194 #define CSH "$full_csh" /**/
1198 * This symbol, if defined, indicates that the ctermid_r routine
1199 * is available to ctermid re-entrantly.
1202 * This symbol encodes the prototype of ctermid_r.
1203 * It is zero if d_ctermid_r is undef, and one of the
1204 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1207 #$d_ctermid_r HAS_CTERMID_R /**/
1208 #define CTERMID_R_PROTO $ctermid_r_proto /**/
1211 * This symbol, if defined, indicates that the ctime_r routine
1212 * is available to ctime re-entrantly.
1215 * This symbol encodes the prototype of ctime_r.
1216 * It is zero if d_ctime_r is undef, and one of the
1217 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1220 #$d_ctime_r HAS_CTIME_R /**/
1221 #define CTIME_R_PROTO $ctime_r_proto /**/
1224 * This symbol, if defined, indicates that the dladdr() routine is
1225 * available to query dynamic linker information for an address.
1226 * The <dlfcn.h> header must be included to use this routine.
1228 #$d_dladdr HAS_DLADDR /**/
1230 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1231 * This symbol, if defined, indicates that the bug that prevents
1232 * setuid scripts from being secure is not present in this kernel.
1235 * This symbol, if defined, indicates that the C program should
1236 * check the script that it is executing for setuid/setgid bits, and
1237 * attempt to emulate setuid/setgid on systems that have disabled
1238 * setuid #! scripts because the kernel can't do it securely.
1239 * It is up to the package designer to make sure that this emulation
1240 * is done securely. Among other things, it should do an fstat on
1241 * the script it just opened to make sure it really is a setuid/setgid
1242 * script, it should make sure the arguments passed correspond exactly
1243 * to the argument on the #! line, and it should not trust any
1244 * subprocesses to which it must pass the filename rather than the
1245 * file descriptor of the script to be executed.
1247 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1248 #$d_dosuid DOSUID /**/
1251 * This symbol, if defined, indicates that the drand48_r routine
1252 * is available to drand48 re-entrantly.
1255 * This symbol encodes the prototype of drand48_r.
1256 * It is zero if d_drand48_r is undef, and one of the
1257 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1260 #$d_drand48_r HAS_DRAND48_R /**/
1261 #define DRAND48_R_PROTO $drand48_r_proto /**/
1263 /* HAS_DRAND48_PROTO:
1264 * This symbol, if defined, indicates that the system provides
1265 * a prototype for the drand48() function. Otherwise, it is up
1266 * to the program to supply one. A good guess is
1267 * extern double drand48(void);
1269 #$d_drand48proto HAS_DRAND48_PROTO /**/
1272 * This symbol, if defined, indicates that the eaccess routine is
1273 * available to do extended access checks.
1275 #$d_eaccess HAS_EACCESS /**/
1278 * This symbol, if defined, indicates that the getgrent routine is
1279 * available for finalizing sequential access of the group database.
1281 #$d_endgrent HAS_ENDGRENT /**/
1284 * This symbol, if defined, indicates that the endgrent_r routine
1285 * is available to endgrent re-entrantly.
1287 /* ENDGRENT_R_PROTO:
1288 * This symbol encodes the prototype of endgrent_r.
1289 * It is zero if d_endgrent_r is undef, and one of the
1290 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1293 #$d_endgrent_r HAS_ENDGRENT_R /**/
1294 #define ENDGRENT_R_PROTO $endgrent_r_proto /**/
1297 * This symbol, if defined, indicates that the endhostent() routine is
1298 * available to close whatever was being used for host queries.
1300 #$d_endhent HAS_ENDHOSTENT /**/
1302 /* HAS_ENDHOSTENT_R:
1303 * This symbol, if defined, indicates that the endhostent_r routine
1304 * is available to endhostent re-entrantly.
1306 /* ENDHOSTENT_R_PROTO:
1307 * This symbol encodes the prototype of endhostent_r.
1308 * It is zero if d_endhostent_r is undef, and one of the
1309 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1312 #$d_endhostent_r HAS_ENDHOSTENT_R /**/
1313 #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
1316 * This symbol, if defined, indicates that the endnetent() routine is
1317 * available to close whatever was being used for network queries.
1319 #$d_endnent HAS_ENDNETENT /**/
1322 * This symbol, if defined, indicates that the endnetent_r routine
1323 * is available to endnetent re-entrantly.
1325 /* ENDNETENT_R_PROTO:
1326 * This symbol encodes the prototype of endnetent_r.
1327 * It is zero if d_endnetent_r is undef, and one of the
1328 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1331 #$d_endnetent_r HAS_ENDNETENT_R /**/
1332 #define ENDNETENT_R_PROTO $endnetent_r_proto /**/
1335 * This symbol, if defined, indicates that the endprotoent() routine is
1336 * available to close whatever was being used for protocol queries.
1338 #$d_endpent HAS_ENDPROTOENT /**/
1340 /* HAS_ENDPROTOENT_R:
1341 * This symbol, if defined, indicates that the endprotoent_r routine
1342 * is available to endprotoent re-entrantly.
1344 /* ENDPROTOENT_R_PROTO:
1345 * This symbol encodes the prototype of endprotoent_r.
1346 * It is zero if d_endprotoent_r is undef, and one of the
1347 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1350 #$d_endprotoent_r HAS_ENDPROTOENT_R /**/
1351 #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
1354 * This symbol, if defined, indicates that the getgrent routine is
1355 * available for finalizing sequential access of the passwd database.
1357 #$d_endpwent HAS_ENDPWENT /**/
1360 * This symbol, if defined, indicates that the endpwent_r routine
1361 * is available to endpwent re-entrantly.
1363 /* ENDPWENT_R_PROTO:
1364 * This symbol encodes the prototype of endpwent_r.
1365 * It is zero if d_endpwent_r is undef, and one of the
1366 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1369 #$d_endpwent_r HAS_ENDPWENT_R /**/
1370 #define ENDPWENT_R_PROTO $endpwent_r_proto /**/
1373 * This symbol, if defined, indicates that the endservent() routine is
1374 * available to close whatever was being used for service queries.
1376 #$d_endsent HAS_ENDSERVENT /**/
1378 /* HAS_ENDSERVENT_R:
1379 * This symbol, if defined, indicates that the endservent_r routine
1380 * is available to endservent re-entrantly.
1382 /* ENDSERVENT_R_PROTO:
1383 * This symbol encodes the prototype of endservent_r.
1384 * It is zero if d_endservent_r is undef, and one of the
1385 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1388 #$d_endservent_r HAS_ENDSERVENT_R /**/
1389 #define ENDSERVENT_R_PROTO $endservent_r_proto /**/
1392 * This symbol, when defined, indicates presence of the fd_set typedef
1395 #$d_fd_set HAS_FD_SET /**/
1398 * This symbol, if defined, indicates that the system supports filenames
1399 * longer than 14 characters.
1401 #$d_flexfnam FLEXFILENAMES /**/
1404 * This preprocessor macro is defined to convert a floating point
1405 * number to a string without a trailing decimal point. This
1406 * emulates the behavior of sprintf("%g"), but is sometimes much more
1407 * efficient. If gconvert() is not available, but gcvt() drops the
1408 * trailing decimal point, then gcvt() is used. If all else fails,
1409 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1410 * macro are: value, number of digits, whether trailing zeros should
1411 * be retained, and the output buffer.
1412 * The usual values are:
1413 * d_Gconvert='gconvert((x),(n),(t),(b))'
1414 * d_Gconvert='gcvt((x),(n),(b))'
1415 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1416 * The last two assume trailing zeros should not be kept.
1418 #define Gconvert(x,n,t,b) $d_Gconvert
1421 * This symbol, if defined, indicates that the getgrent routine is
1422 * available for sequential access of the group database.
1424 #$d_getgrent HAS_GETGRENT /**/
1427 * This symbol, if defined, indicates that the getgrent_r routine
1428 * is available to getgrent re-entrantly.
1430 /* GETGRENT_R_PROTO:
1431 * This symbol encodes the prototype of getgrent_r.
1432 * It is zero if d_getgrent_r is undef, and one of the
1433 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1436 #$d_getgrent_r HAS_GETGRENT_R /**/
1437 #define GETGRENT_R_PROTO $getgrent_r_proto /**/
1440 * This symbol, if defined, indicates that the getgrgid_r routine
1441 * is available to getgrgid re-entrantly.
1443 /* GETGRGID_R_PROTO:
1444 * This symbol encodes the prototype of getgrgid_r.
1445 * It is zero if d_getgrgid_r is undef, and one of the
1446 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1449 #$d_getgrgid_r HAS_GETGRGID_R /**/
1450 #define GETGRGID_R_PROTO $getgrgid_r_proto /**/
1453 * This symbol, if defined, indicates that the getgrnam_r routine
1454 * is available to getgrnam re-entrantly.
1456 /* GETGRNAM_R_PROTO:
1457 * This symbol encodes the prototype of getgrnam_r.
1458 * It is zero if d_getgrnam_r is undef, and one of the
1459 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1462 #$d_getgrnam_r HAS_GETGRNAM_R /**/
1463 #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
1465 /* HAS_GETHOSTBYADDR:
1466 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1467 * available to look up hosts by their IP addresses.
1469 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1471 /* HAS_GETHOSTBYNAME:
1472 * This symbol, if defined, indicates that the gethostbyname() routine is
1473 * available to look up host names in some data base or other.
1475 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1478 * This symbol, if defined, indicates that the gethostent() routine is
1479 * available to look up host names in some data base or another.
1481 #$d_gethent HAS_GETHOSTENT /**/
1484 * This symbol, if defined, indicates that the C program may use the
1485 * gethostname() routine to derive the host name. See also HAS_UNAME
1489 * This symbol, if defined, indicates that the C program may use the
1490 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1494 * This symbol, if defined, indicates the command to feed to the
1495 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1496 * and HAS_UNAME. Note that the command uses a fully qualified path,
1497 * so that it is safe even if used by a process with super-user
1501 * This symbol, if defined, indicates that the C program may use the
1502 * contents of PHOSTNAME as a command to feed to the popen() routine
1503 * to derive the host name.
1505 #$d_gethname HAS_GETHOSTNAME /**/
1506 #$d_uname HAS_UNAME /**/
1507 #$d_phostname HAS_PHOSTNAME /**/
1508 #ifdef HAS_PHOSTNAME
1509 #define PHOSTNAME "$aphostname" /* How to get the host name */
1512 /* HAS_GETHOSTBYADDR_R:
1513 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1514 * is available to gethostbyaddr re-entrantly.
1516 /* GETHOSTBYADDR_R_PROTO:
1517 * This symbol encodes the prototype of gethostbyaddr_r.
1518 * It is zero if d_gethostbyaddr_r is undef, and one of the
1519 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1522 #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
1523 #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
1525 /* HAS_GETHOSTBYNAME_R:
1526 * This symbol, if defined, indicates that the gethostbyname_r routine
1527 * is available to gethostbyname re-entrantly.
1529 /* GETHOSTBYNAME_R_PROTO:
1530 * This symbol encodes the prototype of gethostbyname_r.
1531 * It is zero if d_gethostbyname_r is undef, and one of the
1532 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1535 #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
1536 #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
1538 /* HAS_GETHOSTENT_R:
1539 * This symbol, if defined, indicates that the gethostent_r routine
1540 * is available to gethostent re-entrantly.
1542 /* GETHOSTENT_R_PROTO:
1543 * This symbol encodes the prototype of gethostent_r.
1544 * It is zero if d_gethostent_r is undef, and one of the
1545 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1548 #$d_gethostent_r HAS_GETHOSTENT_R /**/
1549 #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
1551 /* HAS_GETHOST_PROTOS:
1552 * This symbol, if defined, indicates that <netdb.h> includes
1553 * prototypes for gethostent(), gethostbyname(), and
1554 * gethostbyaddr(). Otherwise, it is up to the program to guess
1555 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1557 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
1560 * This symbol, if defined, indicates that the getlogin_r routine
1561 * is available to getlogin re-entrantly.
1563 /* GETLOGIN_R_PROTO:
1564 * This symbol encodes the prototype of getlogin_r.
1565 * It is zero if d_getlogin_r is undef, and one of the
1566 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1569 #$d_getlogin_r HAS_GETLOGIN_R /**/
1570 #define GETLOGIN_R_PROTO $getlogin_r_proto /**/
1572 /* HAS_GETNETBYADDR:
1573 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1574 * available to look up networks by their IP addresses.
1576 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1578 /* HAS_GETNETBYNAME:
1579 * This symbol, if defined, indicates that the getnetbyname() routine is
1580 * available to look up networks by their names.
1582 #$d_getnbyname HAS_GETNETBYNAME /**/
1585 * This symbol, if defined, indicates that the getnetent() routine is
1586 * available to look up network names in some data base or another.
1588 #$d_getnent HAS_GETNETENT /**/
1590 /* HAS_GETNETBYADDR_R:
1591 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1592 * is available to getnetbyaddr re-entrantly.
1594 /* GETNETBYADDR_R_PROTO:
1595 * This symbol encodes the prototype of getnetbyaddr_r.
1596 * It is zero if d_getnetbyaddr_r is undef, and one of the
1597 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1600 #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
1601 #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
1603 /* HAS_GETNETBYNAME_R:
1604 * This symbol, if defined, indicates that the getnetbyname_r routine
1605 * is available to getnetbyname re-entrantly.
1607 /* GETNETBYNAME_R_PROTO:
1608 * This symbol encodes the prototype of getnetbyname_r.
1609 * It is zero if d_getnetbyname_r is undef, and one of the
1610 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1613 #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
1614 #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
1617 * This symbol, if defined, indicates that the getnetent_r routine
1618 * is available to getnetent re-entrantly.
1620 /* GETNETENT_R_PROTO:
1621 * This symbol encodes the prototype of getnetent_r.
1622 * It is zero if d_getnetent_r is undef, and one of the
1623 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1626 #$d_getnetent_r HAS_GETNETENT_R /**/
1627 #define GETNETENT_R_PROTO $getnetent_r_proto /**/
1629 /* HAS_GETNET_PROTOS:
1630 * This symbol, if defined, indicates that <netdb.h> includes
1631 * prototypes for getnetent(), getnetbyname(), and
1632 * getnetbyaddr(). Otherwise, it is up to the program to guess
1633 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1635 #$d_getnetprotos HAS_GETNET_PROTOS /**/
1638 * This symbol, if defined, indicates that the getpagesize system call
1639 * is available to get system page size, which is the granularity of
1640 * many memory management calls.
1642 #$d_getpagsz HAS_GETPAGESIZE /**/
1645 * This symbol, if defined, indicates that the getprotoent() routine is
1646 * available to look up protocols in some data base or another.
1648 #$d_getpent HAS_GETPROTOENT /**/
1651 * This symbol, if defined, indicates that the getpgrp routine is
1652 * available to get the current process group.
1655 * This symbol, if defined, indicates that getpgrp needs one
1656 * arguments whereas USG one needs none.
1658 #$d_getpgrp HAS_GETPGRP /**/
1659 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1661 /* HAS_GETPROTOBYNAME:
1662 * This symbol, if defined, indicates that the getprotobyname()
1663 * routine is available to look up protocols by their name.
1665 /* HAS_GETPROTOBYNUMBER:
1666 * This symbol, if defined, indicates that the getprotobynumber()
1667 * routine is available to look up protocols by their number.
1669 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1670 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1672 /* HAS_GETPROTOBYNAME_R:
1673 * This symbol, if defined, indicates that the getprotobyname_r routine
1674 * is available to getprotobyname re-entrantly.
1676 /* GETPROTOBYNAME_R_PROTO:
1677 * This symbol encodes the prototype of getprotobyname_r.
1678 * It is zero if d_getprotobyname_r is undef, and one of the
1679 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1682 #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
1683 #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
1685 /* HAS_GETPROTOBYNUMBER_R:
1686 * This symbol, if defined, indicates that the getprotobynumber_r routine
1687 * is available to getprotobynumber re-entrantly.
1689 /* GETPROTOBYNUMBER_R_PROTO:
1690 * This symbol encodes the prototype of getprotobynumber_r.
1691 * It is zero if d_getprotobynumber_r is undef, and one of the
1692 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1695 #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
1696 #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
1698 /* HAS_GETPROTOENT_R:
1699 * This symbol, if defined, indicates that the getprotoent_r routine
1700 * is available to getprotoent re-entrantly.
1702 /* GETPROTOENT_R_PROTO:
1703 * This symbol encodes the prototype of getprotoent_r.
1704 * It is zero if d_getprotoent_r is undef, and one of the
1705 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1708 #$d_getprotoent_r HAS_GETPROTOENT_R /**/
1709 #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
1711 /* HAS_GETPROTO_PROTOS:
1712 * This symbol, if defined, indicates that <netdb.h> includes
1713 * prototypes for getprotoent(), getprotobyname(), and
1714 * getprotobyaddr(). Otherwise, it is up to the program to guess
1715 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1717 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1720 * This symbol, if defined, indicates that the getpwent routine is
1721 * available for sequential access of the passwd database.
1722 * If this is not available, the older getpw() function may be available.
1724 #$d_getpwent HAS_GETPWENT /**/
1727 * This symbol, if defined, indicates that the getpwent_r routine
1728 * is available to getpwent re-entrantly.
1730 /* GETPWENT_R_PROTO:
1731 * This symbol encodes the prototype of getpwent_r.
1732 * It is zero if d_getpwent_r is undef, and one of the
1733 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1736 #$d_getpwent_r HAS_GETPWENT_R /**/
1737 #define GETPWENT_R_PROTO $getpwent_r_proto /**/
1740 * This symbol, if defined, indicates that the getpwnam_r routine
1741 * is available to getpwnam re-entrantly.
1743 /* GETPWNAM_R_PROTO:
1744 * This symbol encodes the prototype of getpwnam_r.
1745 * It is zero if d_getpwnam_r is undef, and one of the
1746 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1749 #$d_getpwnam_r HAS_GETPWNAM_R /**/
1750 #define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
1753 * This symbol, if defined, indicates that the getpwuid_r routine
1754 * is available to getpwuid re-entrantly.
1756 /* GETPWUID_R_PROTO:
1757 * This symbol encodes the prototype of getpwuid_r.
1758 * It is zero if d_getpwuid_r is undef, and one of the
1759 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1762 #$d_getpwuid_r HAS_GETPWUID_R /**/
1763 #define GETPWUID_R_PROTO $getpwuid_r_proto /**/
1766 * This symbol, if defined, indicates that the getservent() routine is
1767 * available to look up network services in some data base or another.
1769 #$d_getsent HAS_GETSERVENT /**/
1771 /* HAS_GETSERVBYNAME_R:
1772 * This symbol, if defined, indicates that the getservbyname_r routine
1773 * is available to getservbyname re-entrantly.
1775 /* GETSERVBYNAME_R_PROTO:
1776 * This symbol encodes the prototype of getservbyname_r.
1777 * It is zero if d_getservbyname_r is undef, and one of the
1778 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1781 #$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
1782 #define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
1784 /* HAS_GETSERVBYPORT_R:
1785 * This symbol, if defined, indicates that the getservbyport_r routine
1786 * is available to getservbyport re-entrantly.
1788 /* GETSERVBYPORT_R_PROTO:
1789 * This symbol encodes the prototype of getservbyport_r.
1790 * It is zero if d_getservbyport_r is undef, and one of the
1791 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1794 #$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
1795 #define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
1797 /* HAS_GETSERVENT_R:
1798 * This symbol, if defined, indicates that the getservent_r routine
1799 * is available to getservent re-entrantly.
1801 /* GETSERVENT_R_PROTO:
1802 * This symbol encodes the prototype of getservent_r.
1803 * It is zero if d_getservent_r is undef, and one of the
1804 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1807 #$d_getservent_r HAS_GETSERVENT_R /**/
1808 #define GETSERVENT_R_PROTO $getservent_r_proto /**/
1810 /* HAS_GETSERV_PROTOS:
1811 * This symbol, if defined, indicates that <netdb.h> includes
1812 * prototypes for getservent(), getservbyname(), and
1813 * getservbyaddr(). Otherwise, it is up to the program to guess
1814 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1816 #$d_getservprotos HAS_GETSERV_PROTOS /**/
1819 * This symbol, if defined, indicates that the getspnam_r routine
1820 * is available to getspnam re-entrantly.
1822 /* GETSPNAM_R_PROTO:
1823 * This symbol encodes the prototype of getspnam_r.
1824 * It is zero if d_getspnam_r is undef, and one of the
1825 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1828 #$d_getspnam_r HAS_GETSPNAM_R /**/
1829 #define GETSPNAM_R_PROTO $getspnam_r_proto /**/
1831 /* HAS_GETSERVBYNAME:
1832 * This symbol, if defined, indicates that the getservbyname()
1833 * routine is available to look up services by their name.
1835 /* HAS_GETSERVBYPORT:
1836 * This symbol, if defined, indicates that the getservbyport()
1837 * routine is available to look up services by their port.
1839 #$d_getsbyname HAS_GETSERVBYNAME /**/
1840 #$d_getsbyport HAS_GETSERVBYPORT /**/
1843 * This symbol, if defined, indicates that the gmtime_r routine
1844 * is available to gmtime re-entrantly.
1847 * This symbol encodes the prototype of gmtime_r.
1848 * It is zero if d_gmtime_r is undef, and one of the
1849 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1852 #$d_gmtime_r HAS_GMTIME_R /**/
1853 #define GMTIME_R_PROTO $gmtime_r_proto /**/
1856 * This symbol, if defined, indicates to the C program that
1857 * the GNU C library is being used. A better check is to use
1858 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1860 #$d_gnulibc HAS_GNULIBC /**/
1861 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1862 # define _GNU_SOURCE
1866 * This symbol, if defined, indicates that the htonl() routine (and
1867 * friends htons() ntohl() ntohs()) are available to do network
1868 * order byte swapping.
1871 * This symbol, if defined, indicates that the htons() routine (and
1872 * friends htonl() ntohl() ntohs()) are available to do network
1873 * order byte swapping.
1876 * This symbol, if defined, indicates that the ntohl() routine (and
1877 * friends htonl() htons() ntohs()) are available to do network
1878 * order byte swapping.
1881 * This symbol, if defined, indicates that the ntohs() routine (and
1882 * friends htonl() htons() ntohl()) are available to do network
1883 * order byte swapping.
1885 #$d_htonl HAS_HTONL /**/
1886 #$d_htonl HAS_HTONS /**/
1887 #$d_htonl HAS_NTOHL /**/
1888 #$d_htonl HAS_NTOHS /**/
1891 * This manifest constant lets the C program know that isascii
1894 #$d_isascii HAS_ISASCII /**/
1897 * This symbol, if defined, indicates that the lchown routine is
1898 * available to operate on a symbolic link (instead of following the
1901 #$d_lchown HAS_LCHOWN /**/
1904 * This symbol, if defined, indicates that the localtime_r routine
1905 * is available to localtime re-entrantly.
1907 /* LOCALTIME_R_NEEDS_TZSET:
1908 * Many libc's localtime_r implementations do not call tzset,
1909 * making them differ from localtime(), and making timezone
1910 * changes using \$ENV{TZ} without explicitly calling tzset
1911 * impossible. This symbol makes us call tzset before localtime_r
1913 #$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
1914 #ifdef LOCALTIME_R_NEEDS_TZSET
1915 #define L_R_TZSET tzset(),
1920 /* LOCALTIME_R_PROTO:
1921 * This symbol encodes the prototype of localtime_r.
1922 * It is zero if d_localtime_r is undef, and one of the
1923 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1926 #$d_localtime_r HAS_LOCALTIME_R /**/
1927 #define LOCALTIME_R_PROTO $localtime_r_proto /**/
1930 * This symbol will be defined if the C compiler supports long
1934 * This symbol contains the size of a long double, so that the
1935 * C preprocessor can make decisions based on it. It is only
1936 * defined if the system supports long doubles.
1939 * This symbol, if defined, indicates that the ldexpl routine is
1940 * available to shift a long double floating-point number
1941 * by an integral power of 2.
1944 * LONG_DOUBLEKIND will be one of
1945 * LONG_DOUBLE_IS_DOUBLE
1946 * LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
1947 * LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
1948 * LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN
1949 * LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN
1950 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN
1951 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN
1952 * LONG_DOUBLE_IS_UNKNOWN_FORMAT
1953 * It is only defined if the system supports long doubles.
1955 #$d_ldexpl HAS_LDEXPL /**/
1956 #$d_longdbl HAS_LONG_DOUBLE /**/
1957 #ifdef HAS_LONG_DOUBLE
1958 #define LONG_DOUBLESIZE $longdblsize /**/
1959 #define LONG_DOUBLEKIND $longdblkind /**/
1960 #define LONG_DOUBLE_IS_DOUBLE 0
1961 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 1
1962 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 2
1963 #define LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN 3
1964 #define LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN 4
1965 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN 5
1966 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN 6
1967 #define LONG_DOUBLE_IS_UNKNOWN_FORMAT -1
1971 * This symbol will be defined if the C compiler supports long long.
1974 * This symbol contains the size of a long long, so that the
1975 * C preprocessor can make decisions based on it. It is only
1976 * defined if the system supports long long.
1978 #$d_longlong HAS_LONG_LONG /**/
1979 #ifdef HAS_LONG_LONG
1980 #define LONGLONGSIZE $longlongsize /**/
1984 * This symbol, if defined, indicates that the system provides
1985 * a prototype for the lseek() function. Otherwise, it is up
1986 * to the program to supply one. A good guess is
1987 * extern off_t lseek(int, off_t, int);
1989 #$d_lseekproto HAS_LSEEK_PROTO /**/
1992 * This symbol, if defined, indicates that the memchr routine is available
1993 * to locate characters within a C string.
1995 #$d_memchr HAS_MEMCHR /**/
1998 * This symbol, if defined, indicates that the mkstemp routine is
1999 * available to exclusively create and open a uniquely named
2002 #$d_mkstemp HAS_MKSTEMP /**/
2005 * This symbol, if defined, indicates that the mmap system call is
2006 * available to map a file into memory.
2009 * This symbol holds the return type of the mmap() system call
2010 * (and simultaneously the type of the first argument).
2011 * Usually set to 'void *' or 'caddr_t'.
2013 #$d_mmap HAS_MMAP /**/
2014 #define Mmap_t $mmaptype /**/
2017 * This symbol, if defined, indicates that the entire msg*(2) library is
2018 * supported (IPC mechanism based on message queues).
2020 #$d_msg HAS_MSG /**/
2023 * This manifest constant lets the C program know that the three
2024 * argument form of open(2) is available.
2026 #$d_open3 HAS_OPEN3 /**/
2028 /* OLD_PTHREAD_CREATE_JOINABLE:
2029 * This symbol, if defined, indicates how to create pthread
2030 * in joinable (aka undetached) state. NOTE: not defined
2031 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2032 * (the new version of the constant).
2033 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2036 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
2038 /* HAS_PTHREAD_ATFORK:
2039 * This symbol, if defined, indicates that the pthread_atfork routine
2040 * is available to setup fork handlers.
2042 #$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
2044 /* HAS_PTHREAD_YIELD:
2045 * This symbol, if defined, indicates that the pthread_yield
2046 * routine is available to yield the execution of the current
2047 * thread. sched_yield is preferable to pthread_yield.
2050 * This symbol defines the way to yield the execution of
2051 * the current thread. Known ways are sched_yield,
2052 * pthread_yield, and pthread_yield with NULL.
2055 * This symbol, if defined, indicates that the sched_yield
2056 * routine is available to yield the execution of the current
2057 * thread. sched_yield is preferable to pthread_yield.
2059 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
2060 #define SCHED_YIELD $sched_yield /**/
2061 #$d_sched_yield HAS_SCHED_YIELD /**/
2064 * This symbol, if defined, indicates that the random_r routine
2065 * is available to random re-entrantly.
2068 * This symbol encodes the prototype of random_r.
2069 * It is zero if d_random_r is undef, and one of the
2070 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2073 #$d_random_r HAS_RANDOM_R /**/
2074 #define RANDOM_R_PROTO $random_r_proto /**/
2077 * This symbol, if defined, indicates that the readdir64_r routine
2078 * is available to readdir64 re-entrantly.
2080 /* READDIR64_R_PROTO:
2081 * This symbol encodes the prototype of readdir64_r.
2082 * It is zero if d_readdir64_r is undef, and one of the
2083 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
2086 #$d_readdir64_r HAS_READDIR64_R /**/
2087 #define READDIR64_R_PROTO $readdir64_r_proto /**/
2090 * This symbol, if defined, indicates that the readdir_r routine
2091 * is available to readdir re-entrantly.
2094 * This symbol encodes the prototype of readdir_r.
2095 * It is zero if d_readdir_r is undef, and one of the
2096 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2099 #$d_readdir_r HAS_READDIR_R /**/
2100 #define READDIR_R_PROTO $readdir_r_proto /**/
2103 * This symbol, if defined, indicates that the bcopy routine is available
2104 * to copy potentially overlapping memory blocks. Normally, you should
2105 * probably use memmove() or memcpy(). If neither is defined, roll your
2108 #$d_safebcpy HAS_SAFE_BCOPY /**/
2111 * This symbol, if defined, indicates that the memcpy routine is available
2112 * to copy potentially overlapping memory blocks. If you need to
2113 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2114 * use memmove() instead, if available.
2116 #$d_safemcpy HAS_SAFE_MEMCPY /**/
2119 * This symbol, if defined, indicates that the memcmp routine is available
2120 * and can be used to compare relative magnitudes of chars with their high
2121 * bits set. If it is not defined, roll your own version.
2123 #$d_sanemcmp HAS_SANE_MEMCMP /**/
2126 * This symbol, if defined, indicates that the entire sem*(2) library is
2129 #$d_sem HAS_SEM /**/
2132 * This symbol, if defined, indicates that the setgrent routine is
2133 * available for initializing sequential access of the group database.
2135 #$d_setgrent HAS_SETGRENT /**/
2138 * This symbol, if defined, indicates that the setgrent_r routine
2139 * is available to setgrent re-entrantly.
2141 /* SETGRENT_R_PROTO:
2142 * This symbol encodes the prototype of setgrent_r.
2143 * It is zero if d_setgrent_r is undef, and one of the
2144 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2147 #$d_setgrent_r HAS_SETGRENT_R /**/
2148 #define SETGRENT_R_PROTO $setgrent_r_proto /**/
2151 * This symbol, if defined, indicates that the sethostent() routine is
2154 #$d_sethent HAS_SETHOSTENT /**/
2156 /* HAS_SETHOSTENT_R:
2157 * This symbol, if defined, indicates that the sethostent_r routine
2158 * is available to sethostent re-entrantly.
2160 /* SETHOSTENT_R_PROTO:
2161 * This symbol encodes the prototype of sethostent_r.
2162 * It is zero if d_sethostent_r is undef, and one of the
2163 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
2166 #$d_sethostent_r HAS_SETHOSTENT_R /**/
2167 #define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
2170 * This symbol, if defined, indicates that the setlocale_r routine
2171 * is available to setlocale re-entrantly.
2173 /* SETLOCALE_R_PROTO:
2174 * This symbol encodes the prototype of setlocale_r.
2175 * It is zero if d_setlocale_r is undef, and one of the
2176 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
2179 #$d_setlocale_r HAS_SETLOCALE_R /**/
2180 #define SETLOCALE_R_PROTO $setlocale_r_proto /**/
2183 * This symbol, if defined, indicates that the setnetent() routine is
2186 #$d_setnent HAS_SETNETENT /**/
2189 * This symbol, if defined, indicates that the setnetent_r routine
2190 * is available to setnetent re-entrantly.
2192 /* SETNETENT_R_PROTO:
2193 * This symbol encodes the prototype of setnetent_r.
2194 * It is zero if d_setnetent_r is undef, and one of the
2195 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2198 #$d_setnetent_r HAS_SETNETENT_R /**/
2199 #define SETNETENT_R_PROTO $setnetent_r_proto /**/
2202 * This symbol, if defined, indicates that the setprotoent() routine is
2205 #$d_setpent HAS_SETPROTOENT /**/
2208 * This symbol, if defined, indicates that the setpgrp routine is
2209 * available to set the current process group.
2212 * This symbol, if defined, indicates that setpgrp needs two
2213 * arguments whereas USG one needs none. See also HAS_SETPGID
2214 * for a POSIX interface.
2216 #$d_setpgrp HAS_SETPGRP /**/
2217 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2219 /* HAS_SETPROTOENT_R:
2220 * This symbol, if defined, indicates that the setprotoent_r routine
2221 * is available to setprotoent re-entrantly.
2223 /* SETPROTOENT_R_PROTO:
2224 * This symbol encodes the prototype of setprotoent_r.
2225 * It is zero if d_setprotoent_r is undef, and one of the
2226 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2229 #$d_setprotoent_r HAS_SETPROTOENT_R /**/
2230 #define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
2233 * This symbol, if defined, indicates that the setpwent routine is
2234 * available for initializing sequential access of the passwd database.
2236 #$d_setpwent HAS_SETPWENT /**/
2239 * This symbol, if defined, indicates that the setpwent_r routine
2240 * is available to setpwent re-entrantly.
2242 /* SETPWENT_R_PROTO:
2243 * This symbol encodes the prototype of setpwent_r.
2244 * It is zero if d_setpwent_r is undef, and one of the
2245 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2248 #$d_setpwent_r HAS_SETPWENT_R /**/
2249 #define SETPWENT_R_PROTO $setpwent_r_proto /**/
2252 * This symbol, if defined, indicates that the setservent() routine is
2255 #$d_setsent HAS_SETSERVENT /**/
2257 /* HAS_SETSERVENT_R:
2258 * This symbol, if defined, indicates that the setservent_r routine
2259 * is available to setservent re-entrantly.
2261 /* SETSERVENT_R_PROTO:
2262 * This symbol encodes the prototype of setservent_r.
2263 * It is zero if d_setservent_r is undef, and one of the
2264 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2267 #$d_setservent_r HAS_SETSERVENT_R /**/
2268 #define SETSERVENT_R_PROTO $setservent_r_proto /**/
2271 * This symbol, if defined, indicates that the setvbuf routine is
2272 * available to change buffering on an open stdio stream.
2273 * to a line-buffered mode.
2275 #$d_setvbuf HAS_SETVBUF /**/
2278 * This symbol, if defined, indicates that the entire shm*(2) library is
2281 #$d_shm HAS_SHM /**/
2284 * This symbol holds the return type of the shmat() system call.
2285 * Usually set to 'void *' or 'char *'.
2287 /* HAS_SHMAT_PROTOTYPE:
2288 * This symbol, if defined, indicates that the sys/shm.h includes
2289 * a prototype for shmat(). Otherwise, it is up to the program to
2290 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2291 * but not always right so it should be emitted by the program only
2292 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2294 #define Shmat_t $shmattype /**/
2295 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2298 * This symbol, if defined, indicates that Vr4's sigaction() routine
2301 #$d_sigaction HAS_SIGACTION /**/
2304 * This variable indicates to the C program that the sigsetjmp()
2305 * routine is available to save the calling process's registers
2306 * and stack environment for later use by siglongjmp(), and
2307 * to optionally save the process's signal mask. See
2308 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2311 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2314 * This macro is used in the same way as sigsetjmp(), but will invoke
2315 * traditional setjmp() if sigsetjmp isn't available.
2316 * See HAS_SIGSETJMP.
2319 * This macro is used in the same way as siglongjmp(), but will invoke
2320 * traditional longjmp() if siglongjmp isn't available.
2321 * See HAS_SIGSETJMP.
2323 #$d_sigsetjmp HAS_SIGSETJMP /**/
2324 #ifdef HAS_SIGSETJMP
2325 #define Sigjmp_buf sigjmp_buf
2326 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2327 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2329 #define Sigjmp_buf jmp_buf
2330 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2331 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2335 * This symbol, if defined, indicates that the BSD socket interface is
2339 * This symbol, if defined, indicates that the BSD socketpair() call is
2343 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2344 * Checking just with #ifdef might not be enough because this symbol
2345 * has been known to be an enum.
2347 /* HAS_MSG_DONTROUTE:
2348 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2349 * Checking just with #ifdef might not be enough because this symbol
2350 * has been known to be an enum.
2353 * This symbol, if defined, indicates that the MSG_OOB is supported.
2354 * Checking just with #ifdef might not be enough because this symbol
2355 * has been known to be an enum.
2358 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2359 * Checking just with #ifdef might not be enough because this symbol
2360 * has been known to be an enum.
2363 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2364 * Checking just with #ifdef might not be enough because this symbol
2365 * has been known to be an enum.
2368 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2369 * Checking just with #ifdef might not be enough because this symbol
2370 * has been known to be an enum.
2372 /* HAS_SOCKADDR_SA_LEN:
2373 * This symbol, if defined, indicates that the struct sockaddr
2374 * structure has a member called sa_len, indicating the length of
2377 /* HAS_SOCKADDR_IN6:
2378 * This symbol, if defined, indicates the availability of
2379 * struct sockaddr_in6;
2381 /* HAS_SIN6_SCOPE_ID:
2382 * This symbol, if defined, indicates that the struct sockaddr_in6
2383 * structure has a member called sin6_scope_id.
2386 * This symbol, if defined, indicates the availability of
2389 /* HAS_IP_MREQ_SOURCE:
2390 * This symbol, if defined, indicates the availability of
2391 * struct ip_mreq_source;
2394 * This symbol, if defined, indicates the availability of
2397 /* HAS_IPV6_MREQ_SOURCE:
2398 * This symbol, if defined, indicates the availability of
2399 * struct ipv6_mreq_source;
2401 #$d_socket HAS_SOCKET /**/
2402 #$d_sockpair HAS_SOCKETPAIR /**/
2403 #$d_sockaddr_sa_len HAS_SOCKADDR_SA_LEN /**/
2404 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2405 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2406 #$d_msg_oob HAS_MSG_OOB /**/
2407 #$d_msg_peek HAS_MSG_PEEK /**/
2408 #$d_msg_proxy HAS_MSG_PROXY /**/
2409 #$d_scm_rights HAS_SCM_RIGHTS /**/
2410 #$d_sockaddr_in6 HAS_SOCKADDR_IN6 /**/
2411 #$d_sin6_scope_id HAS_SIN6_SCOPE_ID /**/
2412 #$d_ip_mreq HAS_IP_MREQ /**/
2413 #$d_ip_mreq_source HAS_IP_MREQ_SOURCE /**/
2414 #$d_ipv6_mreq HAS_IPV6_MREQ /**/
2415 #$d_ipv6_mreq_source HAS_IPV6_MREQ_SOURCE /**/
2418 * This symbol, if defined, indicates that the srand48_r routine
2419 * is available to srand48 re-entrantly.
2422 * This symbol encodes the prototype of srand48_r.
2423 * It is zero if d_srand48_r is undef, and one of the
2424 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2427 #$d_srand48_r HAS_SRAND48_R /**/
2428 #define SRAND48_R_PROTO $srand48_r_proto /**/
2431 * This symbol, if defined, indicates that the srandom_r routine
2432 * is available to srandom re-entrantly.
2435 * This symbol encodes the prototype of srandom_r.
2436 * It is zero if d_srandom_r is undef, and one of the
2437 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2440 #$d_srandom_r HAS_SRANDOM_R /**/
2441 #define SRANDOM_R_PROTO $srandom_r_proto /**/
2444 * This symbol is defined if this system has a stat structure declaring
2445 * st_blksize and st_blocks.
2447 #ifndef USE_STAT_BLOCKS
2448 #$d_statblks USE_STAT_BLOCKS /**/
2451 /* HAS_STATIC_INLINE:
2452 * This symbol, if defined, indicates that the C compiler supports
2453 * C99-style static inline. That is, the function can't be called
2454 * from another translation unit.
2456 /* PERL_STATIC_INLINE:
2457 * This symbol gives the best-guess incantation to use for static
2458 * inline functions. If HAS_STATIC_INLINE is defined, this will
2459 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
2460 * this will give a plain 'static'. It will always be defined
2461 * to something that gives static linkage.
2462 * Possibilities include
2463 * static inline (c99)
2464 * static __inline__ (gcc -ansi)
2465 * static __inline (MSVC)
2466 * static _inline (older MSVC)
2467 * static (c89 compilers)
2469 #$d_static_inline HAS_STATIC_INLINE /**/
2470 #define PERL_STATIC_INLINE $perl_static_inline /**/
2473 * This symbol is defined if the _ptr and _cnt fields (or similar)
2474 * of the stdio FILE structure can be used to access the stdio buffer
2475 * for a file handle. If this is defined, then the FILE_ptr(fp)
2476 * and FILE_cnt(fp) macros will also be defined and should be used
2477 * to access these fields.
2480 * This macro is used to access the _ptr field (or equivalent) of the
2481 * FILE structure pointed to by its argument. This macro will always be
2482 * defined if USE_STDIO_PTR is defined.
2484 /* STDIO_PTR_LVALUE:
2485 * This symbol is defined if the FILE_ptr macro can be used as an
2489 * This macro is used to access the _cnt field (or equivalent) of the
2490 * FILE structure pointed to by its argument. This macro will always be
2491 * defined if USE_STDIO_PTR is defined.
2493 /* STDIO_CNT_LVALUE:
2494 * This symbol is defined if the FILE_cnt macro can be used as an
2497 /* STDIO_PTR_LVAL_SETS_CNT:
2498 * This symbol is defined if using the FILE_ptr macro as an lvalue
2499 * to increase the pointer by n has the side effect of decreasing the
2500 * value of File_cnt(fp) by n.
2502 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2503 * This symbol is defined if using the FILE_ptr macro as an lvalue
2504 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2506 #$d_stdstdio USE_STDIO_PTR /**/
2507 #ifdef USE_STDIO_PTR
2508 #define FILE_ptr(fp) $stdio_ptr
2509 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
2510 #define FILE_cnt(fp) $stdio_cnt
2511 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
2512 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
2513 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
2517 * This symbol is defined if the _base field (or similar) of the
2518 * stdio FILE structure can be used to access the stdio buffer for
2519 * a file handle. If this is defined, then the FILE_base(fp) macro
2520 * will also be defined and should be used to access this field.
2521 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2522 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2523 * will never be defined unless USE_STDIO_PTR is.
2526 * This macro is used to access the _base field (or equivalent) of the
2527 * FILE structure pointed to by its argument. This macro will always be
2528 * defined if USE_STDIO_BASE is defined.
2531 * This macro is used to determine the number of bytes in the I/O
2532 * buffer pointed to by _base field (or equivalent) of the FILE
2533 * structure pointed to its argument. This macro will always be defined
2534 * if USE_STDIO_BASE is defined.
2536 #$d_stdiobase USE_STDIO_BASE /**/
2537 #ifdef USE_STDIO_BASE
2538 #define FILE_base(fp) $stdio_base
2539 #define FILE_bufsiz(fp) $stdio_bufsiz
2543 * This symbol, if defined, indicates that this C compiler knows how
2544 * to copy structures. If undefined, you'll need to use a block copy
2545 * routine of some sort instead.
2547 #$d_strctcpy USE_STRUCT_COPY /**/
2550 * This symbol, if defined, indicates that the strerror routine is
2551 * available to translate error numbers to strings. See the writeup
2552 * of Strerror() in this file before you try to define your own.
2555 * This symbol, if defined, indicates that the sys_errlist array is
2556 * available to translate error numbers to strings. The extern int
2557 * sys_nerr gives the size of that table.
2560 * This preprocessor symbol is defined as a macro if strerror() is
2561 * not available to translate error numbers to strings but sys_errlist[]
2564 #$d_strerror HAS_STRERROR /**/
2565 #$d_syserrlst HAS_SYS_ERRLIST /**/
2566 #define Strerror(e) $d_strerrm
2569 * This symbol, if defined, indicates that the strerror_r routine
2570 * is available to strerror re-entrantly.
2572 /* STRERROR_R_PROTO:
2573 * This symbol encodes the prototype of strerror_r.
2574 * It is zero if d_strerror_r is undef, and one of the
2575 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2578 #$d_strerror_r HAS_STRERROR_R /**/
2579 #define STRERROR_R_PROTO $strerror_r_proto /**/
2582 * This symbol, if defined, indicates that the strtoul routine is
2583 * available to provide conversion of strings to unsigned long.
2585 #$d_strtoul HAS_STRTOUL /**/
2588 * This symbol, if defined, indicates that the time() routine exists.
2591 * This symbol holds the type returned by time(). It can be long,
2592 * or time_t on BSD sites (in which case <sys/types.h> should be
2595 #$d_time HAS_TIME /**/
2596 #define Time_t $timetype /* Time type */
2599 * This symbol, if defined, indicates that the times() routine exists.
2600 * Note that this became obsolete on some systems (SUNOS), which now
2601 * use getrusage(). It may be necessary to include <sys/times.h>.
2603 #$d_times HAS_TIMES /**/
2606 * This symbol, if defined, indicates that the tmpnam_r routine
2607 * is available to tmpnam re-entrantly.
2610 * This symbol encodes the prototype of tmpnam_r.
2611 * It is zero if d_tmpnam_r is undef, and one of the
2612 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2615 #$d_tmpnam_r HAS_TMPNAM_R /**/
2616 #define TMPNAM_R_PROTO $tmpnam_r_proto /**/
2619 * This symbol, if defined, indicates that the ttyname_r routine
2620 * is available to ttyname re-entrantly.
2623 * This symbol encodes the prototype of ttyname_r.
2624 * It is zero if d_ttyname_r is undef, and one of the
2625 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2628 #$d_ttyname_r HAS_TTYNAME_R /**/
2629 #define TTYNAME_R_PROTO $ttyname_r_proto /**/
2632 * This symbol, if defined, indicates that the union semun is
2633 * defined by including <sys/sem.h>. If not, the user code
2634 * probably needs to define it as:
2637 * struct semid_ds *buf;
2638 * unsigned short *array;
2641 /* USE_SEMCTL_SEMUN:
2642 * This symbol, if defined, indicates that union semun is
2643 * used for semctl IPC_STAT.
2645 /* USE_SEMCTL_SEMID_DS:
2646 * This symbol, if defined, indicates that struct semid_ds * is
2647 * used for semctl IPC_STAT.
2649 #$d_union_semun HAS_UNION_SEMUN /**/
2650 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2651 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2654 * This symbol, if defined, indicates that vfork() exists.
2656 #$d_vfork HAS_VFORK /**/
2659 * This symbol, if defined, indicates that an emulation of the
2660 * fork routine is available.
2662 #$d_pseudofork HAS_PSEUDOFORK /**/
2665 * This symbol's value is either "void" or "int", corresponding to the
2666 * appropriate return type of a signal handler. Thus, you can declare
2667 * a signal handler using "Signal_t (*handler)()", and define the
2668 * handler using "Signal_t handler(sig)".
2670 #define Signal_t $signal_t /* Signal handler's return type */
2673 * This symbol, if defined, indicates that this C compiler knows about
2674 * the volatile declaration.
2676 #$d_volatile HASVOLATILE /**/
2682 * This symbol, if defined, indicates that the vprintf routine is available
2683 * to printf with a pointer to an argument list. If unavailable, you
2684 * may need to write your own, probably in terms of _doprnt().
2686 /* USE_CHAR_VSPRINTF:
2687 * This symbol is defined if this system has vsprintf() returning type
2688 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2689 * is up to the package author to declare vsprintf correctly based on the
2692 #$d_vprintf HAS_VPRINTF /**/
2693 #$d_charvspr USE_CHAR_VSPRINTF /**/
2696 * This symbol contains the size of a double, so that the C preprocessor
2697 * can make decisions based on it.
2699 #define DOUBLESIZE $doublesize /**/
2702 * This symbol, if defined, indicates that this system uses
2705 #$ebcdic EBCDIC /**/
2708 * This symbol holds the type used to declare file positions in libc.
2709 * It can be fpos_t, long, uint, etc... It may be necessary to include
2710 * <sys/types.h> to get any typedef'ed information.
2712 #define Fpos_t $fpostype /* File position type */
2715 * This symbol defines the format string used for printing a Gid_t.
2717 #define Gid_t_f $gidformat /**/
2720 * This symbol holds the signedness of a Gid_t.
2721 * 1 for unsigned, -1 for signed.
2723 #define Gid_t_sign $gidsign /* GID sign */
2726 * This symbol holds the size of a Gid_t in bytes.
2728 #define Gid_t_size $gidsize /* GID size */
2731 * This symbol holds the return type of getgid() and the type of
2732 * argument to setrgid() and related functions. Typically,
2733 * it is the type of group ids in the kernel. It can be int, ushort,
2734 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2735 * any typedef'ed information.
2737 #define Gid_t $gidtype /* Type for getgid(), etc... */
2740 * This symbol, if defined, indicates to the C program that it should
2741 * include <dirent.h>. Using this symbol also triggers the definition
2742 * of the Direntry_t define which ends up being 'struct dirent' or
2743 * 'struct direct' depending on the availability of <dirent.h>.
2746 * This symbol, if defined, indicates to the C program that the length
2747 * of directory entry names is provided by a d_namlen field. Otherwise
2748 * you need to do strlen() on the d_name field.
2751 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2752 * whether dirent is available or not. You should use this pseudo type to
2753 * portably declare your directory entries.
2755 #$i_dirent I_DIRENT /**/
2756 #$d_dirnamlen DIRNAMLEN /**/
2757 #define Direntry_t $direntrytype
2760 * This symbol, if defined, indicates to the C program that it should
2761 * include <execinfo.h> for backtrace() support.
2763 #$i_execinfo I_EXECINFO /**/
2766 * This symbol, if defined, indicates to the C program that it should
2770 * This symbol, if defined, indicates to the C program that struct group
2771 * in <grp.h> contains gr_passwd.
2774 #$d_grpasswd GRPASSWD /**/
2777 * This symbol, if defined, indicates to the C program that it should
2778 * include <mach/cthreads.h>.
2780 #$i_machcthr I_MACH_CTHREADS /**/
2783 * This symbol, if defined, indicates that <ndbm.h> exists and should
2787 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2788 * be included. This was the location of the ndbm.h compatibility file
2792 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2793 * be included. This is the location of the ndbm.h compatibility file
2796 /* NDBM_H_USES_PROTOTYPES:
2797 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2798 * prototypes instead of K&R style function declarations without any
2799 * parameter information. While ANSI C prototypes are supported in C++,
2800 * K&R style function declarations will yield errors.
2802 /* GDBMNDBM_H_USES_PROTOTYPES:
2803 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2804 * prototypes instead of K&R style function declarations without any
2805 * parameter information. While ANSI C prototypes are supported in C++,
2806 * K&R style function declarations will yield errors.
2808 /* GDBM_NDBM_H_USES_PROTOTYPES:
2809 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2810 * prototypes instead of K&R style function declarations without any
2811 * parameter information. While ANSI C prototypes are supported in C++,
2812 * K&R style function declarations will yield errors.
2814 #$i_ndbm I_NDBM /**/
2815 #$i_gdbmndbm I_GDBMNDBM /**/
2816 #$i_gdbm_ndbm I_GDBM_NDBM /**/
2817 #$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
2818 #$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
2819 #$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
2822 * This symbol, if defined, indicates that <netdb.h> exists and
2823 * should be included.
2825 #$i_netdb I_NETDB /**/
2828 * This symbol, if defined, indicates that <net/errno.h> exists and
2829 * should be included.
2831 #$i_neterrno I_NET_ERRNO /**/
2834 * This symbol, if defined, indicates to the C program that it should
2835 * include <pthread.h>.
2837 #$i_pthread I_PTHREAD /**/
2840 * This symbol, if defined, indicates to the C program that it should
2844 * This symbol, if defined, indicates to the C program that struct passwd
2845 * contains pw_quota.
2848 * This symbol, if defined, indicates to the C program that struct passwd
2852 * This symbol, if defined, indicates to the C program that struct passwd
2853 * contains pw_change.
2856 * This symbol, if defined, indicates to the C program that struct passwd
2857 * contains pw_class.
2860 * This symbol, if defined, indicates to the C program that struct passwd
2861 * contains pw_expire.
2864 * This symbol, if defined, indicates to the C program that struct passwd
2865 * contains pw_comment.
2868 * This symbol, if defined, indicates to the C program that struct passwd
2869 * contains pw_gecos.
2872 * This symbol, if defined, indicates to the C program that struct passwd
2873 * contains pw_passwd.
2876 #$d_pwquota PWQUOTA /**/
2877 #$d_pwage PWAGE /**/
2878 #$d_pwchange PWCHANGE /**/
2879 #$d_pwclass PWCLASS /**/
2880 #$d_pwexpire PWEXPIRE /**/
2881 #$d_pwcomment PWCOMMENT /**/
2882 #$d_pwgecos PWGECOS /**/
2883 #$d_pwpasswd PWPASSWD /**/
2886 * This symbol, if defined, indicates to the C program that it should
2887 * include <sys/access.h>.
2889 #$i_sysaccess I_SYS_ACCESS /**/
2892 * This symbol, if defined, indicates to the C program that it should
2893 * include <sys/security.h>.
2895 #$i_syssecrt I_SYS_SECURITY /**/
2898 * This symbol, if defined, indicates that <sys/uio.h> exists and
2899 * should be included.
2901 #$i_sysuio I_SYSUIO /**/
2904 * This symbol, if defined, indicates that the program should include
2905 * <termio.h> rather than <sgtty.h>. There are also differences in
2906 * the ioctl() calls that depend on the value of this symbol.
2909 * This symbol, if defined, indicates that the program should include
2910 * the POSIX termios.h rather than sgtty.h or termio.h.
2911 * There are also differences in the ioctl() calls that depend on the
2912 * value of this symbol.
2915 * This symbol, if defined, indicates that the program should include
2916 * <sgtty.h> rather than <termio.h>. There are also differences in
2917 * the ioctl() calls that depend on the value of this symbol.
2919 #$i_termio I_TERMIO /**/
2920 #$i_termios I_TERMIOS /**/
2921 #$i_sgtty I_SGTTY /**/
2924 * This symbol, if defined, indicates to the C program that it should
2928 * This symbol, if defined, indicates to the C program that it should
2929 * include <sys/time.h>.
2931 /* I_SYS_TIME_KERNEL:
2932 * This symbol, if defined, indicates to the C program that it should
2933 * include <sys/time.h> with KERNEL defined.
2936 * This symbol, if defined, indicates to the C program that
2937 * the struct tm has a tm_zone field.
2939 /* HAS_TM_TM_GMTOFF:
2940 * This symbol, if defined, indicates to the C program that
2941 * the struct tm has a tm_gmtoff field.
2943 #$i_time I_TIME /**/
2944 #$i_systime I_SYS_TIME /**/
2945 #$i_systimek I_SYS_TIME_KERNEL /**/
2946 #$d_tm_tm_zone HAS_TM_TM_ZONE /**/
2947 #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
2950 * This symbol, if defined, indicates that <stdarg.h> exists and should
2954 * This symbol, if defined, indicates to the C program that it should
2955 * include <varargs.h>.
2957 #$i_stdarg I_STDARG /**/
2958 #$i_varargs I_VARARGS /**/
2960 /* PERL_INC_VERSION_LIST:
2961 * This variable specifies the list of subdirectories in over
2962 * which perl.c:incpush() and lib/lib.pm will automatically
2963 * search when adding directories to @INC, in a format suitable
2964 * for a C initialization string. See the inc_version_list entry
2965 * in Porting/Glossary for more details.
2967 #$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
2969 /* INSTALL_USR_BIN_PERL:
2970 * This symbol, if defined, indicates that Perl is to be installed
2971 * also as /usr/bin/perl.
2973 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
2976 * This symbol holds the type used to declare offsets in the kernel.
2977 * It can be int, long, off_t, etc... It may be necessary to include
2978 * <sys/types.h> to get any typedef'ed information.
2981 * This symbol holds the number of bytes used by the Off_t.
2984 * This symbol holds the number of bytes used by the Off_t.
2986 #define Off_t $lseektype /* <offset> type */
2987 #define LSEEKSIZE $lseeksize /* <offset> size */
2988 #define Off_t_size $lseeksize /* <offset> size */
2991 * This variable contains the return type of free(). It is usually
2992 * void, but occasionally int.
2995 * This symbol is the type of pointer returned by malloc and realloc.
2997 #define Malloc_t $malloctype /**/
2998 #define Free_t $freetype /**/
3000 /* PERL_MALLOC_WRAP:
3001 * This symbol, if defined, indicates that we'd like malloc wrap checks.
3003 #$usemallocwrap PERL_MALLOC_WRAP /**/
3006 * This symbol, if defined, indicates that we're using our own malloc.
3008 #$d_mymalloc MYMALLOC /**/
3011 * This symbol holds the type used to declare file modes
3012 * for systems calls. It is usually mode_t, but may be
3013 * int or unsigned short. It may be necessary to include <sys/types.h>
3014 * to get any typedef'ed information.
3016 #define Mode_t $modetype /* file mode parameter for system calls */
3019 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3020 * non-blocking I/O for the file descriptor. Note that there is no way
3021 * back, i.e. you cannot turn it blocking again this way. If you wish to
3022 * alternatively switch between blocking and non-blocking, use the
3023 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3026 * This symbol holds the errno error code set by read() when no data was
3027 * present on the non-blocking file descriptor.
3030 * This symbol holds the return code from read() when no data is present
3031 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3032 * not defined, then you can't distinguish between no data and EOF by
3033 * issuing a read(). You'll have to find another way to tell for sure!
3036 * This symbol, if defined, indicates to the C program that a read() on
3037 * a non-blocking file descriptor will return 0 on EOF, and not the value
3038 * held in RD_NODATA (-1 usually, in that case!).
3040 #define VAL_O_NONBLOCK $o_nonblock
3041 #define VAL_EAGAIN $eagain
3042 #define RD_NODATA $rd_nodata
3043 #$d_eofnblk EOF_NONBLOCK
3046 * This symbol holds the type used for the 1st argument
3047 * to gethostbyaddr().
3050 * This symbol holds the type used for the 2nd argument
3051 * to gethostbyaddr().
3054 * This symbol holds the type used for the argument to
3058 * This symbol holds the type used for the 1st argument to
3061 #define Netdb_host_t $netdb_host_type /**/
3062 #define Netdb_hlen_t $netdb_hlen_type /**/
3063 #define Netdb_name_t $netdb_name_type /**/
3064 #define Netdb_net_t $netdb_net_type /**/
3066 /* PERL_OTHERLIBDIRS:
3067 * This variable contains a colon-separated set of paths for the perl
3068 * binary to search for additional library files or modules.
3069 * These directories will be tacked to the end of @INC.
3070 * Perl will automatically search below each path for version-
3071 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3074 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
3077 * This symbol holds the type used to declare process ids in the kernel.
3078 * It can be int, uint, pid_t, etc... It may be necessary to include
3079 * <sys/types.h> to get any typedef'ed information.
3081 #define Pid_t $pidtype /* PID type */
3084 * This symbol contains the name of the private library for this package.
3085 * The library is private in the sense that it needn't be in anyone's
3086 * execution path, but it should be accessible by the world. The program
3087 * should be prepared to do ~ expansion.
3090 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3091 * in programs that are not prepared to deal with ~ expansion at run-time.
3093 #define PRIVLIB "$privlib" /**/
3094 #define PRIVLIB_EXP "$privlibexp" /**/
3097 * If defined, this macro indicates that the C compiler can handle
3098 * function prototypes.
3101 * This macro is used to declare function parameters for folks who want
3102 * to make declarations with prototypes using a different style than
3103 * the above macros. Use double parentheses. For example:
3105 * int main _((int argc, char *argv[]));
3107 #$prototype CAN_PROTOTYPE /**/
3108 #ifdef CAN_PROTOTYPE
3109 #define _(args) args
3115 * This symbol contains the size of a pointer, so that the C preprocessor
3116 * can make decisions based on it. It will be sizeof(void *) if
3117 * the compiler supports (void *); otherwise it will be
3120 #define PTRSIZE $ptrsize /**/
3123 * This symbol, if defined, tells that there's a 64-bit integer type,
3124 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
3125 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
3126 * or QUAD_IS___INT64.
3128 #$d_quad HAS_QUAD /**/
3130 # define Quad_t $quadtype /**/
3131 # define Uquad_t $uquadtype /**/
3132 # define QUADKIND $quadkind /**/
3133 # define QUAD_IS_INT 1
3134 # define QUAD_IS_LONG 2
3135 # define QUAD_IS_LONG_LONG 3
3136 # define QUAD_IS_INT64_T 4
3137 # define QUAD_IS___INT64 5
3141 * This macro is to be used to generate uniformly distributed
3142 * random numbers over the range [0., 1.[. You may have to supply
3143 * an 'extern double drand48();' in your program since SunOS 4.1.3
3144 * doesn't provide you with anything relevant in its headers.
3145 * See HAS_DRAND48_PROTO.
3148 * This symbol defines the type of the argument of the
3149 * random seed function.
3152 * This symbol defines the macro to be used in seeding the
3153 * random number generator (see Drand01).
3156 * This symbol indicates how many bits are produced by the
3157 * function used to generate normalized random numbers.
3158 * Values include 15, 16, 31, and 48.
3160 #define Drand01() $drand01 /**/
3161 #define Rand_seed_t $randseedtype /**/
3162 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3163 #define RANDBITS $randbits /**/
3166 * This symbol holds the type used for the 2nd, 3rd, and 4th
3167 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3168 * is defined, and 'int *' otherwise. This is only useful if you
3169 * have select(), of course.
3171 #define Select_fd_set_t $selecttype /**/
3174 * This symbol contains the full pathname to the shell used on this
3175 * on this system to execute Bourne shell scripts. Usually, this will be
3176 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3177 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3180 #define SH_PATH "$targetsh" /**/
3183 * This symbol contains a list of signal names in order of
3184 * signal number. This is intended
3185 * to be used as a static array initialization, like this:
3186 * char *sig_name[] = { SIG_NAME };
3187 * The signals in the list are separated with commas, and each signal
3188 * is surrounded by double quotes. There is no leading SIG in the signal
3189 * name, i.e. SIGQUIT is known as "QUIT".
3190 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3191 * etc., where nn is the actual signal number (e.g. NUM37).
3192 * The signal number for sig_name[i] is stored in sig_num[i].
3193 * The last element is 0 to terminate the list with a NULL. This
3194 * corresponds to the 0 at the end of the sig_name_init list.
3195 * Note that this variable is initialized from the sig_name_init,
3196 * not from sig_name (which is unused).
3199 * This symbol contains a list of signal numbers, in the same order as the
3200 * SIG_NAME list. It is suitable for static array initialization, as in:
3201 * int sig_num[] = { SIG_NUM };
3202 * The signals in the list are separated with commas, and the indices
3203 * within that list and the SIG_NAME list match, so it's easy to compute
3204 * the signal name from a number or vice versa at the price of a small
3205 * dynamic linear lookup.
3206 * Duplicates are allowed, but are moved to the end of the list.
3207 * The signal number corresponding to sig_name[i] is sig_number[i].
3208 * if (i < NSIG) then sig_number[i] == i.
3209 * The last element is 0, corresponding to the 0 at the end of
3210 * the sig_name_init list.
3211 * Note that this variable is initialized from the sig_num_init,
3212 * not from sig_num (which is unused).
3215 * This variable contains the number of elements of the SIG_NAME
3216 * and SIG_NUM arrays, excluding the final NULL entry.
3218 #define SIG_NAME $sig_name_init /**/
3219 #define SIG_NUM $sig_num_init /**/
3220 #define SIG_SIZE $sig_size /**/
3223 * This symbol contains the name of the private library for this package.
3224 * The library is private in the sense that it needn't be in anyone's
3225 * execution path, but it should be accessible by the world. The program
3226 * should be prepared to do ~ expansion.
3227 * The standard distribution will put nothing in this directory.
3228 * After perl has been installed, users may install their own local
3229 * architecture-dependent modules in this directory with
3230 * MakeMaker Makefile.PL
3231 * or equivalent. See INSTALL for details.
3234 * This symbol contains the ~name expanded version of SITEARCH, to be used
3235 * in programs that are not prepared to deal with ~ expansion at run-time.
3237 #$d_sitearch SITEARCH "$sitearch" /**/
3238 #$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
3241 * This symbol contains the name of the private library for this package.
3242 * The library is private in the sense that it needn't be in anyone's
3243 * execution path, but it should be accessible by the world. The program
3244 * should be prepared to do ~ expansion.
3245 * The standard distribution will put nothing in this directory.
3246 * After perl has been installed, users may install their own local
3247 * architecture-independent modules in this directory with
3248 * MakeMaker Makefile.PL
3249 * or equivalent. See INSTALL for details.
3252 * This symbol contains the ~name expanded version of SITELIB, to be used
3253 * in programs that are not prepared to deal with ~ expansion at run-time.
3256 * This define is SITELIB_EXP with any trailing version-specific component
3257 * removed. The elements in inc_version_list (inc_version_list.U) can
3258 * be tacked onto this variable to generate a list of directories to search.
3260 #define SITELIB "$sitelib" /**/
3261 #define SITELIB_EXP "$sitelibexp" /**/
3262 #define SITELIB_STEM "$sitelib_stem" /**/
3265 * This symbol holds the size of a Size_t in bytes.
3267 #define Size_t_size $sizesize /**/
3270 * This symbol holds the type used to declare length parameters
3271 * for string functions. It is usually size_t, but may be
3272 * unsigned long, int, etc. It may be necessary to include
3273 * <sys/types.h> to get any typedef'ed information.
3275 #define Size_t $sizetype /* length parameter for string functions */
3278 * This symbol holds the type used for the size argument of
3279 * various socket calls (just the base type, not the pointer-to).
3281 #define Sock_size_t $socksizetype /**/
3284 * This symbol holds the type used by functions that return
3285 * a count of bytes or an error condition. It must be a signed type.
3286 * It is usually ssize_t, but may be long or int, etc.
3287 * It may be necessary to include <sys/types.h> or <unistd.h>
3288 * to get any typedef'ed information.
3289 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3291 #define SSize_t $ssizetype /* signed count of bytes */
3294 * This symbol is defined to be the type of char used in stdio.h.
3295 * It has the values "unsigned char" or "char".
3297 #define STDCHAR $stdchar /**/
3300 * This symbol defines the format string used for printing a Uid_t.
3302 #define Uid_t_f $uidformat /**/
3305 * This symbol holds the signedness of a Uid_t.
3306 * 1 for unsigned, -1 for signed.
3308 #define Uid_t_sign $uidsign /* UID sign */
3311 * This symbol holds the size of a Uid_t in bytes.
3313 #define Uid_t_size $uidsize /* UID size */
3316 * This symbol holds the type used to declare user ids in the kernel.
3317 * It can be int, ushort, uid_t, etc... It may be necessary to include
3318 * <sys/types.h> to get any typedef'ed information.
3320 #define Uid_t $uidtype /* UID type */
3323 * This symbol, if defined, indicates that Perl should be built to
3324 * use the interpreter-based threading implementation.
3327 * This symbol, if defined, indicates that Perl should be built to
3328 * use the 5.005-based threading implementation.
3329 * Only valid up to 5.8.x.
3331 /* OLD_PTHREADS_API:
3332 * This symbol, if defined, indicates that Perl should
3333 * be built to use the old draft POSIX threads API.
3335 /* USE_REENTRANT_API:
3336 * This symbol, if defined, indicates that Perl should
3337 * try to use the various _r versions of library functions.
3338 * This is extremely experimental.
3340 #$use5005threads USE_5005THREADS /**/
3341 #$useithreads USE_ITHREADS /**/
3342 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3343 #define USE_THREADS /* until src is revised*/
3345 #$d_oldpthreads OLD_PTHREADS_API /**/
3346 #$usereentrant USE_REENTRANT_API /**/
3349 * If defined, this symbol contains the name of a private library.
3350 * The library is private in the sense that it needn't be in anyone's
3351 * execution path, but it should be accessible by the world.
3352 * It may have a ~ on the front.
3353 * The standard distribution will put nothing in this directory.
3354 * Vendors who distribute perl may wish to place their own
3355 * architecture-dependent modules and extensions in this directory with
3356 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3357 * or equivalent. See INSTALL for details.
3359 /* PERL_VENDORARCH_EXP:
3360 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3361 * in programs that are not prepared to deal with ~ expansion at run-time.
3363 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
3364 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
3366 /* PERL_VENDORLIB_EXP:
3367 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3368 * in programs that are not prepared to deal with ~ expansion at run-time.
3370 /* PERL_VENDORLIB_STEM:
3371 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3372 * removed. The elements in inc_version_list (inc_version_list.U) can
3373 * be tacked onto this variable to generate a list of directories to search.
3375 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
3376 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
3378 /* USE_CROSS_COMPILE:
3379 * This symbol, if defined, indicates that Perl is being cross-compiled.
3382 * This symbol, if defined, indicates the target architecture
3383 * Perl has been cross-compiled to. Undefined if not a cross-compile.
3385 #ifndef USE_CROSS_COMPILE
3386 #$usecrosscompile USE_CROSS_COMPILE /**/
3387 #define PERL_TARGETARCH "$targetarch" /**/
3391 * This symbol, if defined, indicates that Perl was configured with
3392 * -Dusedevel, to enable development features. This should not be
3393 * done for production builds.
3395 #$usedevel PERL_USE_DEVEL /**/
3398 * This symbol, if defined, indicates that the atolf routine is
3399 * available to convert strings into long doubles.
3401 #$d_atolf HAS_ATOLF /**/
3404 * This symbol, if defined, indicates that the atoll routine is
3405 * available to convert strings into long longs.
3407 #$d_atoll HAS_ATOLL /**/
3410 * This symbol, if defined, indicates that the _fwalk system call is
3411 * available to apply a function to all the file handles.
3413 #$d__fwalk HAS__FWALK /**/
3416 * This symbol, if defined, indicates that the acosh routine is
3417 * available to do the inverse hyperbolic cosine function.
3419 #$d_acosh HAS_ACOSH /**/
3422 * This symbol, if defined, indicates that the aintl routine is
3423 * available. If copysignl is also present we can emulate modfl.
3425 #$d_aintl HAS_AINTL /**/
3427 /* HAS_BUILTIN_CHOOSE_EXPR:
3428 * Can we handle GCC builtin for compile-time ternary-like expressions
3430 /* HAS_BUILTIN_EXPECT:
3431 * Can we handle GCC builtin for telling that certain values are more
3434 #$d_builtin_expect HAS_BUILTIN_EXPECT /**/
3435 #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
3437 /* HAS_C99_VARIADIC_MACROS:
3438 * If defined, the compiler supports C99 variadic macros.
3440 #$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
3443 * This symbol, if defined, indicates that the class routine is
3444 * available to classify doubles. Available for example in AIX.
3445 * The returned values are defined in <float.h> and are:
3447 * FP_PLUS_NORM Positive normalized, nonzero
3448 * FP_MINUS_NORM Negative normalized, nonzero
3449 * FP_PLUS_DENORM Positive denormalized, nonzero
3450 * FP_MINUS_DENORM Negative denormalized, nonzero
3452 * FP_MINUS_ZERO -0.0
3455 * FP_NANS Signaling Not a Number (NaNS)
3456 * FP_NANQ Quiet Not a Number (NaNQ)
3458 #$d_class HAS_CLASS /**/
3461 * This symbol, if defined, indicates that the clearenv () routine is
3462 * available for use.
3464 #$d_clearenv HAS_CLEARENV /**/
3466 /* HAS_STRUCT_CMSGHDR:
3467 * This symbol, if defined, indicates that the struct cmsghdr
3470 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
3473 * This symbol, if defined, indicates that the copysignl routine is
3474 * available. If aintl is also present we can emulate modfl.
3476 #$d_copysignl HAS_COPYSIGNL /**/
3479 * This symbol, if defined, indicates that a C++ compiler was
3480 * used to compiled Perl and will be used to compile extensions.
3482 #$d_cplusplus USE_CPLUSPLUS /**/
3484 /* HAS_DBMINIT_PROTO:
3485 * This symbol, if defined, indicates that the system provides
3486 * a prototype for the dbminit() function. Otherwise, it is up
3487 * to the program to supply one. A good guess is
3488 * extern int dbminit(char *);
3490 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
3493 * This symbol, if defined, indicates that the the DIR* dirstream
3494 * structure contains a member variable named dd_fd.
3496 #$d_dir_dd_fd HAS_DIR_DD_FD /**/
3499 * This manifest constant lets the C program know that dirfd
3502 #$d_dirfd HAS_DIRFD /**/
3504 /* DLSYM_NEEDS_UNDERSCORE:
3505 * This symbol, if defined, indicates that we need to prepend an
3506 * underscore to the symbol name before calling dlsym(). This only
3507 * makes sense if you *have* dlsym, which we will presume is the
3508 * case if you're using dl_dlopen.xs.
3510 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
3513 * This symbol, if defined, indicates that the "fast stdio"
3514 * is available to manipulate the stdio buffers directly.
3516 #$d_faststdio HAS_FAST_STDIO /**/
3519 * This symbol, if defined, indicates that the fchdir routine is
3520 * available to change directory using a file descriptor.
3522 #$d_fchdir HAS_FCHDIR /**/
3525 * This symbol, if defined, indicates that fcntl() can be used
3526 * for file locking. Normally on Unix systems this is defined.
3527 * It may be undefined on VMS.
3529 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
3532 * This symbol, if defined, indicates that the fegetround routine is
3533 * available to return the macro corresponding to the current rounding
3536 #$d_fegetround HAS_FEGETROUND /**/
3539 * This symbol, if defined, indicates that the finite routine is
3540 * available to check whether a double is finite (non-infinity non-NaN).
3542 #$d_finite HAS_FINITE /**/
3545 * This symbol, if defined, indicates that the finitel routine is
3546 * available to check whether a long double is finite
3547 * (non-infinity non-NaN).
3549 #$d_finitel HAS_FINITEL /**/
3552 * This symbol, if defined, indicates that the system provides
3553 * a prototype for the flock() function. Otherwise, it is up
3554 * to the program to supply one. A good guess is
3555 * extern int flock(int, int);
3557 #$d_flockproto HAS_FLOCK_PROTO /**/
3560 * This symbol, if defined, indicates that the fp_class routine is
3561 * available to classify doubles. Available for example in Digital UNIX.
3562 * The returned values are defined in <math.h> and are:
3564 * FP_SNAN Signaling NaN (Not-a-Number)
3565 * FP_QNAN Quiet NaN (Not-a-Number)
3566 * FP_POS_INF +infinity
3567 * FP_NEG_INF -infinity
3568 * FP_POS_NORM Positive normalized
3569 * FP_NEG_NORM Negative normalized
3570 * FP_POS_DENORM Positive denormalized
3571 * FP_NEG_DENORM Negative denormalized
3572 * FP_POS_ZERO +0.0 (positive zero)
3573 * FP_NEG_ZERO -0.0 (negative zero)
3575 #$d_fp_class HAS_FP_CLASS /**/
3578 * This symbol, if defined, indicates that the fp_classl routine is
3579 * available to classify long doubles. Available for example in
3580 * Digital UNIX. See for possible values HAS_FP_CLASS.
3582 #$d_fp_classl HAS_FP_CLASSL /**/
3585 * This symbol, if defined, indicates that the fpclass routine is
3586 * available to classify doubles. Available for example in Solaris/SVR4.
3587 * The returned values are defined in <ieeefp.h> and are:
3589 * FP_SNAN signaling NaN
3591 * FP_NINF negative infinity
3592 * FP_PINF positive infinity
3593 * FP_NDENORM negative denormalized non-zero
3594 * FP_PDENORM positive denormalized non-zero
3595 * FP_NZERO negative zero
3596 * FP_PZERO positive zero
3597 * FP_NNORM negative normalized non-zero
3598 * FP_PNORM positive normalized non-zero
3600 #$d_fpclass HAS_FPCLASS /**/
3603 * This symbol, if defined, indicates that the fpclassify routine is
3604 * available to classify doubles. Available for example in HP-UX.
3605 * The returned values are defined in <math.h> and are
3607 * FP_NORMAL Normalized
3609 * FP_INFINITE Infinity
3610 * FP_SUBNORMAL Denormalized
3615 * This symbol, if defined, indicates that the fp_classify routine is
3616 * available to classify doubles. The values are defined in <math.h>
3618 * FP_NORMAL Normalized
3620 * FP_INFINITE Infinity
3621 * FP_SUBNORMAL Denormalized
3625 #$d_fpclassify HAS_FPCLASSIFY /**/
3626 #$d_fp_classify HAS_FP_CLASSIFY /**/
3629 * This symbol, if defined, indicates that the fpclassl routine is
3630 * available to classify long doubles. Available for example in IRIX.
3631 * The returned values are defined in <ieeefp.h> and are:
3633 * FP_SNAN signaling NaN
3635 * FP_NINF negative infinity
3636 * FP_PINF positive infinity
3637 * FP_NDENORM negative denormalized non-zero
3638 * FP_PDENORM positive denormalized non-zero
3639 * FP_NZERO negative zero
3640 * FP_PZERO positive zero
3641 * FP_NNORM negative normalized non-zero
3642 * FP_PNORM positive normalized non-zero
3644 #$d_fpclassl HAS_FPCLASSL /**/
3647 * This symbol, if defined, indicates that the fpgetround routine is
3648 * available to get the floating point rounding mode.
3650 #$d_fpgetround HAS_FPGETROUND /**/
3653 * This symbol will be defined if the C compiler supports fpos64_t.
3655 #$d_fpos64_t HAS_FPOS64_T /**/
3658 * This symbol, if defined, indicates that the frexpl routine is
3659 * available to break a long double floating-point number into
3660 * a normalized fraction and an integral power of 2.
3662 #$d_frexpl HAS_FREXPL /**/
3664 /* HAS_STRUCT_FS_DATA:
3665 * This symbol, if defined, indicates that the struct fs_data
3666 * to do statfs() is supported.
3668 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
3671 * This symbol, if defined, indicates that the fseeko routine is
3672 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3674 #$d_fseeko HAS_FSEEKO /**/
3677 * This symbol, if defined, indicates that the fstatfs routine is
3678 * available to stat filesystems by file descriptors.
3680 #$d_fstatfs HAS_FSTATFS /**/
3683 * This symbol, if defined, indicates that the fsync routine is
3684 * available to write a file's modified data and attributes to
3685 * permanent storage.
3687 #$d_fsync HAS_FSYNC /**/
3690 * This symbol, if defined, indicates that the ftello routine is
3691 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3693 #$d_ftello HAS_FTELLO /**/
3696 * This symbol, if defined, indicates that the futimes routine is
3697 * available to change file descriptor time stamps with struct timevals.
3699 #$d_futimes HAS_FUTIMES /**/
3702 * This symbol, if defined, indicates that the getaddrinfo() function
3703 * is available for use.
3705 #$d_getaddrinfo HAS_GETADDRINFO /**/
3708 * This symbol, if defined, indicates that the getcwd routine is
3709 * available to get the current working directory.
3711 #$d_getcwd HAS_GETCWD /**/
3714 * This symbol, if defined, indicates that the getespwnam system call is
3715 * available to retrieve enhanced (shadow) password entries by name.
3717 #$d_getespwnam HAS_GETESPWNAM /**/
3720 * This symbol, if defined, indicates that the getfsstat routine is
3721 * available to stat filesystems in bulk.
3723 #$d_getfsstat HAS_GETFSSTAT /**/
3726 * This symbol, if defined, indicates that the getitimer routine is
3727 * available to return interval timers.
3729 #$d_getitimer HAS_GETITIMER /**/
3732 * This symbol, if defined, indicates that the getmnt routine is
3733 * available to get filesystem mount info by filename.
3735 #$d_getmnt HAS_GETMNT /**/
3738 * This symbol, if defined, indicates that the getmntent routine is
3739 * available to iterate through mounted file systems to get their info.
3741 #$d_getmntent HAS_GETMNTENT /**/
3744 * This symbol, if defined, indicates that the getnameinfo() function
3745 * is available for use.
3747 #$d_getnameinfo HAS_GETNAMEINFO /**/
3750 * This symbol, if defined, indicates that the getprpwnam system call is
3751 * available to retrieve protected (shadow) password entries by name.
3753 #$d_getprpwnam HAS_GETPRPWNAM /**/
3756 * This symbol, if defined, indicates that the getspnam system call is
3757 * available to retrieve SysV shadow password entries by name.
3759 #$d_getspnam HAS_GETSPNAM /**/
3762 * This symbol, if defined, indicates that the hasmntopt routine is
3763 * available to query the mount options of file systems.
3765 #$d_hasmntopt HAS_HASMNTOPT /**/
3768 * This symbol, if defined, indicates that the ilogbl routine is
3769 * available. If scalbnl is also present we can emulate frexpl.
3771 #$d_ilogbl HAS_ILOGBL /**/
3774 * This symbol, if defined, indicates that the inet_ntop() function
3775 * is available to parse IPv4 and IPv6 strings.
3777 #$d_inetntop HAS_INETNTOP /**/
3780 * This symbol, if defined, indicates that the inet_pton() function
3781 * is available to parse IPv4 and IPv6 strings.
3783 #$d_inetpton HAS_INETPTON /**/
3786 * This symbol will defined if the C compiler supports int64_t.
3787 * Usually the <inttypes.h> needs to be included, but sometimes
3788 * <sys/types.h> is enough.
3790 #$d_int64_t HAS_INT64_T /**/
3793 * This manifest constant lets the C program know that isblank
3796 #$d_isblank HAS_ISBLANK /**/
3799 * This symbol, if defined, indicates that the isfinite routine is
3800 * available to check whether a double is finite (non-infinity non-NaN).
3802 #$d_isfinite HAS_ISFINITE /**/
3805 * This symbol, if defined, indicates that the isfinitel routine is
3806 * available to check whether a long double is finite.
3807 * (non-infinity non-NaN).
3809 #$d_isfinitel HAS_ISFINITEL /**/
3812 * This symbol, if defined, indicates that the isinf routine is
3813 * available to check whether a double is an infinity.
3815 #$d_isinf HAS_ISINF /**/
3818 * This symbol, if defined, indicates that the isinfl routine is
3819 * available to check whether a long double is an infinity.
3821 #$d_isinfl HAS_ISINFL /**/
3824 * This symbol, if defined, indicates that the isnan routine is
3825 * available to check whether a double is a NaN.
3827 #$d_isnan HAS_ISNAN /**/
3830 * This symbol, if defined, indicates that the isnanl routine is
3831 * available to check whether a long double is a NaN.
3833 #$d_isnanl HAS_ISNANL /**/
3836 * This symbol, if defined, indicates to the C program that the
3837 * j0() function is available for Bessel functions of the first
3838 * kind of the order zero, for doubles.
3841 * This symbol, if defined, indicates to the C program that the
3842 * j0l() function is available for Bessel functions of the first
3843 * kind of the order zero, for long doubles.
3846 #$d_j0l HAS_J0L /**/
3849 * This symbol, if defined, indicates that this system's <float.h>
3850 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3851 * of significant digits in a long double precision number. Unlike
3852 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3854 #$d_ldbl_dig HAS_LDBL_DIG /* */
3856 /* LIBM_LIB_VERSION:
3857 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3858 * and that math.h defines the enum to manipulate it.
3860 #$d_libm_lib_version LIBM_LIB_VERSION /**/
3863 * This symbol, if defined, indicates that the madvise system call is
3864 * available to map a file into memory.
3866 #$d_madvise HAS_MADVISE /**/
3869 * This symbol, if defined, indicates that the malloc_size
3870 * routine is available for use.
3872 #$d_malloc_size HAS_MALLOC_SIZE /**/
3874 /* HAS_MALLOC_GOOD_SIZE:
3875 * This symbol, if defined, indicates that the malloc_good_size
3876 * routine is available for use.
3878 #$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3881 * This symbol, if defined, indicates that the mkdtemp routine is
3882 * available to exclusively create a uniquely named temporary directory.
3884 #$d_mkdtemp HAS_MKDTEMP /**/
3887 * This symbol, if defined, indicates that the mkstemps routine is
3888 * available to exclusively create and open a uniquely named
3889 * (with a suffix) temporary file.
3891 #$d_mkstemps HAS_MKSTEMPS /**/
3894 * This symbol, if defined, indicates that the modfl routine is
3895 * available to split a long double x into a fractional part f and
3896 * an integer part i such that |f| < 1.0 and (f + i) = x.
3899 * This symbol, if defined, indicates that the system provides
3900 * a prototype for the modfl() function. Otherwise, it is up
3901 * to the program to supply one.
3903 /* HAS_MODFL_POW32_BUG:
3904 * This symbol, if defined, indicates that the modfl routine is
3905 * broken for long doubles >= pow(2, 32).
3906 * For example from 4294967303.150000 one would get 4294967302.000000
3907 * and 1.150000. The bug has been seen in certain versions of glibc,
3908 * release 2.2.2 is known to be okay.
3910 #$d_modfl HAS_MODFL /**/
3911 #$d_modflproto HAS_MODFL_PROTO /**/
3912 #$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
3915 * This symbol, if defined, indicates that the mprotect system call is
3916 * available to modify the access protection of a memory mapped file.
3918 #$d_mprotect HAS_MPROTECT /**/
3920 /* HAS_STRUCT_MSGHDR:
3921 * This symbol, if defined, indicates that the struct msghdr
3924 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3927 * This symbol, if defined, indicates that the nl_langinfo routine is
3928 * available to return local data. You will also need <langinfo.h>
3929 * and therefore I_LANGINFO.
3931 #$d_nl_langinfo HAS_NL_LANGINFO /**/
3934 * This symbol will be defined if the C compiler supports off64_t.
3936 #$d_off64_t HAS_OFF64_T /**/
3939 * This symbol, if defined, indicates that the prctl routine is
3940 * available to set process title.
3942 /* HAS_PRCTL_SET_NAME:
3943 * This symbol, if defined, indicates that the prctl routine is
3944 * available to set process title and supports PR_SET_NAME.
3946 #$d_prctl HAS_PRCTL /**/
3947 #$d_prctl_set_name HAS_PRCTL_SET_NAME /**/
3950 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3951 * to the absolute pathname of the executing program.
3953 /* PROCSELFEXE_PATH:
3954 * If HAS_PROCSELFEXE is defined this symbol is the filename
3955 * of the symbolic link pointing to the absolute pathname of
3956 * the executing program.
3958 #$d_procselfexe HAS_PROCSELFEXE /**/
3959 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3960 #define PROCSELFEXE_PATH $procselfexe /**/
3963 /* HAS_PTHREAD_ATTR_SETSCOPE:
3964 * This symbol, if defined, indicates that the pthread_attr_setscope
3965 * system call is available to set the contention scope attribute of
3966 * a thread attribute object.
3968 #$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3971 * This symbol will be defined if the C compiler supports ptrdiff_t.
3973 #$d_ptrdiff_t HAS_PTRDIFF_T /**/
3976 * This symbol, if defined, indicates that the readv routine is
3977 * available to do gather reads. You will also need <sys/uio.h>
3978 * and there I_SYSUIO.
3980 #$d_readv HAS_READV /**/
3983 * This symbol, if defined, indicates that the recvmsg routine is
3984 * available to send structured socket messages.
3986 #$d_recvmsg HAS_RECVMSG /**/
3989 * This symbol, if defined, indicates that the system provides
3990 * a prototype for the sbrk() function. Otherwise, it is up
3991 * to the program to supply one. Good guesses are
3992 * extern void* sbrk(int);
3993 * extern void* sbrk(size_t);
3995 #$d_sbrkproto HAS_SBRK_PROTO /**/
3998 * This symbol, if defined, indicates that the scalbnl routine is
3999 * available. If ilogbl is also present we can emulate frexpl.
4001 #$d_scalbnl HAS_SCALBNL /**/
4004 * This symbol, if defined, indicates that the sendmsg routine is
4005 * available to send structured socket messages.
4007 #$d_sendmsg HAS_SENDMSG /**/
4010 * This symbol, if defined, indicates that the setitimer routine is
4011 * available to set interval timers.
4013 #$d_setitimer HAS_SETITIMER /**/
4015 /* HAS_SETPROCTITLE:
4016 * This symbol, if defined, indicates that the setproctitle routine is
4017 * available to set process title.
4019 #$d_setproctitle HAS_SETPROCTITLE /**/
4022 * This symbol, if defined, indicates that the signbit routine is
4023 * available to check if the given number has the sign bit set.
4024 * This should include correct testing of -0.0. This will only be set
4025 * if the signbit() routine is safe to use with the NV type used internally
4026 * in perl. Users should call Perl_signbit(), which will be #defined to
4027 * the system's signbit() function or macro if this symbol is defined.
4029 #$d_signbit HAS_SIGNBIT /**/
4032 * This symbol, if defined, indicates that the sigprocmask
4033 * system call is available to examine or change the signal mask
4034 * of the calling process.
4036 #$d_sigprocmask HAS_SIGPROCMASK /**/
4038 /* USE_SITECUSTOMIZE:
4039 * This symbol, if defined, indicates that sitecustomize should
4042 #ifndef USE_SITECUSTOMIZE
4043 #$usesitecustomize USE_SITECUSTOMIZE /**/
4047 * This symbol, if defined, indicates that the snprintf () library
4048 * function is available for use.
4051 * This symbol, if defined, indicates that the vsnprintf () library
4052 * function is available for use.
4054 #$d_snprintf HAS_SNPRINTF /**/
4055 #$d_vsnprintf HAS_VSNPRINTF /**/
4058 * This symbol, if defined, indicates that the sockatmark routine is
4059 * available to test whether a socket is at the out-of-band mark.
4061 #$d_sockatmark HAS_SOCKATMARK /**/
4063 /* HAS_SOCKATMARK_PROTO:
4064 * This symbol, if defined, indicates that the system provides
4065 * a prototype for the sockatmark() function. Otherwise, it is up
4066 * to the program to supply one. A good guess is
4067 * extern int sockatmark(int);
4069 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
4072 * This symbol, if defined, indicates that the socks5_init routine is
4073 * available to initialize SOCKS 5.
4075 #$d_socks5_init HAS_SOCKS5_INIT /**/
4077 /* SPRINTF_RETURNS_STRLEN:
4078 * This variable defines whether sprintf returns the length of the string
4079 * (as per the ANSI spec). Some C libraries retain compatibility with
4080 * pre-ANSI C and return a pointer to the passed in buffer; for these
4081 * this variable will be undef.
4083 #$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
4086 * This symbol, if defined, indicates that the sqrtl routine is
4087 * available to do long double square roots.
4089 #$d_sqrtl HAS_SQRTL /**/
4091 /* HAS_SETRESGID_PROTO:
4092 * This symbol, if defined, indicates that the system provides
4093 * a prototype for the setresgid() function. Otherwise, it is up
4094 * to the program to supply one. Good guesses are
4095 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
4097 #$d_sresgproto HAS_SETRESGID_PROTO /**/
4099 /* HAS_SETRESUID_PROTO:
4100 * This symbol, if defined, indicates that the system provides
4101 * a prototype for the setresuid() function. Otherwise, it is up
4102 * to the program to supply one. Good guesses are
4103 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
4105 #$d_sresuproto HAS_SETRESUID_PROTO /**/
4107 /* HAS_STRUCT_STATFS_F_FLAGS:
4108 * This symbol, if defined, indicates that the struct statfs
4109 * does have the f_flags member containing the mount flags of
4110 * the filesystem containing the file.
4111 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
4112 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
4113 * have statfs() and struct statfs, they have ustat() and getmnt()
4114 * with struct ustat and struct fs_data.
4116 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
4118 /* HAS_STRUCT_STATFS:
4119 * This symbol, if defined, indicates that the struct statfs
4120 * to do statfs() is supported.
4122 #$d_statfs_s HAS_STRUCT_STATFS /**/
4125 * This symbol, if defined, indicates that the fstatvfs routine is
4126 * available to stat filesystems by file descriptors.
4128 #$d_fstatvfs HAS_FSTATVFS /**/
4131 * This symbol, if defined, indicates that the strftime routine is
4132 * available to do time formatting.
4134 #$d_strftime HAS_STRFTIME /**/
4137 * This symbol, if defined, indicates that the strlcat () routine is
4138 * available to do string concatenation.
4140 #$d_strlcat HAS_STRLCAT /**/
4143 * This symbol, if defined, indicates that the strlcpy () routine is
4144 * available to do string copying.
4146 #$d_strlcpy HAS_STRLCPY /**/
4149 * This symbol, if defined, indicates that the strtold routine is
4150 * available to convert strings to long doubles.
4152 #$d_strtold HAS_STRTOLD /**/
4155 * This symbol, if defined, indicates that the strtoll routine is
4156 * available to convert strings to long longs.
4158 #$d_strtoll HAS_STRTOLL /**/
4161 * This symbol, if defined, indicates that the strtoq routine is
4162 * available to convert strings to long longs (quads).
4164 #$d_strtoq HAS_STRTOQ /**/
4167 * This symbol, if defined, indicates that the strtoull routine is
4168 * available to convert strings to unsigned long longs.
4170 #$d_strtoull HAS_STRTOULL /**/
4173 * This symbol, if defined, indicates that the strtouq routine is
4174 * available to convert strings to unsigned long longs (quads).
4176 #$d_strtouq HAS_STRTOUQ /**/
4178 /* HAS_SYSCALL_PROTO:
4179 * This symbol, if defined, indicates that the system provides
4180 * a prototype for the syscall() function. Otherwise, it is up
4181 * to the program to supply one. Good guesses are
4182 * extern int syscall(int, ...);
4183 * extern int syscall(long, ...);
4185 #$d_syscallproto HAS_SYSCALL_PROTO /**/
4187 /* HAS_TELLDIR_PROTO:
4188 * This symbol, if defined, indicates that the system provides
4189 * a prototype for the telldir() function. Otherwise, it is up
4190 * to the program to supply one. A good guess is
4191 * extern long telldir(DIR*);
4193 #$d_telldirproto HAS_TELLDIR_PROTO /**/
4196 * This symbol, if defined, indicates that the ctime64 () routine is
4197 * available to do the 64bit variant of ctime ()
4200 * This symbol, if defined, indicates that the localtime64 () routine is
4201 * available to do the 64bit variant of localtime ()
4204 * This symbol, if defined, indicates that the gmtime64 () routine is
4205 * available to do the 64bit variant of gmtime ()
4208 * This symbol, if defined, indicates that the mktime64 () routine is
4209 * available to do the 64bit variant of mktime ()
4212 * This symbol, if defined, indicates that the difftime64 () routine is
4213 * available to do the 64bit variant of difftime ()
4216 * This symbol, if defined, indicates that the asctime64 () routine is
4217 * available to do the 64bit variant of asctime ()
4219 #$d_ctime64 HAS_CTIME64 /**/
4220 #$d_localtime64 HAS_LOCALTIME64 /**/
4221 #$d_gmtime64 HAS_GMTIME64 /**/
4222 #$d_mktime64 HAS_MKTIME64 /**/
4223 #$d_difftime64 HAS_DIFFTIME64 /**/
4224 #$d_asctime64 HAS_ASCTIME64 /**/
4227 * This symbol, if defined, indicates that the timegm routine is
4228 * available to do the opposite of gmtime ()
4230 #$d_timegm HAS_TIMEGM /**/
4233 * This symbol, if defined, indicates that the truncl routine is
4234 * available. If copysignl is also present we can emulate modfl.
4236 #$d_truncl HAS_TRUNCL /**/
4238 /* U32_ALIGNMENT_REQUIRED:
4239 * This symbol, if defined, indicates that you must access
4240 * character data through U32-aligned pointers.
4242 #ifndef U32_ALIGNMENT_REQUIRED
4243 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
4247 * This symbol, if defined, indicates that the ualarm routine is
4248 * available to do alarms with microsecond granularity.
4250 #$d_ualarm HAS_UALARM /**/
4253 * This symbol, if defined, indicates that the unordered routine is
4254 * available to check whether two doubles are unordered
4255 * (effectively: whether either of them is NaN)
4257 #$d_unordered HAS_UNORDERED /**/
4260 * This symbol, if defined, indicates that the unsetenv () routine is
4261 * available for use.
4263 #$d_unsetenv HAS_UNSETENV /**/
4265 /* HAS_USLEEP_PROTO:
4266 * This symbol, if defined, indicates that the system provides
4267 * a prototype for the usleep() function. Otherwise, it is up
4268 * to the program to supply one. A good guess is
4269 * extern int usleep(useconds_t);
4271 #$d_usleepproto HAS_USLEEP_PROTO /**/
4274 * This symbol, if defined, indicates that the ustat system call is
4275 * available to query file system statistics by dev_t.
4277 #$d_ustat HAS_USTAT /**/
4280 * This symbol, if defined, indicates that the wcscmp routine is
4281 * available to compare two wide character strings.
4283 #$d_wcscmp HAS_WCSCMP /**/
4286 * This symbol, if defined, indicates that the wcsxfrm routine is
4287 * available to tranform a wide character string for wcscmp().
4289 #$d_wcsxfrm HAS_WCSXFRM /**/
4292 * This symbol, if defined, indicates that the writev routine is
4293 * available to do scatter writes.
4295 #$d_writev HAS_WRITEV /**/
4297 /* USE_DYNAMIC_LOADING:
4298 * This symbol, if defined, indicates that dynamic loading of
4299 * some sort is available.
4301 #$usedl USE_DYNAMIC_LOADING /**/
4304 * This symbol, if defined, tells that fflush(NULL) correctly
4305 * flushes all pending stdio output without side effects. In
4306 * particular, on some platforms calling fflush(NULL) *still*
4307 * corrupts STDIN if it is a pipe.
4310 * This symbol, if defined, tells that to flush
4311 * all pending stdio output one must loop through all
4312 * the stdio file handles stored in an array and fflush them.
4313 * Note that if fflushNULL is defined, fflushall will not
4314 * even be probed for and will be left undefined.
4316 #$fflushNULL FFLUSH_NULL /**/
4317 #$fflushall FFLUSH_ALL /**/
4320 * This symbol, if defined, indicates that <assert.h> exists and
4321 * could be included by the C program to get the assert() macro.
4323 #$i_assert I_ASSERT /**/
4326 * This symbol, if defined, indicates that <bfd.h> exists and
4332 * This symbol, if defined, indicates that <crypt.h> exists and
4333 * should be included.
4335 #$i_crypt I_CRYPT /**/
4338 * This symbol contains the type of the prefix structure element
4339 * in the <db.h> header file. In older versions of DB, it was
4340 * int, while in newer ones it is u_int32_t.
4343 * This symbol contains the type of the prefix structure element
4344 * in the <db.h> header file. In older versions of DB, it was
4345 * int, while in newer ones it is size_t.
4347 /* DB_VERSION_MAJOR_CFG:
4348 * This symbol, if defined, defines the major version number of
4349 * Berkeley DB found in the <db.h> header when Perl was configured.
4351 /* DB_VERSION_MINOR_CFG:
4352 * This symbol, if defined, defines the minor version number of
4353 * Berkeley DB found in the <db.h> header when Perl was configured.
4354 * For DB version 1 this is always 0.
4356 /* DB_VERSION_PATCH_CFG:
4357 * This symbol, if defined, defines the patch version number of
4358 * Berkeley DB found in the <db.h> header when Perl was configured.
4359 * For DB version 1 this is always 0.
4361 #define DB_Hash_t $db_hashtype /**/
4362 #define DB_Prefix_t $db_prefixtype /**/
4363 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
4364 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
4365 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
4368 * This symbol, if defined, indicates to the C program that it should
4369 * include <fenv.h> to get the floating point environment definitions.
4371 #$i_fenv I_FENV /**/
4374 * This symbol, if defined, indicates that <fp.h> exists and
4375 * should be included.
4380 * This symbol, if defined, indicates that <fp_class.h> exists and
4381 * should be included.
4383 #$i_fp_class I_FP_CLASS /**/
4386 * This symbol, if defined, indicates that <ieeefp.h> exists and
4387 * should be included.
4389 #$i_ieeefp I_IEEEFP /**/
4392 * This symbol, if defined, indicates to the C program that it should
4393 * include <inttypes.h>.
4395 #$i_inttypes I_INTTYPES /**/
4398 * This symbol, if defined, indicates that <langinfo.h> exists and
4399 * should be included.
4401 #$i_langinfo I_LANGINFO /**/
4404 * This symbol, if defined, indicates that <libutil.h> exists and
4405 * should be included.
4407 #$i_libutil I_LIBUTIL /**/
4410 * This symbol, if defined, indicates to the C program that it should
4411 * include <malloc/malloc.h>.
4413 #$i_mallocmalloc I_MALLOCMALLOC /**/
4416 * This symbol, if defined, indicates that <mntent.h> exists and
4417 * should be included.
4419 #$i_mntent I_MNTENT /**/
4422 * This symbol, if defined, indicates to the C program that it should
4423 * include <netinet/tcp.h>.
4425 #$i_netinettcp I_NETINET_TCP /**/
4428 * This symbol, if defined, indicates that <poll.h> exists and
4429 * should be included. (see also HAS_POLL)
4431 #$i_poll I_POLL /**/
4434 * This symbol, if defined, indicates that <prot.h> exists and
4435 * should be included.
4437 #$i_prot I_PROT /**/
4440 * This symbol, if defined, indicates that <shadow.h> exists and
4441 * should be included.
4443 #$i_shadow I_SHADOW /**/
4446 * This symbol, if defined, indicates that <socks.h> exists and
4447 * should be included.
4449 #$i_socks I_SOCKS /**/
4452 * This symbol, if defined, indicates that <stdbool.h> exists and
4455 #$i_stdbool I_STDBOOL /**/
4458 * This symbol, if defined, indicates that <stdint.h> exists and
4459 * should be included.
4461 #$i_stdint I_STDINT /**/
4464 * This symbol, if defined, indicates that <sunmath.h> exists and
4465 * should be included.
4467 #$i_sunmath I_SUNMATH /**/
4470 * This symbol, if defined, indicates that <syslog.h> exists and
4471 * should be included.
4473 #$i_syslog I_SYSLOG /**/
4476 * This symbol, if defined, indicates that <sys/mode.h> exists and
4477 * should be included.
4479 #$i_sysmode I_SYSMODE /**/
4482 * This symbol, if defined, indicates that <sys/mount.h> exists and
4483 * should be included.
4485 #$i_sysmount I_SYS_MOUNT /**/
4488 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4490 #$i_sysstatfs I_SYS_STATFS /**/
4493 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4494 * should be included.
4496 #$i_sysstatvfs I_SYS_STATVFS /**/
4499 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4500 * should be included.
4502 #$i_sysutsname I_SYSUTSNAME /**/
4505 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4506 * should be included.
4508 #$i_sysvfs I_SYS_VFS /**/
4511 * This symbol, if defined, indicates that <ustat.h> exists and
4512 * should be included.
4514 #$i_ustat I_USTAT /**/
4517 * This symbol, if defined, contains the string used by stdio to
4518 * format long doubles (format 'f') for output.
4521 * This symbol, if defined, contains the string used by stdio to
4522 * format long doubles (format 'g') for output.
4525 * This symbol, if defined, contains the string used by stdio to
4526 * format long doubles (format 'e') for output.
4529 * This symbol, if defined, contains the string used by stdio to
4530 * format long doubles (format 'f') for input.
4532 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
4533 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
4534 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
4535 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
4538 * This symbol, if defined, indicates that the system stores
4539 * the variable argument list datatype, va_list, in a format
4540 * that cannot be copied by simple assignment, so that some
4541 * other means must be used when copying is required.
4542 * As such systems vary in their provision (or non-provision)
4543 * of copying mechanisms, handy.h defines a platform-
4544 * independent macro, Perl_va_copy(src, dst), to do the job.
4546 #$need_va_copy NEED_VA_COPY /**/
4549 * This symbol defines the C type used for Perl's IV.
4552 * This symbol defines the C type used for Perl's UV.
4555 * This symbol defines the C type used for Perl's I8.
4558 * This symbol defines the C type used for Perl's U8.
4561 * This symbol defines the C type used for Perl's I16.
4564 * This symbol defines the C type used for Perl's U16.
4567 * This symbol defines the C type used for Perl's I32.
4570 * This symbol defines the C type used for Perl's U32.
4573 * This symbol defines the C type used for Perl's I64.
4576 * This symbol defines the C type used for Perl's U64.
4579 * This symbol defines the C type used for Perl's NV.
4582 * This symbol contains the sizeof(IV).
4585 * This symbol contains the sizeof(UV).
4588 * This symbol contains the sizeof(I8).
4591 * This symbol contains the sizeof(U8).
4594 * This symbol contains the sizeof(I16).
4597 * This symbol contains the sizeof(U16).
4600 * This symbol contains the sizeof(I32).
4603 * This symbol contains the sizeof(U32).
4606 * This symbol contains the sizeof(I64).
4609 * This symbol contains the sizeof(U64).
4612 * This symbol contains the sizeof(NV).
4615 * This symbol, if defined, indicates that a variable of type NVTYPE
4616 * can preserve all the bits of a variable of type UVTYPE.
4618 /* NV_PRESERVES_UV_BITS:
4619 * This symbol contains the number of bits a variable of type NVTYPE
4620 * can preserve of a variable of type UVTYPE.
4622 /* NV_OVERFLOWS_INTEGERS_AT:
4623 * This symbol gives the largest integer value that NVs can hold. This
4624 * value + 1.0 cannot be stored accurately. It is expressed as constant
4625 * floating point expression to reduce the chance of decimal/binary
4626 * conversion issues. If it can not be determined, the value 0 is given.
4628 /* NV_ZERO_IS_ALLBITS_ZERO:
4629 * This symbol, if defined, indicates that a variable of type NVTYPE
4630 * stores 0.0 in memory as all bits zero.
4632 #define IVTYPE $ivtype /**/
4633 #define UVTYPE $uvtype /**/
4634 #define I8TYPE $i8type /**/
4635 #define U8TYPE $u8type /**/
4636 #define I16TYPE $i16type /**/
4637 #define U16TYPE $u16type /**/
4638 #define I32TYPE $i32type /**/
4639 #define U32TYPE $u32type /**/
4641 #define I64TYPE $i64type /**/
4642 #define U64TYPE $u64type /**/
4644 #define NVTYPE $nvtype /**/
4645 #define IVSIZE $ivsize /**/
4646 #define UVSIZE $uvsize /**/
4647 #define I8SIZE $i8size /**/
4648 #define U8SIZE $u8size /**/
4649 #define I16SIZE $i16size /**/
4650 #define U16SIZE $u16size /**/
4651 #define I32SIZE $i32size /**/
4652 #define U32SIZE $u32size /**/
4654 #define I64SIZE $i64size /**/
4655 #define U64SIZE $u64size /**/
4657 #define NVSIZE $nvsize /**/
4658 #$d_nv_preserves_uv NV_PRESERVES_UV
4659 #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4660 #define NV_OVERFLOWS_INTEGERS_AT $nv_overflows_integers_at
4661 #$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4664 # if BYTEORDER == 0x1234
4666 # define BYTEORDER 0x12345678
4668 # if BYTEORDER == 0x4321
4670 # define BYTEORDER 0x87654321
4677 * This symbol defines the format string used for printing a Perl IV
4678 * as a signed decimal integer.
4681 * This symbol defines the format string used for printing a Perl UV
4682 * as an unsigned decimal integer.
4685 * This symbol defines the format string used for printing a Perl UV
4686 * as an unsigned octal integer.
4689 * This symbol defines the format string used for printing a Perl UV
4690 * as an unsigned hexadecimal integer in lowercase abcdef.
4693 * This symbol defines the format string used for printing a Perl UV
4694 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4697 * This symbol defines the format string used for printing a Perl NV
4698 * using %e-ish floating point format.
4701 * This symbol defines the format string used for printing a Perl NV
4702 * using %f-ish floating point format.
4705 * This symbol defines the format string used for printing a Perl NV
4706 * using %g-ish floating point format.
4708 #define IVdf $ivdformat /**/
4709 #define UVuf $uvuformat /**/
4710 #define UVof $uvoformat /**/
4711 #define UVxf $uvxformat /**/
4712 #define UVXf $uvXUformat /**/
4713 #define NVef $nveformat /**/
4714 #define NVff $nvfformat /**/
4715 #define NVgf $nvgformat /**/
4718 * This symbol holds the minimum number of bits operated by select.
4719 * That is, if you do select(n, ...), how many bits at least will be
4720 * cleared in the masks if some activity is detected. Usually this
4721 * is either n or 32*ceil(n/32), especially many little-endians do
4722 * the latter. This is only useful if you have select(), naturally.
4724 #define SELECT_MIN_BITS $selectminbits /**/
4727 * This variable contains the size of struct stat's st_ino in bytes.
4730 * This symbol holds the signedness of struct stat's st_ino.
4731 * 1 for unsigned, -1 for signed.
4733 #define ST_INO_SIGN $st_ino_sign /* st_ino sign */
4734 #define ST_INO_SIZE $st_ino_size /* st_ino size */
4737 * This variable contains the string to put in front of a perl
4738 * script to make sure (one hopes) that it runs with perl and not
4741 #define STARTPERL "$startperl" /**/
4743 /* HAS_STDIO_STREAM_ARRAY:
4744 * This symbol, if defined, tells that there is an array
4745 * holding the stdio streams.
4747 /* STDIO_STREAM_ARRAY:
4748 * This symbol tells the name of the array holding the stdio streams.
4749 * Usual values include _iob, __iob, and __sF.
4751 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4752 #ifdef HAS_STDIO_STREAM_ARRAY
4753 #define STDIO_STREAM_ARRAY $stdio_stream_array
4757 * This symbol contains the maximum value for the time_t offset that
4758 * the system function gmtime () accepts, and defaults to 0
4761 * This symbol contains the minimum value for the time_t offset that
4762 * the system function gmtime () accepts, and defaults to 0
4765 * This symbol contains the maximum value for the time_t offset that
4766 * the system function localtime () accepts, and defaults to 0
4769 * This symbol contains the minimum value for the time_t offset that
4770 * the system function localtime () accepts, and defaults to 0
4772 #define GMTIME_MAX $sGMTIME_max /**/
4773 #define GMTIME_MIN $sGMTIME_min /**/
4774 #define LOCALTIME_MAX $sLOCALTIME_max /**/
4775 #define LOCALTIME_MIN $sLOCALTIME_min /**/
4778 * This symbol, if defined, indicates that 64-bit integers should
4779 * be used when available. If not defined, the native integers
4780 * will be employed (be they 32 or 64 bits). The minimal possible
4781 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4782 * This may mean using for example "long longs", while your memory
4783 * may still be limited to 2 gigabytes.
4786 * This symbol, if defined, indicates that 64-bit integers should
4787 * be used when available. If not defined, the native integers
4788 * will be used (be they 32 or 64 bits). The maximal possible
4789 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4790 * be able to use more than 2 gigabytes of memory. This mode is
4791 * even more binary incompatible than USE_64_BIT_INT. You may not
4792 * be able to run the resulting executable in a 32-bit CPU at all or
4793 * you may need at least to reboot your OS to 64-bit mode.
4795 #ifndef USE_64_BIT_INT
4796 #$use64bitint USE_64_BIT_INT /**/
4798 #ifndef USE_64_BIT_ALL
4799 #$use64bitall USE_64_BIT_ALL /**/
4803 * This symbol, if defined, indicates that Perl should
4804 * be built with support for backtrace.
4806 #$usecbacktrace USE_CBACKTRACE /**/
4809 * This symbol, if defined, indicates that Perl should
4810 * be built with support for DTrace.
4812 #$usedtrace USE_DTRACE /**/
4815 * This symbol, if defined, indicates that Perl should
4816 * be built to use 'fast stdio'.
4817 * Defaults to define in Perls 5.8 and earlier, to undef later.
4819 #ifndef USE_FAST_STDIO
4820 #$usefaststdio USE_FAST_STDIO /**/
4823 /* USE_KERN_PROC_PATHNAME:
4824 * This symbol, if defined, indicates that we can use sysctl with
4825 * KERN_PROC_PATHNAME to get a full path for the executable, and hence
4826 * convert $^X to an absolute path.
4828 #$usekernprocpathname USE_KERN_PROC_PATHNAME /**/
4831 * This symbol, if defined, indicates that large file support
4832 * should be used when available.
4834 #ifndef USE_LARGE_FILES
4835 #$uselargefiles USE_LARGE_FILES /**/
4839 * This symbol, if defined, indicates that long doubles should
4840 * be used when available.
4842 #ifndef USE_LONG_DOUBLE
4843 #$uselongdouble USE_LONG_DOUBLE /**/
4847 * This symbol, if defined, indicates that 64-bit interfaces and
4848 * long doubles should be used when available.
4850 #ifndef USE_MORE_BITS
4851 #$usemorebits USE_MORE_BITS /**/
4855 * This symbol, if defined, indicates that Perl should
4856 * be built to use multiplicity.
4858 #ifndef MULTIPLICITY
4859 #$usemultiplicity MULTIPLICITY /**/
4862 /* USE_NSGETEXECUTABLEPATH:
4863 * This symbol, if defined, indicates that we can use _NSGetExecutablePath
4864 * and realpath to get a full path for the executable, and hence convert
4865 * $^X to an absolute path.
4867 #$usensgetexecutablepath USE_NSGETEXECUTABLEPATH /**/
4870 * This symbol, if defined, indicates that the PerlIO abstraction should
4871 * be used throughout. If not defined, stdio should be
4872 * used in a fully backward compatible manner.
4875 #$useperlio USE_PERLIO /**/
4879 * This symbol, if defined, indicates that Perl should
4880 * be built to use socks.
4883 #$usesocks USE_SOCKS /**/