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!'
34 /* This file was produced by running the config_h.SH script, which
35 * gets its values from $CONFIG_SH, which is generally produced by
38 * Feel free to modify any of this as the need arises. Note, however,
39 * that running config_h.SH again will wipe out any changes you've made.
40 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
43 /* Package name : $package
44 * Source directory : $src
45 * Configuration time: $cf_time
46 * Configured by : $cf_by
47 * Target system : $myuname
54 * This symbol holds the complete pathname to the sed program.
56 #define LOC_SED "$full_sed" /**/
59 * This symbol, if defined, indicates that the alarm routine is
62 #$d_alarm HAS_ALARM /**/
65 * This symbol is defined if the bcmp() routine is available to
66 * compare blocks of memory.
68 #$d_bcmp HAS_BCMP /**/
71 * This symbol is defined if the bcopy() routine is available to
72 * copy blocks of memory.
74 #$d_bcopy HAS_BCOPY /**/
77 * This symbol is defined if the bzero() routine is available to
78 * set a memory block to 0.
80 #$d_bzero HAS_BZERO /**/
83 * This symbol, if defined, indicates that the chown routine is
86 #$d_chown HAS_CHOWN /**/
89 * This symbol, if defined, indicates that the chroot routine is
92 #$d_chroot HAS_CHROOT /**/
95 * This symbol, if defined, indicates that the chsize routine is available
96 * to truncate files. You might need a -lx to get this routine.
98 #$d_chsize HAS_CHSIZE /**/
101 * This symbol, if defined, indicates that the crypt routine is available
102 * to encrypt passwords and the like.
104 #$d_crypt HAS_CRYPT /**/
107 * This symbol, if defined, indicates that the ctermid routine is
108 * available to generate filename for terminal.
110 #$d_ctermid HAS_CTERMID /**/
113 * This symbol, if defined, indicates that the cuserid routine is
114 * available to get character login names.
116 #$d_cuserid HAS_CUSERID /**/
119 * This symbol, if defined, indicates that this system's <float.h>
120 * or <limits.h> defines the symbol DBL_DIG, which is the number
121 * of significant digits in a double precision number. If this
122 * symbol is not defined, a guess of 15 is usually pretty good.
124 #$d_dbl_dig HAS_DBL_DIG /* */
127 * This symbol, if defined, indicates that the difftime routine is
130 #$d_difftime HAS_DIFFTIME /**/
133 * This symbol, if defined, indicates that the dlerror routine is
134 * available to return a string describing the last error that
135 * occurred from a call to dlopen(), dlclose() or dlsym().
137 #$d_dlerror HAS_DLERROR /**/
140 * This symbol, if defined, indicates that the dup2 routine is
141 * available to duplicate file descriptors.
143 #$d_dup2 HAS_DUP2 /**/
146 * This symbol, if defined, indicates that the fchmod routine is available
147 * to change mode of opened files. If unavailable, use chmod().
149 #$d_fchmod HAS_FCHMOD /**/
152 * This symbol, if defined, indicates that the fchown routine is available
153 * to change ownership of opened files. If unavailable, use chown().
155 #$d_fchown HAS_FCHOWN /**/
158 * This symbol, if defined, indicates to the C program that
159 * the fcntl() function exists.
161 #$d_fcntl HAS_FCNTL /**/
164 * This symbol, if defined, indicates that the fgetpos routine is
165 * available to get the file position indicator, similar to ftell().
167 #$d_fgetpos HAS_FGETPOS /**/
170 * This symbol, if defined, indicates that the flock routine is
171 * available to do file locking.
173 #$d_flock HAS_FLOCK /**/
176 * This symbol, if defined, indicates that the fork routine is
179 #$d_fork HAS_FORK /**/
182 * This symbol, if defined, indicates that the fsetpos routine is
183 * available to set the file position indicator, similar to fseek().
185 #$d_fsetpos HAS_FSETPOS /**/
188 * This symbol, if defined, indicates that the gettimeofday() system
189 * call is available for a sub-second accuracy clock. Usually, the file
190 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
191 * The type "Timeval" should be used to refer to "struct timeval".
193 #$d_gettimeod HAS_GETTIMEOFDAY /**/
194 #ifdef HAS_GETTIMEOFDAY
195 #define Timeval struct timeval /* Structure used by gettimeofday() */
199 * This symbol, if defined, indicates that the getgroups() routine is
200 * available to get the list of process groups. If unavailable, multiple
201 * groups are probably not supported.
203 #$d_getgrps HAS_GETGROUPS /**/
206 * This symbol, if defined, indicates that the getlogin routine is
207 * available to get the login name.
209 #$d_getlogin HAS_GETLOGIN /**/
212 * This symbol, if defined, indicates to the C program that
213 * the getpgid(pid) function is available to get the
216 #$d_getpgid HAS_GETPGID /**/
219 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
220 * routine is available to get the current process group.
222 #$d_getpgrp2 HAS_GETPGRP2 /**/
225 * This symbol, if defined, indicates that the getppid routine is
226 * available to get the parent process ID.
228 #$d_getppid HAS_GETPPID /**/
231 * This symbol, if defined, indicates that the getpriority routine is
232 * available to get a process's priority.
234 #$d_getprior HAS_GETPRIORITY /**/
237 * This symbol, if defined, indicates to the C program that the
238 * inet_aton() function is available to parse IP address "dotted-quad"
241 #$d_inetaton HAS_INET_ATON /**/
244 * This symbol, if defined, indicates that the killpg routine is available
245 * to kill process groups. If unavailable, you probably should use kill
246 * with a negative process number.
248 #$d_killpg HAS_KILLPG /**/
251 * This symbol, if defined, indicates that the link routine is
252 * available to create hard links.
254 #$d_link HAS_LINK /**/
257 * This symbol, if defined, indicates that the localeconv routine is
258 * available for numeric and monetary formatting conventions.
260 #$d_locconv HAS_LOCALECONV /**/
263 * This symbol, if defined, indicates that the lockf routine is
264 * available to do file locking.
266 #$d_lockf HAS_LOCKF /**/
269 * This symbol, if defined, indicates that the lstat routine is
270 * available to do file stats on symbolic links.
272 #$d_lstat HAS_LSTAT /**/
275 * This symbol, if defined, indicates that the mblen routine is available
276 * to find the number of bytes in a multibye character.
278 #$d_mblen HAS_MBLEN /**/
281 * This symbol, if defined, indicates that the mbstowcs routine is
282 * available to covert a multibyte string into a wide character string.
284 #$d_mbstowcs HAS_MBSTOWCS /**/
287 * This symbol, if defined, indicates that the mbtowc routine is available
288 * to covert a multibyte to a wide character.
290 #$d_mbtowc HAS_MBTOWC /**/
293 * This symbol, if defined, indicates that the memcmp routine is available
294 * to compare blocks of memory.
296 #$d_memcmp HAS_MEMCMP /**/
299 * This symbol, if defined, indicates that the memcpy routine is available
300 * to copy blocks of memory.
302 #$d_memcpy HAS_MEMCPY /**/
305 * This symbol, if defined, indicates that the memmove routine is available
306 * to copy potentially overlapping blocks of memory. This should be used
307 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
310 #$d_memmove HAS_MEMMOVE /**/
313 * This symbol, if defined, indicates that the memset routine is available
314 * to set blocks of memory.
316 #$d_memset HAS_MEMSET /**/
319 * This symbol, if defined, indicates that the mkdir routine is available
320 * to create directories. Otherwise you should fork off a new process to
323 #$d_mkdir HAS_MKDIR /**/
326 * This symbol, if defined, indicates that the mkfifo routine is
327 * available to create FIFOs. Otherwise, mknod should be able to
328 * do it for you. However, if mkfifo is there, mknod might require
329 * super-user privileges which mkfifo will not.
331 #$d_mkfifo HAS_MKFIFO /**/
334 * This symbol, if defined, indicates that the mktime routine is
337 #$d_mktime HAS_MKTIME /**/
340 * This symbol, if defined, indicates that the msync system call is
341 * available to synchronize a mapped file.
343 #$d_msync HAS_MSYNC /**/
346 * This symbol, if defined, indicates that the munmap system call is
347 * available to unmap a region, usually mapped by mmap().
349 #$d_munmap HAS_MUNMAP /**/
352 * This symbol, if defined, indicates that the nice routine is
355 #$d_nice HAS_NICE /**/
358 * This symbol, if defined, indicates that pathconf() is available
359 * to determine file-system related limits and options associated
360 * with a given filename.
363 * This symbol, if defined, indicates that pathconf() is available
364 * to determine file-system related limits and options associated
365 * with a given open file descriptor.
367 #$d_pathconf HAS_PATHCONF /**/
368 #$d_fpathconf HAS_FPATHCONF /**/
371 * This symbol, if defined, indicates that the pause routine is
372 * available to suspend a process until a signal is received.
374 #$d_pause HAS_PAUSE /**/
377 * This symbol, if defined, indicates that the pipe routine is
378 * available to create an inter-process channel.
380 #$d_pipe HAS_PIPE /**/
383 * This symbol, if defined, indicates that the poll routine is
384 * available to poll active file descriptors. Please check I_POLL and
385 * I_SYS_POLL to know which header should be included as well.
387 #$d_poll HAS_POLL /**/
390 * This symbol, if defined, indicates that the readdir routine is
391 * available to read directory entries. You may have to include
392 * <dirent.h>. See I_DIRENT.
394 #$d_readdir HAS_READDIR /**/
397 * This symbol, if defined, indicates that the seekdir routine is
398 * available. You may have to include <dirent.h>. See I_DIRENT.
400 #$d_seekdir HAS_SEEKDIR /**/
403 * This symbol, if defined, indicates that the telldir routine is
404 * available. You may have to include <dirent.h>. See I_DIRENT.
406 #$d_telldir HAS_TELLDIR /**/
409 * This symbol, if defined, indicates that the rewinddir routine is
410 * available. You may have to include <dirent.h>. See I_DIRENT.
412 #$d_rewinddir HAS_REWINDDIR /**/
415 * This symbol, if defined, indicates that the readlink routine is
416 * available to read the value of a symbolic link.
418 #$d_readlink HAS_READLINK /**/
421 * This symbol, if defined, indicates that the rename routine is available
422 * to rename files. Otherwise you should do the unlink(), link(), unlink()
425 #$d_rename HAS_RENAME /**/
428 * This symbol, if defined, indicates that the rmdir routine is
429 * available to remove directories. Otherwise you should fork off a
430 * new process to exec /bin/rmdir.
432 #$d_rmdir HAS_RMDIR /**/
435 * This symbol, if defined, indicates that the select routine is
436 * available to select active file descriptors. If the timeout field
437 * is used, <sys/time.h> may need to be included.
439 #$d_select HAS_SELECT /**/
442 * This symbol, if defined, indicates that the setegid routine is available
443 * to change the effective gid of the current program.
445 #$d_setegid HAS_SETEGID /**/
448 * This symbol, if defined, indicates that the seteuid routine is available
449 * to change the effective uid of the current program.
451 #$d_seteuid HAS_SETEUID /**/
454 * This symbol, if defined, indicates that the setgroups() routine is
455 * available to set the list of process groups. If unavailable, multiple
456 * groups are probably not supported.
458 #$d_setgrps HAS_SETGROUPS /**/
461 * This symbol, if defined, indicates that the setlinebuf routine is
462 * available to change stderr or stdout from block-buffered or unbuffered
463 * to a line-buffered mode.
465 #$d_setlinebuf HAS_SETLINEBUF /**/
468 * This symbol, if defined, indicates that the setlocale routine is
469 * available to handle locale-specific ctype implementations.
471 #$d_setlocale HAS_SETLOCALE /**/
474 * This symbol, if defined, indicates that the setpgid(pid, gpid)
475 * routine is available to set process group ID.
477 #$d_setpgid HAS_SETPGID /**/
480 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
481 * routine is available to set the current process group.
483 #$d_setpgrp2 HAS_SETPGRP2 /**/
486 * This symbol, if defined, indicates that the setpriority routine is
487 * available to set a process's priority.
489 #$d_setprior HAS_SETPRIORITY /**/
492 * This symbol, if defined, indicates that the setregid routine is
493 * available to change the real and effective gid of the current
497 * This symbol, if defined, indicates that the setresgid routine is
498 * available to change the real, effective and saved gid of the current
501 #$d_setregid HAS_SETREGID /**/
502 #$d_setresgid HAS_SETRESGID /**/
505 * This symbol, if defined, indicates that the setreuid routine is
506 * available to change the real and effective uid of the current
510 * This symbol, if defined, indicates that the setresuid routine is
511 * available to change the real, effective and saved uid of the current
514 #$d_setreuid HAS_SETREUID /**/
515 #$d_setresuid HAS_SETRESUID /**/
518 * This symbol, if defined, indicates that the setrgid routine is available
519 * to change the real gid of the current program.
521 #$d_setrgid HAS_SETRGID /**/
524 * This symbol, if defined, indicates that the setruid routine is available
525 * to change the real uid of the current program.
527 #$d_setruid HAS_SETRUID /**/
530 * This symbol, if defined, indicates that the setsid routine is
531 * available to set the process group ID.
533 #$d_setsid HAS_SETSID /**/
536 * This symbol is defined to indicate that the strchr()/strrchr()
537 * functions are available for string searching. If not, try the
538 * index()/rindex() pair.
541 * This symbol is defined to indicate that the index()/rindex()
542 * functions are available for string searching.
544 #$d_strchr HAS_STRCHR /**/
545 #$d_index HAS_INDEX /**/
548 * This symbol, if defined, indicates that the strcoll routine is
549 * available to compare strings using collating information.
551 #$d_strcoll HAS_STRCOLL /**/
554 * This symbol, if defined, indicates that the strtod routine is
555 * available to provide better numeric string conversion than atof().
557 #$d_strtod HAS_STRTOD /**/
560 * This symbol, if defined, indicates that the strtol routine is available
561 * to provide better numeric string conversion than atoi() and friends.
563 #$d_strtol HAS_STRTOL /**/
566 * This symbol, if defined, indicates that the strxfrm() routine is
567 * available to transform strings.
569 #$d_strxfrm HAS_STRXFRM /**/
572 * This symbol, if defined, indicates that the symlink routine is available
573 * to create symbolic links.
575 #$d_symlink HAS_SYMLINK /**/
578 * This symbol, if defined, indicates that the syscall routine is
579 * available to call arbitrary system calls. If undefined, that's tough.
581 #$d_syscall HAS_SYSCALL /**/
584 * This symbol, if defined, indicates that sysconf() is available
585 * to determine system related limits and options.
587 #$d_sysconf HAS_SYSCONF /**/
590 * This symbol, if defined, indicates that the system routine is
591 * available to issue a shell command.
593 #$d_system HAS_SYSTEM /**/
596 * This symbol, if defined, indicates that the tcgetpgrp routine is
597 * available to get foreground process group ID.
599 #$d_tcgetpgrp HAS_TCGETPGRP /**/
602 * This symbol, if defined, indicates that the tcsetpgrp routine is
603 * available to set foreground process group ID.
605 #$d_tcsetpgrp HAS_TCSETPGRP /**/
608 * This symbol, if defined, indicates that the truncate routine is
609 * available to truncate files.
611 #$d_truncate HAS_TRUNCATE /**/
614 * This symbol, if defined, indicates that the tzname[] array is
615 * available to access timezone names.
617 #$d_tzname HAS_TZNAME /**/
620 * This symbol, if defined, indicates that the umask routine is
621 * available to set and get the value of the file creation mask.
623 #$d_umask HAS_UMASK /**/
626 * This symbol, if defined, indicates that the usleep routine is
627 * available to let the process sleep on a sub-second accuracy.
629 #$d_usleep HAS_USLEEP /**/
632 * This symbol, if defined, indicates that wait4() exists.
634 #$d_wait4 HAS_WAIT4 /**/
637 * This symbol, if defined, indicates that the waitpid routine is
638 * available to wait for child process.
640 #$d_waitpid HAS_WAITPID /**/
643 * This symbol, if defined, indicates that the wcstombs routine is
644 * available to convert wide character strings to multibyte strings.
646 #$d_wcstombs HAS_WCSTOMBS /**/
649 * This symbol, if defined, indicates that the wctomb routine is available
650 * to covert a wide character to a multibyte.
652 #$d_wctomb HAS_WCTOMB /**/
655 * This symbol holds the type used for the second argument to
656 * getgroups() and setgroups(). Usually, this is the same as
657 * gidtype (gid_t) , but sometimes it isn't.
658 * It can be int, ushort, gid_t, etc...
659 * It may be necessary to include <sys/types.h> to get any
660 * typedef'ed information. This is only required if you have
661 * getgroups() or setgroups()..
663 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
664 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
668 * This symbol, if defined, indicates to the C program that it should
669 * include <arpa/inet.h> to get inet_addr and friends declarations.
671 #$i_arpainet I_ARPA_INET /**/
674 * This symbol, if defined, indicates that <dbm.h> exists and should
678 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
679 * should be included.
682 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
685 * This symbol, if defined, indicates that <dlfcn.h> exists and should
688 #$i_dlfcn I_DLFCN /**/
691 * This manifest constant tells the C program to include <fcntl.h>.
693 #$i_fcntl I_FCNTL /**/
696 * This symbol, if defined, indicates to the C program that it should
697 * include <float.h> to get definition of symbols like DBL_MAX or
698 * DBL_MIN, i.e. machine dependent floating point values.
700 #$i_float I_FLOAT /**/
703 * This symbol, if defined, indicates that <gdbm.h> exists and should
709 * This symbol, if defined, indicates to the C program that it should
710 * include <limits.h> to get definition of symbols like WORD_BIT or
711 * LONG_MAX, i.e. machine dependant limitations.
713 #$i_limits I_LIMITS /**/
716 * This symbol, if defined, indicates to the C program that it should
717 * include <locale.h>.
719 #$i_locale I_LOCALE /**/
722 * This symbol, if defined, indicates to the C program that it should
728 * This symbol, if defined, indicates to the C program that it should
729 * include <memory.h>.
731 #$i_memory I_MEMORY /**/
734 * This symbol, if defined, indicates to the C program that it should
735 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
737 #$i_niin I_NETINET_IN /**/
740 * This symbol, if defined, indicates to the C program that it should
746 * This symbol, if defined, indicates that <stddef.h> exists and should
749 #$i_stddef I_STDDEF /**/
752 * This symbol, if defined, indicates that <stdlib.h> exists and should
755 #$i_stdlib I_STDLIB /**/
758 * This symbol, if defined, indicates to the C program that it should
759 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
761 #$i_string I_STRING /**/
764 * This symbol, if defined, indicates to the C program that it should
765 * include <sys/dir.h>.
767 #$i_sysdir I_SYS_DIR /**/
770 * This symbol, if defined, indicates to the C program that it should
771 * include <sys/file.h> to get definition of R_OK and friends.
773 #$i_sysfile I_SYS_FILE /**/
776 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
777 * be included. Otherwise, include <sgtty.h> or <termio.h>.
780 * This symbol, if defined, indicates the <sys/sockio.h> should be included
781 * to get socket ioctl options, like SIOCATMARK.
783 #$i_sysioctl I_SYS_IOCTL /**/
784 #$i_syssockio I_SYS_SOCKIO /**/
787 * This symbol, if defined, indicates to the C program that it should
788 * include <sys/ndir.h>.
790 #$i_sysndir I_SYS_NDIR /**/
793 * This symbol, if defined, indicates to the C program that it should
794 * include <sys/param.h>.
796 #$i_sysparam I_SYS_PARAM /**/
799 * This symbol, if defined, indicates that the program may include
800 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
801 * to only include <poll.h>.
803 #$i_syspoll I_SYS_POLL /**/
806 * This symbol, if defined, indicates to the C program that it should
807 * include <sys/resource.h>.
809 #$i_sysresrc I_SYS_RESOURCE /**/
812 * This symbol, if defined, indicates to the C program that it should
813 * include <sys/select.h> in order to get definition of struct timeval.
815 #$i_sysselct I_SYS_SELECT /**/
818 * This symbol, if defined, indicates to the C program that it should
819 * include <sys/stat.h>.
821 #$i_sysstat I_SYS_STAT /**/
824 * This symbol, if defined, indicates to the C program that it should
825 * include <sys/times.h>.
827 #$i_systimes I_SYS_TIMES /**/
830 * This symbol, if defined, indicates to the C program that it should
831 * include <sys/types.h>.
833 #$i_systypes I_SYS_TYPES /**/
836 * This symbol, if defined, indicates to the C program that it should
837 * include <sys/un.h> to get UNIX domain socket definitions.
839 #$i_sysun I_SYS_UN /**/
842 * This symbol, if defined, indicates to the C program that it should
843 * include <sys/wait.h>.
845 #$i_syswait I_SYS_WAIT /**/
848 * This symbol, if defined, indicates that the program should include
849 * <termio.h> rather than <sgtty.h>. There are also differences in
850 * the ioctl() calls that depend on the value of this symbol.
853 * This symbol, if defined, indicates that the program should include
854 * the POSIX termios.h rather than sgtty.h or termio.h.
855 * There are also differences in the ioctl() calls that depend on the
856 * value of this symbol.
859 * This symbol, if defined, indicates that the program should include
860 * <sgtty.h> rather than <termio.h>. There are also differences in
861 * the ioctl() calls that depend on the value of this symbol.
863 #$i_termio I_TERMIO /**/
864 #$i_termios I_TERMIOS /**/
865 #$i_sgtty I_SGTTY /**/
868 * This symbol, if defined, indicates to the C program that it should
869 * include <unistd.h>.
871 #$i_unistd I_UNISTD /**/
874 * This symbol, if defined, indicates to the C program that it should
877 #$i_utime I_UTIME /**/
880 * This symbol, if defined, indicates to the C program that it should
881 * include <values.h> to get definition of symbols like MINFLOAT or
882 * MAXLONG, i.e. machine dependant limitations. Probably, you
883 * should use <limits.h> instead, if it is available.
885 #$i_values I_VALUES /**/
888 * This symbol, if defined, indicates to the C program that it should
891 #$i_vfork I_VFORK /**/
894 * This variable is defined on systems supporting prototype declaration
895 * of functions with a variable number of arguments.
898 * This macro is used to declare function parameters in prototypes for
899 * functions with a variable number of parameters. Use double parentheses.
902 * int printf _V((char *fmt, ...));
904 * Remember to use the plain simple _() macro when declaring a function
905 * with no variable number of arguments, since it might be possible to
906 * have a non-effect _V() macro and still get prototypes via _().
908 #$vaproto CAN_VAPROTO /**/
910 #define _V(args) args
916 * This symbol contains the value of sizeof(int) so that the C
917 * preprocessor can make decisions based on it.
920 * This symbol contains the value of sizeof(long) so that the C
921 * preprocessor can make decisions based on it.
924 * This symbol contains the value of sizeof(short) so that the C
925 * preprocessor can make decisions based on it.
927 #define INTSIZE $intsize /**/
928 #define LONGSIZE $longsize /**/
929 #define SHORTSIZE $shortsize /**/
932 * This symbol, if defined, signifies that the build
933 * process will produce some binary files that are going to be
934 * used in a cross-platform environment. This is the case for
935 * example with the NeXT "fat" binaries that contain executables
938 #$multiarch MULTIARCH /**/
941 * This symbol, if defined, tells that there's a 64-bit integer type,
942 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
943 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
945 #$d_quad HAS_QUAD /**/
947 # define Quad_t $quadtype /**/
948 # define Uquad_t $uquadtype /**/
949 # define QUADKIND $quadkind /**/
950 # define QUAD_IS_INT 1
951 # define QUAD_IS_LONG 2
952 # define QUAD_IS_LONG_LONG 3
953 # define QUAD_IS_INT64_T 4
956 /* USE_CROSS_COMPILE:
957 * This symbol, if defined, indicates that Perl is being cross-compiled.
960 * This symbol, if defined, indicates the target architecture
961 * Perl has been cross-compiled to. Undefined if not a cross-compile.
963 #ifndef USE_CROSS_COMPILE
964 #$usecrosscompile USE_CROSS_COMPILE /**/
965 #define PERL_TARGETARCH "$targetarch" /**/
969 * This symbol contains the number of bytes required to align a
970 * double, or a long double when applicable. Usual values are 2,
971 * 4 and 8. The default is eight, for safety.
973 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
974 # define MEM_ALIGNBYTES 8
976 #define MEM_ALIGNBYTES $alignbytes
980 * This variable, if defined, holds the name of the directory in
981 * which the user wants to put architecture-dependent public
982 * library files for $package. It is most often a local directory
983 * such as /usr/local/lib. Programs using this variable must be
984 * prepared to deal with filename expansion. If ARCHLIB is the
985 * same as PRIVLIB, it is not defined, since presumably the
986 * program already searches PRIVLIB.
989 * This symbol contains the ~name expanded version of ARCHLIB, to be used
990 * in programs that are not prepared to deal with ~ expansion at run-time.
992 #$d_archlib ARCHLIB "$archlib" /**/
993 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
996 * This symbol holds a string representing the architecture name.
997 * It may be used to construct an architecture-dependant pathname
998 * where library files may be held under a private library, for
1001 #define ARCHNAME "$archname" /**/
1004 * This symbol holds the path of the bin directory where the package will
1005 * be installed. Program must be prepared to deal with ~name substitution.
1008 * This symbol is the filename expanded version of the BIN symbol, for
1009 * programs that do not want to deal with that at run-time.
1011 /* PERL_RELOCATABLE_INC:
1012 * This symbol, if defined, indicates that we'd like to relocate entries
1013 * in @INC at run time based on the location of the perl binary.
1015 #define BIN "$bin" /**/
1016 #define BIN_EXP "$binexp" /**/
1017 #define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
1020 * This symbol holds the hexadecimal constant defined in byteorder,
1021 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
1022 * If the compiler supports cross-compiling or multiple-architecture
1023 * binaries (eg. on NeXT systems), use compiler-defined macros to
1024 * determine the byte order.
1025 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1026 * Binaries (MAB) on either big endian or little endian machines.
1027 * The endian-ness is available at compile-time. This only matters
1028 * for perl, where the config.h can be generated and installed on
1029 * one system, and used by a different architecture to build an
1030 * extension. Older versions of NeXT that might not have
1031 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1032 * so the default case (for NeXT) is big endian to catch them.
1033 * This might matter for NeXT 3.0.
1035 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1036 # ifdef __LITTLE_ENDIAN__
1038 # define BYTEORDER 0x1234
1041 # define BYTEORDER 0x12345678
1045 # ifdef __BIG_ENDIAN__
1047 # define BYTEORDER 0x4321
1050 # define BYTEORDER 0x87654321
1055 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1056 # define BYTEORDER 0x4321
1059 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1063 * This symbol contains the size of a char, so that the C preprocessor
1064 * can make decisions based on it.
1066 #define CHARBITS $charbits /**/
1069 * This symbol, if defined, indicates that the accessx routine is
1070 * available to do extended access checks.
1072 #$d_accessx HAS_ACCESSX /**/
1075 * This symbol, if defined, indicates that the asctime_r routine
1076 * is available to asctime re-entrantly.
1079 * This symbol encodes the prototype of asctime_r.
1080 * It is zero if d_asctime_r is undef, and one of the
1081 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1084 #$d_asctime_r HAS_ASCTIME_R /**/
1085 #define ASCTIME_R_PROTO $asctime_r_proto /**/
1088 * This symbol is defined if the C compiler can cast negative
1089 * or large floating point numbers to 32-bit ints.
1091 #$d_casti32 CASTI32 /**/
1094 * This symbol is defined if the C compiler can cast negative
1095 * numbers to unsigned longs, ints and shorts.
1098 * This symbol contains flags that say what difficulties the compiler
1099 * has casting odd floating values to unsigned long:
1101 * 1 = couldn't cast < 0
1102 * 2 = couldn't cast >= 0x80000000
1103 * 4 = couldn't cast in argument expression list
1105 #$d_castneg CASTNEGFLOAT /**/
1106 #define CASTFLAGS $castflags /**/
1109 * This symbol, if defined, indicates that the closedir() routine
1110 * does not return a value.
1112 #$d_void_closedir VOID_CLOSEDIR /**/
1115 * This symbol, if defined, indicates that the crypt_r routine
1116 * is available to crypt re-entrantly.
1119 * This symbol encodes the prototype of crypt_r.
1120 * It is zero if d_crypt_r is undef, and one of the
1121 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1124 #$d_crypt_r HAS_CRYPT_R /**/
1125 #define CRYPT_R_PROTO $crypt_r_proto /**/
1128 * This symbol, if defined, indicates that the ctermid_r routine
1129 * is available to ctermid re-entrantly.
1132 * This symbol encodes the prototype of ctermid_r.
1133 * It is zero if d_ctermid_r is undef, and one of the
1134 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1137 #$d_ctermid_r HAS_CTERMID_R /**/
1138 #define CTERMID_R_PROTO $ctermid_r_proto /**/
1141 * This symbol, if defined, indicates that the ctime_r routine
1142 * is available to ctime re-entrantly.
1145 * This symbol encodes the prototype of ctime_r.
1146 * It is zero if d_ctime_r is undef, and one of the
1147 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1150 #$d_ctime_r HAS_CTIME_R /**/
1151 #define CTIME_R_PROTO $ctime_r_proto /**/
1154 * This symbol, if defined, indicates that the drand48_r routine
1155 * is available to drand48 re-entrantly.
1158 * This symbol encodes the prototype of drand48_r.
1159 * It is zero if d_drand48_r is undef, and one of the
1160 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1163 #$d_drand48_r HAS_DRAND48_R /**/
1164 #define DRAND48_R_PROTO $drand48_r_proto /**/
1167 * This symbol, if defined, indicates that the eaccess routine is
1168 * available to do extended access checks.
1170 #$d_eaccess HAS_EACCESS /**/
1173 * This symbol, if defined, indicates that the endgrent_r routine
1174 * is available to endgrent re-entrantly.
1176 /* ENDGRENT_R_PROTO:
1177 * This symbol encodes the prototype of endgrent_r.
1178 * It is zero if d_endgrent_r is undef, and one of the
1179 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1182 #$d_endgrent_r HAS_ENDGRENT_R /**/
1183 #define ENDGRENT_R_PROTO $endgrent_r_proto /**/
1185 /* HAS_ENDHOSTENT_R:
1186 * This symbol, if defined, indicates that the endhostent_r routine
1187 * is available to endhostent re-entrantly.
1189 /* ENDHOSTENT_R_PROTO:
1190 * This symbol encodes the prototype of endhostent_r.
1191 * It is zero if d_endhostent_r is undef, and one of the
1192 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1195 #$d_endhostent_r HAS_ENDHOSTENT_R /**/
1196 #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
1199 * This symbol, if defined, indicates that the endnetent_r routine
1200 * is available to endnetent re-entrantly.
1202 /* ENDNETENT_R_PROTO:
1203 * This symbol encodes the prototype of endnetent_r.
1204 * It is zero if d_endnetent_r is undef, and one of the
1205 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1208 #$d_endnetent_r HAS_ENDNETENT_R /**/
1209 #define ENDNETENT_R_PROTO $endnetent_r_proto /**/
1211 /* HAS_ENDPROTOENT_R:
1212 * This symbol, if defined, indicates that the endprotoent_r routine
1213 * is available to endprotoent re-entrantly.
1215 /* ENDPROTOENT_R_PROTO:
1216 * This symbol encodes the prototype of endprotoent_r.
1217 * It is zero if d_endprotoent_r is undef, and one of the
1218 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1221 #$d_endprotoent_r HAS_ENDPROTOENT_R /**/
1222 #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
1225 * This symbol, if defined, indicates that the endpwent_r routine
1226 * is available to endpwent re-entrantly.
1228 /* ENDPWENT_R_PROTO:
1229 * This symbol encodes the prototype of endpwent_r.
1230 * It is zero if d_endpwent_r is undef, and one of the
1231 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1234 #$d_endpwent_r HAS_ENDPWENT_R /**/
1235 #define ENDPWENT_R_PROTO $endpwent_r_proto /**/
1237 /* HAS_ENDSERVENT_R:
1238 * This symbol, if defined, indicates that the endservent_r routine
1239 * is available to endservent re-entrantly.
1241 /* ENDSERVENT_R_PROTO:
1242 * This symbol encodes the prototype of endservent_r.
1243 * It is zero if d_endservent_r is undef, and one of the
1244 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1247 #$d_endservent_r HAS_ENDSERVENT_R /**/
1248 #define ENDSERVENT_R_PROTO $endservent_r_proto /**/
1251 * This symbol, when defined, indicates presence of the fd_set typedef
1254 #$d_fd_set HAS_FD_SET /**/
1257 * This preprocessor macro is defined to convert a floating point
1258 * number to a string without a trailing decimal point. This
1259 * emulates the behavior of sprintf("%g"), but is sometimes much more
1260 * efficient. If gconvert() is not available, but gcvt() drops the
1261 * trailing decimal point, then gcvt() is used. If all else fails,
1262 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1263 * macro are: value, number of digits, whether trailing zeros should
1264 * be retained, and the output buffer.
1265 * The usual values are:
1266 * d_Gconvert='gconvert((x),(n),(t),(b))'
1267 * d_Gconvert='gcvt((x),(n),(b))'
1268 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1269 * The last two assume trailing zeros should not be kept.
1271 #define Gconvert(x,n,t,b) $d_Gconvert
1274 * This symbol, if defined, indicates that the getgrent_r routine
1275 * is available to getgrent re-entrantly.
1277 /* GETGRENT_R_PROTO:
1278 * This symbol encodes the prototype of getgrent_r.
1279 * It is zero if d_getgrent_r is undef, and one of the
1280 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1283 #$d_getgrent_r HAS_GETGRENT_R /**/
1284 #define GETGRENT_R_PROTO $getgrent_r_proto /**/
1287 * This symbol, if defined, indicates that the getgrgid_r routine
1288 * is available to getgrgid re-entrantly.
1290 /* GETGRGID_R_PROTO:
1291 * This symbol encodes the prototype of getgrgid_r.
1292 * It is zero if d_getgrgid_r is undef, and one of the
1293 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1296 #$d_getgrgid_r HAS_GETGRGID_R /**/
1297 #define GETGRGID_R_PROTO $getgrgid_r_proto /**/
1300 * This symbol, if defined, indicates that the getgrnam_r routine
1301 * is available to getgrnam re-entrantly.
1303 /* GETGRNAM_R_PROTO:
1304 * This symbol encodes the prototype of getgrnam_r.
1305 * It is zero if d_getgrnam_r is undef, and one of the
1306 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1309 #$d_getgrnam_r HAS_GETGRNAM_R /**/
1310 #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
1312 /* HAS_GETHOSTBYADDR_R:
1313 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1314 * is available to gethostbyaddr re-entrantly.
1316 /* GETHOSTBYADDR_R_PROTO:
1317 * This symbol encodes the prototype of gethostbyaddr_r.
1318 * It is zero if d_gethostbyaddr_r is undef, and one of the
1319 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1322 #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
1323 #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
1325 /* HAS_GETHOSTBYNAME_R:
1326 * This symbol, if defined, indicates that the gethostbyname_r routine
1327 * is available to gethostbyname re-entrantly.
1329 /* GETHOSTBYNAME_R_PROTO:
1330 * This symbol encodes the prototype of gethostbyname_r.
1331 * It is zero if d_gethostbyname_r is undef, and one of the
1332 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1335 #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
1336 #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
1338 /* HAS_GETHOSTENT_R:
1339 * This symbol, if defined, indicates that the gethostent_r routine
1340 * is available to gethostent re-entrantly.
1342 /* GETHOSTENT_R_PROTO:
1343 * This symbol encodes the prototype of gethostent_r.
1344 * It is zero if d_gethostent_r is undef, and one of the
1345 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1348 #$d_gethostent_r HAS_GETHOSTENT_R /**/
1349 #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
1352 * This symbol, if defined, indicates that the getlogin_r routine
1353 * is available to getlogin re-entrantly.
1355 /* GETLOGIN_R_PROTO:
1356 * This symbol encodes the prototype of getlogin_r.
1357 * It is zero if d_getlogin_r is undef, and one of the
1358 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1361 #$d_getlogin_r HAS_GETLOGIN_R /**/
1362 #define GETLOGIN_R_PROTO $getlogin_r_proto /**/
1364 /* HAS_GETNETBYADDR_R:
1365 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1366 * is available to getnetbyaddr re-entrantly.
1368 /* GETNETBYADDR_R_PROTO:
1369 * This symbol encodes the prototype of getnetbyaddr_r.
1370 * It is zero if d_getnetbyaddr_r is undef, and one of the
1371 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1374 #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
1375 #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
1377 /* HAS_GETNETBYNAME_R:
1378 * This symbol, if defined, indicates that the getnetbyname_r routine
1379 * is available to getnetbyname re-entrantly.
1381 /* GETNETBYNAME_R_PROTO:
1382 * This symbol encodes the prototype of getnetbyname_r.
1383 * It is zero if d_getnetbyname_r is undef, and one of the
1384 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1387 #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
1388 #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
1391 * This symbol, if defined, indicates that the getnetent_r routine
1392 * is available to getnetent re-entrantly.
1394 /* GETNETENT_R_PROTO:
1395 * This symbol encodes the prototype of getnetent_r.
1396 * It is zero if d_getnetent_r is undef, and one of the
1397 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1400 #$d_getnetent_r HAS_GETNETENT_R /**/
1401 #define GETNETENT_R_PROTO $getnetent_r_proto /**/
1404 * This symbol, if defined, indicates that the getpagesize system call
1405 * is available to get system page size, which is the granularity of
1406 * many memory management calls.
1408 #$d_getpagsz HAS_GETPAGESIZE /**/
1410 /* HAS_GETPROTOBYNAME_R:
1411 * This symbol, if defined, indicates that the getprotobyname_r routine
1412 * is available to getprotobyname re-entrantly.
1414 /* GETPROTOBYNAME_R_PROTO:
1415 * This symbol encodes the prototype of getprotobyname_r.
1416 * It is zero if d_getprotobyname_r is undef, and one of the
1417 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1420 #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
1421 #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
1423 /* HAS_GETPROTOBYNUMBER_R:
1424 * This symbol, if defined, indicates that the getprotobynumber_r routine
1425 * is available to getprotobynumber re-entrantly.
1427 /* GETPROTOBYNUMBER_R_PROTO:
1428 * This symbol encodes the prototype of getprotobynumber_r.
1429 * It is zero if d_getprotobynumber_r is undef, and one of the
1430 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1433 #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
1434 #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
1436 /* HAS_GETPROTOENT_R:
1437 * This symbol, if defined, indicates that the getprotoent_r routine
1438 * is available to getprotoent re-entrantly.
1440 /* GETPROTOENT_R_PROTO:
1441 * This symbol encodes the prototype of getprotoent_r.
1442 * It is zero if d_getprotoent_r is undef, and one of the
1443 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1446 #$d_getprotoent_r HAS_GETPROTOENT_R /**/
1447 #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
1450 * This symbol, if defined, indicates that the getpwent_r routine
1451 * is available to getpwent re-entrantly.
1453 /* GETPWENT_R_PROTO:
1454 * This symbol encodes the prototype of getpwent_r.
1455 * It is zero if d_getpwent_r is undef, and one of the
1456 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1459 #$d_getpwent_r HAS_GETPWENT_R /**/
1460 #define GETPWENT_R_PROTO $getpwent_r_proto /**/
1463 * This symbol, if defined, indicates that the getpwnam_r routine
1464 * is available to getpwnam re-entrantly.
1466 /* GETPWNAM_R_PROTO:
1467 * This symbol encodes the prototype of getpwnam_r.
1468 * It is zero if d_getpwnam_r is undef, and one of the
1469 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1472 #$d_getpwnam_r HAS_GETPWNAM_R /**/
1473 #define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
1476 * This symbol, if defined, indicates that the getpwuid_r routine
1477 * is available to getpwuid re-entrantly.
1479 /* GETPWUID_R_PROTO:
1480 * This symbol encodes the prototype of getpwuid_r.
1481 * It is zero if d_getpwuid_r is undef, and one of the
1482 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1485 #$d_getpwuid_r HAS_GETPWUID_R /**/
1486 #define GETPWUID_R_PROTO $getpwuid_r_proto /**/
1488 /* HAS_GETSERVBYNAME_R:
1489 * This symbol, if defined, indicates that the getservbyname_r routine
1490 * is available to getservbyname re-entrantly.
1492 /* GETSERVBYNAME_R_PROTO:
1493 * This symbol encodes the prototype of getservbyname_r.
1494 * It is zero if d_getservbyname_r is undef, and one of the
1495 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1498 #$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
1499 #define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
1501 /* HAS_GETSERVBYPORT_R:
1502 * This symbol, if defined, indicates that the getservbyport_r routine
1503 * is available to getservbyport re-entrantly.
1505 /* GETSERVBYPORT_R_PROTO:
1506 * This symbol encodes the prototype of getservbyport_r.
1507 * It is zero if d_getservbyport_r is undef, and one of the
1508 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1511 #$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
1512 #define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
1514 /* HAS_GETSERVENT_R:
1515 * This symbol, if defined, indicates that the getservent_r routine
1516 * is available to getservent re-entrantly.
1518 /* GETSERVENT_R_PROTO:
1519 * This symbol encodes the prototype of getservent_r.
1520 * It is zero if d_getservent_r is undef, and one of the
1521 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1524 #$d_getservent_r HAS_GETSERVENT_R /**/
1525 #define GETSERVENT_R_PROTO $getservent_r_proto /**/
1528 * This symbol, if defined, indicates that the getspnam_r routine
1529 * is available to getspnam re-entrantly.
1531 /* GETSPNAM_R_PROTO:
1532 * This symbol encodes the prototype of getspnam_r.
1533 * It is zero if d_getspnam_r is undef, and one of the
1534 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1537 #$d_getspnam_r HAS_GETSPNAM_R /**/
1538 #define GETSPNAM_R_PROTO $getspnam_r_proto /**/
1541 * This symbol, if defined, indicates that the gmtime_r routine
1542 * is available to gmtime re-entrantly.
1545 * This symbol encodes the prototype of gmtime_r.
1546 * It is zero if d_gmtime_r is undef, and one of the
1547 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1550 #$d_gmtime_r HAS_GMTIME_R /**/
1551 #define GMTIME_R_PROTO $gmtime_r_proto /**/
1554 * This symbol, if defined, indicates to the C program that
1555 * the GNU C library is being used. A better check is to use
1556 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1558 #$d_gnulibc HAS_GNULIBC /**/
1559 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1560 # define _GNU_SOURCE
1564 * This manifest constant lets the C program know that isascii
1567 #$d_isascii HAS_ISASCII /**/
1570 * This symbol, if defined, indicates that the lchown routine is
1571 * available to operate on a symbolic link (instead of following the
1574 #$d_lchown HAS_LCHOWN /**/
1577 * This symbol, if defined, indicates that the localtime_r routine
1578 * is available to localtime re-entrantly.
1580 /* LOCALTIME_R_NEEDS_TZSET:
1581 * Many libc's localtime_r implementations do not call tzset,
1582 * making them differ from localtime(), and making timezone
1583 * changes using \$ENV{TZ} without explicitly calling tzset
1584 * impossible. This symbol makes us call tzset before localtime_r
1586 #$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
1587 #ifdef LOCALTIME_R_NEEDS_TZSET
1588 #define L_R_TZSET tzset(),
1593 /* LOCALTIME_R_PROTO:
1594 * This symbol encodes the prototype of localtime_r.
1595 * It is zero if d_localtime_r is undef, and one of the
1596 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1599 #$d_localtime_r HAS_LOCALTIME_R /**/
1600 #define LOCALTIME_R_PROTO $localtime_r_proto /**/
1603 * This manifest constant lets the C program know that the three
1604 * argument form of open(2) is available.
1606 #$d_open3 HAS_OPEN3 /**/
1608 /* OLD_PTHREAD_CREATE_JOINABLE:
1609 * This symbol, if defined, indicates how to create pthread
1610 * in joinable (aka undetached) state. NOTE: not defined
1611 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1612 * (the new version of the constant).
1613 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1616 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
1618 /* HAS_PTHREAD_ATFORK:
1619 * This symbol, if defined, indicates that the pthread_atfork routine
1620 * is available to setup fork handlers.
1622 #$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
1624 /* HAS_PTHREAD_YIELD:
1625 * This symbol, if defined, indicates that the pthread_yield
1626 * routine is available to yield the execution of the current
1627 * thread. sched_yield is preferable to pthread_yield.
1630 * This symbol defines the way to yield the execution of
1631 * the current thread. Known ways are sched_yield,
1632 * pthread_yield, and pthread_yield with NULL.
1635 * This symbol, if defined, indicates that the sched_yield
1636 * routine is available to yield the execution of the current
1637 * thread. sched_yield is preferable to pthread_yield.
1639 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
1640 #define SCHED_YIELD $sched_yield /**/
1641 #$d_sched_yield HAS_SCHED_YIELD /**/
1644 * This symbol, if defined, indicates that the random_r routine
1645 * is available to random re-entrantly.
1648 * This symbol encodes the prototype of random_r.
1649 * It is zero if d_random_r is undef, and one of the
1650 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1653 #$d_random_r HAS_RANDOM_R /**/
1654 #define RANDOM_R_PROTO $random_r_proto /**/
1657 * This symbol, if defined, indicates that the readdir64_r routine
1658 * is available to readdir64 re-entrantly.
1660 /* READDIR64_R_PROTO:
1661 * This symbol encodes the prototype of readdir64_r.
1662 * It is zero if d_readdir64_r is undef, and one of the
1663 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
1666 #$d_readdir64_r HAS_READDIR64_R /**/
1667 #define READDIR64_R_PROTO $readdir64_r_proto /**/
1670 * This symbol, if defined, indicates that the readdir_r routine
1671 * is available to readdir re-entrantly.
1674 * This symbol encodes the prototype of readdir_r.
1675 * It is zero if d_readdir_r is undef, and one of the
1676 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
1679 #$d_readdir_r HAS_READDIR_R /**/
1680 #define READDIR_R_PROTO $readdir_r_proto /**/
1683 * This symbol, if defined, indicates that the bcopy routine is available
1684 * to copy potentially overlapping memory blocks. Normally, you should
1685 * probably use memmove() or memcpy(). If neither is defined, roll your
1688 #$d_safebcpy HAS_SAFE_BCOPY /**/
1691 * This symbol, if defined, indicates that the memcpy routine is available
1692 * to copy potentially overlapping memory blocks. If you need to
1693 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
1694 * use memmove() instead, if available.
1696 #$d_safemcpy HAS_SAFE_MEMCPY /**/
1699 * This symbol, if defined, indicates that the memcmp routine is available
1700 * and can be used to compare relative magnitudes of chars with their high
1701 * bits set. If it is not defined, roll your own version.
1703 #$d_sanemcmp HAS_SANE_MEMCMP /**/
1706 * This symbol, if defined, indicates that the setgrent_r routine
1707 * is available to setgrent re-entrantly.
1709 /* SETGRENT_R_PROTO:
1710 * This symbol encodes the prototype of setgrent_r.
1711 * It is zero if d_setgrent_r is undef, and one of the
1712 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
1715 #$d_setgrent_r HAS_SETGRENT_R /**/
1716 #define SETGRENT_R_PROTO $setgrent_r_proto /**/
1718 /* HAS_SETHOSTENT_R:
1719 * This symbol, if defined, indicates that the sethostent_r routine
1720 * is available to sethostent re-entrantly.
1722 /* SETHOSTENT_R_PROTO:
1723 * This symbol encodes the prototype of sethostent_r.
1724 * It is zero if d_sethostent_r is undef, and one of the
1725 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
1728 #$d_sethostent_r HAS_SETHOSTENT_R /**/
1729 #define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
1732 * This symbol, if defined, indicates that the setlocale_r routine
1733 * is available to setlocale re-entrantly.
1735 /* SETLOCALE_R_PROTO:
1736 * This symbol encodes the prototype of setlocale_r.
1737 * It is zero if d_setlocale_r is undef, and one of the
1738 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
1741 #$d_setlocale_r HAS_SETLOCALE_R /**/
1742 #define SETLOCALE_R_PROTO $setlocale_r_proto /**/
1745 * This symbol, if defined, indicates that the setnetent_r routine
1746 * is available to setnetent re-entrantly.
1748 /* SETNETENT_R_PROTO:
1749 * This symbol encodes the prototype of setnetent_r.
1750 * It is zero if d_setnetent_r is undef, and one of the
1751 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
1754 #$d_setnetent_r HAS_SETNETENT_R /**/
1755 #define SETNETENT_R_PROTO $setnetent_r_proto /**/
1757 /* HAS_SETPROTOENT_R:
1758 * This symbol, if defined, indicates that the setprotoent_r routine
1759 * is available to setprotoent re-entrantly.
1761 /* SETPROTOENT_R_PROTO:
1762 * This symbol encodes the prototype of setprotoent_r.
1763 * It is zero if d_setprotoent_r is undef, and one of the
1764 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
1767 #$d_setprotoent_r HAS_SETPROTOENT_R /**/
1768 #define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
1771 * This symbol, if defined, indicates that the setpwent_r routine
1772 * is available to setpwent re-entrantly.
1774 /* SETPWENT_R_PROTO:
1775 * This symbol encodes the prototype of setpwent_r.
1776 * It is zero if d_setpwent_r is undef, and one of the
1777 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
1780 #$d_setpwent_r HAS_SETPWENT_R /**/
1781 #define SETPWENT_R_PROTO $setpwent_r_proto /**/
1783 /* HAS_SETSERVENT_R:
1784 * This symbol, if defined, indicates that the setservent_r routine
1785 * is available to setservent re-entrantly.
1787 /* SETSERVENT_R_PROTO:
1788 * This symbol encodes the prototype of setservent_r.
1789 * It is zero if d_setservent_r is undef, and one of the
1790 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
1793 #$d_setservent_r HAS_SETSERVENT_R /**/
1794 #define SETSERVENT_R_PROTO $setservent_r_proto /**/
1797 * This symbol, if defined, indicates that Vr4's sigaction() routine
1800 #$d_sigaction HAS_SIGACTION /**/
1803 * This variable indicates to the C program that the sigsetjmp()
1804 * routine is available to save the calling process's registers
1805 * and stack environment for later use by siglongjmp(), and
1806 * to optionally save the process's signal mask. See
1807 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1810 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1813 * This macro is used in the same way as sigsetjmp(), but will invoke
1814 * traditional setjmp() if sigsetjmp isn't available.
1815 * See HAS_SIGSETJMP.
1818 * This macro is used in the same way as siglongjmp(), but will invoke
1819 * traditional longjmp() if siglongjmp isn't available.
1820 * See HAS_SIGSETJMP.
1822 #$d_sigsetjmp HAS_SIGSETJMP /**/
1823 #ifdef HAS_SIGSETJMP
1824 #define Sigjmp_buf sigjmp_buf
1825 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1826 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1828 #define Sigjmp_buf jmp_buf
1829 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1830 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1834 * This symbol, if defined, indicates that the srand48_r routine
1835 * is available to srand48 re-entrantly.
1838 * This symbol encodes the prototype of srand48_r.
1839 * It is zero if d_srand48_r is undef, and one of the
1840 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
1843 #$d_srand48_r HAS_SRAND48_R /**/
1844 #define SRAND48_R_PROTO $srand48_r_proto /**/
1847 * This symbol, if defined, indicates that the srandom_r routine
1848 * is available to srandom re-entrantly.
1851 * This symbol encodes the prototype of srandom_r.
1852 * It is zero if d_srandom_r is undef, and one of the
1853 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
1856 #$d_srandom_r HAS_SRANDOM_R /**/
1857 #define SRANDOM_R_PROTO $srandom_r_proto /**/
1860 * This symbol is defined if the _ptr and _cnt fields (or similar)
1861 * of the stdio FILE structure can be used to access the stdio buffer
1862 * for a file handle. If this is defined, then the FILE_ptr(fp)
1863 * and FILE_cnt(fp) macros will also be defined and should be used
1864 * to access these fields.
1867 * This macro is used to access the _ptr field (or equivalent) of the
1868 * FILE structure pointed to by its argument. This macro will always be
1869 * defined if USE_STDIO_PTR is defined.
1871 /* STDIO_PTR_LVALUE:
1872 * This symbol is defined if the FILE_ptr macro can be used as an
1876 * This macro is used to access the _cnt field (or equivalent) of the
1877 * FILE structure pointed to by its argument. This macro will always be
1878 * defined if USE_STDIO_PTR is defined.
1880 /* STDIO_CNT_LVALUE:
1881 * This symbol is defined if the FILE_cnt macro can be used as an
1884 /* STDIO_PTR_LVAL_SETS_CNT:
1885 * This symbol is defined if using the FILE_ptr macro as an lvalue
1886 * to increase the pointer by n has the side effect of decreasing the
1887 * value of File_cnt(fp) by n.
1889 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
1890 * This symbol is defined if using the FILE_ptr macro as an lvalue
1891 * to increase the pointer by n leaves File_cnt(fp) unchanged.
1893 #$d_stdstdio USE_STDIO_PTR /**/
1894 #ifdef USE_STDIO_PTR
1895 #define FILE_ptr(fp) $stdio_ptr
1896 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
1897 #define FILE_cnt(fp) $stdio_cnt
1898 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
1899 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
1900 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
1904 * This symbol is defined if the _base field (or similar) of the
1905 * stdio FILE structure can be used to access the stdio buffer for
1906 * a file handle. If this is defined, then the FILE_base(fp) macro
1907 * will also be defined and should be used to access this field.
1908 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1909 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1910 * will never be defined unless USE_STDIO_PTR is.
1913 * This macro is used to access the _base field (or equivalent) of the
1914 * FILE structure pointed to by its argument. This macro will always be
1915 * defined if USE_STDIO_BASE is defined.
1918 * This macro is used to determine the number of bytes in the I/O
1919 * buffer pointed to by _base field (or equivalent) of the FILE
1920 * structure pointed to its argument. This macro will always be defined
1921 * if USE_STDIO_BASE is defined.
1923 #$d_stdiobase USE_STDIO_BASE /**/
1924 #ifdef USE_STDIO_BASE
1925 #define FILE_base(fp) $stdio_base
1926 #define FILE_bufsiz(fp) $stdio_bufsiz
1930 * This symbol, if defined, indicates that the strerror_r routine
1931 * is available to strerror re-entrantly.
1933 /* STRERROR_R_PROTO:
1934 * This symbol encodes the prototype of strerror_r.
1935 * It is zero if d_strerror_r is undef, and one of the
1936 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
1939 #$d_strerror_r HAS_STRERROR_R /**/
1940 #define STRERROR_R_PROTO $strerror_r_proto /**/
1943 * This symbol, if defined, indicates that the tmpnam_r routine
1944 * is available to tmpnam re-entrantly.
1947 * This symbol encodes the prototype of tmpnam_r.
1948 * It is zero if d_tmpnam_r is undef, and one of the
1949 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
1952 #$d_tmpnam_r HAS_TMPNAM_R /**/
1953 #define TMPNAM_R_PROTO $tmpnam_r_proto /**/
1956 * This symbol, if defined, indicates that the ttyname_r routine
1957 * is available to ttyname re-entrantly.
1960 * This symbol encodes the prototype of ttyname_r.
1961 * It is zero if d_ttyname_r is undef, and one of the
1962 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
1965 #$d_ttyname_r HAS_TTYNAME_R /**/
1966 #define TTYNAME_R_PROTO $ttyname_r_proto /**/
1969 * This symbol, if defined, indicates that the vprintf routine is available
1970 * to printf with a pointer to an argument list. If unavailable, you
1971 * may need to write your own, probably in terms of _doprnt().
1973 /* USE_CHAR_VSPRINTF:
1974 * This symbol is defined if this system has vsprintf() returning type
1975 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1976 * is up to the package author to declare vsprintf correctly based on the
1979 #$d_vprintf HAS_VPRINTF /**/
1980 #$d_charvspr USE_CHAR_VSPRINTF /**/
1983 * This symbol contains the size of a double, so that the C preprocessor
1984 * can make decisions based on it.
1986 #define DOUBLESIZE $doublesize /**/
1989 * This symbol, if defined, indicates to the C program that it should
1990 * include <mach/cthreads.h>.
1992 #$i_machcthr I_MACH_CTHREADS /**/
1995 * This symbol, if defined, indicates to the C program that it should
1996 * include <pthread.h>.
1998 #$i_pthread I_PTHREAD /**/
2001 * This symbol, if defined, indicates to the C program that it should
2002 * include <sys/access.h>.
2004 #$i_sysaccess I_SYS_ACCESS /**/
2007 * This symbol, if defined, indicates to the C program that it should
2008 * include <sys/security.h>.
2010 #$i_syssecrt I_SYS_SECURITY /**/
2013 * This symbol, if defined, indicates to the C program that it should
2017 * This symbol, if defined, indicates to the C program that it should
2018 * include <sys/time.h>.
2020 /* I_SYS_TIME_KERNEL:
2021 * This symbol, if defined, indicates to the C program that it should
2022 * include <sys/time.h> with KERNEL defined.
2025 * This symbol, if defined, indicates to the C program that
2026 * the struct tm has a tm_zone field.
2028 /* HAS_TM_TM_GMTOFF:
2029 * This symbol, if defined, indicates to the C program that
2030 * the struct tm has a tm_gmtoff field.
2032 #$i_time I_TIME /**/
2033 #$i_systime I_SYS_TIME /**/
2034 #$i_systimek I_SYS_TIME_KERNEL /**/
2035 #$d_tm_tm_zone HAS_TM_TM_ZONE /**/
2036 #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
2038 /* PERL_INC_VERSION_LIST:
2039 * This variable specifies the list of subdirectories in over
2040 * which perl.c:incpush() and lib/lib.pm will automatically
2041 * search when adding directories to @INC, in a format suitable
2042 * for a C initialization string. See the inc_version_list entry
2043 * in Porting/Glossary for more details.
2045 #$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
2047 /* INSTALL_USR_BIN_PERL:
2048 * This symbol, if defined, indicates that Perl is to be installed
2049 * also as /usr/bin/perl.
2051 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
2054 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2055 * non-blocking I/O for the file descriptor. Note that there is no way
2056 * back, i.e. you cannot turn it blocking again this way. If you wish to
2057 * alternatively switch between blocking and non-blocking, use the
2058 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2061 * This symbol holds the errno error code set by read() when no data was
2062 * present on the non-blocking file descriptor.
2065 * This symbol holds the return code from read() when no data is present
2066 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2067 * not defined, then you can't distinguish between no data and EOF by
2068 * issuing a read(). You'll have to find another way to tell for sure!
2071 * This symbol, if defined, indicates to the C program that a read() on
2072 * a non-blocking file descriptor will return 0 on EOF, and not the value
2073 * held in RD_NODATA (-1 usually, in that case!).
2075 #define VAL_O_NONBLOCK $o_nonblock
2076 #define VAL_EAGAIN $eagain
2077 #define RD_NODATA $rd_nodata
2078 #$d_eofnblk EOF_NONBLOCK
2080 /* PERL_OTHERLIBDIRS:
2081 * This variable contains a colon-separated set of paths for the perl
2082 * binary to search for additional library files or modules.
2083 * These directories will be tacked to the end of @INC.
2084 * Perl will automatically search below each path for version-
2085 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2088 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
2091 * This symbol contains the name of the private library for this package.
2092 * The library is private in the sense that it needn't be in anyone's
2093 * execution path, but it should be accessible by the world. The program
2094 * should be prepared to do ~ expansion.
2097 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2098 * in programs that are not prepared to deal with ~ expansion at run-time.
2100 #define PRIVLIB "$privlib" /**/
2101 #define PRIVLIB_EXP "$privlibexp" /**/
2104 * This symbol contains the size of a pointer, so that the C preprocessor
2105 * can make decisions based on it. It will be sizeof(void *) if
2106 * the compiler supports (void *); otherwise it will be
2109 #define PTRSIZE $ptrsize /**/
2112 * This macro is to be used to generate uniformly distributed
2113 * random numbers over the range [0., 1.[. You may have to supply
2114 * an 'extern double drand48();' in your program since SunOS 4.1.3
2115 * doesn't provide you with anything relevant in its headers.
2116 * See HAS_DRAND48_PROTO.
2119 * This symbol defines the type of the argument of the
2120 * random seed function.
2123 * This symbol defines the macro to be used in seeding the
2124 * random number generator (see Drand01).
2127 * This symbol indicates how many bits are produced by the
2128 * function used to generate normalized random numbers.
2129 * Values include 15, 16, 31, and 48.
2131 #define Drand01() $drand01 /**/
2132 #define Rand_seed_t $randseedtype /**/
2133 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
2134 #define RANDBITS $randbits /**/
2137 * This symbol contains the name of the private library for this package.
2138 * The library is private in the sense that it needn't be in anyone's
2139 * execution path, but it should be accessible by the world. The program
2140 * should be prepared to do ~ expansion.
2141 * The standard distribution will put nothing in this directory.
2142 * After perl has been installed, users may install their own local
2143 * architecture-dependent modules in this directory with
2144 * MakeMaker Makefile.PL
2145 * or equivalent. See INSTALL for details.
2148 * This symbol contains the ~name expanded version of SITEARCH, to be used
2149 * in programs that are not prepared to deal with ~ expansion at run-time.
2151 #$d_sitearch SITEARCH "$sitearch" /**/
2152 #$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
2155 * This symbol contains the name of the private library for this package.
2156 * The library is private in the sense that it needn't be in anyone's
2157 * execution path, but it should be accessible by the world. The program
2158 * should be prepared to do ~ expansion.
2159 * The standard distribution will put nothing in this directory.
2160 * After perl has been installed, users may install their own local
2161 * architecture-independent modules in this directory with
2162 * MakeMaker Makefile.PL
2163 * or equivalent. See INSTALL for details.
2166 * This symbol contains the ~name expanded version of SITELIB, to be used
2167 * in programs that are not prepared to deal with ~ expansion at run-time.
2170 * This define is SITELIB_EXP with any trailing version-specific component
2171 * removed. The elements in inc_version_list (inc_version_list.U) can
2172 * be tacked onto this variable to generate a list of directories to search.
2174 #define SITELIB "$sitelib" /**/
2175 #define SITELIB_EXP "$sitelibexp" /**/
2176 #define SITELIB_STEM "$sitelib_stem" /**/
2179 * This symbol holds the type used by functions that return
2180 * a count of bytes or an error condition. It must be a signed type.
2181 * It is usually ssize_t, but may be long or int, etc.
2182 * It may be necessary to include <sys/types.h> or <unistd.h>
2183 * to get any typedef'ed information.
2184 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
2186 #define SSize_t $ssizetype /* signed count of bytes */
2189 * This symbol, if defined, indicates that Perl should be built to
2190 * use the interpreter-based threading implementation.
2193 * This symbol, if defined, indicates that Perl should be built to
2194 * use the 5.005-based threading implementation.
2195 * Only valid up to 5.8.x.
2197 /* OLD_PTHREADS_API:
2198 * This symbol, if defined, indicates that Perl should
2199 * be built to use the old draft POSIX threads API.
2201 /* USE_REENTRANT_API:
2202 * This symbol, if defined, indicates that Perl should
2203 * try to use the various _r versions of library functions.
2204 * This is extremely experimental.
2206 #$use5005threads USE_5005THREADS /**/
2207 #$useithreads USE_ITHREADS /**/
2208 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2209 #define USE_THREADS /* until src is revised*/
2211 #$d_oldpthreads OLD_PTHREADS_API /**/
2212 #$usereentrant USE_REENTRANT_API /**/
2215 * If defined, this symbol contains the name of a private library.
2216 * The library is private in the sense that it needn't be in anyone's
2217 * execution path, but it should be accessible by the world.
2218 * It may have a ~ on the front.
2219 * The standard distribution will put nothing in this directory.
2220 * Vendors who distribute perl may wish to place their own
2221 * architecture-dependent modules and extensions in this directory with
2222 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2223 * or equivalent. See INSTALL for details.
2225 /* PERL_VENDORARCH_EXP:
2226 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2227 * in programs that are not prepared to deal with ~ expansion at run-time.
2229 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
2230 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
2232 /* PERL_VENDORLIB_EXP:
2233 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2234 * in programs that are not prepared to deal with ~ expansion at run-time.
2236 /* PERL_VENDORLIB_STEM:
2237 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2238 * removed. The elements in inc_version_list (inc_version_list.U) can
2239 * be tacked onto this variable to generate a list of directories to search.
2241 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
2242 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
2244 /* HAS_STATIC_INLINE:
2245 * This symbol, if defined, indicates that the C compiler supports
2246 * C99-style static inline. That is, the function can't be called
2247 * from another translation unit.
2249 /* PERL_STATIC_INLINE:
2250 * This symbol gives the best-guess incantation to use for static
2251 * inline functions. If HAS_STATIC_INLINE is defined, this will
2252 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
2253 * this will give a plain 'static'. It will always be defined
2254 * to something that gives static linkage.
2255 * Possibilities include
2256 * static inline (c99)
2257 * static __inline__ (gcc -ansi)
2258 * static __inline (MSVC)
2259 * static _inline (older MSVC)
2260 * static (c89 compilers)
2262 #$d_static_inline HAS_STATIC_INLINE /**/
2263 #define PERL_STATIC_INLINE $perl_static_inline /**/
2266 * This symbol, if defined, indicates that this system uses
2269 #$ebcdic EBCDIC /**/
2272 * This symbol contains the name of the operating system, as determined
2273 * by Configure. You shouldn't rely on it too much; the specific
2274 * feature tests from Configure are generally more reliable.
2277 * This symbol contains the version of the operating system, as determined
2278 * by Configure. You shouldn't rely on it too much; the specific
2279 * feature tests from Configure are generally more reliable.
2281 #define OSNAME "$osname" /**/
2282 #define OSVERS "$osvers" /**/
2285 * This macro concatenates 2 tokens together.
2288 * This macro surrounds its token with double quotes.
2291 #define CAT2(a,b) a/**/b
2292 #define STRINGIFY(a) "a"
2294 #if $cpp_stuff == 42
2295 #define PeRl_CaTiFy(a, b) a ## b
2296 #define PeRl_StGiFy(a) #a
2297 #define CAT2(a,b) PeRl_CaTiFy(a,b)
2298 #define StGiFy(a) PeRl_StGiFy(a)
2299 #define STRINGIFY(a) PeRl_StGiFy(a)
2301 #if $cpp_stuff != 1 && $cpp_stuff != 42
2302 #include "Bletch: How does this C preprocessor concatenate tokens?"
2306 * This symbol contains the first part of the string which will invoke
2307 * the C preprocessor on the standard input and produce to standard
2308 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
2309 * call a wrapper. See CPPRUN.
2312 * This symbol contains the second part of the string which will invoke
2313 * the C preprocessor on the standard input and produce to standard
2314 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
2315 * to specify standard input, otherwise the value is "".
2318 * This symbol contains the string which will invoke a C preprocessor on
2319 * the standard input and produce to standard output. It needs to end
2320 * with CPPLAST, after all other preprocessor flags have been specified.
2321 * The main difference with CPPSTDIN is that this program will never be a
2322 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
2323 * available directly to the user. Note that it may well be different from
2324 * the preprocessor used to compile the C program.
2327 * This symbol is intended to be used along with CPPRUN in the same manner
2328 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
2330 #define CPPSTDIN "$cppstdin"
2331 #define CPPMINUS "$cppminus"
2332 #define CPPRUN "$cpprun"
2333 #define CPPLAST "$cpplast"
2336 * This manifest constant lets the C program know that the access()
2337 * system call is available to check for accessibility using real UID/GID.
2338 * (always present on UNIX.)
2340 #$d_access HAS_ACCESS /**/
2342 /* HASATTRIBUTE_FORMAT:
2343 * Can we handle GCC attribute for checking printf-style formats
2345 /* PRINTF_FORMAT_NULL_OK:
2346 * Allows __printf__ format to be null when checking printf-style
2348 /* HASATTRIBUTE_MALLOC:
2349 * Can we handle GCC attribute for malloc-style functions.
2351 /* HASATTRIBUTE_NONNULL:
2352 * Can we handle GCC attribute for nonnull function parms.
2354 /* HASATTRIBUTE_NORETURN:
2355 * Can we handle GCC attribute for functions that do not return
2357 /* HASATTRIBUTE_PURE:
2358 * Can we handle GCC attribute for pure functions
2360 /* HASATTRIBUTE_UNUSED:
2361 * Can we handle GCC attribute for unused variables and arguments
2363 /* HASATTRIBUTE_DEPRECATED:
2364 * Can we handle GCC attribute for marking deprecated APIs
2366 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
2367 * Can we handle GCC attribute for warning on unused results
2369 #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/
2370 #$d_attribute_format HASATTRIBUTE_FORMAT /**/
2371 #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
2372 #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
2373 #$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
2374 #$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
2375 #$d_attribute_pure HASATTRIBUTE_PURE /**/
2376 #$d_attribute_unused HASATTRIBUTE_UNUSED /**/
2377 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
2380 * This symbol, if defined, indicates that this C compiler knows about
2381 * the const type. There is no need to actually test for that symbol
2382 * within your programs. The mere use of the "const" keyword will
2383 * trigger the necessary tests.
2385 #$d_const HASCONST /**/
2391 * This symbol, if defined, indicates that the C-shell exists.
2394 * This symbol, if defined, contains the full pathname of csh.
2396 #$d_csh HAS_CSH /**/
2398 #define CSH "$full_csh" /**/
2401 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
2402 * This symbol, if defined, indicates that the bug that prevents
2403 * setuid scripts from being secure is not present in this kernel.
2406 * This symbol, if defined, indicates that the C program should
2407 * check the script that it is executing for setuid/setgid bits, and
2408 * attempt to emulate setuid/setgid on systems that have disabled
2409 * setuid #! scripts because the kernel can't do it securely.
2410 * It is up to the package designer to make sure that this emulation
2411 * is done securely. Among other things, it should do an fstat on
2412 * the script it just opened to make sure it really is a setuid/setgid
2413 * script, it should make sure the arguments passed correspond exactly
2414 * to the argument on the #! line, and it should not trust any
2415 * subprocesses to which it must pass the filename rather than the
2416 * file descriptor of the script to be executed.
2418 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
2419 #$d_dosuid DOSUID /**/
2422 * This symbol, if defined, indicates that the getgrent routine is
2423 * available for finalizing sequential access of the group database.
2425 #$d_endgrent HAS_ENDGRENT /**/
2428 * This symbol, if defined, indicates that the endhostent() routine is
2429 * available to close whatever was being used for host queries.
2431 #$d_endhent HAS_ENDHOSTENT /**/
2434 * This symbol, if defined, indicates that the endnetent() routine is
2435 * available to close whatever was being used for network queries.
2437 #$d_endnent HAS_ENDNETENT /**/
2440 * This symbol, if defined, indicates that the endprotoent() routine is
2441 * available to close whatever was being used for protocol queries.
2443 #$d_endpent HAS_ENDPROTOENT /**/
2446 * This symbol, if defined, indicates that the getgrent routine is
2447 * available for finalizing sequential access of the passwd database.
2449 #$d_endpwent HAS_ENDPWENT /**/
2452 * This symbol, if defined, indicates that the endservent() routine is
2453 * available to close whatever was being used for service queries.
2455 #$d_endsent HAS_ENDSERVENT /**/
2458 * This symbol, if defined, indicates that the system supports filenames
2459 * longer than 14 characters.
2461 #$d_flexfnam FLEXFILENAMES /**/
2464 * This symbol, if defined, indicates that the getgrent routine is
2465 * available for sequential access of the group database.
2467 #$d_getgrent HAS_GETGRENT /**/
2469 /* HAS_GETHOSTBYADDR:
2470 * This symbol, if defined, indicates that the gethostbyaddr() routine is
2471 * available to look up hosts by their IP addresses.
2473 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
2475 /* HAS_GETHOSTBYNAME:
2476 * This symbol, if defined, indicates that the gethostbyname() routine is
2477 * available to look up host names in some data base or other.
2479 #$d_gethbyname HAS_GETHOSTBYNAME /**/
2482 * This symbol, if defined, indicates that the gethostent() routine is
2483 * available to look up host names in some data base or another.
2485 #$d_gethent HAS_GETHOSTENT /**/
2488 * This symbol, if defined, indicates that the C program may use the
2489 * gethostname() routine to derive the host name. See also HAS_UNAME
2493 * This symbol, if defined, indicates that the C program may use the
2494 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
2498 * This symbol, if defined, indicates the command to feed to the
2499 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
2500 * and HAS_UNAME. Note that the command uses a fully qualified path,
2501 * so that it is safe even if used by a process with super-user
2505 * This symbol, if defined, indicates that the C program may use the
2506 * contents of PHOSTNAME as a command to feed to the popen() routine
2507 * to derive the host name.
2509 #$d_gethname HAS_GETHOSTNAME /**/
2510 #$d_uname HAS_UNAME /**/
2511 #$d_phostname HAS_PHOSTNAME /**/
2512 #ifdef HAS_PHOSTNAME
2513 #define PHOSTNAME "$aphostname" /* How to get the host name */
2516 /* HAS_GETNETBYADDR:
2517 * This symbol, if defined, indicates that the getnetbyaddr() routine is
2518 * available to look up networks by their IP addresses.
2520 #$d_getnbyaddr HAS_GETNETBYADDR /**/
2522 /* HAS_GETNETBYNAME:
2523 * This symbol, if defined, indicates that the getnetbyname() routine is
2524 * available to look up networks by their names.
2526 #$d_getnbyname HAS_GETNETBYNAME /**/
2529 * This symbol, if defined, indicates that the getnetent() routine is
2530 * available to look up network names in some data base or another.
2532 #$d_getnent HAS_GETNETENT /**/
2535 * This symbol, if defined, indicates that the getprotoent() routine is
2536 * available to look up protocols in some data base or another.
2538 #$d_getpent HAS_GETPROTOENT /**/
2541 * This symbol, if defined, indicates that the getpgrp routine is
2542 * available to get the current process group.
2545 * This symbol, if defined, indicates that getpgrp needs one
2546 * arguments whereas USG one needs none.
2548 #$d_getpgrp HAS_GETPGRP /**/
2549 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
2551 /* HAS_GETPROTOBYNAME:
2552 * This symbol, if defined, indicates that the getprotobyname()
2553 * routine is available to look up protocols by their name.
2555 /* HAS_GETPROTOBYNUMBER:
2556 * This symbol, if defined, indicates that the getprotobynumber()
2557 * routine is available to look up protocols by their number.
2559 #$d_getpbyname HAS_GETPROTOBYNAME /**/
2560 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
2563 * This symbol, if defined, indicates that the getpwent routine is
2564 * available for sequential access of the passwd database.
2565 * If this is not available, the older getpw() function may be available.
2567 #$d_getpwent HAS_GETPWENT /**/
2570 * This symbol, if defined, indicates that the getservent() routine is
2571 * available to look up network services in some data base or another.
2573 #$d_getsent HAS_GETSERVENT /**/
2575 /* HAS_GETSERVBYNAME:
2576 * This symbol, if defined, indicates that the getservbyname()
2577 * routine is available to look up services by their name.
2579 /* HAS_GETSERVBYPORT:
2580 * This symbol, if defined, indicates that the getservbyport()
2581 * routine is available to look up services by their port.
2583 #$d_getsbyname HAS_GETSERVBYNAME /**/
2584 #$d_getsbyport HAS_GETSERVBYPORT /**/
2587 * This symbol, if defined, indicates that the htonl() routine (and
2588 * friends htons() ntohl() ntohs()) are available to do network
2589 * order byte swapping.
2592 * This symbol, if defined, indicates that the htons() routine (and
2593 * friends htonl() ntohl() ntohs()) are available to do network
2594 * order byte swapping.
2597 * This symbol, if defined, indicates that the ntohl() routine (and
2598 * friends htonl() htons() ntohs()) are available to do network
2599 * order byte swapping.
2602 * This symbol, if defined, indicates that the ntohs() routine (and
2603 * friends htonl() htons() ntohl()) are available to do network
2604 * order byte swapping.
2606 #$d_htonl HAS_HTONL /**/
2607 #$d_htonl HAS_HTONS /**/
2608 #$d_htonl HAS_NTOHL /**/
2609 #$d_htonl HAS_NTOHS /**/
2612 * This symbol will be defined if the C compiler supports long
2616 * This symbol contains the size of a long double, so that the
2617 * C preprocessor can make decisions based on it. It is only
2618 * defined if the system supports long doubles.
2620 #$d_longdbl HAS_LONG_DOUBLE /**/
2621 #ifdef HAS_LONG_DOUBLE
2622 #define LONG_DOUBLESIZE $longdblsize /**/
2626 * This symbol will be defined if the C compiler supports long long.
2629 * This symbol contains the size of a long long, so that the
2630 * C preprocessor can make decisions based on it. It is only
2631 * defined if the system supports long long.
2633 #$d_longlong HAS_LONG_LONG /**/
2634 #ifdef HAS_LONG_LONG
2635 #define LONGLONGSIZE $longlongsize /**/
2639 * This symbol, if defined, indicates that the memchr routine is available
2640 * to locate characters within a C string.
2642 #$d_memchr HAS_MEMCHR /**/
2645 * This symbol, if defined, indicates that the mkstemp routine is
2646 * available to exclusively create and open a uniquely named
2649 #$d_mkstemp HAS_MKSTEMP /**/
2652 * This symbol, if defined, indicates that the mmap system call is
2653 * available to map a file into memory.
2656 * This symbol holds the return type of the mmap() system call
2657 * (and simultaneously the type of the first argument).
2658 * Usually set to 'void *' or 'caddr_t'.
2660 #$d_mmap HAS_MMAP /**/
2661 #define Mmap_t $mmaptype /**/
2664 * This symbol, if defined, indicates that the entire msg*(2) library is
2665 * supported (IPC mechanism based on message queues).
2667 #$d_msg HAS_MSG /**/
2670 * This symbol, if defined, indicates that the entire sem*(2) library is
2673 #$d_sem HAS_SEM /**/
2676 * This symbol, if defined, indicates that the setgrent routine is
2677 * available for initializing sequential access of the group database.
2679 #$d_setgrent HAS_SETGRENT /**/
2682 * This symbol, if defined, indicates that the sethostent() routine is
2685 #$d_sethent HAS_SETHOSTENT /**/
2688 * This symbol, if defined, indicates that the setnetent() routine is
2691 #$d_setnent HAS_SETNETENT /**/
2694 * This symbol, if defined, indicates that the setprotoent() routine is
2697 #$d_setpent HAS_SETPROTOENT /**/
2700 * This symbol, if defined, indicates that the setpgrp routine is
2701 * available to set the current process group.
2704 * This symbol, if defined, indicates that setpgrp needs two
2705 * arguments whereas USG one needs none. See also HAS_SETPGID
2706 * for a POSIX interface.
2708 #$d_setpgrp HAS_SETPGRP /**/
2709 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2712 * This symbol, if defined, indicates that the setpwent routine is
2713 * available for initializing sequential access of the passwd database.
2715 #$d_setpwent HAS_SETPWENT /**/
2718 * This symbol, if defined, indicates that the setservent() routine is
2721 #$d_setsent HAS_SETSERVENT /**/
2724 * This symbol, if defined, indicates that the setvbuf routine is
2725 * available to change buffering on an open stdio stream.
2726 * to a line-buffered mode.
2728 #$d_setvbuf HAS_SETVBUF /**/
2731 * This symbol, if defined, indicates that the entire shm*(2) library is
2734 #$d_shm HAS_SHM /**/
2737 * This symbol holds the return type of the shmat() system call.
2738 * Usually set to 'void *' or 'char *'.
2740 /* HAS_SHMAT_PROTOTYPE:
2741 * This symbol, if defined, indicates that the sys/shm.h includes
2742 * a prototype for shmat(). Otherwise, it is up to the program to
2743 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2744 * but not always right so it should be emitted by the program only
2745 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2747 #define Shmat_t $shmattype /**/
2748 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2751 * This symbol, if defined, indicates that the BSD socket interface is
2755 * This symbol, if defined, indicates that the BSD socketpair() call is
2759 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2760 * Checking just with #ifdef might not be enough because this symbol
2761 * has been known to be an enum.
2763 /* HAS_MSG_DONTROUTE:
2764 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2765 * Checking just with #ifdef might not be enough because this symbol
2766 * has been known to be an enum.
2769 * This symbol, if defined, indicates that the MSG_OOB is supported.
2770 * Checking just with #ifdef might not be enough because this symbol
2771 * has been known to be an enum.
2774 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2775 * Checking just with #ifdef might not be enough because this symbol
2776 * has been known to be an enum.
2779 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2780 * Checking just with #ifdef might not be enough because this symbol
2781 * has been known to be an enum.
2784 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2785 * Checking just with #ifdef might not be enough because this symbol
2786 * has been known to be an enum.
2788 /* HAS_SOCKADDR_SA_LEN:
2789 * This symbol, if defined, indicates that the struct sockaddr
2790 * structure has a member called sa_len, indicating the length of
2793 /* HAS_SIN6_SCOPE_ID:
2794 * This symbol, if defined, indicates that the struct sockaddr_in6
2795 * structure has a member called sin6_scope_id.
2797 #$d_socket HAS_SOCKET /**/
2798 #$d_sockpair HAS_SOCKETPAIR /**/
2799 #$d_sockaddr_sa_len HAS_SOCKADDR_SA_LEN /**/
2800 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2801 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2802 #$d_msg_oob HAS_MSG_OOB /**/
2803 #$d_msg_peek HAS_MSG_PEEK /**/
2804 #$d_msg_proxy HAS_MSG_PROXY /**/
2805 #$d_scm_rights HAS_SCM_RIGHTS /**/
2806 #$d_sin6_scope_id HAS_SIN6_SCOPE_ID /**/
2809 * This symbol is defined if this system has a stat structure declaring
2810 * st_blksize and st_blocks.
2812 #ifndef USE_STAT_BLOCKS
2813 #$d_statblks USE_STAT_BLOCKS /**/
2817 * This symbol, if defined, indicates that this C compiler knows how
2818 * to copy structures. If undefined, you'll need to use a block copy
2819 * routine of some sort instead.
2821 #$d_strctcpy USE_STRUCT_COPY /**/
2824 * This symbol, if defined, indicates that the strerror routine is
2825 * available to translate error numbers to strings. See the writeup
2826 * of Strerror() in this file before you try to define your own.
2829 * This symbol, if defined, indicates that the sys_errlist array is
2830 * available to translate error numbers to strings. The extern int
2831 * sys_nerr gives the size of that table.
2834 * This preprocessor symbol is defined as a macro if strerror() is
2835 * not available to translate error numbers to strings but sys_errlist[]
2838 #$d_strerror HAS_STRERROR /**/
2839 #$d_syserrlst HAS_SYS_ERRLIST /**/
2840 #define Strerror(e) $d_strerrm
2843 * This symbol, if defined, indicates that the strtoul routine is
2844 * available to provide conversion of strings to unsigned long.
2846 #$d_strtoul HAS_STRTOUL /**/
2849 * This symbol, if defined, indicates that the union semun is
2850 * defined by including <sys/sem.h>. If not, the user code
2851 * probably needs to define it as:
2854 * struct semid_ds *buf;
2855 * unsigned short *array;
2858 /* USE_SEMCTL_SEMUN:
2859 * This symbol, if defined, indicates that union semun is
2860 * used for semctl IPC_STAT.
2862 /* USE_SEMCTL_SEMID_DS:
2863 * This symbol, if defined, indicates that struct semid_ds * is
2864 * used for semctl IPC_STAT.
2866 #$d_union_semun HAS_UNION_SEMUN /**/
2867 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2868 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2871 * This symbol, if defined, indicates that vfork() exists.
2873 #$d_vfork HAS_VFORK /**/
2876 * This symbol, if defined, indicates that an emulation of the
2877 * fork routine is available.
2879 #$d_pseudofork HAS_PSEUDOFORK /**/
2882 * This symbol's value is either "void" or "int", corresponding to the
2883 * appropriate return type of a signal handler. Thus, you can declare
2884 * a signal handler using "Signal_t (*handler)()", and define the
2885 * handler using "Signal_t handler(sig)".
2887 #define Signal_t $signal_t /* Signal handler's return type */
2890 * This symbol, if defined, indicates that this C compiler knows about
2891 * the volatile declaration.
2893 #$d_volatile HASVOLATILE /**/
2899 * This symbol, if defined, indicates to the C program that it should
2900 * include <dirent.h>. Using this symbol also triggers the definition
2901 * of the Direntry_t define which ends up being 'struct dirent' or
2902 * 'struct direct' depending on the availability of <dirent.h>.
2905 * This symbol, if defined, indicates to the C program that the length
2906 * of directory entry names is provided by a d_namlen field. Otherwise
2907 * you need to do strlen() on the d_name field.
2910 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2911 * whether dirent is available or not. You should use this pseudo type to
2912 * portably declare your directory entries.
2914 #$i_dirent I_DIRENT /**/
2915 #$d_dirnamlen DIRNAMLEN /**/
2916 #define Direntry_t $direntrytype
2919 * This symbol, if defined, indicates to the C program that it should
2923 * This symbol, if defined, indicates to the C program that struct group
2924 * in <grp.h> contains gr_passwd.
2927 #$d_grpasswd GRPASSWD /**/
2930 * This symbol, if defined, indicates that <ndbm.h> exists and should
2934 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2935 * be included. This was the location of the ndbm.h compatibility file
2939 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2940 * be included. This is the location of the ndbm.h compatibility file
2943 /* NDBM_H_USES_PROTOTYPES:
2944 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2945 * prototypes instead of K&R style function declarations without any
2946 * parameter information. While ANSI C prototypes are supported in C++,
2947 * K&R style function declarations will yield errors.
2949 /* GDBMNDBM_H_USES_PROTOTYPES:
2950 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2951 * prototypes instead of K&R style function declarations without any
2952 * parameter information. While ANSI C prototypes are supported in C++,
2953 * K&R style function declarations will yield errors.
2955 /* GDBM_NDBM_H_USES_PROTOTYPES:
2956 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2957 * prototypes instead of K&R style function declarations without any
2958 * parameter information. While ANSI C prototypes are supported in C++,
2959 * K&R style function declarations will yield errors.
2961 #$i_ndbm I_NDBM /**/
2962 #$i_gdbmndbm I_GDBMNDBM /**/
2963 #$i_gdbm_ndbm I_GDBM_NDBM /**/
2964 #$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
2965 #$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
2966 #$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
2969 * This symbol, if defined, indicates that <netdb.h> exists and
2970 * should be included.
2972 #$i_netdb I_NETDB /**/
2975 * This symbol, if defined, indicates that <net/errno.h> exists and
2976 * should be included.
2978 #$i_neterrno I_NET_ERRNO /**/
2981 * This symbol, if defined, indicates to the C program that it should
2985 * This symbol, if defined, indicates to the C program that struct passwd
2986 * contains pw_quota.
2989 * This symbol, if defined, indicates to the C program that struct passwd
2993 * This symbol, if defined, indicates to the C program that struct passwd
2994 * contains pw_change.
2997 * This symbol, if defined, indicates to the C program that struct passwd
2998 * contains pw_class.
3001 * This symbol, if defined, indicates to the C program that struct passwd
3002 * contains pw_expire.
3005 * This symbol, if defined, indicates to the C program that struct passwd
3006 * contains pw_comment.
3009 * This symbol, if defined, indicates to the C program that struct passwd
3010 * contains pw_gecos.
3013 * This symbol, if defined, indicates to the C program that struct passwd
3014 * contains pw_passwd.
3017 #$d_pwquota PWQUOTA /**/
3018 #$d_pwage PWAGE /**/
3019 #$d_pwchange PWCHANGE /**/
3020 #$d_pwclass PWCLASS /**/
3021 #$d_pwexpire PWEXPIRE /**/
3022 #$d_pwcomment PWCOMMENT /**/
3023 #$d_pwgecos PWGECOS /**/
3024 #$d_pwpasswd PWPASSWD /**/
3027 * This symbol, if defined, indicates that <sys/uio.h> exists and
3028 * should be included.
3030 #$i_sysuio I_SYSUIO /**/
3033 * This symbol, if defined, indicates that <stdarg.h> exists and should
3037 * This symbol, if defined, indicates to the C program that it should
3038 * include <varargs.h>.
3040 #$i_stdarg I_STDARG /**/
3041 #$i_varargs I_VARARGS /**/
3044 * This variable contains the return type of free(). It is usually
3045 * void, but occasionally int.
3048 * This symbol is the type of pointer returned by malloc and realloc.
3050 #define Malloc_t $malloctype /**/
3051 #define Free_t $freetype /**/
3053 /* PERL_MALLOC_WRAP:
3054 * This symbol, if defined, indicates that we'd like malloc wrap checks.
3056 #$usemallocwrap PERL_MALLOC_WRAP /**/
3059 * This symbol, if defined, indicates that we're using our own malloc.
3061 #$d_mymalloc MYMALLOC /**/
3064 * If defined, this macro indicates that the C compiler can handle
3065 * function prototypes.
3068 * This macro is used to declare function parameters for folks who want
3069 * to make declarations with prototypes using a different style than
3070 * the above macros. Use double parentheses. For example:
3072 * int main _((int argc, char *argv[]));
3074 #$prototype CAN_PROTOTYPE /**/
3075 #ifdef CAN_PROTOTYPE
3076 #define _(args) args
3082 * This symbol contains the full pathname to the shell used on this
3083 * on this system to execute Bourne shell scripts. Usually, this will be
3084 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3085 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3088 #define SH_PATH "$sh" /**/
3091 * This symbol contains a list of signal names in order of
3092 * signal number. This is intended
3093 * to be used as a static array initialization, like this:
3094 * char *sig_name[] = { SIG_NAME };
3095 * The signals in the list are separated with commas, and each signal
3096 * is surrounded by double quotes. There is no leading SIG in the signal
3097 * name, i.e. SIGQUIT is known as "QUIT".
3098 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3099 * etc., where nn is the actual signal number (e.g. NUM37).
3100 * The signal number for sig_name[i] is stored in sig_num[i].
3101 * The last element is 0 to terminate the list with a NULL. This
3102 * corresponds to the 0 at the end of the sig_name_init list.
3103 * Note that this variable is initialized from the sig_name_init,
3104 * not from sig_name (which is unused).
3107 * This symbol contains a list of signal numbers, in the same order as the
3108 * SIG_NAME list. It is suitable for static array initialization, as in:
3109 * int sig_num[] = { SIG_NUM };
3110 * The signals in the list are separated with commas, and the indices
3111 * within that list and the SIG_NAME list match, so it's easy to compute
3112 * the signal name from a number or vice versa at the price of a small
3113 * dynamic linear lookup.
3114 * Duplicates are allowed, but are moved to the end of the list.
3115 * The signal number corresponding to sig_name[i] is sig_number[i].
3116 * if (i < NSIG) then sig_number[i] == i.
3117 * The last element is 0, corresponding to the 0 at the end of
3118 * the sig_name_init list.
3119 * Note that this variable is initialized from the sig_num_init,
3120 * not from sig_num (which is unused).
3123 * This variable contains the number of elements of the SIG_NAME
3124 * and SIG_NUM arrays, excluding the final NULL entry.
3126 #define SIG_NAME $sig_name_init /**/
3127 #define SIG_NUM $sig_num_init /**/
3128 #define SIG_SIZE $sig_size /**/
3131 * This symbol is defined to be the type of char used in stdio.h.
3132 * It has the values "unsigned char" or "char".
3134 #define STDCHAR $stdchar /**/
3137 * This symbol indicates how much support of the void type is given by this
3138 * compiler. What various bits mean:
3140 * 1 = supports declaration of void
3141 * 2 = supports arrays of pointers to functions returning void
3142 * 4 = supports comparisons between pointers to void functions and
3143 * addresses of void functions
3144 * 8 = supports declaration of generic void pointers
3146 * The package designer should define VOIDUSED to indicate the requirements
3147 * of the package. This can be done either by #defining VOIDUSED before
3148 * including config.h, or by defining defvoidused in Myinit.U. If the
3149 * latter approach is taken, only those flags will be tested. If the
3150 * level of void support necessary is not present, defines void to int.
3153 #define VOIDUSED $defvoidused
3155 #define VOIDFLAGS $voidflags
3156 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3157 #define void int /* is void to be avoided? */
3158 #define M_VOID /* Xenix strikes again */
3162 * This symbol, if defined, indicates that Perl was configured with
3163 * -Dusedevel, to enable development features. This should not be
3164 * done for production builds.
3166 #$usedevel PERL_USE_DEVEL /**/
3169 * This symbol, if defined, indicates that the atolf routine is
3170 * available to convert strings into long doubles.
3172 #$d_atolf HAS_ATOLF /**/
3175 * This symbol, if defined, indicates that the atoll routine is
3176 * available to convert strings into long longs.
3178 #$d_atoll HAS_ATOLL /**/
3181 * This symbol, if defined, indicates that the _fwalk system call is
3182 * available to apply a function to all the file handles.
3184 #$d__fwalk HAS__FWALK /**/
3187 * This symbol, if defined, indicates that the aintl routine is
3188 * available. If copysignl is also present we can emulate modfl.
3190 #$d_aintl HAS_AINTL /**/
3192 /* HAS_BUILTIN_CHOOSE_EXPR:
3193 * Can we handle GCC builtin for compile-time ternary-like expressions
3195 /* HAS_BUILTIN_EXPECT:
3196 * Can we handle GCC builtin for telling that certain values are more
3199 #$d_builtin_expect HAS_BUILTIN_EXPECT /**/
3200 #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
3202 /* HAS_C99_VARIADIC_MACROS:
3203 * If defined, the compiler supports C99 variadic macros.
3205 #$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
3208 * This symbol, if defined, indicates that the class routine is
3209 * available to classify doubles. Available for example in AIX.
3210 * The returned values are defined in <float.h> and are:
3212 * FP_PLUS_NORM Positive normalized, nonzero
3213 * FP_MINUS_NORM Negative normalized, nonzero
3214 * FP_PLUS_DENORM Positive denormalized, nonzero
3215 * FP_MINUS_DENORM Negative denormalized, nonzero
3217 * FP_MINUS_ZERO -0.0
3220 * FP_NANS Signaling Not a Number (NaNS)
3221 * FP_NANQ Quiet Not a Number (NaNQ)
3223 #$d_class HAS_CLASS /**/
3226 * This symbol, if defined, indicates that the clearenv () routine is
3227 * available for use.
3229 #$d_clearenv HAS_CLEARENV /**/
3231 /* HAS_STRUCT_CMSGHDR:
3232 * This symbol, if defined, indicates that the struct cmsghdr
3235 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
3238 * This symbol, if defined, indicates that the copysignl routine is
3239 * available. If aintl is also present we can emulate modfl.
3241 #$d_copysignl HAS_COPYSIGNL /**/
3244 * This symbol, if defined, indicates that a C++ compiler was
3245 * used to compiled Perl and will be used to compile extensions.
3247 #$d_cplusplus USE_CPLUSPLUS /**/
3249 /* HAS_DBMINIT_PROTO:
3250 * This symbol, if defined, indicates that the system provides
3251 * a prototype for the dbminit() function. Otherwise, it is up
3252 * to the program to supply one. A good guess is
3253 * extern int dbminit(char *);
3255 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
3258 * This symbol, if defined, indicates that the the DIR* dirstream
3259 * structure contains a member variable named dd_fd.
3261 #$d_dir_dd_fd HAS_DIR_DD_FD /**/
3264 * This manifest constant lets the C program know that dirfd
3267 #$d_dirfd HAS_DIRFD /**/
3269 /* DLSYM_NEEDS_UNDERSCORE:
3270 * This symbol, if defined, indicates that we need to prepend an
3271 * underscore to the symbol name before calling dlsym(). This only
3272 * makes sense if you *have* dlsym, which we will presume is the
3273 * case if you're using dl_dlopen.xs.
3275 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
3278 * This symbol, if defined, indicates that the "fast stdio"
3279 * is available to manipulate the stdio buffers directly.
3281 #$d_faststdio HAS_FAST_STDIO /**/
3284 * This symbol, if defined, indicates that the fchdir routine is
3285 * available to change directory using a file descriptor.
3287 #$d_fchdir HAS_FCHDIR /**/
3290 * This symbol, if defined, indicates that fcntl() can be used
3291 * for file locking. Normally on Unix systems this is defined.
3292 * It may be undefined on VMS.
3294 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
3297 * This symbol, if defined, indicates that the finite routine is
3298 * available to check whether a double is finite (non-infinity non-NaN).
3300 #$d_finite HAS_FINITE /**/
3303 * This symbol, if defined, indicates that the finitel routine is
3304 * available to check whether a long double is finite
3305 * (non-infinity non-NaN).
3307 #$d_finitel HAS_FINITEL /**/
3310 * This symbol, if defined, indicates that the system provides
3311 * a prototype for the flock() function. Otherwise, it is up
3312 * to the program to supply one. A good guess is
3313 * extern int flock(int, int);
3315 #$d_flockproto HAS_FLOCK_PROTO /**/
3318 * This symbol, if defined, indicates that the fp_class routine is
3319 * available to classify doubles. Available for example in Digital UNIX.
3320 * The returned values are defined in <math.h> and are:
3322 * FP_SNAN Signaling NaN (Not-a-Number)
3323 * FP_QNAN Quiet NaN (Not-a-Number)
3324 * FP_POS_INF +infinity
3325 * FP_NEG_INF -infinity
3326 * FP_POS_NORM Positive normalized
3327 * FP_NEG_NORM Negative normalized
3328 * FP_POS_DENORM Positive denormalized
3329 * FP_NEG_DENORM Negative denormalized
3330 * FP_POS_ZERO +0.0 (positive zero)
3331 * FP_NEG_ZERO -0.0 (negative zero)
3333 #$d_fp_class HAS_FP_CLASS /**/
3336 * This symbol, if defined, indicates that the fpclass routine is
3337 * available to classify doubles. Available for example in Solaris/SVR4.
3338 * The returned values are defined in <ieeefp.h> and are:
3340 * FP_SNAN signaling NaN
3342 * FP_NINF negative infinity
3343 * FP_PINF positive infinity
3344 * FP_NDENORM negative denormalized non-zero
3345 * FP_PDENORM positive denormalized non-zero
3346 * FP_NZERO negative zero
3347 * FP_PZERO positive zero
3348 * FP_NNORM negative normalized non-zero
3349 * FP_PNORM positive normalized non-zero
3351 #$d_fpclass HAS_FPCLASS /**/
3354 * This symbol, if defined, indicates that the fpclassify routine is
3355 * available to classify doubles. Available for example in HP-UX.
3356 * The returned values are defined in <math.h> and are
3358 * FP_NORMAL Normalized
3360 * FP_INFINITE Infinity
3361 * FP_SUBNORMAL Denormalized
3365 #$d_fpclassify HAS_FPCLASSIFY /**/
3368 * This symbol, if defined, indicates that the fpclassl routine is
3369 * available to classify long doubles. Available for example in IRIX.
3370 * The returned values are defined in <ieeefp.h> and are:
3372 * FP_SNAN signaling NaN
3374 * FP_NINF negative infinity
3375 * FP_PINF positive infinity
3376 * FP_NDENORM negative denormalized non-zero
3377 * FP_PDENORM positive denormalized non-zero
3378 * FP_NZERO negative zero
3379 * FP_PZERO positive zero
3380 * FP_NNORM negative normalized non-zero
3381 * FP_PNORM positive normalized non-zero
3383 #$d_fpclassl HAS_FPCLASSL /**/
3386 * This symbol will be defined if the C compiler supports fpos64_t.
3388 #$d_fpos64_t HAS_FPOS64_T /**/
3391 * This symbol, if defined, indicates that the frexpl routine is
3392 * available to break a long double floating-point number into
3393 * a normalized fraction and an integral power of 2.
3395 #$d_frexpl HAS_FREXPL /**/
3397 /* HAS_STRUCT_FS_DATA:
3398 * This symbol, if defined, indicates that the struct fs_data
3399 * to do statfs() is supported.
3401 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
3404 * This symbol, if defined, indicates that the fseeko routine is
3405 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3407 #$d_fseeko HAS_FSEEKO /**/
3410 * This symbol, if defined, indicates that the fstatfs routine is
3411 * available to stat filesystems by file descriptors.
3413 #$d_fstatfs HAS_FSTATFS /**/
3416 * This symbol, if defined, indicates that the fsync routine is
3417 * available to write a file's modified data and attributes to
3418 * permanent storage.
3420 #$d_fsync HAS_FSYNC /**/
3423 * This symbol, if defined, indicates that the ftello routine is
3424 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3426 #$d_ftello HAS_FTELLO /**/
3429 * This symbol, if defined, indicates that the futimes routine is
3430 * available to change file descriptor time stamps with struct timevals.
3432 #$d_futimes HAS_FUTIMES /**/
3435 * This symbol, if defined, indicates that the getaddrinfo() function
3436 * is available for use.
3438 #$d_getaddrinfo HAS_GETADDRINFO /**/
3441 * This symbol, if defined, indicates that the getcwd routine is
3442 * available to get the current working directory.
3444 #$d_getcwd HAS_GETCWD /**/
3447 * This symbol, if defined, indicates that the getespwnam system call is
3448 * available to retrieve enhanced (shadow) password entries by name.
3450 #$d_getespwnam HAS_GETESPWNAM /**/
3453 * This symbol, if defined, indicates that the getfsstat routine is
3454 * available to stat filesystems in bulk.
3456 #$d_getfsstat HAS_GETFSSTAT /**/
3459 * This symbol, if defined, indicates that the getitimer routine is
3460 * available to return interval timers.
3462 #$d_getitimer HAS_GETITIMER /**/
3465 * This symbol, if defined, indicates that the getmnt routine is
3466 * available to get filesystem mount info by filename.
3468 #$d_getmnt HAS_GETMNT /**/
3471 * This symbol, if defined, indicates that the getmntent routine is
3472 * available to iterate through mounted file systems to get their info.
3474 #$d_getmntent HAS_GETMNTENT /**/
3477 * This symbol, if defined, indicates that the getnameinfo() function
3478 * is available for use.
3480 #$d_getnameinfo HAS_GETNAMEINFO /**/
3483 * This symbol, if defined, indicates that the getprpwnam system call is
3484 * available to retrieve protected (shadow) password entries by name.
3486 #$d_getprpwnam HAS_GETPRPWNAM /**/
3489 * This symbol, if defined, indicates that the getspnam system call is
3490 * available to retrieve SysV shadow password entries by name.
3492 #$d_getspnam HAS_GETSPNAM /**/
3495 * This symbol, if defined, indicates that the hasmntopt routine is
3496 * available to query the mount options of file systems.
3498 #$d_hasmntopt HAS_HASMNTOPT /**/
3501 * This symbol, if defined, indicates that the ilogbl routine is
3502 * available. If scalbnl is also present we can emulate frexpl.
3504 #$d_ilogbl HAS_ILOGBL /**/
3507 * This symbol, if defined, indicates that the inet_ntop() function
3508 * is available to parse IPv4 and IPv6 strings.
3510 #$d_inetntop HAS_INETNTOP /**/
3513 * This symbol, if defined, indicates that the inet_pton() function
3514 * is available to parse IPv4 and IPv6 strings.
3516 #$d_inetpton HAS_INETPTON /**/
3519 * This symbol will defined if the C compiler supports int64_t.
3520 * Usually the <inttypes.h> needs to be included, but sometimes
3521 * <sys/types.h> is enough.
3523 #$d_int64_t HAS_INT64_T /**/
3526 * This symbol, if defined, indicates that the isfinite routine is
3527 * available to check whether a double is finite (non-infinity non-NaN).
3529 #$d_isfinite HAS_ISFINITE /**/
3532 * This symbol, if defined, indicates that the isinf routine is
3533 * available to check whether a double is an infinity.
3535 #$d_isinf HAS_ISINF /**/
3538 * This symbol, if defined, indicates that the isnan routine is
3539 * available to check whether a double is a NaN.
3541 #$d_isnan HAS_ISNAN /**/
3544 * This symbol, if defined, indicates that the isnanl routine is
3545 * available to check whether a long double is a NaN.
3547 #$d_isnanl HAS_ISNANL /**/
3550 * This symbol, if defined, indicates that this system's <float.h>
3551 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3552 * of significant digits in a long double precision number. Unlike
3553 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3555 #$d_ldbl_dig HAS_LDBL_DIG /* */
3557 /* LIBM_LIB_VERSION:
3558 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3559 * and that math.h defines the enum to manipulate it.
3561 #$d_libm_lib_version LIBM_LIB_VERSION /**/
3564 * This symbol, if defined, indicates that the madvise system call is
3565 * available to map a file into memory.
3567 #$d_madvise HAS_MADVISE /**/
3570 * This symbol, if defined, indicates that the malloc_size
3571 * routine is available for use.
3573 #$d_malloc_size HAS_MALLOC_SIZE /**/
3575 /* HAS_MALLOC_GOOD_SIZE:
3576 * This symbol, if defined, indicates that the malloc_good_size
3577 * routine is available for use.
3579 #$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3582 * This symbol, if defined, indicates that the mkdtemp routine is
3583 * available to exclusively create a uniquely named temporary directory.
3585 #$d_mkdtemp HAS_MKDTEMP /**/
3588 * This symbol, if defined, indicates that the mkstemps routine is
3589 * available to exclusively create and open a uniquely named
3590 * (with a suffix) temporary file.
3592 #$d_mkstemps HAS_MKSTEMPS /**/
3595 * This symbol, if defined, indicates that the modfl routine is
3596 * available to split a long double x into a fractional part f and
3597 * an integer part i such that |f| < 1.0 and (f + i) = x.
3600 * This symbol, if defined, indicates that the system provides
3601 * a prototype for the modfl() function. Otherwise, it is up
3602 * to the program to supply one.
3604 /* HAS_MODFL_POW32_BUG:
3605 * This symbol, if defined, indicates that the modfl routine is
3606 * broken for long doubles >= pow(2, 32).
3607 * For example from 4294967303.150000 one would get 4294967302.000000
3608 * and 1.150000. The bug has been seen in certain versions of glibc,
3609 * release 2.2.2 is known to be okay.
3611 #$d_modfl HAS_MODFL /**/
3612 #$d_modflproto HAS_MODFL_PROTO /**/
3613 #$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
3616 * This symbol, if defined, indicates that the mprotect system call is
3617 * available to modify the access protection of a memory mapped file.
3619 #$d_mprotect HAS_MPROTECT /**/
3621 /* HAS_STRUCT_MSGHDR:
3622 * This symbol, if defined, indicates that the struct msghdr
3625 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3628 * This symbol, if defined, indicates that the nl_langinfo routine is
3629 * available to return local data. You will also need <langinfo.h>
3630 * and therefore I_LANGINFO.
3632 #$d_nl_langinfo HAS_NL_LANGINFO /**/
3635 * This symbol will be defined if the C compiler supports off64_t.
3637 #$d_off64_t HAS_OFF64_T /**/
3640 * This symbol, if defined, indicates that the prctl routine is
3641 * available to set process title.
3643 /* HAS_PRCTL_SET_NAME:
3644 * This symbol, if defined, indicates that the prctl routine is
3645 * available to set process title and supports PR_SET_NAME.
3647 #$d_prctl HAS_PRCTL /**/
3648 #$d_prctl_set_name HAS_PRCTL_SET_NAME /**/
3651 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3652 * to the absolute pathname of the executing program.
3654 /* PROCSELFEXE_PATH:
3655 * If HAS_PROCSELFEXE is defined this symbol is the filename
3656 * of the symbolic link pointing to the absolute pathname of
3657 * the executing program.
3659 #$d_procselfexe HAS_PROCSELFEXE /**/
3660 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3661 #define PROCSELFEXE_PATH $procselfexe /**/
3664 /* HAS_PTHREAD_ATTR_SETSCOPE:
3665 * This symbol, if defined, indicates that the pthread_attr_setscope
3666 * system call is available to set the contention scope attribute of
3667 * a thread attribute object.
3669 #$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3672 * This symbol, if defined, indicates that the readv routine is
3673 * available to do gather reads. You will also need <sys/uio.h>
3674 * and there I_SYSUIO.
3676 #$d_readv HAS_READV /**/
3679 * This symbol, if defined, indicates that the recvmsg routine is
3680 * available to send structured socket messages.
3682 #$d_recvmsg HAS_RECVMSG /**/
3685 * This symbol, if defined, indicates that the system provides
3686 * a prototype for the sbrk() function. Otherwise, it is up
3687 * to the program to supply one. Good guesses are
3688 * extern void* sbrk(int);
3689 * extern void* sbrk(size_t);
3691 #$d_sbrkproto HAS_SBRK_PROTO /**/
3694 * This symbol, if defined, indicates that the scalbnl routine is
3695 * available. If ilogbl is also present we can emulate frexpl.
3697 #$d_scalbnl HAS_SCALBNL /**/
3700 * This symbol, if defined, indicates that the sendmsg routine is
3701 * available to send structured socket messages.
3703 #$d_sendmsg HAS_SENDMSG /**/
3706 * This symbol, if defined, indicates that the setitimer routine is
3707 * available to set interval timers.
3709 #$d_setitimer HAS_SETITIMER /**/
3711 /* HAS_SETPROCTITLE:
3712 * This symbol, if defined, indicates that the setproctitle routine is
3713 * available to set process title.
3715 #$d_setproctitle HAS_SETPROCTITLE /**/
3718 * This symbol, if defined, indicates that sfio should
3721 #$d_sfio USE_SFIO /**/
3724 * This symbol, if defined, indicates that the signbit routine is
3725 * available to check if the given number has the sign bit set.
3726 * This should include correct testing of -0.0. This will only be set
3727 * if the signbit() routine is safe to use with the NV type used internally
3728 * in perl. Users should call Perl_signbit(), which will be #defined to
3729 * the system's signbit() function or macro if this symbol is defined.
3731 #$d_signbit HAS_SIGNBIT /**/
3734 * This symbol, if defined, indicates that the sigprocmask
3735 * system call is available to examine or change the signal mask
3736 * of the calling process.
3738 #$d_sigprocmask HAS_SIGPROCMASK /**/
3740 /* USE_SITECUSTOMIZE:
3741 * This symbol, if defined, indicates that sitecustomize should
3744 #ifndef USE_SITECUSTOMIZE
3745 #$usesitecustomize USE_SITECUSTOMIZE /**/
3749 * This symbol, if defined, indicates that the snprintf () library
3750 * function is available for use.
3753 * This symbol, if defined, indicates that the vsnprintf () library
3754 * function is available for use.
3756 #$d_snprintf HAS_SNPRINTF /**/
3757 #$d_vsnprintf HAS_VSNPRINTF /**/
3760 * This symbol, if defined, indicates that the sockatmark routine is
3761 * available to test whether a socket is at the out-of-band mark.
3763 #$d_sockatmark HAS_SOCKATMARK /**/
3765 /* HAS_SOCKATMARK_PROTO:
3766 * This symbol, if defined, indicates that the system provides
3767 * a prototype for the sockatmark() function. Otherwise, it is up
3768 * to the program to supply one. A good guess is
3769 * extern int sockatmark(int);
3771 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3774 * This symbol, if defined, indicates that the socks5_init routine is
3775 * available to initialize SOCKS 5.
3777 #$d_socks5_init HAS_SOCKS5_INIT /**/
3779 /* SPRINTF_RETURNS_STRLEN:
3780 * This variable defines whether sprintf returns the length of the string
3781 * (as per the ANSI spec). Some C libraries retain compatibility with
3782 * pre-ANSI C and return a pointer to the passed in buffer; for these
3783 * this variable will be undef.
3785 #$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
3788 * This symbol, if defined, indicates that the sqrtl routine is
3789 * available to do long double square roots.
3791 #$d_sqrtl HAS_SQRTL /**/
3793 /* HAS_SETRESGID_PROTO:
3794 * This symbol, if defined, indicates that the system provides
3795 * a prototype for the setresgid() function. Otherwise, it is up
3796 * to the program to supply one. Good guesses are
3797 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3799 #$d_sresgproto HAS_SETRESGID_PROTO /**/
3801 /* HAS_SETRESUID_PROTO:
3802 * This symbol, if defined, indicates that the system provides
3803 * a prototype for the setresuid() function. Otherwise, it is up
3804 * to the program to supply one. Good guesses are
3805 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3807 #$d_sresuproto HAS_SETRESUID_PROTO /**/
3809 /* HAS_STRUCT_STATFS_F_FLAGS:
3810 * This symbol, if defined, indicates that the struct statfs
3811 * does have the f_flags member containing the mount flags of
3812 * the filesystem containing the file.
3813 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3814 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3815 * have statfs() and struct statfs, they have ustat() and getmnt()
3816 * with struct ustat and struct fs_data.
3818 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
3820 /* HAS_STRUCT_STATFS:
3821 * This symbol, if defined, indicates that the struct statfs
3822 * to do statfs() is supported.
3824 #$d_statfs_s HAS_STRUCT_STATFS /**/
3827 * This symbol, if defined, indicates that the fstatvfs routine is
3828 * available to stat filesystems by file descriptors.
3830 #$d_fstatvfs HAS_FSTATVFS /**/
3833 * This symbol, if defined, indicates that the strftime routine is
3834 * available to do time formatting.
3836 #$d_strftime HAS_STRFTIME /**/
3839 * This symbol, if defined, indicates that the strlcat () routine is
3840 * available to do string concatenation.
3842 #$d_strlcat HAS_STRLCAT /**/
3845 * This symbol, if defined, indicates that the strlcpy () routine is
3846 * available to do string copying.
3848 #$d_strlcpy HAS_STRLCPY /**/
3851 * This symbol, if defined, indicates that the strtold routine is
3852 * available to convert strings to long doubles.
3854 #$d_strtold HAS_STRTOLD /**/
3857 * This symbol, if defined, indicates that the strtoll routine is
3858 * available to convert strings to long longs.
3860 #$d_strtoll HAS_STRTOLL /**/
3863 * This symbol, if defined, indicates that the strtoq routine is
3864 * available to convert strings to long longs (quads).
3866 #$d_strtoq HAS_STRTOQ /**/
3869 * This symbol, if defined, indicates that the strtoull routine is
3870 * available to convert strings to unsigned long longs.
3872 #$d_strtoull HAS_STRTOULL /**/
3875 * This symbol, if defined, indicates that the strtouq routine is
3876 * available to convert strings to unsigned long longs (quads).
3878 #$d_strtouq HAS_STRTOUQ /**/
3880 /* HAS_SYSCALL_PROTO:
3881 * This symbol, if defined, indicates that the system provides
3882 * a prototype for the syscall() function. Otherwise, it is up
3883 * to the program to supply one. Good guesses are
3884 * extern int syscall(int, ...);
3885 * extern int syscall(long, ...);
3887 #$d_syscallproto HAS_SYSCALL_PROTO /**/
3889 /* HAS_TELLDIR_PROTO:
3890 * This symbol, if defined, indicates that the system provides
3891 * a prototype for the telldir() function. Otherwise, it is up
3892 * to the program to supply one. A good guess is
3893 * extern long telldir(DIR*);
3895 #$d_telldirproto HAS_TELLDIR_PROTO /**/
3898 * This symbol, if defined, indicates that the ctime64 () routine is
3899 * available to do the 64bit variant of ctime ()
3902 * This symbol, if defined, indicates that the localtime64 () routine is
3903 * available to do the 64bit variant of localtime ()
3906 * This symbol, if defined, indicates that the gmtime64 () routine is
3907 * available to do the 64bit variant of gmtime ()
3910 * This symbol, if defined, indicates that the mktime64 () routine is
3911 * available to do the 64bit variant of mktime ()
3914 * This symbol, if defined, indicates that the difftime64 () routine is
3915 * available to do the 64bit variant of difftime ()
3918 * This symbol, if defined, indicates that the asctime64 () routine is
3919 * available to do the 64bit variant of asctime ()
3921 #$d_ctime64 HAS_CTIME64 /**/
3922 #$d_localtime64 HAS_LOCALTIME64 /**/
3923 #$d_gmtime64 HAS_GMTIME64 /**/
3924 #$d_mktime64 HAS_MKTIME64 /**/
3925 #$d_difftime64 HAS_DIFFTIME64 /**/
3926 #$d_asctime64 HAS_ASCTIME64 /**/
3929 * This symbol, if defined, indicates that the timegm routine is
3930 * available to do the opposite of gmtime ()
3932 #$d_timegm HAS_TIMEGM /**/
3934 /* U32_ALIGNMENT_REQUIRED:
3935 * This symbol, if defined, indicates that you must access
3936 * character data through U32-aligned pointers.
3938 #ifndef U32_ALIGNMENT_REQUIRED
3939 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
3943 * This symbol, if defined, indicates that the ualarm routine is
3944 * available to do alarms with microsecond granularity.
3946 #$d_ualarm HAS_UALARM /**/
3949 * This symbol, if defined, indicates that the unordered routine is
3950 * available to check whether two doubles are unordered
3951 * (effectively: whether either of them is NaN)
3953 #$d_unordered HAS_UNORDERED /**/
3956 * This symbol, if defined, indicates that the unsetenv () routine is
3957 * available for use.
3959 #$d_unsetenv HAS_UNSETENV /**/
3961 /* HAS_USLEEP_PROTO:
3962 * This symbol, if defined, indicates that the system provides
3963 * a prototype for the usleep() function. Otherwise, it is up
3964 * to the program to supply one. A good guess is
3965 * extern int usleep(useconds_t);
3967 #$d_usleepproto HAS_USLEEP_PROTO /**/
3970 * This symbol, if defined, indicates that the ustat system call is
3971 * available to query file system statistics by dev_t.
3973 #$d_ustat HAS_USTAT /**/
3976 * This symbol, if defined, indicates that the writev routine is
3977 * available to do scatter writes.
3979 #$d_writev HAS_WRITEV /**/
3981 /* USE_DYNAMIC_LOADING:
3982 * This symbol, if defined, indicates that dynamic loading of
3983 * some sort is available.
3985 #$usedl USE_DYNAMIC_LOADING /**/
3988 * This symbol, if defined, tells that fflush(NULL) does flush
3989 * all pending stdio output.
3992 * This symbol, if defined, tells that to flush
3993 * all pending stdio output one must loop through all
3994 * the stdio file handles stored in an array and fflush them.
3995 * Note that if fflushNULL is defined, fflushall will not
3996 * even be probed for and will be left undefined.
3998 #$fflushNULL FFLUSH_NULL /**/
3999 #$fflushall FFLUSH_ALL /**/
4002 * This symbol, if defined, indicates that <assert.h> exists and
4003 * could be included by the C program to get the assert() macro.
4005 #$i_assert I_ASSERT /**/
4008 * This symbol, if defined, indicates that <crypt.h> exists and
4009 * should be included.
4011 #$i_crypt I_CRYPT /**/
4014 * This symbol contains the type of the prefix structure element
4015 * in the <db.h> header file. In older versions of DB, it was
4016 * int, while in newer ones it is u_int32_t.
4019 * This symbol contains the type of the prefix structure element
4020 * in the <db.h> header file. In older versions of DB, it was
4021 * int, while in newer ones it is size_t.
4023 /* DB_VERSION_MAJOR_CFG:
4024 * This symbol, if defined, defines the major version number of
4025 * Berkeley DB found in the <db.h> header when Perl was configured.
4027 /* DB_VERSION_MINOR_CFG:
4028 * This symbol, if defined, defines the minor version number of
4029 * Berkeley DB found in the <db.h> header when Perl was configured.
4030 * For DB version 1 this is always 0.
4032 /* DB_VERSION_PATCH_CFG:
4033 * This symbol, if defined, defines the patch version number of
4034 * Berkeley DB found in the <db.h> header when Perl was configured.
4035 * For DB version 1 this is always 0.
4037 #define DB_Hash_t $db_hashtype /**/
4038 #define DB_Prefix_t $db_prefixtype /**/
4039 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
4040 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
4041 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
4044 * This symbol, if defined, indicates that <fp.h> exists and
4045 * should be included.
4050 * This symbol, if defined, indicates that <fp_class.h> exists and
4051 * should be included.
4053 #$i_fp_class I_FP_CLASS /**/
4056 * This symbol, if defined, indicates that <ieeefp.h> exists and
4057 * should be included.
4059 #$i_ieeefp I_IEEEFP /**/
4062 * This symbol, if defined, indicates to the C program that it should
4063 * include <inttypes.h>.
4065 #$i_inttypes I_INTTYPES /**/
4068 * This symbol, if defined, indicates that <langinfo.h> exists and
4069 * should be included.
4071 #$i_langinfo I_LANGINFO /**/
4074 * This symbol, if defined, indicates that <libutil.h> exists and
4075 * should be included.
4077 #$i_libutil I_LIBUTIL /**/
4080 * This symbol, if defined, indicates to the C program that it should
4081 * include <malloc/malloc.h>.
4083 #$i_mallocmalloc I_MALLOCMALLOC /**/
4086 * This symbol, if defined, indicates that <mntent.h> exists and
4087 * should be included.
4089 #$i_mntent I_MNTENT /**/
4092 * This symbol, if defined, indicates to the C program that it should
4093 * include <netinet/tcp.h>.
4095 #$i_netinettcp I_NETINET_TCP /**/
4098 * This symbol, if defined, indicates that <poll.h> exists and
4099 * should be included. (see also HAS_POLL)
4101 #$i_poll I_POLL /**/
4104 * This symbol, if defined, indicates that <prot.h> exists and
4105 * should be included.
4107 #$i_prot I_PROT /**/
4110 * This symbol, if defined, indicates that <shadow.h> exists and
4111 * should be included.
4113 #$i_shadow I_SHADOW /**/
4116 * This symbol, if defined, indicates that <socks.h> exists and
4117 * should be included.
4119 #$i_socks I_SOCKS /**/
4122 * This symbol, if defined, indicates that <sunmath.h> exists and
4123 * should be included.
4125 #$i_sunmath I_SUNMATH /**/
4128 * This symbol, if defined, indicates that <syslog.h> exists and
4129 * should be included.
4131 #$i_syslog I_SYSLOG /**/
4134 * This symbol, if defined, indicates that <sys/mode.h> exists and
4135 * should be included.
4137 #$i_sysmode I_SYSMODE /**/
4140 * This symbol, if defined, indicates that <sys/mount.h> exists and
4141 * should be included.
4143 #$i_sysmount I_SYS_MOUNT /**/
4146 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4148 #$i_sysstatfs I_SYS_STATFS /**/
4151 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4152 * should be included.
4154 #$i_sysstatvfs I_SYS_STATVFS /**/
4157 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4158 * should be included.
4160 #$i_sysutsname I_SYSUTSNAME /**/
4163 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4164 * should be included.
4166 #$i_sysvfs I_SYS_VFS /**/
4169 * This symbol, if defined, indicates that <ustat.h> exists and
4170 * should be included.
4172 #$i_ustat I_USTAT /**/
4175 * This symbol, if defined, contains the string used by stdio to
4176 * format long doubles (format 'f') for output.
4179 * This symbol, if defined, contains the string used by stdio to
4180 * format long doubles (format 'g') for output.
4183 * This symbol, if defined, contains the string used by stdio to
4184 * format long doubles (format 'e') for output.
4187 * This symbol, if defined, contains the string used by stdio to
4188 * format long doubles (format 'f') for input.
4190 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
4191 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
4192 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
4193 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
4196 * This symbol, if defined, indicates that the Misc Attribution
4197 * Declaration code should be conditionally compiled.
4202 * This symbol, if defined, indicates that the system stores
4203 * the variable argument list datatype, va_list, in a format
4204 * that cannot be copied by simple assignment, so that some
4205 * other means must be used when copying is required.
4206 * As such systems vary in their provision (or non-provision)
4207 * of copying mechanisms, handy.h defines a platform-
4208 * independent macro, Perl_va_copy(src, dst), to do the job.
4210 #$need_va_copy NEED_VA_COPY /**/
4213 * This symbol defines the C type used for Perl's IV.
4216 * This symbol defines the C type used for Perl's UV.
4219 * This symbol defines the C type used for Perl's I8.
4222 * This symbol defines the C type used for Perl's U8.
4225 * This symbol defines the C type used for Perl's I16.
4228 * This symbol defines the C type used for Perl's U16.
4231 * This symbol defines the C type used for Perl's I32.
4234 * This symbol defines the C type used for Perl's U32.
4237 * This symbol defines the C type used for Perl's I64.
4240 * This symbol defines the C type used for Perl's U64.
4243 * This symbol defines the C type used for Perl's NV.
4246 * This symbol contains the sizeof(IV).
4249 * This symbol contains the sizeof(UV).
4252 * This symbol contains the sizeof(I8).
4255 * This symbol contains the sizeof(U8).
4258 * This symbol contains the sizeof(I16).
4261 * This symbol contains the sizeof(U16).
4264 * This symbol contains the sizeof(I32).
4267 * This symbol contains the sizeof(U32).
4270 * This symbol contains the sizeof(I64).
4273 * This symbol contains the sizeof(U64).
4276 * This symbol contains the sizeof(NV).
4279 * This symbol, if defined, indicates that a variable of type NVTYPE
4280 * can preserve all the bits of a variable of type UVTYPE.
4282 /* NV_PRESERVES_UV_BITS:
4283 * This symbol contains the number of bits a variable of type NVTYPE
4284 * can preserve of a variable of type UVTYPE.
4286 /* NV_OVERFLOWS_INTEGERS_AT:
4287 * This symbol gives the largest integer value that NVs can hold. This
4288 * value + 1.0 cannot be stored accurately. It is expressed as constant
4289 * floating point expression to reduce the chance of decimal/binary
4290 * conversion issues. If it can not be determined, the value 0 is given.
4292 /* NV_ZERO_IS_ALLBITS_ZERO:
4293 * This symbol, if defined, indicates that a variable of type NVTYPE
4294 * stores 0.0 in memory as all bits zero.
4296 #define IVTYPE $ivtype /**/
4297 #define UVTYPE $uvtype /**/
4298 #define I8TYPE $i8type /**/
4299 #define U8TYPE $u8type /**/
4300 #define I16TYPE $i16type /**/
4301 #define U16TYPE $u16type /**/
4302 #define I32TYPE $i32type /**/
4303 #define U32TYPE $u32type /**/
4305 #define I64TYPE $i64type /**/
4306 #define U64TYPE $u64type /**/
4308 #define NVTYPE $nvtype /**/
4309 #define IVSIZE $ivsize /**/
4310 #define UVSIZE $uvsize /**/
4311 #define I8SIZE $i8size /**/
4312 #define U8SIZE $u8size /**/
4313 #define I16SIZE $i16size /**/
4314 #define U16SIZE $u16size /**/
4315 #define I32SIZE $i32size /**/
4316 #define U32SIZE $u32size /**/
4318 #define I64SIZE $i64size /**/
4319 #define U64SIZE $u64size /**/
4321 #define NVSIZE $nvsize /**/
4322 #$d_nv_preserves_uv NV_PRESERVES_UV
4323 #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4324 #define NV_OVERFLOWS_INTEGERS_AT $nv_overflows_integers_at
4325 #$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4328 # if BYTEORDER == 0x1234
4330 # define BYTEORDER 0x12345678
4332 # if BYTEORDER == 0x4321
4334 # define BYTEORDER 0x87654321
4341 * This symbol defines the format string used for printing a Perl IV
4342 * as a signed decimal integer.
4345 * This symbol defines the format string used for printing a Perl UV
4346 * as an unsigned decimal integer.
4349 * This symbol defines the format string used for printing a Perl UV
4350 * as an unsigned octal integer.
4353 * This symbol defines the format string used for printing a Perl UV
4354 * as an unsigned hexadecimal integer in lowercase abcdef.
4357 * This symbol defines the format string used for printing a Perl UV
4358 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4361 * This symbol defines the format string used for printing a Perl NV
4362 * using %e-ish floating point format.
4365 * This symbol defines the format string used for printing a Perl NV
4366 * using %f-ish floating point format.
4369 * This symbol defines the format string used for printing a Perl NV
4370 * using %g-ish floating point format.
4372 #define IVdf $ivdformat /**/
4373 #define UVuf $uvuformat /**/
4374 #define UVof $uvoformat /**/
4375 #define UVxf $uvxformat /**/
4376 #define UVXf $uvXUformat /**/
4377 #define NVef $nveformat /**/
4378 #define NVff $nvfformat /**/
4379 #define NVgf $nvgformat /**/
4382 * This symbol holds the minimum number of bits operated by select.
4383 * That is, if you do select(n, ...), how many bits at least will be
4384 * cleared in the masks if some activity is detected. Usually this
4385 * is either n or 32*ceil(n/32), especially many little-endians do
4386 * the latter. This is only useful if you have select(), naturally.
4388 #define SELECT_MIN_BITS $selectminbits /**/
4391 * This variable contains the string to put in front of a perl
4392 * script to make sure (one hopes) that it runs with perl and not
4395 #define STARTPERL "$startperl" /**/
4397 /* HAS_STDIO_STREAM_ARRAY:
4398 * This symbol, if defined, tells that there is an array
4399 * holding the stdio streams.
4401 /* STDIO_STREAM_ARRAY:
4402 * This symbol tells the name of the array holding the stdio streams.
4403 * Usual values include _iob, __iob, and __sF.
4405 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4406 #ifdef HAS_STDIO_STREAM_ARRAY
4407 #define STDIO_STREAM_ARRAY $stdio_stream_array
4411 * This symbol contains the maximum value for the time_t offset that
4412 * the system function gmtime () accepts, and defaults to 0
4415 * This symbol contains the minimum value for the time_t offset that
4416 * the system function gmtime () accepts, and defaults to 0
4419 * This symbol contains the maximum value for the time_t offset that
4420 * the system function localtime () accepts, and defaults to 0
4423 * This symbol contains the minimum value for the time_t offset that
4424 * the system function localtime () accepts, and defaults to 0
4426 #define GMTIME_MAX $sGMTIME_max /**/
4427 #define GMTIME_MIN $sGMTIME_min /**/
4428 #define LOCALTIME_MAX $sLOCALTIME_max /**/
4429 #define LOCALTIME_MIN $sLOCALTIME_min /**/
4432 * This symbol, if defined, indicates that 64-bit integers should
4433 * be used when available. If not defined, the native integers
4434 * will be employed (be they 32 or 64 bits). The minimal possible
4435 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4436 * This may mean using for example "long longs", while your memory
4437 * may still be limited to 2 gigabytes.
4440 * This symbol, if defined, indicates that 64-bit integers should
4441 * be used when available. If not defined, the native integers
4442 * will be used (be they 32 or 64 bits). The maximal possible
4443 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4444 * be able to use more than 2 gigabytes of memory. This mode is
4445 * even more binary incompatible than USE_64_BIT_INT. You may not
4446 * be able to run the resulting executable in a 32-bit CPU at all or
4447 * you may need at least to reboot your OS to 64-bit mode.
4449 #ifndef USE_64_BIT_INT
4450 #$use64bitint USE_64_BIT_INT /**/
4452 #ifndef USE_64_BIT_ALL
4453 #$use64bitall USE_64_BIT_ALL /**/
4457 * This symbol, if defined, indicates that Perl should
4458 * be built with support for DTrace.
4460 #$usedtrace USE_DTRACE /**/
4463 * This symbol, if defined, indicates that Perl should
4464 * be built to use 'fast stdio'.
4465 * Defaults to define in Perls 5.8 and earlier, to undef later.
4467 #ifndef USE_FAST_STDIO
4468 #$usefaststdio USE_FAST_STDIO /**/
4472 * This symbol, if defined, indicates that large file support
4473 * should be used when available.
4475 #ifndef USE_LARGE_FILES
4476 #$uselargefiles USE_LARGE_FILES /**/
4480 * This symbol, if defined, indicates that long doubles should
4481 * be used when available.
4483 #ifndef USE_LONG_DOUBLE
4484 #$uselongdouble USE_LONG_DOUBLE /**/
4488 * This symbol, if defined, indicates that 64-bit interfaces and
4489 * long doubles should be used when available.
4491 #ifndef USE_MORE_BITS
4492 #$usemorebits USE_MORE_BITS /**/
4496 * This symbol, if defined, indicates that Perl should
4497 * be built to use multiplicity.
4499 #ifndef MULTIPLICITY
4500 #$usemultiplicity MULTIPLICITY /**/
4504 * This symbol, if defined, indicates that the PerlIO abstraction should
4505 * be used throughout. If not defined, stdio should be
4506 * used in a fully backward compatible manner.
4509 #$useperlio USE_PERLIO /**/
4513 * This symbol, if defined, indicates that Perl should
4514 * be built to use socks.
4517 #$usesocks USE_SOCKS /**/
4520 /* HAS_DRAND48_PROTO:
4521 * This symbol, if defined, indicates that the system provides
4522 * a prototype for the drand48() function. Otherwise, it is up
4523 * to the program to supply one. A good guess is
4524 * extern double drand48(void);
4526 #$d_drand48proto HAS_DRAND48_PROTO /**/
4528 /* HAS_GETHOST_PROTOS:
4529 * This symbol, if defined, indicates that <netdb.h> includes
4530 * prototypes for gethostent(), gethostbyname(), and
4531 * gethostbyaddr(). Otherwise, it is up to the program to guess
4532 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4534 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
4536 /* HAS_GETNET_PROTOS:
4537 * This symbol, if defined, indicates that <netdb.h> includes
4538 * prototypes for getnetent(), getnetbyname(), and
4539 * getnetbyaddr(). Otherwise, it is up to the program to guess
4540 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4542 #$d_getnetprotos HAS_GETNET_PROTOS /**/
4544 /* HAS_GETPROTO_PROTOS:
4545 * This symbol, if defined, indicates that <netdb.h> includes
4546 * prototypes for getprotoent(), getprotobyname(), and
4547 * getprotobyaddr(). Otherwise, it is up to the program to guess
4548 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4550 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
4552 /* HAS_GETSERV_PROTOS:
4553 * This symbol, if defined, indicates that <netdb.h> includes
4554 * prototypes for getservent(), getservbyname(), and
4555 * getservbyaddr(). Otherwise, it is up to the program to guess
4556 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4558 #$d_getservprotos HAS_GETSERV_PROTOS /**/
4561 * This symbol, if defined, indicates that the system provides
4562 * a prototype for the lseek() function. Otherwise, it is up
4563 * to the program to supply one. A good guess is
4564 * extern off_t lseek(int, off_t, int);
4566 #$d_lseekproto HAS_LSEEK_PROTO /**/
4569 * This symbol holds the type used for the 1st argument
4570 * to gethostbyaddr().
4573 * This symbol holds the type used for the 2nd argument
4574 * to gethostbyaddr().
4577 * This symbol holds the type used for the argument to
4581 * This symbol holds the type used for the 1st argument to
4584 #define Netdb_host_t $netdb_host_type /**/
4585 #define Netdb_hlen_t $netdb_hlen_type /**/
4586 #define Netdb_name_t $netdb_name_type /**/
4587 #define Netdb_net_t $netdb_net_type /**/
4590 * This symbol holds the type used for the 2nd, 3rd, and 4th
4591 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
4592 * is defined, and 'int *' otherwise. This is only useful if you
4593 * have select(), of course.
4595 #define Select_fd_set_t $selecttype /**/
4598 * This symbol holds the type used for the size argument of
4599 * various socket calls (just the base type, not the pointer-to).
4601 #define Sock_size_t $socksizetype /**/
4604 * This symbol, if defined, indicates that the time() routine exists.
4607 * This symbol holds the type returned by time(). It can be long,
4608 * or time_t on BSD sites (in which case <sys/types.h> should be
4611 #$d_time HAS_TIME /**/
4612 #define Time_t $timetype /* Time type */
4615 * This symbol, if defined, indicates that the times() routine exists.
4616 * Note that this became obsolete on some systems (SUNOS), which now
4617 * use getrusage(). It may be necessary to include <sys/times.h>.
4619 #$d_times HAS_TIMES /**/
4622 * This symbol holds the type used to declare file positions in libc.
4623 * It can be fpos_t, long, uint, etc... It may be necessary to include
4624 * <sys/types.h> to get any typedef'ed information.
4626 #define Fpos_t $fpostype /* File position type */
4629 * This symbol defines the format string used for printing a Gid_t.
4631 #define Gid_t_f $gidformat /**/
4634 * This symbol holds the signedess of a Gid_t.
4635 * 1 for unsigned, -1 for signed.
4637 #define Gid_t_sign $gidsign /* GID sign */
4640 * This symbol holds the size of a Gid_t in bytes.
4642 #define Gid_t_size $gidsize /* GID size */
4645 * This symbol holds the return type of getgid() and the type of
4646 * argument to setrgid() and related functions. Typically,
4647 * it is the type of group ids in the kernel. It can be int, ushort,
4648 * gid_t, etc... It may be necessary to include <sys/types.h> to get
4649 * any typedef'ed information.
4651 #define Gid_t $gidtype /* Type for getgid(), etc... */
4654 * This symbol holds the type used to declare offsets in the kernel.
4655 * It can be int, long, off_t, etc... It may be necessary to include
4656 * <sys/types.h> to get any typedef'ed information.
4659 * This symbol holds the number of bytes used by the Off_t.
4662 * This symbol holds the number of bytes used by the Off_t.
4664 #define Off_t $lseektype /* <offset> type */
4665 #define LSEEKSIZE $lseeksize /* <offset> size */
4666 #define Off_t_size $lseeksize /* <offset> size */
4669 * This symbol holds the type used to declare file modes
4670 * for systems calls. It is usually mode_t, but may be
4671 * int or unsigned short. It may be necessary to include <sys/types.h>
4672 * to get any typedef'ed information.
4674 #define Mode_t $modetype /* file mode parameter for system calls */
4677 * This symbol holds the type used to declare process ids in the kernel.
4678 * It can be int, uint, pid_t, etc... It may be necessary to include
4679 * <sys/types.h> to get any typedef'ed information.
4681 #define Pid_t $pidtype /* PID type */
4684 * This symbol holds the size of a Size_t in bytes.
4686 #define Size_t_size $sizesize /* */
4689 * This symbol holds the type used to declare length parameters
4690 * for string functions. It is usually size_t, but may be
4691 * unsigned long, int, etc. It may be necessary to include
4692 * <sys/types.h> to get any typedef'ed information.
4694 #define Size_t $sizetype /* length parameter for string functions */
4697 * This symbol defines the format string used for printing a Uid_t.
4699 #define Uid_t_f $uidformat /**/
4702 * This symbol holds the signedess of a Uid_t.
4703 * 1 for unsigned, -1 for signed.
4705 #define Uid_t_sign $uidsign /* UID sign */
4708 * This symbol holds the size of a Uid_t in bytes.
4710 #define Uid_t_size $uidsize /* UID size */
4713 * This symbol holds the type used to declare user ids in the kernel.
4714 * It can be int, ushort, uid_t, etc... It may be necessary to include
4715 * <sys/types.h> to get any typedef'ed information.
4717 #define Uid_t $uidtype /* UID type */