2 '') CONFIG_SH=config.sh ;;
5 '') CONFIG_H=config.h ;;
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 is defined if the bcmp() routine is available to
61 * compare blocks of memory.
63 #$d_bcmp HAS_BCMP /**/
66 * This symbol is defined if the bcopy() routine is available to
67 * copy blocks of memory.
69 #$d_bcopy HAS_BCOPY /**/
72 * This symbol is defined if the bzero() routine is available to
73 * set a memory block to 0.
75 #$d_bzero HAS_BZERO /**/
78 * This symbol, if defined, indicates that the chown routine is
81 #$d_chown HAS_CHOWN /**/
84 * This symbol, if defined, indicates that the chroot routine is
87 #$d_chroot HAS_CHROOT /**/
90 * This symbol, if defined, indicates that the chsize routine is available
91 * to truncate files. You might need a -lx to get this routine.
93 #$d_chsize HAS_CHSIZE /**/
96 * This symbol, if defined, indicates that the crypt routine is available
97 * to encrypt passwords and the like.
99 #$d_crypt HAS_CRYPT /**/
102 * This symbol, if defined, indicates that the cuserid routine is
103 * available to get character login names.
105 #$d_cuserid HAS_CUSERID /**/
108 * This symbol, if defined, indicates that this system's <float.h>
109 * or <limits.h> defines the symbol DBL_DIG, which is the number
110 * of significant digits in a double precision number. If this
111 * symbol is not defined, a guess of 15 is usually pretty good.
113 #$d_dbl_dig HAS_DBL_DIG /* */
116 * This symbol, if defined, indicates that the difftime routine is
119 #$d_difftime HAS_DIFFTIME /**/
122 * This symbol, if defined, indicates that the dlerror routine is
123 * available to return a string describing the last error that
124 * occurred from a call to dlopen(), dlclose() or dlsym().
126 #$d_dlerror HAS_DLERROR /**/
128 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
129 * This symbol, if defined, indicates that the bug that prevents
130 * setuid scripts from being secure is not present in this kernel.
133 * This symbol, if defined, indicates that the C program should
134 * check the script that it is executing for setuid/setgid bits, and
135 * attempt to emulate setuid/setgid on systems that have disabled
136 * setuid #! scripts because the kernel can't do it securely.
137 * It is up to the package designer to make sure that this emulation
138 * is done securely. Among other things, it should do an fstat on
139 * the script it just opened to make sure it really is a setuid/setgid
140 * script, it should make sure the arguments passed correspond exactly
141 * to the argument on the #! line, and it should not trust any
142 * subprocesses to which it must pass the filename rather than the
143 * file descriptor of the script to be executed.
145 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
146 #$d_dosuid DOSUID /**/
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 /**/
205 * This symbol, if defined, indicates that the getgroups() routine is
206 * available to get the list of process groups. If unavailable, multiple
207 * groups are probably not supported.
209 #$d_getgrps HAS_GETGROUPS /**/
212 * This symbol, if defined, indicates that the getlogin routine is
213 * available to get the login name.
215 #$d_getlogin HAS_GETLOGIN /**/
218 * This symbol, if defined, indicates to the C program that
219 * the getpgid(pid) function is available to get the
222 #$d_getpgid HAS_GETPGID /**/
225 * This symbol, if defined, indicates that the getpgrp routine is
226 * available to get the current process group.
229 * This symbol, if defined, indicates that getpgrp needs one
230 * arguments whereas USG one needs none.
232 #$d_getpgrp HAS_GETPGRP /**/
233 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
236 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
237 * routine is available to get the current process group.
239 #$d_getpgrp2 HAS_GETPGRP2 /**/
242 * This symbol, if defined, indicates that the getppid routine is
243 * available to get the parent process ID.
245 #$d_getppid HAS_GETPPID /**/
248 * This symbol, if defined, indicates that the getpriority routine is
249 * available to get a process's priority.
251 #$d_getprior HAS_GETPRIORITY /**/
254 * This symbol, if defined, indicates to the C program that the
255 * inet_aton() function is available to parse IP address "dotted-quad"
258 #$d_inetaton HAS_INET_ATON /**/
261 * This symbol, if defined, indicates that the killpg routine is available
262 * to kill process groups. If unavailable, you probably should use kill
263 * with a negative process number.
265 #$d_killpg HAS_KILLPG /**/
268 * This symbol, if defined, indicates that the link routine is
269 * available to create hard links.
271 #$d_link HAS_LINK /**/
274 * This symbol, if defined, indicates that the localeconv routine is
275 * available for numeric and monetary formatting conventions.
277 #$d_locconv HAS_LOCALECONV /**/
280 * This symbol, if defined, indicates that the lockf routine is
281 * available to do file locking.
283 #$d_lockf HAS_LOCKF /**/
286 * This symbol, if defined, indicates that the lstat routine is
287 * available to do file stats on symbolic links.
289 #$d_lstat HAS_LSTAT /**/
292 * This symbol, if defined, indicates that the mblen routine is available
293 * to find the number of bytes in a multibye character.
295 #$d_mblen HAS_MBLEN /**/
298 * This symbol, if defined, indicates that the mbstowcs routine is
299 * available to covert a multibyte string into a wide character string.
301 #$d_mbstowcs HAS_MBSTOWCS /**/
304 * This symbol, if defined, indicates that the mbtowc routine is available
305 * to covert a multibyte to a wide character.
307 #$d_mbtowc HAS_MBTOWC /**/
310 * This symbol, if defined, indicates that the memcmp routine is available
311 * to compare blocks of memory.
313 #$d_memcmp HAS_MEMCMP /**/
316 * This symbol, if defined, indicates that the memcpy routine is available
317 * to copy blocks of memory.
319 #$d_memcpy HAS_MEMCPY /**/
322 * This symbol, if defined, indicates that the memmove routine is available
323 * to copy potentially overlapping blocks of memory. This should be used
324 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
327 #$d_memmove HAS_MEMMOVE /**/
330 * This symbol, if defined, indicates that the memset routine is available
331 * to set blocks of memory.
333 #$d_memset HAS_MEMSET /**/
336 * This symbol, if defined, indicates that the mkdir routine is available
337 * to create directories. Otherwise you should fork off a new process to
340 #$d_mkdir HAS_MKDIR /**/
343 * This symbol, if defined, indicates that the mkfifo routine is
344 * available to create FIFOs. Otherwise, mknod should be able to
345 * do it for you. However, if mkfifo is there, mknod might require
346 * super-user privileges which mkfifo will not.
348 #$d_mkfifo HAS_MKFIFO /**/
351 * This symbol, if defined, indicates that the mktime routine is
354 #$d_mktime HAS_MKTIME /**/
357 * This symbol, if defined, indicates that the msync system call is
358 * available to synchronize a mapped file.
360 #$d_msync HAS_MSYNC /**/
363 * This symbol, if defined, indicates that the munmap system call is
364 * available to unmap a region, usually mapped by mmap().
366 #$d_munmap HAS_MUNMAP /**/
369 * This symbol, if defined, indicates that the nice routine is
372 #$d_nice HAS_NICE /**/
375 * This symbol, if defined, indicates that pathconf() is available
376 * to determine file-system related limits and options associated
377 * with a given filename.
380 * This symbol, if defined, indicates that pathconf() is available
381 * to determine file-system related limits and options associated
382 * with a given open file descriptor.
384 #$d_pathconf HAS_PATHCONF /**/
385 #$d_fpathconf HAS_FPATHCONF /**/
388 * This symbol, if defined, indicates that the pause routine is
389 * available to suspend a process until a signal is received.
391 #$d_pause HAS_PAUSE /**/
394 * This symbol, if defined, indicates that the pipe routine is
395 * available to create an inter-process channel.
397 #$d_pipe HAS_PIPE /**/
400 * This symbol, if defined, indicates that the poll routine is
401 * available to poll active file descriptors. You may safely
402 * include <poll.h> when this symbol is defined.
404 #$d_poll HAS_POLL /**/
407 * This symbol, if defined, indicates that the readdir routine is
408 * available to read directory entries. You may have to include
409 * <dirent.h>. See I_DIRENT.
411 #$d_readdir HAS_READDIR /**/
414 * This symbol, if defined, indicates that the seekdir routine is
415 * available. You may have to include <dirent.h>. See I_DIRENT.
417 #$d_seekdir HAS_SEEKDIR /**/
420 * This symbol, if defined, indicates that the telldir routine is
421 * available. You may have to include <dirent.h>. See I_DIRENT.
423 #$d_telldir HAS_TELLDIR /**/
426 * This symbol, if defined, indicates that the rewinddir routine is
427 * available. You may have to include <dirent.h>. See I_DIRENT.
429 #$d_rewinddir HAS_REWINDDIR /**/
432 * This symbol, if defined, indicates that the readlink routine is
433 * available to read the value of a symbolic link.
435 #$d_readlink HAS_READLINK /**/
438 * This symbol, if defined, indicates that the rename routine is available
439 * to rename files. Otherwise you should do the unlink(), link(), unlink()
442 #$d_rename HAS_RENAME /**/
445 * This symbol, if defined, indicates that the rmdir routine is
446 * available to remove directories. Otherwise you should fork off a
447 * new process to exec /bin/rmdir.
449 #$d_rmdir HAS_RMDIR /**/
452 * This symbol, if defined, indicates that the select routine is
453 * available to select active file descriptors. If the timeout field
454 * is used, <sys/time.h> may need to be included.
456 #$d_select HAS_SELECT /**/
459 * This symbol, if defined, indicates that the setegid routine is available
460 * to change the effective gid of the current program.
462 #$d_setegid HAS_SETEGID /**/
465 * This symbol, if defined, indicates that the seteuid routine is available
466 * to change the effective uid of the current program.
468 #$d_seteuid HAS_SETEUID /**/
471 * This symbol, if defined, indicates that the setlinebuf routine is
472 * available to change stderr or stdout from block-buffered or unbuffered
473 * to a line-buffered mode.
475 #$d_setlinebuf HAS_SETLINEBUF /**/
478 * This symbol, if defined, indicates that the setlocale routine is
479 * available to handle locale-specific ctype implementations.
481 #$d_setlocale HAS_SETLOCALE /**/
484 * This symbol, if defined, indicates that the setpgid(pid, gpid)
485 * routine is available to set process group ID.
487 #$d_setpgid HAS_SETPGID /**/
490 * This symbol, if defined, indicates that the setpgrp routine is
491 * available to set the current process group.
494 * This symbol, if defined, indicates that setpgrp needs two
495 * arguments whereas USG one needs none. See also HAS_SETPGID
496 * for a POSIX interface.
498 #$d_setpgrp HAS_SETPGRP /**/
499 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
502 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
503 * routine is available to set the current process group.
505 #$d_setpgrp2 HAS_SETPGRP2 /**/
508 * This symbol, if defined, indicates that the setpriority routine is
509 * available to set a process's priority.
511 #$d_setprior HAS_SETPRIORITY /**/
514 * This symbol, if defined, indicates that the setregid routine is
515 * available to change the real and effective gid of the current
519 * This symbol, if defined, indicates that the setresgid routine is
520 * available to change the real, effective and saved gid of the current
523 #$d_setregid HAS_SETREGID /**/
524 #$d_setresgid HAS_SETRESGID /**/
527 * This symbol, if defined, indicates that the setreuid routine is
528 * available to change the real and effective uid of the current
532 * This symbol, if defined, indicates that the setresuid routine is
533 * available to change the real, effective and saved uid of the current
536 #$d_setreuid HAS_SETREUID /**/
537 #$d_setresuid HAS_SETRESUID /**/
540 * This symbol, if defined, indicates that the setrgid routine is available
541 * to change the real gid of the current program.
543 #$d_setrgid HAS_SETRGID /**/
546 * This symbol, if defined, indicates that the setruid routine is available
547 * to change the real uid of the current program.
549 #$d_setruid HAS_SETRUID /**/
552 * This symbol, if defined, indicates that the setsid routine is
553 * available to set the process group ID.
555 #$d_setsid HAS_SETSID /**/
558 * This symbol holds the return type of the shmat() system call.
559 * Usually set to 'void *' or 'char *'.
561 /* HAS_SHMAT_PROTOTYPE:
562 * This symbol, if defined, indicates that the sys/shm.h includes
563 * a prototype for shmat(). Otherwise, it is up to the program to
564 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
565 * but not always right so it should be emitted by the program only
566 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
568 #define Shmat_t $shmattype /**/
569 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
572 * This symbol is defined to indicate that the strchr()/strrchr()
573 * functions are available for string searching. If not, try the
574 * index()/rindex() pair.
577 * This symbol is defined to indicate that the index()/rindex()
578 * functions are available for string searching.
580 #$d_strchr HAS_STRCHR /**/
581 #$d_index HAS_INDEX /**/
584 * This symbol, if defined, indicates that the strcoll routine is
585 * available to compare strings using collating information.
587 #$d_strcoll HAS_STRCOLL /**/
590 * This symbol, if defined, indicates that this C compiler knows how
591 * to copy structures. If undefined, you'll need to use a block copy
592 * routine of some sort instead.
594 #$d_strctcpy USE_STRUCT_COPY /**/
597 * This symbol, if defined, indicates that the strtod routine is
598 * available to provide better numeric string conversion than atof().
600 #$d_strtod HAS_STRTOD /**/
603 * This symbol, if defined, indicates that the strtol routine is available
604 * to provide better numeric string conversion than atoi() and friends.
606 #$d_strtol HAS_STRTOL /**/
609 * This symbol, if defined, indicates that the strtoul routine is
610 * available to provide conversion of strings to unsigned long.
612 #$d_strtoul HAS_STRTOUL /**/
615 * This symbol, if defined, indicates that the strxfrm() routine is
616 * available to transform strings.
618 #$d_strxfrm HAS_STRXFRM /**/
621 * This symbol, if defined, indicates that the symlink routine is available
622 * to create symbolic links.
624 #$d_symlink HAS_SYMLINK /**/
627 * This symbol, if defined, indicates that the syscall routine is
628 * available to call arbitrary system calls. If undefined, that's tough.
630 #$d_syscall HAS_SYSCALL /**/
633 * This symbol, if defined, indicates that sysconf() is available
634 * to determine system related limits and options.
636 #$d_sysconf HAS_SYSCONF /**/
639 * This symbol, if defined, indicates that the system routine is
640 * available to issue a shell command.
642 #$d_system HAS_SYSTEM /**/
645 * This symbol, if defined, indicates that the tcgetpgrp routine is
646 * available to get foreground process group ID.
648 #$d_tcgetpgrp HAS_TCGETPGRP /**/
651 * This symbol, if defined, indicates that the tcsetpgrp routine is
652 * available to set foreground process group ID.
654 #$d_tcsetpgrp HAS_TCSETPGRP /**/
657 * This symbol, if defined, indicates that the truncate routine is
658 * available to truncate files.
660 #$d_truncate HAS_TRUNCATE /**/
663 * This symbol, if defined, indicates that the tzname[] array is
664 * available to access timezone names.
666 #$d_tzname HAS_TZNAME /**/
669 * This symbol, if defined, indicates that the umask routine is
670 * available to set and get the value of the file creation mask.
672 #$d_umask HAS_UMASK /**/
675 * This symbol, if defined, indicates that wait4() exists.
677 #$d_wait4 HAS_WAIT4 /**/
680 * This symbol, if defined, indicates that the waitpid routine is
681 * available to wait for child process.
683 #$d_waitpid HAS_WAITPID /**/
686 * This symbol, if defined, indicates that the wcstombs routine is
687 * available to convert wide character strings to multibyte strings.
689 #$d_wcstombs HAS_WCSTOMBS /**/
692 * This symbol, if defined, indicates that the wctomb routine is available
693 * to covert a wide character to a multibyte.
695 #$d_wctomb HAS_WCTOMB /**/
698 * This symbol, if defined, indicates to the C program that it should
699 * include <arpa/inet.h> to get inet_addr and friends declarations.
701 #$i_arpainet I_ARPA_INET /**/
704 * This symbol, if defined, indicates that <dbm.h> exists and should
708 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
709 * should be included.
712 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
715 * This symbol, if defined, indicates to the C program that it should
716 * include <dirent.h>. Using this symbol also triggers the definition
717 * of the Direntry_t define which ends up being 'struct dirent' or
718 * 'struct direct' depending on the availability of <dirent.h>.
721 * This symbol, if defined, indicates to the C program that the length
722 * of directory entry names is provided by a d_namlen field. Otherwise
723 * you need to do strlen() on the d_name field.
726 * This symbol is set to 'struct direct' or 'struct dirent' depending on
727 * whether dirent is available or not. You should use this pseudo type to
728 * portably declare your directory entries.
730 #$i_dirent I_DIRENT /**/
731 #$d_dirnamlen DIRNAMLEN /**/
734 * This symbol, if defined, indicates that <dlfcn.h> exists and should
737 #$i_dlfcn I_DLFCN /**/
740 * This manifest constant tells the C program to include <fcntl.h>.
742 #$i_fcntl I_FCNTL /**/
745 * This symbol, if defined, indicates to the C program that it should
746 * include <float.h> to get definition of symbols like DBL_MAX or
747 * DBL_MIN, i.e. machine dependent floating point values.
749 #$i_float I_FLOAT /**/
752 * This symbol, if defined, indicates to the C program that it should
753 * include <limits.h> to get definition of symbols like WORD_BIT or
754 * LONG_MAX, i.e. machine dependant limitations.
756 #$i_limits I_LIMITS /**/
759 * This symbol, if defined, indicates to the C program that it should
760 * include <locale.h>.
762 #$i_locale I_LOCALE /**/
765 * This symbol, if defined, indicates to the C program that it should
771 * This symbol, if defined, indicates to the C program that it should
772 * include <memory.h>.
774 #$i_memory I_MEMORY /**/
777 * This symbol, if defined, indicates that <ndbm.h> exists and should
783 * This symbol, if defined, indicates that <net/errno.h> exists and
784 * should be included.
786 #$i_neterrno I_NET_ERRNO /**/
789 * This symbol, if defined, indicates to the C program that it should
790 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
792 #$i_niin I_NETINET_IN /**/
795 * This symbol, if defined, indicates to the C program that it should
801 * This symbol, if defined, indicates that <stddef.h> exists and should
804 #$i_stddef I_STDDEF /**/
807 * This symbol, if defined, indicates that <stdlib.h> exists and should
810 #$i_stdlib I_STDLIB /**/
813 * This symbol, if defined, indicates to the C program that it should
814 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
816 #$i_string I_STRING /**/
819 * This symbol, if defined, indicates to the C program that it should
820 * include <sys/dir.h>.
822 #$i_sysdir I_SYS_DIR /**/
825 * This symbol, if defined, indicates to the C program that it should
826 * include <sys/file.h> to get definition of R_OK and friends.
828 #$i_sysfile I_SYS_FILE /**/
831 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
832 * be included. Otherwise, include <sgtty.h> or <termio.h>.
834 #$i_sysioctl I_SYS_IOCTL /**/
837 * This symbol, if defined, indicates to the C program that it should
838 * include <sys/ndir.h>.
840 #$i_sysndir I_SYS_NDIR /**/
843 * This symbol, if defined, indicates to the C program that it should
844 * include <sys/param.h>.
846 #$i_sysparam I_SYS_PARAM /**/
849 * This symbol, if defined, indicates to the C program that it should
850 * include <sys/resource.h>.
852 #$i_sysresrc I_SYS_RESOURCE /**/
855 * This symbol, if defined, indicates to the C program that it should
856 * include <sys/select.h> in order to get definition of struct timeval.
858 #$i_sysselct I_SYS_SELECT /**/
861 * This symbol, if defined, indicates to the C program that it should
862 * include <sys/stat.h>.
864 #$i_sysstat I_SYS_STAT /**/
867 * This symbol, if defined, indicates to the C program that it should
868 * include <sys/times.h>.
870 #$i_systimes I_SYS_TIMES /**/
873 * This symbol, if defined, indicates to the C program that it should
874 * include <sys/types.h>.
876 #$i_systypes I_SYS_TYPES /**/
879 * This symbol, if defined, indicates to the C program that it should
880 * include <sys/un.h> to get UNIX domain socket definitions.
882 #$i_sysun I_SYS_UN /**/
885 * This symbol, if defined, indicates to the C program that it should
886 * include <sys/wait.h>.
888 #$i_syswait I_SYS_WAIT /**/
891 * This symbol, if defined, indicates that the program should include
892 * <termio.h> rather than <sgtty.h>. There are also differences in
893 * the ioctl() calls that depend on the value of this symbol.
896 * This symbol, if defined, indicates that the program should include
897 * the POSIX termios.h rather than sgtty.h or termio.h.
898 * There are also differences in the ioctl() calls that depend on the
899 * value of this symbol.
902 * This symbol, if defined, indicates that the program should include
903 * <sgtty.h> rather than <termio.h>. There are also differences in
904 * the ioctl() calls that depend on the value of this symbol.
906 #$i_termio I_TERMIO /**/
907 #$i_termios I_TERMIOS /**/
908 #$i_sgtty I_SGTTY /**/
911 * This symbol, if defined, indicates to the C program that it should
912 * include <unistd.h>.
914 #$i_unistd I_UNISTD /**/
917 * This symbol, if defined, indicates to the C program that it should
920 #$i_utime I_UTIME /**/
923 * This symbol, if defined, indicates to the C program that it should
924 * include <values.h> to get definition of symbols like MINFLOAT or
925 * MAXLONG, i.e. machine dependant limitations. Probably, you
926 * should use <limits.h> instead, if it is available.
928 #$i_values I_VALUES /**/
931 * This symbol, if defined, indicates that <stdarg.h> exists and should
935 * This symbol, if defined, indicates to the C program that it should
936 * include <varargs.h>.
938 #$i_stdarg I_STDARG /**/
939 #$i_varargs I_VARARGS /**/
942 * This symbol, if defined, indicates to the C program that it should
945 #$i_vfork I_VFORK /**/
948 * This macro is used to declare function parameters for folks who want
949 * to make declarations with prototypes using a different style than
950 * the above macros. Use double parentheses. For example:
952 * int main _((int argc, char *argv[]));
958 * This symbol contains the full pathname to the shell used on this
959 * on this system to execute Bourne shell scripts. Usually, this will be
960 * /bin/sh, though it's possible that some systems will have /bin/ksh,
961 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
964 #define SH_PATH "$sh" /**/
967 * This symbol is defined to be the type of char used in stdio.h.
968 * It has the values "unsigned char" or "char".
970 #define STDCHAR $stdchar /**/
973 * This symbol, if defined, signifies that we our
974 * build process is a cross-compilation.
976 #$crosscompile CROSSCOMPILE /**/
979 * This symbol contains the value of sizeof(int) so that the C
980 * preprocessor can make decisions based on it.
983 * This symbol contains the value of sizeof(long) so that the C
984 * preprocessor can make decisions based on it.
987 * This symbol contains the value of sizeof(short) so that the C
988 * preprocessor can make decisions based on it.
990 #define INTSIZE $intsize /**/
991 #define LONGSIZE $longsize /**/
992 #define SHORTSIZE $shortsize /**/
995 * This symbol, if defined, signifies that the build
996 * process will produce some binary files that are going to be
997 * used in a cross-platform environment. This is the case for
998 * example with the NeXT "fat" binaries that contain executables
1001 #$multiarch MULTIARCH /**/
1004 * This symbol, if defined, tells that there's a 64-bit integer type,
1005 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
1006 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
1008 #$d_quad HAS_QUAD /**/
1011 * This symbol, if defined, indicates that the accessx routine is
1012 * available to do extended access checks.
1014 #$d_accessx HAS_ACCESSX /**/
1017 * This symbol, if defined, indicates that the eaccess routine is
1018 * available to do extended access checks.
1020 #$d_eaccess HAS_EACCESS /**/
1023 * This symbol, if defined, indicates to the C program that it should
1024 * include <sys/access.h>.
1026 #$i_sysaccess I_SYS_ACCESS /**/
1029 * This symbol, if defined, indicates to the C program that it should
1030 * include <sys/security.h>.
1032 #$i_syssecrt I_SYS_SECURITY /**/
1035 * This symbol contains the name of the operating system, as determined
1036 * by Configure. You shouldn't rely on it too much; the specific
1037 * feature tests from Configure are generally more reliable.
1039 #define OSNAME "$osname" /**/
1042 * This symbol contains the number of bytes required to align a
1043 * double, or a long double when applicable. Usual values are 2,
1044 * 4 and 8. The default is eight, for safety.
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.
1120 * This macro catenates 2 tokens together.
1123 * This macro surrounds its token with double quotes.
1125 #define CAT2(a,b) a/**/b
1126 #define STRINGIFY(a) "a"
1127 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1128 #define STRINGIFY(a) PeRl_StGiFy(a)
1131 * This symbol contains the first part of the string which will invoke
1132 * the C preprocessor on the standard input and produce to standard
1133 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1134 * call a wrapper. See CPPRUN.
1137 * This symbol contains the second part of the string which will invoke
1138 * the C preprocessor on the standard input and produce to standard
1139 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1140 * to specify standard input, otherwise the value is "".
1143 * This symbol contains the string which will invoke a C preprocessor on
1144 * the standard input and produce to standard output. It needs to end
1145 * with CPPLAST, after all other preprocessor flags have been specified.
1146 * The main difference with CPPSTDIN is that this program will never be a
1147 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1148 * available directly to the user. Note that it may well be different from
1149 * the preprocessor used to compile the C program.
1152 * This symbol is intended to be used along with CPPRUN in the same manner
1153 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1155 #define CPPSTDIN "$cppstdin"
1156 #define CPPMINUS "$cppminus"
1157 #define CPPRUN "$cpprun"
1158 #define CPPLAST "$cpplast"
1161 * This manifest constant lets the C program know that the access()
1162 * system call is available to check for accessibility using real UID/GID.
1163 * (always present on UNIX.)
1165 #$d_access HAS_ACCESS /**/
1168 * This symbol is defined if the C compiler can cast negative
1169 * or large floating point numbers to 32-bit ints.
1171 #$d_casti32 CASTI32 /**/
1174 * This symbol is defined if the C compiler can cast negative
1175 * numbers to unsigned longs, ints and shorts.
1178 * This symbol contains flags that say what difficulties the compiler
1179 * has casting odd floating values to unsigned long:
1181 * 1 = couldn't cast < 0
1182 * 2 = couldn't cast >= 0x80000000
1183 * 4 = couldn't cast in argument expression list
1185 #$d_castneg CASTNEGFLOAT /**/
1186 #define CASTFLAGS $castflags /**/
1189 * This symbol, if defined, indicates that the closedir() routine
1190 * does not return a value.
1192 #$d_void_closedir VOID_CLOSEDIR /**/
1195 * This symbol, if defined, indicates that the C-shell exists.
1198 * This symbol, if defined, contains the full pathname of csh.
1201 /* DLSYM_NEEDS_UNDERSCORE:
1202 * This symbol, if defined, indicates that we need to prepend an
1203 * underscore to the symbol name before calling dlsym(). This only
1204 * makes sense if you *have* dlsym, which we will presume is the
1205 * case if you're using dl_dlopen.xs.
1207 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
1209 /* HAS_DRAND48_PROTO:
1210 * This symbol, if defined, indicates that the system provides
1211 * a prototype for the drand48() function. Otherwise, it is up
1212 * to the program to supply one. A good guess is
1213 * extern double drand48 _((void));
1215 #$d_drand48proto HAS_DRAND48_PROTO /**/
1218 * This symbol, if defined, indicates that the getgrent routine is
1219 * available for finalizing sequential access of the group database.
1221 #$d_endgrent HAS_ENDGRENT /**/
1224 * This symbol, if defined, indicates that the endhostent() routine is
1225 * available to close whatever was being used for host queries.
1227 #$d_endhent HAS_ENDHOSTENT /**/
1230 * This symbol, if defined, indicates that the endnetent() routine is
1231 * available to close whatever was being used for network queries.
1233 #$d_endnent HAS_ENDNETENT /**/
1236 * This symbol, if defined, indicates that the endprotoent() routine is
1237 * available to close whatever was being used for protocol queries.
1239 #$d_endpent HAS_ENDPROTOENT /**/
1242 * This symbol, if defined, indicates that the getgrent routine is
1243 * available for finalizing sequential access of the passwd database.
1245 #$d_endpwent HAS_ENDPWENT /**/
1248 * This symbol, if defined, indicates that the endservent() routine is
1249 * available to close whatever was being used for service queries.
1251 #$d_endsent HAS_ENDSERVENT /**/
1254 * This symbol, when defined, indicates presence of the fd_set typedef
1257 #$d_fd_set HAS_FD_SET /**/
1260 * This symbol, if defined, indicates that the system supports filenames
1261 * longer than 14 characters.
1263 #$d_flexfnam FLEXFILENAMES /**/
1266 * This symbol will be defined if the C compiler supports fpos64_t.
1268 #$d_fpos64_t HAS_FPOS64_T /**/
1271 * This symbol, if defined, indicates that the frexpl routine is
1272 * available to break a long double floating-point number into
1273 * a normalized fraction and an integral power of 2.
1275 #$d_frexpl HAS_FREXPL /**/
1277 /* HAS_STRUCT_FS_DATA:
1278 * This symbol, if defined, indicates that the struct fs_data
1279 * to do statfs() is supported.
1281 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
1284 * This symbol, if defined, indicates that the fseeko routine is
1285 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1287 #$d_fseeko HAS_FSEEKO /**/
1290 * This symbol, if defined, indicates that the fstatfs routine is
1291 * available to stat filesystems by file descriptors.
1293 #$d_fstatfs HAS_FSTATFS /**/
1296 * This symbol, if defined, indicates that the ftello routine is
1297 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1299 #$d_ftello HAS_FTELLO /**/
1302 * This preprocessor macro is defined to convert a floating point
1303 * number to a string without a trailing decimal point. This
1304 * emulates the behavior of sprintf("%g"), but is sometimes much more
1305 * efficient. If gconvert() is not available, but gcvt() drops the
1306 * trailing decimal point, then gcvt() is used. If all else fails,
1307 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1308 * macro are: value, number of digits, whether trailing zeros should
1309 * be retained, and the output buffer.
1310 * Possible values are:
1311 * d_Gconvert='gconvert((x),(n),(t),(b))'
1312 * d_Gconvert='gcvt((x),(n),(b))'
1313 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1314 * The last two assume trailing zeros should not be kept.
1316 #define Gconvert(x,n,t,b) $d_Gconvert
1319 * This symbol, if defined, indicates that the getcwd routine is
1320 * available to get the current working directory.
1322 #$d_getcwd HAS_GETCWD /**/
1325 * This symbol, if defined, indicates that the getespwnam system call is
1326 * available to retrieve enchanced (shadow) password entries by name.
1328 #$d_getespwnam HAS_GETESPWNAM /**/
1331 * This symbol, if defined, indicates that the getfsstat routine is
1332 * available to stat filesystems in bulk.
1334 #$d_getfsstat HAS_GETFSSTAT /**/
1337 * This symbol, if defined, indicates that the getgrent routine is
1338 * available for sequential access of the group database.
1340 #$d_getgrent HAS_GETGRENT /**/
1342 /* HAS_GETHOSTBYADDR:
1343 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1344 * available to look up hosts by their IP addresses.
1346 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1348 /* HAS_GETHOSTBYNAME:
1349 * This symbol, if defined, indicates that the gethostbyname() routine is
1350 * available to look up host names in some data base or other.
1352 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1355 * This symbol, if defined, indicates that the gethostent() routine is
1356 * available to look up host names in some data base or another.
1358 #$d_gethent HAS_GETHOSTENT /**/
1361 * This symbol, if defined, indicates that the C program may use the
1362 * gethostname() routine to derive the host name. See also HAS_UNAME
1366 * This symbol, if defined, indicates that the C program may use the
1367 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1371 * This symbol, if defined, indicates the command to feed to the
1372 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1373 * and HAS_UNAME. Note that the command uses a fully qualified path,
1374 * so that it is safe even if used by a process with super-user
1378 * This symbol, if defined, indicates that the C program may use the
1379 * contents of PHOSTNAME as a command to feed to the popen() routine
1380 * to derive the host name.
1383 /* HAS_GETHOST_PROTOS:
1384 * This symbol, if defined, indicates that <netdb.h> includes
1385 * prototypes for gethostent(), gethostbyname(), and
1386 * gethostbyaddr(). Otherwise, it is up to the program to guess
1387 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1389 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
1392 * This symbol, if defined, indicates that the getmnt routine is
1393 * available to get filesystem mount info by filename.
1395 #$d_getmnt HAS_GETMNT /**/
1398 * This symbol, if defined, indicates that the getmntent routine is
1399 * available to iterate through mounted file systems to get their info.
1401 #$d_getmntent HAS_GETMNTENT /**/
1403 /* HAS_GETNETBYADDR:
1404 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1405 * available to look up networks by their IP addresses.
1407 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1409 /* HAS_GETNETBYNAME:
1410 * This symbol, if defined, indicates that the getnetbyname() routine is
1411 * available to look up networks by their names.
1413 #$d_getnbyname HAS_GETNETBYNAME /**/
1416 * This symbol, if defined, indicates that the getnetent() routine is
1417 * available to look up network names in some data base or another.
1419 #$d_getnent HAS_GETNETENT /**/
1421 /* HAS_GETNET_PROTOS:
1422 * This symbol, if defined, indicates that <netdb.h> includes
1423 * prototypes for getnetent(), getnetbyname(), and
1424 * getnetbyaddr(). Otherwise, it is up to the program to guess
1425 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1427 #$d_getnetprotos HAS_GETNET_PROTOS /**/
1430 * This symbol, if defined, indicates that the getprotoent() routine is
1431 * available to look up protocols in some data base or another.
1433 #$d_getpent HAS_GETPROTOENT /**/
1435 /* HAS_GETPROTOBYNAME:
1436 * This symbol, if defined, indicates that the getprotobyname()
1437 * routine is available to look up protocols by their name.
1439 /* HAS_GETPROTOBYNUMBER:
1440 * This symbol, if defined, indicates that the getprotobynumber()
1441 * routine is available to look up protocols by their number.
1443 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1444 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1446 /* HAS_GETPROTO_PROTOS:
1447 * This symbol, if defined, indicates that <netdb.h> includes
1448 * prototypes for getprotoent(), getprotobyname(), and
1449 * getprotobyaddr(). Otherwise, it is up to the program to guess
1450 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1452 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1455 * This symbol, if defined, indicates that the getprpwnam system call is
1456 * available to retrieve protected (shadow) password entries by name.
1458 #$d_getprpwnam HAS_GETPRPWNAM /**/
1461 * This symbol, if defined, indicates that the getpwent routine is
1462 * available for sequential access of the passwd database.
1463 * If this is not available, the older getpw() function may be available.
1465 #$d_getpwent HAS_GETPWENT /**/
1468 * This symbol, if defined, indicates that the getservent() routine is
1469 * available to look up network services in some data base or another.
1471 #$d_getsent HAS_GETSERVENT /**/
1473 /* HAS_GETSERV_PROTOS:
1474 * This symbol, if defined, indicates that <netdb.h> includes
1475 * prototypes for getservent(), getservbyname(), and
1476 * getservbyaddr(). Otherwise, it is up to the program to guess
1477 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1479 #$d_getservprotos HAS_GETSERV_PROTOS /**/
1482 * This symbol, if defined, indicates that the getspnam system call is
1483 * available to retrieve SysV shadow password entries by name.
1485 #$d_getspnam HAS_GETSPNAM /**/
1487 /* HAS_GETSERVBYNAME:
1488 * This symbol, if defined, indicates that the getservbyname()
1489 * routine is available to look up services by their name.
1491 /* HAS_GETSERVBYPORT:
1492 * This symbol, if defined, indicates that the getservbyport()
1493 * routine is available to look up services by their port.
1495 #$d_getsbyname HAS_GETSERVBYNAME /**/
1496 #$d_getsbyport HAS_GETSERVBYPORT /**/
1499 * This symbol, if defined, indicates to the C program that
1500 * the GNU C library is being used.
1502 #$d_gnulibc HAS_GNULIBC /**/
1503 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1504 # define _GNU_SOURCE
1507 * This symbol, if defined, indicates that the hasmntopt routine is
1508 * available to query the mount options of file systems.
1510 #$d_hasmntopt HAS_HASMNTOPT /**/
1513 * This symbol, if defined, indicates that the htonl() routine (and
1514 * friends htons() ntohl() ntohs()) are available to do network
1515 * order byte swapping.
1518 * This symbol, if defined, indicates that the htons() routine (and
1519 * friends htonl() ntohl() ntohs()) are available to do network
1520 * order byte swapping.
1523 * This symbol, if defined, indicates that the ntohl() routine (and
1524 * friends htonl() htons() ntohs()) are available to do network
1525 * order byte swapping.
1528 * This symbol, if defined, indicates that the ntohs() routine (and
1529 * friends htonl() htons() ntohl()) are available to do network
1530 * order byte swapping.
1532 #$d_htonl HAS_HTONL /**/
1533 #$d_htonl HAS_HTONS /**/
1534 #$d_htonl HAS_NTOHL /**/
1535 #$d_htonl HAS_NTOHS /**/
1538 * This symbol, if defined, indicates that the iconv routine is
1539 * available to do character set conversions.
1541 #$d_iconv HAS_ICONV /**/
1544 * This symbol will defined if the C compiler supports int64_t.
1545 * Usually the <inttypes.h> needs to be included, but sometimes
1546 * <sys/types.h> is enough.
1548 #$d_int64_t HAS_INT64_T /**/
1551 * This manifest constant lets the C program know that isascii
1554 #$d_isascii HAS_ISASCII /**/
1557 * This symbol, if defined, indicates that the isnan routine is
1558 * available to check whether a double is a NaN.
1560 #$d_isnan HAS_ISNAN /**/
1563 * This symbol, if defined, indicates that the isnanl routine is
1564 * available to check whether a long double is a NaN.
1566 #$d_isnanl HAS_ISNANL /**/
1569 * This symbol, if defined, indicates that the lchown routine is
1570 * available to operate on a symbolic link (instead of following the
1573 #$d_lchown HAS_LCHOWN /**/
1576 * This symbol, if defined, indicates that this system's <float.h>
1577 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1578 * of significant digits in a long double precision number. Unlike
1579 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1581 #$d_ldbl_dig HAS_LDBL_DIG /* */
1584 * This symbol will be defined if the C compiler supports long
1588 * This symbol contains the size of a long double, so that the
1589 * C preprocessor can make decisions based on it. It is only
1590 * defined if the system supports long doubles.
1592 #$d_longdbl HAS_LONG_DOUBLE /**/
1593 #ifdef HAS_LONG_DOUBLE
1594 #define LONG_DOUBLESIZE $longdblsize /**/
1598 * This symbol will be defined if the C compiler supports long long.
1601 * This symbol contains the size of a long long, so that the
1602 * C preprocessor can make decisions based on it. It is only
1603 * defined if the system supports long long.
1605 #$d_longlong HAS_LONG_LONG /**/
1606 #ifdef HAS_LONG_LONG
1607 #define LONGLONGSIZE $longlongsize /**/
1611 * This symbol, if defined, indicates that the system provides
1612 * a prototype for the lseek() function. Otherwise, it is up
1613 * to the program to supply one. A good guess is
1614 * extern off_t lseek(int, off_t, int);
1616 #$d_lseekproto HAS_LSEEK_PROTO /**/
1619 * This symbol, if defined, indicates that the madvise system call is
1620 * available to map a file into memory.
1622 #$d_madvise HAS_MADVISE /**/
1625 * This symbol, if defined, indicates that the memchr routine is available
1626 * to locate characters within a C string.
1628 #$d_memchr HAS_MEMCHR /**/
1631 * This symbol, if defined, indicates that the mkdtemp routine is
1632 * available to exclusively create a uniquely named temporary directory.
1634 #$d_mkdtemp HAS_MKDTEMP /**/
1637 * This symbol, if defined, indicates that the mkstemp routine is
1638 * available to exclusively create and open a uniquely named
1641 #$d_mkstemp HAS_MKSTEMP /**/
1644 * This symbol, if defined, indicates that the mkstemps routine is
1645 * available to excluslvely create and open a uniquely named
1646 * (with a suffix) temporary file.
1648 #$d_mkstemps HAS_MKSTEMPS /**/
1651 * This symbol, if defined, indicates that the mmap system call is
1652 * available to map a file into memory.
1655 * This symbol holds the return type of the mmap() system call
1656 * (and simultaneously the type of the first argument).
1657 * Usually set to 'void *' or 'cadd_t'.
1659 #$d_mmap HAS_MMAP /**/
1660 #define Mmap_t $mmaptype /**/
1663 * This symbol, if defined, indicates that the modfl routine is
1664 * available to split a long double x into a fractional part f and
1665 * an integer part i such that |f| < 1.0 and (f + i) = x.
1667 #$d_modfl HAS_MODFL /**/
1670 * This symbol, if defined, indicates that the mprotect system call is
1671 * available to modify the access protection of a memory mapped file.
1673 #$d_mprotect HAS_MPROTECT /**/
1676 * This symbol, if defined, indicates that the entire msg*(2) library is
1677 * supported (IPC mechanism based on message queues).
1679 #$d_msg HAS_MSG /**/
1682 * This symbol will be defined if the C compiler supports off64_t.
1684 #$d_off64_t HAS_OFF64_T /**/
1687 * This manifest constant lets the C program know that the three
1688 * argument form of open(2) is available.
1690 #$d_open3 HAS_OPEN3 /**/
1692 /* OLD_PTHREAD_CREATE_JOINABLE:
1693 * This symbol, if defined, indicates how to create pthread
1694 * in joinable (aka undetached) state. NOTE: not defined
1695 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1696 * (the new version of the constant).
1697 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1700 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
1702 /* HAS_PTHREAD_YIELD:
1703 * This symbol, if defined, indicates that the pthread_yield
1704 * routine is available to yield the execution of the current
1705 * thread. sched_yield is preferable to pthread_yield.
1708 * This symbol defines the way to yield the execution of
1709 * the current thread. Known ways are sched_yield,
1710 * pthread_yield, and pthread_yield with NULL.
1713 * This symbol, if defined, indicates that the sched_yield
1714 * routine is available to yield the execution of the current
1715 * thread. sched_yield is preferable to pthread_yield.
1717 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
1718 #define SCHED_YIELD $sched_yield /**/
1719 #$d_sched_yield HAS_SCHED_YIELD /**/
1722 * This symbol, if defined, indicates that the bcopy routine is available
1723 * to copy potentially overlapping memory blocks. Otherwise you should
1724 * probably use memmove() or memcpy(). If neither is defined, roll your
1727 #$d_safebcpy HAS_SAFE_BCOPY /**/
1730 * This symbol, if defined, indicates that the memcpy routine is available
1731 * to copy potentially overlapping memory blocks. Otherwise you should
1732 * probably use memmove() or memcpy(). If neither is defined, roll your
1735 #$d_safemcpy HAS_SAFE_MEMCPY /**/
1738 * This symbol, if defined, indicates that the memcmp routine is available
1739 * and can be used to compare relative magnitudes of chars with their high
1740 * bits set. If it is not defined, roll your own version.
1742 #$d_sanemcmp HAS_SANE_MEMCMP /**/
1745 * This symbol, if defined, indicates that the entire sem*(2) library is
1748 #$d_sem HAS_SEM /**/
1751 * This symbol, if defined, indicates that the setgrent routine is
1752 * available for initializing sequential access of the group database.
1754 #$d_setgrent HAS_SETGRENT /**/
1757 * This symbol, if defined, indicates that the setgroups() routine is
1758 * available to set the list of process groups. If unavailable, multiple
1759 * groups are probably not supported.
1761 #$d_setgrps HAS_SETGROUPS /**/
1764 * This symbol, if defined, indicates that the sethostent() routine is
1767 #$d_sethent HAS_SETHOSTENT /**/
1770 * This symbol, if defined, indicates that the setnetent() routine is
1773 #$d_setnent HAS_SETNETENT /**/
1776 * This symbol, if defined, indicates that the setprotoent() routine is
1779 #$d_setpent HAS_SETPROTOENT /**/
1781 /* HAS_SETPROCTITLE:
1782 * This symbol, if defined, indicates that the setproctitle routine is
1783 * available to set process title.
1785 #$d_setproctitle HAS_SETPROCTITLE /**/
1788 * This symbol, if defined, indicates that the setpwent routine is
1789 * available for initializing sequential access of the passwd database.
1791 #$d_setpwent HAS_SETPWENT /**/
1794 * This symbol, if defined, indicates that the setservent() routine is
1797 #$d_setsent HAS_SETSERVENT /**/
1800 * This symbol, if defined, indicates that the setvbuf routine is
1801 * available to change buffering on an open stdio stream.
1802 * to a line-buffered mode.
1804 #$d_setvbuf HAS_SETVBUF /**/
1807 * This symbol, if defined, indicates that sfio should
1810 #$d_sfio USE_SFIO /**/
1813 * This symbol, if defined, indicates that the entire shm*(2) library is
1816 #$d_shm HAS_SHM /**/
1819 * This symbol, if defined, indicates that Vr4's sigaction() routine
1822 #$d_sigaction HAS_SIGACTION /**/
1825 * This variable indicates to the C program that the sigsetjmp()
1826 * routine is available to save the calling process's registers
1827 * and stack environment for later use by siglongjmp(), and
1828 * to optionally save the process's signal mask. See
1829 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1832 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1835 * This macro is used in the same way as sigsetjmp(), but will invoke
1836 * traditional setjmp() if sigsetjmp isn't available.
1837 * See HAS_SIGSETJMP.
1840 * This macro is used in the same way as siglongjmp(), but will invoke
1841 * traditional longjmp() if siglongjmp isn't available.
1842 * See HAS_SIGSETJMP.
1846 * This symbol, if defined, indicates that the BSD socket interface is
1850 * This symbol, if defined, indicates that the BSD socketpair() call is
1854 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1855 * Checking just with #ifdef might not be enough because this symbol
1856 * has been known to be an enum.
1858 /* HAS_MSG_DONTROUTE:
1859 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1860 * Checking just with #ifdef might not be enough because this symbol
1861 * has been known to be an enum.
1864 * This symbol, if defined, indicates that the MSG_OOB is supported.
1865 * Checking just with #ifdef might not be enough because this symbol
1866 * has been known to be an enum.
1869 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1870 * Checking just with #ifdef might not be enough because this symbol
1871 * has been known to be an enum.
1874 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1875 * Checking just with #ifdef might not be enough because this symbol
1876 * has been known to be an enum.
1879 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1880 * Checking just with #ifdef might not be enough because this symbol
1881 * has been known to be an enum.
1883 #$d_socket HAS_SOCKET /**/
1884 #$d_sockpair HAS_SOCKETPAIR /**/
1885 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
1886 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
1887 #$d_msg_oob HAS_MSG_OOB /**/
1888 #$d_msg_peek HAS_MSG_PEEK /**/
1889 #$d_msg_proxy HAS_MSG_PROXY /**/
1890 #$d_scm_rights HAS_SCM_RIGHTS /**/
1893 * This symbol, if defined, indicates that the socks5_init routine is
1894 * available to initialize SOCKS 5.
1896 #$d_socks5_init HAS_SOCKS5_INIT /**/
1899 * This symbol, if defined, indicates that the sqrtl routine is
1900 * available to do long double square roots.
1902 #$d_sqrtl HAS_SQRTL /**/
1905 * This symbol is defined if this system has a stat structure declaring
1906 * st_blksize and st_blocks.
1909 /* HAS_STRUCT_STATFS_F_FLAGS:
1910 * This symbol, if defined, indicates that the struct statfs
1911 * does have the f_flags member containing the mount flags of
1912 * the filesystem containing the file.
1913 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
1914 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
1915 * have statfs() and struct statfs, they have ustat() and getmnt()
1916 * with struct ustat and struct fs_data.
1918 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
1920 /* HAS_STRUCT_STATFS:
1921 * This symbol, if defined, indicates that the struct statfs
1922 * to do statfs() is supported.
1924 #$d_statfs_s HAS_STRUCT_STATFS /**/
1927 * This symbol, if defined, indicates that the fstatvfs routine is
1928 * available to stat filesystems by file descriptors.
1930 #$d_fstatvfs HAS_FSTATVFS /**/
1933 * This macro is used to access the _ptr field (or equivalent) of the
1934 * FILE structure pointed to by its argument. This macro will always be
1935 * defined if USE_STDIO_PTR is defined.
1937 /* STDIO_PTR_LVALUE:
1938 * This symbol is defined if the FILE_ptr macro can be used as an
1942 * This macro is used to access the _cnt field (or equivalent) of the
1943 * FILE structure pointed to by its argument. This macro will always be
1944 * defined if USE_STDIO_PTR is defined.
1946 /* STDIO_CNT_LVALUE:
1947 * This symbol is defined if the FILE_cnt macro can be used as an
1950 #define FILE_ptr(fp) $stdio_ptr
1951 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
1952 #define FILE_cnt(fp) $stdio_cnt
1953 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
1956 * This macro is used to access the _base field (or equivalent) of the
1957 * FILE structure pointed to by its argument. This macro will always be
1958 * defined if USE_STDIO_BASE is defined.
1961 * This macro is used to determine the number of bytes in the I/O
1962 * buffer pointed to by _base field (or equivalent) of the FILE
1963 * structure pointed to its argument. This macro will always be defined
1964 * if USE_STDIO_BASE is defined.
1966 #define FILE_base(fp) $stdio_base
1967 #define FILE_bufsiz(fp) $stdio_bufsiz
1970 * This symbol, if defined, indicates that the strerror routine is
1971 * available to translate error numbers to strings. See the writeup
1972 * of Strerror() in this file before you try to define your own.
1975 * This symbol, if defined, indicates that the sys_errlist array is
1976 * available to translate error numbers to strings. The extern int
1977 * sys_nerr gives the size of that table.
1980 * This preprocessor symbol is defined as a macro if strerror() is
1981 * not available to translate error numbers to strings but sys_errlist[]
1984 #$d_strerror HAS_STRERROR /**/
1985 #$d_syserrlst HAS_SYS_ERRLIST /**/
1986 #define Strerror(e) $d_strerrm
1989 * This symbol, if defined, indicates that the strtold routine is
1990 * available to convert strings to long doubles.
1992 #$d_strtold HAS_STRTOLD /**/
1995 * This symbol, if defined, indicates that the strtoll routine is
1996 * available to convert strings to long longs.
1998 #$d_strtoll HAS_STRTOLL /**/
2001 * This symbol, if defined, indicates that the strtoull routine is
2002 * available to convert strings to unsigned long longs.
2004 #$d_strtoull HAS_STRTOULL /**/
2007 * This symbol, if defined, indicates that the strtouq routine is
2008 * available to convert strings to unsigned long longs (quads).
2010 #$d_strtouq HAS_STRTOUQ /**/
2012 /* HAS_TELLDIR_PROTO:
2013 * This symbol, if defined, indicates that the system provides
2014 * a prototype for the telldir() function. Otherwise, it is up
2015 * to the program to supply one. A good guess is
2016 * extern long telldir _((DIR*));
2018 #$d_telldirproto HAS_TELLDIR_PROTO /**/
2021 * This symbol holds the type returned by time(). It can be long,
2022 * or time_t on BSD sites (in which case <sys/types.h> should be
2025 #define Time_t $timetype /* Time type */
2028 * This symbol, if defined, indicates that the times() routine exists.
2029 * Note that this became obsolete on some systems (SUNOS), which now
2030 * use getrusage(). It may be necessary to include <sys/times.h>.
2032 #$d_times HAS_TIMES /**/
2035 * This symbol, if defined, indicates that the union semun is
2036 * defined by including <sys/sem.h>. If not, the user code
2037 * probably needs to define it as:
2040 * struct semid_ds *buf;
2041 * unsigned short *array;
2044 /* USE_SEMCTL_SEMUN:
2045 * This symbol, if defined, indicates that union semun is
2046 * used for semctl IPC_STAT.
2048 /* USE_SEMCTL_SEMID_DS:
2049 * This symbol, if defined, indicates that struct semid_ds * is
2050 * used for semctl IPC_STAT.
2052 #$d_union_semun HAS_UNION_SEMUN /**/
2053 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2054 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2057 * This symbol, if defined, indicates that the ustat system call is
2058 * available to query file system statistics by dev_t.
2060 #$d_ustat HAS_USTAT /**/
2063 * This symbol, if defined, indicates that vfork() exists.
2065 #$d_vfork HAS_VFORK /**/
2068 * This symbol's value is either "void" or "int", corresponding to the
2069 * appropriate return type of a signal handler. Thus, you can declare
2070 * a signal handler using "Signal_t (*handler)()", and define the
2071 * handler using "Signal_t handler(sig)".
2073 #define Signal_t $signal_t /* Signal handler's return type */
2076 * This symbol, if defined, indicates that the vprintf routine is available
2077 * to printf with a pointer to an argument list. If unavailable, you
2078 * may need to write your own, probably in terms of _doprnt().
2080 /* USE_CHAR_VSPRINTF:
2081 * This symbol is defined if this system has vsprintf() returning type
2082 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2083 * is up to the package author to declare vsprintf correctly based on the
2086 #$d_vprintf HAS_VPRINTF /**/
2087 #$d_charvspr USE_CHAR_VSPRINTF /**/
2089 /* USE_DYNAMIC_LOADING:
2090 * This symbol, if defined, indicates that dynamic loading of
2091 * some sort is available.
2093 #$usedl USE_DYNAMIC_LOADING /**/
2096 * This symbol contains the size of a double, so that the C preprocessor
2097 * can make decisions based on it.
2099 #define DOUBLESIZE $doublesize /**/
2102 * This symbol, if defined, indicates that this system uses
2105 #$ebcdic EBCDIC /**/
2108 * This symbol, if defined, tells that fflush(NULL) does flush
2109 * all pending stdio output.
2112 * This symbol, if defined, tells that to flush
2113 * all pending stdio output one must loop through all
2114 * the stdio file handles stored in an array and fflush them.
2115 * Note that if fflushNULL is defined, fflushall will not
2116 * even be probed for and will be left undefined.
2118 #$fflushNULL FFLUSH_NULL /**/
2119 #$fflushall FFLUSH_ALL /**/
2122 * This symbol holds the type used to declare file positions in libc.
2123 * It can be fpos_t, long, uint, etc... It may be necessary to include
2124 * <sys/types.h> to get any typedef'ed information.
2126 #define Fpos_t $fpostype /* File position type */
2129 * This symbol defines the format string used for printing a Gid_t.
2131 #define Gid_t_f $gidformat /**/
2134 * This symbol holds the signedess of a Gid_t.
2135 * 1 for unsigned, -1 for signed.
2137 #define Gid_t_sign $gidsign /* GID sign */
2140 * This symbol holds the size of a Gid_t in bytes.
2142 #define Gid_t_size $gidsize /* GID size */
2145 * This symbol holds the return type of getgid() and the type of
2146 * argument to setrgid() and related functions. Typically,
2147 * it is the type of group ids in the kernel. It can be int, ushort,
2148 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2149 * any typedef'ed information.
2151 #define Gid_t $gidtype /* Type for getgid(), etc... */
2154 * This symbol holds the type used for the second argument to
2155 * getgroups() and setgroups(). Usually, this is the same as
2156 * gidtype (gid_t) , but sometimes it isn't.
2157 * It can be int, ushort, gid_t, etc...
2158 * It may be necessary to include <sys/types.h> to get any
2159 * typedef'ed information. This is only required if you have
2160 * getgroups() or setgroups()..
2164 * This symbol contains the type of the prefix structure element
2165 * in the <db.h> header file. In older versions of DB, it was
2166 * int, while in newer ones it is u_int32_t.
2169 * This symbol contains the type of the prefix structure element
2170 * in the <db.h> header file. In older versions of DB, it was
2171 * int, while in newer ones it is size_t.
2173 #define DB_Hash_t $db_hashtype /**/
2174 #define DB_Prefix_t $db_prefixtype /**/
2177 * This symbol, if defined, indicates to the C program that it should
2181 * This symbol, if defined, indicates to the C program that struct group
2182 * in <grp.h> contains gr_passwd.
2185 #$d_grpasswd GRPASSWD /**/
2188 * This symbol, if defined, indicates that <iconv.h> exists and
2189 * should be included.
2191 #$i_iconv I_ICONV /**/
2194 * This symbol, if defined, indicates that <ieeefp.h> exists and
2195 * should be included.
2197 #$i_ieeefp I_IEEEFP /**/
2200 * This symbol, if defined, indicates to the C program that it should
2201 * include <inttypes.h>.
2203 #$i_inttypes I_INTTYPES /**/
2206 * This symbol, if defined, indicates that <libutil.h> exists and
2207 * should be included.
2209 #$i_libutil I_LIBUTIL /**/
2212 * This symbol, if defined, indicates to the C program that it should
2213 * include <mach/cthreads.h>.
2215 #$i_machcthr I_MACH_CTHREADS /**/
2218 * This symbol, if defined, indicates that <mntent.h> exists and
2219 * should be included.
2221 #$i_mntent I_MNTENT /**/
2224 * This symbol, if defined, indicates that <netdb.h> exists and
2225 * should be included.
2227 #$i_netdb I_NETDB /**/
2230 * This symbol, if defined, indicates to the C program that it should
2231 * include <netinet/tcp.h>.
2233 #$i_netinettcp I_NETINET_TCP /**/
2236 * This symbol, if defined, indicates that <poll.h> exists and
2237 * should be included.
2239 #$i_poll I_POLL /**/
2242 * This symbol, if defined, indicates that <prot.h> exists and
2243 * should be included.
2245 #$i_prot I_PROT /**/
2248 * This symbol, if defined, indicates to the C program that it should
2249 * include <pthread.h>.
2251 #$i_pthread I_PTHREAD /**/
2254 * This symbol, if defined, indicates to the C program that it should
2258 * This symbol, if defined, indicates to the C program that struct passwd
2259 * contains pw_quota.
2262 * This symbol, if defined, indicates to the C program that struct passwd
2266 * This symbol, if defined, indicates to the C program that struct passwd
2267 * contains pw_change.
2270 * This symbol, if defined, indicates to the C program that struct passwd
2271 * contains pw_class.
2274 * This symbol, if defined, indicates to the C program that struct passwd
2275 * contains pw_expire.
2278 * This symbol, if defined, indicates to the C program that struct passwd
2279 * contains pw_comment.
2282 * This symbol, if defined, indicates to the C program that struct passwd
2283 * contains pw_gecos.
2286 * This symbol, if defined, indicates to the C program that struct passwd
2287 * contains pw_passwd.
2290 #$d_pwquota PWQUOTA /**/
2291 #$d_pwage PWAGE /**/
2292 #$d_pwchange PWCHANGE /**/
2293 #$d_pwclass PWCLASS /**/
2294 #$d_pwexpire PWEXPIRE /**/
2295 #$d_pwcomment PWCOMMENT /**/
2296 #$d_pwgecos PWGECOS /**/
2297 #$d_pwpasswd PWPASSWD /**/
2300 * This symbol, if defined, indicates that <shadow.h> exists and
2301 * should be included.
2303 #$i_shadow I_SHADOW /**/
2306 * This symbol, if defined, indicates that <socks.h> exists and
2307 * should be included.
2309 #$i_socks I_SOCKS /**/
2312 * This symbol, if defined, indicates that <sunmath.h> exists and
2313 * should be included.
2315 #$i_sunmath I_SUNMATH /**/
2318 * This symbol, if defined, indicates that <syslog.h> exists and
2319 * should be included.
2321 #$i_syslog I_SYSLOG /**/
2324 * This symbol, if defined, indicates that <sys/mode.h> exists and
2325 * should be included.
2327 #$i_sysmode I_SYSMODE /**/
2330 * This symbol, if defined, indicates that <sys/mount.h> exists and
2331 * should be included.
2333 #$i_sysmount I_SYS_MOUNT /**/
2336 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2338 #$i_sysstatfs I_SYS_STATFS /**/
2341 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2342 * should be included.
2344 #$i_sysstatvfs I_SYS_STATVFS /**/
2347 * This symbol, if defined, indicates that <sys/uio.h> exists and
2348 * should be included.
2350 #$i_sysuio I_SYSUIO /**/
2353 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2354 * should be included.
2356 #$i_sysutsname I_SYSUTSNAME /**/
2359 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2360 * should be included.
2362 #$i_sysvfs I_SYS_VFS /**/
2365 * This symbol, if defined, indicates to the C program that it should
2369 * This symbol, if defined, indicates to the C program that it should
2370 * include <sys/time.h>.
2372 /* I_SYS_TIME_KERNEL:
2373 * This symbol, if defined, indicates to the C program that it should
2374 * include <sys/time.h> with KERNEL defined.
2376 #$i_time I_TIME /**/
2377 #$i_systime I_SYS_TIME /**/
2378 #$i_systimek I_SYS_TIME_KERNEL /**/
2381 * This symbol, if defined, indicates that <ustat.h> exists and
2382 * should be included.
2384 #$i_ustat I_USTAT /**/
2386 /* PERL_INC_VERSION_LIST:
2387 * This variable specifies the list of subdirectories in over
2388 * which perl.c:incpush() and lib/lib.pm will automatically
2389 * search when adding directories to @INC, in a format suitable
2390 * for a C initialization string. See the inc_version_list entry
2391 * in Porting/Glossary for more details.
2393 #define PERL_INC_VERSION_LIST $inc_version_list_init /**/
2395 /* INSTALL_USR_BIN_PERL:
2396 * This symbol, if defined, indicates that Perl is to be installed
2397 * also as /usr/bin/perl.
2399 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
2402 * This symbol, if defined, contains the string used by stdio to
2403 * format long doubles (format 'f') for output.
2406 * This symbol, if defined, contains the string used by stdio to
2407 * format long doubles (format 'g') for output.
2410 * This symbol, if defined, contains the string used by stdio to
2411 * format long doubles (format 'e') for output.
2414 * This symbol, if defined, contains the string used by stdio to
2415 * format long doubles (format 'f') for input.
2417 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
2418 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
2419 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
2420 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
2423 * This symbol holds the type used to declare offsets in the kernel.
2424 * It can be int, long, off_t, etc... It may be necessary to include
2425 * <sys/types.h> to get any typedef'ed information.
2428 * This symbol holds the number of bytes used by the Off_t.
2431 * This symbol holds the number of bytes used by the Off_t.
2433 #define Off_t $lseektype /* <offset> type */
2434 #define LSEEKSIZE $lseeksize /* <offset> size */
2435 #define Off_t_size $lseeksize /* <offset> size */
2438 * This variable contains the return type of free(). It is usually
2439 * void, but occasionally int.
2442 * This symbol is the type of pointer returned by malloc and realloc.
2444 #define Malloc_t $malloctype /**/
2445 #define Free_t $freetype /**/
2448 * This symbol, if defined, indicates that we're using our own malloc.
2450 #$d_mymalloc MYMALLOC /**/
2453 * This symbol holds the type used to declare file modes
2454 * for systems calls. It is usually mode_t, but may be
2455 * int or unsigned short. It may be necessary to include <sys/types.h>
2456 * to get any typedef'ed information.
2458 #define Mode_t $modetype /* file mode parameter for system calls */
2461 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2462 * non-blocking I/O for the file descriptor. Note that there is no way
2463 * back, i.e. you cannot turn it blocking again this way. If you wish to
2464 * alternatively switch between blocking and non-blocking, use the
2465 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2468 * This symbol holds the errno error code set by read() when no data was
2469 * present on the non-blocking file descriptor.
2472 * This symbol holds the return code from read() when no data is present
2473 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2474 * not defined, then you can't distinguish between no data and EOF by
2475 * issuing a read(). You'll have to find another way to tell for sure!
2478 * This symbol, if defined, indicates to the C program that a read() on
2479 * a non-blocking file descriptor will return 0 on EOF, and not the value
2480 * held in RD_NODATA (-1 usually, in that case!).
2482 #define VAL_O_NONBLOCK $o_nonblock
2483 #define VAL_EAGAIN $eagain
2484 #define RD_NODATA $rd_nodata
2485 #$d_eofnblk EOF_NONBLOCK
2488 * This symbol holds the type used for the 1st argument
2489 * to gethostbyaddr().
2492 * This symbol holds the type used for the 2nd argument
2493 * to gethostbyaddr().
2496 * This symbol holds the type used for the argument to
2500 * This symbol holds the type used for the 1st argument to
2503 #define Netdb_host_t $netdb_host_type /**/
2504 #define Netdb_hlen_t $netdb_hlen_type /**/
2505 #define Netdb_name_t $netdb_name_type /**/
2506 #define Netdb_net_t $netdb_net_type /**/
2508 /* PERL_OTHERLIBDIRS:
2509 * This variable contains a colon-separated set of paths for the perl
2510 * binary to search for additional library files or modules.
2511 * These directories will be tacked to the end of @INC.
2512 * Perl will automatically search below each path for version-
2513 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2516 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
2519 * This symbol defines the C type used for Perl's IV.
2522 * This symbol defines the C type used for Perl's UV.
2525 * This symbol defines the C type used for Perl's I8.
2528 * This symbol defines the C type used for Perl's U8.
2531 * This symbol defines the C type used for Perl's I16.
2534 * This symbol defines the C type used for Perl's U16.
2537 * This symbol defines the C type used for Perl's I32.
2540 * This symbol defines the C type used for Perl's U32.
2543 * This symbol defines the C type used for Perl's I64.
2546 * This symbol defines the C type used for Perl's U64.
2549 * This symbol defines the C type used for Perl's NV.
2552 * This symbol contains the sizeof(IV).
2555 * This symbol contains the sizeof(UV).
2558 * This symbol contains the sizeof(I8).
2561 * This symbol contains the sizeof(U8).
2564 * This symbol contains the sizeof(I16).
2567 * This symbol contains the sizeof(U16).
2570 * This symbol contains the sizeof(I32).
2573 * This symbol contains the sizeof(U32).
2576 * This symbol contains the sizeof(I64).
2579 * This symbol contains the sizeof(U64).
2582 * This symbol contains the sizeof(NV).
2585 * This symbol, if defined, indicates that a variable of type NVTYPE
2586 * can preserve all the bits of a variable of type UVTYPE.
2588 /* NV_PRESERVES_UV_BITS:
2589 * This symbol contains the number of bits a variable of type NVTYPE
2590 * can preserve of a variable of type UVTYPE.
2592 #define IVTYPE $ivtype /**/
2593 #define UVTYPE $uvtype /**/
2594 #define I8TYPE $i8type /**/
2595 #define U8TYPE $u8type /**/
2596 #define I16TYPE $i16type /**/
2597 #define U16TYPE $u16type /**/
2598 #define I32TYPE $i32type /**/
2599 #define U32TYPE $u32type /**/
2600 #define NVTYPE $nvtype /**/
2601 #define IVSIZE $ivsize /**/
2602 #define UVSIZE $uvsize /**/
2603 #define I8SIZE $i8size /**/
2604 #define U8SIZE $u8size /**/
2605 #define I16SIZE $i16size /**/
2606 #define U16SIZE $u16size /**/
2607 #define I32SIZE $i32size /**/
2608 #define U32SIZE $u32size /**/
2609 #define NVSIZE $nvsize /**/
2610 #$d_nv_preserves_uv NV_PRESERVES_UV
2611 #define NV_PRESERVES_UV_BITS $d_nv_preserves_uv_bits
2614 * This symbol defines the format string used for printing a Perl IV
2615 * as a signed decimal integer.
2618 * This symbol defines the format string used for printing a Perl UV
2619 * as an unsigned decimal integer.
2622 * This symbol defines the format string used for printing a Perl UV
2623 * as an unsigned octal integer.
2626 * This symbol defines the format string used for printing a Perl UV
2627 * as an unsigned hexadecimal integer in lowercase abcdef.
2630 * This symbol defines the format string used for printing a Perl NV
2631 * using %e-ish floating point format.
2634 * This symbol defines the format string used for printing a Perl NV
2635 * using %f-ish floating point format.
2638 * This symbol defines the format string used for printing a Perl NV
2639 * using %g-ish floating point format.
2641 #define IVdf $ivdformat /**/
2642 #define UVuf $uvuformat /**/
2643 #define UVof $uvoformat /**/
2644 #define UVxf $uvxformat /**/
2645 #define NVef $nveformat /**/
2646 #define NVff $nvfformat /**/
2647 #define NVgf $nvgformat /**/
2650 * This symbol holds the type used to declare process ids in the kernel.
2651 * It can be int, uint, pid_t, etc... It may be necessary to include
2652 * <sys/types.h> to get any typedef'ed information.
2654 #define Pid_t $pidtype /* PID type */
2657 * This symbol contains the name of the private library for this package.
2658 * The library is private in the sense that it needn't be in anyone's
2659 * execution path, but it should be accessible by the world. The program
2660 * should be prepared to do ~ expansion.
2663 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2664 * in programs that are not prepared to deal with ~ expansion at run-time.
2666 #define PRIVLIB "$privlib" /**/
2667 #define PRIVLIB_EXP "$privlibexp" /**/
2670 * This symbol contains the size of a pointer, so that the C preprocessor
2671 * can make decisions based on it. It will be sizeof(void *) if
2672 * the compiler supports (void *); otherwise it will be
2675 #define PTRSIZE $ptrsize /**/
2678 * This macro is to be used to generate uniformly distributed
2679 * random numbers over the range [0., 1.[. You may have to supply
2680 * an 'extern double drand48();' in your program since SunOS 4.1.3
2681 * doesn't provide you with anything relevant in it's headers.
2682 * See HAS_DRAND48_PROTO.
2685 * This symbol defines the type of the argument of the
2686 * random seed function.
2689 * This symbol defines the macro to be used in seeding the
2690 * random number generator (see Drand01).
2693 * This symbol indicates how many bits are produced by the
2694 * function used to generate normalized random numbers.
2695 * Values include 15, 16, 31, and 48.
2697 #define Drand01() $drand01 /**/
2698 #define Rand_seed_t $randseedtype /**/
2699 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
2700 #define RANDBITS $randbits /**/
2703 * This symbol holds the minimum number of bits operated by select.
2704 * That is, if you do select(n, ...), how many bits at least will be
2705 * cleared in the masks if some activity is detected. Usually this
2706 * is either n or 32*ceil(n/32), especially many little-endians do
2707 * the latter. This is only useful if you have select(), naturally.
2709 #define SELECT_MIN_BITS $selectminbits /**/
2712 * This symbol holds the type used for the 2nd, 3rd, and 4th
2713 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2714 * is defined, and 'int *' otherwise. This is only useful if you
2715 * have select(), of course.
2717 #define Select_fd_set_t $selecttype /**/
2720 * This symbol contains a list of signal names in order of
2721 * signal number. This is intended
2722 * to be used as a static array initialization, like this:
2723 * char *sig_name[] = { SIG_NAME };
2724 * The signals in the list are separated with commas, and each signal
2725 * is surrounded by double quotes. There is no leading SIG in the signal
2726 * name, i.e. SIGQUIT is known as "QUIT".
2727 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2728 * etc., where nn is the actual signal number (e.g. NUM37).
2729 * The signal number for sig_name[i] is stored in sig_num[i].
2730 * The last element is 0 to terminate the list with a NULL. This
2731 * corresponds to the 0 at the end of the sig_num list.
2734 * This symbol contains a list of signal numbers, in the same order as the
2735 * SIG_NAME list. It is suitable for static array initialization, as in:
2736 * int sig_num[] = { SIG_NUM };
2737 * The signals in the list are separated with commas, and the indices
2738 * within that list and the SIG_NAME list match, so it's easy to compute
2739 * the signal name from a number or vice versa at the price of a small
2740 * dynamic linear lookup.
2741 * Duplicates are allowed, but are moved to the end of the list.
2742 * The signal number corresponding to sig_name[i] is sig_number[i].
2743 * if (i < NSIG) then sig_number[i] == i.
2744 * The last element is 0, corresponding to the 0 at the end of
2745 * the sig_name list.
2747 #define SIG_NAME $sig_name_init /**/
2748 #define SIG_NUM $sig_num_init /**/
2751 * This symbol contains the name of the private library for this package.
2752 * The library is private in the sense that it needn't be in anyone's
2753 * execution path, but it should be accessible by the world. The program
2754 * should be prepared to do ~ expansion.
2755 * The standard distribution will put nothing in this directory.
2756 * After perl has been installed, users may install their own local
2757 * architecture-dependent modules in this directory with
2758 * MakeMaker Makefile.PL
2759 * or equivalent. See INSTALL for details.
2762 * This symbol contains the ~name expanded version of SITEARCH, to be used
2763 * in programs that are not prepared to deal with ~ expansion at run-time.
2765 #define SITEARCH "$sitearch" /**/
2766 #define SITEARCH_EXP "$sitearchexp" /**/
2769 * This symbol contains the name of the private library for this package.
2770 * The library is private in the sense that it needn't be in anyone's
2771 * execution path, but it should be accessible by the world. The program
2772 * should be prepared to do ~ expansion.
2773 * The standard distribution will put nothing in this directory.
2774 * After perl has been installed, users may install their own local
2775 * architecture-independent modules in this directory with
2776 * MakeMaker Makefile.PL
2777 * or equivalent. See INSTALL for details.
2780 * This symbol contains the ~name expanded version of SITELIB, to be used
2781 * in programs that are not prepared to deal with ~ expansion at run-time.
2784 * This define is SITELIB_EXP with any trailing version-specific component
2785 * removed. The elements in inc_version_list (inc_version_list.U) can
2786 * be tacked onto this variable to generate a list of directories to search.
2788 #define SITELIB "$sitelib" /**/
2789 #define SITELIB_EXP "$sitelibexp" /**/
2790 #define SITELIB_STEM "$sitelib_stem" /**/
2793 * This symbol holds the size of a Size_t in bytes.
2795 #define Size_t_size $sizesize /* */
2798 * This symbol holds the type used to declare length parameters
2799 * for string functions. It is usually size_t, but may be
2800 * unsigned long, int, etc. It may be necessary to include
2801 * <sys/types.h> to get any typedef'ed information.
2803 #define Size_t $sizetype /* length paramater for string functions */
2806 * This symbol holds the type used for the size argument of
2807 * various socket calls (just the base type, not the pointer-to).
2809 #define Sock_size_t $socksizetype /**/
2812 * This symbol holds the type used by functions that return
2813 * a count of bytes or an error condition. It must be a signed type.
2814 * It is usually ssize_t, but may be long or int, etc.
2815 * It may be necessary to include <sys/types.h> or <unistd.h>
2816 * to get any typedef'ed information.
2817 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
2819 #define SSize_t $ssizetype /* signed count of bytes */
2822 * This variable contains the string to put in front of a perl
2823 * script to make sure (one hopes) that it runs with perl and not
2826 #define STARTPERL "$startperl" /**/
2828 /* HAS_STDIO_STREAM_ARRAY:
2829 * This symbol, if defined, tells that there is an array
2830 * holding the stdio streams.
2832 /* STDIO_STREAM_ARRAY:
2833 * This symbol tells the name of the array holding the stdio streams.
2834 * Usual values include _iob, __iob, and __sF.
2836 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
2837 #define STDIO_STREAM_ARRAY $stdio_stream_array
2840 * This symbol defines the format string used for printing a Uid_t.
2842 #define Uid_t_f $uidformat /**/
2845 * This symbol holds the signedess of a Uid_t.
2846 * 1 for unsigned, -1 for signed.
2848 #define Uid_t_sign $uidsign /* UID sign */
2851 * This symbol holds the size of a Uid_t in bytes.
2853 #define Uid_t_size $uidsize /* UID size */
2856 * This symbol holds the type used to declare user ids in the kernel.
2857 * It can be int, ushort, uid_t, etc... It may be necessary to include
2858 * <sys/types.h> to get any typedef'ed information.
2860 #define Uid_t $uidtype /* UID type */
2863 * This symbol, if defined, indicates that 64-bit integers should
2864 * be used when available. If not defined, the native integers
2865 * will be employed (be they 32 or 64 bits). The minimal possible
2866 * 64-bitness is used, just enough to get 64-bit integers into Perl.
2867 * This may mean using for example "long longs", while your memory
2868 * may still be limited to 2 gigabytes.
2871 * This symbol, if defined, indicates that 64-bit integers should
2872 * be used when available. If not defined, the native integers
2873 * will be used (be they 32 or 64 bits). The maximal possible
2874 * 64-bitness is employed: LP64 or ILP64, meaning that you will
2875 * be able to use more than 2 gigabytes of memory. This mode is
2876 * even more binary incompatible than USE_64_BIT_INT. You may not
2877 * be able to run the resulting executable in a 32-bit CPU at all or
2878 * you may need at least to reboot your OS to 64-bit mode.
2882 * This symbol, if defined, indicates that large file support
2883 * should be used when available.
2887 * This symbol, if defined, indicates that long doubles should
2888 * be used when available.
2892 * This symbol, if defined, indicates that 64-bit interfaces and
2893 * long doubles should be used when available.
2897 * This symbol, if defined, indicates that Perl should
2898 * be built to use multiplicity.
2902 * This symbol, if defined, indicates that the PerlIO abstraction should
2903 * be used throughout. If not defined, stdio should be
2904 * used in a fully backward compatible manner.
2908 * This symbol, if defined, indicates that Perl should
2909 * be built to use socks.
2912 #$usesocks USE_SOCKS /**/
2916 * This symbol, if defined, indicates that Perl should be built to
2917 * use the interpreter-based threading implementation.
2920 * This symbol, if defined, indicates that Perl should be built to
2921 * use the 5.005-based threading implementation.
2923 /* OLD_PTHREADS_API:
2924 * This symbol, if defined, indicates that Perl should
2925 * be built to use the old draft POSIX threads API.
2927 #$use5005threads USE_5005THREADS /**/
2928 #$useithreads USE_ITHREADS /**/
2929 #$d_oldpthreads OLD_PTHREADS_API /**/
2932 * If defined, this symbol contains the name of a private library.
2933 * The library is private in the sense that it needn't be in anyone's
2934 * execution path, but it should be accessible by the world.
2935 * It may have a ~ on the front.
2936 * The standard distribution will put nothing in this directory.
2937 * Vendors who distribute perl may wish to place their own
2938 * architecture-dependent modules and extensions in this directory with
2939 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2940 * or equivalent. See INSTALL for details.
2942 /* PERL_VENDORARCH_EXP:
2943 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2944 * in programs that are not prepared to deal with ~ expansion at run-time.
2946 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
2947 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
2949 /* PERL_VENDORLIB_EXP:
2950 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2951 * in programs that are not prepared to deal with ~ expansion at run-time.
2953 /* PERL_VENDORLIB_STEM:
2954 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2955 * removed. The elements in inc_version_list (inc_version_list.U) can
2956 * be tacked onto this variable to generate a list of directories to search.
2958 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
2959 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
2961 /* PERL_XS_APIVERSION:
2962 * This variable contains the version of the oldest perl binary
2963 * compatible with the present perl. perl.c:incpush() and
2964 * lib/lib.pm will automatically search in $sitearch for older
2965 * directories across major versions back to xs_apiversion.
2966 * This is only useful if you have a perl library directory tree
2967 * structured like the default one.
2968 * See INSTALL for how this works.
2969 * The versioned site_perl directory was introduced in 5.005,
2970 * so that is the lowest possible value.
2971 * Since this can depend on compile time options (such as
2972 * bincompat) it is set by Configure. Other non-default sources
2973 * of potential incompatibility, such as multiplicity, threads,
2974 * debugging, 64bits, sfio, etc., are not checked for currently,
2975 * though in principle we could go snooping around in old
2978 /* PERL_PM_APIVERSION:
2979 * This variable contains the version of the oldest perl
2980 * compatible with the present perl. (That is, pure perl modules
2981 * written for pm_apiversion will still work for the current
2982 * version). perl.c:incpush() and lib/lib.pm will automatically
2983 * search in $sitelib for older directories across major versions
2984 * back to pm_apiversion. This is only useful if you have a perl
2985 * library directory tree structured like the default one. The
2986 * versioned site_perl library was introduced in 5.005, so that's
2987 * the default setting for this variable. It's hard to imagine
2988 * it changing before Perl6. It is included here for symmetry
2989 * with xs_apiveprsion -- the searching algorithms will
2990 * (presumably) be similar.
2991 * See the INSTALL file for how this works.
2993 #define PERL_XS_APIVERSION "$xs_apiversion"
2994 #define PERL_PM_APIVERSION "$pm_apiversion"