2 '') CONFIG_SH=config.sh ;;
5 '') CONFIG_H=config.h ;;
7 case $PERL_CONFIG_SH in
9 if test -f $CONFIG_SH; then TOP=.;
10 elif test -f ../$CONFIG_SH; then TOP=..;
11 elif test -f ../../$CONFIG_SH; then TOP=../..;
12 elif test -f ../../../$CONFIG_SH; then TOP=../../..;
13 elif test -f ../../../../$CONFIG_SH; then TOP=../../../..;
15 echo "Can't find $CONFIG_SH."; exit 1
21 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
23 echo "Extracting $CONFIG_H (with variable substitutions)"
24 sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
26 * This file was produced by running the config_h.SH script, which
27 * gets its values from $CONFIG_SH, which is generally produced by
30 * Feel free to modify any of this as the need arises. Note, however,
31 * that running config_h.SH again will wipe out any changes you've made.
32 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
34 * \$Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
38 * Package name : $package
39 * Source directory : $src
40 * Configuration time: $cf_time
41 * Configured by : $cf_by
42 * Target system : $myuname
49 * This symbol holds the complete pathname to the sed program.
51 #define LOC_SED "$full_sed" /**/
54 * This symbol, if defined, indicates that the alarm routine is
57 #$d_alarm HAS_ALARM /**/
60 * This symbol indicates the C compiler can check for function attributes,
61 * such as printf formats. This is normally only supported by GNU cc.
63 #$d_attribut HASATTRIBUTE /**/
65 #define __attribute__(_arg_)
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 this C compiler knows about
106 * the const type. There is no need to actually test for that symbol
107 * within your programs. The mere use of the "const" keyword will
108 * trigger the necessary tests.
110 #$d_const HASCONST /**/
116 * This symbol, if defined, indicates that the crypt routine is available
117 * to encrypt passwords and the like.
119 #$d_crypt HAS_CRYPT /**/
122 * This symbol, if defined, indicates that the cuserid routine is
123 * available to get character login names.
125 #$d_cuserid HAS_CUSERID /**/
128 * This symbol, if defined, indicates that this system's <float.h>
129 * or <limits.h> defines the symbol DBL_DIG, which is the number
130 * of significant digits in a double precision number. If this
131 * symbol is not defined, a guess of 15 is usually pretty good.
133 #$d_dbl_dig HAS_DBL_DIG /* */
136 * This symbol, if defined, indicates that the difftime routine is
139 #$d_difftime HAS_DIFFTIME /**/
142 * This symbol, if defined, indicates that the dlerror routine is
143 * available to return a string describing the last error that
144 * occurred from a call to dlopen(), dlclose() or dlsym().
146 #$d_dlerror HAS_DLERROR /**/
148 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
149 * This symbol, if defined, indicates that the bug that prevents
150 * setuid scripts from being secure is not present in this kernel.
153 * This symbol, if defined, indicates that the C program should
154 * check the script that it is executing for setuid/setgid bits, and
155 * attempt to emulate setuid/setgid on systems that have disabled
156 * setuid #! scripts because the kernel can't do it securely.
157 * It is up to the package designer to make sure that this emulation
158 * is done securely. Among other things, it should do an fstat on
159 * the script it just opened to make sure it really is a setuid/setgid
160 * script, it should make sure the arguments passed correspond exactly
161 * to the argument on the #! line, and it should not trust any
162 * subprocesses to which it must pass the filename rather than the
163 * file descriptor of the script to be executed.
165 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
166 #$d_dosuid DOSUID /**/
169 * This symbol, if defined, indicates that the dup2 routine is
170 * available to duplicate file descriptors.
172 #$d_dup2 HAS_DUP2 /**/
175 * This symbol, if defined, indicates that the fchmod routine is available
176 * to change mode of opened files. If unavailable, use chmod().
178 #$d_fchmod HAS_FCHMOD /**/
181 * This symbol, if defined, indicates that the fchown routine is available
182 * to change ownership of opened files. If unavailable, use chown().
184 #$d_fchown HAS_FCHOWN /**/
187 * This symbol, if defined, indicates to the C program that
188 * the fcntl() function exists.
190 #$d_fcntl HAS_FCNTL /**/
193 * This symbol, if defined, indicates that the fgetpos routine is
194 * available to get the file position indicator, similar to ftell().
196 #$d_fgetpos HAS_FGETPOS /**/
199 * This symbol, if defined, indicates that the flock routine is
200 * available to do file locking.
202 #$d_flock HAS_FLOCK /**/
205 * This symbol, if defined, indicates that the fork routine is
208 #$d_fork HAS_FORK /**/
211 * This symbol, if defined, indicates that the fsetpos routine is
212 * available to set the file position indicator, similar to fseek().
214 #$d_fsetpos HAS_FSETPOS /**/
217 * This symbol, if defined, indicates that the gettimeofday() system
218 * call is available for a sub-second accuracy clock. Usually, the file
219 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
220 * The type "Timeval" should be used to refer to "struct timeval".
222 #$d_gettimeod HAS_GETTIMEOFDAY /**/
223 #ifdef HAS_GETTIMEOFDAY
224 #define Timeval struct timeval /* Structure used by gettimeofday() */
228 * This symbol, if defined, indicates that the getgroups() routine is
229 * available to get the list of process groups. If unavailable, multiple
230 * groups are probably not supported.
232 #$d_getgrps HAS_GETGROUPS /**/
235 * This symbol, if defined, indicates that the getlogin routine is
236 * available to get the login name.
238 #$d_getlogin HAS_GETLOGIN /**/
241 * This symbol, if defined, indicates to the C program that
242 * the getpgid(pid) function is available to get the
245 #$d_getpgid HAS_GETPGID /**/
248 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
249 * routine is available to get the current process group.
251 #$d_getpgrp2 HAS_GETPGRP2 /**/
254 * This symbol, if defined, indicates that the getppid routine is
255 * available to get the parent process ID.
257 #$d_getppid HAS_GETPPID /**/
260 * This symbol, if defined, indicates that the getpriority routine is
261 * available to get a process's priority.
263 #$d_getprior HAS_GETPRIORITY /**/
266 * This symbol, if defined, indicates to the C program that the
267 * inet_aton() function is available to parse IP address "dotted-quad"
270 #$d_inetaton HAS_INET_ATON /**/
273 * This symbol, if defined, indicates that the killpg routine is available
274 * to kill process groups. If unavailable, you probably should use kill
275 * with a negative process number.
277 #$d_killpg HAS_KILLPG /**/
280 * This symbol, if defined, indicates that the link routine is
281 * available to create hard links.
283 #$d_link HAS_LINK /**/
286 * This symbol, if defined, indicates that the localeconv routine is
287 * available for numeric and monetary formatting conventions.
289 #$d_locconv HAS_LOCALECONV /**/
292 * This symbol, if defined, indicates that the lockf routine is
293 * available to do file locking.
295 #$d_lockf HAS_LOCKF /**/
298 * This symbol, if defined, indicates that the lstat routine is
299 * available to do file stats on symbolic links.
301 #$d_lstat HAS_LSTAT /**/
304 * This symbol, if defined, indicates that the mblen routine is available
305 * to find the number of bytes in a multibye character.
307 #$d_mblen HAS_MBLEN /**/
310 * This symbol, if defined, indicates that the mbstowcs routine is
311 * available to covert a multibyte string into a wide character string.
313 #$d_mbstowcs HAS_MBSTOWCS /**/
316 * This symbol, if defined, indicates that the mbtowc routine is available
317 * to covert a multibyte to a wide character.
319 #$d_mbtowc HAS_MBTOWC /**/
322 * This symbol, if defined, indicates that the memcmp routine is available
323 * to compare blocks of memory.
325 #$d_memcmp HAS_MEMCMP /**/
328 * This symbol, if defined, indicates that the memcpy routine is available
329 * to copy blocks of memory.
331 #$d_memcpy HAS_MEMCPY /**/
334 * This symbol, if defined, indicates that the memmove routine is available
335 * to copy potentially overlapping blocks of memory. This should be used
336 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
339 #$d_memmove HAS_MEMMOVE /**/
342 * This symbol, if defined, indicates that the memset routine is available
343 * to set blocks of memory.
345 #$d_memset HAS_MEMSET /**/
348 * This symbol, if defined, indicates that the mkdir routine is available
349 * to create directories. Otherwise you should fork off a new process to
352 #$d_mkdir HAS_MKDIR /**/
355 * This symbol, if defined, indicates that the mkfifo routine is
356 * available to create FIFOs. Otherwise, mknod should be able to
357 * do it for you. However, if mkfifo is there, mknod might require
358 * super-user privileges which mkfifo will not.
360 #$d_mkfifo HAS_MKFIFO /**/
363 * This symbol, if defined, indicates that the mktime routine is
366 #$d_mktime HAS_MKTIME /**/
369 * This symbol, if defined, indicates that the msync system call is
370 * available to synchronize a mapped file.
372 #$d_msync HAS_MSYNC /**/
375 * This symbol, if defined, indicates that the munmap system call is
376 * available to unmap a region, usually mapped by mmap().
378 #$d_munmap HAS_MUNMAP /**/
381 * This symbol, if defined, indicates that the nice routine is
384 #$d_nice HAS_NICE /**/
387 * This symbol, if defined, indicates that pathconf() is available
388 * to determine file-system related limits and options associated
389 * with a given filename.
392 * This symbol, if defined, indicates that pathconf() is available
393 * to determine file-system related limits and options associated
394 * with a given open file descriptor.
396 #$d_pathconf HAS_PATHCONF /**/
397 #$d_fpathconf HAS_FPATHCONF /**/
400 * This symbol, if defined, indicates that the pause routine is
401 * available to suspend a process until a signal is received.
403 #$d_pause HAS_PAUSE /**/
406 * This symbol, if defined, indicates that the pipe routine is
407 * available to create an inter-process channel.
409 #$d_pipe HAS_PIPE /**/
412 * This symbol, if defined, indicates that the poll routine is
413 * available to poll active file descriptors. You may safely
414 * include <poll.h> when this symbol is defined.
416 #$d_poll HAS_POLL /**/
419 * This symbol, if defined, indicates that the readdir routine is
420 * available to read directory entries. You may have to include
421 * <dirent.h>. See I_DIRENT.
423 #$d_readdir HAS_READDIR /**/
426 * This symbol, if defined, indicates that the seekdir routine is
427 * available. You may have to include <dirent.h>. See I_DIRENT.
429 #$d_seekdir HAS_SEEKDIR /**/
432 * This symbol, if defined, indicates that the telldir routine is
433 * available. You may have to include <dirent.h>. See I_DIRENT.
435 #$d_telldir HAS_TELLDIR /**/
438 * This symbol, if defined, indicates that the rewinddir routine is
439 * available. You may have to include <dirent.h>. See I_DIRENT.
441 #$d_rewinddir HAS_REWINDDIR /**/
444 * This symbol, if defined, indicates that the readlink routine is
445 * available to read the value of a symbolic link.
447 #$d_readlink HAS_READLINK /**/
450 * This symbol, if defined, indicates that the rename routine is available
451 * to rename files. Otherwise you should do the unlink(), link(), unlink()
454 #$d_rename HAS_RENAME /**/
457 * This symbol, if defined, indicates that the rmdir routine is
458 * available to remove directories. Otherwise you should fork off a
459 * new process to exec /bin/rmdir.
461 #$d_rmdir HAS_RMDIR /**/
464 * This symbol, if defined, indicates that the select routine is
465 * available to select active file descriptors. If the timeout field
466 * is used, <sys/time.h> may need to be included.
468 #$d_select HAS_SELECT /**/
471 * This symbol, if defined, indicates that the setegid routine is available
472 * to change the effective gid of the current program.
474 #$d_setegid HAS_SETEGID /**/
477 * This symbol, if defined, indicates that the seteuid routine is available
478 * to change the effective uid of the current program.
480 #$d_seteuid HAS_SETEUID /**/
483 * This symbol, if defined, indicates that the setlinebuf routine is
484 * available to change stderr or stdout from block-buffered or unbuffered
485 * to a line-buffered mode.
487 #$d_setlinebuf HAS_SETLINEBUF /**/
490 * This symbol, if defined, indicates that the setlocale routine is
491 * available to handle locale-specific ctype implementations.
493 #$d_setlocale HAS_SETLOCALE /**/
496 * This symbol, if defined, indicates that the setpgid(pid, gpid)
497 * routine is available to set process group ID.
499 #$d_setpgid HAS_SETPGID /**/
502 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
503 * routine is available to set the current process group.
505 #$d_setpgrp2 HAS_SETPGRP2 /**/
508 * This symbol, if defined, indicates that the setpriority routine is
509 * available to set a process's priority.
511 #$d_setprior HAS_SETPRIORITY /**/
514 * This symbol, if defined, indicates that the setregid routine is
515 * available to change the real and effective gid of the current
519 * This symbol, if defined, indicates that the setresgid routine is
520 * available to change the real, effective and saved gid of the current
523 #$d_setregid HAS_SETREGID /**/
524 #$d_setresgid HAS_SETRESGID /**/
527 * This symbol, if defined, indicates that the setreuid routine is
528 * available to change the real and effective uid of the current
532 * This symbol, if defined, indicates that the setresuid routine is
533 * available to change the real, effective and saved uid of the current
536 #$d_setreuid HAS_SETREUID /**/
537 #$d_setresuid HAS_SETRESUID /**/
540 * This symbol, if defined, indicates that the setrgid routine is available
541 * to change the real gid of the current program.
543 #$d_setrgid HAS_SETRGID /**/
546 * This symbol, if defined, indicates that the setruid routine is available
547 * to change the real uid of the current program.
549 #$d_setruid HAS_SETRUID /**/
552 * This symbol, if defined, indicates that the setsid routine is
553 * available to set the process group ID.
555 #$d_setsid HAS_SETSID /**/
558 * This symbol holds the return type of the shmat() system call.
559 * Usually set to 'void *' or 'char *'.
561 /* HAS_SHMAT_PROTOTYPE:
562 * This symbol, if defined, indicates that the sys/shm.h includes
563 * a prototype for shmat(). Otherwise, it is up to the program to
564 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
565 * but not always right so it should be emitted by the program only
566 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
568 #define Shmat_t $shmattype /**/
569 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
572 * This symbol is defined to indicate that the strchr()/strrchr()
573 * functions are available for string searching. If not, try the
574 * index()/rindex() pair.
577 * This symbol is defined to indicate that the index()/rindex()
578 * functions are available for string searching.
580 #$d_strchr HAS_STRCHR /**/
581 #$d_index HAS_INDEX /**/
584 * This symbol, if defined, indicates that the strcoll routine is
585 * available to compare strings using collating information.
587 #$d_strcoll HAS_STRCOLL /**/
590 * This symbol, if defined, indicates that this C compiler knows how
591 * to copy structures. If undefined, you'll need to use a block copy
592 * routine of some sort instead.
594 #$d_strctcpy USE_STRUCT_COPY /**/
597 * This symbol, if defined, indicates that the strtod routine is
598 * available to provide better numeric string conversion than atof().
600 #$d_strtod HAS_STRTOD /**/
603 * This symbol, if defined, indicates that the strtol routine is available
604 * to provide better numeric string conversion than atoi() and friends.
606 #$d_strtol HAS_STRTOL /**/
609 * This symbol, if defined, indicates that the strxfrm() routine is
610 * available to transform strings.
612 #$d_strxfrm HAS_STRXFRM /**/
615 * This symbol, if defined, indicates that the symlink routine is available
616 * to create symbolic links.
618 #$d_symlink HAS_SYMLINK /**/
621 * This symbol, if defined, indicates that the syscall routine is
622 * available to call arbitrary system calls. If undefined, that's tough.
624 #$d_syscall HAS_SYSCALL /**/
627 * This symbol, if defined, indicates that sysconf() is available
628 * to determine system related limits and options.
630 #$d_sysconf HAS_SYSCONF /**/
633 * This symbol, if defined, indicates that the system routine is
634 * available to issue a shell command.
636 #$d_system HAS_SYSTEM /**/
639 * This symbol, if defined, indicates that the tcgetpgrp routine is
640 * available to get foreground process group ID.
642 #$d_tcgetpgrp HAS_TCGETPGRP /**/
645 * This symbol, if defined, indicates that the tcsetpgrp routine is
646 * available to set foreground process group ID.
648 #$d_tcsetpgrp HAS_TCSETPGRP /**/
651 * This symbol, if defined, indicates that the truncate routine is
652 * available to truncate files.
654 #$d_truncate HAS_TRUNCATE /**/
657 * This symbol, if defined, indicates that the tzname[] array is
658 * available to access timezone names.
660 #$d_tzname HAS_TZNAME /**/
663 * This symbol, if defined, indicates that the umask routine is
664 * available to set and get the value of the file creation mask.
666 #$d_umask HAS_UMASK /**/
669 * This symbol, if defined, indicates that the usleep routine is
670 * available to let the process sleep on a sub-second accuracy.
672 #$d_usleep HAS_USLEEP /**/
675 * This symbol, if defined, indicates that this C compiler knows about
676 * the volatile declaration.
678 #$d_volatile HASVOLATILE /**/
684 * This symbol, if defined, indicates that wait4() exists.
686 #$d_wait4 HAS_WAIT4 /**/
689 * This symbol, if defined, indicates that the waitpid routine is
690 * available to wait for child process.
692 #$d_waitpid HAS_WAITPID /**/
695 * This symbol, if defined, indicates that the wcstombs routine is
696 * available to convert wide character strings to multibyte strings.
698 #$d_wcstombs HAS_WCSTOMBS /**/
701 * This symbol, if defined, indicates that the wctomb routine is available
702 * to covert a wide character to a multibyte.
704 #$d_wctomb HAS_WCTOMB /**/
707 * This symbol, if defined, indicates to the C program that it should
708 * include <arpa/inet.h> to get inet_addr and friends declarations.
710 #$i_arpainet I_ARPA_INET /**/
713 * This symbol, if defined, indicates that <dbm.h> exists and should
717 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
718 * should be included.
721 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
724 * This symbol, if defined, indicates to the C program that it should
725 * include <dirent.h>. Using this symbol also triggers the definition
726 * of the Direntry_t define which ends up being 'struct dirent' or
727 * 'struct direct' depending on the availability of <dirent.h>.
730 * This symbol, if defined, indicates to the C program that the length
731 * of directory entry names is provided by a d_namlen field. Otherwise
732 * you need to do strlen() on the d_name field.
735 * This symbol is set to 'struct direct' or 'struct dirent' depending on
736 * whether dirent is available or not. You should use this pseudo type to
737 * portably declare your directory entries.
739 #$i_dirent I_DIRENT /**/
740 #$d_dirnamlen DIRNAMLEN /**/
741 #define Direntry_t $direntrytype
744 * This symbol, if defined, indicates that <dlfcn.h> exists and should
747 #$i_dlfcn I_DLFCN /**/
750 * This manifest constant tells the C program to include <fcntl.h>.
752 #$i_fcntl I_FCNTL /**/
755 * This symbol, if defined, indicates to the C program that it should
756 * include <float.h> to get definition of symbols like DBL_MAX or
757 * DBL_MIN, i.e. machine dependent floating point values.
759 #$i_float I_FLOAT /**/
762 * This symbol, if defined, indicates to the C program that it should
763 * include <limits.h> to get definition of symbols like WORD_BIT or
764 * LONG_MAX, i.e. machine dependant limitations.
766 #$i_limits I_LIMITS /**/
769 * This symbol, if defined, indicates to the C program that it should
770 * include <locale.h>.
772 #$i_locale I_LOCALE /**/
775 * This symbol, if defined, indicates to the C program that it should
781 * This symbol, if defined, indicates to the C program that it should
782 * include <memory.h>.
784 #$i_memory I_MEMORY /**/
787 * This symbol, if defined, indicates that <ndbm.h> exists and should
793 * This symbol, if defined, indicates that <net/errno.h> exists and
794 * should be included.
796 #$i_neterrno I_NET_ERRNO /**/
799 * This symbol, if defined, indicates to the C program that it should
800 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
802 #$i_niin I_NETINET_IN /**/
805 * This symbol, if defined, indicates to the C program that it should
811 * This symbol, if defined, indicates that <stddef.h> exists and should
814 #$i_stddef I_STDDEF /**/
817 * This symbol, if defined, indicates that <stdlib.h> exists and should
820 #$i_stdlib I_STDLIB /**/
823 * This symbol, if defined, indicates to the C program that it should
824 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
826 #$i_string I_STRING /**/
829 * This symbol, if defined, indicates to the C program that it should
830 * include <sys/dir.h>.
832 #$i_sysdir I_SYS_DIR /**/
835 * This symbol, if defined, indicates to the C program that it should
836 * include <sys/file.h> to get definition of R_OK and friends.
838 #$i_sysfile I_SYS_FILE /**/
841 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
842 * be included. Otherwise, include <sgtty.h> or <termio.h>.
845 * This symbol, if defined, indicates the <sys/sockio.h> should be included
846 * to get socket ioctl options, like SIOCATMARK.
848 #$i_sysioctl I_SYS_IOCTL /**/
849 #$i_syssockio I_SYS_SOCKIO /**/
852 * This symbol, if defined, indicates to the C program that it should
853 * include <sys/ndir.h>.
855 #$i_sysndir I_SYS_NDIR /**/
858 * This symbol, if defined, indicates to the C program that it should
859 * include <sys/param.h>.
861 #$i_sysparam I_SYS_PARAM /**/
864 * This symbol, if defined, indicates to the C program that it should
865 * include <sys/resource.h>.
867 #$i_sysresrc I_SYS_RESOURCE /**/
870 * This symbol, if defined, indicates to the C program that it should
871 * include <sys/select.h> in order to get definition of struct timeval.
873 #$i_sysselct I_SYS_SELECT /**/
876 * This symbol, if defined, indicates to the C program that it should
877 * include <sys/stat.h>.
879 #$i_sysstat I_SYS_STAT /**/
882 * This symbol, if defined, indicates to the C program that it should
883 * include <sys/times.h>.
885 #$i_systimes I_SYS_TIMES /**/
888 * This symbol, if defined, indicates to the C program that it should
889 * include <sys/types.h>.
891 #$i_systypes I_SYS_TYPES /**/
894 * This symbol, if defined, indicates to the C program that it should
895 * include <sys/un.h> to get UNIX domain socket definitions.
897 #$i_sysun I_SYS_UN /**/
900 * This symbol, if defined, indicates to the C program that it should
901 * include <sys/wait.h>.
903 #$i_syswait I_SYS_WAIT /**/
906 * This symbol, if defined, indicates that the program should include
907 * <termio.h> rather than <sgtty.h>. There are also differences in
908 * the ioctl() calls that depend on the value of this symbol.
911 * This symbol, if defined, indicates that the program should include
912 * the POSIX termios.h rather than sgtty.h or termio.h.
913 * There are also differences in the ioctl() calls that depend on the
914 * value of this symbol.
917 * This symbol, if defined, indicates that the program should include
918 * <sgtty.h> rather than <termio.h>. There are also differences in
919 * the ioctl() calls that depend on the value of this symbol.
921 #$i_termio I_TERMIO /**/
922 #$i_termios I_TERMIOS /**/
923 #$i_sgtty I_SGTTY /**/
926 * This symbol, if defined, indicates to the C program that it should
927 * include <unistd.h>.
929 #$i_unistd I_UNISTD /**/
932 * This symbol, if defined, indicates to the C program that it should
935 #$i_utime I_UTIME /**/
938 * This symbol, if defined, indicates to the C program that it should
939 * include <values.h> to get definition of symbols like MINFLOAT or
940 * MAXLONG, i.e. machine dependant limitations. Probably, you
941 * should use <limits.h> instead, if it is available.
943 #$i_values I_VALUES /**/
946 * This symbol, if defined, indicates that <stdarg.h> exists and should
950 * This symbol, if defined, indicates to the C program that it should
951 * include <varargs.h>.
953 #$i_stdarg I_STDARG /**/
954 #$i_varargs I_VARARGS /**/
957 * This symbol, if defined, indicates to the C program that it should
960 #$i_vfork I_VFORK /**/
963 * If defined, this macro indicates that the C compiler can handle
964 * function prototypes.
967 * This macro is used to declare function parameters for folks who want
968 * to make declarations with prototypes using a different style than
969 * the above macros. Use double parentheses. For example:
971 * int main _((int argc, char *argv[]));
973 #$prototype CAN_PROTOTYPE /**/
981 * This symbol contains the full pathname to the shell used on this
982 * on this system to execute Bourne shell scripts. Usually, this will be
983 * /bin/sh, though it's possible that some systems will have /bin/ksh,
984 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
987 #define SH_PATH "$sh" /**/
990 * This symbol, if defined, signifies that we our
991 * build process is a cross-compilation.
993 #$crosscompile CROSSCOMPILE /**/
996 * This symbol contains the value of sizeof(int) so that the C
997 * preprocessor can make decisions based on it.
1000 * This symbol contains the value of sizeof(long) so that the C
1001 * preprocessor can make decisions based on it.
1004 * This symbol contains the value of sizeof(short) so that the C
1005 * preprocessor can make decisions based on it.
1007 #define INTSIZE $intsize /**/
1008 #define LONGSIZE $longsize /**/
1009 #define SHORTSIZE $shortsize /**/
1012 * This symbol, if defined, signifies that the build
1013 * process will produce some binary files that are going to be
1014 * used in a cross-platform environment. This is the case for
1015 * example with the NeXT "fat" binaries that contain executables
1018 #$multiarch MULTIARCH /**/
1021 * This symbol, if defined, tells that there's a 64-bit integer type,
1022 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
1023 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
1025 #$d_quad HAS_QUAD /**/
1027 # define Quad_t $quadtype /**/
1028 # define Uquad_t $uquadtype /**/
1029 # define QUADKIND $quadkind /**/
1030 # define QUAD_IS_INT 1
1031 # define QUAD_IS_LONG 2
1032 # define QUAD_IS_LONG_LONG 3
1033 # define QUAD_IS_INT64_T 4
1037 * This symbol, if defined, indicates that the accessx routine is
1038 * available to do extended access checks.
1040 #$d_accessx HAS_ACCESSX /**/
1043 * This symbol, if defined, indicates that the eaccess routine is
1044 * available to do extended access checks.
1046 #$d_eaccess HAS_EACCESS /**/
1049 * This symbol, if defined, indicates to the C program that it should
1050 * include <sys/access.h>.
1052 #$i_sysaccess I_SYS_ACCESS /**/
1055 * This symbol, if defined, indicates to the C program that it should
1056 * include <sys/security.h>.
1058 #$i_syssecrt I_SYS_SECURITY /**/
1061 * This symbol contains the name of the operating system, as determined
1062 * by Configure. You shouldn't rely on it too much; the specific
1063 * feature tests from Configure are generally more reliable.
1066 * This symbol contains the version of the operating system, as determined
1067 * by Configure. You shouldn't rely on it too much; the specific
1068 * feature tests from Configure are generally more reliable.
1070 #define OSNAME "$osname" /**/
1071 #define OSVERS "$osvers" /**/
1074 * This symbol contains the number of bytes required to align a
1075 * double, or a long double when applicable. Usual values are 2,
1076 * 4 and 8. The default is eight, for safety.
1078 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1079 # define MEM_ALIGNBYTES 8
1081 #define MEM_ALIGNBYTES $alignbytes
1085 * This variable, if defined, holds the name of the directory in
1086 * which the user wants to put architecture-dependent public
1087 * library files for $package. It is most often a local directory
1088 * such as /usr/local/lib. Programs using this variable must be
1089 * prepared to deal with filename expansion. If ARCHLIB is the
1090 * same as PRIVLIB, it is not defined, since presumably the
1091 * program already searches PRIVLIB.
1094 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1095 * in programs that are not prepared to deal with ~ expansion at run-time.
1097 #$d_archlib ARCHLIB "$archlib" /**/
1098 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
1101 * This symbol holds a string representing the architecture name.
1102 * It may be used to construct an architecture-dependant pathname
1103 * where library files may be held under a private library, for
1106 #define ARCHNAME "$archname" /**/
1109 * This symbol, if defined, indicates that the atolf routine is
1110 * available to convert strings into long doubles.
1112 #$d_atolf HAS_ATOLF /**/
1115 * This symbol, if defined, indicates that the atoll routine is
1116 * available to convert strings into long longs.
1118 #$d_atoll HAS_ATOLL /**/
1121 * This symbol holds the path of the bin directory where the package will
1122 * be installed. Program must be prepared to deal with ~name substitution.
1125 * This symbol is the filename expanded version of the BIN symbol, for
1126 * programs that do not want to deal with that at run-time.
1128 #define BIN "$bin" /**/
1129 #define BIN_EXP "$binexp" /**/
1131 /* PERL_BINCOMPAT_5005:
1132 * This symbol, if defined, indicates that this version of Perl should be
1133 * binary-compatible with Perl 5.005. This is impossible for builds
1134 * that use features like threads and multiplicity it is always $undef
1135 * for those versions.
1137 #$d_bincompat5005 PERL_BINCOMPAT_5005 /**/
1140 * This symbol holds the hexadecimal constant defined in byteorder,
1141 * i.e. 0x1234 or 0x4321, etc...
1142 * If the compiler supports cross-compiling or multiple-architecture
1143 * binaries (eg. on NeXT systems), use compiler-defined macros to
1144 * determine the byte order.
1145 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1146 * Binaries (MAB) on either big endian or little endian machines.
1147 * The endian-ness is available at compile-time. This only matters
1148 * for perl, where the config.h can be generated and installed on
1149 * one system, and used by a different architecture to build an
1150 * extension. Older versions of NeXT that might not have
1151 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1152 * so the default case (for NeXT) is big endian to catch them.
1153 * This might matter for NeXT 3.0.
1155 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1156 # ifdef __LITTLE_ENDIAN__
1158 # define BYTEORDER 0x1234
1161 # define BYTEORDER 0x12345678
1165 # ifdef __BIG_ENDIAN__
1167 # define BYTEORDER 0x4321
1170 # define BYTEORDER 0x87654321
1175 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1176 # define BYTEORDER 0x4321
1179 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1183 * This macro catenates 2 tokens together.
1186 * This macro surrounds its token with double quotes.
1189 #define CAT2(a,b) a/**/b
1190 #define STRINGIFY(a) "a"
1191 /* If you can get stringification with catify, tell me how! */
1193 #if $cpp_stuff == 42
1194 #define PeRl_CaTiFy(a, b) a ## b
1195 #define PeRl_StGiFy(a) #a
1196 /* the additional level of indirection enables these macros to be
1197 * used as arguments to other macros. See K&R 2nd ed., page 231. */
1198 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1199 #define StGiFy(a) PeRl_StGiFy(a)
1200 #define STRINGIFY(a) PeRl_StGiFy(a)
1202 #if $cpp_stuff != 1 && $cpp_stuff != 42
1203 # include "Bletch: How does this C preprocessor catenate tokens?"
1207 * This symbol contains the first part of the string which will invoke
1208 * the C preprocessor on the standard input and produce to standard
1209 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1210 * call a wrapper. See CPPRUN.
1213 * This symbol contains the second part of the string which will invoke
1214 * the C preprocessor on the standard input and produce to standard
1215 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1216 * to specify standard input, otherwise the value is "".
1219 * This symbol contains the string which will invoke a C preprocessor on
1220 * the standard input and produce to standard output. It needs to end
1221 * with CPPLAST, after all other preprocessor flags have been specified.
1222 * The main difference with CPPSTDIN is that this program will never be a
1223 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1224 * available directly to the user. Note that it may well be different from
1225 * the preprocessor used to compile the C program.
1228 * This symbol is intended to be used along with CPPRUN in the same manner
1229 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1231 #define CPPSTDIN "$cppstdin"
1232 #define CPPMINUS "$cppminus"
1233 #define CPPRUN "$cpprun"
1234 #define CPPLAST "$cpplast"
1237 * This symbol, if defined, indicates that the _fwalk system call is
1238 * available to apply a function to all the file handles.
1240 #$d__fwalk HAS__FWALK /**/
1243 * This manifest constant lets the C program know that the access()
1244 * system call is available to check for accessibility using real UID/GID.
1245 * (always present on UNIX.)
1247 #$d_access HAS_ACCESS /**/
1250 * This symbol is defined if the C compiler can cast negative
1251 * or large floating point numbers to 32-bit ints.
1253 #$d_casti32 CASTI32 /**/
1256 * This symbol is defined if the C compiler can cast negative
1257 * numbers to unsigned longs, ints and shorts.
1260 * This symbol contains flags that say what difficulties the compiler
1261 * has casting odd floating values to unsigned long:
1263 * 1 = couldn't cast < 0
1264 * 2 = couldn't cast >= 0x80000000
1265 * 4 = couldn't cast in argument expression list
1267 #$d_castneg CASTNEGFLOAT /**/
1268 #define CASTFLAGS $castflags /**/
1271 * This symbol, if defined, indicates that the closedir() routine
1272 * does not return a value.
1274 #$d_void_closedir VOID_CLOSEDIR /**/
1276 /* HAS_STRUCT_CMSGHDR:
1277 * This symbol, if defined, indicates that the struct cmsghdr
1280 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
1283 * This symbol, if defined, indicates that the C-shell exists.
1286 * This symbol, if defined, contains the full pathname of csh.
1288 #$d_csh HAS_CSH /**/
1290 #define CSH "$full_csh" /**/
1293 /* DLSYM_NEEDS_UNDERSCORE:
1294 * This symbol, if defined, indicates that we need to prepend an
1295 * underscore to the symbol name before calling dlsym(). This only
1296 * makes sense if you *have* dlsym, which we will presume is the
1297 * case if you're using dl_dlopen.xs.
1299 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
1301 /* HAS_DRAND48_PROTO:
1302 * This symbol, if defined, indicates that the system provides
1303 * a prototype for the drand48() function. Otherwise, it is up
1304 * to the program to supply one. A good guess is
1305 * extern double drand48 _((void));
1307 #$d_drand48proto HAS_DRAND48_PROTO /**/
1310 * This symbol, if defined, indicates that the getgrent routine is
1311 * available for finalizing sequential access of the group database.
1313 #$d_endgrent HAS_ENDGRENT /**/
1316 * This symbol, if defined, indicates that the endhostent() routine is
1317 * available to close whatever was being used for host queries.
1319 #$d_endhent HAS_ENDHOSTENT /**/
1322 * This symbol, if defined, indicates that the endnetent() routine is
1323 * available to close whatever was being used for network queries.
1325 #$d_endnent HAS_ENDNETENT /**/
1328 * This symbol, if defined, indicates that the endprotoent() routine is
1329 * available to close whatever was being used for protocol queries.
1331 #$d_endpent HAS_ENDPROTOENT /**/
1334 * This symbol, if defined, indicates that the getgrent routine is
1335 * available for finalizing sequential access of the passwd database.
1337 #$d_endpwent HAS_ENDPWENT /**/
1340 * This symbol, if defined, indicates that the endservent() routine is
1341 * available to close whatever was being used for service queries.
1343 #$d_endsent HAS_ENDSERVENT /**/
1346 * This symbol, if defined, indicates that fcntl() can be used
1347 * for file locking. Normally on Unix systems this is defined.
1348 * It may be undefined on VMS.
1350 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
1353 * This symbol, when defined, indicates presence of the fd_set typedef
1356 #$d_fd_set HAS_FD_SET /**/
1359 * This symbol, if defined, indicates that the system supports filenames
1360 * longer than 14 characters.
1362 #$d_flexfnam FLEXFILENAMES /**/
1365 * This symbol will be defined if the C compiler supports fpos64_t.
1367 #$d_fpos64_t HAS_FPOS64_T /**/
1370 * This symbol, if defined, indicates that the frexpl routine is
1371 * available to break a long double floating-point number into
1372 * a normalized fraction and an integral power of 2.
1374 #$d_frexpl HAS_FREXPL /**/
1376 /* HAS_STRUCT_FS_DATA:
1377 * This symbol, if defined, indicates that the struct fs_data
1378 * to do statfs() is supported.
1380 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
1383 * This symbol, if defined, indicates that the fseeko routine is
1384 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1386 #$d_fseeko HAS_FSEEKO /**/
1389 * This symbol, if defined, indicates that the fstatfs routine is
1390 * available to stat filesystems by file descriptors.
1392 #$d_fstatfs HAS_FSTATFS /**/
1395 * This symbol, if defined, indicates that the fsync routine is
1396 * available to write a file's modified data and attributes to
1397 * permanent storage.
1399 #$d_fsync HAS_FSYNC /**/
1402 * This symbol, if defined, indicates that the ftello routine is
1403 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1405 #$d_ftello HAS_FTELLO /**/
1408 * This preprocessor macro is defined to convert a floating point
1409 * number to a string without a trailing decimal point. This
1410 * emulates the behavior of sprintf("%g"), but is sometimes much more
1411 * efficient. If gconvert() is not available, but gcvt() drops the
1412 * trailing decimal point, then gcvt() is used. If all else fails,
1413 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1414 * macro are: value, number of digits, whether trailing zeros should
1415 * be retained, and the output buffer.
1416 * Possible values are:
1417 * d_Gconvert='gconvert((x),(n),(t),(b))'
1418 * d_Gconvert='gcvt((x),(n),(b))'
1419 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1420 * The last two assume trailing zeros should not be kept.
1422 #define Gconvert(x,n,t,b) $d_Gconvert
1425 * This symbol, if defined, indicates that the getcwd routine is
1426 * available to get the current working directory.
1428 #$d_getcwd HAS_GETCWD /**/
1431 * This symbol, if defined, indicates that the getespwnam system call is
1432 * available to retrieve enchanced (shadow) password entries by name.
1434 #$d_getespwnam HAS_GETESPWNAM /**/
1437 * This symbol, if defined, indicates that the getfsstat routine is
1438 * available to stat filesystems in bulk.
1440 #$d_getfsstat HAS_GETFSSTAT /**/
1443 * This symbol, if defined, indicates that the getgrent routine is
1444 * available for sequential access of the group database.
1446 #$d_getgrent HAS_GETGRENT /**/
1448 /* HAS_GETHOSTBYADDR:
1449 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1450 * available to look up hosts by their IP addresses.
1452 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1454 /* HAS_GETHOSTBYNAME:
1455 * This symbol, if defined, indicates that the gethostbyname() routine is
1456 * available to look up host names in some data base or other.
1458 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1461 * This symbol, if defined, indicates that the gethostent() routine is
1462 * available to look up host names in some data base or another.
1464 #$d_gethent HAS_GETHOSTENT /**/
1467 * This symbol, if defined, indicates that the C program may use the
1468 * gethostname() routine to derive the host name. See also HAS_UNAME
1472 * This symbol, if defined, indicates that the C program may use the
1473 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1477 * This symbol, if defined, indicates the command to feed to the
1478 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1479 * and HAS_UNAME. Note that the command uses a fully qualified path,
1480 * so that it is safe even if used by a process with super-user
1484 * This symbol, if defined, indicates that the C program may use the
1485 * contents of PHOSTNAME as a command to feed to the popen() routine
1486 * to derive the host name.
1488 #$d_gethname HAS_GETHOSTNAME /**/
1489 #$d_uname HAS_UNAME /**/
1490 #$d_phostname HAS_PHOSTNAME /**/
1491 #ifdef HAS_PHOSTNAME
1492 #define PHOSTNAME "$aphostname" /* How to get the host name */
1495 /* HAS_GETHOST_PROTOS:
1496 * This symbol, if defined, indicates that <netdb.h> includes
1497 * prototypes for gethostent(), gethostbyname(), and
1498 * gethostbyaddr(). Otherwise, it is up to the program to guess
1499 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1501 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
1504 * This symbol, if defined, indicates that the getitimer routine is
1505 * available to return interval timers.
1507 #$d_getitimer HAS_GETITIMER /**/
1510 * This symbol, if defined, indicates that the getmnt routine is
1511 * available to get filesystem mount info by filename.
1513 #$d_getmnt HAS_GETMNT /**/
1516 * This symbol, if defined, indicates that the getmntent routine is
1517 * available to iterate through mounted file systems to get their info.
1519 #$d_getmntent HAS_GETMNTENT /**/
1521 /* HAS_GETNETBYADDR:
1522 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1523 * available to look up networks by their IP addresses.
1525 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1527 /* HAS_GETNETBYNAME:
1528 * This symbol, if defined, indicates that the getnetbyname() routine is
1529 * available to look up networks by their names.
1531 #$d_getnbyname HAS_GETNETBYNAME /**/
1534 * This symbol, if defined, indicates that the getnetent() routine is
1535 * available to look up network names in some data base or another.
1537 #$d_getnent HAS_GETNETENT /**/
1539 /* HAS_GETNET_PROTOS:
1540 * This symbol, if defined, indicates that <netdb.h> includes
1541 * prototypes for getnetent(), getnetbyname(), and
1542 * getnetbyaddr(). Otherwise, it is up to the program to guess
1543 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1545 #$d_getnetprotos HAS_GETNET_PROTOS /**/
1548 * This symbol, if defined, indicates that the getpagesize system call
1549 * is available to get system page size, which is the granularity of
1550 * many memory management calls.
1552 #$d_getpagsz HAS_GETPAGESIZE /**/
1555 * This symbol, if defined, indicates that the getprotoent() routine is
1556 * available to look up protocols in some data base or another.
1558 #$d_getpent HAS_GETPROTOENT /**/
1561 * This symbol, if defined, indicates that the getpgrp routine is
1562 * available to get the current process group.
1565 * This symbol, if defined, indicates that getpgrp needs one
1566 * arguments whereas USG one needs none.
1568 #$d_getpgrp HAS_GETPGRP /**/
1569 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1571 /* HAS_GETPROTOBYNAME:
1572 * This symbol, if defined, indicates that the getprotobyname()
1573 * routine is available to look up protocols by their name.
1575 /* HAS_GETPROTOBYNUMBER:
1576 * This symbol, if defined, indicates that the getprotobynumber()
1577 * routine is available to look up protocols by their number.
1579 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1580 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1582 /* HAS_GETPROTO_PROTOS:
1583 * This symbol, if defined, indicates that <netdb.h> includes
1584 * prototypes for getprotoent(), getprotobyname(), and
1585 * getprotobyaddr(). Otherwise, it is up to the program to guess
1586 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1588 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1591 * This symbol, if defined, indicates that the getprpwnam system call is
1592 * available to retrieve protected (shadow) password entries by name.
1594 #$d_getprpwnam HAS_GETPRPWNAM /**/
1597 * This symbol, if defined, indicates that the getpwent routine is
1598 * available for sequential access of the passwd database.
1599 * If this is not available, the older getpw() function may be available.
1601 #$d_getpwent HAS_GETPWENT /**/
1604 * This symbol, if defined, indicates that the getservent() routine is
1605 * available to look up network services in some data base or another.
1607 #$d_getsent HAS_GETSERVENT /**/
1609 /* HAS_GETSERV_PROTOS:
1610 * This symbol, if defined, indicates that <netdb.h> includes
1611 * prototypes for getservent(), getservbyname(), and
1612 * getservbyaddr(). Otherwise, it is up to the program to guess
1613 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1615 #$d_getservprotos HAS_GETSERV_PROTOS /**/
1618 * This symbol, if defined, indicates that the getspnam system call is
1619 * available to retrieve SysV shadow password entries by name.
1621 #$d_getspnam HAS_GETSPNAM /**/
1623 /* HAS_GETSERVBYNAME:
1624 * This symbol, if defined, indicates that the getservbyname()
1625 * routine is available to look up services by their name.
1627 /* HAS_GETSERVBYPORT:
1628 * This symbol, if defined, indicates that the getservbyport()
1629 * routine is available to look up services by their port.
1631 #$d_getsbyname HAS_GETSERVBYNAME /**/
1632 #$d_getsbyport HAS_GETSERVBYPORT /**/
1635 * This symbol, if defined, indicates to the C program that
1636 * the GNU C library is being used.
1638 #$d_gnulibc HAS_GNULIBC /**/
1639 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1640 # define _GNU_SOURCE
1643 * This symbol, if defined, indicates that the hasmntopt routine is
1644 * available to query the mount options of file systems.
1646 #$d_hasmntopt HAS_HASMNTOPT /**/
1649 * This symbol, if defined, indicates that the htonl() routine (and
1650 * friends htons() ntohl() ntohs()) are available to do network
1651 * order byte swapping.
1654 * This symbol, if defined, indicates that the htons() routine (and
1655 * friends htonl() ntohl() ntohs()) are available to do network
1656 * order byte swapping.
1659 * This symbol, if defined, indicates that the ntohl() routine (and
1660 * friends htonl() htons() ntohs()) are available to do network
1661 * order byte swapping.
1664 * This symbol, if defined, indicates that the ntohs() routine (and
1665 * friends htonl() htons() ntohl()) are available to do network
1666 * order byte swapping.
1668 #$d_htonl HAS_HTONL /**/
1669 #$d_htonl HAS_HTONS /**/
1670 #$d_htonl HAS_NTOHL /**/
1671 #$d_htonl HAS_NTOHS /**/
1674 * This symbol, if defined, indicates that the iconv routine is
1675 * available to do character set conversions.
1677 #$d_iconv HAS_ICONV /**/
1680 * This symbol will defined if the C compiler supports int64_t.
1681 * Usually the <inttypes.h> needs to be included, but sometimes
1682 * <sys/types.h> is enough.
1684 #$d_int64_t HAS_INT64_T /**/
1687 * This manifest constant lets the C program know that isascii
1690 #$d_isascii HAS_ISASCII /**/
1693 * This symbol, if defined, indicates that the isnan routine is
1694 * available to check whether a double is a NaN.
1696 #$d_isnan HAS_ISNAN /**/
1699 * This symbol, if defined, indicates that the isnanl routine is
1700 * available to check whether a long double is a NaN.
1702 #$d_isnanl HAS_ISNANL /**/
1705 * This symbol, if defined, indicates that the lchown routine is
1706 * available to operate on a symbolic link (instead of following the
1709 #$d_lchown HAS_LCHOWN /**/
1712 * This symbol, if defined, indicates that this system's <float.h>
1713 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1714 * of significant digits in a long double precision number. Unlike
1715 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1717 #$d_ldbl_dig HAS_LDBL_DIG /* */
1720 * This symbol will be defined if the C compiler supports long
1724 * This symbol contains the size of a long double, so that the
1725 * C preprocessor can make decisions based on it. It is only
1726 * defined if the system supports long doubles.
1728 #$d_longdbl HAS_LONG_DOUBLE /**/
1729 #ifdef HAS_LONG_DOUBLE
1730 #define LONG_DOUBLESIZE $longdblsize /**/
1734 * This symbol will be defined if the C compiler supports long long.
1737 * This symbol contains the size of a long long, so that the
1738 * C preprocessor can make decisions based on it. It is only
1739 * defined if the system supports long long.
1741 #$d_longlong HAS_LONG_LONG /**/
1742 #ifdef HAS_LONG_LONG
1743 #define LONGLONGSIZE $longlongsize /**/
1747 * This symbol, if defined, indicates that the system provides
1748 * a prototype for the lseek() function. Otherwise, it is up
1749 * to the program to supply one. A good guess is
1750 * extern off_t lseek(int, off_t, int);
1752 #$d_lseekproto HAS_LSEEK_PROTO /**/
1755 * This symbol, if defined, indicates that the madvise system call is
1756 * available to map a file into memory.
1758 #$d_madvise HAS_MADVISE /**/
1761 * This symbol, if defined, indicates that the memchr routine is available
1762 * to locate characters within a C string.
1764 #$d_memchr HAS_MEMCHR /**/
1767 * This symbol, if defined, indicates that the mkdtemp routine is
1768 * available to exclusively create a uniquely named temporary directory.
1770 #$d_mkdtemp HAS_MKDTEMP /**/
1773 * This symbol, if defined, indicates that the mkstemp routine is
1774 * available to exclusively create and open a uniquely named
1777 #$d_mkstemp HAS_MKSTEMP /**/
1780 * This symbol, if defined, indicates that the mkstemps routine is
1781 * available to excluslvely create and open a uniquely named
1782 * (with a suffix) temporary file.
1784 #$d_mkstemps HAS_MKSTEMPS /**/
1787 * This symbol, if defined, indicates that the mmap system call is
1788 * available to map a file into memory.
1791 * This symbol holds the return type of the mmap() system call
1792 * (and simultaneously the type of the first argument).
1793 * Usually set to 'void *' or 'cadd_t'.
1795 #$d_mmap HAS_MMAP /**/
1796 #define Mmap_t $mmaptype /**/
1799 * This symbol, if defined, indicates that the modfl routine is
1800 * available to split a long double x into a fractional part f and
1801 * an integer part i such that |f| < 1.0 and (f + i) = x.
1803 #$d_modfl HAS_MODFL /**/
1806 * This symbol, if defined, indicates that the mprotect system call is
1807 * available to modify the access protection of a memory mapped file.
1809 #$d_mprotect HAS_MPROTECT /**/
1812 * This symbol, if defined, indicates that the entire msg*(2) library is
1813 * supported (IPC mechanism based on message queues).
1815 #$d_msg HAS_MSG /**/
1817 /* HAS_STRUCT_MSGHDR:
1818 * This symbol, if defined, indicates that the struct msghdr
1821 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
1824 * This symbol will be defined if the C compiler supports off64_t.
1826 #$d_off64_t HAS_OFF64_T /**/
1829 * This manifest constant lets the C program know that the three
1830 * argument form of open(2) is available.
1832 #$d_open3 HAS_OPEN3 /**/
1834 /* OLD_PTHREAD_CREATE_JOINABLE:
1835 * This symbol, if defined, indicates how to create pthread
1836 * in joinable (aka undetached) state. NOTE: not defined
1837 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1838 * (the new version of the constant).
1839 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1842 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
1844 /* HAS_PTHREAD_YIELD:
1845 * This symbol, if defined, indicates that the pthread_yield
1846 * routine is available to yield the execution of the current
1847 * thread. sched_yield is preferable to pthread_yield.
1850 * This symbol defines the way to yield the execution of
1851 * the current thread. Known ways are sched_yield,
1852 * pthread_yield, and pthread_yield with NULL.
1855 * This symbol, if defined, indicates that the sched_yield
1856 * routine is available to yield the execution of the current
1857 * thread. sched_yield is preferable to pthread_yield.
1859 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
1860 #define SCHED_YIELD $sched_yield /**/
1861 #$d_sched_yield HAS_SCHED_YIELD /**/
1864 * This symbol, if defined, indicates that the readv routine is
1865 * available to do gather reads. You will also need <sys/uio.h>
1866 * and there I_SYSUIO.
1868 #$d_readv HAS_READV /**/
1871 * This symbol, if defined, indicates that the recvmsg routine is
1872 * available to send structured socket messages.
1874 #$d_recvmsg HAS_RECVMSG /**/
1877 * This symbol, if defined, indicates that the bcopy routine is available
1878 * to copy potentially overlapping memory blocks. Otherwise you should
1879 * probably use memmove() or memcpy(). If neither is defined, roll your
1882 #$d_safebcpy HAS_SAFE_BCOPY /**/
1885 * This symbol, if defined, indicates that the memcpy routine is available
1886 * to copy potentially overlapping memory blocks. Otherwise you should
1887 * probably use memmove() or memcpy(). If neither is defined, roll your
1890 #$d_safemcpy HAS_SAFE_MEMCPY /**/
1893 * This symbol, if defined, indicates that the memcmp routine is available
1894 * and can be used to compare relative magnitudes of chars with their high
1895 * bits set. If it is not defined, roll your own version.
1897 #$d_sanemcmp HAS_SANE_MEMCMP /**/
1900 * This symbol, if defined, indicates that the system provides
1901 * a prototype for the sbrk() function. Otherwise, it is up
1902 * to the program to supply one. Good guesses are
1903 * extern void* sbrk _((int));
1904 * extern void* sbrk _((size_t));
1906 #$d_sbrkproto HAS_SBRK_PROTO /**/
1909 * This symbol, if defined, indicates that the entire sem*(2) library is
1912 #$d_sem HAS_SEM /**/
1915 * This symbol, if defined, indicates that the sendmsg routine is
1916 * available to send structured socket messages.
1918 #$d_sendmsg HAS_SENDMSG /**/
1921 * This symbol, if defined, indicates that the setgrent routine is
1922 * available for initializing sequential access of the group database.
1924 #$d_setgrent HAS_SETGRENT /**/
1927 * This symbol, if defined, indicates that the setgroups() routine is
1928 * available to set the list of process groups. If unavailable, multiple
1929 * groups are probably not supported.
1931 #$d_setgrps HAS_SETGROUPS /**/
1934 * This symbol, if defined, indicates that the sethostent() routine is
1937 #$d_sethent HAS_SETHOSTENT /**/
1940 * This symbol, if defined, indicates that the setitimer routine is
1941 * available to set interval timers.
1943 #$d_setitimer HAS_SETITIMER /**/
1946 * This symbol, if defined, indicates that the setnetent() routine is
1949 #$d_setnent HAS_SETNETENT /**/
1952 * This symbol, if defined, indicates that the setprotoent() routine is
1955 #$d_setpent HAS_SETPROTOENT /**/
1958 * This symbol, if defined, indicates that the setpgrp routine is
1959 * available to set the current process group.
1962 * This symbol, if defined, indicates that setpgrp needs two
1963 * arguments whereas USG one needs none. See also HAS_SETPGID
1964 * for a POSIX interface.
1966 #$d_setpgrp HAS_SETPGRP /**/
1967 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
1969 /* HAS_SETPROCTITLE:
1970 * This symbol, if defined, indicates that the setproctitle routine is
1971 * available to set process title.
1973 #$d_setproctitle HAS_SETPROCTITLE /**/
1976 * This symbol, if defined, indicates that the setpwent routine is
1977 * available for initializing sequential access of the passwd database.
1979 #$d_setpwent HAS_SETPWENT /**/
1982 * This symbol, if defined, indicates that the setservent() routine is
1985 #$d_setsent HAS_SETSERVENT /**/
1988 * This symbol, if defined, indicates that the setvbuf routine is
1989 * available to change buffering on an open stdio stream.
1990 * to a line-buffered mode.
1992 #$d_setvbuf HAS_SETVBUF /**/
1995 * This symbol, if defined, indicates that sfio should
1998 #$d_sfio USE_SFIO /**/
2001 * This symbol, if defined, indicates that the entire shm*(2) library is
2004 #$d_shm HAS_SHM /**/
2007 * This symbol, if defined, indicates that Vr4's sigaction() routine
2010 #$d_sigaction HAS_SIGACTION /**/
2013 * This variable indicates to the C program that the sigsetjmp()
2014 * routine is available to save the calling process's registers
2015 * and stack environment for later use by siglongjmp(), and
2016 * to optionally save the process's signal mask. See
2017 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2020 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2023 * This macro is used in the same way as sigsetjmp(), but will invoke
2024 * traditional setjmp() if sigsetjmp isn't available.
2025 * See HAS_SIGSETJMP.
2028 * This macro is used in the same way as siglongjmp(), but will invoke
2029 * traditional longjmp() if siglongjmp isn't available.
2030 * See HAS_SIGSETJMP.
2032 #$d_sigsetjmp HAS_SIGSETJMP /**/
2033 #ifdef HAS_SIGSETJMP
2034 #define Sigjmp_buf sigjmp_buf
2035 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2036 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2038 #define Sigjmp_buf jmp_buf
2039 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2040 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2044 * This symbol, if defined, indicates that the BSD socket interface is
2048 * This symbol, if defined, indicates that the BSD socketpair() call is
2052 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2053 * Checking just with #ifdef might not be enough because this symbol
2054 * has been known to be an enum.
2056 /* HAS_MSG_DONTROUTE:
2057 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2058 * Checking just with #ifdef might not be enough because this symbol
2059 * has been known to be an enum.
2062 * This symbol, if defined, indicates that the MSG_OOB is supported.
2063 * Checking just with #ifdef might not be enough because this symbol
2064 * has been known to be an enum.
2067 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2068 * Checking just with #ifdef might not be enough because this symbol
2069 * has been known to be an enum.
2072 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2073 * Checking just with #ifdef might not be enough because this symbol
2074 * has been known to be an enum.
2077 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2078 * Checking just with #ifdef might not be enough because this symbol
2079 * has been known to be an enum.
2081 #$d_socket HAS_SOCKET /**/
2082 #$d_sockpair HAS_SOCKETPAIR /**/
2083 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2084 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2085 #$d_msg_oob HAS_MSG_OOB /**/
2086 #$d_msg_peek HAS_MSG_PEEK /**/
2087 #$d_msg_proxy HAS_MSG_PROXY /**/
2088 #$d_scm_rights HAS_SCM_RIGHTS /**/
2091 * This symbol, if defined, indicates that the socks5_init routine is
2092 * available to initialize SOCKS 5.
2094 #$d_socks5_init HAS_SOCKS5_INIT /**/
2097 * This symbol, if defined, indicates that the sqrtl routine is
2098 * available to do long double square roots.
2100 #$d_sqrtl HAS_SQRTL /**/
2103 * This symbol is defined if this system has a stat structure declaring
2104 * st_blksize and st_blocks.
2106 #ifndef USE_STAT_BLOCKS
2107 #$d_statblks USE_STAT_BLOCKS /**/
2110 /* HAS_STRUCT_STATFS_F_FLAGS:
2111 * This symbol, if defined, indicates that the struct statfs
2112 * does have the f_flags member containing the mount flags of
2113 * the filesystem containing the file.
2114 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2115 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2116 * have statfs() and struct statfs, they have ustat() and getmnt()
2117 * with struct ustat and struct fs_data.
2119 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
2121 /* HAS_STRUCT_STATFS:
2122 * This symbol, if defined, indicates that the struct statfs
2123 * to do statfs() is supported.
2125 #$d_statfs_s HAS_STRUCT_STATFS /**/
2128 * This symbol, if defined, indicates that the fstatvfs routine is
2129 * available to stat filesystems by file descriptors.
2131 #$d_fstatvfs HAS_FSTATVFS /**/
2134 * This symbol is defined if the _ptr and _cnt fields (or similar)
2135 * of the stdio FILE structure can be used to access the stdio buffer
2136 * for a file handle. If this is defined, then the FILE_ptr(fp)
2137 * and FILE_cnt(fp) macros will also be defined and should be used
2138 * to access these fields.
2141 * This macro is used to access the _ptr field (or equivalent) of the
2142 * FILE structure pointed to by its argument. This macro will always be
2143 * defined if USE_STDIO_PTR is defined.
2145 /* STDIO_PTR_LVALUE:
2146 * This symbol is defined if the FILE_ptr macro can be used as an
2150 * This macro is used to access the _cnt field (or equivalent) of the
2151 * FILE structure pointed to by its argument. This macro will always be
2152 * defined if USE_STDIO_PTR is defined.
2154 /* STDIO_CNT_LVALUE:
2155 * This symbol is defined if the FILE_cnt macro can be used as an
2158 /* STDIO_PTR_LVAL_SETS_CNT:
2159 * This symbol is defined if using the FILE_ptr macro as an lvalue
2160 * to increase the pointer by n has the side effect of decreasing the
2161 * value of File_cnt(fp) by n.
2163 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2164 * This symbol is defined if using the FILE_ptr macro as an lvalue
2165 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2167 #$d_stdstdio USE_STDIO_PTR /**/
2168 #ifdef USE_STDIO_PTR
2169 #define FILE_ptr(fp) $stdio_ptr
2170 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
2171 #define FILE_cnt(fp) $stdio_cnt
2172 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
2173 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
2174 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
2178 * This symbol is defined if the _base field (or similar) of the
2179 * stdio FILE structure can be used to access the stdio buffer for
2180 * a file handle. If this is defined, then the FILE_base(fp) macro
2181 * will also be defined and should be used to access this field.
2182 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2183 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2184 * will never be defined unless USE_STDIO_PTR is.
2187 * This macro is used to access the _base field (or equivalent) of the
2188 * FILE structure pointed to by its argument. This macro will always be
2189 * defined if USE_STDIO_BASE is defined.
2192 * This macro is used to determine the number of bytes in the I/O
2193 * buffer pointed to by _base field (or equivalent) of the FILE
2194 * structure pointed to its argument. This macro will always be defined
2195 * if USE_STDIO_BASE is defined.
2197 #$d_stdiobase USE_STDIO_BASE /**/
2198 #ifdef USE_STDIO_BASE
2199 #define FILE_base(fp) $stdio_base
2200 #define FILE_bufsiz(fp) $stdio_bufsiz
2204 * This symbol, if defined, indicates that the strerror routine is
2205 * available to translate error numbers to strings. See the writeup
2206 * of Strerror() in this file before you try to define your own.
2209 * This symbol, if defined, indicates that the sys_errlist array is
2210 * available to translate error numbers to strings. The extern int
2211 * sys_nerr gives the size of that table.
2214 * This preprocessor symbol is defined as a macro if strerror() is
2215 * not available to translate error numbers to strings but sys_errlist[]
2218 #$d_strerror HAS_STRERROR /**/
2219 #$d_syserrlst HAS_SYS_ERRLIST /**/
2220 #define Strerror(e) $d_strerrm
2223 * This symbol, if defined, indicates that the strtold routine is
2224 * available to convert strings to long doubles.
2226 #$d_strtold HAS_STRTOLD /**/
2229 * This symbol, if defined, indicates that the strtoll routine is
2230 * available to convert strings to long longs.
2232 #$d_strtoll HAS_STRTOLL /**/
2235 * This symbol, if defined, indicates that the strtoq routine is
2236 * available to convert strings to long longs (quads).
2238 #$d_strtoq HAS_STRTOQ /**/
2241 * This symbol, if defined, indicates that the strtoul routine is
2242 * available to provide conversion of strings to unsigned long.
2244 #$d_strtoul HAS_STRTOUL /**/
2247 * This symbol, if defined, indicates that the strtoull routine is
2248 * available to convert strings to unsigned long longs.
2250 #$d_strtoull HAS_STRTOULL /**/
2253 * This symbol, if defined, indicates that the strtouq routine is
2254 * available to convert strings to unsigned long longs (quads).
2256 #$d_strtouq HAS_STRTOUQ /**/
2258 /* HAS_TELLDIR_PROTO:
2259 * This symbol, if defined, indicates that the system provides
2260 * a prototype for the telldir() function. Otherwise, it is up
2261 * to the program to supply one. A good guess is
2262 * extern long telldir _((DIR*));
2264 #$d_telldirproto HAS_TELLDIR_PROTO /**/
2267 * This symbol holds the type returned by time(). It can be long,
2268 * or time_t on BSD sites (in which case <sys/types.h> should be
2271 #define Time_t $timetype /* Time type */
2274 * This symbol, if defined, indicates that the times() routine exists.
2275 * Note that this became obsolete on some systems (SUNOS), which now
2276 * use getrusage(). It may be necessary to include <sys/times.h>.
2278 #$d_times HAS_TIMES /**/
2281 * This symbol, if defined, indicates that the ualarm routine is
2282 * available to do alarms with microsecond granularity.
2284 #$d_ualarm HAS_UALARM /**/
2287 * This symbol, if defined, indicates that the union semun is
2288 * defined by including <sys/sem.h>. If not, the user code
2289 * probably needs to define it as:
2292 * struct semid_ds *buf;
2293 * unsigned short *array;
2296 /* USE_SEMCTL_SEMUN:
2297 * This symbol, if defined, indicates that union semun is
2298 * used for semctl IPC_STAT.
2300 /* USE_SEMCTL_SEMID_DS:
2301 * This symbol, if defined, indicates that struct semid_ds * is
2302 * used for semctl IPC_STAT.
2304 #$d_union_semun HAS_UNION_SEMUN /**/
2305 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2306 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2309 * This symbol, if defined, indicates that the ustat system call is
2310 * available to query file system statistics by dev_t.
2312 #$d_ustat HAS_USTAT /**/
2315 * This symbol, if defined, indicates that vfork() exists.
2317 #$d_vfork HAS_VFORK /**/
2320 * This symbol's value is either "void" or "int", corresponding to the
2321 * appropriate return type of a signal handler. Thus, you can declare
2322 * a signal handler using "Signal_t (*handler)()", and define the
2323 * handler using "Signal_t handler(sig)".
2325 #define Signal_t $signal_t /* Signal handler's return type */
2328 * This symbol, if defined, indicates that the vprintf routine is available
2329 * to printf with a pointer to an argument list. If unavailable, you
2330 * may need to write your own, probably in terms of _doprnt().
2332 /* USE_CHAR_VSPRINTF:
2333 * This symbol is defined if this system has vsprintf() returning type
2334 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2335 * is up to the package author to declare vsprintf correctly based on the
2338 #$d_vprintf HAS_VPRINTF /**/
2339 #$d_charvspr USE_CHAR_VSPRINTF /**/
2342 * This symbol, if defined, indicates that the writev routine is
2343 * available to do scatter writes.
2345 #$d_writev HAS_WRITEV /**/
2347 /* USE_DYNAMIC_LOADING:
2348 * This symbol, if defined, indicates that dynamic loading of
2349 * some sort is available.
2351 #$usedl USE_DYNAMIC_LOADING /**/
2354 * This symbol contains the size of a double, so that the C preprocessor
2355 * can make decisions based on it.
2357 #define DOUBLESIZE $doublesize /**/
2360 * This symbol, if defined, indicates that this system uses
2363 #$ebcdic EBCDIC /**/
2366 * This symbol, if defined, tells that fflush(NULL) does flush
2367 * all pending stdio output.
2370 * This symbol, if defined, tells that to flush
2371 * all pending stdio output one must loop through all
2372 * the stdio file handles stored in an array and fflush them.
2373 * Note that if fflushNULL is defined, fflushall will not
2374 * even be probed for and will be left undefined.
2376 #$fflushNULL FFLUSH_NULL /**/
2377 #$fflushall FFLUSH_ALL /**/
2380 * This symbol holds the type used to declare file positions in libc.
2381 * It can be fpos_t, long, uint, etc... It may be necessary to include
2382 * <sys/types.h> to get any typedef'ed information.
2384 #define Fpos_t $fpostype /* File position type */
2387 * This symbol defines the format string used for printing a Gid_t.
2389 #define Gid_t_f $gidformat /**/
2392 * This symbol holds the signedess of a Gid_t.
2393 * 1 for unsigned, -1 for signed.
2395 #define Gid_t_sign $gidsign /* GID sign */
2398 * This symbol holds the size of a Gid_t in bytes.
2400 #define Gid_t_size $gidsize /* GID size */
2403 * This symbol holds the return type of getgid() and the type of
2404 * argument to setrgid() and related functions. Typically,
2405 * it is the type of group ids in the kernel. It can be int, ushort,
2406 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2407 * any typedef'ed information.
2409 #define Gid_t $gidtype /* Type for getgid(), etc... */
2412 * This symbol holds the type used for the second argument to
2413 * getgroups() and setgroups(). Usually, this is the same as
2414 * gidtype (gid_t) , but sometimes it isn't.
2415 * It can be int, ushort, gid_t, etc...
2416 * It may be necessary to include <sys/types.h> to get any
2417 * typedef'ed information. This is only required if you have
2418 * getgroups() or setgroups()..
2420 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2421 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
2425 * This symbol contains the type of the prefix structure element
2426 * in the <db.h> header file. In older versions of DB, it was
2427 * int, while in newer ones it is u_int32_t.
2430 * This symbol contains the type of the prefix structure element
2431 * in the <db.h> header file. In older versions of DB, it was
2432 * int, while in newer ones it is size_t.
2434 /* DB_VERSION_MAJOR_CFG:
2435 * This symbol, if defined, defines the major version number of
2436 * Berkeley DB found in the <db.h> header when Perl was configured.
2438 /* DB_VERSION_MINOR_CFG:
2439 * This symbol, if defined, defines the minor version number of
2440 * Berkeley DB found in the <db.h> header when Perl was configured.
2441 * For DB version 1 this is always 0.
2443 /* DB_VERSION_PATCH_CFG:
2444 * This symbol, if defined, defines the patch version number of
2445 * Berkeley DB found in the <db.h> header when Perl was configured.
2446 * For DB version 1 this is always 0.
2448 #define DB_Hash_t $db_hashtype /**/
2449 #define DB_Prefix_t $db_prefixtype /**/
2450 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
2451 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
2452 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
2455 * This symbol, if defined, indicates to the C program that it should
2459 * This symbol, if defined, indicates to the C program that struct group
2460 * in <grp.h> contains gr_passwd.
2463 #$d_grpasswd GRPASSWD /**/
2466 * This symbol, if defined, indicates that <iconv.h> exists and
2467 * should be included.
2469 #$i_iconv I_ICONV /**/
2472 * This symbol, if defined, indicates that <ieeefp.h> exists and
2473 * should be included.
2475 #$i_ieeefp I_IEEEFP /**/
2478 * This symbol, if defined, indicates to the C program that it should
2479 * include <inttypes.h>.
2481 #$i_inttypes I_INTTYPES /**/
2484 * This symbol, if defined, indicates that <libutil.h> exists and
2485 * should be included.
2487 #$i_libutil I_LIBUTIL /**/
2490 * This symbol, if defined, indicates to the C program that it should
2491 * include <mach/cthreads.h>.
2493 #$i_machcthr I_MACH_CTHREADS /**/
2496 * This symbol, if defined, indicates that <mntent.h> exists and
2497 * should be included.
2499 #$i_mntent I_MNTENT /**/
2502 * This symbol, if defined, indicates that <netdb.h> exists and
2503 * should be included.
2505 #$i_netdb I_NETDB /**/
2508 * This symbol, if defined, indicates to the C program that it should
2509 * include <netinet/tcp.h>.
2511 #$i_netinettcp I_NETINET_TCP /**/
2514 * This symbol, if defined, indicates that <poll.h> exists and
2515 * should be included.
2517 #$i_poll I_POLL /**/
2520 * This symbol, if defined, indicates that <prot.h> exists and
2521 * should be included.
2523 #$i_prot I_PROT /**/
2526 * This symbol, if defined, indicates to the C program that it should
2527 * include <pthread.h>.
2529 #$i_pthread I_PTHREAD /**/
2532 * This symbol, if defined, indicates to the C program that it should
2536 * This symbol, if defined, indicates to the C program that struct passwd
2537 * contains pw_quota.
2540 * This symbol, if defined, indicates to the C program that struct passwd
2544 * This symbol, if defined, indicates to the C program that struct passwd
2545 * contains pw_change.
2548 * This symbol, if defined, indicates to the C program that struct passwd
2549 * contains pw_class.
2552 * This symbol, if defined, indicates to the C program that struct passwd
2553 * contains pw_expire.
2556 * This symbol, if defined, indicates to the C program that struct passwd
2557 * contains pw_comment.
2560 * This symbol, if defined, indicates to the C program that struct passwd
2561 * contains pw_gecos.
2564 * This symbol, if defined, indicates to the C program that struct passwd
2565 * contains pw_passwd.
2568 #$d_pwquota PWQUOTA /**/
2569 #$d_pwage PWAGE /**/
2570 #$d_pwchange PWCHANGE /**/
2571 #$d_pwclass PWCLASS /**/
2572 #$d_pwexpire PWEXPIRE /**/
2573 #$d_pwcomment PWCOMMENT /**/
2574 #$d_pwgecos PWGECOS /**/
2575 #$d_pwpasswd PWPASSWD /**/
2578 * This symbol, if defined, indicates that <shadow.h> exists and
2579 * should be included.
2581 #$i_shadow I_SHADOW /**/
2584 * This symbol, if defined, indicates that <socks.h> exists and
2585 * should be included.
2587 #$i_socks I_SOCKS /**/
2590 * This symbol, if defined, indicates that <sunmath.h> exists and
2591 * should be included.
2593 #$i_sunmath I_SUNMATH /**/
2596 * This symbol, if defined, indicates that <syslog.h> exists and
2597 * should be included.
2599 #$i_syslog I_SYSLOG /**/
2602 * This symbol, if defined, indicates that <sys/mode.h> exists and
2603 * should be included.
2605 #$i_sysmode I_SYSMODE /**/
2608 * This symbol, if defined, indicates that <sys/mount.h> exists and
2609 * should be included.
2611 #$i_sysmount I_SYS_MOUNT /**/
2614 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2616 #$i_sysstatfs I_SYS_STATFS /**/
2619 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2620 * should be included.
2622 #$i_sysstatvfs I_SYS_STATVFS /**/
2625 * This symbol, if defined, indicates that <sys/uio.h> exists and
2626 * should be included.
2628 #$i_sysuio I_SYSUIO /**/
2631 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2632 * should be included.
2634 #$i_sysutsname I_SYSUTSNAME /**/
2637 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2638 * should be included.
2640 #$i_sysvfs I_SYS_VFS /**/
2643 * This symbol, if defined, indicates to the C program that it should
2647 * This symbol, if defined, indicates to the C program that it should
2648 * include <sys/time.h>.
2650 /* I_SYS_TIME_KERNEL:
2651 * This symbol, if defined, indicates to the C program that it should
2652 * include <sys/time.h> with KERNEL defined.
2654 #$i_time I_TIME /**/
2655 #$i_systime I_SYS_TIME /**/
2656 #$i_systimek I_SYS_TIME_KERNEL /**/
2659 * This symbol, if defined, indicates that <ustat.h> exists and
2660 * should be included.
2662 #$i_ustat I_USTAT /**/
2664 /* PERL_INC_VERSION_LIST:
2665 * This variable specifies the list of subdirectories in over
2666 * which perl.c:incpush() and lib/lib.pm will automatically
2667 * search when adding directories to @INC, in a format suitable
2668 * for a C initialization string. See the inc_version_list entry
2669 * in Porting/Glossary for more details.
2671 #define PERL_INC_VERSION_LIST $inc_version_list_init /**/
2673 /* INSTALL_USR_BIN_PERL:
2674 * This symbol, if defined, indicates that Perl is to be installed
2675 * also as /usr/bin/perl.
2677 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
2680 * This symbol, if defined, contains the string used by stdio to
2681 * format long doubles (format 'f') for output.
2684 * This symbol, if defined, contains the string used by stdio to
2685 * format long doubles (format 'g') for output.
2688 * This symbol, if defined, contains the string used by stdio to
2689 * format long doubles (format 'e') for output.
2692 * This symbol, if defined, contains the string used by stdio to
2693 * format long doubles (format 'f') for input.
2695 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
2696 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
2697 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
2698 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
2701 * This symbol holds the type used to declare offsets in the kernel.
2702 * It can be int, long, off_t, etc... It may be necessary to include
2703 * <sys/types.h> to get any typedef'ed information.
2706 * This symbol holds the number of bytes used by the Off_t.
2709 * This symbol holds the number of bytes used by the Off_t.
2711 #define Off_t $lseektype /* <offset> type */
2712 #define LSEEKSIZE $lseeksize /* <offset> size */
2713 #define Off_t_size $lseeksize /* <offset> size */
2716 * This variable contains the return type of free(). It is usually
2717 * void, but occasionally int.
2720 * This symbol is the type of pointer returned by malloc and realloc.
2722 #define Malloc_t $malloctype /**/
2723 #define Free_t $freetype /**/
2726 * This symbol, if defined, indicates that we're using our own malloc.
2728 #$d_mymalloc MYMALLOC /**/
2731 * This symbol holds the type used to declare file modes
2732 * for systems calls. It is usually mode_t, but may be
2733 * int or unsigned short. It may be necessary to include <sys/types.h>
2734 * to get any typedef'ed information.
2736 #define Mode_t $modetype /* file mode parameter for system calls */
2739 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2740 * non-blocking I/O for the file descriptor. Note that there is no way
2741 * back, i.e. you cannot turn it blocking again this way. If you wish to
2742 * alternatively switch between blocking and non-blocking, use the
2743 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2746 * This symbol holds the errno error code set by read() when no data was
2747 * present on the non-blocking file descriptor.
2750 * This symbol holds the return code from read() when no data is present
2751 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2752 * not defined, then you can't distinguish between no data and EOF by
2753 * issuing a read(). You'll have to find another way to tell for sure!
2756 * This symbol, if defined, indicates to the C program that a read() on
2757 * a non-blocking file descriptor will return 0 on EOF, and not the value
2758 * held in RD_NODATA (-1 usually, in that case!).
2760 #define VAL_O_NONBLOCK $o_nonblock
2761 #define VAL_EAGAIN $eagain
2762 #define RD_NODATA $rd_nodata
2763 #$d_eofnblk EOF_NONBLOCK
2766 * This symbol, if defined, indicates that the system stores
2767 * the variable argument list datatype, va_list, in a format
2768 * that cannot be copied by simple assignment, so that some
2769 * other means must be used when copying is required.
2770 * As such systems vary in their provision (or non-provision)
2771 * of copying mechanisms, handy.h defines a platform-
2772 * independent macro, Perl_va_copy(src, dst), to do the job.
2774 #$need_va_copy NEED_VA_COPY /**/
2777 * This symbol holds the type used for the 1st argument
2778 * to gethostbyaddr().
2781 * This symbol holds the type used for the 2nd argument
2782 * to gethostbyaddr().
2785 * This symbol holds the type used for the argument to
2789 * This symbol holds the type used for the 1st argument to
2792 #define Netdb_host_t $netdb_host_type /**/
2793 #define Netdb_hlen_t $netdb_hlen_type /**/
2794 #define Netdb_name_t $netdb_name_type /**/
2795 #define Netdb_net_t $netdb_net_type /**/
2797 /* PERL_OTHERLIBDIRS:
2798 * This variable contains a colon-separated set of paths for the perl
2799 * binary to search for additional library files or modules.
2800 * These directories will be tacked to the end of @INC.
2801 * Perl will automatically search below each path for version-
2802 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2805 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
2808 * This symbol defines the C type used for Perl's IV.
2811 * This symbol defines the C type used for Perl's UV.
2814 * This symbol defines the C type used for Perl's I8.
2817 * This symbol defines the C type used for Perl's U8.
2820 * This symbol defines the C type used for Perl's I16.
2823 * This symbol defines the C type used for Perl's U16.
2826 * This symbol defines the C type used for Perl's I32.
2829 * This symbol defines the C type used for Perl's U32.
2832 * This symbol defines the C type used for Perl's I64.
2835 * This symbol defines the C type used for Perl's U64.
2838 * This symbol defines the C type used for Perl's NV.
2841 * This symbol contains the sizeof(IV).
2844 * This symbol contains the sizeof(UV).
2847 * This symbol contains the sizeof(I8).
2850 * This symbol contains the sizeof(U8).
2853 * This symbol contains the sizeof(I16).
2856 * This symbol contains the sizeof(U16).
2859 * This symbol contains the sizeof(I32).
2862 * This symbol contains the sizeof(U32).
2865 * This symbol contains the sizeof(I64).
2868 * This symbol contains the sizeof(U64).
2871 * This symbol contains the sizeof(NV).
2874 * This symbol, if defined, indicates that a variable of type NVTYPE
2875 * can preserve all the bits of a variable of type UVTYPE.
2877 /* NV_PRESERVES_UV_BITS:
2878 * This symbol contains the number of bits a variable of type NVTYPE
2879 * can preserve of a variable of type UVTYPE.
2881 #define IVTYPE $ivtype /**/
2882 #define UVTYPE $uvtype /**/
2883 #define I8TYPE $i8type /**/
2884 #define U8TYPE $u8type /**/
2885 #define I16TYPE $i16type /**/
2886 #define U16TYPE $u16type /**/
2887 #define I32TYPE $i32type /**/
2888 #define U32TYPE $u32type /**/
2890 #define I64TYPE $i64type /**/
2891 #define U64TYPE $u64type /**/
2893 #define NVTYPE $nvtype /**/
2894 #define IVSIZE $ivsize /**/
2895 #define UVSIZE $uvsize /**/
2896 #define I8SIZE $i8size /**/
2897 #define U8SIZE $u8size /**/
2898 #define I16SIZE $i16size /**/
2899 #define U16SIZE $u16size /**/
2900 #define I32SIZE $i32size /**/
2901 #define U32SIZE $u32size /**/
2903 #define I64SIZE $i64size /**/
2904 #define U64SIZE $u64size /**/
2906 #define NVSIZE $nvsize /**/
2907 #$d_nv_preserves_uv NV_PRESERVES_UV
2908 #define NV_PRESERVES_UV_BITS $d_nv_preserves_uv_bits
2911 * This symbol defines the format string used for printing a Perl IV
2912 * as a signed decimal integer.
2915 * This symbol defines the format string used for printing a Perl UV
2916 * as an unsigned decimal integer.
2919 * This symbol defines the format string used for printing a Perl UV
2920 * as an unsigned octal integer.
2923 * This symbol defines the format string used for printing a Perl UV
2924 * as an unsigned hexadecimal integer in lowercase abcdef.
2927 * This symbol defines the format string used for printing a Perl UV
2928 * as an unsigned hexadecimal integer in uppercase ABCDEF.
2931 * This symbol defines the format string used for printing a Perl NV
2932 * using %e-ish floating point format.
2935 * This symbol defines the format string used for printing a Perl NV
2936 * using %f-ish floating point format.
2939 * This symbol defines the format string used for printing a Perl NV
2940 * using %g-ish floating point format.
2942 #define IVdf $ivdformat /**/
2943 #define UVuf $uvuformat /**/
2944 #define UVof $uvoformat /**/
2945 #define UVxf $uvxformat /**/
2946 #define UVXf $uvXUformat /**/
2947 #define NVef $nveformat /**/
2948 #define NVff $nvfformat /**/
2949 #define NVgf $nvgformat /**/
2952 * This symbol holds the type used to declare process ids in the kernel.
2953 * It can be int, uint, pid_t, etc... It may be necessary to include
2954 * <sys/types.h> to get any typedef'ed information.
2956 #define Pid_t $pidtype /* PID type */
2959 * This symbol contains the name of the private library for this package.
2960 * The library is private in the sense that it needn't be in anyone's
2961 * execution path, but it should be accessible by the world. The program
2962 * should be prepared to do ~ expansion.
2965 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2966 * in programs that are not prepared to deal with ~ expansion at run-time.
2968 #define PRIVLIB "$privlib" /**/
2969 #define PRIVLIB_EXP "$privlibexp" /**/
2972 * This symbol contains the size of a pointer, so that the C preprocessor
2973 * can make decisions based on it. It will be sizeof(void *) if
2974 * the compiler supports (void *); otherwise it will be
2977 #define PTRSIZE $ptrsize /**/
2980 * This macro is to be used to generate uniformly distributed
2981 * random numbers over the range [0., 1.[. You may have to supply
2982 * an 'extern double drand48();' in your program since SunOS 4.1.3
2983 * doesn't provide you with anything relevant in it's headers.
2984 * See HAS_DRAND48_PROTO.
2987 * This symbol defines the type of the argument of the
2988 * random seed function.
2991 * This symbol defines the macro to be used in seeding the
2992 * random number generator (see Drand01).
2995 * This symbol indicates how many bits are produced by the
2996 * function used to generate normalized random numbers.
2997 * Values include 15, 16, 31, and 48.
2999 #define Drand01() $drand01 /**/
3000 #define Rand_seed_t $randseedtype /**/
3001 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3002 #define RANDBITS $randbits /**/
3005 * This symbol holds the minimum number of bits operated by select.
3006 * That is, if you do select(n, ...), how many bits at least will be
3007 * cleared in the masks if some activity is detected. Usually this
3008 * is either n or 32*ceil(n/32), especially many little-endians do
3009 * the latter. This is only useful if you have select(), naturally.
3011 #define SELECT_MIN_BITS $selectminbits /**/
3014 * This symbol holds the type used for the 2nd, 3rd, and 4th
3015 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3016 * is defined, and 'int *' otherwise. This is only useful if you
3017 * have select(), of course.
3019 #define Select_fd_set_t $selecttype /**/
3022 * This symbol contains a list of signal names in order of
3023 * signal number. This is intended
3024 * to be used as a static array initialization, like this:
3025 * char *sig_name[] = { SIG_NAME };
3026 * The signals in the list are separated with commas, and each signal
3027 * is surrounded by double quotes. There is no leading SIG in the signal
3028 * name, i.e. SIGQUIT is known as "QUIT".
3029 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3030 * etc., where nn is the actual signal number (e.g. NUM37).
3031 * The signal number for sig_name[i] is stored in sig_num[i].
3032 * The last element is 0 to terminate the list with a NULL. This
3033 * corresponds to the 0 at the end of the sig_num list.
3036 * This symbol contains a list of signal numbers, in the same order as the
3037 * SIG_NAME list. It is suitable for static array initialization, as in:
3038 * int sig_num[] = { SIG_NUM };
3039 * The signals in the list are separated with commas, and the indices
3040 * within that list and the SIG_NAME list match, so it's easy to compute
3041 * the signal name from a number or vice versa at the price of a small
3042 * dynamic linear lookup.
3043 * Duplicates are allowed, but are moved to the end of the list.
3044 * The signal number corresponding to sig_name[i] is sig_number[i].
3045 * if (i < NSIG) then sig_number[i] == i.
3046 * The last element is 0, corresponding to the 0 at the end of
3047 * the sig_name list.
3050 * This variable contains the number of elements of the sig_name
3051 * and sig_num arrays, excluding the final NULL entry.
3053 #define SIG_NAME $sig_name_init /**/
3054 #define SIG_NUM $sig_num_init /**/
3055 #define SIG_SIZE $sig_size /**/
3058 * This symbol contains the name of the private library for this package.
3059 * The library is private in the sense that it needn't be in anyone's
3060 * execution path, but it should be accessible by the world. The program
3061 * should be prepared to do ~ expansion.
3062 * The standard distribution will put nothing in this directory.
3063 * After perl has been installed, users may install their own local
3064 * architecture-dependent modules in this directory with
3065 * MakeMaker Makefile.PL
3066 * or equivalent. See INSTALL for details.
3069 * This symbol contains the ~name expanded version of SITEARCH, to be used
3070 * in programs that are not prepared to deal with ~ expansion at run-time.
3072 #define SITEARCH "$sitearch" /**/
3073 #define SITEARCH_EXP "$sitearchexp" /**/
3076 * This symbol contains the name of the private library for this package.
3077 * The library is private in the sense that it needn't be in anyone's
3078 * execution path, but it should be accessible by the world. The program
3079 * should be prepared to do ~ expansion.
3080 * The standard distribution will put nothing in this directory.
3081 * After perl has been installed, users may install their own local
3082 * architecture-independent modules in this directory with
3083 * MakeMaker Makefile.PL
3084 * or equivalent. See INSTALL for details.
3087 * This symbol contains the ~name expanded version of SITELIB, to be used
3088 * in programs that are not prepared to deal with ~ expansion at run-time.
3091 * This define is SITELIB_EXP with any trailing version-specific component
3092 * removed. The elements in inc_version_list (inc_version_list.U) can
3093 * be tacked onto this variable to generate a list of directories to search.
3095 #define SITELIB "$sitelib" /**/
3096 #define SITELIB_EXP "$sitelibexp" /**/
3097 #define SITELIB_STEM "$sitelib_stem" /**/
3100 * This symbol holds the size of a Size_t in bytes.
3102 #define Size_t_size $sizesize /* */
3105 * This symbol holds the type used to declare length parameters
3106 * for string functions. It is usually size_t, but may be
3107 * unsigned long, int, etc. It may be necessary to include
3108 * <sys/types.h> to get any typedef'ed information.
3110 #define Size_t $sizetype /* length paramater for string functions */
3113 * This symbol holds the type used for the size argument of
3114 * various socket calls (just the base type, not the pointer-to).
3116 #define Sock_size_t $socksizetype /**/
3119 * This symbol holds the type used by functions that return
3120 * a count of bytes or an error condition. It must be a signed type.
3121 * It is usually ssize_t, but may be long or int, etc.
3122 * It may be necessary to include <sys/types.h> or <unistd.h>
3123 * to get any typedef'ed information.
3124 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3126 #define SSize_t $ssizetype /* signed count of bytes */
3129 * This variable contains the string to put in front of a perl
3130 * script to make sure (one hopes) that it runs with perl and not
3133 #define STARTPERL "$startperl" /**/
3136 * This symbol is defined to be the type of char used in stdio.h.
3137 * It has the values "unsigned char" or "char".
3139 #define STDCHAR $stdchar /**/
3141 /* HAS_STDIO_STREAM_ARRAY:
3142 * This symbol, if defined, tells that there is an array
3143 * holding the stdio streams.
3145 /* STDIO_STREAM_ARRAY:
3146 * This symbol tells the name of the array holding the stdio streams.
3147 * Usual values include _iob, __iob, and __sF.
3149 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
3150 #define STDIO_STREAM_ARRAY $stdio_stream_array
3153 * This symbol defines the format string used for printing a Uid_t.
3155 #define Uid_t_f $uidformat /**/
3158 * This symbol holds the signedess of a Uid_t.
3159 * 1 for unsigned, -1 for signed.
3161 #define Uid_t_sign $uidsign /* UID sign */
3164 * This symbol holds the size of a Uid_t in bytes.
3166 #define Uid_t_size $uidsize /* UID size */
3169 * This symbol holds the type used to declare user ids in the kernel.
3170 * It can be int, ushort, uid_t, etc... It may be necessary to include
3171 * <sys/types.h> to get any typedef'ed information.
3173 #define Uid_t $uidtype /* UID type */
3176 * This symbol, if defined, indicates that 64-bit integers should
3177 * be used when available. If not defined, the native integers
3178 * will be employed (be they 32 or 64 bits). The minimal possible
3179 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3180 * This may mean using for example "long longs", while your memory
3181 * may still be limited to 2 gigabytes.
3184 * This symbol, if defined, indicates that 64-bit integers should
3185 * be used when available. If not defined, the native integers
3186 * will be used (be they 32 or 64 bits). The maximal possible
3187 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3188 * be able to use more than 2 gigabytes of memory. This mode is
3189 * even more binary incompatible than USE_64_BIT_INT. You may not
3190 * be able to run the resulting executable in a 32-bit CPU at all or
3191 * you may need at least to reboot your OS to 64-bit mode.
3193 #ifndef USE_64_BIT_INT
3194 #$use64bitint USE_64_BIT_INT /**/
3197 #ifndef USE_64_BIT_ALL
3198 #$use64bitall USE_64_BIT_ALL /**/
3202 * This symbol, if defined, indicates that large file support
3203 * should be used when available.
3205 #ifndef USE_LARGE_FILES
3206 #$uselargefiles USE_LARGE_FILES /**/
3210 * This symbol, if defined, indicates that long doubles should
3211 * be used when available.
3213 #ifndef USE_LONG_DOUBLE
3214 #$uselongdouble USE_LONG_DOUBLE /**/
3218 * This symbol, if defined, indicates that 64-bit interfaces and
3219 * long doubles should be used when available.
3221 #ifndef USE_MORE_BITS
3222 #$usemorebits USE_MORE_BITS /**/
3226 * This symbol, if defined, indicates that Perl should
3227 * be built to use multiplicity.
3229 #ifndef MULTIPLICITY
3230 #$usemultiplicity MULTIPLICITY /**/
3234 * This symbol, if defined, indicates that the PerlIO abstraction should
3235 * be used throughout. If not defined, stdio should be
3236 * used in a fully backward compatible manner.
3239 #$useperlio USE_PERLIO /**/
3243 * This symbol, if defined, indicates that Perl should
3244 * be built to use socks.
3247 #$usesocks USE_SOCKS /**/
3251 * This symbol, if defined, indicates that Perl should be built to
3252 * use the interpreter-based threading implementation.
3255 * This symbol, if defined, indicates that Perl should be built to
3256 * use the 5.005-based threading implementation.
3258 /* OLD_PTHREADS_API:
3259 * This symbol, if defined, indicates that Perl should
3260 * be built to use the old draft POSIX threads API.
3262 #$use5005threads USE_5005THREADS /**/
3263 #$useithreads USE_ITHREADS /**/
3264 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3265 #define USE_THREADS /* until src is revised*/
3267 #$d_oldpthreads OLD_PTHREADS_API /**/
3270 * If defined, this symbol contains the name of a private library.
3271 * The library is private in the sense that it needn't be in anyone's
3272 * execution path, but it should be accessible by the world.
3273 * It may have a ~ on the front.
3274 * The standard distribution will put nothing in this directory.
3275 * Vendors who distribute perl may wish to place their own
3276 * architecture-dependent modules and extensions in this directory with
3277 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3278 * or equivalent. See INSTALL for details.
3280 /* PERL_VENDORARCH_EXP:
3281 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3282 * in programs that are not prepared to deal with ~ expansion at run-time.
3284 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
3285 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
3287 /* PERL_VENDORLIB_EXP:
3288 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3289 * in programs that are not prepared to deal with ~ expansion at run-time.
3291 /* PERL_VENDORLIB_STEM:
3292 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3293 * removed. The elements in inc_version_list (inc_version_list.U) can
3294 * be tacked onto this variable to generate a list of directories to search.
3296 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
3297 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
3300 * This symbol indicates how much support of the void type is given by this
3301 * compiler. What various bits mean:
3303 * 1 = supports declaration of void
3304 * 2 = supports arrays of pointers to functions returning void
3305 * 4 = supports comparisons between pointers to void functions and
3306 * addresses of void functions
3307 * 8 = suports declaration of generic void pointers
3309 * The package designer should define VOIDUSED to indicate the requirements
3310 * of the package. This can be done either by #defining VOIDUSED before
3311 * including config.h, or by defining defvoidused in Myinit.U. If the
3312 * latter approach is taken, only those flags will be tested. If the
3313 * level of void support necessary is not present, defines void to int.
3316 #define VOIDUSED $defvoidused
3318 #define VOIDFLAGS $voidflags
3319 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3320 #define void int /* is void to be avoided? */
3321 #define M_VOID /* Xenix strikes again */
3324 /* PERL_XS_APIVERSION:
3325 * This variable contains the version of the oldest perl binary
3326 * compatible with the present perl. perl.c:incpush() and
3327 * lib/lib.pm will automatically search in $sitearch for older
3328 * directories across major versions back to xs_apiversion.
3329 * This is only useful if you have a perl library directory tree
3330 * structured like the default one.
3331 * See INSTALL for how this works.
3332 * The versioned site_perl directory was introduced in 5.005,
3333 * so that is the lowest possible value.
3334 * Since this can depend on compile time options (such as
3335 * bincompat) it is set by Configure. Other non-default sources
3336 * of potential incompatibility, such as multiplicity, threads,
3337 * debugging, 64bits, sfio, etc., are not checked for currently,
3338 * though in principle we could go snooping around in old
3341 /* PERL_PM_APIVERSION:
3342 * This variable contains the version of the oldest perl
3343 * compatible with the present perl. (That is, pure perl modules
3344 * written for pm_apiversion will still work for the current
3345 * version). perl.c:incpush() and lib/lib.pm will automatically
3346 * search in $sitelib for older directories across major versions
3347 * back to pm_apiversion. This is only useful if you have a perl
3348 * library directory tree structured like the default one. The
3349 * versioned site_perl library was introduced in 5.005, so that's
3350 * the default setting for this variable. It's hard to imagine
3351 * it changing before Perl6. It is included here for symmetry
3352 * with xs_apiveprsion -- the searching algorithms will
3353 * (presumably) be similar.
3354 * See the INSTALL file for how this works.
3356 #define PERL_XS_APIVERSION "$xs_apiversion"
3357 #define PERL_PM_APIVERSION "$pm_apiversion"
3359 /* HAS_DBMINIT_PROTO:
3360 * This symbol, if defined, indicates that the system provides
3361 * a prototype for the dbminit() function. Otherwise, it is up
3362 * to the program to supply one. A good guess is
3363 * extern int dbminit(char *);
3365 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
3368 * This symbol, if defined, indicates that the system provides
3369 * a prototype for the flock() function. Otherwise, it is up
3370 * to the program to supply one. A good guess is
3371 * extern int flock(int, int);
3373 #$d_flockproto HAS_FLOCK_PROTO /**/
3376 * This symbol, if defined, indicates that the realpath routine is
3377 * available to do resolve paths.
3379 #$d_realpath HAS_REALPATH /**/
3382 * This symbol, if defined, indicates that the sigprocmask
3383 * system call is available to examine or change the signal mask
3384 * of the calling process.
3386 #$d_sigprocmask HAS_SIGPROCMASK /**/
3389 * This symbol, if defined, indicates that the sockatmark routine is
3390 * available to test whether a socket is at the out-of-band mark.
3392 #$d_sockatmark HAS_SOCKATMARK /**/
3394 /* HAS_SOCKATMARK_PROTO:
3395 * This symbol, if defined, indicates that the system provides
3396 * a prototype for the sockatmark() function. Otherwise, it is up
3397 * to the program to supply one. A good guess is
3398 * extern int sockatmark _((int));
3400 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3402 /* HAS_SETRESGID_PROTO:
3403 * This symbol, if defined, indicates that the system provides
3404 * a prototype for the setresgid() function. Otherwise, it is up
3405 * to the program to supply one. Good guesses are
3406 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3408 #$d_sresgproto HAS_SETRESGID_PROTO /**/
3410 /* HAS_SETRESUID_PROTO:
3411 * This symbol, if defined, indicates that the system provides
3412 * a prototype for the setresuid() function. Otherwise, it is up
3413 * to the program to supply one. Good guesses are
3414 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3416 #$d_sresuproto HAS_SETRESUID_PROTO /**/
3419 * This symbol, if defined, indicates that the strftime routine is
3420 * available to do time formatting.
3422 #$d_strftime HAS_STRFTIME /**/
3424 /* HAS_SYSCALL_PROTO:
3425 * This symbol, if defined, indicates that the system provides
3426 * a prototype for the syscall() function. Otherwise, it is up
3427 * to the program to supply one. Good guesses are
3428 * extern int syscall(int, ...);
3429 * extern int syscall(long, ...);
3431 #$d_syscallproto HAS_SYSCALL_PROTO /**/
3433 /* U32_ALIGNMENT_REQUIRED:
3434 * This symbol, if defined, indicates that you must access
3435 * character data through U32-aligned pointers.
3437 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
3439 /* HAS_USLEEP_PROTO:
3440 * This symbol, if defined, indicates that the system provides
3441 * a prototype for the usleep() function. Otherwise, it is up
3442 * to the program to supply one. A good guess is
3443 * extern int usleep(useconds_t);
3445 #$d_usleepproto HAS_USLEEP_PROTO /**/