1 # THIS IS A GENERATED FILE
4 # See Porting/config_h.pl
6 : Set up for generating config_h.SH
8 '') CONFIG_SH=config.sh;;
11 '') CONFIG_H=config.h;;
13 case $PERL_CONFIG_SH in
15 if test -f $CONFIG_SH; then TOP=.;
16 elif test -f ../$CONFIG_SH; then TOP=..;
17 elif test -f ../../$CONFIG_SH; then TOP=../..;
18 elif test -f ../../../$CONFIG_SH; then TOP=../../..;
19 elif test -f ../../../../$CONFIG_SH; then TOP=../../../..;
21 echo "Can't find $CONFIG_SH."; exit 1
27 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
30 already-done) echo "Not re-extracting config.h" ;;
32 echo "Extracting $CONFIG_H (with variable substitutions)"
33 sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
35 * This file was produced by running the config_h.SH script, which
36 * gets its values from $CONFIG_SH, which is generally produced by
39 * Feel free to modify any of this as the need arises. Note, however,
40 * that running config_h.SH again will wipe out any changes you've made.
41 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
43 * \$Id: Config_h.U 1 2006-08-24 12:32:52Z rmanfredi $
47 * Package name : $package
48 * Source directory : $src
49 * Configuration time: $cf_time
50 * Configured by : $cf_by
51 * Target system : $myuname
58 * This symbol holds the complete pathname to the sed program.
60 #define LOC_SED "$full_sed" /**/
63 * This symbol, if defined, indicates that the alarm routine is
66 #$d_alarm HAS_ALARM /**/
69 * This symbol is defined if the bcmp() routine is available to
70 * compare blocks of memory.
72 #$d_bcmp HAS_BCMP /**/
75 * This symbol is defined if the bcopy() routine is available to
76 * copy blocks of memory.
78 #$d_bcopy HAS_BCOPY /**/
81 * This symbol is defined if the bzero() routine is available to
82 * set a memory block to 0.
84 #$d_bzero HAS_BZERO /**/
87 * This symbol, if defined, indicates that the chown routine is
90 #$d_chown HAS_CHOWN /**/
93 * This symbol, if defined, indicates that the chroot routine is
96 #$d_chroot HAS_CHROOT /**/
99 * This symbol, if defined, indicates that the chsize routine is available
100 * to truncate files. You might need a -lx to get this routine.
102 #$d_chsize HAS_CHSIZE /**/
105 * This symbol, if defined, indicates that the crypt routine is available
106 * to encrypt passwords and the like.
108 #$d_crypt HAS_CRYPT /**/
111 * This symbol, if defined, indicates that the ctermid routine is
112 * available to generate filename for terminal.
114 #$d_ctermid HAS_CTERMID /**/
117 * This symbol, if defined, indicates that the cuserid routine is
118 * available to get character login names.
120 #$d_cuserid HAS_CUSERID /**/
123 * This symbol, if defined, indicates that this system's <float.h>
124 * or <limits.h> defines the symbol DBL_DIG, which is the number
125 * of significant digits in a double precision number. If this
126 * symbol is not defined, a guess of 15 is usually pretty good.
128 #$d_dbl_dig HAS_DBL_DIG /* */
131 * This symbol, if defined, indicates that the difftime routine is
134 #$d_difftime HAS_DIFFTIME /**/
137 * This symbol, if defined, indicates that the dlerror routine is
138 * available to return a string describing the last error that
139 * occurred from a call to dlopen(), dlclose() or dlsym().
141 #$d_dlerror HAS_DLERROR /**/
144 * This symbol, if defined, indicates that the dup2 routine is
145 * available to duplicate file descriptors.
147 #$d_dup2 HAS_DUP2 /**/
150 * This symbol, if defined, indicates that the fchmod routine is available
151 * to change mode of opened files. If unavailable, use chmod().
153 #$d_fchmod HAS_FCHMOD /**/
156 * This symbol, if defined, indicates that the fchown routine is available
157 * to change ownership of opened files. If unavailable, use chown().
159 #$d_fchown HAS_FCHOWN /**/
162 * This symbol, if defined, indicates to the C program that
163 * the fcntl() function exists.
165 #$d_fcntl HAS_FCNTL /**/
168 * This symbol, if defined, indicates that the fgetpos routine is
169 * available to get the file position indicator, similar to ftell().
171 #$d_fgetpos HAS_FGETPOS /**/
174 * This symbol, if defined, indicates that the flock routine is
175 * available to do file locking.
177 #$d_flock HAS_FLOCK /**/
180 * This symbol, if defined, indicates that the fork routine is
183 #$d_fork HAS_FORK /**/
186 * This symbol, if defined, indicates that the fsetpos routine is
187 * available to set the file position indicator, similar to fseek().
189 #$d_fsetpos HAS_FSETPOS /**/
192 * This symbol, if defined, indicates that the gettimeofday() system
193 * call is available for a sub-second accuracy clock. Usually, the file
194 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
195 * The type "Timeval" should be used to refer to "struct timeval".
197 #$d_gettimeod HAS_GETTIMEOFDAY /**/
198 #ifdef HAS_GETTIMEOFDAY
199 #define Timeval struct timeval /* Structure used by gettimeofday() */
203 * This symbol, if defined, indicates that the getgroups() routine is
204 * available to get the list of process groups. If unavailable, multiple
205 * groups are probably not supported.
207 #$d_getgrps HAS_GETGROUPS /**/
210 * This symbol, if defined, indicates that the getlogin routine is
211 * available to get the login name.
213 #$d_getlogin HAS_GETLOGIN /**/
216 * This symbol, if defined, indicates to the C program that
217 * the getpgid(pid) function is available to get the
220 #$d_getpgid HAS_GETPGID /**/
223 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
224 * routine is available to get the current process group.
226 #$d_getpgrp2 HAS_GETPGRP2 /**/
229 * This symbol, if defined, indicates that the getppid routine is
230 * available to get the parent process ID.
232 #$d_getppid HAS_GETPPID /**/
235 * This symbol, if defined, indicates that the getpriority routine is
236 * available to get a process's priority.
238 #$d_getprior HAS_GETPRIORITY /**/
241 * This symbol, if defined, indicates to the C program that the
242 * inet_aton() function is available to parse IP address "dotted-quad"
245 #$d_inetaton HAS_INET_ATON /**/
248 * This symbol, if defined, indicates that the killpg routine is available
249 * to kill process groups. If unavailable, you probably should use kill
250 * with a negative process number.
252 #$d_killpg HAS_KILLPG /**/
255 * This symbol, if defined, indicates that the link routine is
256 * available to create hard links.
258 #$d_link HAS_LINK /**/
261 * This symbol, if defined, indicates that the localeconv routine is
262 * available for numeric and monetary formatting conventions.
264 #$d_locconv HAS_LOCALECONV /**/
267 * This symbol, if defined, indicates that the lockf routine is
268 * available to do file locking.
270 #$d_lockf HAS_LOCKF /**/
273 * This symbol, if defined, indicates that the lstat routine is
274 * available to do file stats on symbolic links.
276 #$d_lstat HAS_LSTAT /**/
279 * This symbol, if defined, indicates that the mblen routine is available
280 * to find the number of bytes in a multibye character.
282 #$d_mblen HAS_MBLEN /**/
285 * This symbol, if defined, indicates that the mbstowcs routine is
286 * available to covert a multibyte string into a wide character string.
288 #$d_mbstowcs HAS_MBSTOWCS /**/
291 * This symbol, if defined, indicates that the mbtowc routine is available
292 * to covert a multibyte to a wide character.
294 #$d_mbtowc HAS_MBTOWC /**/
297 * This symbol, if defined, indicates that the memcmp routine is available
298 * to compare blocks of memory.
300 #$d_memcmp HAS_MEMCMP /**/
303 * This symbol, if defined, indicates that the memcpy routine is available
304 * to copy blocks of memory.
306 #$d_memcpy HAS_MEMCPY /**/
309 * This symbol, if defined, indicates that the memmove routine is available
310 * to copy potentially overlapping blocks of memory. This should be used
311 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
314 #$d_memmove HAS_MEMMOVE /**/
317 * This symbol, if defined, indicates that the memset routine is available
318 * to set blocks of memory.
320 #$d_memset HAS_MEMSET /**/
323 * This symbol, if defined, indicates that the mkdir routine is available
324 * to create directories. Otherwise you should fork off a new process to
327 #$d_mkdir HAS_MKDIR /**/
330 * This symbol, if defined, indicates that the mkfifo routine is
331 * available to create FIFOs. Otherwise, mknod should be able to
332 * do it for you. However, if mkfifo is there, mknod might require
333 * super-user privileges which mkfifo will not.
335 #$d_mkfifo HAS_MKFIFO /**/
338 * This symbol, if defined, indicates that the mktime routine is
341 #$d_mktime HAS_MKTIME /**/
344 * This symbol, if defined, indicates that the msync system call is
345 * available to synchronize a mapped file.
347 #$d_msync HAS_MSYNC /**/
350 * This symbol, if defined, indicates that the munmap system call is
351 * available to unmap a region, usually mapped by mmap().
353 #$d_munmap HAS_MUNMAP /**/
356 * This symbol, if defined, indicates that the nice routine is
359 #$d_nice HAS_NICE /**/
362 * This symbol, if defined, indicates that pathconf() is available
363 * to determine file-system related limits and options associated
364 * with a given filename.
367 * This symbol, if defined, indicates that pathconf() is available
368 * to determine file-system related limits and options associated
369 * with a given open file descriptor.
371 #$d_pathconf HAS_PATHCONF /**/
372 #$d_fpathconf HAS_FPATHCONF /**/
375 * This symbol, if defined, indicates that the pause routine is
376 * available to suspend a process until a signal is received.
378 #$d_pause HAS_PAUSE /**/
381 * This symbol, if defined, indicates that the pipe routine is
382 * available to create an inter-process channel.
384 #$d_pipe HAS_PIPE /**/
387 * This symbol, if defined, indicates that the poll routine is
388 * available to poll active file descriptors. Please check I_POLL and
389 * I_SYS_POLL to know which header should be included as well.
391 #$d_poll HAS_POLL /**/
394 * This symbol, if defined, indicates that the readdir routine is
395 * available to read directory entries. You may have to include
396 * <dirent.h>. See I_DIRENT.
398 #$d_readdir HAS_READDIR /**/
401 * This symbol, if defined, indicates that the seekdir routine is
402 * available. You may have to include <dirent.h>. See I_DIRENT.
404 #$d_seekdir HAS_SEEKDIR /**/
407 * This symbol, if defined, indicates that the telldir routine is
408 * available. You may have to include <dirent.h>. See I_DIRENT.
410 #$d_telldir HAS_TELLDIR /**/
413 * This symbol, if defined, indicates that the rewinddir routine is
414 * available. You may have to include <dirent.h>. See I_DIRENT.
416 #$d_rewinddir HAS_REWINDDIR /**/
419 * This symbol, if defined, indicates that the readlink routine is
420 * available to read the value of a symbolic link.
422 #$d_readlink HAS_READLINK /**/
425 * This symbol, if defined, indicates that the rename routine is available
426 * to rename files. Otherwise you should do the unlink(), link(), unlink()
429 #$d_rename HAS_RENAME /**/
432 * This symbol, if defined, indicates that the rmdir routine is
433 * available to remove directories. Otherwise you should fork off a
434 * new process to exec /bin/rmdir.
436 #$d_rmdir HAS_RMDIR /**/
439 * This symbol, if defined, indicates that the select routine is
440 * available to select active file descriptors. If the timeout field
441 * is used, <sys/time.h> may need to be included.
443 #$d_select HAS_SELECT /**/
446 * This symbol, if defined, indicates that the setegid routine is available
447 * to change the effective gid of the current program.
449 #$d_setegid HAS_SETEGID /**/
452 * This symbol, if defined, indicates that the seteuid routine is available
453 * to change the effective uid of the current program.
455 #$d_seteuid HAS_SETEUID /**/
458 * This symbol, if defined, indicates that the setgroups() routine is
459 * available to set the list of process groups. If unavailable, multiple
460 * groups are probably not supported.
462 #$d_setgrps HAS_SETGROUPS /**/
465 * This symbol, if defined, indicates that the setlinebuf routine is
466 * available to change stderr or stdout from block-buffered or unbuffered
467 * to a line-buffered mode.
469 #$d_setlinebuf HAS_SETLINEBUF /**/
472 * This symbol, if defined, indicates that the setlocale routine is
473 * available to handle locale-specific ctype implementations.
475 #$d_setlocale HAS_SETLOCALE /**/
478 * This symbol, if defined, indicates that the setpgid(pid, gpid)
479 * routine is available to set process group ID.
481 #$d_setpgid HAS_SETPGID /**/
484 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
485 * routine is available to set the current process group.
487 #$d_setpgrp2 HAS_SETPGRP2 /**/
490 * This symbol, if defined, indicates that the setpriority routine is
491 * available to set a process's priority.
493 #$d_setprior HAS_SETPRIORITY /**/
496 * This symbol, if defined, indicates that the setregid routine is
497 * available to change the real and effective gid of the current
501 * This symbol, if defined, indicates that the setresgid routine is
502 * available to change the real, effective and saved gid of the current
505 #$d_setregid HAS_SETREGID /**/
506 #$d_setresgid HAS_SETRESGID /**/
509 * This symbol, if defined, indicates that the setreuid routine is
510 * available to change the real and effective uid of the current
514 * This symbol, if defined, indicates that the setresuid routine is
515 * available to change the real, effective and saved uid of the current
518 #$d_setreuid HAS_SETREUID /**/
519 #$d_setresuid HAS_SETRESUID /**/
522 * This symbol, if defined, indicates that the setrgid routine is available
523 * to change the real gid of the current program.
525 #$d_setrgid HAS_SETRGID /**/
528 * This symbol, if defined, indicates that the setruid routine is available
529 * to change the real uid of the current program.
531 #$d_setruid HAS_SETRUID /**/
534 * This symbol, if defined, indicates that the setsid routine is
535 * available to set the process group ID.
537 #$d_setsid HAS_SETSID /**/
540 * This symbol is defined to indicate that the strchr()/strrchr()
541 * functions are available for string searching. If not, try the
542 * index()/rindex() pair.
545 * This symbol is defined to indicate that the index()/rindex()
546 * functions are available for string searching.
548 #$d_strchr HAS_STRCHR /**/
549 #$d_index HAS_INDEX /**/
552 * This symbol, if defined, indicates that the strcoll routine is
553 * available to compare strings using collating information.
555 #$d_strcoll HAS_STRCOLL /**/
558 * This symbol, if defined, indicates that the strtod routine is
559 * available to provide better numeric string conversion than atof().
561 #$d_strtod HAS_STRTOD /**/
564 * This symbol, if defined, indicates that the strtol routine is available
565 * to provide better numeric string conversion than atoi() and friends.
567 #$d_strtol HAS_STRTOL /**/
570 * This symbol, if defined, indicates that the strxfrm() routine is
571 * available to transform strings.
573 #$d_strxfrm HAS_STRXFRM /**/
576 * This symbol, if defined, indicates that the symlink routine is available
577 * to create symbolic links.
579 #$d_symlink HAS_SYMLINK /**/
582 * This symbol, if defined, indicates that the syscall routine is
583 * available to call arbitrary system calls. If undefined, that's tough.
585 #$d_syscall HAS_SYSCALL /**/
588 * This symbol, if defined, indicates that sysconf() is available
589 * to determine system related limits and options.
591 #$d_sysconf HAS_SYSCONF /**/
594 * This symbol, if defined, indicates that the system routine is
595 * available to issue a shell command.
597 #$d_system HAS_SYSTEM /**/
600 * This symbol, if defined, indicates that the tcgetpgrp routine is
601 * available to get foreground process group ID.
603 #$d_tcgetpgrp HAS_TCGETPGRP /**/
606 * This symbol, if defined, indicates that the tcsetpgrp routine is
607 * available to set foreground process group ID.
609 #$d_tcsetpgrp HAS_TCSETPGRP /**/
612 * This symbol, if defined, indicates that the truncate routine is
613 * available to truncate files.
615 #$d_truncate HAS_TRUNCATE /**/
618 * This symbol, if defined, indicates that the tzname[] array is
619 * available to access timezone names.
621 #$d_tzname HAS_TZNAME /**/
624 * This symbol, if defined, indicates that the umask routine is
625 * available to set and get the value of the file creation mask.
627 #$d_umask HAS_UMASK /**/
630 * This symbol, if defined, indicates that the usleep routine is
631 * available to let the process sleep on a sub-second accuracy.
633 #$d_usleep HAS_USLEEP /**/
636 * This symbol, if defined, indicates that wait4() exists.
638 #$d_wait4 HAS_WAIT4 /**/
641 * This symbol, if defined, indicates that the waitpid routine is
642 * available to wait for child process.
644 #$d_waitpid HAS_WAITPID /**/
647 * This symbol, if defined, indicates that the wcstombs routine is
648 * available to convert wide character strings to multibyte strings.
650 #$d_wcstombs HAS_WCSTOMBS /**/
653 * This symbol, if defined, indicates that the wctomb routine is available
654 * to covert a wide character to a multibyte.
656 #$d_wctomb HAS_WCTOMB /**/
659 * This symbol holds the type used for the second argument to
660 * getgroups() and setgroups(). Usually, this is the same as
661 * gidtype (gid_t) , but sometimes it isn't.
662 * It can be int, ushort, gid_t, etc...
663 * It may be necessary to include <sys/types.h> to get any
664 * typedef'ed information. This is only required if you have
665 * getgroups() or setgroups()..
667 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
668 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
672 * This symbol, if defined, indicates to the C program that it should
673 * include <arpa/inet.h> to get inet_addr and friends declarations.
675 #$i_arpainet I_ARPA_INET /**/
678 * This symbol, if defined, indicates that <dbm.h> exists and should
682 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
683 * should be included.
686 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
689 * This symbol, if defined, indicates that <dlfcn.h> exists and should
692 #$i_dlfcn I_DLFCN /**/
695 * This manifest constant tells the C program to include <fcntl.h>.
697 #$i_fcntl I_FCNTL /**/
700 * This symbol, if defined, indicates to the C program that it should
701 * include <float.h> to get definition of symbols like DBL_MAX or
702 * DBL_MIN, i.e. machine dependent floating point values.
704 #$i_float I_FLOAT /**/
707 * This symbol, if defined, indicates that <gdbm.h> exists and should
713 * This symbol, if defined, indicates to the C program that it should
714 * include <limits.h> to get definition of symbols like WORD_BIT or
715 * LONG_MAX, i.e. machine dependant limitations.
717 #$i_limits I_LIMITS /**/
720 * This symbol, if defined, indicates to the C program that it should
721 * include <locale.h>.
723 #$i_locale I_LOCALE /**/
726 * This symbol, if defined, indicates to the C program that it should
732 * This symbol, if defined, indicates to the C program that it should
733 * include <memory.h>.
735 #$i_memory I_MEMORY /**/
738 * This symbol, if defined, indicates to the C program that it should
739 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
741 #$i_niin I_NETINET_IN /**/
744 * This symbol, if defined, indicates to the C program that it should
750 * This symbol, if defined, indicates that <stddef.h> exists and should
753 #$i_stddef I_STDDEF /**/
756 * This symbol, if defined, indicates that <stdlib.h> exists and should
759 #$i_stdlib I_STDLIB /**/
762 * This symbol, if defined, indicates to the C program that it should
763 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
765 #$i_string I_STRING /**/
768 * This symbol, if defined, indicates to the C program that it should
769 * include <sys/dir.h>.
771 #$i_sysdir I_SYS_DIR /**/
774 * This symbol, if defined, indicates to the C program that it should
775 * include <sys/file.h> to get definition of R_OK and friends.
777 #$i_sysfile I_SYS_FILE /**/
780 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
781 * be included. Otherwise, include <sgtty.h> or <termio.h>.
784 * This symbol, if defined, indicates the <sys/sockio.h> should be included
785 * to get socket ioctl options, like SIOCATMARK.
787 #$i_sysioctl I_SYS_IOCTL /**/
788 #$i_syssockio I_SYS_SOCKIO /**/
791 * This symbol, if defined, indicates to the C program that it should
792 * include <sys/ndir.h>.
794 #$i_sysndir I_SYS_NDIR /**/
797 * This symbol, if defined, indicates to the C program that it should
798 * include <sys/param.h>.
800 #$i_sysparam I_SYS_PARAM /**/
803 * This symbol, if defined, indicates that the program may include
804 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
805 * to only include <poll.h>.
807 #$i_syspoll I_SYS_POLL /**/
810 * This symbol, if defined, indicates to the C program that it should
811 * include <sys/resource.h>.
813 #$i_sysresrc I_SYS_RESOURCE /**/
816 * This symbol, if defined, indicates to the C program that it should
817 * include <sys/select.h> in order to get definition of struct timeval.
819 #$i_sysselct I_SYS_SELECT /**/
822 * This symbol, if defined, indicates to the C program that it should
823 * include <sys/stat.h>.
825 #$i_sysstat I_SYS_STAT /**/
828 * This symbol, if defined, indicates to the C program that it should
829 * include <sys/times.h>.
831 #$i_systimes I_SYS_TIMES /**/
834 * This symbol, if defined, indicates to the C program that it should
835 * include <sys/types.h>.
837 #$i_systypes I_SYS_TYPES /**/
840 * This symbol, if defined, indicates to the C program that it should
841 * include <sys/un.h> to get UNIX domain socket definitions.
843 #$i_sysun I_SYS_UN /**/
846 * This symbol, if defined, indicates to the C program that it should
847 * include <sys/wait.h>.
849 #$i_syswait I_SYS_WAIT /**/
852 * This symbol, if defined, indicates that the program should include
853 * <termio.h> rather than <sgtty.h>. There are also differences in
854 * the ioctl() calls that depend on the value of this symbol.
857 * This symbol, if defined, indicates that the program should include
858 * the POSIX termios.h rather than sgtty.h or termio.h.
859 * There are also differences in the ioctl() calls that depend on the
860 * value of this symbol.
863 * This symbol, if defined, indicates that the program should include
864 * <sgtty.h> rather than <termio.h>. There are also differences in
865 * the ioctl() calls that depend on the value of this symbol.
867 #$i_termio I_TERMIO /**/
868 #$i_termios I_TERMIOS /**/
869 #$i_sgtty I_SGTTY /**/
872 * This symbol, if defined, indicates to the C program that it should
873 * include <unistd.h>.
875 #$i_unistd I_UNISTD /**/
878 * This symbol, if defined, indicates to the C program that it should
881 #$i_utime I_UTIME /**/
884 * This symbol, if defined, indicates to the C program that it should
885 * include <values.h> to get definition of symbols like MINFLOAT or
886 * MAXLONG, i.e. machine dependant limitations. Probably, you
887 * should use <limits.h> instead, if it is available.
889 #$i_values I_VALUES /**/
892 * This symbol, if defined, indicates to the C program that it should
895 #$i_vfork I_VFORK /**/
898 * This variable is defined on systems supporting prototype declaration
899 * of functions with a variable number of arguments.
902 * This macro is used to declare function parameters in prototypes for
903 * functions with a variable number of parameters. Use double parentheses.
906 * int printf _V((char *fmt, ...));
908 * Remember to use the plain simple _() macro when declaring a function
909 * with no variable number of arguments, since it might be possible to
910 * have a non-effect _V() macro and still get prototypes via _().
912 #$vaproto CAN_VAPROTO /**/
914 #define _V(args) args
920 * This symbol contains the value of sizeof(int) so that the C
921 * preprocessor can make decisions based on it.
924 * This symbol contains the value of sizeof(long) so that the C
925 * preprocessor can make decisions based on it.
928 * This symbol contains the value of sizeof(short) so that the C
929 * preprocessor can make decisions based on it.
931 #define INTSIZE $intsize /**/
932 #define LONGSIZE $longsize /**/
933 #define SHORTSIZE $shortsize /**/
936 * This symbol, if defined, signifies that the build
937 * process will produce some binary files that are going to be
938 * used in a cross-platform environment. This is the case for
939 * example with the NeXT "fat" binaries that contain executables
942 #$multiarch MULTIARCH /**/
945 * This symbol, if defined, tells that there's a 64-bit integer type,
946 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
947 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
949 #$d_quad HAS_QUAD /**/
951 # define Quad_t $quadtype /**/
952 # define Uquad_t $uquadtype /**/
953 # define QUADKIND $quadkind /**/
954 # define QUAD_IS_INT 1
955 # define QUAD_IS_LONG 2
956 # define QUAD_IS_LONG_LONG 3
957 # define QUAD_IS_INT64_T 4
961 * This symbol contains the name of the operating system, as determined
962 * by Configure. You shouldn't rely on it too much; the specific
963 * feature tests from Configure are generally more reliable.
966 * This symbol contains the version of the operating system, as determined
967 * by Configure. You shouldn't rely on it too much; the specific
968 * feature tests from Configure are generally more reliable.
970 #define OSNAME "$osname" /**/
971 #define OSVERS "$osvers" /**/
974 * This variable, if defined, holds the name of the directory in
975 * which the user wants to put architecture-dependent public
976 * library files for $package. It is most often a local directory
977 * such as /usr/local/lib. Programs using this variable must be
978 * prepared to deal with filename expansion. If ARCHLIB is the
979 * same as PRIVLIB, it is not defined, since presumably the
980 * program already searches PRIVLIB.
983 * This symbol contains the ~name expanded version of ARCHLIB, to be used
984 * in programs that are not prepared to deal with ~ expansion at run-time.
986 #$d_archlib ARCHLIB "$archlib" /**/
987 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
990 * This symbol holds a string representing the architecture name.
991 * It may be used to construct an architecture-dependant pathname
992 * where library files may be held under a private library, for
995 #define ARCHNAME "$archname" /**/
998 * This symbol holds the path of the bin directory where the package will
999 * be installed. Program must be prepared to deal with ~name substitution.
1002 * This symbol is the filename expanded version of the BIN symbol, for
1003 * programs that do not want to deal with that at run-time.
1005 /* PERL_RELOCATABLE_INC:
1006 * This symbol, if defined, indicates that we'd like to relocate entries
1007 * in @INC at run time based on the location of the perl binary.
1009 #define BIN "$bin" /**/
1010 #define BIN_EXP "$binexp" /**/
1011 #define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
1014 * This macro concatenates 2 tokens together.
1017 * This macro surrounds its token with double quotes.
1020 #define CAT2(a,b) a/**/b
1021 #define STRINGIFY(a) "a"
1023 #if $cpp_stuff == 42
1024 #define PeRl_CaTiFy(a, b) a ## b
1025 #define PeRl_StGiFy(a) #a
1026 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1027 #define StGiFy(a) PeRl_StGiFy(a)
1028 #define STRINGIFY(a) PeRl_StGiFy(a)
1030 #if $cpp_stuff != 1 && $cpp_stuff != 42
1031 #include "Bletch: How does this C preprocessor concatenate tokens?"
1035 * This symbol contains the first part of the string which will invoke
1036 * the C preprocessor on the standard input and produce to standard
1037 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1038 * call a wrapper. See CPPRUN.
1041 * This symbol contains the second part of the string which will invoke
1042 * the C preprocessor on the standard input and produce to standard
1043 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1044 * to specify standard input, otherwise the value is "".
1047 * This symbol contains the string which will invoke a C preprocessor on
1048 * the standard input and produce to standard output. It needs to end
1049 * with CPPLAST, after all other preprocessor flags have been specified.
1050 * The main difference with CPPSTDIN is that this program will never be a
1051 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1052 * available directly to the user. Note that it may well be different from
1053 * the preprocessor used to compile the C program.
1056 * This symbol is intended to be used along with CPPRUN in the same manner
1057 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1059 #define CPPSTDIN "$cppstdin"
1060 #define CPPMINUS "$cppminus"
1061 #define CPPRUN "$cpprun"
1062 #define CPPLAST "$cpplast"
1065 * This manifest constant lets the C program know that the access()
1066 * system call is available to check for accessibility using real UID/GID.
1067 * (always present on UNIX.)
1069 #$d_access HAS_ACCESS /**/
1072 * This symbol, if defined, indicates that the accessx routine is
1073 * available to do extended access checks.
1075 #$d_accessx HAS_ACCESSX /**/
1078 * This symbol, if defined, indicates that the asctime_r routine
1079 * is available to asctime re-entrantly.
1082 * This symbol encodes the prototype of asctime_r.
1083 * It is zero if d_asctime_r is undef, and one of the
1084 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1087 #$d_asctime_r HAS_ASCTIME_R /**/
1088 #define ASCTIME_R_PROTO $asctime_r_proto /**/
1090 /* HASATTRIBUTE_FORMAT:
1091 * Can we handle GCC attribute for checking printf-style formats
1093 /* PRINTF_FORMAT_NULL_OK:
1094 * Allows __printf__ format to be null when checking printf-style
1096 /* HASATTRIBUTE_MALLOC:
1097 * Can we handle GCC attribute for malloc-style functions.
1099 /* HASATTRIBUTE_NONNULL:
1100 * Can we handle GCC attribute for nonnull function parms.
1102 /* HASATTRIBUTE_NORETURN:
1103 * Can we handle GCC attribute for functions that do not return
1105 /* HASATTRIBUTE_PURE:
1106 * Can we handle GCC attribute for pure functions
1108 /* HASATTRIBUTE_UNUSED:
1109 * Can we handle GCC attribute for unused variables and arguments
1111 /* HASATTRIBUTE_DEPRECATED:
1112 * Can we handle GCC attribute for marking deprecated APIs
1114 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1115 * Can we handle GCC attribute for warning on unused results
1117 #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/
1118 #$d_attribute_format HASATTRIBUTE_FORMAT /**/
1119 #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
1120 #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1121 #$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1122 #$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1123 #$d_attribute_pure HASATTRIBUTE_PURE /**/
1124 #$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1125 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1128 * This symbol, if defined, indicates that this C compiler knows about
1129 * the const type. There is no need to actually test for that symbol
1130 * within your programs. The mere use of the "const" keyword will
1131 * trigger the necessary tests.
1133 #$d_const HASCONST /**/
1139 * This symbol, if defined, indicates that the crypt_r routine
1140 * is available to crypt re-entrantly.
1143 * This symbol encodes the prototype of crypt_r.
1144 * It is zero if d_crypt_r is undef, and one of the
1145 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1148 #$d_crypt_r HAS_CRYPT_R /**/
1149 #define CRYPT_R_PROTO $crypt_r_proto /**/
1152 * This symbol, if defined, indicates that the C-shell exists.
1155 * This symbol, if defined, contains the full pathname of csh.
1157 #$d_csh HAS_CSH /**/
1159 #define CSH "$full_csh" /**/
1163 * This symbol, if defined, indicates that the ctermid_r routine
1164 * is available to ctermid re-entrantly.
1167 * This symbol encodes the prototype of ctermid_r.
1168 * It is zero if d_ctermid_r is undef, and one of the
1169 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1172 #$d_ctermid_r HAS_CTERMID_R /**/
1173 #define CTERMID_R_PROTO $ctermid_r_proto /**/
1176 * This symbol, if defined, indicates that the ctime_r routine
1177 * is available to ctime re-entrantly.
1180 * This symbol encodes the prototype of ctime_r.
1181 * It is zero if d_ctime_r is undef, and one of the
1182 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1185 #$d_ctime_r HAS_CTIME_R /**/
1186 #define CTIME_R_PROTO $ctime_r_proto /**/
1188 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1189 * This symbol, if defined, indicates that the bug that prevents
1190 * setuid scripts from being secure is not present in this kernel.
1193 * This symbol, if defined, indicates that the C program should
1194 * check the script that it is executing for setuid/setgid bits, and
1195 * attempt to emulate setuid/setgid on systems that have disabled
1196 * setuid #! scripts because the kernel can't do it securely.
1197 * It is up to the package designer to make sure that this emulation
1198 * is done securely. Among other things, it should do an fstat on
1199 * the script it just opened to make sure it really is a setuid/setgid
1200 * script, it should make sure the arguments passed correspond exactly
1201 * to the argument on the #! line, and it should not trust any
1202 * subprocesses to which it must pass the filename rather than the
1203 * file descriptor of the script to be executed.
1205 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1206 #$d_dosuid DOSUID /**/
1209 * This symbol, if defined, indicates that the drand48_r routine
1210 * is available to drand48 re-entrantly.
1213 * This symbol encodes the prototype of drand48_r.
1214 * It is zero if d_drand48_r is undef, and one of the
1215 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1218 #$d_drand48_r HAS_DRAND48_R /**/
1219 #define DRAND48_R_PROTO $drand48_r_proto /**/
1221 /* HAS_DRAND48_PROTO:
1222 * This symbol, if defined, indicates that the system provides
1223 * a prototype for the drand48() function. Otherwise, it is up
1224 * to the program to supply one. A good guess is
1225 * extern double drand48(void);
1227 #$d_drand48proto HAS_DRAND48_PROTO /**/
1230 * This symbol, if defined, indicates that the eaccess routine is
1231 * available to do extended access checks.
1233 #$d_eaccess HAS_EACCESS /**/
1236 * This symbol, if defined, indicates that the getgrent routine is
1237 * available for finalizing sequential access of the group database.
1239 #$d_endgrent HAS_ENDGRENT /**/
1242 * This symbol, if defined, indicates that the endgrent_r routine
1243 * is available to endgrent re-entrantly.
1245 /* ENDGRENT_R_PROTO:
1246 * This symbol encodes the prototype of endgrent_r.
1247 * It is zero if d_endgrent_r is undef, and one of the
1248 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1251 #$d_endgrent_r HAS_ENDGRENT_R /**/
1252 #define ENDGRENT_R_PROTO $endgrent_r_proto /**/
1255 * This symbol, if defined, indicates that the endhostent() routine is
1256 * available to close whatever was being used for host queries.
1258 #$d_endhent HAS_ENDHOSTENT /**/
1260 /* HAS_ENDHOSTENT_R:
1261 * This symbol, if defined, indicates that the endhostent_r routine
1262 * is available to endhostent re-entrantly.
1264 /* ENDHOSTENT_R_PROTO:
1265 * This symbol encodes the prototype of endhostent_r.
1266 * It is zero if d_endhostent_r is undef, and one of the
1267 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1270 #$d_endhostent_r HAS_ENDHOSTENT_R /**/
1271 #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
1274 * This symbol, if defined, indicates that the endnetent() routine is
1275 * available to close whatever was being used for network queries.
1277 #$d_endnent HAS_ENDNETENT /**/
1280 * This symbol, if defined, indicates that the endnetent_r routine
1281 * is available to endnetent re-entrantly.
1283 /* ENDNETENT_R_PROTO:
1284 * This symbol encodes the prototype of endnetent_r.
1285 * It is zero if d_endnetent_r is undef, and one of the
1286 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1289 #$d_endnetent_r HAS_ENDNETENT_R /**/
1290 #define ENDNETENT_R_PROTO $endnetent_r_proto /**/
1293 * This symbol, if defined, indicates that the endprotoent() routine is
1294 * available to close whatever was being used for protocol queries.
1296 #$d_endpent HAS_ENDPROTOENT /**/
1298 /* HAS_ENDPROTOENT_R:
1299 * This symbol, if defined, indicates that the endprotoent_r routine
1300 * is available to endprotoent re-entrantly.
1302 /* ENDPROTOENT_R_PROTO:
1303 * This symbol encodes the prototype of endprotoent_r.
1304 * It is zero if d_endprotoent_r is undef, and one of the
1305 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1308 #$d_endprotoent_r HAS_ENDPROTOENT_R /**/
1309 #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
1312 * This symbol, if defined, indicates that the getgrent routine is
1313 * available for finalizing sequential access of the passwd database.
1315 #$d_endpwent HAS_ENDPWENT /**/
1318 * This symbol, if defined, indicates that the endpwent_r routine
1319 * is available to endpwent re-entrantly.
1321 /* ENDPWENT_R_PROTO:
1322 * This symbol encodes the prototype of endpwent_r.
1323 * It is zero if d_endpwent_r is undef, and one of the
1324 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1327 #$d_endpwent_r HAS_ENDPWENT_R /**/
1328 #define ENDPWENT_R_PROTO $endpwent_r_proto /**/
1331 * This symbol, if defined, indicates that the endservent() routine is
1332 * available to close whatever was being used for service queries.
1334 #$d_endsent HAS_ENDSERVENT /**/
1336 /* HAS_ENDSERVENT_R:
1337 * This symbol, if defined, indicates that the endservent_r routine
1338 * is available to endservent re-entrantly.
1340 /* ENDSERVENT_R_PROTO:
1341 * This symbol encodes the prototype of endservent_r.
1342 * It is zero if d_endservent_r is undef, and one of the
1343 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1346 #$d_endservent_r HAS_ENDSERVENT_R /**/
1347 #define ENDSERVENT_R_PROTO $endservent_r_proto /**/
1350 * This symbol, if defined, indicates that the system supports filenames
1351 * longer than 14 characters.
1353 #$d_flexfnam FLEXFILENAMES /**/
1356 * This symbol, if defined, indicates that the getgrent routine is
1357 * available for sequential access of the group database.
1359 #$d_getgrent HAS_GETGRENT /**/
1362 * This symbol, if defined, indicates that the getgrent_r routine
1363 * is available to getgrent re-entrantly.
1365 /* GETGRENT_R_PROTO:
1366 * This symbol encodes the prototype of getgrent_r.
1367 * It is zero if d_getgrent_r is undef, and one of the
1368 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1371 #$d_getgrent_r HAS_GETGRENT_R /**/
1372 #define GETGRENT_R_PROTO $getgrent_r_proto /**/
1375 * This symbol, if defined, indicates that the getgrgid_r routine
1376 * is available to getgrgid re-entrantly.
1378 /* GETGRGID_R_PROTO:
1379 * This symbol encodes the prototype of getgrgid_r.
1380 * It is zero if d_getgrgid_r is undef, and one of the
1381 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1384 #$d_getgrgid_r HAS_GETGRGID_R /**/
1385 #define GETGRGID_R_PROTO $getgrgid_r_proto /**/
1388 * This symbol, if defined, indicates that the getgrnam_r routine
1389 * is available to getgrnam re-entrantly.
1391 /* GETGRNAM_R_PROTO:
1392 * This symbol encodes the prototype of getgrnam_r.
1393 * It is zero if d_getgrnam_r is undef, and one of the
1394 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1397 #$d_getgrnam_r HAS_GETGRNAM_R /**/
1398 #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
1400 /* HAS_GETHOSTBYADDR:
1401 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1402 * available to look up hosts by their IP addresses.
1404 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1406 /* HAS_GETHOSTBYNAME:
1407 * This symbol, if defined, indicates that the gethostbyname() routine is
1408 * available to look up host names in some data base or other.
1410 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1413 * This symbol, if defined, indicates that the gethostent() routine is
1414 * available to look up host names in some data base or another.
1416 #$d_gethent HAS_GETHOSTENT /**/
1419 * This symbol, if defined, indicates that the C program may use the
1420 * gethostname() routine to derive the host name. See also HAS_UNAME
1424 * This symbol, if defined, indicates that the C program may use the
1425 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1429 * This symbol, if defined, indicates the command to feed to the
1430 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1431 * and HAS_UNAME. Note that the command uses a fully qualified path,
1432 * so that it is safe even if used by a process with super-user
1436 * This symbol, if defined, indicates that the C program may use the
1437 * contents of PHOSTNAME as a command to feed to the popen() routine
1438 * to derive the host name.
1440 #$d_gethname HAS_GETHOSTNAME /**/
1441 #$d_uname HAS_UNAME /**/
1442 #$d_phostname HAS_PHOSTNAME /**/
1443 #ifdef HAS_PHOSTNAME
1444 #define PHOSTNAME "$aphostname" /* How to get the host name */
1447 /* HAS_GETHOSTBYADDR_R:
1448 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1449 * is available to gethostbyaddr re-entrantly.
1451 /* GETHOSTBYADDR_R_PROTO:
1452 * This symbol encodes the prototype of gethostbyaddr_r.
1453 * It is zero if d_gethostbyaddr_r is undef, and one of the
1454 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1457 #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
1458 #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
1460 /* HAS_GETHOSTBYNAME_R:
1461 * This symbol, if defined, indicates that the gethostbyname_r routine
1462 * is available to gethostbyname re-entrantly.
1464 /* GETHOSTBYNAME_R_PROTO:
1465 * This symbol encodes the prototype of gethostbyname_r.
1466 * It is zero if d_gethostbyname_r is undef, and one of the
1467 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1470 #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
1471 #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
1473 /* HAS_GETHOSTENT_R:
1474 * This symbol, if defined, indicates that the gethostent_r routine
1475 * is available to gethostent re-entrantly.
1477 /* GETHOSTENT_R_PROTO:
1478 * This symbol encodes the prototype of gethostent_r.
1479 * It is zero if d_gethostent_r is undef, and one of the
1480 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1483 #$d_gethostent_r HAS_GETHOSTENT_R /**/
1484 #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
1486 /* HAS_GETHOST_PROTOS:
1487 * This symbol, if defined, indicates that <netdb.h> includes
1488 * prototypes for gethostent(), gethostbyname(), and
1489 * gethostbyaddr(). Otherwise, it is up to the program to guess
1490 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1492 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
1495 * This symbol, if defined, indicates that the getlogin_r routine
1496 * is available to getlogin re-entrantly.
1498 /* GETLOGIN_R_PROTO:
1499 * This symbol encodes the prototype of getlogin_r.
1500 * It is zero if d_getlogin_r is undef, and one of the
1501 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1504 #$d_getlogin_r HAS_GETLOGIN_R /**/
1505 #define GETLOGIN_R_PROTO $getlogin_r_proto /**/
1507 /* HAS_GETNETBYADDR:
1508 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1509 * available to look up networks by their IP addresses.
1511 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1513 /* HAS_GETNETBYNAME:
1514 * This symbol, if defined, indicates that the getnetbyname() routine is
1515 * available to look up networks by their names.
1517 #$d_getnbyname HAS_GETNETBYNAME /**/
1520 * This symbol, if defined, indicates that the getnetent() routine is
1521 * available to look up network names in some data base or another.
1523 #$d_getnent HAS_GETNETENT /**/
1525 /* HAS_GETNETBYADDR_R:
1526 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1527 * is available to getnetbyaddr re-entrantly.
1529 /* GETNETBYADDR_R_PROTO:
1530 * This symbol encodes the prototype of getnetbyaddr_r.
1531 * It is zero if d_getnetbyaddr_r is undef, and one of the
1532 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1535 #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
1536 #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
1538 /* HAS_GETNETBYNAME_R:
1539 * This symbol, if defined, indicates that the getnetbyname_r routine
1540 * is available to getnetbyname re-entrantly.
1542 /* GETNETBYNAME_R_PROTO:
1543 * This symbol encodes the prototype of getnetbyname_r.
1544 * It is zero if d_getnetbyname_r is undef, and one of the
1545 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1548 #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
1549 #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
1552 * This symbol, if defined, indicates that the getnetent_r routine
1553 * is available to getnetent re-entrantly.
1555 /* GETNETENT_R_PROTO:
1556 * This symbol encodes the prototype of getnetent_r.
1557 * It is zero if d_getnetent_r is undef, and one of the
1558 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1561 #$d_getnetent_r HAS_GETNETENT_R /**/
1562 #define GETNETENT_R_PROTO $getnetent_r_proto /**/
1564 /* HAS_GETNET_PROTOS:
1565 * This symbol, if defined, indicates that <netdb.h> includes
1566 * prototypes for getnetent(), getnetbyname(), and
1567 * getnetbyaddr(). Otherwise, it is up to the program to guess
1568 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1570 #$d_getnetprotos HAS_GETNET_PROTOS /**/
1573 * This symbol, if defined, indicates that the getprotoent() routine is
1574 * available to look up protocols in some data base or another.
1576 #$d_getpent HAS_GETPROTOENT /**/
1579 * This symbol, if defined, indicates that the getpgrp routine is
1580 * available to get the current process group.
1583 * This symbol, if defined, indicates that getpgrp needs one
1584 * arguments whereas USG one needs none.
1586 #$d_getpgrp HAS_GETPGRP /**/
1587 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1589 /* HAS_GETPROTOBYNAME:
1590 * This symbol, if defined, indicates that the getprotobyname()
1591 * routine is available to look up protocols by their name.
1593 /* HAS_GETPROTOBYNUMBER:
1594 * This symbol, if defined, indicates that the getprotobynumber()
1595 * routine is available to look up protocols by their number.
1597 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1598 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1600 /* HAS_GETPROTOBYNAME_R:
1601 * This symbol, if defined, indicates that the getprotobyname_r routine
1602 * is available to getprotobyname re-entrantly.
1604 /* GETPROTOBYNAME_R_PROTO:
1605 * This symbol encodes the prototype of getprotobyname_r.
1606 * It is zero if d_getprotobyname_r is undef, and one of the
1607 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1610 #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
1611 #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
1613 /* HAS_GETPROTOBYNUMBER_R:
1614 * This symbol, if defined, indicates that the getprotobynumber_r routine
1615 * is available to getprotobynumber re-entrantly.
1617 /* GETPROTOBYNUMBER_R_PROTO:
1618 * This symbol encodes the prototype of getprotobynumber_r.
1619 * It is zero if d_getprotobynumber_r is undef, and one of the
1620 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1623 #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
1624 #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
1626 /* HAS_GETPROTOENT_R:
1627 * This symbol, if defined, indicates that the getprotoent_r routine
1628 * is available to getprotoent re-entrantly.
1630 /* GETPROTOENT_R_PROTO:
1631 * This symbol encodes the prototype of getprotoent_r.
1632 * It is zero if d_getprotoent_r is undef, and one of the
1633 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1636 #$d_getprotoent_r HAS_GETPROTOENT_R /**/
1637 #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
1639 /* HAS_GETPROTO_PROTOS:
1640 * This symbol, if defined, indicates that <netdb.h> includes
1641 * prototypes for getprotoent(), getprotobyname(), and
1642 * getprotobyaddr(). Otherwise, it is up to the program to guess
1643 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1645 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1648 * This symbol, if defined, indicates that the getpwent routine is
1649 * available for sequential access of the passwd database.
1650 * If this is not available, the older getpw() function may be available.
1652 #$d_getpwent HAS_GETPWENT /**/
1655 * This symbol, if defined, indicates that the getpwent_r routine
1656 * is available to getpwent re-entrantly.
1658 /* GETPWENT_R_PROTO:
1659 * This symbol encodes the prototype of getpwent_r.
1660 * It is zero if d_getpwent_r is undef, and one of the
1661 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1664 #$d_getpwent_r HAS_GETPWENT_R /**/
1665 #define GETPWENT_R_PROTO $getpwent_r_proto /**/
1668 * This symbol, if defined, indicates that the getpwnam_r routine
1669 * is available to getpwnam re-entrantly.
1671 /* GETPWNAM_R_PROTO:
1672 * This symbol encodes the prototype of getpwnam_r.
1673 * It is zero if d_getpwnam_r is undef, and one of the
1674 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1677 #$d_getpwnam_r HAS_GETPWNAM_R /**/
1678 #define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
1681 * This symbol, if defined, indicates that the getpwuid_r routine
1682 * is available to getpwuid re-entrantly.
1684 /* GETPWUID_R_PROTO:
1685 * This symbol encodes the prototype of getpwuid_r.
1686 * It is zero if d_getpwuid_r is undef, and one of the
1687 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1690 #$d_getpwuid_r HAS_GETPWUID_R /**/
1691 #define GETPWUID_R_PROTO $getpwuid_r_proto /**/
1694 * This symbol, if defined, indicates that the getservent() routine is
1695 * available to look up network services in some data base or another.
1697 #$d_getsent HAS_GETSERVENT /**/
1699 /* HAS_GETSERVBYNAME_R:
1700 * This symbol, if defined, indicates that the getservbyname_r routine
1701 * is available to getservbyname re-entrantly.
1703 /* GETSERVBYNAME_R_PROTO:
1704 * This symbol encodes the prototype of getservbyname_r.
1705 * It is zero if d_getservbyname_r is undef, and one of the
1706 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1709 #$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
1710 #define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
1712 /* HAS_GETSERVBYPORT_R:
1713 * This symbol, if defined, indicates that the getservbyport_r routine
1714 * is available to getservbyport re-entrantly.
1716 /* GETSERVBYPORT_R_PROTO:
1717 * This symbol encodes the prototype of getservbyport_r.
1718 * It is zero if d_getservbyport_r is undef, and one of the
1719 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1722 #$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
1723 #define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
1725 /* HAS_GETSERVENT_R:
1726 * This symbol, if defined, indicates that the getservent_r routine
1727 * is available to getservent re-entrantly.
1729 /* GETSERVENT_R_PROTO:
1730 * This symbol encodes the prototype of getservent_r.
1731 * It is zero if d_getservent_r is undef, and one of the
1732 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1735 #$d_getservent_r HAS_GETSERVENT_R /**/
1736 #define GETSERVENT_R_PROTO $getservent_r_proto /**/
1738 /* HAS_GETSERV_PROTOS:
1739 * This symbol, if defined, indicates that <netdb.h> includes
1740 * prototypes for getservent(), getservbyname(), and
1741 * getservbyaddr(). Otherwise, it is up to the program to guess
1742 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1744 #$d_getservprotos HAS_GETSERV_PROTOS /**/
1747 * This symbol, if defined, indicates that the getspnam_r routine
1748 * is available to getspnam re-entrantly.
1750 /* GETSPNAM_R_PROTO:
1751 * This symbol encodes the prototype of getspnam_r.
1752 * It is zero if d_getspnam_r is undef, and one of the
1753 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1756 #$d_getspnam_r HAS_GETSPNAM_R /**/
1757 #define GETSPNAM_R_PROTO $getspnam_r_proto /**/
1759 /* HAS_GETSERVBYNAME:
1760 * This symbol, if defined, indicates that the getservbyname()
1761 * routine is available to look up services by their name.
1763 /* HAS_GETSERVBYPORT:
1764 * This symbol, if defined, indicates that the getservbyport()
1765 * routine is available to look up services by their port.
1767 #$d_getsbyname HAS_GETSERVBYNAME /**/
1768 #$d_getsbyport HAS_GETSERVBYPORT /**/
1771 * This symbol, if defined, indicates that the gmtime_r routine
1772 * is available to gmtime re-entrantly.
1775 * This symbol encodes the prototype of gmtime_r.
1776 * It is zero if d_gmtime_r is undef, and one of the
1777 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1780 #$d_gmtime_r HAS_GMTIME_R /**/
1781 #define GMTIME_R_PROTO $gmtime_r_proto /**/
1784 * This symbol, if defined, indicates that the htonl() routine (and
1785 * friends htons() ntohl() ntohs()) are available to do network
1786 * order byte swapping.
1789 * This symbol, if defined, indicates that the htons() routine (and
1790 * friends htonl() ntohl() ntohs()) are available to do network
1791 * order byte swapping.
1794 * This symbol, if defined, indicates that the ntohl() routine (and
1795 * friends htonl() htons() ntohs()) are available to do network
1796 * order byte swapping.
1799 * This symbol, if defined, indicates that the ntohs() routine (and
1800 * friends htonl() htons() ntohl()) are available to do network
1801 * order byte swapping.
1803 #$d_htonl HAS_HTONL /**/
1804 #$d_htonl HAS_HTONS /**/
1805 #$d_htonl HAS_NTOHL /**/
1806 #$d_htonl HAS_NTOHS /**/
1809 * This symbol, if defined, indicates that the localtime_r routine
1810 * is available to localtime re-entrantly.
1812 /* LOCALTIME_R_NEEDS_TZSET:
1813 * Many libc's localtime_r implementations do not call tzset,
1814 * making them differ from localtime(), and making timezone
1815 * changes using \$ENV{TZ} without explicitly calling tzset
1816 * impossible. This symbol makes us call tzset before localtime_r
1818 #$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
1819 #ifdef LOCALTIME_R_NEEDS_TZSET
1820 #define L_R_TZSET tzset(),
1825 /* LOCALTIME_R_PROTO:
1826 * This symbol encodes the prototype of localtime_r.
1827 * It is zero if d_localtime_r is undef, and one of the
1828 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1831 #$d_localtime_r HAS_LOCALTIME_R /**/
1832 #define LOCALTIME_R_PROTO $localtime_r_proto /**/
1835 * This symbol will be defined if the C compiler supports long
1839 * This symbol contains the size of a long double, so that the
1840 * C preprocessor can make decisions based on it. It is only
1841 * defined if the system supports long doubles.
1843 #$d_longdbl HAS_LONG_DOUBLE /**/
1844 #ifdef HAS_LONG_DOUBLE
1845 #define LONG_DOUBLESIZE $longdblsize /**/
1849 * This symbol will be defined if the C compiler supports long long.
1852 * This symbol contains the size of a long long, so that the
1853 * C preprocessor can make decisions based on it. It is only
1854 * defined if the system supports long long.
1856 #$d_longlong HAS_LONG_LONG /**/
1857 #ifdef HAS_LONG_LONG
1858 #define LONGLONGSIZE $longlongsize /**/
1862 * This symbol, if defined, indicates that the system provides
1863 * a prototype for the lseek() function. Otherwise, it is up
1864 * to the program to supply one. A good guess is
1865 * extern off_t lseek(int, off_t, int);
1867 #$d_lseekproto HAS_LSEEK_PROTO /**/
1870 * This symbol, if defined, indicates that the memchr routine is available
1871 * to locate characters within a C string.
1873 #$d_memchr HAS_MEMCHR /**/
1876 * This symbol, if defined, indicates that the mkstemp routine is
1877 * available to exclusively create and open a uniquely named
1880 #$d_mkstemp HAS_MKSTEMP /**/
1883 * This symbol, if defined, indicates that the mmap system call is
1884 * available to map a file into memory.
1887 * This symbol holds the return type of the mmap() system call
1888 * (and simultaneously the type of the first argument).
1889 * Usually set to 'void *' or 'caddr_t'.
1891 #$d_mmap HAS_MMAP /**/
1892 #define Mmap_t $mmaptype /**/
1895 * This symbol, if defined, indicates that the entire msg*(2) library is
1896 * supported (IPC mechanism based on message queues).
1898 #$d_msg HAS_MSG /**/
1900 /* OLD_PTHREAD_CREATE_JOINABLE:
1901 * This symbol, if defined, indicates how to create pthread
1902 * in joinable (aka undetached) state. NOTE: not defined
1903 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1904 * (the new version of the constant).
1905 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1908 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
1910 /* HAS_PTHREAD_ATFORK:
1911 * This symbol, if defined, indicates that the pthread_atfork routine
1912 * is available to setup fork handlers.
1914 #$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
1916 /* HAS_PTHREAD_YIELD:
1917 * This symbol, if defined, indicates that the pthread_yield
1918 * routine is available to yield the execution of the current
1919 * thread. sched_yield is preferable to pthread_yield.
1922 * This symbol defines the way to yield the execution of
1923 * the current thread. Known ways are sched_yield,
1924 * pthread_yield, and pthread_yield with NULL.
1927 * This symbol, if defined, indicates that the sched_yield
1928 * routine is available to yield the execution of the current
1929 * thread. sched_yield is preferable to pthread_yield.
1931 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
1932 #define SCHED_YIELD $sched_yield /**/
1933 #$d_sched_yield HAS_SCHED_YIELD /**/
1936 * This symbol, if defined, indicates that the random_r routine
1937 * is available to random re-entrantly.
1940 * This symbol encodes the prototype of random_r.
1941 * It is zero if d_random_r is undef, and one of the
1942 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1945 #$d_random_r HAS_RANDOM_R /**/
1946 #define RANDOM_R_PROTO $random_r_proto /**/
1949 * This symbol, if defined, indicates that the readdir64_r routine
1950 * is available to readdir64 re-entrantly.
1952 /* READDIR64_R_PROTO:
1953 * This symbol encodes the prototype of readdir64_r.
1954 * It is zero if d_readdir64_r is undef, and one of the
1955 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
1958 #$d_readdir64_r HAS_READDIR64_R /**/
1959 #define READDIR64_R_PROTO $readdir64_r_proto /**/
1962 * This symbol, if defined, indicates that the readdir_r routine
1963 * is available to readdir re-entrantly.
1966 * This symbol encodes the prototype of readdir_r.
1967 * It is zero if d_readdir_r is undef, and one of the
1968 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
1971 #$d_readdir_r HAS_READDIR_R /**/
1972 #define READDIR_R_PROTO $readdir_r_proto /**/
1975 * This symbol, if defined, indicates that the entire sem*(2) library is
1978 #$d_sem HAS_SEM /**/
1981 * This symbol, if defined, indicates that the setgrent routine is
1982 * available for initializing sequential access of the group database.
1984 #$d_setgrent HAS_SETGRENT /**/
1987 * This symbol, if defined, indicates that the setgrent_r routine
1988 * is available to setgrent re-entrantly.
1990 /* SETGRENT_R_PROTO:
1991 * This symbol encodes the prototype of setgrent_r.
1992 * It is zero if d_setgrent_r is undef, and one of the
1993 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
1996 #$d_setgrent_r HAS_SETGRENT_R /**/
1997 #define SETGRENT_R_PROTO $setgrent_r_proto /**/
2000 * This symbol, if defined, indicates that the sethostent() routine is
2003 #$d_sethent HAS_SETHOSTENT /**/
2005 /* HAS_SETHOSTENT_R:
2006 * This symbol, if defined, indicates that the sethostent_r routine
2007 * is available to sethostent re-entrantly.
2009 /* SETHOSTENT_R_PROTO:
2010 * This symbol encodes the prototype of sethostent_r.
2011 * It is zero if d_sethostent_r is undef, and one of the
2012 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
2015 #$d_sethostent_r HAS_SETHOSTENT_R /**/
2016 #define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
2019 * This symbol, if defined, indicates that the setlocale_r routine
2020 * is available to setlocale re-entrantly.
2022 /* SETLOCALE_R_PROTO:
2023 * This symbol encodes the prototype of setlocale_r.
2024 * It is zero if d_setlocale_r is undef, and one of the
2025 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
2028 #$d_setlocale_r HAS_SETLOCALE_R /**/
2029 #define SETLOCALE_R_PROTO $setlocale_r_proto /**/
2032 * This symbol, if defined, indicates that the setnetent() routine is
2035 #$d_setnent HAS_SETNETENT /**/
2038 * This symbol, if defined, indicates that the setnetent_r routine
2039 * is available to setnetent re-entrantly.
2041 /* SETNETENT_R_PROTO:
2042 * This symbol encodes the prototype of setnetent_r.
2043 * It is zero if d_setnetent_r is undef, and one of the
2044 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2047 #$d_setnetent_r HAS_SETNETENT_R /**/
2048 #define SETNETENT_R_PROTO $setnetent_r_proto /**/
2051 * This symbol, if defined, indicates that the setprotoent() routine is
2054 #$d_setpent HAS_SETPROTOENT /**/
2057 * This symbol, if defined, indicates that the setpgrp routine is
2058 * available to set the current process group.
2061 * This symbol, if defined, indicates that setpgrp needs two
2062 * arguments whereas USG one needs none. See also HAS_SETPGID
2063 * for a POSIX interface.
2065 #$d_setpgrp HAS_SETPGRP /**/
2066 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2068 /* HAS_SETPROTOENT_R:
2069 * This symbol, if defined, indicates that the setprotoent_r routine
2070 * is available to setprotoent re-entrantly.
2072 /* SETPROTOENT_R_PROTO:
2073 * This symbol encodes the prototype of setprotoent_r.
2074 * It is zero if d_setprotoent_r is undef, and one of the
2075 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2078 #$d_setprotoent_r HAS_SETPROTOENT_R /**/
2079 #define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
2082 * This symbol, if defined, indicates that the setpwent routine is
2083 * available for initializing sequential access of the passwd database.
2085 #$d_setpwent HAS_SETPWENT /**/
2088 * This symbol, if defined, indicates that the setpwent_r routine
2089 * is available to setpwent re-entrantly.
2091 /* SETPWENT_R_PROTO:
2092 * This symbol encodes the prototype of setpwent_r.
2093 * It is zero if d_setpwent_r is undef, and one of the
2094 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2097 #$d_setpwent_r HAS_SETPWENT_R /**/
2098 #define SETPWENT_R_PROTO $setpwent_r_proto /**/
2101 * This symbol, if defined, indicates that the setservent() routine is
2104 #$d_setsent HAS_SETSERVENT /**/
2106 /* HAS_SETSERVENT_R:
2107 * This symbol, if defined, indicates that the setservent_r routine
2108 * is available to setservent re-entrantly.
2110 /* SETSERVENT_R_PROTO:
2111 * This symbol encodes the prototype of setservent_r.
2112 * It is zero if d_setservent_r is undef, and one of the
2113 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2116 #$d_setservent_r HAS_SETSERVENT_R /**/
2117 #define SETSERVENT_R_PROTO $setservent_r_proto /**/
2120 * This symbol, if defined, indicates that the setvbuf routine is
2121 * available to change buffering on an open stdio stream.
2122 * to a line-buffered mode.
2124 #$d_setvbuf HAS_SETVBUF /**/
2127 * This symbol, if defined, indicates that the entire shm*(2) library is
2130 #$d_shm HAS_SHM /**/
2133 * This symbol holds the return type of the shmat() system call.
2134 * Usually set to 'void *' or 'char *'.
2136 /* HAS_SHMAT_PROTOTYPE:
2137 * This symbol, if defined, indicates that the sys/shm.h includes
2138 * a prototype for shmat(). Otherwise, it is up to the program to
2139 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2140 * but not always right so it should be emitted by the program only
2141 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2143 #define Shmat_t $shmattype /**/
2144 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2147 * This symbol, if defined, indicates that the BSD socket interface is
2151 * This symbol, if defined, indicates that the BSD socketpair() call is
2155 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2156 * Checking just with #ifdef might not be enough because this symbol
2157 * has been known to be an enum.
2159 /* HAS_MSG_DONTROUTE:
2160 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2161 * Checking just with #ifdef might not be enough because this symbol
2162 * has been known to be an enum.
2165 * This symbol, if defined, indicates that the MSG_OOB is supported.
2166 * Checking just with #ifdef might not be enough because this symbol
2167 * has been known to be an enum.
2170 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2171 * Checking just with #ifdef might not be enough because this symbol
2172 * has been known to be an enum.
2175 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2176 * Checking just with #ifdef might not be enough because this symbol
2177 * has been known to be an enum.
2180 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2181 * Checking just with #ifdef might not be enough because this symbol
2182 * has been known to be an enum.
2184 #$d_socket HAS_SOCKET /**/
2185 #$d_sockpair HAS_SOCKETPAIR /**/
2186 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2187 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2188 #$d_msg_oob HAS_MSG_OOB /**/
2189 #$d_msg_peek HAS_MSG_PEEK /**/
2190 #$d_msg_proxy HAS_MSG_PROXY /**/
2191 #$d_scm_rights HAS_SCM_RIGHTS /**/
2194 * This symbol, if defined, indicates that the srand48_r routine
2195 * is available to srand48 re-entrantly.
2198 * This symbol encodes the prototype of srand48_r.
2199 * It is zero if d_srand48_r is undef, and one of the
2200 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2203 #$d_srand48_r HAS_SRAND48_R /**/
2204 #define SRAND48_R_PROTO $srand48_r_proto /**/
2207 * This symbol, if defined, indicates that the srandom_r routine
2208 * is available to srandom re-entrantly.
2211 * This symbol encodes the prototype of srandom_r.
2212 * It is zero if d_srandom_r is undef, and one of the
2213 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2216 #$d_srandom_r HAS_SRANDOM_R /**/
2217 #define SRANDOM_R_PROTO $srandom_r_proto /**/
2220 * This symbol is defined if this system has a stat structure declaring
2221 * st_blksize and st_blocks.
2223 #ifndef USE_STAT_BLOCKS
2224 #$d_statblks USE_STAT_BLOCKS /**/
2228 * This symbol, if defined, indicates that this C compiler knows how
2229 * to copy structures. If undefined, you'll need to use a block copy
2230 * routine of some sort instead.
2232 #$d_strctcpy USE_STRUCT_COPY /**/
2235 * This symbol, if defined, indicates that the strerror routine is
2236 * available to translate error numbers to strings. See the writeup
2237 * of Strerror() in this file before you try to define your own.
2240 * This symbol, if defined, indicates that the sys_errlist array is
2241 * available to translate error numbers to strings. The extern int
2242 * sys_nerr gives the size of that table.
2245 * This preprocessor symbol is defined as a macro if strerror() is
2246 * not available to translate error numbers to strings but sys_errlist[]
2249 #$d_strerror HAS_STRERROR /**/
2250 #$d_syserrlst HAS_SYS_ERRLIST /**/
2251 #define Strerror(e) $d_strerrm
2254 * This symbol, if defined, indicates that the strerror_r routine
2255 * is available to strerror re-entrantly.
2257 /* STRERROR_R_PROTO:
2258 * This symbol encodes the prototype of strerror_r.
2259 * It is zero if d_strerror_r is undef, and one of the
2260 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2263 #$d_strerror_r HAS_STRERROR_R /**/
2264 #define STRERROR_R_PROTO $strerror_r_proto /**/
2267 * This symbol, if defined, indicates that the strtoul routine is
2268 * available to provide conversion of strings to unsigned long.
2270 #$d_strtoul HAS_STRTOUL /**/
2273 * This symbol, if defined, indicates that the time() routine exists.
2276 * This symbol holds the type returned by time(). It can be long,
2277 * or time_t on BSD sites (in which case <sys/types.h> should be
2280 #$d_time HAS_TIME /**/
2281 #define Time_t $timetype /* Time type */
2284 * This symbol, if defined, indicates that the times() routine exists.
2285 * Note that this became obsolete on some systems (SUNOS), which now
2286 * use getrusage(). It may be necessary to include <sys/times.h>.
2288 #$d_times HAS_TIMES /**/
2291 * This symbol, if defined, indicates that the tmpnam_r routine
2292 * is available to tmpnam re-entrantly.
2295 * This symbol encodes the prototype of tmpnam_r.
2296 * It is zero if d_tmpnam_r is undef, and one of the
2297 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2300 #$d_tmpnam_r HAS_TMPNAM_R /**/
2301 #define TMPNAM_R_PROTO $tmpnam_r_proto /**/
2304 * This symbol, if defined, indicates that the ttyname_r routine
2305 * is available to ttyname re-entrantly.
2308 * This symbol encodes the prototype of ttyname_r.
2309 * It is zero if d_ttyname_r is undef, and one of the
2310 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2313 #$d_ttyname_r HAS_TTYNAME_R /**/
2314 #define TTYNAME_R_PROTO $ttyname_r_proto /**/
2317 * This symbol, if defined, indicates that the union semun is
2318 * defined by including <sys/sem.h>. If not, the user code
2319 * probably needs to define it as:
2322 * struct semid_ds *buf;
2323 * unsigned short *array;
2326 /* USE_SEMCTL_SEMUN:
2327 * This symbol, if defined, indicates that union semun is
2328 * used for semctl IPC_STAT.
2330 /* USE_SEMCTL_SEMID_DS:
2331 * This symbol, if defined, indicates that struct semid_ds * is
2332 * used for semctl IPC_STAT.
2334 #$d_union_semun HAS_UNION_SEMUN /**/
2335 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2336 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2339 * This symbol, if defined, indicates that vfork() exists.
2341 #$d_vfork HAS_VFORK /**/
2344 * This symbol, if defined, indicates that an emulation of the
2345 * fork routine is available.
2347 #$d_pseudofork HAS_PSEUDOFORK /**/
2350 * This symbol's value is either "void" or "int", corresponding to the
2351 * appropriate return type of a signal handler. Thus, you can declare
2352 * a signal handler using "Signal_t (*handler)()", and define the
2353 * handler using "Signal_t handler(sig)".
2355 #define Signal_t $signal_t /* Signal handler's return type */
2358 * This symbol, if defined, indicates that this C compiler knows about
2359 * the volatile declaration.
2361 #$d_volatile HASVOLATILE /**/
2367 * This symbol holds the type used to declare file positions in libc.
2368 * It can be fpos_t, long, uint, etc... It may be necessary to include
2369 * <sys/types.h> to get any typedef'ed information.
2371 #define Fpos_t $fpostype /* File position type */
2374 * This symbol defines the format string used for printing a Gid_t.
2376 #define Gid_t_f $gidformat /**/
2379 * This symbol holds the signedess of a Gid_t.
2380 * 1 for unsigned, -1 for signed.
2382 #define Gid_t_sign $gidsign /* GID sign */
2385 * This symbol holds the size of a Gid_t in bytes.
2387 #define Gid_t_size $gidsize /* GID size */
2390 * This symbol holds the return type of getgid() and the type of
2391 * argument to setrgid() and related functions. Typically,
2392 * it is the type of group ids in the kernel. It can be int, ushort,
2393 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2394 * any typedef'ed information.
2396 #define Gid_t $gidtype /* Type for getgid(), etc... */
2399 * This symbol, if defined, indicates to the C program that it should
2400 * include <dirent.h>. Using this symbol also triggers the definition
2401 * of the Direntry_t define which ends up being 'struct dirent' or
2402 * 'struct direct' depending on the availability of <dirent.h>.
2405 * This symbol, if defined, indicates to the C program that the length
2406 * of directory entry names is provided by a d_namlen field. Otherwise
2407 * you need to do strlen() on the d_name field.
2410 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2411 * whether dirent is available or not. You should use this pseudo type to
2412 * portably declare your directory entries.
2414 #$i_dirent I_DIRENT /**/
2415 #$d_dirnamlen DIRNAMLEN /**/
2416 #define Direntry_t $direntrytype
2419 * This symbol, if defined, indicates to the C program that it should
2423 * This symbol, if defined, indicates to the C program that struct group
2424 * in <grp.h> contains gr_passwd.
2427 #$d_grpasswd GRPASSWD /**/
2430 * This symbol, if defined, indicates to the C program that it should
2431 * include <mach/cthreads.h>.
2433 #$i_machcthr I_MACH_CTHREADS /**/
2436 * This symbol, if defined, indicates that <ndbm.h> exists and should
2440 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2441 * be included. This was the location of the ndbm.h compatibility file
2445 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2446 * be included. This is the location of the ndbm.h compatibility file
2449 /* NDBM_H_USES_PROTOTYPES:
2450 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2451 * prototypes instead of K&R style function declarations without any
2452 * parameter information. While ANSI C prototypes are supported in C++,
2453 * K&R style function declarations will yield errors.
2455 /* GDBMNDBM_H_USES_PROTOTYPES:
2456 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2457 * prototypes instead of K&R style function declarations without any
2458 * parameter information. While ANSI C prototypes are supported in C++,
2459 * K&R style function declarations will yield errors.
2461 /* GDBM_NDBM_H_USES_PROTOTYPES:
2462 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2463 * prototypes instead of K&R style function declarations without any
2464 * parameter information. While ANSI C prototypes are supported in C++,
2465 * K&R style function declarations will yield errors.
2467 #$i_ndbm I_NDBM /**/
2468 #$i_gdbmndbm I_GDBMNDBM /**/
2469 #$i_gdbm_ndbm I_GDBM_NDBM /**/
2470 #$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
2471 #$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
2472 #$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
2475 * This symbol, if defined, indicates that <netdb.h> exists and
2476 * should be included.
2478 #$i_netdb I_NETDB /**/
2481 * This symbol, if defined, indicates that <net/errno.h> exists and
2482 * should be included.
2484 #$i_neterrno I_NET_ERRNO /**/
2487 * This symbol, if defined, indicates to the C program that it should
2488 * include <pthread.h>.
2490 #$i_pthread I_PTHREAD /**/
2493 * This symbol, if defined, indicates to the C program that it should
2497 * This symbol, if defined, indicates to the C program that struct passwd
2498 * contains pw_quota.
2501 * This symbol, if defined, indicates to the C program that struct passwd
2505 * This symbol, if defined, indicates to the C program that struct passwd
2506 * contains pw_change.
2509 * This symbol, if defined, indicates to the C program that struct passwd
2510 * contains pw_class.
2513 * This symbol, if defined, indicates to the C program that struct passwd
2514 * contains pw_expire.
2517 * This symbol, if defined, indicates to the C program that struct passwd
2518 * contains pw_comment.
2521 * This symbol, if defined, indicates to the C program that struct passwd
2522 * contains pw_gecos.
2525 * This symbol, if defined, indicates to the C program that struct passwd
2526 * contains pw_passwd.
2529 #$d_pwquota PWQUOTA /**/
2530 #$d_pwage PWAGE /**/
2531 #$d_pwchange PWCHANGE /**/
2532 #$d_pwclass PWCLASS /**/
2533 #$d_pwexpire PWEXPIRE /**/
2534 #$d_pwcomment PWCOMMENT /**/
2535 #$d_pwgecos PWGECOS /**/
2536 #$d_pwpasswd PWPASSWD /**/
2539 * This symbol, if defined, indicates to the C program that it should
2540 * include <sys/access.h>.
2542 #$i_sysaccess I_SYS_ACCESS /**/
2545 * This symbol, if defined, indicates to the C program that it should
2546 * include <sys/security.h>.
2548 #$i_syssecrt I_SYS_SECURITY /**/
2551 * This symbol, if defined, indicates that <sys/uio.h> exists and
2552 * should be included.
2554 #$i_sysuio I_SYSUIO /**/
2557 * This symbol, if defined, indicates that <stdarg.h> exists and should
2561 * This symbol, if defined, indicates to the C program that it should
2562 * include <varargs.h>.
2564 #$i_stdarg I_STDARG /**/
2565 #$i_varargs I_VARARGS /**/
2567 /* PERL_INC_VERSION_LIST:
2568 * This variable specifies the list of subdirectories in over
2569 * which perl.c:incpush() and lib/lib.pm will automatically
2570 * search when adding directories to @INC, in a format suitable
2571 * for a C initialization string. See the inc_version_list entry
2572 * in Porting/Glossary for more details.
2574 #$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
2576 /* INSTALL_USR_BIN_PERL:
2577 * This symbol, if defined, indicates that Perl is to be installed
2578 * also as /usr/bin/perl.
2580 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
2583 * This symbol holds the type used to declare offsets in the kernel.
2584 * It can be int, long, off_t, etc... It may be necessary to include
2585 * <sys/types.h> to get any typedef'ed information.
2588 * This symbol holds the number of bytes used by the Off_t.
2591 * This symbol holds the number of bytes used by the Off_t.
2593 #define Off_t $lseektype /* <offset> type */
2594 #define LSEEKSIZE $lseeksize /* <offset> size */
2595 #define Off_t_size $lseeksize /* <offset> size */
2598 * This variable contains the return type of free(). It is usually
2599 * void, but occasionally int.
2602 * This symbol is the type of pointer returned by malloc and realloc.
2604 #define Malloc_t $malloctype /**/
2605 #define Free_t $freetype /**/
2607 /* PERL_MALLOC_WRAP:
2608 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2610 #$usemallocwrap PERL_MALLOC_WRAP /**/
2613 * This symbol, if defined, indicates that we're using our own malloc.
2615 #$d_mymalloc MYMALLOC /**/
2618 * This symbol holds the type used to declare file modes
2619 * for systems calls. It is usually mode_t, but may be
2620 * int or unsigned short. It may be necessary to include <sys/types.h>
2621 * to get any typedef'ed information.
2623 #define Mode_t $modetype /* file mode parameter for system calls */
2626 * This symbol holds the type used for the 1st argument
2627 * to gethostbyaddr().
2630 * This symbol holds the type used for the 2nd argument
2631 * to gethostbyaddr().
2634 * This symbol holds the type used for the argument to
2638 * This symbol holds the type used for the 1st argument to
2641 #define Netdb_host_t $netdb_host_type /**/
2642 #define Netdb_hlen_t $netdb_hlen_type /**/
2643 #define Netdb_name_t $netdb_name_type /**/
2644 #define Netdb_net_t $netdb_net_type /**/
2646 /* PERL_OTHERLIBDIRS:
2647 * This variable contains a colon-separated set of paths for the perl
2648 * binary to search for additional library files or modules.
2649 * These directories will be tacked to the end of @INC.
2650 * Perl will automatically search below each path for version-
2651 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2654 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
2657 * This symbol holds the type used to declare process ids in the kernel.
2658 * It can be int, uint, pid_t, etc... It may be necessary to include
2659 * <sys/types.h> to get any typedef'ed information.
2661 #define Pid_t $pidtype /* PID type */
2664 * This symbol contains the name of the private library for this package.
2665 * The library is private in the sense that it needn't be in anyone's
2666 * execution path, but it should be accessible by the world. The program
2667 * should be prepared to do ~ expansion.
2670 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2671 * in programs that are not prepared to deal with ~ expansion at run-time.
2673 #define PRIVLIB "$privlib" /**/
2674 #define PRIVLIB_EXP "$privlibexp" /**/
2677 * If defined, this macro indicates that the C compiler can handle
2678 * function prototypes.
2681 * This macro is used to declare function parameters for folks who want
2682 * to make declarations with prototypes using a different style than
2683 * the above macros. Use double parentheses. For example:
2685 * int main _((int argc, char *argv[]));
2687 #$prototype CAN_PROTOTYPE /**/
2688 #ifdef CAN_PROTOTYPE
2689 #define _(args) args
2695 * This symbol holds the type used for the 2nd, 3rd, and 4th
2696 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2697 * is defined, and 'int *' otherwise. This is only useful if you
2698 * have select(), of course.
2700 #define Select_fd_set_t $selecttype /**/
2703 * This symbol contains the full pathname to the shell used on this
2704 * on this system to execute Bourne shell scripts. Usually, this will be
2705 * /bin/sh, though it's possible that some systems will have /bin/ksh,
2706 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
2709 #define SH_PATH "$sh" /**/
2712 * This symbol contains a list of signal names in order of
2713 * signal number. This is intended
2714 * to be used as a static array initialization, like this:
2715 * char *sig_name[] = { SIG_NAME };
2716 * The signals in the list are separated with commas, and each signal
2717 * is surrounded by double quotes. There is no leading SIG in the signal
2718 * name, i.e. SIGQUIT is known as "QUIT".
2719 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2720 * etc., where nn is the actual signal number (e.g. NUM37).
2721 * The signal number for sig_name[i] is stored in sig_num[i].
2722 * The last element is 0 to terminate the list with a NULL. This
2723 * corresponds to the 0 at the end of the sig_name_init list.
2724 * Note that this variable is initialized from the sig_name_init,
2725 * not from sig_name (which is unused).
2728 * This symbol contains a list of signal numbers, in the same order as the
2729 * SIG_NAME list. It is suitable for static array initialization, as in:
2730 * int sig_num[] = { SIG_NUM };
2731 * The signals in the list are separated with commas, and the indices
2732 * within that list and the SIG_NAME list match, so it's easy to compute
2733 * the signal name from a number or vice versa at the price of a small
2734 * dynamic linear lookup.
2735 * Duplicates are allowed, but are moved to the end of the list.
2736 * The signal number corresponding to sig_name[i] is sig_number[i].
2737 * if (i < NSIG) then sig_number[i] == i.
2738 * The last element is 0, corresponding to the 0 at the end of
2739 * the sig_name_init list.
2740 * Note that this variable is initialized from the sig_num_init,
2741 * not from sig_num (which is unused).
2744 * This variable contains the number of elements of the SIG_NAME
2745 * and SIG_NUM arrays, excluding the final NULL entry.
2747 #define SIG_NAME $sig_name_init /**/
2748 #define SIG_NUM $sig_num_init /**/
2749 #define SIG_SIZE $sig_size /**/
2752 * This symbol contains the name of the private library for this package.
2753 * The library is private in the sense that it needn't be in anyone's
2754 * execution path, but it should be accessible by the world. The program
2755 * should be prepared to do ~ expansion.
2756 * The standard distribution will put nothing in this directory.
2757 * After perl has been installed, users may install their own local
2758 * architecture-dependent modules in this directory with
2759 * MakeMaker Makefile.PL
2760 * or equivalent. See INSTALL for details.
2763 * This symbol contains the ~name expanded version of SITEARCH, to be used
2764 * in programs that are not prepared to deal with ~ expansion at run-time.
2766 #$d_sitearch SITEARCH "$sitearch" /**/
2767 #$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
2770 * This symbol contains the name of the private library for this package.
2771 * The library is private in the sense that it needn't be in anyone's
2772 * execution path, but it should be accessible by the world. The program
2773 * should be prepared to do ~ expansion.
2774 * The standard distribution will put nothing in this directory.
2775 * After perl has been installed, users may install their own local
2776 * architecture-independent modules in this directory with
2777 * MakeMaker Makefile.PL
2778 * or equivalent. See INSTALL for details.
2781 * This symbol contains the ~name expanded version of SITELIB, to be used
2782 * in programs that are not prepared to deal with ~ expansion at run-time.
2785 * This define is SITELIB_EXP with any trailing version-specific component
2786 * removed. The elements in inc_version_list (inc_version_list.U) can
2787 * be tacked onto this variable to generate a list of directories to search.
2789 #define SITELIB "$sitelib" /**/
2790 #define SITELIB_EXP "$sitelibexp" /**/
2791 #define SITELIB_STEM "$sitelib_stem" /**/
2794 * This symbol holds the size of a Size_t in bytes.
2796 #define Size_t_size $sizesize /* */
2799 * This symbol holds the type used to declare length parameters
2800 * for string functions. It is usually size_t, but may be
2801 * unsigned long, int, etc. It may be necessary to include
2802 * <sys/types.h> to get any typedef'ed information.
2804 #define Size_t $sizetype /* length paramater for string functions */
2807 * This symbol holds the type used for the size argument of
2808 * various socket calls (just the base type, not the pointer-to).
2810 #define Sock_size_t $socksizetype /**/
2813 * This symbol is defined to be the type of char used in stdio.h.
2814 * It has the values "unsigned char" or "char".
2816 #define STDCHAR $stdchar /**/
2819 * This symbol defines the format string used for printing a Uid_t.
2821 #define Uid_t_f $uidformat /**/
2824 * This symbol holds the signedess of a Uid_t.
2825 * 1 for unsigned, -1 for signed.
2827 #define Uid_t_sign $uidsign /* UID sign */
2830 * This symbol holds the size of a Uid_t in bytes.
2832 #define Uid_t_size $uidsize /* UID size */
2835 * This symbol holds the type used to declare user ids in the kernel.
2836 * It can be int, ushort, uid_t, etc... It may be necessary to include
2837 * <sys/types.h> to get any typedef'ed information.
2839 #define Uid_t $uidtype /* UID type */
2842 * This symbol, if defined, indicates that Perl should be built to
2843 * use the interpreter-based threading implementation.
2846 * This symbol, if defined, indicates that Perl should be built to
2847 * use the 5.005-based threading implementation.
2848 * Only valid up to 5.8.x.
2850 /* OLD_PTHREADS_API:
2851 * This symbol, if defined, indicates that Perl should
2852 * be built to use the old draft POSIX threads API.
2854 /* USE_REENTRANT_API:
2855 * This symbol, if defined, indicates that Perl should
2856 * try to use the various _r versions of library functions.
2857 * This is extremely experimental.
2859 #$use5005threads USE_5005THREADS /**/
2860 #$useithreads USE_ITHREADS /**/
2861 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2862 #define USE_THREADS /* until src is revised*/
2864 #$d_oldpthreads OLD_PTHREADS_API /**/
2865 #$usereentrant USE_REENTRANT_API /**/
2868 * If defined, this symbol contains the name of a private library.
2869 * The library is private in the sense that it needn't be in anyone's
2870 * execution path, but it should be accessible by the world.
2871 * It may have a ~ on the front.
2872 * The standard distribution will put nothing in this directory.
2873 * Vendors who distribute perl may wish to place their own
2874 * architecture-dependent modules and extensions in this directory with
2875 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2876 * or equivalent. See INSTALL for details.
2878 /* PERL_VENDORARCH_EXP:
2879 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2880 * in programs that are not prepared to deal with ~ expansion at run-time.
2882 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
2883 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
2885 /* PERL_VENDORLIB_EXP:
2886 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2887 * in programs that are not prepared to deal with ~ expansion at run-time.
2889 /* PERL_VENDORLIB_STEM:
2890 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2891 * removed. The elements in inc_version_list (inc_version_list.U) can
2892 * be tacked onto this variable to generate a list of directories to search.
2894 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
2895 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
2898 * This symbol indicates how much support of the void type is given by this
2899 * compiler. What various bits mean:
2901 * 1 = supports declaration of void
2902 * 2 = supports arrays of pointers to functions returning void
2903 * 4 = supports comparisons between pointers to void functions and
2904 * addresses of void functions
2905 * 8 = suports declaration of generic void pointers
2907 * The package designer should define VOIDUSED to indicate the requirements
2908 * of the package. This can be done either by #defining VOIDUSED before
2909 * including config.h, or by defining defvoidused in Myinit.U. If the
2910 * latter approach is taken, only those flags will be tested. If the
2911 * level of void support necessary is not present, defines void to int.
2914 #define VOIDUSED $defvoidused
2916 #define VOIDFLAGS $voidflags
2917 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2918 #define void int /* is void to be avoided? */
2919 #define M_VOID /* Xenix strikes again */
2922 /* USE_CROSS_COMPILE:
2923 * This symbol, if defined, indicates that Perl is being cross-compiled.
2926 * This symbol, if defined, indicates the target architecture
2927 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2929 #ifndef USE_CROSS_COMPILE
2930 #$usecrosscompile USE_CROSS_COMPILE /**/
2931 #define PERL_TARGETARCH "$targetarch" /**/
2935 * This symbol contains the number of bytes required to align a
2936 * double, or a long double when applicable. Usual values are 2,
2937 * 4 and 8. The default is eight, for safety.
2939 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2940 # define MEM_ALIGNBYTES 8
2942 #define MEM_ALIGNBYTES $alignbytes
2946 * This symbol holds the hexadecimal constant defined in byteorder,
2947 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
2948 * If the compiler supports cross-compiling or multiple-architecture
2949 * binaries (eg. on NeXT systems), use compiler-defined macros to
2950 * determine the byte order.
2951 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
2952 * Binaries (MAB) on either big endian or little endian machines.
2953 * The endian-ness is available at compile-time. This only matters
2954 * for perl, where the config.h can be generated and installed on
2955 * one system, and used by a different architecture to build an
2956 * extension. Older versions of NeXT that might not have
2957 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
2958 * so the default case (for NeXT) is big endian to catch them.
2959 * This might matter for NeXT 3.0.
2961 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2962 # ifdef __LITTLE_ENDIAN__
2964 # define BYTEORDER 0x1234
2967 # define BYTEORDER 0x12345678
2971 # ifdef __BIG_ENDIAN__
2973 # define BYTEORDER 0x4321
2976 # define BYTEORDER 0x87654321
2981 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
2982 # define BYTEORDER 0x4321
2985 #define BYTEORDER 0x$byteorder /* large digits for MSB */
2989 * This symbol contains the size of a char, so that the C preprocessor
2990 * can make decisions based on it.
2992 #define CHARBITS $charbits /**/
2995 * This symbol is defined if the C compiler can cast negative
2996 * or large floating point numbers to 32-bit ints.
2998 #$d_casti32 CASTI32 /**/
3001 * This symbol is defined if the C compiler can cast negative
3002 * numbers to unsigned longs, ints and shorts.
3005 * This symbol contains flags that say what difficulties the compiler
3006 * has casting odd floating values to unsigned long:
3008 * 1 = couldn't cast < 0
3009 * 2 = couldn't cast >= 0x80000000
3010 * 4 = couldn't cast in argument expression list
3012 #$d_castneg CASTNEGFLOAT /**/
3013 #define CASTFLAGS $castflags /**/
3016 * This symbol, if defined, indicates that the closedir() routine
3017 * does not return a value.
3019 #$d_void_closedir VOID_CLOSEDIR /**/
3022 * This symbol, when defined, indicates presence of the fd_set typedef
3025 #$d_fd_set HAS_FD_SET /**/
3028 * This preprocessor macro is defined to convert a floating point
3029 * number to a string without a trailing decimal point. This
3030 * emulates the behavior of sprintf("%g"), but is sometimes much more
3031 * efficient. If gconvert() is not available, but gcvt() drops the
3032 * trailing decimal point, then gcvt() is used. If all else fails,
3033 * a macro using sprintf("%g") is used. Arguments for the Gconvert
3034 * macro are: value, number of digits, whether trailing zeros should
3035 * be retained, and the output buffer.
3036 * The usual values are:
3037 * d_Gconvert='gconvert((x),(n),(t),(b))'
3038 * d_Gconvert='gcvt((x),(n),(b))'
3039 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
3040 * The last two assume trailing zeros should not be kept.
3042 #define Gconvert(x,n,t,b) $d_Gconvert
3045 * This symbol, if defined, indicates that the getpagesize system call
3046 * is available to get system page size, which is the granularity of
3047 * many memory management calls.
3049 #$d_getpagsz HAS_GETPAGESIZE /**/
3052 * This symbol, if defined, indicates to the C program that
3053 * the GNU C library is being used. A better check is to use
3054 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
3056 #$d_gnulibc HAS_GNULIBC /**/
3057 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
3058 # define _GNU_SOURCE
3062 * This manifest constant lets the C program know that isascii
3065 #$d_isascii HAS_ISASCII /**/
3068 * This symbol, if defined, indicates that the lchown routine is
3069 * available to operate on a symbolic link (instead of following the
3072 #$d_lchown HAS_LCHOWN /**/
3075 * This manifest constant lets the C program know that the three
3076 * argument form of open(2) is available.
3078 #$d_open3 HAS_OPEN3 /**/
3081 * This symbol, if defined, indicates that the bcopy routine is available
3082 * to copy potentially overlapping memory blocks. Normally, you should
3083 * probably use memmove() or memcpy(). If neither is defined, roll your
3086 #$d_safebcpy HAS_SAFE_BCOPY /**/
3089 * This symbol, if defined, indicates that the memcpy routine is available
3090 * to copy potentially overlapping memory blocks. If you need to
3091 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
3092 * use memmove() instead, if available.
3094 #$d_safemcpy HAS_SAFE_MEMCPY /**/
3097 * This symbol, if defined, indicates that the memcmp routine is available
3098 * and can be used to compare relative magnitudes of chars with their high
3099 * bits set. If it is not defined, roll your own version.
3101 #$d_sanemcmp HAS_SANE_MEMCMP /**/
3104 * This symbol, if defined, indicates that Vr4's sigaction() routine
3107 #$d_sigaction HAS_SIGACTION /**/
3110 * This variable indicates to the C program that the sigsetjmp()
3111 * routine is available to save the calling process's registers
3112 * and stack environment for later use by siglongjmp(), and
3113 * to optionally save the process's signal mask. See
3114 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
3117 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
3120 * This macro is used in the same way as sigsetjmp(), but will invoke
3121 * traditional setjmp() if sigsetjmp isn't available.
3122 * See HAS_SIGSETJMP.
3125 * This macro is used in the same way as siglongjmp(), but will invoke
3126 * traditional longjmp() if siglongjmp isn't available.
3127 * See HAS_SIGSETJMP.
3129 #$d_sigsetjmp HAS_SIGSETJMP /**/
3130 #ifdef HAS_SIGSETJMP
3131 #define Sigjmp_buf sigjmp_buf
3132 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
3133 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
3135 #define Sigjmp_buf jmp_buf
3136 #define Sigsetjmp(buf,save_mask) setjmp((buf))
3137 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
3141 * This symbol is defined if the _ptr and _cnt fields (or similar)
3142 * of the stdio FILE structure can be used to access the stdio buffer
3143 * for a file handle. If this is defined, then the FILE_ptr(fp)
3144 * and FILE_cnt(fp) macros will also be defined and should be used
3145 * to access these fields.
3148 * This macro is used to access the _ptr field (or equivalent) of the
3149 * FILE structure pointed to by its argument. This macro will always be
3150 * defined if USE_STDIO_PTR is defined.
3152 /* STDIO_PTR_LVALUE:
3153 * This symbol is defined if the FILE_ptr macro can be used as an
3157 * This macro is used to access the _cnt field (or equivalent) of the
3158 * FILE structure pointed to by its argument. This macro will always be
3159 * defined if USE_STDIO_PTR is defined.
3161 /* STDIO_CNT_LVALUE:
3162 * This symbol is defined if the FILE_cnt macro can be used as an
3165 /* STDIO_PTR_LVAL_SETS_CNT:
3166 * This symbol is defined if using the FILE_ptr macro as an lvalue
3167 * to increase the pointer by n has the side effect of decreasing the
3168 * value of File_cnt(fp) by n.
3170 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
3171 * This symbol is defined if using the FILE_ptr macro as an lvalue
3172 * to increase the pointer by n leaves File_cnt(fp) unchanged.
3174 #$d_stdstdio USE_STDIO_PTR /**/
3175 #ifdef USE_STDIO_PTR
3176 #define FILE_ptr(fp) $stdio_ptr
3177 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
3178 #define FILE_cnt(fp) $stdio_cnt
3179 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
3180 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
3181 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
3185 * This symbol is defined if the _base field (or similar) of the
3186 * stdio FILE structure can be used to access the stdio buffer for
3187 * a file handle. If this is defined, then the FILE_base(fp) macro
3188 * will also be defined and should be used to access this field.
3189 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
3190 * to determine the number of bytes in the buffer. USE_STDIO_BASE
3191 * will never be defined unless USE_STDIO_PTR is.
3194 * This macro is used to access the _base field (or equivalent) of the
3195 * FILE structure pointed to by its argument. This macro will always be
3196 * defined if USE_STDIO_BASE is defined.
3199 * This macro is used to determine the number of bytes in the I/O
3200 * buffer pointed to by _base field (or equivalent) of the FILE
3201 * structure pointed to its argument. This macro will always be defined
3202 * if USE_STDIO_BASE is defined.
3204 #$d_stdiobase USE_STDIO_BASE /**/
3205 #ifdef USE_STDIO_BASE
3206 #define FILE_base(fp) $stdio_base
3207 #define FILE_bufsiz(fp) $stdio_bufsiz
3211 * This symbol, if defined, indicates that the vprintf routine is available
3212 * to printf with a pointer to an argument list. If unavailable, you
3213 * may need to write your own, probably in terms of _doprnt().
3215 /* USE_CHAR_VSPRINTF:
3216 * This symbol is defined if this system has vsprintf() returning type
3217 * (char*). The trend seems to be to declare it as "int vsprintf()". It
3218 * is up to the package author to declare vsprintf correctly based on the
3221 #$d_vprintf HAS_VPRINTF /**/
3222 #$d_charvspr USE_CHAR_VSPRINTF /**/
3225 * This symbol contains the size of a double, so that the C preprocessor
3226 * can make decisions based on it.
3228 #define DOUBLESIZE $doublesize /**/
3231 * This symbol, if defined, indicates to the C program that it should
3235 * This symbol, if defined, indicates to the C program that it should
3236 * include <sys/time.h>.
3238 /* I_SYS_TIME_KERNEL:
3239 * This symbol, if defined, indicates to the C program that it should
3240 * include <sys/time.h> with KERNEL defined.
3243 * This symbol, if defined, indicates to the C program that
3244 * the struct tm has a tm_zone field.
3246 /* HAS_TM_TM_GMTOFF:
3247 * This symbol, if defined, indicates to the C program that
3248 * the struct tm has a tm_gmtoff field.
3250 #$i_time I_TIME /**/
3251 #$i_systime I_SYS_TIME /**/
3252 #$i_systimek I_SYS_TIME_KERNEL /**/
3253 #$d_tm_tm_zone HAS_TM_TM_ZONE /**/
3254 #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
3257 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3258 * non-blocking I/O for the file descriptor. Note that there is no way
3259 * back, i.e. you cannot turn it blocking again this way. If you wish to
3260 * alternatively switch between blocking and non-blocking, use the
3261 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3264 * This symbol holds the errno error code set by read() when no data was
3265 * present on the non-blocking file descriptor.
3268 * This symbol holds the return code from read() when no data is present
3269 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3270 * not defined, then you can't distinguish between no data and EOF by
3271 * issuing a read(). You'll have to find another way to tell for sure!
3274 * This symbol, if defined, indicates to the C program that a read() on
3275 * a non-blocking file descriptor will return 0 on EOF, and not the value
3276 * held in RD_NODATA (-1 usually, in that case!).
3278 #define VAL_O_NONBLOCK $o_nonblock
3279 #define VAL_EAGAIN $eagain
3280 #define RD_NODATA $rd_nodata
3281 #$d_eofnblk EOF_NONBLOCK
3284 * This symbol contains the size of a pointer, so that the C preprocessor
3285 * can make decisions based on it. It will be sizeof(void *) if
3286 * the compiler supports (void *); otherwise it will be
3289 #define PTRSIZE $ptrsize /**/
3292 * This macro is to be used to generate uniformly distributed
3293 * random numbers over the range [0., 1.[. You may have to supply
3294 * an 'extern double drand48();' in your program since SunOS 4.1.3
3295 * doesn't provide you with anything relevant in its headers.
3296 * See HAS_DRAND48_PROTO.
3299 * This symbol defines the type of the argument of the
3300 * random seed function.
3303 * This symbol defines the macro to be used in seeding the
3304 * random number generator (see Drand01).
3307 * This symbol indicates how many bits are produced by the
3308 * function used to generate normalized random numbers.
3309 * Values include 15, 16, 31, and 48.
3311 #define Drand01() $drand01 /**/
3312 #define Rand_seed_t $randseedtype /**/
3313 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3314 #define RANDBITS $randbits /**/
3317 * This symbol holds the type used by functions that return
3318 * a count of bytes or an error condition. It must be a signed type.
3319 * It is usually ssize_t, but may be long or int, etc.
3320 * It may be necessary to include <sys/types.h> or <unistd.h>
3321 * to get any typedef'ed information.
3322 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3324 #define SSize_t $ssizetype /* signed count of bytes */
3327 * This symbol, if defined, indicates that this system uses
3330 #$ebcdic EBCDIC /**/
3333 * This symbol, if defined, indicates that Perl was configured with
3334 * -Dusedevel, to enable development features. This should not be
3335 * done for production builds.
3337 #$usedevel PERL_USE_DEVEL /**/
3340 * This symbol, if defined, indicates that the atolf routine is
3341 * available to convert strings into long doubles.
3343 #$d_atolf HAS_ATOLF /**/
3346 * This symbol, if defined, indicates that the atoll routine is
3347 * available to convert strings into long longs.
3349 #$d_atoll HAS_ATOLL /**/
3352 * This symbol, if defined, indicates that the _fwalk system call is
3353 * available to apply a function to all the file handles.
3355 #$d__fwalk HAS__FWALK /**/
3358 * This symbol, if defined, indicates that the aintl routine is
3359 * available. If copysignl is also present we can emulate modfl.
3361 #$d_aintl HAS_AINTL /**/
3363 /* HAS_BUILTIN_CHOOSE_EXPR:
3364 * Can we handle GCC builtin for compile-time ternary-like expressions
3366 /* HAS_BUILTIN_EXPECT:
3367 * Can we handle GCC builtin for telling that certain values are more
3370 #$d_builtin_expect HAS_BUILTIN_EXPECT /**/
3371 #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
3373 /* HAS_C99_VARIADIC_MACROS:
3374 * If defined, the compiler supports C99 variadic macros.
3376 #$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
3379 * This symbol, if defined, indicates that the class routine is
3380 * available to classify doubles. Available for example in AIX.
3381 * The returned values are defined in <float.h> and are:
3383 * FP_PLUS_NORM Positive normalized, nonzero
3384 * FP_MINUS_NORM Negative normalized, nonzero
3385 * FP_PLUS_DENORM Positive denormalized, nonzero
3386 * FP_MINUS_DENORM Negative denormalized, nonzero
3388 * FP_MINUS_ZERO -0.0
3391 * FP_NANS Signaling Not a Number (NaNS)
3392 * FP_NANQ Quiet Not a Number (NaNQ)
3394 #$d_class HAS_CLASS /**/
3397 * This symbol, if defined, indicates that the clearenv () routine is
3398 * available for use.
3400 #$d_clearenv HAS_CLEARENV /**/
3402 /* HAS_STRUCT_CMSGHDR:
3403 * This symbol, if defined, indicates that the struct cmsghdr
3406 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
3409 * This symbol, if defined, indicates that the copysignl routine is
3410 * available. If aintl is also present we can emulate modfl.
3412 #$d_copysignl HAS_COPYSIGNL /**/
3415 * This symbol, if defined, indicates that a C++ compiler was
3416 * used to compiled Perl and will be used to compile extensions.
3418 #$d_cplusplus USE_CPLUSPLUS /**/
3420 /* HAS_DBMINIT_PROTO:
3421 * This symbol, if defined, indicates that the system provides
3422 * a prototype for the dbminit() function. Otherwise, it is up
3423 * to the program to supply one. A good guess is
3424 * extern int dbminit(char *);
3426 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
3429 * This symbol, if defined, indicates that the the DIR* dirstream
3430 * structure contains a member variable named dd_fd.
3432 #$d_dir_dd_fd HAS_DIR_DD_FD /**/
3435 * This manifest constant lets the C program know that dirfd
3438 #$d_dirfd HAS_DIRFD /**/
3440 /* DLSYM_NEEDS_UNDERSCORE:
3441 * This symbol, if defined, indicates that we need to prepend an
3442 * underscore to the symbol name before calling dlsym(). This only
3443 * makes sense if you *have* dlsym, which we will presume is the
3444 * case if you're using dl_dlopen.xs.
3446 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
3449 * This symbol, if defined, indicates that the "fast stdio"
3450 * is available to manipulate the stdio buffers directly.
3452 #$d_faststdio HAS_FAST_STDIO /**/
3455 * This symbol, if defined, indicates that the fchdir routine is
3456 * available to change directory using a file descriptor.
3458 #$d_fchdir HAS_FCHDIR /**/
3461 * This symbol, if defined, indicates that fcntl() can be used
3462 * for file locking. Normally on Unix systems this is defined.
3463 * It may be undefined on VMS.
3465 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
3468 * This symbol, if defined, indicates that the finite routine is
3469 * available to check whether a double is finite (non-infinity non-NaN).
3471 #$d_finite HAS_FINITE /**/
3474 * This symbol, if defined, indicates that the finitel routine is
3475 * available to check whether a long double is finite
3476 * (non-infinity non-NaN).
3478 #$d_finitel HAS_FINITEL /**/
3481 * This symbol, if defined, indicates that the system provides
3482 * a prototype for the flock() function. Otherwise, it is up
3483 * to the program to supply one. A good guess is
3484 * extern int flock(int, int);
3486 #$d_flockproto HAS_FLOCK_PROTO /**/
3489 * This symbol, if defined, indicates that the fp_class routine is
3490 * available to classify doubles. Available for example in Digital UNIX.
3491 * The returned values are defined in <math.h> and are:
3493 * FP_SNAN Signaling NaN (Not-a-Number)
3494 * FP_QNAN Quiet NaN (Not-a-Number)
3495 * FP_POS_INF +infinity
3496 * FP_NEG_INF -infinity
3497 * FP_POS_NORM Positive normalized
3498 * FP_NEG_NORM Negative normalized
3499 * FP_POS_DENORM Positive denormalized
3500 * FP_NEG_DENORM Negative denormalized
3501 * FP_POS_ZERO +0.0 (positive zero)
3502 * FP_NEG_ZERO -0.0 (negative zero)
3504 #$d_fp_class HAS_FP_CLASS /**/
3507 * This symbol, if defined, indicates that the fpclass routine is
3508 * available to classify doubles. Available for example in Solaris/SVR4.
3509 * The returned values are defined in <ieeefp.h> and are:
3511 * FP_SNAN signaling NaN
3513 * FP_NINF negative infinity
3514 * FP_PINF positive infinity
3515 * FP_NDENORM negative denormalized non-zero
3516 * FP_PDENORM positive denormalized non-zero
3517 * FP_NZERO negative zero
3518 * FP_PZERO positive zero
3519 * FP_NNORM negative normalized non-zero
3520 * FP_PNORM positive normalized non-zero
3522 #$d_fpclass HAS_FPCLASS /**/
3525 * This symbol, if defined, indicates that the fpclassify routine is
3526 * available to classify doubles. Available for example in HP-UX.
3527 * The returned values are defined in <math.h> and are
3529 * FP_NORMAL Normalized
3531 * FP_INFINITE Infinity
3532 * FP_SUBNORMAL Denormalized
3536 #$d_fpclassify HAS_FPCLASSIFY /**/
3539 * This symbol, if defined, indicates that the fpclassl routine is
3540 * available to classify long doubles. Available for example in IRIX.
3541 * The returned values are defined in <ieeefp.h> and are:
3543 * FP_SNAN signaling NaN
3545 * FP_NINF negative infinity
3546 * FP_PINF positive infinity
3547 * FP_NDENORM negative denormalized non-zero
3548 * FP_PDENORM positive denormalized non-zero
3549 * FP_NZERO negative zero
3550 * FP_PZERO positive zero
3551 * FP_NNORM negative normalized non-zero
3552 * FP_PNORM positive normalized non-zero
3554 #$d_fpclassl HAS_FPCLASSL /**/
3557 * This symbol will be defined if the C compiler supports fpos64_t.
3559 #$d_fpos64_t HAS_FPOS64_T /**/
3562 * This symbol, if defined, indicates that the frexpl routine is
3563 * available to break a long double floating-point number into
3564 * a normalized fraction and an integral power of 2.
3566 #$d_frexpl HAS_FREXPL /**/
3568 /* HAS_STRUCT_FS_DATA:
3569 * This symbol, if defined, indicates that the struct fs_data
3570 * to do statfs() is supported.
3572 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
3575 * This symbol, if defined, indicates that the fseeko routine is
3576 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3578 #$d_fseeko HAS_FSEEKO /**/
3581 * This symbol, if defined, indicates that the fstatfs routine is
3582 * available to stat filesystems by file descriptors.
3584 #$d_fstatfs HAS_FSTATFS /**/
3587 * This symbol, if defined, indicates that the fsync routine is
3588 * available to write a file's modified data and attributes to
3589 * permanent storage.
3591 #$d_fsync HAS_FSYNC /**/
3594 * This symbol, if defined, indicates that the ftello routine is
3595 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3597 #$d_ftello HAS_FTELLO /**/
3600 * This symbol, if defined, indicates that the futimes routine is
3601 * available to change file descriptor time stamps with struct timevals.
3603 #$d_futimes HAS_FUTIMES /**/
3606 * This symbol, if defined, indicates that the getaddrinfo() function
3607 * is available for use.
3609 #$d_getaddrinfo HAS_GETADDRINFO /**/
3612 * This symbol, if defined, indicates that the getcwd routine is
3613 * available to get the current working directory.
3615 #$d_getcwd HAS_GETCWD /**/
3618 * This symbol, if defined, indicates that the getespwnam system call is
3619 * available to retrieve enchanced (shadow) password entries by name.
3621 #$d_getespwnam HAS_GETESPWNAM /**/
3624 * This symbol, if defined, indicates that the getfsstat routine is
3625 * available to stat filesystems in bulk.
3627 #$d_getfsstat HAS_GETFSSTAT /**/
3630 * This symbol, if defined, indicates that the getitimer routine is
3631 * available to return interval timers.
3633 #$d_getitimer HAS_GETITIMER /**/
3636 * This symbol, if defined, indicates that the getmnt routine is
3637 * available to get filesystem mount info by filename.
3639 #$d_getmnt HAS_GETMNT /**/
3642 * This symbol, if defined, indicates that the getmntent routine is
3643 * available to iterate through mounted file systems to get their info.
3645 #$d_getmntent HAS_GETMNTENT /**/
3648 * This symbol, if defined, indicates that the getnameinfo() function
3649 * is available for use.
3651 #$d_getnameinfo HAS_GETNAMEINFO /**/
3654 * This symbol, if defined, indicates that the getprpwnam system call is
3655 * available to retrieve protected (shadow) password entries by name.
3657 #$d_getprpwnam HAS_GETPRPWNAM /**/
3660 * This symbol, if defined, indicates that the getspnam system call is
3661 * available to retrieve SysV shadow password entries by name.
3663 #$d_getspnam HAS_GETSPNAM /**/
3666 * This symbol, if defined, indicates that the hasmntopt routine is
3667 * available to query the mount options of file systems.
3669 #$d_hasmntopt HAS_HASMNTOPT /**/
3672 * This symbol, if defined, indicates that the ilogbl routine is
3673 * available. If scalbnl is also present we can emulate frexpl.
3675 #$d_ilogbl HAS_ILOGBL /**/
3678 * This symbol, if defined, indicates that the inet_ntop() function
3679 * is available to parse IPv4 and IPv6 strings.
3681 #$d_inetntop HAS_INETNTOP /**/
3684 * This symbol, if defined, indicates that the inet_pton() function
3685 * is available to parse IPv4 and IPv6 strings.
3687 #$d_inetpton HAS_INETPTON /**/
3690 * This symbol will defined if the C compiler supports int64_t.
3691 * Usually the <inttypes.h> needs to be included, but sometimes
3692 * <sys/types.h> is enough.
3694 #$d_int64_t HAS_INT64_T /**/
3697 * This symbol, if defined, indicates that the isfinite routine is
3698 * available to check whether a double is finite (non-infinity non-NaN).
3700 #$d_isfinite HAS_ISFINITE /**/
3703 * This symbol, if defined, indicates that the isinf routine is
3704 * available to check whether a double is an infinity.
3706 #$d_isinf HAS_ISINF /**/
3709 * This symbol, if defined, indicates that the isnan routine is
3710 * available to check whether a double is a NaN.
3712 #$d_isnan HAS_ISNAN /**/
3715 * This symbol, if defined, indicates that the isnanl routine is
3716 * available to check whether a long double is a NaN.
3718 #$d_isnanl HAS_ISNANL /**/
3721 * This symbol, if defined, indicates that this system's <float.h>
3722 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3723 * of significant digits in a long double precision number. Unlike
3724 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3726 #$d_ldbl_dig HAS_LDBL_DIG /* */
3728 /* LIBM_LIB_VERSION:
3729 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3730 * and that math.h defines the enum to manipulate it.
3732 #$d_libm_lib_version LIBM_LIB_VERSION /**/
3735 * This symbol, if defined, indicates that the madvise system call is
3736 * available to map a file into memory.
3738 #$d_madvise HAS_MADVISE /**/
3741 * This symbol, if defined, indicates that the malloc_size
3742 * routine is available for use.
3744 #$d_malloc_size HAS_MALLOC_SIZE /**/
3746 /* HAS_MALLOC_GOOD_SIZE:
3747 * This symbol, if defined, indicates that the malloc_good_size
3748 * routine is available for use.
3750 #$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3753 * This symbol, if defined, indicates that the mkdtemp routine is
3754 * available to exclusively create a uniquely named temporary directory.
3756 #$d_mkdtemp HAS_MKDTEMP /**/
3759 * This symbol, if defined, indicates that the mkstemps routine is
3760 * available to excluslvely create and open a uniquely named
3761 * (with a suffix) temporary file.
3763 #$d_mkstemps HAS_MKSTEMPS /**/
3766 * This symbol, if defined, indicates that the modfl routine is
3767 * available to split a long double x into a fractional part f and
3768 * an integer part i such that |f| < 1.0 and (f + i) = x.
3771 * This symbol, if defined, indicates that the system provides
3772 * a prototype for the modfl() function. Otherwise, it is up
3773 * to the program to supply one.
3775 /* HAS_MODFL_POW32_BUG:
3776 * This symbol, if defined, indicates that the modfl routine is
3777 * broken for long doubles >= pow(2, 32).
3778 * For example from 4294967303.150000 one would get 4294967302.000000
3779 * and 1.150000. The bug has been seen in certain versions of glibc,
3780 * release 2.2.2 is known to be okay.
3782 #$d_modfl HAS_MODFL /**/
3783 #$d_modflproto HAS_MODFL_PROTO /**/
3784 #$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
3787 * This symbol, if defined, indicates that the mprotect system call is
3788 * available to modify the access protection of a memory mapped file.
3790 #$d_mprotect HAS_MPROTECT /**/
3792 /* HAS_STRUCT_MSGHDR:
3793 * This symbol, if defined, indicates that the struct msghdr
3796 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3799 * This symbol, if defined, indicates that the nl_langinfo routine is
3800 * available to return local data. You will also need <langinfo.h>
3801 * and therefore I_LANGINFO.
3803 #$d_nl_langinfo HAS_NL_LANGINFO /**/
3806 * This symbol will be defined if the C compiler supports off64_t.
3808 #$d_off64_t HAS_OFF64_T /**/
3811 * This symbol, if defined, indicates that the prctl routine is
3812 * available to set process title.
3814 /* HAS_PRCTL_SET_NAME:
3815 * This symbol, if defined, indicates that the prctl routine is
3816 * available to set process title and supports PR_SET_NAME.
3818 #$d_prctl HAS_PRCTL /**/
3819 #$d_prctl_set_name HAS_PRCTL_SET_NAME /**/
3822 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3823 * to the absolute pathname of the executing program.
3825 /* PROCSELFEXE_PATH:
3826 * If HAS_PROCSELFEXE is defined this symbol is the filename
3827 * of the symbolic link pointing to the absolute pathname of
3828 * the executing program.
3830 #$d_procselfexe HAS_PROCSELFEXE /**/
3831 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3832 #define PROCSELFEXE_PATH $procselfexe /**/
3835 /* HAS_PTHREAD_ATTR_SETSCOPE:
3836 * This symbol, if defined, indicates that the pthread_attr_setscope
3837 * system call is available to set the contention scope attribute of
3838 * a thread attribute object.
3840 #$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3843 * This symbol, if defined, indicates that the readv routine is
3844 * available to do gather reads. You will also need <sys/uio.h>
3845 * and there I_SYSUIO.
3847 #$d_readv HAS_READV /**/
3850 * This symbol, if defined, indicates that the recvmsg routine is
3851 * available to send structured socket messages.
3853 #$d_recvmsg HAS_RECVMSG /**/
3856 * This symbol, if defined, indicates that the system provides
3857 * a prototype for the sbrk() function. Otherwise, it is up
3858 * to the program to supply one. Good guesses are
3859 * extern void* sbrk(int);
3860 * extern void* sbrk(size_t);
3862 #$d_sbrkproto HAS_SBRK_PROTO /**/
3865 * This symbol, if defined, indicates that the scalbnl routine is
3866 * available. If ilogbl is also present we can emulate frexpl.
3868 #$d_scalbnl HAS_SCALBNL /**/
3871 * This symbol, if defined, indicates that the sendmsg routine is
3872 * available to send structured socket messages.
3874 #$d_sendmsg HAS_SENDMSG /**/
3877 * This symbol, if defined, indicates that the setitimer routine is
3878 * available to set interval timers.
3880 #$d_setitimer HAS_SETITIMER /**/
3882 /* HAS_SETPROCTITLE:
3883 * This symbol, if defined, indicates that the setproctitle routine is
3884 * available to set process title.
3886 #$d_setproctitle HAS_SETPROCTITLE /**/
3889 * This symbol, if defined, indicates that sfio should
3892 #$d_sfio USE_SFIO /**/
3895 * This symbol, if defined, indicates that the signbit routine is
3896 * available to check if the given number has the sign bit set.
3897 * This should include correct testing of -0.0. This will only be set
3898 * if the signbit() routine is safe to use with the NV type used internally
3899 * in perl. Users should call Perl_signbit(), which will be #defined to
3900 * the system's signbit() function or macro if this symbol is defined.
3902 #$d_signbit HAS_SIGNBIT /**/
3905 * This symbol, if defined, indicates that the sigprocmask
3906 * system call is available to examine or change the signal mask
3907 * of the calling process.
3909 #$d_sigprocmask HAS_SIGPROCMASK /**/
3911 /* USE_SITECUSTOMIZE:
3912 * This symbol, if defined, indicates that sitecustomize should
3915 #ifndef USE_SITECUSTOMIZE
3916 #$usesitecustomize USE_SITECUSTOMIZE /**/
3920 * This symbol, if defined, indicates that the snprintf () library
3921 * function is available for use.
3924 * This symbol, if defined, indicates that the vsnprintf () library
3925 * function is available for use.
3927 #$d_snprintf HAS_SNPRINTF /**/
3928 #$d_vsnprintf HAS_VSNPRINTF /**/
3931 * This symbol, if defined, indicates that the sockatmark routine is
3932 * available to test whether a socket is at the out-of-band mark.
3934 #$d_sockatmark HAS_SOCKATMARK /**/
3936 /* HAS_SOCKATMARK_PROTO:
3937 * This symbol, if defined, indicates that the system provides
3938 * a prototype for the sockatmark() function. Otherwise, it is up
3939 * to the program to supply one. A good guess is
3940 * extern int sockatmark(int);
3942 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3945 * This symbol, if defined, indicates that the socks5_init routine is
3946 * available to initialize SOCKS 5.
3948 #$d_socks5_init HAS_SOCKS5_INIT /**/
3950 /* SPRINTF_RETURNS_STRLEN:
3951 * This variable defines whether sprintf returns the length of the string
3952 * (as per the ANSI spec). Some C libraries retain compatibility with
3953 * pre-ANSI C and return a pointer to the passed in buffer; for these
3954 * this variable will be undef.
3956 #$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
3959 * This symbol, if defined, indicates that the sqrtl routine is
3960 * available to do long double square roots.
3962 #$d_sqrtl HAS_SQRTL /**/
3964 /* HAS_SETRESGID_PROTO:
3965 * This symbol, if defined, indicates that the system provides
3966 * a prototype for the setresgid() function. Otherwise, it is up
3967 * to the program to supply one. Good guesses are
3968 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3970 #$d_sresgproto HAS_SETRESGID_PROTO /**/
3972 /* HAS_SETRESUID_PROTO:
3973 * This symbol, if defined, indicates that the system provides
3974 * a prototype for the setresuid() function. Otherwise, it is up
3975 * to the program to supply one. Good guesses are
3976 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3978 #$d_sresuproto HAS_SETRESUID_PROTO /**/
3980 /* HAS_STRUCT_STATFS_F_FLAGS:
3981 * This symbol, if defined, indicates that the struct statfs
3982 * does have the f_flags member containing the mount flags of
3983 * the filesystem containing the file.
3984 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3985 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3986 * have statfs() and struct statfs, they have ustat() and getmnt()
3987 * with struct ustat and struct fs_data.
3989 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
3991 /* HAS_STRUCT_STATFS:
3992 * This symbol, if defined, indicates that the struct statfs
3993 * to do statfs() is supported.
3995 #$d_statfs_s HAS_STRUCT_STATFS /**/
3998 * This symbol, if defined, indicates that the fstatvfs routine is
3999 * available to stat filesystems by file descriptors.
4001 #$d_fstatvfs HAS_FSTATVFS /**/
4004 * This symbol, if defined, indicates that the strftime routine is
4005 * available to do time formatting.
4007 #$d_strftime HAS_STRFTIME /**/
4010 * This symbol, if defined, indicates that the strlcat () routine is
4011 * available to do string concatenation.
4013 #$d_strlcat HAS_STRLCAT /**/
4016 * This symbol, if defined, indicates that the strlcpy () routine is
4017 * available to do string copying.
4019 #$d_strlcpy HAS_STRLCPY /**/
4022 * This symbol, if defined, indicates that the strtold routine is
4023 * available to convert strings to long doubles.
4025 #$d_strtold HAS_STRTOLD /**/
4028 * This symbol, if defined, indicates that the strtoll routine is
4029 * available to convert strings to long longs.
4031 #$d_strtoll HAS_STRTOLL /**/
4034 * This symbol, if defined, indicates that the strtoq routine is
4035 * available to convert strings to long longs (quads).
4037 #$d_strtoq HAS_STRTOQ /**/
4040 * This symbol, if defined, indicates that the strtoull routine is
4041 * available to convert strings to unsigned long longs.
4043 #$d_strtoull HAS_STRTOULL /**/
4046 * This symbol, if defined, indicates that the strtouq routine is
4047 * available to convert strings to unsigned long longs (quads).
4049 #$d_strtouq HAS_STRTOUQ /**/
4051 /* HAS_SYSCALL_PROTO:
4052 * This symbol, if defined, indicates that the system provides
4053 * a prototype for the syscall() function. Otherwise, it is up
4054 * to the program to supply one. Good guesses are
4055 * extern int syscall(int, ...);
4056 * extern int syscall(long, ...);
4058 #$d_syscallproto HAS_SYSCALL_PROTO /**/
4060 /* HAS_TELLDIR_PROTO:
4061 * This symbol, if defined, indicates that the system provides
4062 * a prototype for the telldir() function. Otherwise, it is up
4063 * to the program to supply one. A good guess is
4064 * extern long telldir(DIR*);
4066 #$d_telldirproto HAS_TELLDIR_PROTO /**/
4069 * This symbol, if defined, indicates that the ctime64 () routine is
4070 * available to do the 64bit variant of ctime ()
4073 * This symbol, if defined, indicates that the localtime64 () routine is
4074 * available to do the 64bit variant of localtime ()
4077 * This symbol, if defined, indicates that the gmtime64 () routine is
4078 * available to do the 64bit variant of gmtime ()
4081 * This symbol, if defined, indicates that the mktime64 () routine is
4082 * available to do the 64bit variant of mktime ()
4085 * This symbol, if defined, indicates that the difftime64 () routine is
4086 * available to do the 64bit variant of difftime ()
4089 * This symbol, if defined, indicates that the asctime64 () routine is
4090 * available to do the 64bit variant of asctime ()
4092 #$d_ctime64 HAS_CTIME64 /**/
4093 #$d_localtime64 HAS_LOCALTIME64 /**/
4094 #$d_gmtime64 HAS_GMTIME64 /**/
4095 #$d_mktime64 HAS_MKTIME64 /**/
4096 #$d_difftime64 HAS_DIFFTIME64 /**/
4097 #$d_asctime64 HAS_ASCTIME64 /**/
4100 * This symbol, if defined, indicates that the timegm routine is
4101 * available to do the opposite of gmtime ()
4103 #$d_timegm HAS_TIMEGM /**/
4105 /* U32_ALIGNMENT_REQUIRED:
4106 * This symbol, if defined, indicates that you must access
4107 * character data through U32-aligned pointers.
4109 #ifndef U32_ALIGNMENT_REQUIRED
4110 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
4114 * This symbol, if defined, indicates that the ualarm routine is
4115 * available to do alarms with microsecond granularity.
4117 #$d_ualarm HAS_UALARM /**/
4120 * This symbol, if defined, indicates that the unordered routine is
4121 * available to check whether two doubles are unordered
4122 * (effectively: whether either of them is NaN)
4124 #$d_unordered HAS_UNORDERED /**/
4127 * This symbol, if defined, indicates that the unsetenv () routine is
4128 * available for use.
4130 #$d_unsetenv HAS_UNSETENV /**/
4132 /* HAS_USLEEP_PROTO:
4133 * This symbol, if defined, indicates that the system provides
4134 * a prototype for the usleep() function. Otherwise, it is up
4135 * to the program to supply one. A good guess is
4136 * extern int usleep(useconds_t);
4138 #$d_usleepproto HAS_USLEEP_PROTO /**/
4141 * This symbol, if defined, indicates that the ustat system call is
4142 * available to query file system statistics by dev_t.
4144 #$d_ustat HAS_USTAT /**/
4147 * This symbol, if defined, indicates that the writev routine is
4148 * available to do scatter writes.
4150 #$d_writev HAS_WRITEV /**/
4152 /* USE_DYNAMIC_LOADING:
4153 * This symbol, if defined, indicates that dynamic loading of
4154 * some sort is available.
4156 #$usedl USE_DYNAMIC_LOADING /**/
4159 * This symbol, if defined, tells that fflush(NULL) does flush
4160 * all pending stdio output.
4163 * This symbol, if defined, tells that to flush
4164 * all pending stdio output one must loop through all
4165 * the stdio file handles stored in an array and fflush them.
4166 * Note that if fflushNULL is defined, fflushall will not
4167 * even be probed for and will be left undefined.
4169 #$fflushNULL FFLUSH_NULL /**/
4170 #$fflushall FFLUSH_ALL /**/
4173 * This symbol, if defined, indicates that <assert.h> exists and
4174 * could be included by the C program to get the assert() macro.
4176 #$i_assert I_ASSERT /**/
4179 * This symbol, if defined, indicates that <crypt.h> exists and
4180 * should be included.
4182 #$i_crypt I_CRYPT /**/
4185 * This symbol contains the type of the prefix structure element
4186 * in the <db.h> header file. In older versions of DB, it was
4187 * int, while in newer ones it is u_int32_t.
4190 * This symbol contains the type of the prefix structure element
4191 * in the <db.h> header file. In older versions of DB, it was
4192 * int, while in newer ones it is size_t.
4194 /* DB_VERSION_MAJOR_CFG:
4195 * This symbol, if defined, defines the major version number of
4196 * Berkeley DB found in the <db.h> header when Perl was configured.
4198 /* DB_VERSION_MINOR_CFG:
4199 * This symbol, if defined, defines the minor version number of
4200 * Berkeley DB found in the <db.h> header when Perl was configured.
4201 * For DB version 1 this is always 0.
4203 /* DB_VERSION_PATCH_CFG:
4204 * This symbol, if defined, defines the patch version number of
4205 * Berkeley DB found in the <db.h> header when Perl was configured.
4206 * For DB version 1 this is always 0.
4208 #define DB_Hash_t $db_hashtype /**/
4209 #define DB_Prefix_t $db_prefixtype /**/
4210 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
4211 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
4212 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
4215 * This symbol, if defined, indicates that <fp.h> exists and
4216 * should be included.
4221 * This symbol, if defined, indicates that <fp_class.h> exists and
4222 * should be included.
4224 #$i_fp_class I_FP_CLASS /**/
4227 * This symbol, if defined, indicates that <ieeefp.h> exists and
4228 * should be included.
4230 #$i_ieeefp I_IEEEFP /**/
4233 * This symbol, if defined, indicates to the C program that it should
4234 * include <inttypes.h>.
4236 #$i_inttypes I_INTTYPES /**/
4239 * This symbol, if defined, indicates that <langinfo.h> exists and
4240 * should be included.
4242 #$i_langinfo I_LANGINFO /**/
4245 * This symbol, if defined, indicates that <libutil.h> exists and
4246 * should be included.
4248 #$i_libutil I_LIBUTIL /**/
4251 * This symbol, if defined, indicates to the C program that it should
4252 * include <malloc/malloc.h>.
4254 #$i_mallocmalloc I_MALLOCMALLOC /**/
4257 * This symbol, if defined, indicates that <mntent.h> exists and
4258 * should be included.
4260 #$i_mntent I_MNTENT /**/
4263 * This symbol, if defined, indicates to the C program that it should
4264 * include <netinet/tcp.h>.
4266 #$i_netinettcp I_NETINET_TCP /**/
4269 * This symbol, if defined, indicates that <poll.h> exists and
4270 * should be included. (see also HAS_POLL)
4272 #$i_poll I_POLL /**/
4275 * This symbol, if defined, indicates that <prot.h> exists and
4276 * should be included.
4278 #$i_prot I_PROT /**/
4281 * This symbol, if defined, indicates that <shadow.h> exists and
4282 * should be included.
4284 #$i_shadow I_SHADOW /**/
4287 * This symbol, if defined, indicates that <socks.h> exists and
4288 * should be included.
4290 #$i_socks I_SOCKS /**/
4293 * This symbol, if defined, indicates that <sunmath.h> exists and
4294 * should be included.
4296 #$i_sunmath I_SUNMATH /**/
4299 * This symbol, if defined, indicates that <syslog.h> exists and
4300 * should be included.
4302 #$i_syslog I_SYSLOG /**/
4305 * This symbol, if defined, indicates that <sys/mode.h> exists and
4306 * should be included.
4308 #$i_sysmode I_SYSMODE /**/
4311 * This symbol, if defined, indicates that <sys/mount.h> exists and
4312 * should be included.
4314 #$i_sysmount I_SYS_MOUNT /**/
4317 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4319 #$i_sysstatfs I_SYS_STATFS /**/
4322 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4323 * should be included.
4325 #$i_sysstatvfs I_SYS_STATVFS /**/
4328 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4329 * should be included.
4331 #$i_sysutsname I_SYSUTSNAME /**/
4334 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4335 * should be included.
4337 #$i_sysvfs I_SYS_VFS /**/
4340 * This symbol, if defined, indicates that <ustat.h> exists and
4341 * should be included.
4343 #$i_ustat I_USTAT /**/
4346 * This symbol, if defined, contains the string used by stdio to
4347 * format long doubles (format 'f') for output.
4350 * This symbol, if defined, contains the string used by stdio to
4351 * format long doubles (format 'g') for output.
4354 * This symbol, if defined, contains the string used by stdio to
4355 * format long doubles (format 'e') for output.
4358 * This symbol, if defined, contains the string used by stdio to
4359 * format long doubles (format 'f') for input.
4361 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
4362 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
4363 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
4364 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
4367 * This symbol, if defined, indicates that the Misc Attribution
4368 * Declaration code should be conditionally compiled.
4373 * This symbol, if defined, indicates that the system stores
4374 * the variable argument list datatype, va_list, in a format
4375 * that cannot be copied by simple assignment, so that some
4376 * other means must be used when copying is required.
4377 * As such systems vary in their provision (or non-provision)
4378 * of copying mechanisms, handy.h defines a platform-
4379 * independent macro, Perl_va_copy(src, dst), to do the job.
4381 #$need_va_copy NEED_VA_COPY /**/
4384 * This symbol defines the C type used for Perl's IV.
4387 * This symbol defines the C type used for Perl's UV.
4390 * This symbol defines the C type used for Perl's I8.
4393 * This symbol defines the C type used for Perl's U8.
4396 * This symbol defines the C type used for Perl's I16.
4399 * This symbol defines the C type used for Perl's U16.
4402 * This symbol defines the C type used for Perl's I32.
4405 * This symbol defines the C type used for Perl's U32.
4408 * This symbol defines the C type used for Perl's I64.
4411 * This symbol defines the C type used for Perl's U64.
4414 * This symbol defines the C type used for Perl's NV.
4417 * This symbol contains the sizeof(IV).
4420 * This symbol contains the sizeof(UV).
4423 * This symbol contains the sizeof(I8).
4426 * This symbol contains the sizeof(U8).
4429 * This symbol contains the sizeof(I16).
4432 * This symbol contains the sizeof(U16).
4435 * This symbol contains the sizeof(I32).
4438 * This symbol contains the sizeof(U32).
4441 * This symbol contains the sizeof(I64).
4444 * This symbol contains the sizeof(U64).
4447 * This symbol contains the sizeof(NV).
4450 * This symbol, if defined, indicates that a variable of type NVTYPE
4451 * can preserve all the bits of a variable of type UVTYPE.
4453 /* NV_PRESERVES_UV_BITS:
4454 * This symbol contains the number of bits a variable of type NVTYPE
4455 * can preserve of a variable of type UVTYPE.
4457 /* NV_OVERFLOWS_INTEGERS_AT:
4458 * This symbol gives the largest integer value that NVs can hold. This
4459 * value + 1.0 cannot be stored accurately. It is expressed as constant
4460 * floating point expression to reduce the chance of decimale/binary
4461 * conversion issues. If it can not be determined, the value 0 is given.
4463 /* NV_ZERO_IS_ALLBITS_ZERO:
4464 * This symbol, if defined, indicates that a variable of type NVTYPE
4465 * stores 0.0 in memory as all bits zero.
4467 #define IVTYPE $ivtype /**/
4468 #define UVTYPE $uvtype /**/
4469 #define I8TYPE $i8type /**/
4470 #define U8TYPE $u8type /**/
4471 #define I16TYPE $i16type /**/
4472 #define U16TYPE $u16type /**/
4473 #define I32TYPE $i32type /**/
4474 #define U32TYPE $u32type /**/
4476 #define I64TYPE $i64type /**/
4477 #define U64TYPE $u64type /**/
4479 #define NVTYPE $nvtype /**/
4480 #define IVSIZE $ivsize /**/
4481 #define UVSIZE $uvsize /**/
4482 #define I8SIZE $i8size /**/
4483 #define U8SIZE $u8size /**/
4484 #define I16SIZE $i16size /**/
4485 #define U16SIZE $u16size /**/
4486 #define I32SIZE $i32size /**/
4487 #define U32SIZE $u32size /**/
4489 #define I64SIZE $i64size /**/
4490 #define U64SIZE $u64size /**/
4492 #define NVSIZE $nvsize /**/
4493 #$d_nv_preserves_uv NV_PRESERVES_UV
4494 #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4495 #define NV_OVERFLOWS_INTEGERS_AT $nv_overflows_integers_at
4496 #$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4499 # if BYTEORDER == 0x1234
4501 # define BYTEORDER 0x12345678
4503 # if BYTEORDER == 0x4321
4505 # define BYTEORDER 0x87654321
4512 * This symbol defines the format string used for printing a Perl IV
4513 * as a signed decimal integer.
4516 * This symbol defines the format string used for printing a Perl UV
4517 * as an unsigned decimal integer.
4520 * This symbol defines the format string used for printing a Perl UV
4521 * as an unsigned octal integer.
4524 * This symbol defines the format string used for printing a Perl UV
4525 * as an unsigned hexadecimal integer in lowercase abcdef.
4528 * This symbol defines the format string used for printing a Perl UV
4529 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4532 * This symbol defines the format string used for printing a Perl NV
4533 * using %e-ish floating point format.
4536 * This symbol defines the format string used for printing a Perl NV
4537 * using %f-ish floating point format.
4540 * This symbol defines the format string used for printing a Perl NV
4541 * using %g-ish floating point format.
4543 #define IVdf $ivdformat /**/
4544 #define UVuf $uvuformat /**/
4545 #define UVof $uvoformat /**/
4546 #define UVxf $uvxformat /**/
4547 #define UVXf $uvXUformat /**/
4548 #define NVef $nveformat /**/
4549 #define NVff $nvfformat /**/
4550 #define NVgf $nvgformat /**/
4553 * This symbol holds the minimum number of bits operated by select.
4554 * That is, if you do select(n, ...), how many bits at least will be
4555 * cleared in the masks if some activity is detected. Usually this
4556 * is either n or 32*ceil(n/32), especially many little-endians do
4557 * the latter. This is only useful if you have select(), naturally.
4559 #define SELECT_MIN_BITS $selectminbits /**/
4562 * This variable contains the string to put in front of a perl
4563 * script to make sure (one hopes) that it runs with perl and not
4566 #define STARTPERL "$startperl" /**/
4568 /* HAS_STDIO_STREAM_ARRAY:
4569 * This symbol, if defined, tells that there is an array
4570 * holding the stdio streams.
4572 /* STDIO_STREAM_ARRAY:
4573 * This symbol tells the name of the array holding the stdio streams.
4574 * Usual values include _iob, __iob, and __sF.
4576 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4577 #ifdef HAS_STDIO_STREAM_ARRAY
4578 #define STDIO_STREAM_ARRAY $stdio_stream_array
4582 * This symbol contains the maximum value for the time_t offset that
4583 * the system function gmtime () accepts, and defaults to 0
4586 * This symbol contains the minimum value for the time_t offset that
4587 * the system function gmtime () accepts, and defaults to 0
4590 * This symbol contains the maximum value for the time_t offset that
4591 * the system function localtime () accepts, and defaults to 0
4594 * This symbol contains the minimum value for the time_t offset that
4595 * the system function localtime () accepts, and defaults to 0
4597 #define GMTIME_MAX $sGMTIME_max /**/
4598 #define GMTIME_MIN $sGMTIME_min /**/
4599 #define LOCALTIME_MAX $sLOCALTIME_max /**/
4600 #define LOCALTIME_MIN $sLOCALTIME_min /**/
4603 * This symbol, if defined, indicates that 64-bit integers should
4604 * be used when available. If not defined, the native integers
4605 * will be employed (be they 32 or 64 bits). The minimal possible
4606 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4607 * This may mean using for example "long longs", while your memory
4608 * may still be limited to 2 gigabytes.
4611 * This symbol, if defined, indicates that 64-bit integers should
4612 * be used when available. If not defined, the native integers
4613 * will be used (be they 32 or 64 bits). The maximal possible
4614 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4615 * be able to use more than 2 gigabytes of memory. This mode is
4616 * even more binary incompatible than USE_64_BIT_INT. You may not
4617 * be able to run the resulting executable in a 32-bit CPU at all or
4618 * you may need at least to reboot your OS to 64-bit mode.
4620 #ifndef USE_64_BIT_INT
4621 #$use64bitint USE_64_BIT_INT /**/
4623 #ifndef USE_64_BIT_ALL
4624 #$use64bitall USE_64_BIT_ALL /**/
4628 * This symbol, if defined, indicates that Perl should
4629 * be built with support for DTrace.
4631 #$usedtrace USE_DTRACE /**/
4634 * This symbol, if defined, indicates that Perl should
4635 * be built to use 'fast stdio'.
4636 * Defaults to define in Perls 5.8 and earlier, to undef later.
4638 #ifndef USE_FAST_STDIO
4639 #$usefaststdio USE_FAST_STDIO /**/
4643 * This symbol, if defined, indicates that large file support
4644 * should be used when available.
4646 #ifndef USE_LARGE_FILES
4647 #$uselargefiles USE_LARGE_FILES /**/
4651 * This symbol, if defined, indicates that long doubles should
4652 * be used when available.
4654 #ifndef USE_LONG_DOUBLE
4655 #$uselongdouble USE_LONG_DOUBLE /**/
4659 * This symbol, if defined, indicates that 64-bit interfaces and
4660 * long doubles should be used when available.
4662 #ifndef USE_MORE_BITS
4663 #$usemorebits USE_MORE_BITS /**/
4667 * This symbol, if defined, indicates that Perl should
4668 * be built to use multiplicity.
4670 #ifndef MULTIPLICITY
4671 #$usemultiplicity MULTIPLICITY /**/
4675 * This symbol, if defined, indicates that the PerlIO abstraction should
4676 * be used throughout. If not defined, stdio should be
4677 * used in a fully backward compatible manner.
4680 #$useperlio USE_PERLIO /**/
4684 * This symbol, if defined, indicates that Perl should
4685 * be built to use socks.
4688 #$usesocks USE_SOCKS /**/