1 # THIS IS A GENERATED FILE
4 # See Porting/config_h.pl
6 : Set up for generating config_h.SH
8 '') CONFIG_SH=config.sh;;
11 '') CONFIG_H=config.h;;
13 case $PERL_CONFIG_SH in
15 if test -f $CONFIG_SH; then TOP=.;
16 elif test -f ../$CONFIG_SH; then TOP=..;
17 elif test -f ../../$CONFIG_SH; then TOP=../..;
18 elif test -f ../../../$CONFIG_SH; then TOP=../../..;
19 elif test -f ../../../../$CONFIG_SH; then TOP=../../../..;
21 echo "Can't find $CONFIG_SH."; exit 1
27 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
30 already-done) echo "Not re-extracting config.h" ;;
32 echo "Extracting $CONFIG_H (with variable substitutions)"
33 sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
35 * This file was produced by running the config_h.SH script, which
36 * gets its values from $CONFIG_SH, which is generally produced by
39 * Feel free to modify any of this as the need arises. Note, however,
40 * that running config_h.SH again will wipe out any changes you've made.
41 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
43 * \$Id: Config_h.U 1 2006-08-24 12:32:52Z rmanfredi $
47 * Package name : $package
48 * Source directory : $src
49 * Configuration time: $cf_time
50 * Configured by : $cf_by
51 * Target system : $myuname
58 * This symbol holds the complete pathname to the sed program.
60 #define LOC_SED "$full_sed" /**/
63 * This symbol, if defined, indicates that the alarm routine is
66 #$d_alarm HAS_ALARM /**/
69 * This symbol is defined if the bcmp() routine is available to
70 * compare blocks of memory.
72 #$d_bcmp HAS_BCMP /**/
75 * This symbol is defined if the bcopy() routine is available to
76 * copy blocks of memory.
78 #$d_bcopy HAS_BCOPY /**/
81 * This symbol is defined if the bzero() routine is available to
82 * set a memory block to 0.
84 #$d_bzero HAS_BZERO /**/
87 * This symbol, if defined, indicates that the chown routine is
90 #$d_chown HAS_CHOWN /**/
93 * This symbol, if defined, indicates that the chroot routine is
96 #$d_chroot HAS_CHROOT /**/
99 * This symbol, if defined, indicates that the chsize routine is available
100 * to truncate files. You might need a -lx to get this routine.
102 #$d_chsize HAS_CHSIZE /**/
105 * This symbol, if defined, indicates that the ctermid routine is
106 * available to generate filename for terminal.
108 #$d_ctermid HAS_CTERMID /**/
111 * This symbol, if defined, indicates that the cuserid routine is
112 * available to get character login names.
114 #$d_cuserid HAS_CUSERID /**/
117 * This symbol, if defined, indicates that this system's <float.h>
118 * or <limits.h> defines the symbol DBL_DIG, which is the number
119 * of significant digits in a double precision number. If this
120 * symbol is not defined, a guess of 15 is usually pretty good.
122 #$d_dbl_dig HAS_DBL_DIG /* */
125 * This symbol, if defined, indicates that the difftime routine is
128 #$d_difftime HAS_DIFFTIME /**/
131 * This symbol, if defined, indicates that the dlerror routine is
132 * available to return a string describing the last error that
133 * occurred from a call to dlopen(), dlclose() or dlsym().
135 #$d_dlerror HAS_DLERROR /**/
138 * This symbol, if defined, indicates that the dup2 routine is
139 * available to duplicate file descriptors.
141 #$d_dup2 HAS_DUP2 /**/
144 * This symbol, if defined, indicates that the fchmod routine is available
145 * to change mode of opened files. If unavailable, use chmod().
147 #$d_fchmod HAS_FCHMOD /**/
150 * This symbol, if defined, indicates that the fchown routine is available
151 * to change ownership of opened files. If unavailable, use chown().
153 #$d_fchown HAS_FCHOWN /**/
156 * This symbol, if defined, indicates to the C program that
157 * the fcntl() function exists.
159 #$d_fcntl HAS_FCNTL /**/
162 * This symbol, if defined, indicates that the fgetpos routine is
163 * available to get the file position indicator, similar to ftell().
165 #$d_fgetpos HAS_FGETPOS /**/
168 * This symbol, if defined, indicates that the flock routine is
169 * available to do file locking.
171 #$d_flock HAS_FLOCK /**/
174 * This symbol, if defined, indicates that the fork routine is
177 #$d_fork HAS_FORK /**/
180 * This symbol, if defined, indicates that the fsetpos routine is
181 * available to set the file position indicator, similar to fseek().
183 #$d_fsetpos HAS_FSETPOS /**/
186 * This symbol, if defined, indicates that the gettimeofday() system
187 * call is available for a sub-second accuracy clock. Usually, the file
188 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
189 * The type "Timeval" should be used to refer to "struct timeval".
191 #$d_gettimeod HAS_GETTIMEOFDAY /**/
192 #ifdef HAS_GETTIMEOFDAY
193 #define Timeval struct timeval /* Structure used by gettimeofday() */
197 * This symbol, if defined, indicates that the getgroups() routine is
198 * available to get the list of process groups. If unavailable, multiple
199 * groups are probably not supported.
201 #$d_getgrps HAS_GETGROUPS /**/
204 * This symbol, if defined, indicates that the getlogin routine is
205 * available to get the login name.
207 #$d_getlogin HAS_GETLOGIN /**/
210 * This symbol, if defined, indicates to the C program that
211 * the getpgid(pid) function is available to get the
214 #$d_getpgid HAS_GETPGID /**/
217 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
218 * routine is available to get the current process group.
220 #$d_getpgrp2 HAS_GETPGRP2 /**/
223 * This symbol, if defined, indicates that the getppid routine is
224 * available to get the parent process ID.
226 #$d_getppid HAS_GETPPID /**/
229 * This symbol, if defined, indicates that the getpriority routine is
230 * available to get a process's priority.
232 #$d_getprior HAS_GETPRIORITY /**/
235 * This symbol, if defined, indicates to the C program that the
236 * inet_aton() function is available to parse IP address "dotted-quad"
239 #$d_inetaton HAS_INET_ATON /**/
242 * This symbol, if defined, indicates that the killpg routine is available
243 * to kill process groups. If unavailable, you probably should use kill
244 * with a negative process number.
246 #$d_killpg HAS_KILLPG /**/
249 * This symbol, if defined, indicates that the link routine is
250 * available to create hard links.
252 #$d_link HAS_LINK /**/
255 * This symbol, if defined, indicates that the localeconv routine is
256 * available for numeric and monetary formatting conventions.
258 #$d_locconv HAS_LOCALECONV /**/
261 * This symbol, if defined, indicates that the lockf routine is
262 * available to do file locking.
264 #$d_lockf HAS_LOCKF /**/
267 * This symbol, if defined, indicates that the lstat routine is
268 * available to do file stats on symbolic links.
270 #$d_lstat HAS_LSTAT /**/
273 * This symbol, if defined, indicates that the mblen routine is available
274 * to find the number of bytes in a multibye character.
276 #$d_mblen HAS_MBLEN /**/
279 * This symbol, if defined, indicates that the mbstowcs routine is
280 * available to covert a multibyte string into a wide character string.
282 #$d_mbstowcs HAS_MBSTOWCS /**/
285 * This symbol, if defined, indicates that the mbtowc routine is available
286 * to covert a multibyte to a wide character.
288 #$d_mbtowc HAS_MBTOWC /**/
291 * This symbol, if defined, indicates that the memcmp routine is available
292 * to compare blocks of memory.
294 #$d_memcmp HAS_MEMCMP /**/
297 * This symbol, if defined, indicates that the memcpy routine is available
298 * to copy blocks of memory.
300 #$d_memcpy HAS_MEMCPY /**/
303 * This symbol, if defined, indicates that the memmove routine is available
304 * to copy potentially overlapping blocks of memory. This should be used
305 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
308 #$d_memmove HAS_MEMMOVE /**/
311 * This symbol, if defined, indicates that the memset routine is available
312 * to set blocks of memory.
314 #$d_memset HAS_MEMSET /**/
317 * This symbol, if defined, indicates that the mkdir routine is available
318 * to create directories. Otherwise you should fork off a new process to
321 #$d_mkdir HAS_MKDIR /**/
324 * This symbol, if defined, indicates that the mkfifo routine is
325 * available to create FIFOs. Otherwise, mknod should be able to
326 * do it for you. However, if mkfifo is there, mknod might require
327 * super-user privileges which mkfifo will not.
329 #$d_mkfifo HAS_MKFIFO /**/
332 * This symbol, if defined, indicates that the mktime routine is
335 #$d_mktime HAS_MKTIME /**/
338 * This symbol, if defined, indicates that the msync system call is
339 * available to synchronize a mapped file.
341 #$d_msync HAS_MSYNC /**/
344 * This symbol, if defined, indicates that the munmap system call is
345 * available to unmap a region, usually mapped by mmap().
347 #$d_munmap HAS_MUNMAP /**/
350 * This symbol, if defined, indicates that the nice routine is
353 #$d_nice HAS_NICE /**/
356 * This symbol, if defined, indicates that pathconf() is available
357 * to determine file-system related limits and options associated
358 * with a given filename.
361 * This symbol, if defined, indicates that pathconf() is available
362 * to determine file-system related limits and options associated
363 * with a given open file descriptor.
365 #$d_pathconf HAS_PATHCONF /**/
366 #$d_fpathconf HAS_FPATHCONF /**/
369 * This symbol, if defined, indicates that the pause routine is
370 * available to suspend a process until a signal is received.
372 #$d_pause HAS_PAUSE /**/
375 * This symbol, if defined, indicates that the pipe routine is
376 * available to create an inter-process channel.
378 #$d_pipe HAS_PIPE /**/
381 * This symbol, if defined, indicates that the readdir routine is
382 * available to read directory entries. You may have to include
383 * <dirent.h>. See I_DIRENT.
385 #$d_readdir HAS_READDIR /**/
388 * This symbol, if defined, indicates that the seekdir routine is
389 * available. You may have to include <dirent.h>. See I_DIRENT.
391 #$d_seekdir HAS_SEEKDIR /**/
394 * This symbol, if defined, indicates that the telldir routine is
395 * available. You may have to include <dirent.h>. See I_DIRENT.
397 #$d_telldir HAS_TELLDIR /**/
400 * This symbol, if defined, indicates that the rewinddir routine is
401 * available. You may have to include <dirent.h>. See I_DIRENT.
403 #$d_rewinddir HAS_REWINDDIR /**/
406 * This symbol, if defined, indicates that the readlink routine is
407 * available to read the value of a symbolic link.
409 #$d_readlink HAS_READLINK /**/
412 * This symbol, if defined, indicates that the rename routine is available
413 * to rename files. Otherwise you should do the unlink(), link(), unlink()
416 #$d_rename HAS_RENAME /**/
419 * This symbol, if defined, indicates that the rmdir routine is
420 * available to remove directories. Otherwise you should fork off a
421 * new process to exec /bin/rmdir.
423 #$d_rmdir HAS_RMDIR /**/
426 * This symbol, if defined, indicates that the select routine is
427 * available to select active file descriptors. If the timeout field
428 * is used, <sys/time.h> may need to be included.
430 #$d_select HAS_SELECT /**/
433 * This symbol, if defined, indicates that the setegid routine is available
434 * to change the effective gid of the current program.
436 #$d_setegid HAS_SETEGID /**/
439 * This symbol, if defined, indicates that the seteuid routine is available
440 * to change the effective uid of the current program.
442 #$d_seteuid HAS_SETEUID /**/
445 * This symbol, if defined, indicates that the setlinebuf routine is
446 * available to change stderr or stdout from block-buffered or unbuffered
447 * to a line-buffered mode.
449 #$d_setlinebuf HAS_SETLINEBUF /**/
452 * This symbol, if defined, indicates that the setlocale routine is
453 * available to handle locale-specific ctype implementations.
455 #$d_setlocale HAS_SETLOCALE /**/
458 * This symbol, if defined, indicates that the setpgid(pid, gpid)
459 * routine is available to set process group ID.
461 #$d_setpgid HAS_SETPGID /**/
464 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
465 * routine is available to set the current process group.
467 #$d_setpgrp2 HAS_SETPGRP2 /**/
470 * This symbol, if defined, indicates that the setpriority routine is
471 * available to set a process's priority.
473 #$d_setprior HAS_SETPRIORITY /**/
476 * This symbol, if defined, indicates that the setregid routine is
477 * available to change the real and effective gid of the current
481 * This symbol, if defined, indicates that the setresgid routine is
482 * available to change the real, effective and saved gid of the current
485 #$d_setregid HAS_SETREGID /**/
486 #$d_setresgid HAS_SETRESGID /**/
489 * This symbol, if defined, indicates that the setreuid routine is
490 * available to change the real and effective uid of the current
494 * This symbol, if defined, indicates that the setresuid routine is
495 * available to change the real, effective and saved uid of the current
498 #$d_setreuid HAS_SETREUID /**/
499 #$d_setresuid HAS_SETRESUID /**/
502 * This symbol, if defined, indicates that the setrgid routine is available
503 * to change the real gid of the current program.
505 #$d_setrgid HAS_SETRGID /**/
508 * This symbol, if defined, indicates that the setruid routine is available
509 * to change the real uid of the current program.
511 #$d_setruid HAS_SETRUID /**/
514 * This symbol, if defined, indicates that the setsid routine is
515 * available to set the process group ID.
517 #$d_setsid HAS_SETSID /**/
520 * This symbol is defined to indicate that the strchr()/strrchr()
521 * functions are available for string searching. If not, try the
522 * index()/rindex() pair.
525 * This symbol is defined to indicate that the index()/rindex()
526 * functions are available for string searching.
528 #$d_strchr HAS_STRCHR /**/
529 #$d_index HAS_INDEX /**/
532 * This symbol, if defined, indicates that the strcoll routine is
533 * available to compare strings using collating information.
535 #$d_strcoll HAS_STRCOLL /**/
538 * This symbol, if defined, indicates that the strtod routine is
539 * available to provide better numeric string conversion than atof().
541 #$d_strtod HAS_STRTOD /**/
544 * This symbol, if defined, indicates that the strtol routine is available
545 * to provide better numeric string conversion than atoi() and friends.
547 #$d_strtol HAS_STRTOL /**/
550 * This symbol, if defined, indicates that the strxfrm() routine is
551 * available to transform strings.
553 #$d_strxfrm HAS_STRXFRM /**/
556 * This symbol, if defined, indicates that the symlink routine is available
557 * to create symbolic links.
559 #$d_symlink HAS_SYMLINK /**/
562 * This symbol, if defined, indicates that the syscall routine is
563 * available to call arbitrary system calls. If undefined, that's tough.
565 #$d_syscall HAS_SYSCALL /**/
568 * This symbol, if defined, indicates that sysconf() is available
569 * to determine system related limits and options.
571 #$d_sysconf HAS_SYSCONF /**/
574 * This symbol, if defined, indicates that the system routine is
575 * available to issue a shell command.
577 #$d_system HAS_SYSTEM /**/
580 * This symbol, if defined, indicates that the tcgetpgrp routine is
581 * available to get foreground process group ID.
583 #$d_tcgetpgrp HAS_TCGETPGRP /**/
586 * This symbol, if defined, indicates that the tcsetpgrp routine is
587 * available to set foreground process group ID.
589 #$d_tcsetpgrp HAS_TCSETPGRP /**/
592 * This symbol, if defined, indicates that the truncate routine is
593 * available to truncate files.
595 #$d_truncate HAS_TRUNCATE /**/
598 * This symbol, if defined, indicates that the tzname[] array is
599 * available to access timezone names.
601 #$d_tzname HAS_TZNAME /**/
604 * This symbol, if defined, indicates that the umask routine is
605 * available to set and get the value of the file creation mask.
607 #$d_umask HAS_UMASK /**/
610 * This symbol, if defined, indicates that the usleep routine is
611 * available to let the process sleep on a sub-second accuracy.
613 #$d_usleep HAS_USLEEP /**/
616 * This symbol, if defined, indicates that wait4() exists.
618 #$d_wait4 HAS_WAIT4 /**/
621 * This symbol, if defined, indicates that the waitpid routine is
622 * available to wait for child process.
624 #$d_waitpid HAS_WAITPID /**/
627 * This symbol, if defined, indicates that the wcstombs routine is
628 * available to convert wide character strings to multibyte strings.
630 #$d_wcstombs HAS_WCSTOMBS /**/
633 * This symbol, if defined, indicates that the wctomb routine is available
634 * to covert a wide character to a multibyte.
636 #$d_wctomb HAS_WCTOMB /**/
639 * This symbol, if defined, indicates to the C program that it should
640 * include <arpa/inet.h> to get inet_addr and friends declarations.
642 #$i_arpainet I_ARPA_INET /**/
645 * This symbol, if defined, indicates that <dbm.h> exists and should
649 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
650 * should be included.
653 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
656 * This symbol, if defined, indicates that <dlfcn.h> exists and should
659 #$i_dlfcn I_DLFCN /**/
662 * This manifest constant tells the C program to include <fcntl.h>.
664 #$i_fcntl I_FCNTL /**/
667 * This symbol, if defined, indicates to the C program that it should
668 * include <float.h> to get definition of symbols like DBL_MAX or
669 * DBL_MIN, i.e. machine dependent floating point values.
671 #$i_float I_FLOAT /**/
674 * This symbol, if defined, indicates that <gdbm.h> exists and should
680 * This symbol, if defined, indicates to the C program that it should
681 * include <limits.h> to get definition of symbols like WORD_BIT or
682 * LONG_MAX, i.e. machine dependant limitations.
684 #$i_limits I_LIMITS /**/
687 * This symbol, if defined, indicates to the C program that it should
688 * include <locale.h>.
690 #$i_locale I_LOCALE /**/
693 * This symbol, if defined, indicates to the C program that it should
694 * include <malloc/malloc.h>.
696 #$i_mallocmalloc I_MALLOCMALLOC /**/
699 * This symbol, if defined, indicates to the C program that it should
705 * This symbol, if defined, indicates to the C program that it should
706 * include <memory.h>.
708 #$i_memory I_MEMORY /**/
711 * This symbol, if defined, indicates to the C program that it should
712 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
714 #$i_niin I_NETINET_IN /**/
717 * This symbol, if defined, indicates to the C program that it should
723 * This symbol, if defined, indicates that <stddef.h> exists and should
726 #$i_stddef I_STDDEF /**/
729 * This symbol, if defined, indicates that <stdlib.h> exists and should
732 #$i_stdlib I_STDLIB /**/
735 * This symbol, if defined, indicates to the C program that it should
736 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
738 #$i_string I_STRING /**/
741 * This symbol, if defined, indicates to the C program that it should
742 * include <sys/dir.h>.
744 #$i_sysdir I_SYS_DIR /**/
747 * This symbol, if defined, indicates to the C program that it should
748 * include <sys/file.h> to get definition of R_OK and friends.
750 #$i_sysfile I_SYS_FILE /**/
753 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
754 * be included. Otherwise, include <sgtty.h> or <termio.h>.
757 * This symbol, if defined, indicates the <sys/sockio.h> should be included
758 * to get socket ioctl options, like SIOCATMARK.
760 #$i_sysioctl I_SYS_IOCTL /**/
761 #$i_syssockio I_SYS_SOCKIO /**/
764 * This symbol, if defined, indicates to the C program that it should
765 * include <sys/ndir.h>.
767 #$i_sysndir I_SYS_NDIR /**/
770 * This symbol, if defined, indicates to the C program that it should
771 * include <sys/param.h>.
773 #$i_sysparam I_SYS_PARAM /**/
776 * This symbol, if defined, indicates that the program may include
777 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
778 * to only include <poll.h>.
780 #$i_syspoll I_SYS_POLL /**/
783 * This symbol, if defined, indicates to the C program that it should
784 * include <sys/resource.h>.
786 #$i_sysresrc I_SYS_RESOURCE /**/
789 * This symbol, if defined, indicates to the C program that it should
790 * include <sys/select.h> in order to get definition of struct timeval.
792 #$i_sysselct I_SYS_SELECT /**/
795 * This symbol, if defined, indicates to the C program that it should
796 * include <sys/stat.h>.
798 #$i_sysstat I_SYS_STAT /**/
801 * This symbol, if defined, indicates to the C program that it should
802 * include <sys/times.h>.
804 #$i_systimes I_SYS_TIMES /**/
807 * This symbol, if defined, indicates to the C program that it should
808 * include <sys/types.h>.
810 #$i_systypes I_SYS_TYPES /**/
813 * This symbol, if defined, indicates to the C program that it should
814 * include <sys/un.h> to get UNIX domain socket definitions.
816 #$i_sysun I_SYS_UN /**/
819 * This symbol, if defined, indicates to the C program that it should
820 * include <sys/wait.h>.
822 #$i_syswait I_SYS_WAIT /**/
825 * This symbol, if defined, indicates that the program should include
826 * <termio.h> rather than <sgtty.h>. There are also differences in
827 * the ioctl() calls that depend on the value of this symbol.
830 * This symbol, if defined, indicates that the program should include
831 * the POSIX termios.h rather than sgtty.h or termio.h.
832 * There are also differences in the ioctl() calls that depend on the
833 * value of this symbol.
836 * This symbol, if defined, indicates that the program should include
837 * <sgtty.h> rather than <termio.h>. There are also differences in
838 * the ioctl() calls that depend on the value of this symbol.
840 #$i_termio I_TERMIO /**/
841 #$i_termios I_TERMIOS /**/
842 #$i_sgtty I_SGTTY /**/
845 * This symbol, if defined, indicates to the C program that it should
846 * include <unistd.h>.
848 #$i_unistd I_UNISTD /**/
851 * This symbol, if defined, indicates to the C program that it should
854 #$i_utime I_UTIME /**/
857 * This symbol, if defined, indicates to the C program that it should
858 * include <values.h> to get definition of symbols like MINFLOAT or
859 * MAXLONG, i.e. machine dependant limitations. Probably, you
860 * should use <limits.h> instead, if it is available.
862 #$i_values I_VALUES /**/
865 * This symbol, if defined, indicates to the C program that it should
868 #$i_vfork I_VFORK /**/
871 * This symbol contains the value of sizeof(int) so that the C
872 * preprocessor can make decisions based on it.
875 * This symbol contains the value of sizeof(long) so that the C
876 * preprocessor can make decisions based on it.
879 * This symbol contains the value of sizeof(short) so that the C
880 * preprocessor can make decisions based on it.
882 #define INTSIZE $intsize /**/
883 #define LONGSIZE $longsize /**/
884 #define SHORTSIZE $shortsize /**/
887 * This symbol, if defined, signifies that the build
888 * process will produce some binary files that are going to be
889 * used in a cross-platform environment. This is the case for
890 * example with the NeXT "fat" binaries that contain executables
893 #$multiarch MULTIARCH /**/
896 * This symbol, if defined, tells that there's a 64-bit integer type,
897 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
898 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
900 #$d_quad HAS_QUAD /**/
902 # define Quad_t $quadtype /**/
903 # define Uquad_t $uquadtype /**/
904 # define QUADKIND $quadkind /**/
905 # define QUAD_IS_INT 1
906 # define QUAD_IS_LONG 2
907 # define QUAD_IS_LONG_LONG 3
908 # define QUAD_IS_INT64_T 4
912 * This symbol contains the name of the operating system, as determined
913 * by Configure. You shouldn't rely on it too much; the specific
914 * feature tests from Configure are generally more reliable.
917 * This symbol contains the version of the operating system, as determined
918 * by Configure. You shouldn't rely on it too much; the specific
919 * feature tests from Configure are generally more reliable.
921 #define OSNAME "$osname" /**/
922 #define OSVERS "$osvers" /**/
925 * This variable, if defined, holds the name of the directory in
926 * which the user wants to put architecture-dependent public
927 * library files for $package. It is most often a local directory
928 * such as /usr/local/lib. Programs using this variable must be
929 * prepared to deal with filename expansion. If ARCHLIB is the
930 * same as PRIVLIB, it is not defined, since presumably the
931 * program already searches PRIVLIB.
934 * This symbol contains the ~name expanded version of ARCHLIB, to be used
935 * in programs that are not prepared to deal with ~ expansion at run-time.
937 #$d_archlib ARCHLIB "$archlib" /**/
938 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
941 * This symbol holds a string representing the architecture name.
942 * It may be used to construct an architecture-dependant pathname
943 * where library files may be held under a private library, for
946 #define ARCHNAME "$archname" /**/
949 * This symbol holds the path of the bin directory where the package will
950 * be installed. Program must be prepared to deal with ~name substitution.
953 * This symbol is the filename expanded version of the BIN symbol, for
954 * programs that do not want to deal with that at run-time.
956 /* PERL_RELOCATABLE_INC:
957 * This symbol, if defined, indicates that we'd like to relocate entries
958 * in @INC at run time based on the location of the perl binary.
960 #define BIN "$bin" /**/
961 #define BIN_EXP "$binexp" /**/
962 #define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
965 * This macro concatenates 2 tokens together.
968 * This macro surrounds its token with double quotes.
971 #define CAT2(a,b) a/**/b
972 #define STRINGIFY(a) "a"
975 #define PeRl_CaTiFy(a, b) a ## b
976 #define PeRl_StGiFy(a) #a
977 #define CAT2(a,b) PeRl_CaTiFy(a,b)
978 #define StGiFy(a) PeRl_StGiFy(a)
979 #define STRINGIFY(a) PeRl_StGiFy(a)
981 #if $cpp_stuff != 1 && $cpp_stuff != 42
982 #include "Bletch: How does this C preprocessor concatenate tokens?"
986 * This symbol contains the first part of the string which will invoke
987 * the C preprocessor on the standard input and produce to standard
988 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
989 * call a wrapper. See CPPRUN.
992 * This symbol contains the second part of the string which will invoke
993 * the C preprocessor on the standard input and produce to standard
994 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
995 * to specify standard input, otherwise the value is "".
998 * This symbol contains the string which will invoke a C preprocessor on
999 * the standard input and produce to standard output. It needs to end
1000 * with CPPLAST, after all other preprocessor flags have been specified.
1001 * The main difference with CPPSTDIN is that this program will never be a
1002 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1003 * available directly to the user. Note that it may well be different from
1004 * the preprocessor used to compile the C program.
1007 * This symbol is intended to be used along with CPPRUN in the same manner
1008 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1010 #define CPPSTDIN "$cppstdin"
1011 #define CPPMINUS "$cppminus"
1012 #define CPPRUN "$cpprun"
1013 #define CPPLAST "$cpplast"
1016 * This manifest constant lets the C program know that the access()
1017 * system call is available to check for accessibility using real UID/GID.
1018 * (always present on UNIX.)
1020 #$d_access HAS_ACCESS /**/
1023 * This symbol, if defined, indicates that the accessx routine is
1024 * available to do extended access checks.
1026 #$d_accessx HAS_ACCESSX /**/
1029 * This symbol, if defined, indicates that the asctime_r routine
1030 * is available to asctime re-entrantly.
1033 * This symbol encodes the prototype of asctime_r.
1034 * It is zero if d_asctime_r is undef, and one of the
1035 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1038 #$d_asctime_r HAS_ASCTIME_R /**/
1039 #define ASCTIME_R_PROTO $asctime_r_proto /**/
1041 /* HASATTRIBUTE_FORMAT:
1042 * Can we handle GCC attribute for checking printf-style formats
1044 /* PRINTF_FORMAT_NULL_OK:
1045 * Allows __printf__ format to be null when checking printf-style
1047 /* HASATTRIBUTE_MALLOC:
1048 * Can we handle GCC attribute for malloc-style functions.
1050 /* HASATTRIBUTE_NONNULL:
1051 * Can we handle GCC attribute for nonnull function parms.
1053 /* HASATTRIBUTE_NORETURN:
1054 * Can we handle GCC attribute for functions that do not return
1056 /* HASATTRIBUTE_PURE:
1057 * Can we handle GCC attribute for pure functions
1059 /* HASATTRIBUTE_UNUSED:
1060 * Can we handle GCC attribute for unused variables and arguments
1062 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1063 * Can we handle GCC attribute for warning on unused results
1065 #$d_attribute_format HASATTRIBUTE_FORMAT /**/
1066 #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
1067 #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1068 #$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1069 #$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1070 #$d_attribute_pure HASATTRIBUTE_PURE /**/
1071 #$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1072 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1075 * This symbol, if defined, indicates that this C compiler knows about
1076 * the const type. There is no need to actually test for that symbol
1077 * within your programs. The mere use of the "const" keyword will
1078 * trigger the necessary tests.
1080 #$d_const HASCONST /**/
1086 * This symbol, if defined, indicates that the crypt routine is available
1087 * to encrypt passwords and the like.
1089 #$d_crypt HAS_CRYPT /**/
1092 * This symbol, if defined, indicates that the crypt_r routine
1093 * is available to crypt re-entrantly.
1096 * This symbol encodes the prototype of crypt_r.
1097 * It is zero if d_crypt_r is undef, and one of the
1098 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1101 #$d_crypt_r HAS_CRYPT_R /**/
1102 #define CRYPT_R_PROTO $crypt_r_proto /**/
1105 * This symbol, if defined, indicates that the C-shell exists.
1108 * This symbol, if defined, contains the full pathname of csh.
1110 #$d_csh HAS_CSH /**/
1112 #define CSH "$full_csh" /**/
1116 * This symbol, if defined, indicates that the ctermid_r routine
1117 * is available to ctermid re-entrantly.
1120 * This symbol encodes the prototype of ctermid_r.
1121 * It is zero if d_ctermid_r is undef, and one of the
1122 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1125 #$d_ctermid_r HAS_CTERMID_R /**/
1126 #define CTERMID_R_PROTO $ctermid_r_proto /**/
1129 * This symbol, if defined, indicates that the ctime_r routine
1130 * is available to ctime re-entrantly.
1133 * This symbol encodes the prototype of ctime_r.
1134 * It is zero if d_ctime_r is undef, and one of the
1135 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1138 #$d_ctime_r HAS_CTIME_R /**/
1139 #define CTIME_R_PROTO $ctime_r_proto /**/
1141 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1142 * This symbol, if defined, indicates that the bug that prevents
1143 * setuid scripts from being secure is not present in this kernel.
1146 * This symbol, if defined, indicates that the C program should
1147 * check the script that it is executing for setuid/setgid bits, and
1148 * attempt to emulate setuid/setgid on systems that have disabled
1149 * setuid #! scripts because the kernel can't do it securely.
1150 * It is up to the package designer to make sure that this emulation
1151 * is done securely. Among other things, it should do an fstat on
1152 * the script it just opened to make sure it really is a setuid/setgid
1153 * script, it should make sure the arguments passed correspond exactly
1154 * to the argument on the #! line, and it should not trust any
1155 * subprocesses to which it must pass the filename rather than the
1156 * file descriptor of the script to be executed.
1158 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1159 #$d_dosuid DOSUID /**/
1162 * This symbol, if defined, indicates that the drand48_r routine
1163 * is available to drand48 re-entrantly.
1166 * This symbol encodes the prototype of drand48_r.
1167 * It is zero if d_drand48_r is undef, and one of the
1168 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1171 #$d_drand48_r HAS_DRAND48_R /**/
1172 #define DRAND48_R_PROTO $drand48_r_proto /**/
1174 /* HAS_DRAND48_PROTO:
1175 * This symbol, if defined, indicates that the system provides
1176 * a prototype for the drand48() function. Otherwise, it is up
1177 * to the program to supply one. A good guess is
1178 * extern double drand48(void);
1180 #$d_drand48proto HAS_DRAND48_PROTO /**/
1183 * This symbol, if defined, indicates that the eaccess routine is
1184 * available to do extended access checks.
1186 #$d_eaccess HAS_EACCESS /**/
1189 * This symbol, if defined, indicates that the getgrent routine is
1190 * available for finalizing sequential access of the group database.
1192 #$d_endgrent HAS_ENDGRENT /**/
1195 * This symbol, if defined, indicates that the endgrent_r routine
1196 * is available to endgrent re-entrantly.
1198 /* ENDGRENT_R_PROTO:
1199 * This symbol encodes the prototype of endgrent_r.
1200 * It is zero if d_endgrent_r is undef, and one of the
1201 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1204 #$d_endgrent_r HAS_ENDGRENT_R /**/
1205 #define ENDGRENT_R_PROTO $endgrent_r_proto /**/
1208 * This symbol, if defined, indicates that the endhostent() routine is
1209 * available to close whatever was being used for host queries.
1211 #$d_endhent HAS_ENDHOSTENT /**/
1213 /* HAS_ENDHOSTENT_R:
1214 * This symbol, if defined, indicates that the endhostent_r routine
1215 * is available to endhostent re-entrantly.
1217 /* ENDHOSTENT_R_PROTO:
1218 * This symbol encodes the prototype of endhostent_r.
1219 * It is zero if d_endhostent_r is undef, and one of the
1220 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1223 #$d_endhostent_r HAS_ENDHOSTENT_R /**/
1224 #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
1227 * This symbol, if defined, indicates that the endnetent() routine is
1228 * available to close whatever was being used for network queries.
1230 #$d_endnent HAS_ENDNETENT /**/
1233 * This symbol, if defined, indicates that the endnetent_r routine
1234 * is available to endnetent re-entrantly.
1236 /* ENDNETENT_R_PROTO:
1237 * This symbol encodes the prototype of endnetent_r.
1238 * It is zero if d_endnetent_r is undef, and one of the
1239 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1242 #$d_endnetent_r HAS_ENDNETENT_R /**/
1243 #define ENDNETENT_R_PROTO $endnetent_r_proto /**/
1246 * This symbol, if defined, indicates that the endprotoent() routine is
1247 * available to close whatever was being used for protocol queries.
1249 #$d_endpent HAS_ENDPROTOENT /**/
1251 /* HAS_ENDPROTOENT_R:
1252 * This symbol, if defined, indicates that the endprotoent_r routine
1253 * is available to endprotoent re-entrantly.
1255 /* ENDPROTOENT_R_PROTO:
1256 * This symbol encodes the prototype of endprotoent_r.
1257 * It is zero if d_endprotoent_r is undef, and one of the
1258 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1261 #$d_endprotoent_r HAS_ENDPROTOENT_R /**/
1262 #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
1265 * This symbol, if defined, indicates that the getgrent routine is
1266 * available for finalizing sequential access of the passwd database.
1268 #$d_endpwent HAS_ENDPWENT /**/
1271 * This symbol, if defined, indicates that the endpwent_r routine
1272 * is available to endpwent re-entrantly.
1274 /* ENDPWENT_R_PROTO:
1275 * This symbol encodes the prototype of endpwent_r.
1276 * It is zero if d_endpwent_r is undef, and one of the
1277 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1280 #$d_endpwent_r HAS_ENDPWENT_R /**/
1281 #define ENDPWENT_R_PROTO $endpwent_r_proto /**/
1284 * This symbol, if defined, indicates that the endservent() routine is
1285 * available to close whatever was being used for service queries.
1287 #$d_endsent HAS_ENDSERVENT /**/
1289 /* HAS_ENDSERVENT_R:
1290 * This symbol, if defined, indicates that the endservent_r routine
1291 * is available to endservent re-entrantly.
1293 /* ENDSERVENT_R_PROTO:
1294 * This symbol encodes the prototype of endservent_r.
1295 * It is zero if d_endservent_r is undef, and one of the
1296 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1299 #$d_endservent_r HAS_ENDSERVENT_R /**/
1300 #define ENDSERVENT_R_PROTO $endservent_r_proto /**/
1303 * This symbol, if defined, indicates that the system supports filenames
1304 * longer than 14 characters.
1306 #$d_flexfnam FLEXFILENAMES /**/
1309 * This symbol, if defined, indicates that the getgrent routine is
1310 * available for sequential access of the group database.
1312 #$d_getgrent HAS_GETGRENT /**/
1315 * This symbol, if defined, indicates that the getgrent_r routine
1316 * is available to getgrent re-entrantly.
1318 /* GETGRENT_R_PROTO:
1319 * This symbol encodes the prototype of getgrent_r.
1320 * It is zero if d_getgrent_r is undef, and one of the
1321 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1324 #$d_getgrent_r HAS_GETGRENT_R /**/
1325 #define GETGRENT_R_PROTO $getgrent_r_proto /**/
1328 * This symbol, if defined, indicates that the getgrgid_r routine
1329 * is available to getgrgid re-entrantly.
1331 /* GETGRGID_R_PROTO:
1332 * This symbol encodes the prototype of getgrgid_r.
1333 * It is zero if d_getgrgid_r is undef, and one of the
1334 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1337 #$d_getgrgid_r HAS_GETGRGID_R /**/
1338 #define GETGRGID_R_PROTO $getgrgid_r_proto /**/
1341 * This symbol, if defined, indicates that the getgrnam_r routine
1342 * is available to getgrnam re-entrantly.
1344 /* GETGRNAM_R_PROTO:
1345 * This symbol encodes the prototype of getgrnam_r.
1346 * It is zero if d_getgrnam_r is undef, and one of the
1347 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1350 #$d_getgrnam_r HAS_GETGRNAM_R /**/
1351 #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
1353 /* HAS_GETHOSTBYADDR:
1354 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1355 * available to look up hosts by their IP addresses.
1357 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1359 /* HAS_GETHOSTBYNAME:
1360 * This symbol, if defined, indicates that the gethostbyname() routine is
1361 * available to look up host names in some data base or other.
1363 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1366 * This symbol, if defined, indicates that the gethostent() routine is
1367 * available to look up host names in some data base or another.
1369 #$d_gethent HAS_GETHOSTENT /**/
1372 * This symbol, if defined, indicates that the C program may use the
1373 * gethostname() routine to derive the host name. See also HAS_UNAME
1377 * This symbol, if defined, indicates that the C program may use the
1378 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1382 * This symbol, if defined, indicates the command to feed to the
1383 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1384 * and HAS_UNAME. Note that the command uses a fully qualified path,
1385 * so that it is safe even if used by a process with super-user
1389 * This symbol, if defined, indicates that the C program may use the
1390 * contents of PHOSTNAME as a command to feed to the popen() routine
1391 * to derive the host name.
1393 #$d_gethname HAS_GETHOSTNAME /**/
1394 #$d_uname HAS_UNAME /**/
1395 #$d_phostname HAS_PHOSTNAME /**/
1396 #ifdef HAS_PHOSTNAME
1397 #define PHOSTNAME "$aphostname" /* How to get the host name */
1400 /* HAS_GETHOSTBYADDR_R:
1401 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1402 * is available to gethostbyaddr re-entrantly.
1404 /* GETHOSTBYADDR_R_PROTO:
1405 * This symbol encodes the prototype of gethostbyaddr_r.
1406 * It is zero if d_gethostbyaddr_r is undef, and one of the
1407 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1410 #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
1411 #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
1413 /* HAS_GETHOSTBYNAME_R:
1414 * This symbol, if defined, indicates that the gethostbyname_r routine
1415 * is available to gethostbyname re-entrantly.
1417 /* GETHOSTBYNAME_R_PROTO:
1418 * This symbol encodes the prototype of gethostbyname_r.
1419 * It is zero if d_gethostbyname_r is undef, and one of the
1420 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1423 #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
1424 #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
1426 /* HAS_GETHOSTENT_R:
1427 * This symbol, if defined, indicates that the gethostent_r routine
1428 * is available to gethostent re-entrantly.
1430 /* GETHOSTENT_R_PROTO:
1431 * This symbol encodes the prototype of gethostent_r.
1432 * It is zero if d_gethostent_r is undef, and one of the
1433 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1436 #$d_gethostent_r HAS_GETHOSTENT_R /**/
1437 #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
1439 /* HAS_GETHOST_PROTOS:
1440 * This symbol, if defined, indicates that <netdb.h> includes
1441 * prototypes for gethostent(), gethostbyname(), and
1442 * gethostbyaddr(). Otherwise, it is up to the program to guess
1443 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1445 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
1448 * This symbol, if defined, indicates that the getlogin_r routine
1449 * is available to getlogin re-entrantly.
1451 /* GETLOGIN_R_PROTO:
1452 * This symbol encodes the prototype of getlogin_r.
1453 * It is zero if d_getlogin_r is undef, and one of the
1454 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1457 #$d_getlogin_r HAS_GETLOGIN_R /**/
1458 #define GETLOGIN_R_PROTO $getlogin_r_proto /**/
1460 /* HAS_GETNETBYADDR:
1461 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1462 * available to look up networks by their IP addresses.
1464 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1466 /* HAS_GETNETBYNAME:
1467 * This symbol, if defined, indicates that the getnetbyname() routine is
1468 * available to look up networks by their names.
1470 #$d_getnbyname HAS_GETNETBYNAME /**/
1473 * This symbol, if defined, indicates that the getnetent() routine is
1474 * available to look up network names in some data base or another.
1476 #$d_getnent HAS_GETNETENT /**/
1478 /* HAS_GETNETBYADDR_R:
1479 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1480 * is available to getnetbyaddr re-entrantly.
1482 /* GETNETBYADDR_R_PROTO:
1483 * This symbol encodes the prototype of getnetbyaddr_r.
1484 * It is zero if d_getnetbyaddr_r is undef, and one of the
1485 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1488 #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
1489 #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
1491 /* HAS_GETNETBYNAME_R:
1492 * This symbol, if defined, indicates that the getnetbyname_r routine
1493 * is available to getnetbyname re-entrantly.
1495 /* GETNETBYNAME_R_PROTO:
1496 * This symbol encodes the prototype of getnetbyname_r.
1497 * It is zero if d_getnetbyname_r is undef, and one of the
1498 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1501 #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
1502 #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
1505 * This symbol, if defined, indicates that the getnetent_r routine
1506 * is available to getnetent re-entrantly.
1508 /* GETNETENT_R_PROTO:
1509 * This symbol encodes the prototype of getnetent_r.
1510 * It is zero if d_getnetent_r is undef, and one of the
1511 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1514 #$d_getnetent_r HAS_GETNETENT_R /**/
1515 #define GETNETENT_R_PROTO $getnetent_r_proto /**/
1517 /* HAS_GETNET_PROTOS:
1518 * This symbol, if defined, indicates that <netdb.h> includes
1519 * prototypes for getnetent(), getnetbyname(), and
1520 * getnetbyaddr(). Otherwise, it is up to the program to guess
1521 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1523 #$d_getnetprotos HAS_GETNET_PROTOS /**/
1526 * This symbol, if defined, indicates that the getprotoent() routine is
1527 * available to look up protocols in some data base or another.
1529 #$d_getpent HAS_GETPROTOENT /**/
1532 * This symbol, if defined, indicates that the getpgrp routine is
1533 * available to get the current process group.
1536 * This symbol, if defined, indicates that getpgrp needs one
1537 * arguments whereas USG one needs none.
1539 #$d_getpgrp HAS_GETPGRP /**/
1540 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1542 /* HAS_GETPROTOBYNAME:
1543 * This symbol, if defined, indicates that the getprotobyname()
1544 * routine is available to look up protocols by their name.
1546 /* HAS_GETPROTOBYNUMBER:
1547 * This symbol, if defined, indicates that the getprotobynumber()
1548 * routine is available to look up protocols by their number.
1550 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1551 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1553 /* HAS_GETPROTOBYNAME_R:
1554 * This symbol, if defined, indicates that the getprotobyname_r routine
1555 * is available to getprotobyname re-entrantly.
1557 /* GETPROTOBYNAME_R_PROTO:
1558 * This symbol encodes the prototype of getprotobyname_r.
1559 * It is zero if d_getprotobyname_r is undef, and one of the
1560 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1563 #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
1564 #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
1566 /* HAS_GETPROTOBYNUMBER_R:
1567 * This symbol, if defined, indicates that the getprotobynumber_r routine
1568 * is available to getprotobynumber re-entrantly.
1570 /* GETPROTOBYNUMBER_R_PROTO:
1571 * This symbol encodes the prototype of getprotobynumber_r.
1572 * It is zero if d_getprotobynumber_r is undef, and one of the
1573 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1576 #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
1577 #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
1579 /* HAS_GETPROTOENT_R:
1580 * This symbol, if defined, indicates that the getprotoent_r routine
1581 * is available to getprotoent re-entrantly.
1583 /* GETPROTOENT_R_PROTO:
1584 * This symbol encodes the prototype of getprotoent_r.
1585 * It is zero if d_getprotoent_r is undef, and one of the
1586 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1589 #$d_getprotoent_r HAS_GETPROTOENT_R /**/
1590 #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
1592 /* HAS_GETPROTO_PROTOS:
1593 * This symbol, if defined, indicates that <netdb.h> includes
1594 * prototypes for getprotoent(), getprotobyname(), and
1595 * getprotobyaddr(). Otherwise, it is up to the program to guess
1596 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1598 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1601 * This symbol, if defined, indicates that the getpwent routine is
1602 * available for sequential access of the passwd database.
1603 * If this is not available, the older getpw() function may be available.
1605 #$d_getpwent HAS_GETPWENT /**/
1608 * This symbol, if defined, indicates that the getpwent_r routine
1609 * is available to getpwent re-entrantly.
1611 /* GETPWENT_R_PROTO:
1612 * This symbol encodes the prototype of getpwent_r.
1613 * It is zero if d_getpwent_r is undef, and one of the
1614 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1617 #$d_getpwent_r HAS_GETPWENT_R /**/
1618 #define GETPWENT_R_PROTO $getpwent_r_proto /**/
1621 * This symbol, if defined, indicates that the getpwnam_r routine
1622 * is available to getpwnam re-entrantly.
1624 /* GETPWNAM_R_PROTO:
1625 * This symbol encodes the prototype of getpwnam_r.
1626 * It is zero if d_getpwnam_r is undef, and one of the
1627 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1630 #$d_getpwnam_r HAS_GETPWNAM_R /**/
1631 #define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
1634 * This symbol, if defined, indicates that the getpwuid_r routine
1635 * is available to getpwuid re-entrantly.
1637 /* GETPWUID_R_PROTO:
1638 * This symbol encodes the prototype of getpwuid_r.
1639 * It is zero if d_getpwuid_r is undef, and one of the
1640 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1643 #$d_getpwuid_r HAS_GETPWUID_R /**/
1644 #define GETPWUID_R_PROTO $getpwuid_r_proto /**/
1647 * This symbol, if defined, indicates that the getservent() routine is
1648 * available to look up network services in some data base or another.
1650 #$d_getsent HAS_GETSERVENT /**/
1652 /* HAS_GETSERVBYNAME_R:
1653 * This symbol, if defined, indicates that the getservbyname_r routine
1654 * is available to getservbyname re-entrantly.
1656 /* GETSERVBYNAME_R_PROTO:
1657 * This symbol encodes the prototype of getservbyname_r.
1658 * It is zero if d_getservbyname_r is undef, and one of the
1659 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1662 #$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
1663 #define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
1665 /* HAS_GETSERVBYPORT_R:
1666 * This symbol, if defined, indicates that the getservbyport_r routine
1667 * is available to getservbyport re-entrantly.
1669 /* GETSERVBYPORT_R_PROTO:
1670 * This symbol encodes the prototype of getservbyport_r.
1671 * It is zero if d_getservbyport_r is undef, and one of the
1672 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1675 #$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
1676 #define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
1678 /* HAS_GETSERVENT_R:
1679 * This symbol, if defined, indicates that the getservent_r routine
1680 * is available to getservent re-entrantly.
1682 /* GETSERVENT_R_PROTO:
1683 * This symbol encodes the prototype of getservent_r.
1684 * It is zero if d_getservent_r is undef, and one of the
1685 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1688 #$d_getservent_r HAS_GETSERVENT_R /**/
1689 #define GETSERVENT_R_PROTO $getservent_r_proto /**/
1691 /* HAS_GETSERV_PROTOS:
1692 * This symbol, if defined, indicates that <netdb.h> includes
1693 * prototypes for getservent(), getservbyname(), and
1694 * getservbyaddr(). Otherwise, it is up to the program to guess
1695 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1697 #$d_getservprotos HAS_GETSERV_PROTOS /**/
1700 * This symbol, if defined, indicates that the getspnam_r routine
1701 * is available to getspnam re-entrantly.
1703 /* GETSPNAM_R_PROTO:
1704 * This symbol encodes the prototype of getspnam_r.
1705 * It is zero if d_getspnam_r is undef, and one of the
1706 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1709 #$d_getspnam_r HAS_GETSPNAM_R /**/
1710 #define GETSPNAM_R_PROTO $getspnam_r_proto /**/
1712 /* HAS_GETSERVBYNAME:
1713 * This symbol, if defined, indicates that the getservbyname()
1714 * routine is available to look up services by their name.
1716 /* HAS_GETSERVBYPORT:
1717 * This symbol, if defined, indicates that the getservbyport()
1718 * routine is available to look up services by their port.
1720 #$d_getsbyname HAS_GETSERVBYNAME /**/
1721 #$d_getsbyport HAS_GETSERVBYPORT /**/
1724 * This symbol, if defined, indicates that the gmtime_r routine
1725 * is available to gmtime re-entrantly.
1728 * This symbol encodes the prototype of gmtime_r.
1729 * It is zero if d_gmtime_r is undef, and one of the
1730 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1733 #$d_gmtime_r HAS_GMTIME_R /**/
1734 #define GMTIME_R_PROTO $gmtime_r_proto /**/
1737 * This symbol, if defined, indicates that the htonl() routine (and
1738 * friends htons() ntohl() ntohs()) are available to do network
1739 * order byte swapping.
1742 * This symbol, if defined, indicates that the htons() routine (and
1743 * friends htonl() ntohl() ntohs()) are available to do network
1744 * order byte swapping.
1747 * This symbol, if defined, indicates that the ntohl() routine (and
1748 * friends htonl() htons() ntohs()) are available to do network
1749 * order byte swapping.
1752 * This symbol, if defined, indicates that the ntohs() routine (and
1753 * friends htonl() htons() ntohl()) are available to do network
1754 * order byte swapping.
1756 #$d_htonl HAS_HTONL /**/
1757 #$d_htonl HAS_HTONS /**/
1758 #$d_htonl HAS_NTOHL /**/
1759 #$d_htonl HAS_NTOHS /**/
1762 * This symbol, if defined, indicates that the localtime_r routine
1763 * is available to localtime re-entrantly.
1765 /* LOCALTIME_R_NEEDS_TZSET:
1766 * Many libc's localtime_r implementations do not call tzset,
1767 * making them differ from localtime(), and making timezone
1768 * changes using \$ENV{TZ} without explicitly calling tzset
1769 * impossible. This symbol makes us call tzset before localtime_r
1771 #$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
1772 #ifdef LOCALTIME_R_NEEDS_TZSET
1773 #define L_R_TZSET tzset(),
1778 /* LOCALTIME_R_PROTO:
1779 * This symbol encodes the prototype of localtime_r.
1780 * It is zero if d_localtime_r is undef, and one of the
1781 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1784 #$d_localtime_r HAS_LOCALTIME_R /**/
1785 #define LOCALTIME_R_PROTO $localtime_r_proto /**/
1788 * This symbol will be defined if the C compiler supports long
1792 * This symbol contains the size of a long double, so that the
1793 * C preprocessor can make decisions based on it. It is only
1794 * defined if the system supports long doubles.
1796 #$d_longdbl HAS_LONG_DOUBLE /**/
1797 #ifdef HAS_LONG_DOUBLE
1798 #define LONG_DOUBLESIZE $longdblsize /**/
1802 * This symbol will be defined if the C compiler supports long long.
1805 * This symbol contains the size of a long long, so that the
1806 * C preprocessor can make decisions based on it. It is only
1807 * defined if the system supports long long.
1809 #$d_longlong HAS_LONG_LONG /**/
1810 #ifdef HAS_LONG_LONG
1811 #define LONGLONGSIZE $longlongsize /**/
1815 * This symbol, if defined, indicates that the system provides
1816 * a prototype for the lseek() function. Otherwise, it is up
1817 * to the program to supply one. A good guess is
1818 * extern off_t lseek(int, off_t, int);
1820 #$d_lseekproto HAS_LSEEK_PROTO /**/
1823 * This symbol, if defined, indicates that the memchr routine is available
1824 * to locate characters within a C string.
1826 #$d_memchr HAS_MEMCHR /**/
1829 * This symbol, if defined, indicates that the mkstemp routine is
1830 * available to exclusively create and open a uniquely named
1833 #$d_mkstemp HAS_MKSTEMP /**/
1836 * This symbol, if defined, indicates that the mmap system call is
1837 * available to map a file into memory.
1840 * This symbol holds the return type of the mmap() system call
1841 * (and simultaneously the type of the first argument).
1842 * Usually set to 'void *' or 'caddr_t'.
1844 #$d_mmap HAS_MMAP /**/
1845 #define Mmap_t $mmaptype /**/
1848 * This symbol, if defined, indicates that the entire msg*(2) library is
1849 * supported (IPC mechanism based on message queues).
1851 #$d_msg HAS_MSG /**/
1854 * This symbol, if defined, indicates that the poll routine is
1855 * available to poll active file descriptors. Please check I_POLL and
1856 * I_SYS_POLL to know which header should be included as well.
1858 #$d_poll HAS_POLL /**/
1860 /* OLD_PTHREAD_CREATE_JOINABLE:
1861 * This symbol, if defined, indicates how to create pthread
1862 * in joinable (aka undetached) state. NOTE: not defined
1863 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1864 * (the new version of the constant).
1865 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1868 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
1870 /* HAS_PTHREAD_ATFORK:
1871 * This symbol, if defined, indicates that the pthread_atfork routine
1872 * is available to setup fork handlers.
1874 #$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
1876 /* HAS_PTHREAD_YIELD:
1877 * This symbol, if defined, indicates that the pthread_yield
1878 * routine is available to yield the execution of the current
1879 * thread. sched_yield is preferable to pthread_yield.
1882 * This symbol defines the way to yield the execution of
1883 * the current thread. Known ways are sched_yield,
1884 * pthread_yield, and pthread_yield with NULL.
1887 * This symbol, if defined, indicates that the sched_yield
1888 * routine is available to yield the execution of the current
1889 * thread. sched_yield is preferable to pthread_yield.
1891 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
1892 #define SCHED_YIELD $sched_yield /**/
1893 #$d_sched_yield HAS_SCHED_YIELD /**/
1896 * This symbol, if defined, indicates that the random_r routine
1897 * is available to random re-entrantly.
1900 * This symbol encodes the prototype of random_r.
1901 * It is zero if d_random_r is undef, and one of the
1902 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1905 #$d_random_r HAS_RANDOM_R /**/
1906 #define RANDOM_R_PROTO $random_r_proto /**/
1909 * This symbol, if defined, indicates that the readdir64_r routine
1910 * is available to readdir64 re-entrantly.
1912 /* READDIR64_R_PROTO:
1913 * This symbol encodes the prototype of readdir64_r.
1914 * It is zero if d_readdir64_r is undef, and one of the
1915 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
1918 #$d_readdir64_r HAS_READDIR64_R /**/
1919 #define READDIR64_R_PROTO $readdir64_r_proto /**/
1922 * This symbol, if defined, indicates that the readdir_r routine
1923 * is available to readdir re-entrantly.
1926 * This symbol encodes the prototype of readdir_r.
1927 * It is zero if d_readdir_r is undef, and one of the
1928 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
1931 #$d_readdir_r HAS_READDIR_R /**/
1932 #define READDIR_R_PROTO $readdir_r_proto /**/
1935 * This symbol, if defined, indicates that the entire sem*(2) library is
1938 #$d_sem HAS_SEM /**/
1941 * This symbol, if defined, indicates that the setgrent routine is
1942 * available for initializing sequential access of the group database.
1944 #$d_setgrent HAS_SETGRENT /**/
1947 * This symbol, if defined, indicates that the setgrent_r routine
1948 * is available to setgrent re-entrantly.
1950 /* SETGRENT_R_PROTO:
1951 * This symbol encodes the prototype of setgrent_r.
1952 * It is zero if d_setgrent_r is undef, and one of the
1953 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
1956 #$d_setgrent_r HAS_SETGRENT_R /**/
1957 #define SETGRENT_R_PROTO $setgrent_r_proto /**/
1960 * This symbol, if defined, indicates that the setgroups() routine is
1961 * available to set the list of process groups. If unavailable, multiple
1962 * groups are probably not supported.
1964 #$d_setgrps HAS_SETGROUPS /**/
1967 * This symbol, if defined, indicates that the sethostent() routine is
1970 #$d_sethent HAS_SETHOSTENT /**/
1972 /* HAS_SETHOSTENT_R:
1973 * This symbol, if defined, indicates that the sethostent_r routine
1974 * is available to sethostent re-entrantly.
1976 /* SETHOSTENT_R_PROTO:
1977 * This symbol encodes the prototype of sethostent_r.
1978 * It is zero if d_sethostent_r is undef, and one of the
1979 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
1982 #$d_sethostent_r HAS_SETHOSTENT_R /**/
1983 #define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
1986 * This symbol, if defined, indicates that the setlocale_r routine
1987 * is available to setlocale re-entrantly.
1989 /* SETLOCALE_R_PROTO:
1990 * This symbol encodes the prototype of setlocale_r.
1991 * It is zero if d_setlocale_r is undef, and one of the
1992 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
1995 #$d_setlocale_r HAS_SETLOCALE_R /**/
1996 #define SETLOCALE_R_PROTO $setlocale_r_proto /**/
1999 * This symbol, if defined, indicates that the setnetent() routine is
2002 #$d_setnent HAS_SETNETENT /**/
2005 * This symbol, if defined, indicates that the setnetent_r routine
2006 * is available to setnetent re-entrantly.
2008 /* SETNETENT_R_PROTO:
2009 * This symbol encodes the prototype of setnetent_r.
2010 * It is zero if d_setnetent_r is undef, and one of the
2011 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2014 #$d_setnetent_r HAS_SETNETENT_R /**/
2015 #define SETNETENT_R_PROTO $setnetent_r_proto /**/
2018 * This symbol, if defined, indicates that the setprotoent() routine is
2021 #$d_setpent HAS_SETPROTOENT /**/
2024 * This symbol, if defined, indicates that the setpgrp routine is
2025 * available to set the current process group.
2028 * This symbol, if defined, indicates that setpgrp needs two
2029 * arguments whereas USG one needs none. See also HAS_SETPGID
2030 * for a POSIX interface.
2032 #$d_setpgrp HAS_SETPGRP /**/
2033 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2035 /* HAS_SETPROTOENT_R:
2036 * This symbol, if defined, indicates that the setprotoent_r routine
2037 * is available to setprotoent re-entrantly.
2039 /* SETPROTOENT_R_PROTO:
2040 * This symbol encodes the prototype of setprotoent_r.
2041 * It is zero if d_setprotoent_r is undef, and one of the
2042 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2045 #$d_setprotoent_r HAS_SETPROTOENT_R /**/
2046 #define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
2049 * This symbol, if defined, indicates that the setpwent routine is
2050 * available for initializing sequential access of the passwd database.
2052 #$d_setpwent HAS_SETPWENT /**/
2055 * This symbol, if defined, indicates that the setpwent_r routine
2056 * is available to setpwent re-entrantly.
2058 /* SETPWENT_R_PROTO:
2059 * This symbol encodes the prototype of setpwent_r.
2060 * It is zero if d_setpwent_r is undef, and one of the
2061 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2064 #$d_setpwent_r HAS_SETPWENT_R /**/
2065 #define SETPWENT_R_PROTO $setpwent_r_proto /**/
2068 * This symbol, if defined, indicates that the setservent() routine is
2071 #$d_setsent HAS_SETSERVENT /**/
2073 /* HAS_SETSERVENT_R:
2074 * This symbol, if defined, indicates that the setservent_r routine
2075 * is available to setservent re-entrantly.
2077 /* SETSERVENT_R_PROTO:
2078 * This symbol encodes the prototype of setservent_r.
2079 * It is zero if d_setservent_r is undef, and one of the
2080 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2083 #$d_setservent_r HAS_SETSERVENT_R /**/
2084 #define SETSERVENT_R_PROTO $setservent_r_proto /**/
2087 * This symbol, if defined, indicates that the setvbuf routine is
2088 * available to change buffering on an open stdio stream.
2089 * to a line-buffered mode.
2091 #$d_setvbuf HAS_SETVBUF /**/
2094 * This symbol, if defined, indicates that the entire shm*(2) library is
2097 #$d_shm HAS_SHM /**/
2100 * This symbol holds the return type of the shmat() system call.
2101 * Usually set to 'void *' or 'char *'.
2103 /* HAS_SHMAT_PROTOTYPE:
2104 * This symbol, if defined, indicates that the sys/shm.h includes
2105 * a prototype for shmat(). Otherwise, it is up to the program to
2106 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2107 * but not always right so it should be emitted by the program only
2108 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2110 #define Shmat_t $shmattype /**/
2111 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2114 * This symbol, if defined, indicates that the BSD socket interface is
2118 * This symbol, if defined, indicates that the BSD socketpair() call is
2122 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2123 * Checking just with #ifdef might not be enough because this symbol
2124 * has been known to be an enum.
2126 /* HAS_MSG_DONTROUTE:
2127 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2128 * Checking just with #ifdef might not be enough because this symbol
2129 * has been known to be an enum.
2132 * This symbol, if defined, indicates that the MSG_OOB is supported.
2133 * Checking just with #ifdef might not be enough because this symbol
2134 * has been known to be an enum.
2137 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2138 * Checking just with #ifdef might not be enough because this symbol
2139 * has been known to be an enum.
2142 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2143 * Checking just with #ifdef might not be enough because this symbol
2144 * has been known to be an enum.
2147 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2148 * Checking just with #ifdef might not be enough because this symbol
2149 * has been known to be an enum.
2151 #$d_socket HAS_SOCKET /**/
2152 #$d_sockpair HAS_SOCKETPAIR /**/
2153 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2154 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2155 #$d_msg_oob HAS_MSG_OOB /**/
2156 #$d_msg_peek HAS_MSG_PEEK /**/
2157 #$d_msg_proxy HAS_MSG_PROXY /**/
2158 #$d_scm_rights HAS_SCM_RIGHTS /**/
2161 * This symbol, if defined, indicates that the srand48_r routine
2162 * is available to srand48 re-entrantly.
2165 * This symbol encodes the prototype of srand48_r.
2166 * It is zero if d_srand48_r is undef, and one of the
2167 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2170 #$d_srand48_r HAS_SRAND48_R /**/
2171 #define SRAND48_R_PROTO $srand48_r_proto /**/
2174 * This symbol, if defined, indicates that the srandom_r routine
2175 * is available to srandom re-entrantly.
2178 * This symbol encodes the prototype of srandom_r.
2179 * It is zero if d_srandom_r is undef, and one of the
2180 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2183 #$d_srandom_r HAS_SRANDOM_R /**/
2184 #define SRANDOM_R_PROTO $srandom_r_proto /**/
2187 * This symbol is defined if this system has a stat structure declaring
2188 * st_blksize and st_blocks.
2190 #ifndef USE_STAT_BLOCKS
2191 #$d_statblks USE_STAT_BLOCKS /**/
2195 * This symbol, if defined, indicates that this C compiler knows how
2196 * to copy structures. If undefined, you'll need to use a block copy
2197 * routine of some sort instead.
2199 #$d_strctcpy USE_STRUCT_COPY /**/
2202 * This symbol, if defined, indicates that the strerror routine is
2203 * available to translate error numbers to strings. See the writeup
2204 * of Strerror() in this file before you try to define your own.
2207 * This symbol, if defined, indicates that the sys_errlist array is
2208 * available to translate error numbers to strings. The extern int
2209 * sys_nerr gives the size of that table.
2212 * This preprocessor symbol is defined as a macro if strerror() is
2213 * not available to translate error numbers to strings but sys_errlist[]
2216 #$d_strerror HAS_STRERROR /**/
2217 #$d_syserrlst HAS_SYS_ERRLIST /**/
2218 #define Strerror(e) $d_strerrm
2221 * This symbol, if defined, indicates that the strerror_r routine
2222 * is available to strerror re-entrantly.
2224 /* STRERROR_R_PROTO:
2225 * This symbol encodes the prototype of strerror_r.
2226 * It is zero if d_strerror_r is undef, and one of the
2227 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2230 #$d_strerror_r HAS_STRERROR_R /**/
2231 #define STRERROR_R_PROTO $strerror_r_proto /**/
2234 * This symbol, if defined, indicates that the strtoul routine is
2235 * available to provide conversion of strings to unsigned long.
2237 #$d_strtoul HAS_STRTOUL /**/
2240 * This symbol, if defined, indicates that the time() routine exists.
2243 * This symbol holds the type returned by time(). It can be long,
2244 * or time_t on BSD sites (in which case <sys/types.h> should be
2247 #$d_time HAS_TIME /**/
2248 #define Time_t $timetype /* Time type */
2251 * This symbol, if defined, indicates that the times() routine exists.
2252 * Note that this became obsolete on some systems (SUNOS), which now
2253 * use getrusage(). It may be necessary to include <sys/times.h>.
2255 #$d_times HAS_TIMES /**/
2258 * This symbol, if defined, indicates that the tmpnam_r routine
2259 * is available to tmpnam re-entrantly.
2262 * This symbol encodes the prototype of tmpnam_r.
2263 * It is zero if d_tmpnam_r is undef, and one of the
2264 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2267 #$d_tmpnam_r HAS_TMPNAM_R /**/
2268 #define TMPNAM_R_PROTO $tmpnam_r_proto /**/
2271 * This symbol, if defined, indicates that the ttyname_r routine
2272 * is available to ttyname re-entrantly.
2275 * This symbol encodes the prototype of ttyname_r.
2276 * It is zero if d_ttyname_r is undef, and one of the
2277 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2280 #$d_ttyname_r HAS_TTYNAME_R /**/
2281 #define TTYNAME_R_PROTO $ttyname_r_proto /**/
2284 * This symbol, if defined, indicates that the union semun is
2285 * defined by including <sys/sem.h>. If not, the user code
2286 * probably needs to define it as:
2289 * struct semid_ds *buf;
2290 * unsigned short *array;
2293 /* USE_SEMCTL_SEMUN:
2294 * This symbol, if defined, indicates that union semun is
2295 * used for semctl IPC_STAT.
2297 /* USE_SEMCTL_SEMID_DS:
2298 * This symbol, if defined, indicates that struct semid_ds * is
2299 * used for semctl IPC_STAT.
2301 #$d_union_semun HAS_UNION_SEMUN /**/
2302 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2303 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2306 * This symbol, if defined, indicates that vfork() exists.
2308 #$d_vfork HAS_VFORK /**/
2311 * This symbol, if defined, indicates that an emulation of the
2312 * fork routine is available.
2314 #$d_pseudofork HAS_PSEUDOFORK /**/
2317 * This symbol's value is either "void" or "int", corresponding to the
2318 * appropriate return type of a signal handler. Thus, you can declare
2319 * a signal handler using "Signal_t (*handler)()", and define the
2320 * handler using "Signal_t handler(sig)".
2322 #define Signal_t $signal_t /* Signal handler's return type */
2325 * This symbol, if defined, indicates that this C compiler knows about
2326 * the volatile declaration.
2328 #$d_volatile HASVOLATILE /**/
2334 * This symbol holds the type used to declare file positions in libc.
2335 * It can be fpos_t, long, uint, etc... It may be necessary to include
2336 * <sys/types.h> to get any typedef'ed information.
2338 #define Fpos_t $fpostype /* File position type */
2341 * This symbol defines the format string used for printing a Gid_t.
2343 #define Gid_t_f $gidformat /**/
2346 * This symbol holds the signedess of a Gid_t.
2347 * 1 for unsigned, -1 for signed.
2349 #define Gid_t_sign $gidsign /* GID sign */
2352 * This symbol holds the size of a Gid_t in bytes.
2354 #define Gid_t_size $gidsize /* GID size */
2357 * This symbol holds the return type of getgid() and the type of
2358 * argument to setrgid() and related functions. Typically,
2359 * it is the type of group ids in the kernel. It can be int, ushort,
2360 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2361 * any typedef'ed information.
2363 #define Gid_t $gidtype /* Type for getgid(), etc... */
2366 * This symbol holds the type used for the second argument to
2367 * getgroups() and setgroups(). Usually, this is the same as
2368 * gidtype (gid_t) , but sometimes it isn't.
2369 * It can be int, ushort, gid_t, etc...
2370 * It may be necessary to include <sys/types.h> to get any
2371 * typedef'ed information. This is only required if you have
2372 * getgroups() or setgroups()..
2374 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2375 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
2379 * This symbol, if defined, indicates to the C program that it should
2380 * include <dirent.h>. Using this symbol also triggers the definition
2381 * of the Direntry_t define which ends up being 'struct dirent' or
2382 * 'struct direct' depending on the availability of <dirent.h>.
2385 * This symbol, if defined, indicates to the C program that the length
2386 * of directory entry names is provided by a d_namlen field. Otherwise
2387 * you need to do strlen() on the d_name field.
2390 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2391 * whether dirent is available or not. You should use this pseudo type to
2392 * portably declare your directory entries.
2394 #$i_dirent I_DIRENT /**/
2395 #$d_dirnamlen DIRNAMLEN /**/
2396 #define Direntry_t $direntrytype
2399 * This symbol, if defined, indicates to the C program that it should
2403 * This symbol, if defined, indicates to the C program that struct group
2404 * in <grp.h> contains gr_passwd.
2407 #$d_grpasswd GRPASSWD /**/
2410 * This symbol, if defined, indicates to the C program that it should
2411 * include <mach/cthreads.h>.
2413 #$i_machcthr I_MACH_CTHREADS /**/
2416 * This symbol, if defined, indicates that <ndbm.h> exists and should
2419 #$i_ndbm I_NDBM /**/
2422 * This symbol, if defined, indicates that <netdb.h> exists and
2423 * should be included.
2425 #$i_netdb I_NETDB /**/
2428 * This symbol, if defined, indicates that <net/errno.h> exists and
2429 * should be included.
2431 #$i_neterrno I_NET_ERRNO /**/
2434 * This symbol, if defined, indicates to the C program that it should
2435 * include <pthread.h>.
2437 #$i_pthread I_PTHREAD /**/
2440 * This symbol, if defined, indicates to the C program that it should
2444 * This symbol, if defined, indicates to the C program that struct passwd
2445 * contains pw_quota.
2448 * This symbol, if defined, indicates to the C program that struct passwd
2452 * This symbol, if defined, indicates to the C program that struct passwd
2453 * contains pw_change.
2456 * This symbol, if defined, indicates to the C program that struct passwd
2457 * contains pw_class.
2460 * This symbol, if defined, indicates to the C program that struct passwd
2461 * contains pw_expire.
2464 * This symbol, if defined, indicates to the C program that struct passwd
2465 * contains pw_comment.
2468 * This symbol, if defined, indicates to the C program that struct passwd
2469 * contains pw_gecos.
2472 * This symbol, if defined, indicates to the C program that struct passwd
2473 * contains pw_passwd.
2476 #$d_pwquota PWQUOTA /**/
2477 #$d_pwage PWAGE /**/
2478 #$d_pwchange PWCHANGE /**/
2479 #$d_pwclass PWCLASS /**/
2480 #$d_pwexpire PWEXPIRE /**/
2481 #$d_pwcomment PWCOMMENT /**/
2482 #$d_pwgecos PWGECOS /**/
2483 #$d_pwpasswd PWPASSWD /**/
2486 * This symbol, if defined, indicates to the C program that it should
2487 * include <sys/access.h>.
2489 #$i_sysaccess I_SYS_ACCESS /**/
2492 * This symbol, if defined, indicates to the C program that it should
2493 * include <sys/security.h>.
2495 #$i_syssecrt I_SYS_SECURITY /**/
2498 * This symbol, if defined, indicates that <sys/uio.h> exists and
2499 * should be included.
2501 #$i_sysuio I_SYSUIO /**/
2504 * This symbol, if defined, indicates that <stdarg.h> exists and should
2508 * This symbol, if defined, indicates to the C program that it should
2509 * include <varargs.h>.
2511 #$i_stdarg I_STDARG /**/
2512 #$i_varargs I_VARARGS /**/
2514 /* PERL_INC_VERSION_LIST:
2515 * This variable specifies the list of subdirectories in over
2516 * which perl.c:incpush() and lib/lib.pm will automatically
2517 * search when adding directories to @INC, in a format suitable
2518 * for a C initialization string. See the inc_version_list entry
2519 * in Porting/Glossary for more details.
2521 #$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
2523 /* INSTALL_USR_BIN_PERL:
2524 * This symbol, if defined, indicates that Perl is to be installed
2525 * also as /usr/bin/perl.
2527 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
2530 * This symbol holds the type used to declare offsets in the kernel.
2531 * It can be int, long, off_t, etc... It may be necessary to include
2532 * <sys/types.h> to get any typedef'ed information.
2535 * This symbol holds the number of bytes used by the Off_t.
2538 * This symbol holds the number of bytes used by the Off_t.
2540 #define Off_t $lseektype /* <offset> type */
2541 #define LSEEKSIZE $lseeksize /* <offset> size */
2542 #define Off_t_size $lseeksize /* <offset> size */
2545 * This variable contains the return type of free(). It is usually
2546 * void, but occasionally int.
2549 * This symbol is the type of pointer returned by malloc and realloc.
2551 #define Malloc_t $malloctype /**/
2552 #define Free_t $freetype /**/
2554 /* PERL_MALLOC_WRAP:
2555 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2557 #$usemallocwrap PERL_MALLOC_WRAP /**/
2560 * This symbol, if defined, indicates that we're using our own malloc.
2562 #$d_mymalloc MYMALLOC /**/
2565 * This symbol holds the type used to declare file modes
2566 * for systems calls. It is usually mode_t, but may be
2567 * int or unsigned short. It may be necessary to include <sys/types.h>
2568 * to get any typedef'ed information.
2570 #define Mode_t $modetype /* file mode parameter for system calls */
2573 * This symbol holds the type used for the 1st argument
2574 * to gethostbyaddr().
2577 * This symbol holds the type used for the 2nd argument
2578 * to gethostbyaddr().
2581 * This symbol holds the type used for the argument to
2585 * This symbol holds the type used for the 1st argument to
2588 #define Netdb_host_t $netdb_host_type /**/
2589 #define Netdb_hlen_t $netdb_hlen_type /**/
2590 #define Netdb_name_t $netdb_name_type /**/
2591 #define Netdb_net_t $netdb_net_type /**/
2593 /* PERL_OTHERLIBDIRS:
2594 * This variable contains a colon-separated set of paths for the perl
2595 * binary to search for additional library files or modules.
2596 * These directories will be tacked to the end of @INC.
2597 * Perl will automatically search below each path for version-
2598 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2601 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
2604 * This symbol holds the type used to declare process ids in the kernel.
2605 * It can be int, uint, pid_t, etc... It may be necessary to include
2606 * <sys/types.h> to get any typedef'ed information.
2608 #define Pid_t $pidtype /* PID type */
2611 * This symbol contains the name of the private library for this package.
2612 * The library is private in the sense that it needn't be in anyone's
2613 * execution path, but it should be accessible by the world. The program
2614 * should be prepared to do ~ expansion.
2617 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2618 * in programs that are not prepared to deal with ~ expansion at run-time.
2620 #define PRIVLIB "$privlib" /**/
2621 #define PRIVLIB_EXP "$privlibexp" /**/
2624 * If defined, this macro indicates that the C compiler can handle
2625 * function prototypes.
2628 * This macro is used to declare function parameters for folks who want
2629 * to make declarations with prototypes using a different style than
2630 * the above macros. Use double parentheses. For example:
2632 * int main _((int argc, char *argv[]));
2634 #$prototype CAN_PROTOTYPE /**/
2635 #ifdef CAN_PROTOTYPE
2636 #define _(args) args
2642 * This symbol holds the type used for the 2nd, 3rd, and 4th
2643 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2644 * is defined, and 'int *' otherwise. This is only useful if you
2645 * have select(), of course.
2647 #define Select_fd_set_t $selecttype /**/
2650 * This symbol contains the full pathname to the shell used on this
2651 * on this system to execute Bourne shell scripts. Usually, this will be
2652 * /bin/sh, though it's possible that some systems will have /bin/ksh,
2653 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
2656 #define SH_PATH "$sh" /**/
2659 * This symbol contains a list of signal names in order of
2660 * signal number. This is intended
2661 * to be used as a static array initialization, like this:
2662 * char *sig_name[] = { SIG_NAME };
2663 * The signals in the list are separated with commas, and each signal
2664 * is surrounded by double quotes. There is no leading SIG in the signal
2665 * name, i.e. SIGQUIT is known as "QUIT".
2666 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2667 * etc., where nn is the actual signal number (e.g. NUM37).
2668 * The signal number for sig_name[i] is stored in sig_num[i].
2669 * The last element is 0 to terminate the list with a NULL. This
2670 * corresponds to the 0 at the end of the sig_name_init list.
2671 * Note that this variable is initialized from the sig_name_init,
2672 * not from sig_name (which is unused).
2675 * This symbol contains a list of signal numbers, in the same order as the
2676 * SIG_NAME list. It is suitable for static array initialization, as in:
2677 * int sig_num[] = { SIG_NUM };
2678 * The signals in the list are separated with commas, and the indices
2679 * within that list and the SIG_NAME list match, so it's easy to compute
2680 * the signal name from a number or vice versa at the price of a small
2681 * dynamic linear lookup.
2682 * Duplicates are allowed, but are moved to the end of the list.
2683 * The signal number corresponding to sig_name[i] is sig_number[i].
2684 * if (i < NSIG) then sig_number[i] == i.
2685 * The last element is 0, corresponding to the 0 at the end of
2686 * the sig_name_init list.
2687 * Note that this variable is initialized from the sig_num_init,
2688 * not from sig_num (which is unused).
2691 * This variable contains the number of elements of the SIG_NAME
2692 * and SIG_NUM arrays, excluding the final NULL entry.
2694 #define SIG_NAME $sig_name_init /**/
2695 #define SIG_NUM $sig_num_init /**/
2696 #define SIG_SIZE $sig_size /**/
2699 * This symbol contains the name of the private library for this package.
2700 * The library is private in the sense that it needn't be in anyone's
2701 * execution path, but it should be accessible by the world. The program
2702 * should be prepared to do ~ expansion.
2703 * The standard distribution will put nothing in this directory.
2704 * After perl has been installed, users may install their own local
2705 * architecture-dependent modules in this directory with
2706 * MakeMaker Makefile.PL
2707 * or equivalent. See INSTALL for details.
2710 * This symbol contains the ~name expanded version of SITEARCH, to be used
2711 * in programs that are not prepared to deal with ~ expansion at run-time.
2713 #$d_sitearch SITEARCH "$sitearch" /**/
2714 #$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
2717 * This symbol contains the name of the private library for this package.
2718 * The library is private in the sense that it needn't be in anyone's
2719 * execution path, but it should be accessible by the world. The program
2720 * should be prepared to do ~ expansion.
2721 * The standard distribution will put nothing in this directory.
2722 * After perl has been installed, users may install their own local
2723 * architecture-independent modules in this directory with
2724 * MakeMaker Makefile.PL
2725 * or equivalent. See INSTALL for details.
2728 * This symbol contains the ~name expanded version of SITELIB, to be used
2729 * in programs that are not prepared to deal with ~ expansion at run-time.
2732 * This define is SITELIB_EXP with any trailing version-specific component
2733 * removed. The elements in inc_version_list (inc_version_list.U) can
2734 * be tacked onto this variable to generate a list of directories to search.
2736 #define SITELIB "$sitelib" /**/
2737 #define SITELIB_EXP "$sitelibexp" /**/
2738 #define SITELIB_STEM "$sitelib_stem" /**/
2741 * This symbol holds the size of a Size_t in bytes.
2743 #define Size_t_size $sizesize /* */
2746 * This symbol holds the type used to declare length parameters
2747 * for string functions. It is usually size_t, but may be
2748 * unsigned long, int, etc. It may be necessary to include
2749 * <sys/types.h> to get any typedef'ed information.
2751 #define Size_t $sizetype /* length paramater for string functions */
2754 * This symbol holds the type used for the size argument of
2755 * various socket calls (just the base type, not the pointer-to).
2757 #define Sock_size_t $socksizetype /**/
2760 * This symbol is defined to be the type of char used in stdio.h.
2761 * It has the values "unsigned char" or "char".
2763 #define STDCHAR $stdchar /**/
2766 * This symbol defines the format string used for printing a Uid_t.
2768 #define Uid_t_f $uidformat /**/
2771 * This symbol holds the signedess of a Uid_t.
2772 * 1 for unsigned, -1 for signed.
2774 #define Uid_t_sign $uidsign /* UID sign */
2777 * This symbol holds the size of a Uid_t in bytes.
2779 #define Uid_t_size $uidsize /* UID size */
2782 * This symbol holds the type used to declare user ids in the kernel.
2783 * It can be int, ushort, uid_t, etc... It may be necessary to include
2784 * <sys/types.h> to get any typedef'ed information.
2786 #define Uid_t $uidtype /* UID type */
2789 * This symbol, if defined, indicates that Perl should be built to
2790 * use the interpreter-based threading implementation.
2793 * This symbol, if defined, indicates that Perl should be built to
2794 * use the 5.005-based threading implementation.
2795 * Only valid up to 5.8.x.
2797 /* OLD_PTHREADS_API:
2798 * This symbol, if defined, indicates that Perl should
2799 * be built to use the old draft POSIX threads API.
2801 /* USE_REENTRANT_API:
2802 * This symbol, if defined, indicates that Perl should
2803 * try to use the various _r versions of library functions.
2804 * This is extremely experimental.
2806 #$use5005threads USE_5005THREADS /**/
2807 #$useithreads USE_ITHREADS /**/
2808 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2809 #define USE_THREADS /* until src is revised*/
2811 #$d_oldpthreads OLD_PTHREADS_API /**/
2812 #$usereentrant USE_REENTRANT_API /**/
2815 * If defined, this symbol contains the name of a private library.
2816 * The library is private in the sense that it needn't be in anyone's
2817 * execution path, but it should be accessible by the world.
2818 * It may have a ~ on the front.
2819 * The standard distribution will put nothing in this directory.
2820 * Vendors who distribute perl may wish to place their own
2821 * architecture-dependent modules and extensions in this directory with
2822 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2823 * or equivalent. See INSTALL for details.
2825 /* PERL_VENDORARCH_EXP:
2826 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2827 * in programs that are not prepared to deal with ~ expansion at run-time.
2829 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
2830 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
2832 /* PERL_VENDORLIB_EXP:
2833 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2834 * in programs that are not prepared to deal with ~ expansion at run-time.
2836 /* PERL_VENDORLIB_STEM:
2837 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2838 * removed. The elements in inc_version_list (inc_version_list.U) can
2839 * be tacked onto this variable to generate a list of directories to search.
2841 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
2842 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
2845 * This symbol indicates how much support of the void type is given by this
2846 * compiler. What various bits mean:
2848 * 1 = supports declaration of void
2849 * 2 = supports arrays of pointers to functions returning void
2850 * 4 = supports comparisons between pointers to void functions and
2851 * addresses of void functions
2852 * 8 = suports declaration of generic void pointers
2854 * The package designer should define VOIDUSED to indicate the requirements
2855 * of the package. This can be done either by #defining VOIDUSED before
2856 * including config.h, or by defining defvoidused in Myinit.U. If the
2857 * latter approach is taken, only those flags will be tested. If the
2858 * level of void support necessary is not present, defines void to int.
2861 #define VOIDUSED $defvoidused
2863 #define VOIDFLAGS $voidflags
2864 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2865 #define void int /* is void to be avoided? */
2866 #define M_VOID /* Xenix strikes again */
2869 /* USE_CROSS_COMPILE:
2870 * This symbol, if defined, indicates that Perl is being cross-compiled.
2873 * This symbol, if defined, indicates the target architecture
2874 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2876 #ifndef USE_CROSS_COMPILE
2877 #$usecrosscompile USE_CROSS_COMPILE /**/
2878 #define PERL_TARGETARCH "$targetarch" /**/
2882 * This symbol contains the number of bytes required to align a
2883 * double, or a long double when applicable. Usual values are 2,
2884 * 4 and 8. The default is eight, for safety.
2886 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2887 # define MEM_ALIGNBYTES 8
2889 #define MEM_ALIGNBYTES $alignbytes
2893 * This symbol holds the hexadecimal constant defined in byteorder,
2894 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
2895 * If the compiler supports cross-compiling or multiple-architecture
2896 * binaries (eg. on NeXT systems), use compiler-defined macros to
2897 * determine the byte order.
2898 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
2899 * Binaries (MAB) on either big endian or little endian machines.
2900 * The endian-ness is available at compile-time. This only matters
2901 * for perl, where the config.h can be generated and installed on
2902 * one system, and used by a different architecture to build an
2903 * extension. Older versions of NeXT that might not have
2904 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
2905 * so the default case (for NeXT) is big endian to catch them.
2906 * This might matter for NeXT 3.0.
2908 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2909 # ifdef __LITTLE_ENDIAN__
2911 # define BYTEORDER 0x1234
2914 # define BYTEORDER 0x12345678
2918 # ifdef __BIG_ENDIAN__
2920 # define BYTEORDER 0x4321
2923 # define BYTEORDER 0x87654321
2928 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
2929 # define BYTEORDER 0x4321
2932 #define BYTEORDER 0x$byteorder /* large digits for MSB */
2936 * This symbol is defined if the C compiler can cast negative
2937 * or large floating point numbers to 32-bit ints.
2939 #$d_casti32 CASTI32 /**/
2942 * This symbol is defined if the C compiler can cast negative
2943 * numbers to unsigned longs, ints and shorts.
2946 * This symbol contains flags that say what difficulties the compiler
2947 * has casting odd floating values to unsigned long:
2949 * 1 = couldn't cast < 0
2950 * 2 = couldn't cast >= 0x80000000
2951 * 4 = couldn't cast in argument expression list
2953 #$d_castneg CASTNEGFLOAT /**/
2954 #define CASTFLAGS $castflags /**/
2957 * This symbol, if defined, indicates that the closedir() routine
2958 * does not return a value.
2960 #$d_void_closedir VOID_CLOSEDIR /**/
2963 * This symbol, when defined, indicates presence of the fd_set typedef
2966 #$d_fd_set HAS_FD_SET /**/
2969 * This preprocessor macro is defined to convert a floating point
2970 * number to a string without a trailing decimal point. This
2971 * emulates the behavior of sprintf("%g"), but is sometimes much more
2972 * efficient. If gconvert() is not available, but gcvt() drops the
2973 * trailing decimal point, then gcvt() is used. If all else fails,
2974 * a macro using sprintf("%g") is used. Arguments for the Gconvert
2975 * macro are: value, number of digits, whether trailing zeros should
2976 * be retained, and the output buffer.
2977 * The usual values are:
2978 * d_Gconvert='gconvert((x),(n),(t),(b))'
2979 * d_Gconvert='gcvt((x),(n),(b))'
2980 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
2981 * The last two assume trailing zeros should not be kept.
2983 #define Gconvert(x,n,t,b) $d_Gconvert
2986 * This symbol, if defined, indicates that the getpagesize system call
2987 * is available to get system page size, which is the granularity of
2988 * many memory management calls.
2990 #$d_getpagsz HAS_GETPAGESIZE /**/
2993 * This symbol, if defined, indicates to the C program that
2994 * the GNU C library is being used. A better check is to use
2995 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
2997 #$d_gnulibc HAS_GNULIBC /**/
2998 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
2999 # define _GNU_SOURCE
3003 * This manifest constant lets the C program know that isascii
3006 #$d_isascii HAS_ISASCII /**/
3009 * This symbol, if defined, indicates that the lchown routine is
3010 * available to operate on a symbolic link (instead of following the
3013 #$d_lchown HAS_LCHOWN /**/
3016 * This manifest constant lets the C program know that the three
3017 * argument form of open(2) is available.
3019 #$d_open3 HAS_OPEN3 /**/
3022 * This symbol, if defined, indicates that the bcopy routine is available
3023 * to copy potentially overlapping memory blocks. Normally, you should
3024 * probably use memmove() or memcpy(). If neither is defined, roll your
3027 #$d_safebcpy HAS_SAFE_BCOPY /**/
3030 * This symbol, if defined, indicates that the memcpy routine is available
3031 * to copy potentially overlapping memory blocks. If you need to
3032 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
3033 * use memmove() instead, if available.
3035 #$d_safemcpy HAS_SAFE_MEMCPY /**/
3038 * This symbol, if defined, indicates that the memcmp routine is available
3039 * and can be used to compare relative magnitudes of chars with their high
3040 * bits set. If it is not defined, roll your own version.
3042 #$d_sanemcmp HAS_SANE_MEMCMP /**/
3045 * This symbol, if defined, indicates that Vr4's sigaction() routine
3048 #$d_sigaction HAS_SIGACTION /**/
3051 * This variable indicates to the C program that the sigsetjmp()
3052 * routine is available to save the calling process's registers
3053 * and stack environment for later use by siglongjmp(), and
3054 * to optionally save the process's signal mask. See
3055 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
3058 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
3061 * This macro is used in the same way as sigsetjmp(), but will invoke
3062 * traditional setjmp() if sigsetjmp isn't available.
3063 * See HAS_SIGSETJMP.
3066 * This macro is used in the same way as siglongjmp(), but will invoke
3067 * traditional longjmp() if siglongjmp isn't available.
3068 * See HAS_SIGSETJMP.
3070 #$d_sigsetjmp HAS_SIGSETJMP /**/
3071 #ifdef HAS_SIGSETJMP
3072 #define Sigjmp_buf sigjmp_buf
3073 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
3074 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
3076 #define Sigjmp_buf jmp_buf
3077 #define Sigsetjmp(buf,save_mask) setjmp((buf))
3078 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
3082 * This symbol is defined if the _ptr and _cnt fields (or similar)
3083 * of the stdio FILE structure can be used to access the stdio buffer
3084 * for a file handle. If this is defined, then the FILE_ptr(fp)
3085 * and FILE_cnt(fp) macros will also be defined and should be used
3086 * to access these fields.
3089 * This macro is used to access the _ptr field (or equivalent) of the
3090 * FILE structure pointed to by its argument. This macro will always be
3091 * defined if USE_STDIO_PTR is defined.
3093 /* STDIO_PTR_LVALUE:
3094 * This symbol is defined if the FILE_ptr macro can be used as an
3098 * This macro is used to access the _cnt field (or equivalent) of the
3099 * FILE structure pointed to by its argument. This macro will always be
3100 * defined if USE_STDIO_PTR is defined.
3102 /* STDIO_CNT_LVALUE:
3103 * This symbol is defined if the FILE_cnt macro can be used as an
3106 /* STDIO_PTR_LVAL_SETS_CNT:
3107 * This symbol is defined if using the FILE_ptr macro as an lvalue
3108 * to increase the pointer by n has the side effect of decreasing the
3109 * value of File_cnt(fp) by n.
3111 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
3112 * This symbol is defined if using the FILE_ptr macro as an lvalue
3113 * to increase the pointer by n leaves File_cnt(fp) unchanged.
3115 #$d_stdstdio USE_STDIO_PTR /**/
3116 #ifdef USE_STDIO_PTR
3117 #define FILE_ptr(fp) $stdio_ptr
3118 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
3119 #define FILE_cnt(fp) $stdio_cnt
3120 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
3121 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
3122 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
3126 * This symbol is defined if the _base field (or similar) of the
3127 * stdio FILE structure can be used to access the stdio buffer for
3128 * a file handle. If this is defined, then the FILE_base(fp) macro
3129 * will also be defined and should be used to access this field.
3130 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
3131 * to determine the number of bytes in the buffer. USE_STDIO_BASE
3132 * will never be defined unless USE_STDIO_PTR is.
3135 * This macro is used to access the _base field (or equivalent) of the
3136 * FILE structure pointed to by its argument. This macro will always be
3137 * defined if USE_STDIO_BASE is defined.
3140 * This macro is used to determine the number of bytes in the I/O
3141 * buffer pointed to by _base field (or equivalent) of the FILE
3142 * structure pointed to its argument. This macro will always be defined
3143 * if USE_STDIO_BASE is defined.
3145 #$d_stdiobase USE_STDIO_BASE /**/
3146 #ifdef USE_STDIO_BASE
3147 #define FILE_base(fp) $stdio_base
3148 #define FILE_bufsiz(fp) $stdio_bufsiz
3152 * This symbol, if defined, indicates that the vprintf routine is available
3153 * to printf with a pointer to an argument list. If unavailable, you
3154 * may need to write your own, probably in terms of _doprnt().
3156 /* USE_CHAR_VSPRINTF:
3157 * This symbol is defined if this system has vsprintf() returning type
3158 * (char*). The trend seems to be to declare it as "int vsprintf()". It
3159 * is up to the package author to declare vsprintf correctly based on the
3162 #$d_vprintf HAS_VPRINTF /**/
3163 #$d_charvspr USE_CHAR_VSPRINTF /**/
3166 * This symbol contains the size of a double, so that the C preprocessor
3167 * can make decisions based on it.
3169 #define DOUBLESIZE $doublesize /**/
3172 * This symbol, if defined, indicates to the C program that it should
3176 * This symbol, if defined, indicates to the C program that it should
3177 * include <sys/time.h>.
3179 /* I_SYS_TIME_KERNEL:
3180 * This symbol, if defined, indicates to the C program that it should
3181 * include <sys/time.h> with KERNEL defined.
3184 * This symbol, if defined, indicates to the C program that
3185 * the struct tm has a tm_zone field.
3187 /* HAS_TM_TM_GMTOFF:
3188 * This symbol, if defined, indicates to the C program that
3189 * the struct tm has a tm_gmtoff field.
3191 #$i_time I_TIME /**/
3192 #$i_systime I_SYS_TIME /**/
3193 #$i_systimek I_SYS_TIME_KERNEL /**/
3194 #$d_tm_tm_zone HAS_TM_TM_ZONE /**/
3195 #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
3198 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3199 * non-blocking I/O for the file descriptor. Note that there is no way
3200 * back, i.e. you cannot turn it blocking again this way. If you wish to
3201 * alternatively switch between blocking and non-blocking, use the
3202 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3205 * This symbol holds the errno error code set by read() when no data was
3206 * present on the non-blocking file descriptor.
3209 * This symbol holds the return code from read() when no data is present
3210 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3211 * not defined, then you can't distinguish between no data and EOF by
3212 * issuing a read(). You'll have to find another way to tell for sure!
3215 * This symbol, if defined, indicates to the C program that a read() on
3216 * a non-blocking file descriptor will return 0 on EOF, and not the value
3217 * held in RD_NODATA (-1 usually, in that case!).
3219 #define VAL_O_NONBLOCK $o_nonblock
3220 #define VAL_EAGAIN $eagain
3221 #define RD_NODATA $rd_nodata
3222 #$d_eofnblk EOF_NONBLOCK
3225 * This symbol contains the size of a pointer, so that the C preprocessor
3226 * can make decisions based on it. It will be sizeof(void *) if
3227 * the compiler supports (void *); otherwise it will be
3230 #define PTRSIZE $ptrsize /**/
3233 * This macro is to be used to generate uniformly distributed
3234 * random numbers over the range [0., 1.[. You may have to supply
3235 * an 'extern double drand48();' in your program since SunOS 4.1.3
3236 * doesn't provide you with anything relevant in its headers.
3237 * See HAS_DRAND48_PROTO.
3240 * This symbol defines the type of the argument of the
3241 * random seed function.
3244 * This symbol defines the macro to be used in seeding the
3245 * random number generator (see Drand01).
3248 * This symbol indicates how many bits are produced by the
3249 * function used to generate normalized random numbers.
3250 * Values include 15, 16, 31, and 48.
3252 #define Drand01() $drand01 /**/
3253 #define Rand_seed_t $randseedtype /**/
3254 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3255 #define RANDBITS $randbits /**/
3258 * This symbol holds the type used by functions that return
3259 * a count of bytes or an error condition. It must be a signed type.
3260 * It is usually ssize_t, but may be long or int, etc.
3261 * It may be necessary to include <sys/types.h> or <unistd.h>
3262 * to get any typedef'ed information.
3263 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3265 #define SSize_t $ssizetype /* signed count of bytes */
3268 * This symbol, if defined, indicates that this system uses
3271 #$ebcdic EBCDIC /**/
3274 * This symbol, if defined, indicates that the atolf routine is
3275 * available to convert strings into long doubles.
3277 #$d_atolf HAS_ATOLF /**/
3280 * This symbol, if defined, indicates that the atoll routine is
3281 * available to convert strings into long longs.
3283 #$d_atoll HAS_ATOLL /**/
3286 * This symbol, if defined, indicates that the _fwalk system call is
3287 * available to apply a function to all the file handles.
3289 #$d__fwalk HAS__FWALK /**/
3292 * This symbol, if defined, indicates that the aintl routine is
3293 * available. If copysignl is also present we can emulate modfl.
3295 #$d_aintl HAS_AINTL /**/
3297 /* HAS_BUILTIN_CHOOSE_EXPR:
3298 * Can we handle GCC builtin for compile-time ternary-like expressions
3300 /* HAS_BUILTIN_EXPECT:
3301 * Can we handle GCC builtin for telling that certain values are more
3304 #$d_builtin_expect HAS_BUILTIN_EXPECT /**/
3305 #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
3307 /* HAS_C99_VARIADIC_MACROS:
3308 * If defined, the compiler supports C99 variadic macros.
3310 #$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
3313 * This symbol, if defined, indicates that the class routine is
3314 * available to classify doubles. Available for example in AIX.
3315 * The returned values are defined in <float.h> and are:
3317 * FP_PLUS_NORM Positive normalized, nonzero
3318 * FP_MINUS_NORM Negative normalized, nonzero
3319 * FP_PLUS_DENORM Positive denormalized, nonzero
3320 * FP_MINUS_DENORM Negative denormalized, nonzero
3322 * FP_MINUS_ZERO -0.0
3325 * FP_NANS Signaling Not a Number (NaNS)
3326 * FP_NANQ Quiet Not a Number (NaNQ)
3328 #$d_class HAS_CLASS /**/
3331 * This symbol, if defined, indicates that the clearenv () routine is
3332 * available for use.
3334 #$d_clearenv HAS_CLEARENV /**/
3336 /* HAS_STRUCT_CMSGHDR:
3337 * This symbol, if defined, indicates that the struct cmsghdr
3340 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
3343 * This symbol, if defined, indicates that the copysignl routine is
3344 * available. If aintl is also present we can emulate modfl.
3346 #$d_copysignl HAS_COPYSIGNL /**/
3349 * This symbol, if defined, indicates that a C++ compiler was
3350 * used to compiled Perl and will be used to compile extensions.
3352 #$d_cplusplus USE_CPLUSPLUS /**/
3354 /* HAS_DBMINIT_PROTO:
3355 * This symbol, if defined, indicates that the system provides
3356 * a prototype for the dbminit() function. Otherwise, it is up
3357 * to the program to supply one. A good guess is
3358 * extern int dbminit(char *);
3360 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
3363 * This symbol, if defined, indicates that the the DIR* dirstream
3364 * structure contains a member variable named dd_fd.
3366 #$d_dir_dd_fd HAS_DIR_DD_FD /**/
3369 * This manifest constant lets the C program know that dirfd
3372 #$d_dirfd HAS_DIRFD /**/
3374 /* DLSYM_NEEDS_UNDERSCORE:
3375 * This symbol, if defined, indicates that we need to prepend an
3376 * underscore to the symbol name before calling dlsym(). This only
3377 * makes sense if you *have* dlsym, which we will presume is the
3378 * case if you're using dl_dlopen.xs.
3380 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
3383 * This symbol, if defined, indicates that the "fast stdio"
3384 * is available to manipulate the stdio buffers directly.
3386 #$d_faststdio HAS_FAST_STDIO /**/
3389 * This symbol, if defined, indicates that the fchdir routine is
3390 * available to change directory using a file descriptor.
3392 #$d_fchdir HAS_FCHDIR /**/
3395 * This symbol, if defined, indicates that fcntl() can be used
3396 * for file locking. Normally on Unix systems this is defined.
3397 * It may be undefined on VMS.
3399 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
3402 * This symbol, if defined, indicates that the finite routine is
3403 * available to check whether a double is finite (non-infinity non-NaN).
3405 #$d_finite HAS_FINITE /**/
3408 * This symbol, if defined, indicates that the finitel routine is
3409 * available to check whether a long double is finite
3410 * (non-infinity non-NaN).
3412 #$d_finitel HAS_FINITEL /**/
3415 * This symbol, if defined, indicates that the system provides
3416 * a prototype for the flock() function. Otherwise, it is up
3417 * to the program to supply one. A good guess is
3418 * extern int flock(int, int);
3420 #$d_flockproto HAS_FLOCK_PROTO /**/
3423 * This symbol, if defined, indicates that the fp_class routine is
3424 * available to classify doubles. Available for example in Digital UNIX.
3425 * The returned values are defined in <math.h> and are:
3427 * FP_SNAN Signaling NaN (Not-a-Number)
3428 * FP_QNAN Quiet NaN (Not-a-Number)
3429 * FP_POS_INF +infinity
3430 * FP_NEG_INF -infinity
3431 * FP_POS_NORM Positive normalized
3432 * FP_NEG_NORM Negative normalized
3433 * FP_POS_DENORM Positive denormalized
3434 * FP_NEG_DENORM Negative denormalized
3435 * FP_POS_ZERO +0.0 (positive zero)
3436 * FP_NEG_ZERO -0.0 (negative zero)
3438 #$d_fp_class HAS_FP_CLASS /**/
3441 * This symbol, if defined, indicates that the fpclass routine is
3442 * available to classify doubles. Available for example in Solaris/SVR4.
3443 * The returned values are defined in <ieeefp.h> and are:
3445 * FP_SNAN signaling NaN
3447 * FP_NINF negative infinity
3448 * FP_PINF positive infinity
3449 * FP_NDENORM negative denormalized non-zero
3450 * FP_PDENORM positive denormalized non-zero
3451 * FP_NZERO negative zero
3452 * FP_PZERO positive zero
3453 * FP_NNORM negative normalized non-zero
3454 * FP_PNORM positive normalized non-zero
3456 #$d_fpclass HAS_FPCLASS /**/
3459 * This symbol, if defined, indicates that the fpclassify routine is
3460 * available to classify doubles. Available for example in HP-UX.
3461 * The returned values are defined in <math.h> and are
3463 * FP_NORMAL Normalized
3465 * FP_INFINITE Infinity
3466 * FP_SUBNORMAL Denormalized
3470 #$d_fpclassify HAS_FPCLASSIFY /**/
3473 * This symbol, if defined, indicates that the fpclassl routine is
3474 * available to classify long doubles. Available for example in IRIX.
3475 * The returned values are defined in <ieeefp.h> and are:
3477 * FP_SNAN signaling NaN
3479 * FP_NINF negative infinity
3480 * FP_PINF positive infinity
3481 * FP_NDENORM negative denormalized non-zero
3482 * FP_PDENORM positive denormalized non-zero
3483 * FP_NZERO negative zero
3484 * FP_PZERO positive zero
3485 * FP_NNORM negative normalized non-zero
3486 * FP_PNORM positive normalized non-zero
3488 #$d_fpclassl HAS_FPCLASSL /**/
3491 * This symbol will be defined if the C compiler supports fpos64_t.
3493 #$d_fpos64_t HAS_FPOS64_T /**/
3496 * This symbol, if defined, indicates that the frexpl routine is
3497 * available to break a long double floating-point number into
3498 * a normalized fraction and an integral power of 2.
3500 #$d_frexpl HAS_FREXPL /**/
3502 /* HAS_STRUCT_FS_DATA:
3503 * This symbol, if defined, indicates that the struct fs_data
3504 * to do statfs() is supported.
3506 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
3509 * This symbol, if defined, indicates that the fseeko routine is
3510 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3512 #$d_fseeko HAS_FSEEKO /**/
3515 * This symbol, if defined, indicates that the fstatfs routine is
3516 * available to stat filesystems by file descriptors.
3518 #$d_fstatfs HAS_FSTATFS /**/
3521 * This symbol, if defined, indicates that the fsync routine is
3522 * available to write a file's modified data and attributes to
3523 * permanent storage.
3525 #$d_fsync HAS_FSYNC /**/
3528 * This symbol, if defined, indicates that the ftello routine is
3529 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3531 #$d_ftello HAS_FTELLO /**/
3534 * This symbol, if defined, indicates that the futimes routine is
3535 * available to change file descriptor time stamps with struct timevals.
3537 #$d_futimes HAS_FUTIMES /**/
3540 * This symbol, if defined, indicates that the getcwd routine is
3541 * available to get the current working directory.
3543 #$d_getcwd HAS_GETCWD /**/
3546 * This symbol, if defined, indicates that the getespwnam system call is
3547 * available to retrieve enchanced (shadow) password entries by name.
3549 #$d_getespwnam HAS_GETESPWNAM /**/
3552 * This symbol, if defined, indicates that the getfsstat routine is
3553 * available to stat filesystems in bulk.
3555 #$d_getfsstat HAS_GETFSSTAT /**/
3558 * This symbol, if defined, indicates that the getitimer routine is
3559 * available to return interval timers.
3561 #$d_getitimer HAS_GETITIMER /**/
3564 * This symbol, if defined, indicates that the getmnt routine is
3565 * available to get filesystem mount info by filename.
3567 #$d_getmnt HAS_GETMNT /**/
3570 * This symbol, if defined, indicates that the getmntent routine is
3571 * available to iterate through mounted file systems to get their info.
3573 #$d_getmntent HAS_GETMNTENT /**/
3576 * This symbol, if defined, indicates that the getprpwnam system call is
3577 * available to retrieve protected (shadow) password entries by name.
3579 #$d_getprpwnam HAS_GETPRPWNAM /**/
3582 * This symbol, if defined, indicates that the getspnam system call is
3583 * available to retrieve SysV shadow password entries by name.
3585 #$d_getspnam HAS_GETSPNAM /**/
3588 * This symbol, if defined, indicates that the hasmntopt routine is
3589 * available to query the mount options of file systems.
3591 #$d_hasmntopt HAS_HASMNTOPT /**/
3594 * This symbol, if defined, indicates that the ilogbl routine is
3595 * available. If scalbnl is also present we can emulate frexpl.
3597 #$d_ilogbl HAS_ILOGBL /**/
3600 * This symbol will defined if the C compiler supports int64_t.
3601 * Usually the <inttypes.h> needs to be included, but sometimes
3602 * <sys/types.h> is enough.
3604 #$d_int64_t HAS_INT64_T /**/
3607 * This symbol, if defined, indicates that the isfinite routine is
3608 * available to check whether a double is finite (non-infinity non-NaN).
3610 #$d_isfinite HAS_ISFINITE /**/
3613 * This symbol, if defined, indicates that the isinf routine is
3614 * available to check whether a double is an infinity.
3616 #$d_isinf HAS_ISINF /**/
3619 * This symbol, if defined, indicates that the isnan routine is
3620 * available to check whether a double is a NaN.
3622 #$d_isnan HAS_ISNAN /**/
3625 * This symbol, if defined, indicates that the isnanl routine is
3626 * available to check whether a long double is a NaN.
3628 #$d_isnanl HAS_ISNANL /**/
3631 * This symbol, if defined, indicates that this system's <float.h>
3632 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3633 * of significant digits in a long double precision number. Unlike
3634 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3636 #$d_ldbl_dig HAS_LDBL_DIG /* */
3638 /* LIBM_LIB_VERSION:
3639 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3640 * and that math.h defines the enum to manipulate it.
3642 #$d_libm_lib_version LIBM_LIB_VERSION /**/
3645 * This symbol, if defined, indicates that the madvise system call is
3646 * available to map a file into memory.
3648 #$d_madvise HAS_MADVISE /**/
3651 * This symbol, if defined, indicates that the malloc_size
3652 * routine is available for use.
3654 #$d_malloc_size HAS_MALLOC_SIZE /**/
3656 /* HAS_MALLOC_GOOD_SIZE:
3657 * This symbol, if defined, indicates that the malloc_good_size
3658 * routine is available for use.
3660 #$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3663 * This symbol, if defined, indicates that the mkdtemp routine is
3664 * available to exclusively create a uniquely named temporary directory.
3666 #$d_mkdtemp HAS_MKDTEMP /**/
3669 * This symbol, if defined, indicates that the mkstemps routine is
3670 * available to excluslvely create and open a uniquely named
3671 * (with a suffix) temporary file.
3673 #$d_mkstemps HAS_MKSTEMPS /**/
3676 * This symbol, if defined, indicates that the modfl routine is
3677 * available to split a long double x into a fractional part f and
3678 * an integer part i such that |f| < 1.0 and (f + i) = x.
3681 * This symbol, if defined, indicates that the system provides
3682 * a prototype for the modfl() function. Otherwise, it is up
3683 * to the program to supply one.
3685 /* HAS_MODFL_POW32_BUG:
3686 * This symbol, if defined, indicates that the modfl routine is
3687 * broken for long doubles >= pow(2, 32).
3688 * For example from 4294967303.150000 one would get 4294967302.000000
3689 * and 1.150000. The bug has been seen in certain versions of glibc,
3690 * release 2.2.2 is known to be okay.
3692 #$d_modfl HAS_MODFL /**/
3693 #$d_modflproto HAS_MODFL_PROTO /**/
3694 #$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
3697 * This symbol, if defined, indicates that the mprotect system call is
3698 * available to modify the access protection of a memory mapped file.
3700 #$d_mprotect HAS_MPROTECT /**/
3702 /* HAS_STRUCT_MSGHDR:
3703 * This symbol, if defined, indicates that the struct msghdr
3706 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3709 * This symbol, if defined, indicates that the nl_langinfo routine is
3710 * available to return local data. You will also need <langinfo.h>
3711 * and therefore I_LANGINFO.
3713 #$d_nl_langinfo HAS_NL_LANGINFO /**/
3716 * This symbol will be defined if the C compiler supports off64_t.
3718 #$d_off64_t HAS_OFF64_T /**/
3721 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3722 * to the absolute pathname of the executing program.
3724 /* PROCSELFEXE_PATH:
3725 * If HAS_PROCSELFEXE is defined this symbol is the filename
3726 * of the symbolic link pointing to the absolute pathname of
3727 * the executing program.
3729 #$d_procselfexe HAS_PROCSELFEXE /**/
3730 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3731 #define PROCSELFEXE_PATH $procselfexe /**/
3734 /* HAS_PTHREAD_ATTR_SETSCOPE:
3735 * This symbol, if defined, indicates that the pthread_attr_setscope
3736 * system call is available to set the contention scope attribute of
3737 * a thread attribute object.
3739 #$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3742 * This symbol, if defined, indicates that the readv routine is
3743 * available to do gather reads. You will also need <sys/uio.h>
3744 * and there I_SYSUIO.
3746 #$d_readv HAS_READV /**/
3749 * This symbol, if defined, indicates that the recvmsg routine is
3750 * available to send structured socket messages.
3752 #$d_recvmsg HAS_RECVMSG /**/
3755 * This symbol, if defined, indicates that the system provides
3756 * a prototype for the sbrk() function. Otherwise, it is up
3757 * to the program to supply one. Good guesses are
3758 * extern void* sbrk(int);
3759 * extern void* sbrk(size_t);
3761 #$d_sbrkproto HAS_SBRK_PROTO /**/
3764 * This symbol, if defined, indicates that the scalbnl routine is
3765 * available. If ilogbl is also present we can emulate frexpl.
3767 #$d_scalbnl HAS_SCALBNL /**/
3770 * This symbol, if defined, indicates that the sendmsg routine is
3771 * available to send structured socket messages.
3773 #$d_sendmsg HAS_SENDMSG /**/
3776 * This symbol, if defined, indicates that the setitimer routine is
3777 * available to set interval timers.
3779 #$d_setitimer HAS_SETITIMER /**/
3781 /* HAS_SETPROCTITLE:
3782 * This symbol, if defined, indicates that the setproctitle routine is
3783 * available to set process title.
3785 #$d_setproctitle HAS_SETPROCTITLE /**/
3788 * This symbol, if defined, indicates that sfio should
3791 #$d_sfio USE_SFIO /**/
3794 * This symbol, if defined, indicates that the signbit routine is
3795 * available to check if the given number has the sign bit set.
3796 * This should include correct testing of -0.0. This will only be set
3797 * if the signbit() routine is safe to use with the NV type used internally
3798 * in perl. Users should call Perl_signbit(), which will be #defined to
3799 * the system's signbit() function or macro if this symbol is defined.
3801 #$d_signbit HAS_SIGNBIT /**/
3804 * This symbol, if defined, indicates that the sigprocmask
3805 * system call is available to examine or change the signal mask
3806 * of the calling process.
3808 #$d_sigprocmask HAS_SIGPROCMASK /**/
3810 /* USE_SITECUSTOMIZE:
3811 * This symbol, if defined, indicates that sitecustomize should
3814 #ifndef USE_SITECUSTOMIZE
3815 #$usesitecustomize USE_SITECUSTOMIZE /**/
3819 * This symbol, if defined, indicates that the snprintf () library
3820 * function is available for use.
3823 * This symbol, if defined, indicates that the vsnprintf () library
3824 * function is available for use.
3826 #$d_snprintf HAS_SNPRINTF /**/
3827 #$d_vsnprintf HAS_VSNPRINTF /**/
3830 * This symbol, if defined, indicates that the sockatmark routine is
3831 * available to test whether a socket is at the out-of-band mark.
3833 #$d_sockatmark HAS_SOCKATMARK /**/
3835 /* HAS_SOCKATMARK_PROTO:
3836 * This symbol, if defined, indicates that the system provides
3837 * a prototype for the sockatmark() function. Otherwise, it is up
3838 * to the program to supply one. A good guess is
3839 * extern int sockatmark(int);
3841 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3844 * This symbol, if defined, indicates that the socks5_init routine is
3845 * available to initialize SOCKS 5.
3847 #$d_socks5_init HAS_SOCKS5_INIT /**/
3849 /* SPRINTF_RETURNS_STRLEN:
3850 * This variable defines whether sprintf returns the length of the string
3851 * (as per the ANSI spec). Some C libraries retain compatibility with
3852 * pre-ANSI C and return a pointer to the passed in buffer; for these
3853 * this variable will be undef.
3855 #$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
3858 * This symbol, if defined, indicates that the sqrtl routine is
3859 * available to do long double square roots.
3861 #$d_sqrtl HAS_SQRTL /**/
3863 /* HAS_SETRESGID_PROTO:
3864 * This symbol, if defined, indicates that the system provides
3865 * a prototype for the setresgid() function. Otherwise, it is up
3866 * to the program to supply one. Good guesses are
3867 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3869 #$d_sresgproto HAS_SETRESGID_PROTO /**/
3871 /* HAS_SETRESUID_PROTO:
3872 * This symbol, if defined, indicates that the system provides
3873 * a prototype for the setresuid() function. Otherwise, it is up
3874 * to the program to supply one. Good guesses are
3875 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3877 #$d_sresuproto HAS_SETRESUID_PROTO /**/
3879 /* HAS_STRUCT_STATFS_F_FLAGS:
3880 * This symbol, if defined, indicates that the struct statfs
3881 * does have the f_flags member containing the mount flags of
3882 * the filesystem containing the file.
3883 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3884 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3885 * have statfs() and struct statfs, they have ustat() and getmnt()
3886 * with struct ustat and struct fs_data.
3888 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
3890 /* HAS_STRUCT_STATFS:
3891 * This symbol, if defined, indicates that the struct statfs
3892 * to do statfs() is supported.
3894 #$d_statfs_s HAS_STRUCT_STATFS /**/
3897 * This symbol, if defined, indicates that the fstatvfs routine is
3898 * available to stat filesystems by file descriptors.
3900 #$d_fstatvfs HAS_FSTATVFS /**/
3903 * This symbol, if defined, indicates that the strftime routine is
3904 * available to do time formatting.
3906 #$d_strftime HAS_STRFTIME /**/
3909 * This symbol, if defined, indicates that the strlcat () routine is
3910 * available to do string concatenation.
3912 #$d_strlcat HAS_STRLCAT /**/
3915 * This symbol, if defined, indicates that the strlcpy () routine is
3916 * available to do string copying.
3918 #$d_strlcpy HAS_STRLCPY /**/
3921 * This symbol, if defined, indicates that the strtold routine is
3922 * available to convert strings to long doubles.
3924 #$d_strtold HAS_STRTOLD /**/
3927 * This symbol, if defined, indicates that the strtoll routine is
3928 * available to convert strings to long longs.
3930 #$d_strtoll HAS_STRTOLL /**/
3933 * This symbol, if defined, indicates that the strtoq routine is
3934 * available to convert strings to long longs (quads).
3936 #$d_strtoq HAS_STRTOQ /**/
3939 * This symbol, if defined, indicates that the strtoull routine is
3940 * available to convert strings to unsigned long longs.
3942 #$d_strtoull HAS_STRTOULL /**/
3945 * This symbol, if defined, indicates that the strtouq routine is
3946 * available to convert strings to unsigned long longs (quads).
3948 #$d_strtouq HAS_STRTOUQ /**/
3950 /* HAS_SYSCALL_PROTO:
3951 * This symbol, if defined, indicates that the system provides
3952 * a prototype for the syscall() function. Otherwise, it is up
3953 * to the program to supply one. Good guesses are
3954 * extern int syscall(int, ...);
3955 * extern int syscall(long, ...);
3957 #$d_syscallproto HAS_SYSCALL_PROTO /**/
3959 /* HAS_TELLDIR_PROTO:
3960 * This symbol, if defined, indicates that the system provides
3961 * a prototype for the telldir() function. Otherwise, it is up
3962 * to the program to supply one. A good guess is
3963 * extern long telldir(DIR*);
3965 #$d_telldirproto HAS_TELLDIR_PROTO /**/
3967 /* U32_ALIGNMENT_REQUIRED:
3968 * This symbol, if defined, indicates that you must access
3969 * character data through U32-aligned pointers.
3971 #ifndef U32_ALIGNMENT_REQUIRED
3972 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
3976 * This symbol, if defined, indicates that the ualarm routine is
3977 * available to do alarms with microsecond granularity.
3979 #$d_ualarm HAS_UALARM /**/
3982 * This symbol, if defined, indicates that the unordered routine is
3983 * available to check whether two doubles are unordered
3984 * (effectively: whether either of them is NaN)
3986 #$d_unordered HAS_UNORDERED /**/
3989 * This symbol, if defined, indicates that the unsetenv () routine is
3990 * available for use.
3992 #$d_unsetenv HAS_UNSETENV /**/
3994 /* HAS_USLEEP_PROTO:
3995 * This symbol, if defined, indicates that the system provides
3996 * a prototype for the usleep() function. Otherwise, it is up
3997 * to the program to supply one. A good guess is
3998 * extern int usleep(useconds_t);
4000 #$d_usleepproto HAS_USLEEP_PROTO /**/
4003 * This symbol, if defined, indicates that the ustat system call is
4004 * available to query file system statistics by dev_t.
4006 #$d_ustat HAS_USTAT /**/
4009 * This symbol, if defined, indicates that the writev routine is
4010 * available to do scatter writes.
4012 #$d_writev HAS_WRITEV /**/
4014 /* USE_DYNAMIC_LOADING:
4015 * This symbol, if defined, indicates that dynamic loading of
4016 * some sort is available.
4018 #$usedl USE_DYNAMIC_LOADING /**/
4021 * This symbol, if defined, tells that fflush(NULL) does flush
4022 * all pending stdio output.
4025 * This symbol, if defined, tells that to flush
4026 * all pending stdio output one must loop through all
4027 * the stdio file handles stored in an array and fflush them.
4028 * Note that if fflushNULL is defined, fflushall will not
4029 * even be probed for and will be left undefined.
4031 #$fflushNULL FFLUSH_NULL /**/
4032 #$fflushall FFLUSH_ALL /**/
4035 * This symbol, if defined, indicates that <assert.h> exists and
4036 * could be included by the C program to get the assert() macro.
4038 #$i_assert I_ASSERT /**/
4041 * This symbol, if defined, indicates that <crypt.h> exists and
4042 * should be included.
4044 #$i_crypt I_CRYPT /**/
4047 * This symbol contains the type of the prefix structure element
4048 * in the <db.h> header file. In older versions of DB, it was
4049 * int, while in newer ones it is u_int32_t.
4052 * This symbol contains the type of the prefix structure element
4053 * in the <db.h> header file. In older versions of DB, it was
4054 * int, while in newer ones it is size_t.
4056 /* DB_VERSION_MAJOR_CFG:
4057 * This symbol, if defined, defines the major version number of
4058 * Berkeley DB found in the <db.h> header when Perl was configured.
4060 /* DB_VERSION_MINOR_CFG:
4061 * This symbol, if defined, defines the minor version number of
4062 * Berkeley DB found in the <db.h> header when Perl was configured.
4063 * For DB version 1 this is always 0.
4065 /* DB_VERSION_PATCH_CFG:
4066 * This symbol, if defined, defines the patch version number of
4067 * Berkeley DB found in the <db.h> header when Perl was configured.
4068 * For DB version 1 this is always 0.
4070 #define DB_Hash_t $db_hashtype /**/
4071 #define DB_Prefix_t $db_prefixtype /**/
4072 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
4073 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
4074 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
4077 * This symbol, if defined, indicates that <fp.h> exists and
4078 * should be included.
4083 * This symbol, if defined, indicates that <fp_class.h> exists and
4084 * should be included.
4086 #$i_fp_class I_FP_CLASS /**/
4089 * This symbol, if defined, indicates that <ieeefp.h> exists and
4090 * should be included.
4092 #$i_ieeefp I_IEEEFP /**/
4095 * This symbol, if defined, indicates to the C program that it should
4096 * include <inttypes.h>.
4098 #$i_inttypes I_INTTYPES /**/
4101 * This symbol, if defined, indicates that <langinfo.h> exists and
4102 * should be included.
4104 #$i_langinfo I_LANGINFO /**/
4107 * This symbol, if defined, indicates that <libutil.h> exists and
4108 * should be included.
4110 #$i_libutil I_LIBUTIL /**/
4113 * This symbol, if defined, indicates that <mntent.h> exists and
4114 * should be included.
4116 #$i_mntent I_MNTENT /**/
4119 * This symbol, if defined, indicates to the C program that it should
4120 * include <netinet/tcp.h>.
4122 #$i_netinettcp I_NETINET_TCP /**/
4125 * This symbol, if defined, indicates that <poll.h> exists and
4126 * should be included. (see also HAS_POLL)
4128 #$i_poll I_POLL /**/
4131 * This symbol, if defined, indicates that <prot.h> exists and
4132 * should be included.
4134 #$i_prot I_PROT /**/
4137 * This symbol, if defined, indicates that <shadow.h> exists and
4138 * should be included.
4140 #$i_shadow I_SHADOW /**/
4143 * This symbol, if defined, indicates that <socks.h> exists and
4144 * should be included.
4146 #$i_socks I_SOCKS /**/
4149 * This symbol, if defined, indicates that <sunmath.h> exists and
4150 * should be included.
4152 #$i_sunmath I_SUNMATH /**/
4155 * This symbol, if defined, indicates that <syslog.h> exists and
4156 * should be included.
4158 #$i_syslog I_SYSLOG /**/
4161 * This symbol, if defined, indicates that <sys/mode.h> exists and
4162 * should be included.
4164 #$i_sysmode I_SYSMODE /**/
4167 * This symbol, if defined, indicates that <sys/mount.h> exists and
4168 * should be included.
4170 #$i_sysmount I_SYS_MOUNT /**/
4173 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4175 #$i_sysstatfs I_SYS_STATFS /**/
4178 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4179 * should be included.
4181 #$i_sysstatvfs I_SYS_STATVFS /**/
4184 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4185 * should be included.
4187 #$i_sysutsname I_SYSUTSNAME /**/
4190 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4191 * should be included.
4193 #$i_sysvfs I_SYS_VFS /**/
4196 * This symbol, if defined, indicates that <ustat.h> exists and
4197 * should be included.
4199 #$i_ustat I_USTAT /**/
4202 * This symbol, if defined, contains the string used by stdio to
4203 * format long doubles (format 'f') for output.
4206 * This symbol, if defined, contains the string used by stdio to
4207 * format long doubles (format 'g') for output.
4210 * This symbol, if defined, contains the string used by stdio to
4211 * format long doubles (format 'e') for output.
4214 * This symbol, if defined, contains the string used by stdio to
4215 * format long doubles (format 'f') for input.
4217 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
4218 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
4219 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
4220 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
4223 * This symbol, if defined, indicates that the Misc Attribution
4224 * Declaration code should be conditionally compiled.
4229 * This symbol, if defined, indicates that the system stores
4230 * the variable argument list datatype, va_list, in a format
4231 * that cannot be copied by simple assignment, so that some
4232 * other means must be used when copying is required.
4233 * As such systems vary in their provision (or non-provision)
4234 * of copying mechanisms, handy.h defines a platform-
4235 * independent macro, Perl_va_copy(src, dst), to do the job.
4237 #$need_va_copy NEED_VA_COPY /**/
4240 * This symbol defines the C type used for Perl's IV.
4243 * This symbol defines the C type used for Perl's UV.
4246 * This symbol defines the C type used for Perl's I8.
4249 * This symbol defines the C type used for Perl's U8.
4252 * This symbol defines the C type used for Perl's I16.
4255 * This symbol defines the C type used for Perl's U16.
4258 * This symbol defines the C type used for Perl's I32.
4261 * This symbol defines the C type used for Perl's U32.
4264 * This symbol defines the C type used for Perl's I64.
4267 * This symbol defines the C type used for Perl's U64.
4270 * This symbol defines the C type used for Perl's NV.
4273 * This symbol contains the sizeof(IV).
4276 * This symbol contains the sizeof(UV).
4279 * This symbol contains the sizeof(I8).
4282 * This symbol contains the sizeof(U8).
4285 * This symbol contains the sizeof(I16).
4288 * This symbol contains the sizeof(U16).
4291 * This symbol contains the sizeof(I32).
4294 * This symbol contains the sizeof(U32).
4297 * This symbol contains the sizeof(I64).
4300 * This symbol contains the sizeof(U64).
4303 * This symbol contains the sizeof(NV).
4306 * This symbol, if defined, indicates that a variable of type NVTYPE
4307 * can preserve all the bits of a variable of type UVTYPE.
4309 /* NV_PRESERVES_UV_BITS:
4310 * This symbol contains the number of bits a variable of type NVTYPE
4311 * can preserve of a variable of type UVTYPE.
4313 /* NV_OVERFLOWS_INTEGERS_AT:
4314 * This symbol gives the largest integer value that NVs can hold. This
4315 * value + 1.0 cannot be stored accurately. It is expressed as constant
4316 * floating point expression to reduce the chance of decimale/binary
4317 * conversion issues. If it can not be determined, the value 0 is given.
4319 /* NV_ZERO_IS_ALLBITS_ZERO:
4320 * This symbol, if defined, indicates that a variable of type NVTYPE
4321 * stores 0.0 in memory as all bits zero.
4323 #define IVTYPE $ivtype /**/
4324 #define UVTYPE $uvtype /**/
4325 #define I8TYPE $i8type /**/
4326 #define U8TYPE $u8type /**/
4327 #define I16TYPE $i16type /**/
4328 #define U16TYPE $u16type /**/
4329 #define I32TYPE $i32type /**/
4330 #define U32TYPE $u32type /**/
4332 #define I64TYPE $i64type /**/
4333 #define U64TYPE $u64type /**/
4335 #define NVTYPE $nvtype /**/
4336 #define IVSIZE $ivsize /**/
4337 #define UVSIZE $uvsize /**/
4338 #define I8SIZE $i8size /**/
4339 #define U8SIZE $u8size /**/
4340 #define I16SIZE $i16size /**/
4341 #define U16SIZE $u16size /**/
4342 #define I32SIZE $i32size /**/
4343 #define U32SIZE $u32size /**/
4345 #define I64SIZE $i64size /**/
4346 #define U64SIZE $u64size /**/
4348 #define NVSIZE $nvsize /**/
4349 #$d_nv_preserves_uv NV_PRESERVES_UV
4350 #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4351 #define NV_OVERFLOWS_INTEGERS_AT $nv_overflows_integers_at
4352 #$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4355 # if BYTEORDER == 0x1234
4357 # define BYTEORDER 0x12345678
4359 # if BYTEORDER == 0x4321
4361 # define BYTEORDER 0x87654321
4368 * This symbol defines the format string used for printing a Perl IV
4369 * as a signed decimal integer.
4372 * This symbol defines the format string used for printing a Perl UV
4373 * as an unsigned decimal integer.
4376 * This symbol defines the format string used for printing a Perl UV
4377 * as an unsigned octal integer.
4380 * This symbol defines the format string used for printing a Perl UV
4381 * as an unsigned hexadecimal integer in lowercase abcdef.
4384 * This symbol defines the format string used for printing a Perl UV
4385 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4388 * This symbol defines the format string used for printing a Perl NV
4389 * using %e-ish floating point format.
4392 * This symbol defines the format string used for printing a Perl NV
4393 * using %f-ish floating point format.
4396 * This symbol defines the format string used for printing a Perl NV
4397 * using %g-ish floating point format.
4399 #define IVdf $ivdformat /**/
4400 #define UVuf $uvuformat /**/
4401 #define UVof $uvoformat /**/
4402 #define UVxf $uvxformat /**/
4403 #define UVXf $uvXUformat /**/
4404 #define NVef $nveformat /**/
4405 #define NVff $nvfformat /**/
4406 #define NVgf $nvgformat /**/
4409 * This symbol holds the minimum number of bits operated by select.
4410 * That is, if you do select(n, ...), how many bits at least will be
4411 * cleared in the masks if some activity is detected. Usually this
4412 * is either n or 32*ceil(n/32), especially many little-endians do
4413 * the latter. This is only useful if you have select(), naturally.
4415 #define SELECT_MIN_BITS $selectminbits /**/
4418 * This variable contains the string to put in front of a perl
4419 * script to make sure (one hopes) that it runs with perl and not
4422 #define STARTPERL "$startperl" /**/
4424 /* HAS_STDIO_STREAM_ARRAY:
4425 * This symbol, if defined, tells that there is an array
4426 * holding the stdio streams.
4428 /* STDIO_STREAM_ARRAY:
4429 * This symbol tells the name of the array holding the stdio streams.
4430 * Usual values include _iob, __iob, and __sF.
4432 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4433 #ifdef HAS_STDIO_STREAM_ARRAY
4434 #define STDIO_STREAM_ARRAY $stdio_stream_array
4438 * This symbol, if defined, indicates that 64-bit integers should
4439 * be used when available. If not defined, the native integers
4440 * will be employed (be they 32 or 64 bits). The minimal possible
4441 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4442 * This may mean using for example "long longs", while your memory
4443 * may still be limited to 2 gigabytes.
4446 * This symbol, if defined, indicates that 64-bit integers should
4447 * be used when available. If not defined, the native integers
4448 * will be used (be they 32 or 64 bits). The maximal possible
4449 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4450 * be able to use more than 2 gigabytes of memory. This mode is
4451 * even more binary incompatible than USE_64_BIT_INT. You may not
4452 * be able to run the resulting executable in a 32-bit CPU at all or
4453 * you may need at least to reboot your OS to 64-bit mode.
4455 #ifndef USE_64_BIT_INT
4456 #$use64bitint USE_64_BIT_INT /**/
4458 #ifndef USE_64_BIT_ALL
4459 #$use64bitall USE_64_BIT_ALL /**/
4463 * This symbol, if defined, indicates that Perl should
4464 * be built with support for DTrace.
4466 #$usedtrace USE_DTRACE /**/
4469 * This symbol, if defined, indicates that Perl should
4470 * be built to use 'fast stdio'.
4471 * Defaults to define in Perls 5.8 and earlier, to undef later.
4473 #ifndef USE_FAST_STDIO
4474 #$usefaststdio USE_FAST_STDIO /**/
4478 * This symbol, if defined, indicates that large file support
4479 * should be used when available.
4481 #ifndef USE_LARGE_FILES
4482 #$uselargefiles USE_LARGE_FILES /**/
4486 * This symbol, if defined, indicates that long doubles should
4487 * be used when available.
4489 #ifndef USE_LONG_DOUBLE
4490 #$uselongdouble USE_LONG_DOUBLE /**/
4494 * This symbol, if defined, indicates that 64-bit interfaces and
4495 * long doubles should be used when available.
4497 #ifndef USE_MORE_BITS
4498 #$usemorebits USE_MORE_BITS /**/
4502 * This symbol, if defined, indicates that Perl should
4503 * be built to use multiplicity.
4505 #ifndef MULTIPLICITY
4506 #$usemultiplicity MULTIPLICITY /**/
4510 * This symbol, if defined, indicates that the PerlIO abstraction should
4511 * be used throughout. If not defined, stdio should be
4512 * used in a fully backward compatible manner.
4515 #$useperlio USE_PERLIO /**/
4519 * This symbol, if defined, indicates that Perl should
4520 * be built to use socks.
4523 #$usesocks USE_SOCKS /**/