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 /**/
149 * This symbol, if defined, indicates that the dup2 routine is
150 * available to duplicate file descriptors.
152 #$d_dup2 HAS_DUP2 /**/
155 * This symbol, if defined, indicates that the fchmod routine is available
156 * to change mode of opened files. If unavailable, use chmod().
158 #$d_fchmod HAS_FCHMOD /**/
161 * This symbol, if defined, indicates that the fchown routine is available
162 * to change ownership of opened files. If unavailable, use chown().
164 #$d_fchown HAS_FCHOWN /**/
167 * This symbol, if defined, indicates to the C program that
168 * the fcntl() function exists.
170 #$d_fcntl HAS_FCNTL /**/
173 * This symbol, if defined, indicates that the fgetpos routine is
174 * available to get the file position indicator, similar to ftell().
176 #$d_fgetpos HAS_FGETPOS /**/
179 * This symbol, if defined, indicates that the flock routine is
180 * available to do file locking.
182 #$d_flock HAS_FLOCK /**/
185 * This symbol, if defined, indicates that the fork routine is
188 #$d_fork HAS_FORK /**/
191 * This symbol, if defined, indicates that the fsetpos routine is
192 * available to set the file position indicator, similar to fseek().
194 #$d_fsetpos HAS_FSETPOS /**/
197 * This symbol, if defined, indicates that the gettimeofday() system
198 * call is available for a sub-second accuracy clock. Usually, the file
199 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
200 * The type "Timeval" should be used to refer to "struct timeval".
202 #$d_gettimeod HAS_GETTIMEOFDAY /**/
203 #ifdef HAS_GETTIMEOFDAY
204 #define Timeval struct timeval /* Structure used by gettimeofday() */
208 * This symbol, if defined, indicates that the getgroups() routine is
209 * available to get the list of process groups. If unavailable, multiple
210 * groups are probably not supported.
212 #$d_getgrps HAS_GETGROUPS /**/
215 * This symbol, if defined, indicates that the getlogin routine is
216 * available to get the login name.
218 #$d_getlogin HAS_GETLOGIN /**/
221 * This symbol, if defined, indicates to the C program that
222 * the getpgid(pid) function is available to get the
225 #$d_getpgid HAS_GETPGID /**/
228 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
229 * routine is available to get the current process group.
231 #$d_getpgrp2 HAS_GETPGRP2 /**/
234 * This symbol, if defined, indicates that the getppid routine is
235 * available to get the parent process ID.
237 #$d_getppid HAS_GETPPID /**/
240 * This symbol, if defined, indicates that the getpriority routine is
241 * available to get a process's priority.
243 #$d_getprior HAS_GETPRIORITY /**/
246 * This symbol, if defined, indicates to the C program that the
247 * inet_aton() function is available to parse IP address "dotted-quad"
250 #$d_inetaton HAS_INET_ATON /**/
253 * This symbol, if defined, indicates that the killpg routine is available
254 * to kill process groups. If unavailable, you probably should use kill
255 * with a negative process number.
257 #$d_killpg HAS_KILLPG /**/
260 * This symbol, if defined, indicates that the link routine is
261 * available to create hard links.
263 #$d_link HAS_LINK /**/
266 * This symbol, if defined, indicates that the localeconv routine is
267 * available for numeric and monetary formatting conventions.
269 #$d_locconv HAS_LOCALECONV /**/
272 * This symbol, if defined, indicates that the lockf routine is
273 * available to do file locking.
275 #$d_lockf HAS_LOCKF /**/
278 * This symbol, if defined, indicates that the lstat routine is
279 * available to do file stats on symbolic links.
281 #$d_lstat HAS_LSTAT /**/
284 * This symbol, if defined, indicates that the mblen routine is available
285 * to find the number of bytes in a multibye character.
287 #$d_mblen HAS_MBLEN /**/
290 * This symbol, if defined, indicates that the mbstowcs routine is
291 * available to covert a multibyte string into a wide character string.
293 #$d_mbstowcs HAS_MBSTOWCS /**/
296 * This symbol, if defined, indicates that the mbtowc routine is available
297 * to covert a multibyte to a wide character.
299 #$d_mbtowc HAS_MBTOWC /**/
302 * This symbol, if defined, indicates that the memcmp routine is available
303 * to compare blocks of memory.
305 #$d_memcmp HAS_MEMCMP /**/
308 * This symbol, if defined, indicates that the memcpy routine is available
309 * to copy blocks of memory.
311 #$d_memcpy HAS_MEMCPY /**/
314 * This symbol, if defined, indicates that the memmove routine is available
315 * to copy potentially overlapping blocks of memory. This should be used
316 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
319 #$d_memmove HAS_MEMMOVE /**/
322 * This symbol, if defined, indicates that the memset routine is available
323 * to set blocks of memory.
325 #$d_memset HAS_MEMSET /**/
328 * This symbol, if defined, indicates that the mkdir routine is available
329 * to create directories. Otherwise you should fork off a new process to
332 #$d_mkdir HAS_MKDIR /**/
335 * This symbol, if defined, indicates that the mkfifo routine is
336 * available to create FIFOs. Otherwise, mknod should be able to
337 * do it for you. However, if mkfifo is there, mknod might require
338 * super-user privileges which mkfifo will not.
340 #$d_mkfifo HAS_MKFIFO /**/
343 * This symbol, if defined, indicates that the mktime routine is
346 #$d_mktime HAS_MKTIME /**/
349 * This symbol, if defined, indicates that the msync system call is
350 * available to synchronize a mapped file.
352 #$d_msync HAS_MSYNC /**/
355 * This symbol, if defined, indicates that the munmap system call is
356 * available to unmap a region, usually mapped by mmap().
358 #$d_munmap HAS_MUNMAP /**/
361 * This symbol, if defined, indicates that the nice routine is
364 #$d_nice HAS_NICE /**/
367 * This symbol, if defined, indicates that pathconf() is available
368 * to determine file-system related limits and options associated
369 * with a given filename.
372 * This symbol, if defined, indicates that pathconf() is available
373 * to determine file-system related limits and options associated
374 * with a given open file descriptor.
376 #$d_pathconf HAS_PATHCONF /**/
377 #$d_fpathconf HAS_FPATHCONF /**/
380 * This symbol, if defined, indicates that the pause routine is
381 * available to suspend a process until a signal is received.
383 #$d_pause HAS_PAUSE /**/
386 * This symbol, if defined, indicates that the pipe routine is
387 * available to create an inter-process channel.
389 #$d_pipe HAS_PIPE /**/
392 * This symbol, if defined, indicates that the poll routine is
393 * available to poll active file descriptors. You may safely
394 * include <poll.h> when this symbol is defined.
396 #$d_poll HAS_POLL /**/
399 * This symbol, if defined, indicates that the readdir routine is
400 * available to read directory entries. You may have to include
401 * <dirent.h>. See I_DIRENT.
403 #$d_readdir HAS_READDIR /**/
406 * This symbol, if defined, indicates that the seekdir routine is
407 * available. You may have to include <dirent.h>. See I_DIRENT.
409 #$d_seekdir HAS_SEEKDIR /**/
412 * This symbol, if defined, indicates that the telldir routine is
413 * available. You may have to include <dirent.h>. See I_DIRENT.
415 #$d_telldir HAS_TELLDIR /**/
418 * This symbol, if defined, indicates that the rewinddir routine is
419 * available. You may have to include <dirent.h>. See I_DIRENT.
421 #$d_rewinddir HAS_REWINDDIR /**/
424 * This symbol, if defined, indicates that the readlink routine is
425 * available to read the value of a symbolic link.
427 #$d_readlink HAS_READLINK /**/
430 * This symbol, if defined, indicates that the rename routine is available
431 * to rename files. Otherwise you should do the unlink(), link(), unlink()
434 #$d_rename HAS_RENAME /**/
437 * This symbol, if defined, indicates that the rmdir routine is
438 * available to remove directories. Otherwise you should fork off a
439 * new process to exec /bin/rmdir.
441 #$d_rmdir HAS_RMDIR /**/
444 * This symbol, if defined, indicates that the select routine is
445 * available to select active file descriptors. If the timeout field
446 * is used, <sys/time.h> may need to be included.
448 #$d_select HAS_SELECT /**/
451 * This symbol, if defined, indicates that the setegid routine is available
452 * to change the effective gid of the current program.
454 #$d_setegid HAS_SETEGID /**/
457 * This symbol, if defined, indicates that the seteuid routine is available
458 * to change the effective uid of the current program.
460 #$d_seteuid HAS_SETEUID /**/
463 * This symbol, if defined, indicates that the setlinebuf routine is
464 * available to change stderr or stdout from block-buffered or unbuffered
465 * to a line-buffered mode.
467 #$d_setlinebuf HAS_SETLINEBUF /**/
470 * This symbol, if defined, indicates that the setlocale routine is
471 * available to handle locale-specific ctype implementations.
473 #$d_setlocale HAS_SETLOCALE /**/
476 * This symbol, if defined, indicates that the setpgid(pid, gpid)
477 * routine is available to set process group ID.
479 #$d_setpgid HAS_SETPGID /**/
482 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
483 * routine is available to set the current process group.
485 #$d_setpgrp2 HAS_SETPGRP2 /**/
488 * This symbol, if defined, indicates that the setpriority routine is
489 * available to set a process's priority.
491 #$d_setprior HAS_SETPRIORITY /**/
494 * This symbol, if defined, indicates that the setregid routine is
495 * available to change the real and effective gid of the current
499 * This symbol, if defined, indicates that the setresgid routine is
500 * available to change the real, effective and saved gid of the current
503 #$d_setregid HAS_SETREGID /**/
504 #$d_setresgid HAS_SETRESGID /**/
507 * This symbol, if defined, indicates that the setreuid routine is
508 * available to change the real and effective uid of the current
512 * This symbol, if defined, indicates that the setresuid routine is
513 * available to change the real, effective and saved uid of the current
516 #$d_setreuid HAS_SETREUID /**/
517 #$d_setresuid HAS_SETRESUID /**/
520 * This symbol, if defined, indicates that the setrgid routine is available
521 * to change the real gid of the current program.
523 #$d_setrgid HAS_SETRGID /**/
526 * This symbol, if defined, indicates that the setruid routine is available
527 * to change the real uid of the current program.
529 #$d_setruid HAS_SETRUID /**/
532 * This symbol, if defined, indicates that the setsid routine is
533 * available to set the process group ID.
535 #$d_setsid HAS_SETSID /**/
538 * This symbol holds the return type of the shmat() system call.
539 * Usually set to 'void *' or 'char *'.
541 /* HAS_SHMAT_PROTOTYPE:
542 * This symbol, if defined, indicates that the sys/shm.h includes
543 * a prototype for shmat(). Otherwise, it is up to the program to
544 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
545 * but not always right so it should be emitted by the program only
546 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
548 #define Shmat_t $shmattype /**/
549 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
552 * This symbol is defined to indicate that the strchr()/strrchr()
553 * functions are available for string searching. If not, try the
554 * index()/rindex() pair.
557 * This symbol is defined to indicate that the index()/rindex()
558 * functions are available for string searching.
560 #$d_strchr HAS_STRCHR /**/
561 #$d_index HAS_INDEX /**/
564 * This symbol, if defined, indicates that the strcoll routine is
565 * available to compare strings using collating information.
567 #$d_strcoll HAS_STRCOLL /**/
570 * This symbol, if defined, indicates that this C compiler knows how
571 * to copy structures. If undefined, you'll need to use a block copy
572 * routine of some sort instead.
574 #$d_strctcpy USE_STRUCT_COPY /**/
577 * This symbol, if defined, indicates that the strtod routine is
578 * available to provide better numeric string conversion than atof().
580 #$d_strtod HAS_STRTOD /**/
583 * This symbol, if defined, indicates that the strtol routine is available
584 * to provide better numeric string conversion than atoi() and friends.
586 #$d_strtol HAS_STRTOL /**/
589 * This symbol, if defined, indicates that the strxfrm() routine is
590 * available to transform strings.
592 #$d_strxfrm HAS_STRXFRM /**/
595 * This symbol, if defined, indicates that the symlink routine is available
596 * to create symbolic links.
598 #$d_symlink HAS_SYMLINK /**/
601 * This symbol, if defined, indicates that the syscall routine is
602 * available to call arbitrary system calls. If undefined, that's tough.
604 #$d_syscall HAS_SYSCALL /**/
607 * This symbol, if defined, indicates that sysconf() is available
608 * to determine system related limits and options.
610 #$d_sysconf HAS_SYSCONF /**/
613 * This symbol, if defined, indicates that the system routine is
614 * available to issue a shell command.
616 #$d_system HAS_SYSTEM /**/
619 * This symbol, if defined, indicates that the tcgetpgrp routine is
620 * available to get foreground process group ID.
622 #$d_tcgetpgrp HAS_TCGETPGRP /**/
625 * This symbol, if defined, indicates that the tcsetpgrp routine is
626 * available to set foreground process group ID.
628 #$d_tcsetpgrp HAS_TCSETPGRP /**/
631 * This symbol, if defined, indicates that the truncate routine is
632 * available to truncate files.
634 #$d_truncate HAS_TRUNCATE /**/
637 * This symbol, if defined, indicates that the tzname[] array is
638 * available to access timezone names.
640 #$d_tzname HAS_TZNAME /**/
643 * This symbol, if defined, indicates that the umask routine is
644 * available to set and get the value of the file creation mask.
646 #$d_umask HAS_UMASK /**/
649 * This symbol, if defined, indicates that the usleep routine is
650 * available to let the process sleep on a sub-second accuracy.
652 #$d_usleep HAS_USLEEP /**/
655 * This symbol, if defined, indicates that this C compiler knows about
656 * the volatile declaration.
658 #$d_volatile HASVOLATILE /**/
664 * This symbol, if defined, indicates that wait4() exists.
666 #$d_wait4 HAS_WAIT4 /**/
669 * This symbol, if defined, indicates that the waitpid routine is
670 * available to wait for child process.
672 #$d_waitpid HAS_WAITPID /**/
675 * This symbol, if defined, indicates that the wcstombs routine is
676 * available to convert wide character strings to multibyte strings.
678 #$d_wcstombs HAS_WCSTOMBS /**/
681 * This symbol, if defined, indicates that the wctomb routine is available
682 * to covert a wide character to a multibyte.
684 #$d_wctomb HAS_WCTOMB /**/
687 * This symbol, if defined, indicates to the C program that it should
688 * include <arpa/inet.h> to get inet_addr and friends declarations.
690 #$i_arpainet I_ARPA_INET /**/
693 * This symbol, if defined, indicates that <dbm.h> exists and should
697 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
698 * should be included.
701 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
704 * This symbol, if defined, indicates to the C program that it should
705 * include <dirent.h>. Using this symbol also triggers the definition
706 * of the Direntry_t define which ends up being 'struct dirent' or
707 * 'struct direct' depending on the availability of <dirent.h>.
710 * This symbol, if defined, indicates to the C program that the length
711 * of directory entry names is provided by a d_namlen field. Otherwise
712 * you need to do strlen() on the d_name field.
715 * This symbol is set to 'struct direct' or 'struct dirent' depending on
716 * whether dirent is available or not. You should use this pseudo type to
717 * portably declare your directory entries.
719 #$i_dirent I_DIRENT /**/
720 #$d_dirnamlen DIRNAMLEN /**/
721 #define Direntry_t $direntrytype
724 * This symbol, if defined, indicates that <dlfcn.h> exists and should
727 #$i_dlfcn I_DLFCN /**/
730 * This manifest constant tells the C program to include <fcntl.h>.
732 #$i_fcntl I_FCNTL /**/
735 * This symbol, if defined, indicates to the C program that it should
736 * include <float.h> to get definition of symbols like DBL_MAX or
737 * DBL_MIN, i.e. machine dependent floating point values.
739 #$i_float I_FLOAT /**/
742 * This symbol, if defined, indicates to the C program that it should
743 * include <limits.h> to get definition of symbols like WORD_BIT or
744 * LONG_MAX, i.e. machine dependant limitations.
746 #$i_limits I_LIMITS /**/
749 * This symbol, if defined, indicates to the C program that it should
750 * include <locale.h>.
752 #$i_locale I_LOCALE /**/
755 * This symbol, if defined, indicates to the C program that it should
761 * This symbol, if defined, indicates to the C program that it should
762 * include <memory.h>.
764 #$i_memory I_MEMORY /**/
767 * This symbol, if defined, indicates that <ndbm.h> exists and should
773 * This symbol, if defined, indicates that <net/errno.h> exists and
774 * should be included.
776 #$i_neterrno I_NET_ERRNO /**/
779 * This symbol, if defined, indicates to the C program that it should
780 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
782 #$i_niin I_NETINET_IN /**/
785 * This symbol, if defined, indicates to the C program that it should
791 * This symbol, if defined, indicates that <stddef.h> exists and should
794 #$i_stddef I_STDDEF /**/
797 * This symbol, if defined, indicates that <stdlib.h> exists and should
800 #$i_stdlib I_STDLIB /**/
803 * This symbol, if defined, indicates to the C program that it should
804 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
806 #$i_string I_STRING /**/
809 * This symbol, if defined, indicates to the C program that it should
810 * include <sys/dir.h>.
812 #$i_sysdir I_SYS_DIR /**/
815 * This symbol, if defined, indicates to the C program that it should
816 * include <sys/file.h> to get definition of R_OK and friends.
818 #$i_sysfile I_SYS_FILE /**/
821 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
822 * be included. Otherwise, include <sgtty.h> or <termio.h>.
825 * This symbol, if defined, indicates the <sys/sockio.h> should be included
826 * to get socket ioctl options, like SIOCATMARK.
828 #$i_sysioctl I_SYS_IOCTL /**/
829 #$i_syssockio I_SYS_SOCKIO /**/
832 * This symbol, if defined, indicates to the C program that it should
833 * include <sys/ndir.h>.
835 #$i_sysndir I_SYS_NDIR /**/
838 * This symbol, if defined, indicates to the C program that it should
839 * include <sys/param.h>.
841 #$i_sysparam I_SYS_PARAM /**/
844 * This symbol, if defined, indicates to the C program that it should
845 * include <sys/resource.h>.
847 #$i_sysresrc I_SYS_RESOURCE /**/
850 * This symbol, if defined, indicates to the C program that it should
851 * include <sys/select.h> in order to get definition of struct timeval.
853 #$i_sysselct I_SYS_SELECT /**/
856 * This symbol, if defined, indicates to the C program that it should
857 * include <sys/stat.h>.
859 #$i_sysstat I_SYS_STAT /**/
862 * This symbol, if defined, indicates to the C program that it should
863 * include <sys/times.h>.
865 #$i_systimes I_SYS_TIMES /**/
868 * This symbol, if defined, indicates to the C program that it should
869 * include <sys/types.h>.
871 #$i_systypes I_SYS_TYPES /**/
874 * This symbol, if defined, indicates to the C program that it should
875 * include <sys/un.h> to get UNIX domain socket definitions.
877 #$i_sysun I_SYS_UN /**/
880 * This symbol, if defined, indicates to the C program that it should
881 * include <sys/wait.h>.
883 #$i_syswait I_SYS_WAIT /**/
886 * This symbol, if defined, indicates that the program should include
887 * <termio.h> rather than <sgtty.h>. There are also differences in
888 * the ioctl() calls that depend on the value of this symbol.
891 * This symbol, if defined, indicates that the program should include
892 * the POSIX termios.h rather than sgtty.h or termio.h.
893 * There are also differences in the ioctl() calls that depend on the
894 * value of this symbol.
897 * This symbol, if defined, indicates that the program should include
898 * <sgtty.h> rather than <termio.h>. There are also differences in
899 * the ioctl() calls that depend on the value of this symbol.
901 #$i_termio I_TERMIO /**/
902 #$i_termios I_TERMIOS /**/
903 #$i_sgtty I_SGTTY /**/
906 * This symbol, if defined, indicates to the C program that it should
907 * include <unistd.h>.
909 #$i_unistd I_UNISTD /**/
912 * This symbol, if defined, indicates to the C program that it should
915 #$i_utime I_UTIME /**/
918 * This symbol, if defined, indicates to the C program that it should
919 * include <values.h> to get definition of symbols like MINFLOAT or
920 * MAXLONG, i.e. machine dependant limitations. Probably, you
921 * should use <limits.h> instead, if it is available.
923 #$i_values I_VALUES /**/
926 * This symbol, if defined, indicates to the C program that it should
929 #$i_vfork I_VFORK /**/
932 * If defined, this macro indicates that the C compiler can handle
933 * function prototypes.
936 * This macro is used to declare function parameters for folks who want
937 * to make declarations with prototypes using a different style than
938 * the above macros. Use double parentheses. For example:
940 * int main _((int argc, char *argv[]));
942 #$prototype CAN_PROTOTYPE /**/
950 * This symbol contains the full pathname to the shell used on this
951 * on this system to execute Bourne shell scripts. Usually, this will be
952 * /bin/sh, though it's possible that some systems will have /bin/ksh,
953 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
956 #define SH_PATH "$sh" /**/
959 * This symbol contains the value of sizeof(int) so that the C
960 * preprocessor can make decisions based on it.
963 * This symbol contains the value of sizeof(long) so that the C
964 * preprocessor can make decisions based on it.
967 * This symbol contains the value of sizeof(short) so that the C
968 * preprocessor can make decisions based on it.
970 #define INTSIZE $intsize /**/
971 #define LONGSIZE $longsize /**/
972 #define SHORTSIZE $shortsize /**/
975 * This symbol, if defined, signifies that the build
976 * process will produce some binary files that are going to be
977 * used in a cross-platform environment. This is the case for
978 * example with the NeXT "fat" binaries that contain executables
981 #$multiarch MULTIARCH /**/
984 * This symbol, if defined, tells that there's a 64-bit integer type,
985 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
986 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
988 #$d_quad HAS_QUAD /**/
990 # define Quad_t $quadtype /**/
991 # define Uquad_t $uquadtype /**/
992 # define QUADKIND $quadkind /**/
993 # define QUAD_IS_INT 1
994 # define QUAD_IS_LONG 2
995 # define QUAD_IS_LONG_LONG 3
996 # define QUAD_IS_INT64_T 4
1000 * This symbol, if defined, indicates that the accessx routine is
1001 * available to do extended access checks.
1003 #$d_accessx HAS_ACCESSX /**/
1006 * This symbol, if defined, indicates that the eaccess routine is
1007 * available to do extended access checks.
1009 #$d_eaccess HAS_EACCESS /**/
1012 * This symbol, if defined, indicates to the C program that it should
1013 * include <sys/access.h>.
1015 #$i_sysaccess I_SYS_ACCESS /**/
1018 * This symbol, if defined, indicates to the C program that it should
1019 * include <sys/security.h>.
1021 #$i_syssecrt I_SYS_SECURITY /**/
1024 * This symbol contains the name of the operating system, as determined
1025 * by Configure. You shouldn't rely on it too much; the specific
1026 * feature tests from Configure are generally more reliable.
1029 * This symbol contains the version of the operating system, as determined
1030 * by Configure. You shouldn't rely on it too much; the specific
1031 * feature tests from Configure are generally more reliable.
1033 #define OSNAME "$osname" /**/
1034 #define OSVERS "$osvers" /**/
1037 * This symbol contains the number of bytes required to align a
1038 * double, or a long double when applicable. Usual values are 2,
1039 * 4 and 8. The default is eight, for safety.
1041 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1042 # define MEM_ALIGNBYTES 8
1044 #define MEM_ALIGNBYTES $alignbytes
1048 * This variable, if defined, holds the name of the directory in
1049 * which the user wants to put architecture-dependent public
1050 * library files for $package. It is most often a local directory
1051 * such as /usr/local/lib. Programs using this variable must be
1052 * prepared to deal with filename expansion. If ARCHLIB is the
1053 * same as PRIVLIB, it is not defined, since presumably the
1054 * program already searches PRIVLIB.
1057 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1058 * in programs that are not prepared to deal with ~ expansion at run-time.
1060 #$d_archlib ARCHLIB "$archlib" /**/
1061 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
1064 * This symbol holds a string representing the architecture name.
1065 * It may be used to construct an architecture-dependant pathname
1066 * where library files may be held under a private library, for
1069 #define ARCHNAME "$archname" /**/
1072 * This symbol, if defined, indicates that the atolf routine is
1073 * available to convert strings into long doubles.
1075 #$d_atolf HAS_ATOLF /**/
1078 * This symbol, if defined, indicates that the atoll routine is
1079 * available to convert strings into long longs.
1081 #$d_atoll HAS_ATOLL /**/
1084 * This symbol holds the path of the bin directory where the package will
1085 * be installed. Program must be prepared to deal with ~name substitution.
1088 * This symbol is the filename expanded version of the BIN symbol, for
1089 * programs that do not want to deal with that at run-time.
1091 #define BIN "$bin" /**/
1092 #define BIN_EXP "$binexp" /**/
1094 /* PERL_BINCOMPAT_5005:
1095 * This symbol, if defined, indicates that this version of Perl should be
1096 * binary-compatible with Perl 5.005. This is impossible for builds
1097 * that use features like threads and multiplicity it is always $undef
1098 * for those versions.
1100 #$d_bincompat5005 PERL_BINCOMPAT_5005 /**/
1103 * This symbol holds the hexadecimal constant defined in byteorder,
1104 * i.e. 0x1234 or 0x4321, etc...
1105 * If the compiler supports cross-compiling or multiple-architecture
1106 * binaries (eg. on NeXT systems), use compiler-defined macros to
1107 * determine the byte order.
1108 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1109 * Binaries (MAB) on either big endian or little endian machines.
1110 * The endian-ness is available at compile-time. This only matters
1111 * for perl, where the config.h can be generated and installed on
1112 * one system, and used by a different architecture to build an
1113 * extension. Older versions of NeXT that might not have
1114 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1115 * so the default case (for NeXT) is big endian to catch them.
1116 * This might matter for NeXT 3.0.
1118 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1119 # ifdef __LITTLE_ENDIAN__
1121 # define BYTEORDER 0x1234
1124 # define BYTEORDER 0x12345678
1128 # ifdef __BIG_ENDIAN__
1130 # define BYTEORDER 0x4321
1133 # define BYTEORDER 0x87654321
1138 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1139 # define BYTEORDER 0x4321
1142 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1146 * This macro catenates 2 tokens together.
1149 * This macro surrounds its token with double quotes.
1152 #define CAT2(a,b) a/**/b
1153 #define STRINGIFY(a) "a"
1154 /* If you can get stringification with catify, tell me how! */
1156 #if $cpp_stuff == 42
1157 #define PeRl_CaTiFy(a, b) a ## b
1158 #define PeRl_StGiFy(a) #a
1159 /* the additional level of indirection enables these macros to be
1160 * used as arguments to other macros. See K&R 2nd ed., page 231. */
1161 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1162 #define StGiFy(a) PeRl_StGiFy(a)
1163 #define STRINGIFY(a) PeRl_StGiFy(a)
1165 #if $cpp_stuff != 1 && $cpp_stuff != 42
1166 # include "Bletch: How does this C preprocessor catenate tokens?"
1170 * This symbol contains the first part of the string which will invoke
1171 * the C preprocessor on the standard input and produce to standard
1172 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1173 * call a wrapper. See CPPRUN.
1176 * This symbol contains the second part of the string which will invoke
1177 * the C preprocessor on the standard input and produce to standard
1178 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1179 * to specify standard input, otherwise the value is "".
1182 * This symbol contains the string which will invoke a C preprocessor on
1183 * the standard input and produce to standard output. It needs to end
1184 * with CPPLAST, after all other preprocessor flags have been specified.
1185 * The main difference with CPPSTDIN is that this program will never be a
1186 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1187 * available directly to the user. Note that it may well be different from
1188 * the preprocessor used to compile the C program.
1191 * This symbol is intended to be used along with CPPRUN in the same manner
1192 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1194 #define CPPSTDIN "$cppstdin"
1195 #define CPPMINUS "$cppminus"
1196 #define CPPRUN "$cpprun"
1197 #define CPPLAST "$cpplast"
1200 * This symbol, if defined, indicates that the _fwalk system call is
1201 * available to apply a function to all the file handles.
1203 #$d__fwalk HAS__FWALK /**/
1206 * This manifest constant lets the C program know that the access()
1207 * system call is available to check for accessibility using real UID/GID.
1208 * (always present on UNIX.)
1210 #$d_access HAS_ACCESS /**/
1213 * This symbol is defined if the C compiler can cast negative
1214 * or large floating point numbers to 32-bit ints.
1216 #$d_casti32 CASTI32 /**/
1219 * This symbol is defined if the C compiler can cast negative
1220 * numbers to unsigned longs, ints and shorts.
1223 * This symbol contains flags that say what difficulties the compiler
1224 * has casting odd floating values to unsigned long:
1226 * 1 = couldn't cast < 0
1227 * 2 = couldn't cast >= 0x80000000
1228 * 4 = couldn't cast in argument expression list
1230 #$d_castneg CASTNEGFLOAT /**/
1231 #define CASTFLAGS $castflags /**/
1234 * This symbol, if defined, indicates that the class routine is
1235 * available to classify doubles. Available for example in AIX.
1236 * The returned values are defined in <float.h> and are:
1238 * FP_PLUS_NORM Positive normalized, nonzero
1239 * FP_MINUS_NORM Negative normalized, nonzero
1240 * FP_PLUS_DENORM Positive denormalized, nonzero
1241 * FP_MINUS_DENORM Negative denormalized, nonzero
1243 * FP_MINUS_ZERO -0.0
1246 * FP_NANS Signaling Not a Number (NaNS)
1247 * FP_NANQ Quiet Not a Number (NaNQ)
1249 #$d_class HAS_CLASS /**/
1252 * This symbol, if defined, indicates that the closedir() routine
1253 * does not return a value.
1255 #$d_void_closedir VOID_CLOSEDIR /**/
1257 /* HAS_STRUCT_CMSGHDR:
1258 * This symbol, if defined, indicates that the struct cmsghdr
1261 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
1264 * This symbol, if defined, indicates that the C-shell exists.
1267 * This symbol, if defined, contains the full pathname of csh.
1269 #$d_csh HAS_CSH /**/
1271 #define CSH "$full_csh" /**/
1274 /* DLSYM_NEEDS_UNDERSCORE:
1275 * This symbol, if defined, indicates that we need to prepend an
1276 * underscore to the symbol name before calling dlsym(). This only
1277 * makes sense if you *have* dlsym, which we will presume is the
1278 * case if you're using dl_dlopen.xs.
1280 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
1282 /* HAS_DRAND48_PROTO:
1283 * This symbol, if defined, indicates that the system provides
1284 * a prototype for the drand48() function. Otherwise, it is up
1285 * to the program to supply one. A good guess is
1286 * extern double drand48 _((void));
1288 #$d_drand48proto HAS_DRAND48_PROTO /**/
1291 * This symbol, if defined, indicates that the getgrent routine is
1292 * available for finalizing sequential access of the group database.
1294 #$d_endgrent HAS_ENDGRENT /**/
1297 * This symbol, if defined, indicates that the endhostent() routine is
1298 * available to close whatever was being used for host queries.
1300 #$d_endhent HAS_ENDHOSTENT /**/
1303 * This symbol, if defined, indicates that the endnetent() routine is
1304 * available to close whatever was being used for network queries.
1306 #$d_endnent HAS_ENDNETENT /**/
1309 * This symbol, if defined, indicates that the endprotoent() routine is
1310 * available to close whatever was being used for protocol queries.
1312 #$d_endpent HAS_ENDPROTOENT /**/
1315 * This symbol, if defined, indicates that the getgrent routine is
1316 * available for finalizing sequential access of the passwd database.
1318 #$d_endpwent HAS_ENDPWENT /**/
1321 * This symbol, if defined, indicates that the endservent() routine is
1322 * available to close whatever was being used for service queries.
1324 #$d_endsent HAS_ENDSERVENT /**/
1327 * This symbol, if defined, indicates that the fchdir routine is
1328 * available to change directory using a file descriptor.
1330 #$d_fchdir HAS_FCHDIR /**/
1333 * This symbol, if defined, indicates that fcntl() can be used
1334 * for file locking. Normally on Unix systems this is defined.
1335 * It may be undefined on VMS.
1337 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
1340 * This symbol, when defined, indicates presence of the fd_set typedef
1343 #$d_fd_set HAS_FD_SET /**/
1346 * This symbol, if defined, indicates that the finite routine is
1347 * available to check whether a double is finite (non-infinity non-NaN).
1349 #$d_finite HAS_FINITE /**/
1352 * This symbol, if defined, indicates that the finitel routine is
1353 * available to check whether a long double is finite
1354 * (non-infinity non-NaN).
1356 #$d_finitel HAS_FINITEL /**/
1359 * This symbol, if defined, indicates that the system supports filenames
1360 * longer than 14 characters.
1362 #$d_flexfnam FLEXFILENAMES /**/
1365 * This symbol, if defined, indicates that the fp_class routine is
1366 * available to classify doubles. Available for example in Digital UNIX.
1367 * The returned values are defined in <math.h> and are:
1369 * FP_SNAN Signaling NaN (Not-a-Number)
1370 * FP_QNAN Quiet NaN (Not-a-Number)
1371 * FP_POS_INF +infinity
1372 * FP_NEG_INF -infinity
1373 * FP_POS_NORM Positive normalized
1374 * FP_NEG_NORM Negative normalized
1375 * FP_POS_DENORM Positive denormalized
1376 * FP_NEG_DENORM Negative denormalized
1377 * FP_POS_ZERO +0.0 (positive zero)
1378 * FP_NEG_ZERO -0.0 (negative zero)
1380 #$d_fp_class HAS_FP_CLASS /**/
1383 * This symbol, if defined, indicates that the fpclass routine is
1384 * available to classify doubles. Available for example in Solaris/SVR4.
1385 * The returned values are defined in <ieeefp.h> and are:
1387 * FP_SNAN signaling NaN
1389 * FP_NINF negative infinity
1390 * FP_PINF positive infinity
1391 * FP_NDENORM negative denormalized non-zero
1392 * FP_PDENORM positive denormalized non-zero
1393 * FP_NZERO negative zero
1394 * FP_PZERO positive zero
1395 * FP_NNORM negative normalized non-zero
1396 * FP_PNORM positive normalized non-zero
1398 #$d_fpclass HAS_FPCLASS /**/
1401 * This symbol, if defined, indicates that the fpclassify routine is
1402 * available to classify doubles. Available for example in HP-UX.
1403 * The returned values are defined in <math.h> and are
1405 * FP_NORMAL Normalized
1407 * FP_INFINITE Infinity
1408 * FP_SUBNORMAL Denormalized
1412 #$d_fpclassify HAS_FPCLASSIFY /**/
1415 * This symbol, if defined, indicates that the fpclassl routine is
1416 * available to classify long doubles. Available for example in IRIX.
1417 * The returned values are defined in <ieeefp.h> and are:
1419 * FP_SNAN signaling NaN
1421 * FP_NINF negative infinity
1422 * FP_PINF positive infinity
1423 * FP_NDENORM negative denormalized non-zero
1424 * FP_PDENORM positive denormalized non-zero
1425 * FP_NZERO negative zero
1426 * FP_PZERO positive zero
1427 * FP_NNORM negative normalized non-zero
1428 * FP_PNORM positive normalized non-zero
1430 #$d_fpclassl HAS_FPCLASSL /**/
1433 * This symbol will be defined if the C compiler supports fpos64_t.
1435 #$d_fpos64_t HAS_FPOS64_T /**/
1438 * This symbol, if defined, indicates that the frexpl routine is
1439 * available to break a long double floating-point number into
1440 * a normalized fraction and an integral power of 2.
1442 #$d_frexpl HAS_FREXPL /**/
1444 /* HAS_STRUCT_FS_DATA:
1445 * This symbol, if defined, indicates that the struct fs_data
1446 * to do statfs() is supported.
1448 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
1451 * This symbol, if defined, indicates that the fseeko routine is
1452 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1454 #$d_fseeko HAS_FSEEKO /**/
1457 * This symbol, if defined, indicates that the fstatfs routine is
1458 * available to stat filesystems by file descriptors.
1460 #$d_fstatfs HAS_FSTATFS /**/
1463 * This symbol, if defined, indicates that the fsync routine is
1464 * available to write a file's modified data and attributes to
1465 * permanent storage.
1467 #$d_fsync HAS_FSYNC /**/
1470 * This symbol, if defined, indicates that the ftello routine is
1471 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1473 #$d_ftello HAS_FTELLO /**/
1476 * This preprocessor macro is defined to convert a floating point
1477 * number to a string without a trailing decimal point. This
1478 * emulates the behavior of sprintf("%g"), but is sometimes much more
1479 * efficient. If gconvert() is not available, but gcvt() drops the
1480 * trailing decimal point, then gcvt() is used. If all else fails,
1481 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1482 * macro are: value, number of digits, whether trailing zeros should
1483 * be retained, and the output buffer.
1484 * Possible values are:
1485 * d_Gconvert='gconvert((x),(n),(t),(b))'
1486 * d_Gconvert='gcvt((x),(n),(b))'
1487 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1488 * The last two assume trailing zeros should not be kept.
1490 #define Gconvert(x,n,t,b) $d_Gconvert
1493 * This symbol, if defined, indicates that the getcwd routine is
1494 * available to get the current working directory.
1496 #$d_getcwd HAS_GETCWD /**/
1499 * This symbol, if defined, indicates that the getespwnam system call is
1500 * available to retrieve enchanced (shadow) password entries by name.
1502 #$d_getespwnam HAS_GETESPWNAM /**/
1505 * This symbol, if defined, indicates that the getfsstat routine is
1506 * available to stat filesystems in bulk.
1508 #$d_getfsstat HAS_GETFSSTAT /**/
1511 * This symbol, if defined, indicates that the getgrent routine is
1512 * available for sequential access of the group database.
1514 #$d_getgrent HAS_GETGRENT /**/
1516 /* HAS_GETHOSTBYADDR:
1517 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1518 * available to look up hosts by their IP addresses.
1520 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1522 /* HAS_GETHOSTBYNAME:
1523 * This symbol, if defined, indicates that the gethostbyname() routine is
1524 * available to look up host names in some data base or other.
1526 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1529 * This symbol, if defined, indicates that the gethostent() routine is
1530 * available to look up host names in some data base or another.
1532 #$d_gethent HAS_GETHOSTENT /**/
1535 * This symbol, if defined, indicates that the C program may use the
1536 * gethostname() routine to derive the host name. See also HAS_UNAME
1540 * This symbol, if defined, indicates that the C program may use the
1541 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1545 * This symbol, if defined, indicates the command to feed to the
1546 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1547 * and HAS_UNAME. Note that the command uses a fully qualified path,
1548 * so that it is safe even if used by a process with super-user
1552 * This symbol, if defined, indicates that the C program may use the
1553 * contents of PHOSTNAME as a command to feed to the popen() routine
1554 * to derive the host name.
1556 #$d_gethname HAS_GETHOSTNAME /**/
1557 #$d_uname HAS_UNAME /**/
1558 #$d_phostname HAS_PHOSTNAME /**/
1559 #ifdef HAS_PHOSTNAME
1560 #define PHOSTNAME "$aphostname" /* How to get the host name */
1563 /* HAS_GETHOST_PROTOS:
1564 * This symbol, if defined, indicates that <netdb.h> includes
1565 * prototypes for gethostent(), gethostbyname(), and
1566 * gethostbyaddr(). Otherwise, it is up to the program to guess
1567 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1569 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
1572 * This symbol, if defined, indicates that the getitimer routine is
1573 * available to return interval timers.
1575 #$d_getitimer HAS_GETITIMER /**/
1578 * This symbol, if defined, indicates that the getmnt routine is
1579 * available to get filesystem mount info by filename.
1581 #$d_getmnt HAS_GETMNT /**/
1584 * This symbol, if defined, indicates that the getmntent routine is
1585 * available to iterate through mounted file systems to get their info.
1587 #$d_getmntent HAS_GETMNTENT /**/
1589 /* HAS_GETNETBYADDR:
1590 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1591 * available to look up networks by their IP addresses.
1593 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1595 /* HAS_GETNETBYNAME:
1596 * This symbol, if defined, indicates that the getnetbyname() routine is
1597 * available to look up networks by their names.
1599 #$d_getnbyname HAS_GETNETBYNAME /**/
1602 * This symbol, if defined, indicates that the getnetent() routine is
1603 * available to look up network names in some data base or another.
1605 #$d_getnent HAS_GETNETENT /**/
1607 /* HAS_GETNET_PROTOS:
1608 * This symbol, if defined, indicates that <netdb.h> includes
1609 * prototypes for getnetent(), getnetbyname(), and
1610 * getnetbyaddr(). Otherwise, it is up to the program to guess
1611 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1613 #$d_getnetprotos HAS_GETNET_PROTOS /**/
1616 * This symbol, if defined, indicates that the getpagesize system call
1617 * is available to get system page size, which is the granularity of
1618 * many memory management calls.
1620 #$d_getpagsz HAS_GETPAGESIZE /**/
1623 * This symbol, if defined, indicates that the getprotoent() routine is
1624 * available to look up protocols in some data base or another.
1626 #$d_getpent HAS_GETPROTOENT /**/
1629 * This symbol, if defined, indicates that the getpgrp routine is
1630 * available to get the current process group.
1633 * This symbol, if defined, indicates that getpgrp needs one
1634 * arguments whereas USG one needs none.
1636 #$d_getpgrp HAS_GETPGRP /**/
1637 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1639 /* HAS_GETPROTOBYNAME:
1640 * This symbol, if defined, indicates that the getprotobyname()
1641 * routine is available to look up protocols by their name.
1643 /* HAS_GETPROTOBYNUMBER:
1644 * This symbol, if defined, indicates that the getprotobynumber()
1645 * routine is available to look up protocols by their number.
1647 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1648 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1650 /* HAS_GETPROTO_PROTOS:
1651 * This symbol, if defined, indicates that <netdb.h> includes
1652 * prototypes for getprotoent(), getprotobyname(), and
1653 * getprotobyaddr(). Otherwise, it is up to the program to guess
1654 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1656 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1659 * This symbol, if defined, indicates that the getprpwnam system call is
1660 * available to retrieve protected (shadow) password entries by name.
1662 #$d_getprpwnam HAS_GETPRPWNAM /**/
1665 * This symbol, if defined, indicates that the getpwent routine is
1666 * available for sequential access of the passwd database.
1667 * If this is not available, the older getpw() function may be available.
1669 #$d_getpwent HAS_GETPWENT /**/
1672 * This symbol, if defined, indicates that the getservent() routine is
1673 * available to look up network services in some data base or another.
1675 #$d_getsent HAS_GETSERVENT /**/
1677 /* HAS_GETSERV_PROTOS:
1678 * This symbol, if defined, indicates that <netdb.h> includes
1679 * prototypes for getservent(), getservbyname(), and
1680 * getservbyaddr(). Otherwise, it is up to the program to guess
1681 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1683 #$d_getservprotos HAS_GETSERV_PROTOS /**/
1686 * This symbol, if defined, indicates that the getspnam system call is
1687 * available to retrieve SysV shadow password entries by name.
1689 #$d_getspnam HAS_GETSPNAM /**/
1691 /* HAS_GETSERVBYNAME:
1692 * This symbol, if defined, indicates that the getservbyname()
1693 * routine is available to look up services by their name.
1695 /* HAS_GETSERVBYPORT:
1696 * This symbol, if defined, indicates that the getservbyport()
1697 * routine is available to look up services by their port.
1699 #$d_getsbyname HAS_GETSERVBYNAME /**/
1700 #$d_getsbyport HAS_GETSERVBYPORT /**/
1703 * This symbol, if defined, indicates to the C program that
1704 * the GNU C library is being used.
1706 #$d_gnulibc HAS_GNULIBC /**/
1707 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1708 # define _GNU_SOURCE
1711 * This symbol, if defined, indicates that the hasmntopt routine is
1712 * available to query the mount options of file systems.
1714 #$d_hasmntopt HAS_HASMNTOPT /**/
1717 * This symbol, if defined, indicates that the htonl() routine (and
1718 * friends htons() ntohl() ntohs()) are available to do network
1719 * order byte swapping.
1722 * This symbol, if defined, indicates that the htons() routine (and
1723 * friends htonl() ntohl() ntohs()) are available to do network
1724 * order byte swapping.
1727 * This symbol, if defined, indicates that the ntohl() routine (and
1728 * friends htonl() htons() ntohs()) are available to do network
1729 * order byte swapping.
1732 * This symbol, if defined, indicates that the ntohs() routine (and
1733 * friends htonl() htons() ntohl()) are available to do network
1734 * order byte swapping.
1736 #$d_htonl HAS_HTONL /**/
1737 #$d_htonl HAS_HTONS /**/
1738 #$d_htonl HAS_NTOHL /**/
1739 #$d_htonl HAS_NTOHS /**/
1742 * This symbol, if defined, indicates that the iconv routine is
1743 * available to do character set conversions.
1745 #$d_iconv HAS_ICONV /**/
1748 * This symbol will defined if the C compiler supports int64_t.
1749 * Usually the <inttypes.h> needs to be included, but sometimes
1750 * <sys/types.h> is enough.
1752 #$d_int64_t HAS_INT64_T /**/
1755 * This manifest constant lets the C program know that isascii
1758 #$d_isascii HAS_ISASCII /**/
1761 * This symbol, if defined, indicates that the isfinite routine is
1762 * available to check whether a double is finite (non-infinity non-NaN).
1764 #$d_isfinite HAS_ISFINITE /**/
1767 * This symbol, if defined, indicates that the isinf routine is
1768 * available to check whether a double is an infinity.
1770 #$d_isinf HAS_ISINF /**/
1773 * This symbol, if defined, indicates that the isnan routine is
1774 * available to check whether a double is a NaN.
1776 #$d_isnan HAS_ISNAN /**/
1779 * This symbol, if defined, indicates that the isnanl routine is
1780 * available to check whether a long double is a NaN.
1782 #$d_isnanl HAS_ISNANL /**/
1785 * This symbol, if defined, indicates that the lchown routine is
1786 * available to operate on a symbolic link (instead of following the
1789 #$d_lchown HAS_LCHOWN /**/
1792 * This symbol, if defined, indicates that this system's <float.h>
1793 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1794 * of significant digits in a long double precision number. Unlike
1795 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1797 #$d_ldbl_dig HAS_LDBL_DIG /* */
1800 * This symbol will be defined if the C compiler supports long
1804 * This symbol contains the size of a long double, so that the
1805 * C preprocessor can make decisions based on it. It is only
1806 * defined if the system supports long doubles.
1808 #$d_longdbl HAS_LONG_DOUBLE /**/
1809 #ifdef HAS_LONG_DOUBLE
1810 #define LONG_DOUBLESIZE $longdblsize /**/
1814 * This symbol will be defined if the C compiler supports long long.
1817 * This symbol contains the size of a long long, so that the
1818 * C preprocessor can make decisions based on it. It is only
1819 * defined if the system supports long long.
1821 #$d_longlong HAS_LONG_LONG /**/
1822 #ifdef HAS_LONG_LONG
1823 #define LONGLONGSIZE $longlongsize /**/
1827 * This symbol, if defined, indicates that the system provides
1828 * a prototype for the lseek() function. Otherwise, it is up
1829 * to the program to supply one. A good guess is
1830 * extern off_t lseek(int, off_t, int);
1832 #$d_lseekproto HAS_LSEEK_PROTO /**/
1835 * This symbol, if defined, indicates that the madvise system call is
1836 * available to map a file into memory.
1838 #$d_madvise HAS_MADVISE /**/
1841 * This symbol, if defined, indicates that the memchr routine is available
1842 * to locate characters within a C string.
1844 #$d_memchr HAS_MEMCHR /**/
1847 * This symbol, if defined, indicates that the mkdtemp routine is
1848 * available to exclusively create a uniquely named temporary directory.
1850 #$d_mkdtemp HAS_MKDTEMP /**/
1853 * This symbol, if defined, indicates that the mkstemp routine is
1854 * available to exclusively create and open a uniquely named
1857 #$d_mkstemp HAS_MKSTEMP /**/
1860 * This symbol, if defined, indicates that the mkstemps routine is
1861 * available to excluslvely create and open a uniquely named
1862 * (with a suffix) temporary file.
1864 #$d_mkstemps HAS_MKSTEMPS /**/
1867 * This symbol, if defined, indicates that the mmap system call is
1868 * available to map a file into memory.
1871 * This symbol holds the return type of the mmap() system call
1872 * (and simultaneously the type of the first argument).
1873 * Usually set to 'void *' or 'cadd_t'.
1875 #$d_mmap HAS_MMAP /**/
1876 #define Mmap_t $mmaptype /**/
1879 * This symbol, if defined, indicates that the modfl routine is
1880 * available to split a long double x into a fractional part f and
1881 * an integer part i such that |f| < 1.0 and (f + i) = x.
1883 /* HAS_MODFL_POW32_BUG:
1884 * This symbol, if defined, indicates that the modfl routine is
1885 * broken for long doubles >= pow(2, 32).
1886 * For example from 4294967303.150000 one would get 4294967302.000000
1887 * and 1.150000. The bug has been seen in certain versions of glibc,
1888 * release 2.2.2 is known to be okay.
1890 #$d_modfl HAS_MODFL /**/
1891 #$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
1894 * This symbol, if defined, indicates that the mprotect system call is
1895 * available to modify the access protection of a memory mapped file.
1897 #$d_mprotect HAS_MPROTECT /**/
1900 * This symbol, if defined, indicates that the entire msg*(2) library is
1901 * supported (IPC mechanism based on message queues).
1903 #$d_msg HAS_MSG /**/
1905 /* HAS_STRUCT_MSGHDR:
1906 * This symbol, if defined, indicates that the struct msghdr
1909 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
1912 * This symbol will be defined if the C compiler supports off64_t.
1914 #$d_off64_t HAS_OFF64_T /**/
1917 * This manifest constant lets the C program know that the three
1918 * argument form of open(2) is available.
1920 #$d_open3 HAS_OPEN3 /**/
1922 /* OLD_PTHREAD_CREATE_JOINABLE:
1923 * This symbol, if defined, indicates how to create pthread
1924 * in joinable (aka undetached) state. NOTE: not defined
1925 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1926 * (the new version of the constant).
1927 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1930 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
1932 /* HAS_PTHREAD_YIELD:
1933 * This symbol, if defined, indicates that the pthread_yield
1934 * routine is available to yield the execution of the current
1935 * thread. sched_yield is preferable to pthread_yield.
1938 * This symbol defines the way to yield the execution of
1939 * the current thread. Known ways are sched_yield,
1940 * pthread_yield, and pthread_yield with NULL.
1943 * This symbol, if defined, indicates that the sched_yield
1944 * routine is available to yield the execution of the current
1945 * thread. sched_yield is preferable to pthread_yield.
1947 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
1948 #define SCHED_YIELD $sched_yield /**/
1949 #$d_sched_yield HAS_SCHED_YIELD /**/
1952 * This symbol, if defined, indicates that the readv routine is
1953 * available to do gather reads. You will also need <sys/uio.h>
1954 * and there I_SYSUIO.
1956 #$d_readv HAS_READV /**/
1959 * This symbol, if defined, indicates that the recvmsg routine is
1960 * available to send structured socket messages.
1962 #$d_recvmsg HAS_RECVMSG /**/
1965 * This symbol, if defined, indicates that the bcopy routine is available
1966 * to copy potentially overlapping memory blocks. Normally, you should
1967 * probably use memmove() or memcpy(). If neither is defined, roll your
1970 #$d_safebcpy HAS_SAFE_BCOPY /**/
1973 * This symbol, if defined, indicates that the memcpy routine is available
1974 * to copy potentially overlapping memory blocks. If you need to
1975 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
1976 * use memmove() instead, if available.
1978 #$d_safemcpy HAS_SAFE_MEMCPY /**/
1981 * This symbol, if defined, indicates that the memcmp routine is available
1982 * and can be used to compare relative magnitudes of chars with their high
1983 * bits set. If it is not defined, roll your own version.
1985 #$d_sanemcmp HAS_SANE_MEMCMP /**/
1988 * This symbol, if defined, indicates that the system provides
1989 * a prototype for the sbrk() function. Otherwise, it is up
1990 * to the program to supply one. Good guesses are
1991 * extern void* sbrk _((int));
1992 * extern void* sbrk _((size_t));
1994 #$d_sbrkproto HAS_SBRK_PROTO /**/
1997 * This symbol, if defined, indicates that the entire sem*(2) library is
2000 #$d_sem HAS_SEM /**/
2003 * This symbol, if defined, indicates that the sendmsg routine is
2004 * available to send structured socket messages.
2006 #$d_sendmsg HAS_SENDMSG /**/
2009 * This symbol, if defined, indicates that the setgrent routine is
2010 * available for initializing sequential access of the group database.
2012 #$d_setgrent HAS_SETGRENT /**/
2015 * This symbol, if defined, indicates that the setgroups() routine is
2016 * available to set the list of process groups. If unavailable, multiple
2017 * groups are probably not supported.
2019 #$d_setgrps HAS_SETGROUPS /**/
2022 * This symbol, if defined, indicates that the sethostent() routine is
2025 #$d_sethent HAS_SETHOSTENT /**/
2028 * This symbol, if defined, indicates that the setitimer routine is
2029 * available to set interval timers.
2031 #$d_setitimer HAS_SETITIMER /**/
2034 * This symbol, if defined, indicates that the setnetent() routine is
2037 #$d_setnent HAS_SETNETENT /**/
2040 * This symbol, if defined, indicates that the setprotoent() routine is
2043 #$d_setpent HAS_SETPROTOENT /**/
2046 * This symbol, if defined, indicates that the setpgrp routine is
2047 * available to set the current process group.
2050 * This symbol, if defined, indicates that setpgrp needs two
2051 * arguments whereas USG one needs none. See also HAS_SETPGID
2052 * for a POSIX interface.
2054 #$d_setpgrp HAS_SETPGRP /**/
2055 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2057 /* HAS_SETPROCTITLE:
2058 * This symbol, if defined, indicates that the setproctitle routine is
2059 * available to set process title.
2061 #$d_setproctitle HAS_SETPROCTITLE /**/
2064 * This symbol, if defined, indicates that the setpwent routine is
2065 * available for initializing sequential access of the passwd database.
2067 #$d_setpwent HAS_SETPWENT /**/
2070 * This symbol, if defined, indicates that the setservent() routine is
2073 #$d_setsent HAS_SETSERVENT /**/
2076 * This symbol, if defined, indicates that the setvbuf routine is
2077 * available to change buffering on an open stdio stream.
2078 * to a line-buffered mode.
2080 #$d_setvbuf HAS_SETVBUF /**/
2083 * This symbol, if defined, indicates that sfio should
2086 #$d_sfio USE_SFIO /**/
2089 * This symbol, if defined, indicates that the entire shm*(2) library is
2092 #$d_shm HAS_SHM /**/
2095 * This symbol, if defined, indicates that Vr4's sigaction() routine
2098 #$d_sigaction HAS_SIGACTION /**/
2101 * This variable indicates to the C program that the sigsetjmp()
2102 * routine is available to save the calling process's registers
2103 * and stack environment for later use by siglongjmp(), and
2104 * to optionally save the process's signal mask. See
2105 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2108 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2111 * This macro is used in the same way as sigsetjmp(), but will invoke
2112 * traditional setjmp() if sigsetjmp isn't available.
2113 * See HAS_SIGSETJMP.
2116 * This macro is used in the same way as siglongjmp(), but will invoke
2117 * traditional longjmp() if siglongjmp isn't available.
2118 * See HAS_SIGSETJMP.
2120 #$d_sigsetjmp HAS_SIGSETJMP /**/
2121 #ifdef HAS_SIGSETJMP
2122 #define Sigjmp_buf sigjmp_buf
2123 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2124 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2126 #define Sigjmp_buf jmp_buf
2127 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2128 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2132 * This symbol, if defined, indicates that the BSD socket interface is
2136 * This symbol, if defined, indicates that the BSD socketpair() call is
2140 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2141 * Checking just with #ifdef might not be enough because this symbol
2142 * has been known to be an enum.
2144 /* HAS_MSG_DONTROUTE:
2145 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2146 * Checking just with #ifdef might not be enough because this symbol
2147 * has been known to be an enum.
2150 * This symbol, if defined, indicates that the MSG_OOB is supported.
2151 * Checking just with #ifdef might not be enough because this symbol
2152 * has been known to be an enum.
2155 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2156 * Checking just with #ifdef might not be enough because this symbol
2157 * has been known to be an enum.
2160 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2161 * Checking just with #ifdef might not be enough because this symbol
2162 * has been known to be an enum.
2165 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2166 * Checking just with #ifdef might not be enough because this symbol
2167 * has been known to be an enum.
2169 #$d_socket HAS_SOCKET /**/
2170 #$d_sockpair HAS_SOCKETPAIR /**/
2171 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2172 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2173 #$d_msg_oob HAS_MSG_OOB /**/
2174 #$d_msg_peek HAS_MSG_PEEK /**/
2175 #$d_msg_proxy HAS_MSG_PROXY /**/
2176 #$d_scm_rights HAS_SCM_RIGHTS /**/
2179 * This symbol, if defined, indicates that the socks5_init routine is
2180 * available to initialize SOCKS 5.
2182 #$d_socks5_init HAS_SOCKS5_INIT /**/
2185 * This symbol, if defined, indicates that the sqrtl routine is
2186 * available to do long double square roots.
2188 #$d_sqrtl HAS_SQRTL /**/
2191 * This symbol is defined if this system has a stat structure declaring
2192 * st_blksize and st_blocks.
2194 #ifndef USE_STAT_BLOCKS
2195 #$d_statblks USE_STAT_BLOCKS /**/
2198 /* HAS_STRUCT_STATFS_F_FLAGS:
2199 * This symbol, if defined, indicates that the struct statfs
2200 * does have the f_flags member containing the mount flags of
2201 * the filesystem containing the file.
2202 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2203 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2204 * have statfs() and struct statfs, they have ustat() and getmnt()
2205 * with struct ustat and struct fs_data.
2207 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
2209 /* HAS_STRUCT_STATFS:
2210 * This symbol, if defined, indicates that the struct statfs
2211 * to do statfs() is supported.
2213 #$d_statfs_s HAS_STRUCT_STATFS /**/
2216 * This symbol, if defined, indicates that the fstatvfs routine is
2217 * available to stat filesystems by file descriptors.
2219 #$d_fstatvfs HAS_FSTATVFS /**/
2222 * This symbol is defined if the _ptr and _cnt fields (or similar)
2223 * of the stdio FILE structure can be used to access the stdio buffer
2224 * for a file handle. If this is defined, then the FILE_ptr(fp)
2225 * and FILE_cnt(fp) macros will also be defined and should be used
2226 * to access these fields.
2229 * This macro is used to access the _ptr field (or equivalent) of the
2230 * FILE structure pointed to by its argument. This macro will always be
2231 * defined if USE_STDIO_PTR is defined.
2233 /* STDIO_PTR_LVALUE:
2234 * This symbol is defined if the FILE_ptr macro can be used as an
2238 * This macro is used to access the _cnt field (or equivalent) of the
2239 * FILE structure pointed to by its argument. This macro will always be
2240 * defined if USE_STDIO_PTR is defined.
2242 /* STDIO_CNT_LVALUE:
2243 * This symbol is defined if the FILE_cnt macro can be used as an
2246 /* STDIO_PTR_LVAL_SETS_CNT:
2247 * This symbol is defined if using the FILE_ptr macro as an lvalue
2248 * to increase the pointer by n has the side effect of decreasing the
2249 * value of File_cnt(fp) by n.
2251 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2252 * This symbol is defined if using the FILE_ptr macro as an lvalue
2253 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2255 #$d_stdstdio USE_STDIO_PTR /**/
2256 #ifdef USE_STDIO_PTR
2257 #define FILE_ptr(fp) $stdio_ptr
2258 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
2259 #define FILE_cnt(fp) $stdio_cnt
2260 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
2261 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
2262 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
2266 * This symbol is defined if the _base field (or similar) of the
2267 * stdio FILE structure can be used to access the stdio buffer for
2268 * a file handle. If this is defined, then the FILE_base(fp) macro
2269 * will also be defined and should be used to access this field.
2270 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2271 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2272 * will never be defined unless USE_STDIO_PTR is.
2275 * This macro is used to access the _base field (or equivalent) of the
2276 * FILE structure pointed to by its argument. This macro will always be
2277 * defined if USE_STDIO_BASE is defined.
2280 * This macro is used to determine the number of bytes in the I/O
2281 * buffer pointed to by _base field (or equivalent) of the FILE
2282 * structure pointed to its argument. This macro will always be defined
2283 * if USE_STDIO_BASE is defined.
2285 #$d_stdiobase USE_STDIO_BASE /**/
2286 #ifdef USE_STDIO_BASE
2287 #define FILE_base(fp) $stdio_base
2288 #define FILE_bufsiz(fp) $stdio_bufsiz
2292 * This symbol, if defined, indicates that the strerror routine is
2293 * available to translate error numbers to strings. See the writeup
2294 * of Strerror() in this file before you try to define your own.
2297 * This symbol, if defined, indicates that the sys_errlist array is
2298 * available to translate error numbers to strings. The extern int
2299 * sys_nerr gives the size of that table.
2302 * This preprocessor symbol is defined as a macro if strerror() is
2303 * not available to translate error numbers to strings but sys_errlist[]
2306 #$d_strerror HAS_STRERROR /**/
2307 #$d_syserrlst HAS_SYS_ERRLIST /**/
2308 #define Strerror(e) $d_strerrm
2311 * This symbol, if defined, indicates that the strtold routine is
2312 * available to convert strings to long doubles.
2314 #$d_strtold HAS_STRTOLD /**/
2317 * This symbol, if defined, indicates that the strtoll routine is
2318 * available to convert strings to long longs.
2320 #$d_strtoll HAS_STRTOLL /**/
2323 * This symbol, if defined, indicates that the strtoq routine is
2324 * available to convert strings to long longs (quads).
2326 #$d_strtoq HAS_STRTOQ /**/
2329 * This symbol, if defined, indicates that the strtoul routine is
2330 * available to provide conversion of strings to unsigned long.
2332 #$d_strtoul HAS_STRTOUL /**/
2335 * This symbol, if defined, indicates that the strtoull routine is
2336 * available to convert strings to unsigned long longs.
2338 #$d_strtoull HAS_STRTOULL /**/
2341 * This symbol, if defined, indicates that the strtouq routine is
2342 * available to convert strings to unsigned long longs (quads).
2344 #$d_strtouq HAS_STRTOUQ /**/
2346 /* HAS_TELLDIR_PROTO:
2347 * This symbol, if defined, indicates that the system provides
2348 * a prototype for the telldir() function. Otherwise, it is up
2349 * to the program to supply one. A good guess is
2350 * extern long telldir _((DIR*));
2352 #$d_telldirproto HAS_TELLDIR_PROTO /**/
2355 * This symbol holds the type returned by time(). It can be long,
2356 * or time_t on BSD sites (in which case <sys/types.h> should be
2359 #define Time_t $timetype /* Time type */
2362 * This symbol, if defined, indicates that the times() routine exists.
2363 * Note that this became obsolete on some systems (SUNOS), which now
2364 * use getrusage(). It may be necessary to include <sys/times.h>.
2366 #$d_times HAS_TIMES /**/
2369 * This symbol, if defined, indicates that the ualarm routine is
2370 * available to do alarms with microsecond granularity.
2372 #$d_ualarm HAS_UALARM /**/
2375 * This symbol, if defined, indicates that the union semun is
2376 * defined by including <sys/sem.h>. If not, the user code
2377 * probably needs to define it as:
2380 * struct semid_ds *buf;
2381 * unsigned short *array;
2384 /* USE_SEMCTL_SEMUN:
2385 * This symbol, if defined, indicates that union semun is
2386 * used for semctl IPC_STAT.
2388 /* USE_SEMCTL_SEMID_DS:
2389 * This symbol, if defined, indicates that struct semid_ds * is
2390 * used for semctl IPC_STAT.
2392 #$d_union_semun HAS_UNION_SEMUN /**/
2393 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2394 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2397 * This symbol, if defined, indicates that the unordered routine is
2398 * available to check whether two doubles are unordered
2399 * (effectively: whether either of them is NaN)
2401 #$d_unordered HAS_UNORDERED /**/
2404 * This symbol, if defined, indicates that the ustat system call is
2405 * available to query file system statistics by dev_t.
2407 #$d_ustat HAS_USTAT /**/
2410 * This symbol, if defined, indicates that vfork() exists.
2412 #$d_vfork HAS_VFORK /**/
2415 * This symbol's value is either "void" or "int", corresponding to the
2416 * appropriate return type of a signal handler. Thus, you can declare
2417 * a signal handler using "Signal_t (*handler)()", and define the
2418 * handler using "Signal_t handler(sig)".
2420 #define Signal_t $signal_t /* Signal handler's return type */
2423 * This symbol, if defined, indicates that the vprintf routine is available
2424 * to printf with a pointer to an argument list. If unavailable, you
2425 * may need to write your own, probably in terms of _doprnt().
2427 /* USE_CHAR_VSPRINTF:
2428 * This symbol is defined if this system has vsprintf() returning type
2429 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2430 * is up to the package author to declare vsprintf correctly based on the
2433 #$d_vprintf HAS_VPRINTF /**/
2434 #$d_charvspr USE_CHAR_VSPRINTF /**/
2437 * This symbol, if defined, indicates that the writev routine is
2438 * available to do scatter writes.
2440 #$d_writev HAS_WRITEV /**/
2442 /* USE_DYNAMIC_LOADING:
2443 * This symbol, if defined, indicates that dynamic loading of
2444 * some sort is available.
2446 #$usedl USE_DYNAMIC_LOADING /**/
2449 * This symbol contains the size of a double, so that the C preprocessor
2450 * can make decisions based on it.
2452 #define DOUBLESIZE $doublesize /**/
2455 * This symbol, if defined, indicates that this system uses
2458 #$ebcdic EBCDIC /**/
2461 * This symbol, if defined, tells that fflush(NULL) does flush
2462 * all pending stdio output.
2465 * This symbol, if defined, tells that to flush
2466 * all pending stdio output one must loop through all
2467 * the stdio file handles stored in an array and fflush them.
2468 * Note that if fflushNULL is defined, fflushall will not
2469 * even be probed for and will be left undefined.
2471 #$fflushNULL FFLUSH_NULL /**/
2472 #$fflushall FFLUSH_ALL /**/
2475 * This symbol holds the type used to declare file positions in libc.
2476 * It can be fpos_t, long, uint, etc... It may be necessary to include
2477 * <sys/types.h> to get any typedef'ed information.
2479 #define Fpos_t $fpostype /* File position type */
2482 * This symbol defines the format string used for printing a Gid_t.
2484 #define Gid_t_f $gidformat /**/
2487 * This symbol holds the signedess of a Gid_t.
2488 * 1 for unsigned, -1 for signed.
2490 #define Gid_t_sign $gidsign /* GID sign */
2493 * This symbol holds the size of a Gid_t in bytes.
2495 #define Gid_t_size $gidsize /* GID size */
2498 * This symbol holds the return type of getgid() and the type of
2499 * argument to setrgid() and related functions. Typically,
2500 * it is the type of group ids in the kernel. It can be int, ushort,
2501 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2502 * any typedef'ed information.
2504 #define Gid_t $gidtype /* Type for getgid(), etc... */
2507 * This symbol holds the type used for the second argument to
2508 * getgroups() and setgroups(). Usually, this is the same as
2509 * gidtype (gid_t) , but sometimes it isn't.
2510 * It can be int, ushort, gid_t, etc...
2511 * It may be necessary to include <sys/types.h> to get any
2512 * typedef'ed information. This is only required if you have
2513 * getgroups() or setgroups()..
2515 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2516 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
2520 * This symbol contains the type of the prefix structure element
2521 * in the <db.h> header file. In older versions of DB, it was
2522 * int, while in newer ones it is u_int32_t.
2525 * This symbol contains the type of the prefix structure element
2526 * in the <db.h> header file. In older versions of DB, it was
2527 * int, while in newer ones it is size_t.
2529 /* DB_VERSION_MAJOR_CFG:
2530 * This symbol, if defined, defines the major version number of
2531 * Berkeley DB found in the <db.h> header when Perl was configured.
2533 /* DB_VERSION_MINOR_CFG:
2534 * This symbol, if defined, defines the minor version number of
2535 * Berkeley DB found in the <db.h> header when Perl was configured.
2536 * For DB version 1 this is always 0.
2538 /* DB_VERSION_PATCH_CFG:
2539 * This symbol, if defined, defines the patch version number of
2540 * Berkeley DB found in the <db.h> header when Perl was configured.
2541 * For DB version 1 this is always 0.
2543 #define DB_Hash_t $db_hashtype /**/
2544 #define DB_Prefix_t $db_prefixtype /**/
2545 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
2546 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
2547 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
2550 * This symbol, if defined, indicates that <fp_class.h> exists and
2551 * should be included.
2553 #$i_fp_class I_FP_CLASS /**/
2556 * This symbol, if defined, indicates to the C program that it should
2560 * This symbol, if defined, indicates to the C program that struct group
2561 * in <grp.h> contains gr_passwd.
2564 #$d_grpasswd GRPASSWD /**/
2567 * This symbol, if defined, indicates that <iconv.h> exists and
2568 * should be included.
2570 #$i_iconv I_ICONV /**/
2573 * This symbol, if defined, indicates that <ieeefp.h> exists and
2574 * should be included.
2576 #$i_ieeefp I_IEEEFP /**/
2579 * This symbol, if defined, indicates to the C program that it should
2580 * include <inttypes.h>.
2582 #$i_inttypes I_INTTYPES /**/
2585 * This symbol, if defined, indicates that <libutil.h> exists and
2586 * should be included.
2588 #$i_libutil I_LIBUTIL /**/
2591 * This symbol, if defined, indicates to the C program that it should
2592 * include <mach/cthreads.h>.
2594 #$i_machcthr I_MACH_CTHREADS /**/
2597 * This symbol, if defined, indicates that <mntent.h> exists and
2598 * should be included.
2600 #$i_mntent I_MNTENT /**/
2603 * This symbol, if defined, indicates that <netdb.h> exists and
2604 * should be included.
2606 #$i_netdb I_NETDB /**/
2609 * This symbol, if defined, indicates to the C program that it should
2610 * include <netinet/tcp.h>.
2612 #$i_netinettcp I_NETINET_TCP /**/
2615 * This symbol, if defined, indicates that <poll.h> exists and
2616 * should be included.
2618 #$i_poll I_POLL /**/
2621 * This symbol, if defined, indicates that <prot.h> exists and
2622 * should be included.
2624 #$i_prot I_PROT /**/
2627 * This symbol, if defined, indicates to the C program that it should
2628 * include <pthread.h>.
2630 #$i_pthread I_PTHREAD /**/
2633 * This symbol, if defined, indicates to the C program that it should
2637 * This symbol, if defined, indicates to the C program that struct passwd
2638 * contains pw_quota.
2641 * This symbol, if defined, indicates to the C program that struct passwd
2645 * This symbol, if defined, indicates to the C program that struct passwd
2646 * contains pw_change.
2649 * This symbol, if defined, indicates to the C program that struct passwd
2650 * contains pw_class.
2653 * This symbol, if defined, indicates to the C program that struct passwd
2654 * contains pw_expire.
2657 * This symbol, if defined, indicates to the C program that struct passwd
2658 * contains pw_comment.
2661 * This symbol, if defined, indicates to the C program that struct passwd
2662 * contains pw_gecos.
2665 * This symbol, if defined, indicates to the C program that struct passwd
2666 * contains pw_passwd.
2669 #$d_pwquota PWQUOTA /**/
2670 #$d_pwage PWAGE /**/
2671 #$d_pwchange PWCHANGE /**/
2672 #$d_pwclass PWCLASS /**/
2673 #$d_pwexpire PWEXPIRE /**/
2674 #$d_pwcomment PWCOMMENT /**/
2675 #$d_pwgecos PWGECOS /**/
2676 #$d_pwpasswd PWPASSWD /**/
2679 * This symbol, if defined, indicates that <shadow.h> exists and
2680 * should be included.
2682 #$i_shadow I_SHADOW /**/
2685 * This symbol, if defined, indicates that <socks.h> exists and
2686 * should be included.
2688 #$i_socks I_SOCKS /**/
2691 * This symbol, if defined, indicates that <sunmath.h> exists and
2692 * should be included.
2694 #$i_sunmath I_SUNMATH /**/
2697 * This symbol, if defined, indicates that <syslog.h> exists and
2698 * should be included.
2700 #$i_syslog I_SYSLOG /**/
2703 * This symbol, if defined, indicates that <sys/mode.h> exists and
2704 * should be included.
2706 #$i_sysmode I_SYSMODE /**/
2709 * This symbol, if defined, indicates that <sys/mount.h> exists and
2710 * should be included.
2712 #$i_sysmount I_SYS_MOUNT /**/
2715 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2717 #$i_sysstatfs I_SYS_STATFS /**/
2720 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2721 * should be included.
2723 #$i_sysstatvfs I_SYS_STATVFS /**/
2726 * This symbol, if defined, indicates that <sys/uio.h> exists and
2727 * should be included.
2729 #$i_sysuio I_SYSUIO /**/
2732 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2733 * should be included.
2735 #$i_sysutsname I_SYSUTSNAME /**/
2738 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2739 * should be included.
2741 #$i_sysvfs I_SYS_VFS /**/
2744 * This symbol, if defined, indicates to the C program that it should
2748 * This symbol, if defined, indicates to the C program that it should
2749 * include <sys/time.h>.
2751 /* I_SYS_TIME_KERNEL:
2752 * This symbol, if defined, indicates to the C program that it should
2753 * include <sys/time.h> with KERNEL defined.
2755 #$i_time I_TIME /**/
2756 #$i_systime I_SYS_TIME /**/
2757 #$i_systimek I_SYS_TIME_KERNEL /**/
2760 * This symbol, if defined, indicates that <ustat.h> exists and
2761 * should be included.
2763 #$i_ustat I_USTAT /**/
2765 /* PERL_INC_VERSION_LIST:
2766 * This variable specifies the list of subdirectories in over
2767 * which perl.c:incpush() and lib/lib.pm will automatically
2768 * search when adding directories to @INC, in a format suitable
2769 * for a C initialization string. See the inc_version_list entry
2770 * in Porting/Glossary for more details.
2772 #define PERL_INC_VERSION_LIST $inc_version_list_init /**/
2774 /* INSTALL_USR_BIN_PERL:
2775 * This symbol, if defined, indicates that Perl is to be installed
2776 * also as /usr/bin/perl.
2778 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
2781 * This symbol, if defined, contains the string used by stdio to
2782 * format long doubles (format 'f') for output.
2785 * This symbol, if defined, contains the string used by stdio to
2786 * format long doubles (format 'g') for output.
2789 * This symbol, if defined, contains the string used by stdio to
2790 * format long doubles (format 'e') for output.
2793 * This symbol, if defined, contains the string used by stdio to
2794 * format long doubles (format 'f') for input.
2796 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
2797 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
2798 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
2799 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
2802 * This symbol holds the type used to declare offsets in the kernel.
2803 * It can be int, long, off_t, etc... It may be necessary to include
2804 * <sys/types.h> to get any typedef'ed information.
2807 * This symbol holds the number of bytes used by the Off_t.
2810 * This symbol holds the number of bytes used by the Off_t.
2812 #define Off_t $lseektype /* <offset> type */
2813 #define LSEEKSIZE $lseeksize /* <offset> size */
2814 #define Off_t_size $lseeksize /* <offset> size */
2817 * This variable contains the return type of free(). It is usually
2818 * void, but occasionally int.
2821 * This symbol is the type of pointer returned by malloc and realloc.
2823 #define Malloc_t $malloctype /**/
2824 #define Free_t $freetype /**/
2827 * This symbol, if defined, indicates that we're using our own malloc.
2829 #$d_mymalloc MYMALLOC /**/
2832 * This symbol holds the type used to declare file modes
2833 * for systems calls. It is usually mode_t, but may be
2834 * int or unsigned short. It may be necessary to include <sys/types.h>
2835 * to get any typedef'ed information.
2837 #define Mode_t $modetype /* file mode parameter for system calls */
2840 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2841 * non-blocking I/O for the file descriptor. Note that there is no way
2842 * back, i.e. you cannot turn it blocking again this way. If you wish to
2843 * alternatively switch between blocking and non-blocking, use the
2844 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2847 * This symbol holds the errno error code set by read() when no data was
2848 * present on the non-blocking file descriptor.
2851 * This symbol holds the return code from read() when no data is present
2852 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2853 * not defined, then you can't distinguish between no data and EOF by
2854 * issuing a read(). You'll have to find another way to tell for sure!
2857 * This symbol, if defined, indicates to the C program that a read() on
2858 * a non-blocking file descriptor will return 0 on EOF, and not the value
2859 * held in RD_NODATA (-1 usually, in that case!).
2861 #define VAL_O_NONBLOCK $o_nonblock
2862 #define VAL_EAGAIN $eagain
2863 #define RD_NODATA $rd_nodata
2864 #$d_eofnblk EOF_NONBLOCK
2867 * This symbol, if defined, indicates that the system stores
2868 * the variable argument list datatype, va_list, in a format
2869 * that cannot be copied by simple assignment, so that some
2870 * other means must be used when copying is required.
2871 * As such systems vary in their provision (or non-provision)
2872 * of copying mechanisms, handy.h defines a platform-
2873 * independent macro, Perl_va_copy(src, dst), to do the job.
2875 #$need_va_copy NEED_VA_COPY /**/
2878 * This symbol holds the type used for the 1st argument
2879 * to gethostbyaddr().
2882 * This symbol holds the type used for the 2nd argument
2883 * to gethostbyaddr().
2886 * This symbol holds the type used for the argument to
2890 * This symbol holds the type used for the 1st argument to
2893 #define Netdb_host_t $netdb_host_type /**/
2894 #define Netdb_hlen_t $netdb_hlen_type /**/
2895 #define Netdb_name_t $netdb_name_type /**/
2896 #define Netdb_net_t $netdb_net_type /**/
2898 /* PERL_OTHERLIBDIRS:
2899 * This variable contains a colon-separated set of paths for the perl
2900 * binary to search for additional library files or modules.
2901 * These directories will be tacked to the end of @INC.
2902 * Perl will automatically search below each path for version-
2903 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2906 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
2909 * This symbol defines the C type used for Perl's IV.
2912 * This symbol defines the C type used for Perl's UV.
2915 * This symbol defines the C type used for Perl's I8.
2918 * This symbol defines the C type used for Perl's U8.
2921 * This symbol defines the C type used for Perl's I16.
2924 * This symbol defines the C type used for Perl's U16.
2927 * This symbol defines the C type used for Perl's I32.
2930 * This symbol defines the C type used for Perl's U32.
2933 * This symbol defines the C type used for Perl's I64.
2936 * This symbol defines the C type used for Perl's U64.
2939 * This symbol defines the C type used for Perl's NV.
2942 * This symbol contains the sizeof(IV).
2945 * This symbol contains the sizeof(UV).
2948 * This symbol contains the sizeof(I8).
2951 * This symbol contains the sizeof(U8).
2954 * This symbol contains the sizeof(I16).
2957 * This symbol contains the sizeof(U16).
2960 * This symbol contains the sizeof(I32).
2963 * This symbol contains the sizeof(U32).
2966 * This symbol contains the sizeof(I64).
2969 * This symbol contains the sizeof(U64).
2972 * This symbol contains the sizeof(NV).
2975 * This symbol, if defined, indicates that a variable of type NVTYPE
2976 * can preserve all the bits of a variable of type UVTYPE.
2978 /* NV_PRESERVES_UV_BITS:
2979 * This symbol contains the number of bits a variable of type NVTYPE
2980 * can preserve of a variable of type UVTYPE.
2982 #define IVTYPE $ivtype /**/
2983 #define UVTYPE $uvtype /**/
2984 #define I8TYPE $i8type /**/
2985 #define U8TYPE $u8type /**/
2986 #define I16TYPE $i16type /**/
2987 #define U16TYPE $u16type /**/
2988 #define I32TYPE $i32type /**/
2989 #define U32TYPE $u32type /**/
2991 #define I64TYPE $i64type /**/
2992 #define U64TYPE $u64type /**/
2994 #define NVTYPE $nvtype /**/
2995 #define IVSIZE $ivsize /**/
2996 #define UVSIZE $uvsize /**/
2997 #define I8SIZE $i8size /**/
2998 #define U8SIZE $u8size /**/
2999 #define I16SIZE $i16size /**/
3000 #define U16SIZE $u16size /**/
3001 #define I32SIZE $i32size /**/
3002 #define U32SIZE $u32size /**/
3004 #define I64SIZE $i64size /**/
3005 #define U64SIZE $u64size /**/
3007 #define NVSIZE $nvsize /**/
3008 #$d_nv_preserves_uv NV_PRESERVES_UV
3009 #define NV_PRESERVES_UV_BITS $d_nv_preserves_uv_bits
3012 * This symbol defines the format string used for printing a Perl IV
3013 * as a signed decimal integer.
3016 * This symbol defines the format string used for printing a Perl UV
3017 * as an unsigned decimal integer.
3020 * This symbol defines the format string used for printing a Perl UV
3021 * as an unsigned octal integer.
3024 * This symbol defines the format string used for printing a Perl UV
3025 * as an unsigned hexadecimal integer in lowercase abcdef.
3028 * This symbol defines the format string used for printing a Perl UV
3029 * as an unsigned hexadecimal integer in uppercase ABCDEF.
3032 * This symbol defines the format string used for printing a Perl NV
3033 * using %e-ish floating point format.
3036 * This symbol defines the format string used for printing a Perl NV
3037 * using %f-ish floating point format.
3040 * This symbol defines the format string used for printing a Perl NV
3041 * using %g-ish floating point format.
3043 #define IVdf $ivdformat /**/
3044 #define UVuf $uvuformat /**/
3045 #define UVof $uvoformat /**/
3046 #define UVxf $uvxformat /**/
3047 #define UVXf $uvXUformat /**/
3048 #define NVef $nveformat /**/
3049 #define NVff $nvfformat /**/
3050 #define NVgf $nvgformat /**/
3053 * This symbol holds the type used to declare process ids in the kernel.
3054 * It can be int, uint, pid_t, etc... It may be necessary to include
3055 * <sys/types.h> to get any typedef'ed information.
3057 #define Pid_t $pidtype /* PID type */
3060 * This symbol contains the name of the private library for this package.
3061 * The library is private in the sense that it needn't be in anyone's
3062 * execution path, but it should be accessible by the world. The program
3063 * should be prepared to do ~ expansion.
3066 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3067 * in programs that are not prepared to deal with ~ expansion at run-time.
3069 #define PRIVLIB "$privlib" /**/
3070 #define PRIVLIB_EXP "$privlibexp" /**/
3073 * This symbol contains the size of a pointer, so that the C preprocessor
3074 * can make decisions based on it. It will be sizeof(void *) if
3075 * the compiler supports (void *); otherwise it will be
3078 #define PTRSIZE $ptrsize /**/
3081 * This macro is to be used to generate uniformly distributed
3082 * random numbers over the range [0., 1.[. You may have to supply
3083 * an 'extern double drand48();' in your program since SunOS 4.1.3
3084 * doesn't provide you with anything relevant in its headers.
3085 * See HAS_DRAND48_PROTO.
3088 * This symbol defines the type of the argument of the
3089 * random seed function.
3092 * This symbol defines the macro to be used in seeding the
3093 * random number generator (see Drand01).
3096 * This symbol indicates how many bits are produced by the
3097 * function used to generate normalized random numbers.
3098 * Values include 15, 16, 31, and 48.
3100 #define Drand01() $drand01 /**/
3101 #define Rand_seed_t $randseedtype /**/
3102 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3103 #define RANDBITS $randbits /**/
3106 * This symbol holds the minimum number of bits operated by select.
3107 * That is, if you do select(n, ...), how many bits at least will be
3108 * cleared in the masks if some activity is detected. Usually this
3109 * is either n or 32*ceil(n/32), especially many little-endians do
3110 * the latter. This is only useful if you have select(), naturally.
3112 #define SELECT_MIN_BITS $selectminbits /**/
3115 * This symbol holds the type used for the 2nd, 3rd, and 4th
3116 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3117 * is defined, and 'int *' otherwise. This is only useful if you
3118 * have select(), of course.
3120 #define Select_fd_set_t $selecttype /**/
3123 * This symbol contains a list of signal names in order of
3124 * signal number. This is intended
3125 * to be used as a static array initialization, like this:
3126 * char *sig_name[] = { SIG_NAME };
3127 * The signals in the list are separated with commas, and each signal
3128 * is surrounded by double quotes. There is no leading SIG in the signal
3129 * name, i.e. SIGQUIT is known as "QUIT".
3130 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3131 * etc., where nn is the actual signal number (e.g. NUM37).
3132 * The signal number for sig_name[i] is stored in sig_num[i].
3133 * The last element is 0 to terminate the list with a NULL. This
3134 * corresponds to the 0 at the end of the sig_num list.
3137 * This symbol contains a list of signal numbers, in the same order as the
3138 * SIG_NAME list. It is suitable for static array initialization, as in:
3139 * int sig_num[] = { SIG_NUM };
3140 * The signals in the list are separated with commas, and the indices
3141 * within that list and the SIG_NAME list match, so it's easy to compute
3142 * the signal name from a number or vice versa at the price of a small
3143 * dynamic linear lookup.
3144 * Duplicates are allowed, but are moved to the end of the list.
3145 * The signal number corresponding to sig_name[i] is sig_number[i].
3146 * if (i < NSIG) then sig_number[i] == i.
3147 * The last element is 0, corresponding to the 0 at the end of
3148 * the sig_name list.
3151 * This variable contains the number of elements of the sig_name
3152 * and sig_num arrays, excluding the final NULL entry.
3154 #define SIG_NAME $sig_name_init /**/
3155 #define SIG_NUM $sig_num_init /**/
3156 #define SIG_SIZE $sig_size /**/
3159 * This symbol contains the name of the private library for this package.
3160 * The library is private in the sense that it needn't be in anyone's
3161 * execution path, but it should be accessible by the world. The program
3162 * should be prepared to do ~ expansion.
3163 * The standard distribution will put nothing in this directory.
3164 * After perl has been installed, users may install their own local
3165 * architecture-dependent modules in this directory with
3166 * MakeMaker Makefile.PL
3167 * or equivalent. See INSTALL for details.
3170 * This symbol contains the ~name expanded version of SITEARCH, to be used
3171 * in programs that are not prepared to deal with ~ expansion at run-time.
3173 #define SITEARCH "$sitearch" /**/
3174 #define SITEARCH_EXP "$sitearchexp" /**/
3177 * This symbol contains the name of the private library for this package.
3178 * The library is private in the sense that it needn't be in anyone's
3179 * execution path, but it should be accessible by the world. The program
3180 * should be prepared to do ~ expansion.
3181 * The standard distribution will put nothing in this directory.
3182 * After perl has been installed, users may install their own local
3183 * architecture-independent modules in this directory with
3184 * MakeMaker Makefile.PL
3185 * or equivalent. See INSTALL for details.
3188 * This symbol contains the ~name expanded version of SITELIB, to be used
3189 * in programs that are not prepared to deal with ~ expansion at run-time.
3192 * This define is SITELIB_EXP with any trailing version-specific component
3193 * removed. The elements in inc_version_list (inc_version_list.U) can
3194 * be tacked onto this variable to generate a list of directories to search.
3196 #define SITELIB "$sitelib" /**/
3197 #define SITELIB_EXP "$sitelibexp" /**/
3198 #define SITELIB_STEM "$sitelib_stem" /**/
3201 * This symbol holds the size of a Size_t in bytes.
3203 #define Size_t_size $sizesize /* */
3206 * This symbol holds the type used to declare length parameters
3207 * for string functions. It is usually size_t, but may be
3208 * unsigned long, int, etc. It may be necessary to include
3209 * <sys/types.h> to get any typedef'ed information.
3211 #define Size_t $sizetype /* length paramater for string functions */
3214 * This symbol holds the type used for the size argument of
3215 * various socket calls (just the base type, not the pointer-to).
3217 #define Sock_size_t $socksizetype /**/
3220 * This symbol holds the type used by functions that return
3221 * a count of bytes or an error condition. It must be a signed type.
3222 * It is usually ssize_t, but may be long or int, etc.
3223 * It may be necessary to include <sys/types.h> or <unistd.h>
3224 * to get any typedef'ed information.
3225 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3227 #define SSize_t $ssizetype /* signed count of bytes */
3230 * This variable contains the string to put in front of a perl
3231 * script to make sure (one hopes) that it runs with perl and not
3234 #define STARTPERL "$startperl" /**/
3237 * This symbol is defined to be the type of char used in stdio.h.
3238 * It has the values "unsigned char" or "char".
3240 #define STDCHAR $stdchar /**/
3242 /* HAS_STDIO_STREAM_ARRAY:
3243 * This symbol, if defined, tells that there is an array
3244 * holding the stdio streams.
3246 /* STDIO_STREAM_ARRAY:
3247 * This symbol tells the name of the array holding the stdio streams.
3248 * Usual values include _iob, __iob, and __sF.
3250 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
3251 #define STDIO_STREAM_ARRAY $stdio_stream_array
3254 * This symbol defines the format string used for printing a Uid_t.
3256 #define Uid_t_f $uidformat /**/
3259 * This symbol holds the signedess of a Uid_t.
3260 * 1 for unsigned, -1 for signed.
3262 #define Uid_t_sign $uidsign /* UID sign */
3265 * This symbol holds the size of a Uid_t in bytes.
3267 #define Uid_t_size $uidsize /* UID size */
3270 * This symbol holds the type used to declare user ids in the kernel.
3271 * It can be int, ushort, uid_t, etc... It may be necessary to include
3272 * <sys/types.h> to get any typedef'ed information.
3274 #define Uid_t $uidtype /* UID type */
3277 * This symbol, if defined, indicates that 64-bit integers should
3278 * be used when available. If not defined, the native integers
3279 * will be employed (be they 32 or 64 bits). The minimal possible
3280 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3281 * This may mean using for example "long longs", while your memory
3282 * may still be limited to 2 gigabytes.
3285 * This symbol, if defined, indicates that 64-bit integers should
3286 * be used when available. If not defined, the native integers
3287 * will be used (be they 32 or 64 bits). The maximal possible
3288 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3289 * be able to use more than 2 gigabytes of memory. This mode is
3290 * even more binary incompatible than USE_64_BIT_INT. You may not
3291 * be able to run the resulting executable in a 32-bit CPU at all or
3292 * you may need at least to reboot your OS to 64-bit mode.
3294 #ifndef USE_64_BIT_INT
3295 #$use64bitint USE_64_BIT_INT /**/
3298 #ifndef USE_64_BIT_ALL
3299 #$use64bitall USE_64_BIT_ALL /**/
3303 * This symbol, if defined, indicates that large file support
3304 * should be used when available.
3306 #ifndef USE_LARGE_FILES
3307 #$uselargefiles USE_LARGE_FILES /**/
3311 * This symbol, if defined, indicates that long doubles should
3312 * be used when available.
3314 #ifndef USE_LONG_DOUBLE
3315 #$uselongdouble USE_LONG_DOUBLE /**/
3319 * This symbol, if defined, indicates that 64-bit interfaces and
3320 * long doubles should be used when available.
3322 #ifndef USE_MORE_BITS
3323 #$usemorebits USE_MORE_BITS /**/
3327 * This symbol, if defined, indicates that Perl should
3328 * be built to use multiplicity.
3330 #ifndef MULTIPLICITY
3331 #$usemultiplicity MULTIPLICITY /**/
3335 * This symbol, if defined, indicates that the PerlIO abstraction should
3336 * be used throughout. If not defined, stdio should be
3337 * used in a fully backward compatible manner.
3340 #$useperlio USE_PERLIO /**/
3344 * This symbol, if defined, indicates that Perl should
3345 * be built to use socks.
3348 #$usesocks USE_SOCKS /**/
3352 * This symbol, if defined, indicates that Perl should be built to
3353 * use the interpreter-based threading implementation.
3356 * This symbol, if defined, indicates that Perl should be built to
3357 * use the 5.005-based threading implementation.
3359 /* OLD_PTHREADS_API:
3360 * This symbol, if defined, indicates that Perl should
3361 * be built to use the old draft POSIX threads API.
3363 /* USE_REENTRANT_API:
3364 * This symbol, if defined, indicates that Perl should
3365 * try to use the various _r versions of library functions.
3366 * This is extremely experimental.
3368 #$use5005threads USE_5005THREADS /**/
3369 #$useithreads USE_ITHREADS /**/
3370 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3371 #define USE_5005THREADS /* until src is revised*/
3372 #define USE_THREADS /* backward compatability */
3374 #$d_oldpthreads OLD_PTHREADS_API /**/
3375 #$usereentrant USE_REENTRANT_API /**/
3378 * If defined, this symbol contains the name of a private library.
3379 * The library is private in the sense that it needn't be in anyone's
3380 * execution path, but it should be accessible by the world.
3381 * It may have a ~ on the front.
3382 * The standard distribution will put nothing in this directory.
3383 * Vendors who distribute perl may wish to place their own
3384 * architecture-dependent modules and extensions in this directory with
3385 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3386 * or equivalent. See INSTALL for details.
3388 /* PERL_VENDORARCH_EXP:
3389 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3390 * in programs that are not prepared to deal with ~ expansion at run-time.
3392 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
3393 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
3395 /* PERL_VENDORLIB_EXP:
3396 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3397 * in programs that are not prepared to deal with ~ expansion at run-time.
3399 /* PERL_VENDORLIB_STEM:
3400 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3401 * removed. The elements in inc_version_list (inc_version_list.U) can
3402 * be tacked onto this variable to generate a list of directories to search.
3404 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
3405 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
3408 * This symbol indicates how much support of the void type is given by this
3409 * compiler. What various bits mean:
3411 * 1 = supports declaration of void
3412 * 2 = supports arrays of pointers to functions returning void
3413 * 4 = supports comparisons between pointers to void functions and
3414 * addresses of void functions
3415 * 8 = suports declaration of generic void pointers
3417 * The package designer should define VOIDUSED to indicate the requirements
3418 * of the package. This can be done either by #defining VOIDUSED before
3419 * including config.h, or by defining defvoidused in Myinit.U. If the
3420 * latter approach is taken, only those flags will be tested. If the
3421 * level of void support necessary is not present, defines void to int.
3424 #define VOIDUSED $defvoidused
3426 #define VOIDFLAGS $voidflags
3427 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3428 #define void int /* is void to be avoided? */
3429 #define M_VOID /* Xenix strikes again */
3432 /* PERL_XS_APIVERSION:
3433 * This variable contains the version of the oldest perl binary
3434 * compatible with the present perl. perl.c:incpush() and
3435 * lib/lib.pm will automatically search in $sitearch for older
3436 * directories across major versions back to xs_apiversion.
3437 * This is only useful if you have a perl library directory tree
3438 * structured like the default one.
3439 * See INSTALL for how this works.
3440 * The versioned site_perl directory was introduced in 5.005,
3441 * so that is the lowest possible value.
3442 * Since this can depend on compile time options (such as
3443 * bincompat) it is set by Configure. Other non-default sources
3444 * of potential incompatibility, such as multiplicity, threads,
3445 * debugging, 64bits, sfio, etc., are not checked for currently,
3446 * though in principle we could go snooping around in old
3449 /* PERL_PM_APIVERSION:
3450 * This variable contains the version of the oldest perl
3451 * compatible with the present perl. (That is, pure perl modules
3452 * written for pm_apiversion will still work for the current
3453 * version). perl.c:incpush() and lib/lib.pm will automatically
3454 * search in $sitelib for older directories across major versions
3455 * back to pm_apiversion. This is only useful if you have a perl
3456 * library directory tree structured like the default one. The
3457 * versioned site_perl library was introduced in 5.005, so that's
3458 * the default setting for this variable. It's hard to imagine
3459 * it changing before Perl6. It is included here for symmetry
3460 * with xs_apiveprsion -- the searching algorithms will
3461 * (presumably) be similar.
3462 * See the INSTALL file for how this works.
3464 #define PERL_XS_APIVERSION "$xs_apiversion"
3465 #define PERL_PM_APIVERSION "$pm_apiversion"
3467 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
3468 * This symbol, if defined, indicates that the bug that prevents
3469 * setuid scripts from being secure is not present in this kernel.
3472 * This symbol, if defined, indicates that the C program should
3473 * check the script that it is executing for setuid/setgid bits, and
3474 * attempt to emulate setuid/setgid on systems that have disabled
3475 * setuid #! scripts because the kernel can't do it securely.
3476 * It is up to the package designer to make sure that this emulation
3477 * is done securely. Among other things, it should do an fstat on
3478 * the script it just opened to make sure it really is a setuid/setgid
3479 * script, it should make sure the arguments passed correspond exactly
3480 * to the argument on the #! line, and it should not trust any
3481 * subprocesses to which it must pass the filename rather than the
3482 * file descriptor of the script to be executed.
3484 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
3485 #$d_dosuid DOSUID /**/
3488 * This symbol, if defined, indicates that <stdarg.h> exists and should
3492 * This symbol, if defined, indicates to the C program that it should
3493 * include <varargs.h>.
3495 #$i_stdarg I_STDARG /**/
3496 #$i_varargs I_VARARGS /**/
3498 /* USE_CROSS_COMPILE:
3499 * This symbol, if defined, indicates that Perl is being cross-compiled.
3502 * This symbol, if defined, indicates the target architecture
3503 * Perl has been cross-compiled to. Undefined if not a cross-compile.
3505 #ifndef USE_CROSS_COMPILE
3506 #$usecrosscompile USE_CROSS_COMPILE /**/
3507 #define PERL_TARGETARCH "$targetarch" /**/
3510 /* HAS_DBMINIT_PROTO:
3511 * This symbol, if defined, indicates that the system provides
3512 * a prototype for the dbminit() function. Otherwise, it is up
3513 * to the program to supply one. A good guess is
3514 * extern int dbminit(char *);
3516 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
3519 * This symbol, if defined, indicates that the system provides
3520 * a prototype for the flock() function. Otherwise, it is up
3521 * to the program to supply one. A good guess is
3522 * extern int flock(int, int);
3524 #$d_flockproto HAS_FLOCK_PROTO /**/
3527 * This symbol, if defined, indicates that the nl_langinfo routine is
3528 * available to return local data. You will also need <langinfo.h>
3529 * and therefore I_LANGINFO.
3531 #$d_nl_langinfo HAS_NL_LANGINFO /**/
3534 * This symbol, if defined, indicates that the sigprocmask
3535 * system call is available to examine or change the signal mask
3536 * of the calling process.
3538 #$d_sigprocmask HAS_SIGPROCMASK /**/
3541 * This symbol, if defined, indicates that the sockatmark routine is
3542 * available to test whether a socket is at the out-of-band mark.
3544 #$d_sockatmark HAS_SOCKATMARK /**/
3546 /* HAS_SOCKATMARK_PROTO:
3547 * This symbol, if defined, indicates that the system provides
3548 * a prototype for the sockatmark() function. Otherwise, it is up
3549 * to the program to supply one. A good guess is
3550 * extern int sockatmark _((int));
3552 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3554 /* HAS_SETRESGID_PROTO:
3555 * This symbol, if defined, indicates that the system provides
3556 * a prototype for the setresgid() function. Otherwise, it is up
3557 * to the program to supply one. Good guesses are
3558 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3560 #$d_sresgproto HAS_SETRESGID_PROTO /**/
3562 /* HAS_SETRESUID_PROTO:
3563 * This symbol, if defined, indicates that the system provides
3564 * a prototype for the setresuid() function. Otherwise, it is up
3565 * to the program to supply one. Good guesses are
3566 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3568 #$d_sresuproto HAS_SETRESUID_PROTO /**/
3571 * This symbol, if defined, indicates that the strftime routine is
3572 * available to do time formatting.
3574 #$d_strftime HAS_STRFTIME /**/
3576 /* HAS_SYSCALL_PROTO:
3577 * This symbol, if defined, indicates that the system provides
3578 * a prototype for the syscall() function. Otherwise, it is up
3579 * to the program to supply one. Good guesses are
3580 * extern int syscall(int, ...);
3581 * extern int syscall(long, ...);
3583 #$d_syscallproto HAS_SYSCALL_PROTO /**/
3585 /* U32_ALIGNMENT_REQUIRED:
3586 * This symbol, if defined, indicates that you must access
3587 * character data through U32-aligned pointers.
3589 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
3591 /* HAS_USLEEP_PROTO:
3592 * This symbol, if defined, indicates that the system provides
3593 * a prototype for the usleep() function. Otherwise, it is up
3594 * to the program to supply one. A good guess is
3595 * extern int usleep(useconds_t);
3597 #$d_usleepproto HAS_USLEEP_PROTO /**/
3600 * This symbol, if defined, indicates that <fp.h> exists and
3601 * should be included.
3606 * This symbol, if defined, indicates that <langinfo.h> exists and
3607 * should be included.
3609 #$i_langinfo I_LANGINFO /**/
3611 /* HAS_PTHREAD_ATFORK:
3612 * This symbol, if defined, indicates that the pthread_atfork routine
3613 * is available setup fork handlers.
3615 #$d_pthread_atfork HAS_PTHREAD_ATFORK /**/