3 if test -f config.sh; then TOP=.;
4 elif test -f ../config.sh; then TOP=..;
5 elif test -f ../../config.sh; then TOP=../..;
6 elif test -f ../../../config.sh; then TOP=../../..;
7 elif test -f ../../../../config.sh; then TOP=../../../..;
9 echo "Can't find config.sh."; exit 1
15 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
17 echo "Extracting config.h (with variable substitutions)"
18 sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
20 * This file was produced by running the config_h.SH script, which
21 * gets its values from config.sh, which is generally produced by
24 * Feel free to modify any of this as the need arises. Note, however,
25 * that running config_h.SH again will wipe out any changes you've made.
26 * For a more permanent change edit config.sh and rerun config_h.SH.
28 * \$Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
32 * Package name : $package
33 * Source directory : $src
34 * Configuration time: $cf_time
35 * Configured by : $cf_by
36 * Target system : $myuname
43 * This symbol holds the complete pathname to the sed program.
45 #define LOC_SED "$full_sed" /**/
48 * This symbol holds the path of the bin directory where the package will
49 * be installed. Program must be prepared to deal with ~name substitution.
52 * This symbol is the filename expanded version of the BIN symbol, for
53 * programs that do not want to deal with that at run-time.
55 #define BIN "$bin" /**/
56 #define BIN_EXP "$binexp" /**/
59 * This symbol, if defined, indicates that the alarm routine is
62 #$d_alarm HAS_ALARM /**/
65 * This symbol indicates the C compiler can check for function attributes,
66 * such as printf formats. This is normally only supported by GNU cc.
68 #$d_attribut HASATTRIBUTE /**/
70 #define __attribute__(_arg_)
74 * This symbol is defined if the bcmp() routine is available to
75 * compare blocks of memory.
77 #$d_bcmp HAS_BCMP /**/
80 * This symbol is defined if the bcopy() routine is available to
81 * copy blocks of memory.
83 #$d_bcopy HAS_BCOPY /**/
86 * This symbol is defined if the bzero() routine is available to
87 * set a memory block to 0.
89 #$d_bzero HAS_BZERO /**/
92 * This symbol, if defined, indicates that the chown routine is
95 #$d_chown HAS_CHOWN /**/
98 * This symbol, if defined, indicates that the chroot routine is
101 #$d_chroot HAS_CHROOT /**/
104 * This symbol, if defined, indicates that the chsize routine is available
105 * to truncate files. You might need a -lx to get this routine.
107 #$d_chsize HAS_CHSIZE /**/
110 * This symbol, if defined, indicates that this C compiler knows about
111 * the const type. There is no need to actually test for that symbol
112 * within your programs. The mere use of the "const" keyword will
113 * trigger the necessary tests.
115 #$d_const HASCONST /**/
121 * This symbol, if defined, indicates that the crypt routine is available
122 * to encrypt passwords and the like.
124 #$d_crypt HAS_CRYPT /**/
127 * This symbol, if defined, indicates that the cuserid routine is
128 * available to get character login names.
130 #$d_cuserid HAS_CUSERID /**/
133 * This symbol, if defined, indicates that this system's <float.h>
134 * or <limits.h> defines the symbol DBL_DIG, which is the number
135 * of significant digits in a double precision number. If this
136 * symbol is not defined, a guess of 15 is usually pretty good.
138 #$d_dbl_dig HAS_DBL_DIG /* */
141 * This symbol, if defined, indicates that the difftime routine is
144 #$d_difftime HAS_DIFFTIME /**/
147 * This symbol, if defined, indicates that the dlerror routine is
148 * available to return a string describing the last error that
149 * occurred from a call to dlopen(), dlclose() or dlsym().
151 #$d_dlerror HAS_DLERROR /**/
153 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
154 * This symbol, if defined, indicates that the bug that prevents
155 * setuid scripts from being secure is not present in this kernel.
158 * This symbol, if defined, indicates that the C program should
159 * check the script that it is executing for setuid/setgid bits, and
160 * attempt to emulate setuid/setgid on systems that have disabled
161 * setuid #! scripts because the kernel can't do it securely.
162 * It is up to the package designer to make sure that this emulation
163 * is done securely. Among other things, it should do an fstat on
164 * the script it just opened to make sure it really is a setuid/setgid
165 * script, it should make sure the arguments passed correspond exactly
166 * to the argument on the #! line, and it should not trust any
167 * subprocesses to which it must pass the filename rather than the
168 * file descriptor of the script to be executed.
170 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
171 #$d_dosuid DOSUID /**/
174 * This symbol, if defined, indicates that the dup2 routine is
175 * available to duplicate file descriptors.
177 #$d_dup2 HAS_DUP2 /**/
180 * This symbol, if defined, indicates that the fchmod routine is available
181 * to change mode of opened files. If unavailable, use chmod().
183 #$d_fchmod HAS_FCHMOD /**/
186 * This symbol, if defined, indicates that the fchown routine is available
187 * to change ownership of opened files. If unavailable, use chown().
189 #$d_fchown HAS_FCHOWN /**/
192 * This symbol, if defined, indicates to the C program that
193 * the fcntl() function exists.
195 #$d_fcntl HAS_FCNTL /**/
198 * This symbol, if defined, indicates that the fgetpos routine is
199 * available to get the file position indicator, similar to ftell().
201 #$d_fgetpos HAS_FGETPOS /**/
204 * This symbol, if defined, indicates that the system supports filenames
205 * longer than 14 characters.
207 #$d_flexfnam FLEXFILENAMES /**/
210 * This symbol, if defined, indicates that the flock routine is
211 * available to do file locking.
213 #$d_flock HAS_FLOCK /**/
216 * This symbol, if defined, indicates that the fork routine is
219 #$d_fork HAS_FORK /**/
222 * This symbol, if defined, indicates that the fsetpos routine is
223 * available to set the file position indicator, similar to fseek().
225 #$d_fsetpos HAS_FSETPOS /**/
228 * This symbol, if defined, indicates that the gettimeofday() system
229 * call is available for a sub-second accuracy clock. Usually, the file
230 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
231 * The type "Timeval" should be used to refer to "struct timeval".
233 #$d_gettimeod HAS_GETTIMEOFDAY /**/
234 #ifdef HAS_GETTIMEOFDAY
235 #define Timeval struct timeval /* Structure used by gettimeofday() */
239 * This symbol, if defined, indicates that the getgroups() routine is
240 * available to get the list of process groups. If unavailable, multiple
241 * groups are probably not supported.
243 #$d_getgrps HAS_GETGROUPS /**/
246 * This symbol, if defined, indicates that the C program may use the
247 * gethostname() routine to derive the host name. See also HAS_UNAME
251 * This symbol, if defined, indicates that the C program may use the
252 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
256 * This symbol, if defined, indicates that the C program may use the
257 * contents of PHOSTNAME as a command to feed to the popen() routine
258 * to derive the host name. See also HAS_GETHOSTNAME and HAS_UNAME.
259 * Note that the command uses a fully qualified path, so that it is safe
260 * even if used by a process with super-user privileges.
262 #$d_gethname HAS_GETHOSTNAME /**/
263 #$d_uname HAS_UNAME /**/
264 #$d_phostname PHOSTNAME "$aphostname" /* How to get the host name */
267 * This symbol, if defined, indicates that the getlogin routine is
268 * available to get the login name.
270 #$d_getlogin HAS_GETLOGIN /**/
273 * This symbol, if defined, indicates to the C program that
274 * the getpgid(pid) function is available to get the
277 #$d_getpgid HAS_GETPGID /**/
280 * This symbol, if defined, indicates that the getpgrp routine is
281 * available to get the current process group.
284 * This symbol, if defined, indicates that getpgrp needs one
285 * arguments whereas USG one needs none.
287 #$d_getpgrp HAS_GETPGRP /**/
288 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
291 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
292 * routine is available to get the current process group.
294 #$d_getpgrp2 HAS_GETPGRP2 /**/
297 * This symbol, if defined, indicates that the getppid routine is
298 * available to get the parent process ID.
300 #$d_getppid HAS_GETPPID /**/
303 * This symbol, if defined, indicates that the getpriority routine is
304 * available to get a process's priority.
306 #$d_getprior HAS_GETPRIORITY /**/
309 * This symbol, if defined, indicates to the C program that the
310 * inet_aton() function is available to parse IP address "dotted-quad"
313 #$d_inetaton HAS_INET_ATON /**/
316 * This symbol, if defined, indicates that the killpg routine is available
317 * to kill process groups. If unavailable, you probably should use kill
318 * with a negative process number.
320 #$d_killpg HAS_KILLPG /**/
323 * This symbol, if defined, indicates that the link routine is
324 * available to create hard links.
326 #$d_link HAS_LINK /**/
329 * This symbol, if defined, indicates that the localeconv routine is
330 * available for numeric and monetary formatting conventions.
332 #$d_locconv HAS_LOCALECONV /**/
335 * This symbol, if defined, indicates that the lockf routine is
336 * available to do file locking.
338 #$d_lockf HAS_LOCKF /**/
341 * This symbol, if defined, indicates that the lstat routine is
342 * available to do file stats on symbolic links.
344 #$d_lstat HAS_LSTAT /**/
347 * This symbol, if defined, indicates that the mblen routine is available
348 * to find the number of bytes in a multibye character.
350 #$d_mblen HAS_MBLEN /**/
353 * This symbol, if defined, indicates that the mbstowcs routine is
354 * available to covert a multibyte string into a wide character string.
356 #$d_mbstowcs HAS_MBSTOWCS /**/
359 * This symbol, if defined, indicates that the mbtowc routine is available
360 * to covert a multibyte to a wide character.
362 #$d_mbtowc HAS_MBTOWC /**/
365 * This symbol, if defined, indicates that the memcmp routine is available
366 * to compare blocks of memory.
368 #$d_memcmp HAS_MEMCMP /**/
371 * This symbol, if defined, indicates that the memcpy routine is available
372 * to copy blocks of memory.
374 #$d_memcpy HAS_MEMCPY /**/
377 * This symbol, if defined, indicates that the memmove routine is available
378 * to copy potentially overlapping blocks of memory. This should be used
379 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
382 #$d_memmove HAS_MEMMOVE /**/
385 * This symbol, if defined, indicates that the memset routine is available
386 * to set blocks of memory.
388 #$d_memset HAS_MEMSET /**/
391 * This symbol, if defined, indicates that the mkdir routine is available
392 * to create directories. Otherwise you should fork off a new process to
395 #$d_mkdir HAS_MKDIR /**/
398 * This symbol, if defined, indicates that the mkfifo routine is
399 * available to create FIFOs. Otherwise, mknod should be able to
400 * do it for you. However, if mkfifo is there, mknod might require
401 * super-user privileges which mkfifo will not.
403 #$d_mkfifo HAS_MKFIFO /**/
406 * This symbol, if defined, indicates that the mktime routine is
409 #$d_mktime HAS_MKTIME /**/
412 * This symbol, if defined, indicates that the nice routine is
415 #$d_nice HAS_NICE /**/
418 * This symbol, if defined, indicates that pathconf() is available
419 * to determine file-system related limits and options associated
420 * with a given filename.
423 * This symbol, if defined, indicates that pathconf() is available
424 * to determine file-system related limits and options associated
425 * with a given open file descriptor.
427 #$d_pathconf HAS_PATHCONF /**/
428 #$d_fpathconf HAS_FPATHCONF /**/
431 * This symbol, if defined, indicates that the pause routine is
432 * available to suspend a process until a signal is received.
434 #$d_pause HAS_PAUSE /**/
437 * This symbol, if defined, indicates that the pipe routine is
438 * available to create an inter-process channel.
440 #$d_pipe HAS_PIPE /**/
443 * This symbol, if defined, indicates that the poll routine is
444 * available to poll active file descriptors. You may safely
445 * include <poll.h> when this symbol is defined.
447 #$d_poll HAS_POLL /**/
450 * This symbol, if defined, indicates that the readdir routine is
451 * available to read directory entries. You may have to include
452 * <dirent.h>. See I_DIRENT.
454 #$d_readdir HAS_READDIR /**/
457 * This symbol, if defined, indicates that the seekdir routine is
458 * available. You may have to include <dirent.h>. See I_DIRENT.
460 #$d_seekdir HAS_SEEKDIR /**/
463 * This symbol, if defined, indicates that the telldir routine is
464 * available. You may have to include <dirent.h>. See I_DIRENT.
466 #$d_telldir HAS_TELLDIR /**/
469 * This symbol, if defined, indicates that the rewinddir routine is
470 * available. You may have to include <dirent.h>. See I_DIRENT.
472 #$d_rewinddir HAS_REWINDDIR /**/
475 * This symbol, if defined, indicates that the readlink routine is
476 * available to read the value of a symbolic link.
478 #$d_readlink HAS_READLINK /**/
481 * This symbol, if defined, indicates that the rename routine is available
482 * to rename files. Otherwise you should do the unlink(), link(), unlink()
485 #$d_rename HAS_RENAME /**/
488 * This symbol, if defined, indicates that the rmdir routine is
489 * available to remove directories. Otherwise you should fork off a
490 * new process to exec /bin/rmdir.
492 #$d_rmdir HAS_RMDIR /**/
495 * This symbol, if defined, indicates that the select routine is
496 * available to select active file descriptors. If the timeout field
497 * is used, <sys/time.h> may need to be included.
499 #$d_select HAS_SELECT /**/
502 * This symbol, if defined, indicates that the setegid routine is available
503 * to change the effective gid of the current program.
505 #$d_setegid HAS_SETEGID /**/
508 * This symbol, if defined, indicates that the seteuid routine is available
509 * to change the effective uid of the current program.
511 #$d_seteuid HAS_SETEUID /**/
514 * This symbol, if defined, indicates that the setlinebuf routine is
515 * available to change stderr or stdout from block-buffered or unbuffered
516 * to a line-buffered mode.
518 #$d_setlinebuf HAS_SETLINEBUF /**/
521 * This symbol, if defined, indicates that the setlocale routine is
522 * available to handle locale-specific ctype implementations.
524 #$d_setlocale HAS_SETLOCALE /**/
527 * This symbol, if defined, indicates that the setpgid(pid, gpid)
528 * routine is available to set process group ID.
530 #$d_setpgid HAS_SETPGID /**/
533 * This symbol, if defined, indicates that the setpgrp routine is
534 * available to set the current process group.
537 * This symbol, if defined, indicates that setpgrp needs two
538 * arguments whereas USG one needs none. See also HAS_SETPGID
539 * for a POSIX interface.
541 #$d_setpgrp HAS_SETPGRP /**/
542 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
545 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
546 * routine is available to set the current process group.
548 #$d_setpgrp2 HAS_SETPGRP2 /**/
551 * This symbol, if defined, indicates that the setpriority routine is
552 * available to set a process's priority.
554 #$d_setprior HAS_SETPRIORITY /**/
557 * This symbol, if defined, indicates that the setregid routine is
558 * available to change the real and effective gid of the current
562 * This symbol, if defined, indicates that the setresgid routine is
563 * available to change the real, effective and saved gid of the current
566 #$d_setregid HAS_SETREGID /**/
567 #$d_setresgid HAS_SETRESGID /**/
570 * This symbol, if defined, indicates that the setreuid routine is
571 * available to change the real and effective uid of the current
575 * This symbol, if defined, indicates that the setresuid routine is
576 * available to change the real, effective and saved uid of the current
579 #$d_setreuid HAS_SETREUID /**/
580 #$d_setresuid HAS_SETRESUID /**/
583 * This symbol, if defined, indicates that the setrgid routine is available
584 * to change the real gid of the current program.
586 #$d_setrgid HAS_SETRGID /**/
589 * This symbol, if defined, indicates that the setruid routine is available
590 * to change the real uid of the current program.
592 #$d_setruid HAS_SETRUID /**/
595 * This symbol, if defined, indicates that the setsid routine is
596 * available to set the process group ID.
598 #$d_setsid HAS_SETSID /**/
601 * This symbol holds the return type of the shmat() system call.
602 * Usually set to 'void *' or 'char *'.
604 /* HAS_SHMAT_PROTOTYPE:
605 * This symbol, if defined, indicates that the sys/shm.h includes
606 * a prototype for shmat(). Otherwise, it is up to the program to
607 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
608 * but not always right so it should be emitted by the program only
609 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
611 #define Shmat_t $shmattype /**/
612 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
615 * This symbol is defined to indicate that the strchr()/strrchr()
616 * functions are available for string searching. If not, try the
617 * index()/rindex() pair.
620 * This symbol is defined to indicate that the index()/rindex()
621 * functions are available for string searching.
623 #$d_strchr HAS_STRCHR /**/
624 #$d_index HAS_INDEX /**/
627 * This symbol, if defined, indicates that the strcoll routine is
628 * available to compare strings using collating information.
630 #$d_strcoll HAS_STRCOLL /**/
633 * This symbol, if defined, indicates that this C compiler knows how
634 * to copy structures. If undefined, you'll need to use a block copy
635 * routine of some sort instead.
637 #$d_strctcpy USE_STRUCT_COPY /**/
640 * This symbol, if defined, indicates that the strtod routine is
641 * available to provide better numeric string conversion than atof().
643 #$d_strtod HAS_STRTOD /**/
646 * This symbol, if defined, indicates that the strtol routine is available
647 * to provide better numeric string conversion than atoi() and friends.
649 #$d_strtol HAS_STRTOL /**/
652 * This symbol, if defined, indicates that the strtoul routine is
653 * available to provide conversion of strings to unsigned long.
655 #$d_strtoul HAS_STRTOUL /**/
658 * This symbol, if defined, indicates that the strxfrm() routine is
659 * available to transform strings.
661 #$d_strxfrm HAS_STRXFRM /**/
664 * This symbol, if defined, indicates that the symlink routine is available
665 * to create symbolic links.
667 #$d_symlink HAS_SYMLINK /**/
670 * This symbol, if defined, indicates that the syscall routine is
671 * available to call arbitrary system calls. If undefined, that's tough.
673 #$d_syscall HAS_SYSCALL /**/
676 * This symbol, if defined, indicates that sysconf() is available
677 * to determine system related limits and options.
679 #$d_sysconf HAS_SYSCONF /**/
682 * This symbol, if defined, indicates that the system routine is
683 * available to issue a shell command.
685 #$d_system HAS_SYSTEM /**/
688 * This symbol, if defined, indicates that the tcgetpgrp routine is
689 * available to get foreground process group ID.
691 #$d_tcgetpgrp HAS_TCGETPGRP /**/
694 * This symbol, if defined, indicates that the tcsetpgrp routine is
695 * available to set foreground process group ID.
697 #$d_tcsetpgrp HAS_TCSETPGRP /**/
700 * This symbol, if defined, indicates that the truncate routine is
701 * available to truncate files.
703 #$d_truncate HAS_TRUNCATE /**/
706 * This symbol, if defined, indicates that the tzname[] array is
707 * available to access timezone names.
709 #$d_tzname HAS_TZNAME /**/
712 * This symbol, if defined, indicates that the umask routine is
713 * available to set and get the value of the file creation mask.
715 #$d_umask HAS_UMASK /**/
718 * This symbol, if defined, indicates that vfork() exists.
720 #$d_vfork HAS_VFORK /**/
723 * This symbol, if defined, indicates that this C compiler knows about
724 * the volatile declaration.
726 #$d_volatile HASVOLATILE /**/
732 * This symbol, if defined, indicates that wait4() exists.
734 #$d_wait4 HAS_WAIT4 /**/
737 * This symbol, if defined, indicates that the waitpid routine is
738 * available to wait for child process.
740 #$d_waitpid HAS_WAITPID /**/
743 * This symbol, if defined, indicates that the wcstombs routine is
744 * available to convert wide character strings to multibyte strings.
746 #$d_wcstombs HAS_WCSTOMBS /**/
749 * This symbol, if defined, indicates that the wctomb routine is available
750 * to covert a wide character to a multibyte.
752 #$d_wctomb HAS_WCTOMB /**/
755 * This symbol, if defined, indicates to the C program that it should
756 * include <arpa/inet.h> to get inet_addr and friends declarations.
758 #$i_arpainet I_ARPA_INET /**/
761 * This symbol, if defined, indicates that <dbm.h> exists and should
765 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
766 * should be included.
769 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
772 * This symbol, if defined, indicates to the C program that it should
773 * include <dirent.h>. Using this symbol also triggers the definition
774 * of the Direntry_t define which ends up being 'struct dirent' or
775 * 'struct direct' depending on the availability of <dirent.h>.
778 * This symbol, if defined, indicates to the C program that the length
779 * of directory entry names is provided by a d_namlen field. Otherwise
780 * you need to do strlen() on the d_name field.
783 * This symbol is set to 'struct direct' or 'struct dirent' depending on
784 * whether dirent is available or not. You should use this pseudo type to
785 * portably declare your directory entries.
787 #$i_dirent I_DIRENT /**/
788 #$d_dirnamlen DIRNAMLEN /**/
789 #define Direntry_t $direntrytype
792 * This symbol, if defined, indicates that <dlfcn.h> exists and should
795 #$i_dlfcn I_DLFCN /**/
798 * This manifest constant tells the C program to include <fcntl.h>.
800 #$i_fcntl I_FCNTL /**/
803 * This symbol, if defined, indicates to the C program that it should
804 * include <float.h> to get definition of symbols like DBL_MAX or
805 * DBL_MIN, i.e. machine dependent floating point values.
807 #$i_float I_FLOAT /**/
810 * This symbol, if defined, indicates to the C program that it should
811 * include <limits.h> to get definition of symbols like WORD_BIT or
812 * LONG_MAX, i.e. machine dependant limitations.
814 #$i_limits I_LIMITS /**/
817 * This symbol, if defined, indicates to the C program that it should
818 * include <locale.h>.
820 #$i_locale I_LOCALE /**/
823 * This symbol, if defined, indicates to the C program that it should
829 * This symbol, if defined, indicates to the C program that it should
830 * include <memory.h>.
832 #$i_memory I_MEMORY /**/
835 * This symbol, if defined, indicates that <ndbm.h> exists and should
841 * This symbol, if defined, indicates that <net/errno.h> exists and
842 * should be included.
844 #$i_neterrno I_NET_ERRNO /**/
847 * This symbol, if defined, indicates to the C program that it should
848 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
850 #$i_niin I_NETINET_IN /**/
853 * This symbol, if defined, indicates to the C program that it should
859 * This symbol, if defined, indicates that <stddef.h> exists and should
862 #$i_stddef I_STDDEF /**/
865 * This symbol, if defined, indicates that <stdlib.h> exists and should
868 #$i_stdlib I_STDLIB /**/
871 * This symbol, if defined, indicates to the C program that it should
872 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
874 #$i_string I_STRING /**/
877 * This symbol, if defined, indicates to the C program that it should
878 * include <sys/dir.h>.
880 #$i_sysdir I_SYS_DIR /**/
883 * This symbol, if defined, indicates to the C program that it should
884 * include <sys/file.h> to get definition of R_OK and friends.
886 #$i_sysfile I_SYS_FILE /**/
889 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
890 * be included. Otherwise, include <sgtty.h> or <termio.h>.
892 #$i_sysioctl I_SYS_IOCTL /**/
895 * This symbol, if defined, indicates to the C program that it should
896 * include <sys/ndir.h>.
898 #$i_sysndir I_SYS_NDIR /**/
901 * This symbol, if defined, indicates to the C program that it should
902 * include <sys/param.h>.
904 #$i_sysparam I_SYS_PARAM /**/
907 * This symbol, if defined, indicates to the C program that it should
908 * include <sys/resource.h>.
910 #$i_sysresrc I_SYS_RESOURCE /**/
913 * This symbol, if defined, indicates to the C program that it should
914 * include <sys/select.h> in order to get definition of struct timeval.
916 #$i_sysselct I_SYS_SELECT /**/
919 * This symbol, if defined, indicates to the C program that it should
920 * include <sys/stat.h>.
922 #$i_sysstat I_SYS_STAT /**/
925 * This symbol, if defined, indicates to the C program that it should
926 * include <sys/times.h>.
928 #$i_systimes I_SYS_TIMES /**/
931 * This symbol, if defined, indicates to the C program that it should
932 * include <sys/types.h>.
934 #$i_systypes I_SYS_TYPES /**/
937 * This symbol, if defined, indicates to the C program that it should
938 * include <sys/un.h> to get UNIX domain socket definitions.
940 #$i_sysun I_SYS_UN /**/
943 * This symbol, if defined, indicates to the C program that it should
944 * include <sys/wait.h>.
946 #$i_syswait I_SYS_WAIT /**/
949 * This symbol, if defined, indicates that the program should include
950 * <termio.h> rather than <sgtty.h>. There are also differences in
951 * the ioctl() calls that depend on the value of this symbol.
954 * This symbol, if defined, indicates that the program should include
955 * the POSIX termios.h rather than sgtty.h or termio.h.
956 * There are also differences in the ioctl() calls that depend on the
957 * value of this symbol.
960 * This symbol, if defined, indicates that the program should include
961 * <sgtty.h> rather than <termio.h>. There are also differences in
962 * the ioctl() calls that depend on the value of this symbol.
964 #$i_termio I_TERMIO /**/
965 #$i_termios I_TERMIOS /**/
966 #$i_sgtty I_SGTTY /**/
969 * This symbol, if defined, indicates to the C program that it should
970 * include <unistd.h>.
972 #$i_unistd I_UNISTD /**/
975 * This symbol, if defined, indicates to the C program that it should
978 #$i_utime I_UTIME /**/
981 * This symbol, if defined, indicates to the C program that it should
982 * include <values.h> to get definition of symbols like MINFLOAT or
983 * MAXLONG, i.e. machine dependant limitations. Probably, you
984 * should use <limits.h> instead, if it is available.
986 #$i_values I_VALUES /**/
989 * This symbol, if defined, indicates that <stdarg.h> exists and should
993 * This symbol, if defined, indicates to the C program that it should
994 * include <varargs.h>.
996 #$i_stdarg I_STDARG /**/
997 #$i_varargs I_VARARGS /**/
1000 * This symbol, if defined, indicates to the C program that it should
1003 #$i_vfork I_VFORK /**/
1006 * If defined, this macro indicates that the C compiler can handle
1007 * function prototypes.
1010 * This macro is used to declare function parameters for folks who want
1011 * to make declarations with prototypes using a different style than
1012 * the above macros. Use double parentheses. For example:
1014 * int main _((int argc, char *argv[]));
1016 #$prototype CAN_PROTOTYPE /**/
1017 #ifdef CAN_PROTOTYPE
1018 #define _(args) args
1024 * This symbol contains the full pathname to the shell used on this
1025 * on this system to execute Bourne shell scripts. Usually, this will be
1026 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1027 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1030 #define SH_PATH "$sh" /**/
1033 * This symbol is defined to be the type of char used in stdio.h.
1034 * It has the values "unsigned char" or "char".
1036 #define STDCHAR $stdchar /**/
1039 * This symbol, if defined, indicates that the accessx routine is
1040 * available to do extended access checks.
1042 #$d_accessx HAS_ACCESSX /**/
1045 * This symbol, if defined, indicates that the eaccess routine is
1046 * available to do extended access checks.
1048 #$d_eaccess HAS_EACCESS /**/
1051 * This symbol, if defined, indicates to the C program that it should
1052 * include <sys/access.h>.
1054 #$i_sysaccess I_SYS_ACCESS /**/
1057 * This symbol, if defined, indicates to the C program that it should
1058 * include <sys/security.h>.
1060 #$i_syssecrt I_SYS_SECURITY /**/
1063 * This symbol contains the number of bytes required to align a
1064 * double. Usual values are 2, 4 and 8.
1065 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
1066 * Binaries (MAB) for targets with varying alignment. This only matters
1067 * for perl, where the config.h can be generated and installed on one
1068 * system, and used by a different architecture to build an extension.
1069 * The default is eight, for safety.
1071 #define MEM_ALIGNBYTES $alignbytes /**/
1074 * This symbol holds the hexadecimal constant defined in byteorder,
1075 * i.e. 0x1234 or 0x4321, etc...
1076 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1077 * Binaries (MAB) on either big endian or little endian machines.
1078 * The endian-ness is available at compile-time. This only matters
1079 * for perl, where the config.h can be generated and installed on
1080 * one system, and used by a different architecture to build an
1081 * extension. Older versions of NeXT that might not have
1082 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1083 * so the default case (for NeXT) is big endian to catch them.
1084 * This might matter for NeXT 3.0.
1087 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1089 #ifdef __LITTLE_ENDIAN__
1090 #define BYTEORDER 0x1234
1091 #else /* __BIG_ENDIAN__ */
1092 #define BYTEORDER 0x4321
1093 #endif /* ENDIAN CHECK */
1097 * This symbol is defined if the C compiler can cast negative
1098 * or large floating point numbers to 32-bit ints.
1100 #$d_casti32 CASTI32 /**/
1103 * This symbol is defined if the C compiler can cast negative
1104 * numbers to unsigned longs, ints and shorts.
1107 * This symbol contains flags that say what difficulties the compiler
1108 * has casting odd floating values to unsigned long:
1110 * 1 = couldn't cast < 0
1111 * 2 = couldn't cast >= 0x80000000
1112 * 4 = couldn't cast in argument expression list
1114 #$d_castneg CASTNEGFLOAT /**/
1115 #define CASTFLAGS $castflags /**/
1118 * This symbol, if defined, indicates that the closedir() routine
1119 * does not return a value.
1121 #$d_void_closedir VOID_CLOSEDIR /**/
1124 * This symbol, when defined, indicates presence of the fd_set typedef
1127 #$d_fd_set HAS_FD_SET /**/
1130 * This preprocessor macro is defined to convert a floating point
1131 * number to a string without a trailing decimal point. This
1132 * emulates the behavior of sprintf("%g"), but is sometimes much more
1133 * efficient. If gconvert() is not available, but gcvt() drops the
1134 * trailing decimal point, then gcvt() is used. If all else fails,
1135 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1136 * macro are: value, number of digits, whether trailing zeros should
1137 * be retained, and the output buffer.
1138 * Possible values are:
1139 * d_Gconvert='gconvert((x),(n),(t),(b))'
1140 * d_Gconvert='gcvt((x),(n),(b))'
1141 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1142 * The last two assume trailing zeros should not be kept.
1144 #define Gconvert(x,n,t,b) $d_Gconvert
1147 * This symbol, if defined, indicates to the C program that
1148 * the GNU C library is being used.
1150 #$d_gnulibc HAS_GNULIBC /**/
1152 * This manifest constant lets the C program know that isascii
1155 #$d_isascii HAS_ISASCII /**/
1158 * This symbol, if defined, indicates that the lchown routine is
1159 * available to operate on a symbolic link (instead of following the
1162 #$d_lchown HAS_LCHOWN /**/
1165 * This manifest constant lets the C program know that the three
1166 * argument form of open(2) is available.
1168 #$d_open3 HAS_OPEN3 /**/
1171 * This symbol, if defined, indicates that the bcopy routine is available
1172 * to copy potentially overlapping memory blocks. Otherwise you should
1173 * probably use memmove() or memcpy(). If neither is defined, roll your
1176 #$d_safebcpy HAS_SAFE_BCOPY /**/
1179 * This symbol, if defined, indicates that the memcpy routine is available
1180 * to copy potentially overlapping memory blocks. Otherwise you should
1181 * probably use memmove() or memcpy(). If neither is defined, roll your
1184 #$d_safemcpy HAS_SAFE_MEMCPY /**/
1187 * This symbol, if defined, indicates that the memcmp routine is available
1188 * and can be used to compare relative magnitudes of chars with their high
1189 * bits set. If it is not defined, roll your own version.
1191 #$d_sanemcmp HAS_SANE_MEMCMP /**/
1194 * This symbol, if defined, indicates that Vr4's sigaction() routine
1197 #$d_sigaction HAS_SIGACTION /**/
1200 * This variable indicates to the C program that the sigsetjmp()
1201 * routine is available to save the calling process's registers
1202 * and stack environment for later use by siglongjmp(), and
1203 * to optionally save the process's signal mask. See
1204 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1207 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1210 * This macro is used in the same way as sigsetjmp(), but will invoke
1211 * traditional setjmp() if sigsetjmp isn't available.
1212 * See HAS_SIGSETJMP.
1215 * This macro is used in the same way as siglongjmp(), but will invoke
1216 * traditional longjmp() if siglongjmp isn't available.
1217 * See HAS_SIGSETJMP.
1219 #$d_sigsetjmp HAS_SIGSETJMP /**/
1220 #ifdef HAS_SIGSETJMP
1221 #define Sigjmp_buf sigjmp_buf
1222 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1223 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1225 #define Sigjmp_buf jmp_buf
1226 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1227 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1231 * This symbol is defined if the _ptr and _cnt fields (or similar)
1232 * of the stdio FILE structure can be used to access the stdio buffer
1233 * for a file handle. If this is defined, then the FILE_ptr(fp)
1234 * and FILE_cnt(fp) macros will also be defined and should be used
1235 * to access these fields.
1238 * This macro is used to access the _ptr field (or equivalent) of the
1239 * FILE structure pointed to by its argument. This macro will always be
1240 * defined if USE_STDIO_PTR is defined.
1242 /* STDIO_PTR_LVALUE:
1243 * This symbol is defined if the FILE_ptr macro can be used as an
1247 * This macro is used to access the _cnt field (or equivalent) of the
1248 * FILE structure pointed to by its argument. This macro will always be
1249 * defined if USE_STDIO_PTR is defined.
1251 /* STDIO_CNT_LVALUE:
1252 * This symbol is defined if the FILE_cnt macro can be used as an
1255 #$d_stdstdio USE_STDIO_PTR /**/
1256 #ifdef USE_STDIO_PTR
1257 #define FILE_ptr(fp) $stdio_ptr
1258 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
1259 #define FILE_cnt(fp) $stdio_cnt
1260 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
1264 * This symbol is defined if the _base field (or similar) of the
1265 * stdio FILE structure can be used to access the stdio buffer for
1266 * a file handle. If this is defined, then the FILE_base(fp) macro
1267 * will also be defined and should be used to access this field.
1268 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1269 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1270 * will never be defined unless USE_STDIO_PTR is.
1273 * This macro is used to access the _base field (or equivalent) of the
1274 * FILE structure pointed to by its argument. This macro will always be
1275 * defined if USE_STDIO_BASE is defined.
1278 * This macro is used to determine the number of bytes in the I/O
1279 * buffer pointed to by _base field (or equivalent) of the FILE
1280 * structure pointed to its argument. This macro will always be defined
1281 * if USE_STDIO_BASE is defined.
1283 #$d_stdiobase USE_STDIO_BASE /**/
1284 #ifdef USE_STDIO_BASE
1285 #define FILE_base(fp) $stdio_base
1286 #define FILE_bufsiz(fp) $stdio_bufsiz
1290 * This symbol, if defined, indicates that the vprintf routine is available
1291 * to printf with a pointer to an argument list. If unavailable, you
1292 * may need to write your own, probably in terms of _doprnt().
1294 /* USE_CHAR_VSPRINTF:
1295 * This symbol is defined if this system has vsprintf() returning type
1296 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1297 * is up to the package author to declare vsprintf correctly based on the
1300 #$d_vprintf HAS_VPRINTF /**/
1301 #$d_charvspr USE_CHAR_VSPRINTF /**/
1304 * This symbol contains the size of a double, so that the C preprocessor
1305 * can make decisions based on it.
1307 #define DOUBLESIZE $doublesize /**/
1310 * This symbol, if defined, indicates to the C program that it should
1314 * This symbol, if defined, indicates to the C program that it should
1315 * include <sys/time.h>.
1317 /* I_SYS_TIME_KERNEL:
1318 * This symbol, if defined, indicates to the C program that it should
1319 * include <sys/time.h> with KERNEL defined.
1321 #$i_time I_TIME /**/
1322 #$i_systime I_SYS_TIME /**/
1323 #$i_systimek I_SYS_TIME_KERNEL /**/
1326 * This symbol contains the value of sizeof(int) so that the C
1327 * preprocessor can make decisions based on it.
1330 * This symbol contains the value of sizeof(long) so that the C
1331 * preprocessor can make decisions based on it.
1334 * This symbol contains the value of sizeof(short) so that the C
1335 * preprocessor can make decisions based on it.
1337 #define INTSIZE $intsize /**/
1338 #define LONGSIZE $longsize /**/
1339 #define SHORTSIZE $shortsize /**/
1342 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1343 * non-blocking I/O for the file descriptor. Note that there is no way
1344 * back, i.e. you cannot turn it blocking again this way. If you wish to
1345 * alternatively switch between blocking and non-blocking, use the
1346 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1349 * This symbol holds the errno error code set by read() when no data was
1350 * present on the non-blocking file descriptor.
1353 * This symbol holds the return code from read() when no data is present
1354 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1355 * not defined, then you can't distinguish between no data and EOF by
1356 * issuing a read(). You'll have to find another way to tell for sure!
1359 * This symbol, if defined, indicates to the C program that a read() on
1360 * a non-blocking file descriptor will return 0 on EOF, and not the value
1361 * held in RD_NODATA (-1 usually, in that case!).
1363 #define VAL_O_NONBLOCK $o_nonblock
1364 #define VAL_EAGAIN $eagain
1365 #define RD_NODATA $rd_nodata
1366 #$d_eofnblk EOF_NONBLOCK
1369 * This symbol contains the size of a pointer, so that the C preprocessor
1370 * can make decisions based on it. It will be sizeof(void *) if
1371 * the compiler supports (void *); otherwise it will be
1374 #define PTRSIZE $ptrsize /**/
1377 * This macro is to be used to generate uniformly distributed
1378 * random numbers over the range [0., 1.[. You may have to supply
1379 * an 'extern double drand48();' in your program since SunOS 4.1.3
1380 * doesn't provide you with anything relevant in it's headers.
1381 * See HAS_DRAND48_PROTO.
1384 * This symbol defines the type of the argument of the
1385 * random seed function.
1388 * This symbol defines the macro to be used in seeding the
1389 * random number generator (see Drand01).
1392 * This symbol indicates how many bits are produced by the
1393 * function used to generate normalized random numbers.
1394 * Values include 15, 16, 31, and 48.
1396 #define Drand01() $drand01 /**/
1397 #define Rand_seed_t $randseedtype /**/
1398 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
1399 #define RANDBITS $randbits /**/
1402 * This symbol holds the type used by functions that return
1403 * a count of bytes or an error condition. It must be a signed type.
1404 * It is usually ssize_t, but may be long or int, etc.
1405 * It may be necessary to include <sys/types.h> or <unistd.h>
1406 * to get any typedef'ed information.
1407 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1409 #define SSize_t $ssizetype /* signed count of bytes */
1412 * This symbol, if defined, indicates that this system uses
1415 #$ebcdic EBCDIC /**/
1418 * This symbol contains the name of the operating system, as determined
1419 * by Configure. You shouldn't rely on it too much; the specific
1420 * feature tests from Configure are generally more reliable.
1422 #define OSNAME "$osname" /**/
1425 * This macro catenates 2 tokens together.
1428 * This macro surrounds its token with double quotes.
1431 #define CAT2(a,b)a/**/b
1432 #define STRINGIFY(a)"a"
1433 /* If you can get stringification with catify, tell me how! */
1435 #if $cpp_stuff == 42
1436 #define CAT2(a,b)a ## b
1437 #define StGiFy(a)# a
1438 #define STRINGIFY(a)StGiFy(a)
1440 #if $cpp_stuff != 1 && $cpp_stuff != 42
1441 #include "Bletch: How does this C preprocessor catenate tokens?"
1445 * This symbol contains the first part of the string which will invoke
1446 * the C preprocessor on the standard input and produce to standard
1447 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1448 * call a wrapper. See CPPRUN.
1451 * This symbol contains the second part of the string which will invoke
1452 * the C preprocessor on the standard input and produce to standard
1453 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1454 * to specify standard input, otherwise the value is "".
1457 * This symbol contains the string which will invoke a C preprocessor on
1458 * the standard input and produce to standard output. It needs to end
1459 * with CPPLAST, after all other preprocessor flags have been specified.
1460 * The main difference with CPPSTDIN is that this program will never be a
1461 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1462 * available directly to the user. Note that it may well be different from
1463 * the preprocessor used to compile the C program.
1465 #define CPPSTDIN "$cppstdin"
1466 #define CPPMINUS "$cppminus"
1467 #define CPPRUN "$cpprun"
1470 * This manifest constant lets the C program know that the access()
1471 * system call is available to check for accessibility using real UID/GID.
1472 * (always present on UNIX.)
1474 #$d_access HAS_ACCESS /**/
1477 * This symbol, if defined, indicates that the C-shell exists.
1480 * This symbol, if defined, contains the full pathname of csh.
1482 #$d_csh HAS_CSH /**/
1484 #define CSH "$full_csh" /**/
1488 * This symbol, if defined, indicates that the getgrent routine is
1489 * available for finalizing sequential access of the group database.
1491 #$d_endgrent HAS_ENDGRENT /**/
1494 * This symbol, if defined, indicates that the endhostent() routine is
1495 * available to close whatever was being used for host queries.
1497 #$d_endhent HAS_ENDHOSTENT /**/
1500 * This symbol, if defined, indicates that the endnetent() routine is
1501 * available to close whatever was being used for network queries.
1503 #$d_endnent HAS_ENDNETENT /**/
1506 * This symbol, if defined, indicates that the endprotoent() routine is
1507 * available to close whatever was being used for protocol queries.
1509 #$d_endpent HAS_ENDPROTOENT /**/
1512 * This symbol, if defined, indicates that the getgrent routine is
1513 * available for finalizing sequential access of the passwd database.
1515 #$d_endpwent HAS_ENDPWENT /**/
1518 * This symbol, if defined, indicates that the endservent() routine is
1519 * available to close whatever was being used for service queries.
1521 #$d_endsent HAS_ENDSERVENT /**/
1524 * This symbol, if defined, indicates that the getgrent routine is
1525 * available for sequential access of the group database.
1527 #$d_getgrent HAS_GETGRENT /**/
1529 /* HAS_GETHOSTBYADDR:
1530 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1531 * available to look up hosts by their IP addresses.
1533 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1535 /* HAS_GETHOSTBYNAME:
1536 * This symbol, if defined, indicates that the gethostbyname() routine is
1537 * available to look up host names in some data base or other.
1539 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1542 * This symbol, if defined, indicates that the gethostent() routine is
1543 * available to look up host names in some data base or another.
1545 #$d_gethent HAS_GETHOSTENT /**/
1547 /* HAS_GETNETBYADDR:
1548 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1549 * available to look up networks by their IP addresses.
1551 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1553 /* HAS_GETNETBYNAME:
1554 * This symbol, if defined, indicates that the getnetbyname() routine is
1555 * available to look up networks by their names.
1557 #$d_getnbyname HAS_GETNETBYNAME /**/
1560 * This symbol, if defined, indicates that the getnetent() routine is
1561 * available to look up network names in some data base or another.
1563 #$d_getnent HAS_GETNETENT /**/
1566 * This symbol, if defined, indicates that the getprotoent() routine is
1567 * available to look up protocols in some data base or another.
1569 #$d_getpent HAS_GETPROTOENT /**/
1571 /* HAS_GETPROTOBYNAME:
1572 * This symbol, if defined, indicates that the getprotobyname()
1573 * routine is available to look up protocols by their name.
1575 /* HAS_GETPROTOBYNUMBER:
1576 * This symbol, if defined, indicates that the getprotobynumber()
1577 * routine is available to look up protocols by their number.
1579 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1580 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1583 * This symbol, if defined, indicates that the getpwent routine is
1584 * available for sequential access of the passwd database.
1585 * If this is not available, the older getpw() function may be available.
1587 #$d_getpwent HAS_GETPWENT /**/
1590 * This symbol, if defined, indicates that the getservent() routine is
1591 * available to look up network services in some data base or another.
1593 #$d_getsent HAS_GETSERVENT /**/
1595 /* HAS_GETSERVBYNAME:
1596 * This symbol, if defined, indicates that the getservbyname()
1597 * routine is available to look up services by their name.
1599 /* HAS_GETSERVBYPORT:
1600 * This symbol, if defined, indicates that the getservbyport()
1601 * routine is available to look up services by their port.
1603 #$d_getsbyname HAS_GETSERVBYNAME /**/
1604 #$d_getsbyport HAS_GETSERVBYPORT /**/
1607 * This symbol, if defined, indicates that the htonl() routine (and
1608 * friends htons() ntohl() ntohs()) are available to do network
1609 * order byte swapping.
1612 * This symbol, if defined, indicates that the htons() routine (and
1613 * friends htonl() ntohl() ntohs()) are available to do network
1614 * order byte swapping.
1617 * This symbol, if defined, indicates that the ntohl() routine (and
1618 * friends htonl() htons() ntohs()) are available to do network
1619 * order byte swapping.
1622 * This symbol, if defined, indicates that the ntohs() routine (and
1623 * friends htonl() htons() ntohl()) are available to do network
1624 * order byte swapping.
1626 #$d_htonl HAS_HTONL /**/
1627 #$d_htonl HAS_HTONS /**/
1628 #$d_htonl HAS_NTOHL /**/
1629 #$d_htonl HAS_NTOHS /**/
1632 * This symbol will be defined if the C compiler supports long
1636 * This symbol contains the size of a long double, so that the
1637 * C preprocessor can make decisions based on it. It is only
1638 * defined if the system supports long doubles.
1640 #$d_longdbl HAS_LONG_DOUBLE /**/
1641 #ifdef HAS_LONG_DOUBLE
1642 #define LONG_DOUBLESIZE $longdblsize /**/
1646 * This symbol will be defined if the C compiler supports long long.
1649 * This symbol contains the size of a long long, so that the
1650 * C preprocessor can make decisions based on it. It is only
1651 * defined if the system supports long long.
1653 #$d_longlong HAS_LONG_LONG /**/
1654 #ifdef HAS_LONG_LONG
1655 #define LONGLONGSIZE $longlongsize /**/
1659 * This symbol, if defined, indicates that the entire msg*(2) library is
1660 * supported (IPC mechanism based on message queues).
1662 #$d_msg HAS_MSG /**/
1665 * This symbol, if defined, indicates that the entire sem*(2) library is
1668 #$d_sem HAS_SEM /**/
1671 * This symbol, if defined, indicates that the setgrent routine is
1672 * available for initializing sequential access of the group database.
1674 #$d_setgrent HAS_SETGRENT /**/
1677 * This symbol, if defined, indicates that the setgroups() routine is
1678 * available to set the list of process groups. If unavailable, multiple
1679 * groups are probably not supported.
1681 #$d_setgrps HAS_SETGROUPS /**/
1684 * This symbol, if defined, indicates that the sethostent() routine is
1687 #$d_sethent HAS_SETHOSTENT /**/
1690 * This symbol, if defined, indicates that the setnetent() routine is
1693 #$d_setnent HAS_SETNETENT /**/
1696 * This symbol, if defined, indicates that the setprotoent() routine is
1699 #$d_setpent HAS_SETPROTOENT /**/
1702 * This symbol, if defined, indicates that the setpwent routine is
1703 * available for initializing sequential access of the passwd database.
1705 #$d_setpwent HAS_SETPWENT /**/
1708 * This symbol, if defined, indicates that the setservent() routine is
1711 #$d_setsent HAS_SETSERVENT /**/
1714 * This symbol, if defined, indicates that the setvbuf routine is
1715 * available to change buffering on an open stdio stream.
1716 * to a line-buffered mode.
1718 #$d_setvbuf HAS_SETVBUF /**/
1721 * This symbol, if defined, indicates that the entire shm*(2) library is
1724 #$d_shm HAS_SHM /**/
1727 * This symbol, if defined, indicates that the BSD socket interface is
1731 * This symbol, if defined, indicates that the BSD socketpair() call is
1735 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1736 * Checking just with #ifdef might not be enough because this symbol
1737 * has been known to be an enum.
1739 /* HAS_MSG_DONTROUTE:
1740 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1741 * Checking just with #ifdef might not be enough because this symbol
1742 * has been known to be an enum.
1745 * This symbol, if defined, indicates that the MSG_OOB is supported.
1746 * Checking just with #ifdef might not be enough because this symbol
1747 * has been known to be an enum.
1750 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1751 * Checking just with #ifdef might not be enough because this symbol
1752 * has been known to be an enum.
1755 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1756 * Checking just with #ifdef might not be enough because this symbol
1757 * has been known to be an enum.
1760 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1761 * Checking just with #ifdef might not be enough because this symbol
1762 * has been known to be an enum.
1765 * This symbol, if defined, indicates that the sendmsg is supported
1766 * to send messages between sockets. You will also need struct
1767 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1770 * This symbol, if defined, indicates that the recvmsg is supported
1771 * to send messages between sockets. You will also need struct
1772 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1774 /* HAS_STRUCT_MSGHDR:
1775 * This symbol, if defined, indicates that the struct msghdr
1776 * (BSD 4.3 or 4.4) is supported. You will also need struct
1777 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1779 /* HAS_STRUCT_CMSGHDR:
1780 * This symbol, if defined, indicates that the struct cmsghdr
1781 * (BSD 4.4) is supported. You will also need struct
1782 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1784 #$d_socket HAS_SOCKET /**/
1785 #$d_sockpair HAS_SOCKETPAIR /**/
1786 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
1787 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
1788 #$d_msg_oob HAS_MSG_OOB /**/
1789 #$d_msg_peek HAS_MSG_PEEK /**/
1790 #$d_msg_proxy HAS_MSG_PROXY /**/
1791 #$d_scm_rights HAS_SCM_RIGHTS /**/
1792 #$d_sendmsg HAS_SENDMSG /**/
1793 #$d_recvmsg HAS_RECVMSG /**/
1794 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
1795 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
1798 * This symbol is defined if this system has a stat structure declaring
1799 * st_blksize and st_blocks.
1801 #$d_statblks USE_STAT_BLOCKS /**/
1804 * This symbol, if defined, indicates that the strerror routine is
1805 * available to translate error numbers to strings. See the writeup
1806 * of Strerror() in this file before you try to define your own.
1809 * This symbol, if defined, indicates that the sys_errlist array is
1810 * available to translate error numbers to strings. The extern int
1811 * sys_nerr gives the size of that table.
1814 * This preprocessor symbol is defined as a macro if strerror() is
1815 * not available to translate error numbers to strings but sys_errlist[]
1818 #$d_strerror HAS_STRERROR /**/
1819 #$d_syserrlst HAS_SYS_ERRLIST /**/
1820 #define Strerror(e) $d_strerrm
1823 * This symbol, if defined, indicates that the union semun is
1824 * defined by including <sys/sem.h>. If not, the user code
1825 * probably needs to define it as:
1828 * struct semid_ds *buf;
1829 * unsigned short *array;
1832 /* USE_SEMCTL_SEMUN:
1833 * This symbol, if defined, indicates that union semun is
1834 * used for semctl IPC_STAT.
1836 /* USE_SEMCTL_SEMID_DS:
1837 * This symbol, if defined, indicates that struct semid_ds * is
1838 * used for semctl IPC_STAT.
1840 #$d_union_semun HAS_UNION_SEMUN /**/
1841 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
1842 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
1845 * This symbol's value is either "void" or "int", corresponding to the
1846 * appropriate return type of a signal handler. Thus, you can declare
1847 * a signal handler using "Signal_t (*handler)()", and define the
1848 * handler using "Signal_t handler(sig)".
1850 #define Signal_t $signal_t /* Signal handler's return type */
1853 * This symbol holds the type used for the second argument to
1854 * getgroups() and setgropus(). Usually, this is the same as
1855 * gidtype (gid_t) , but sometimes it isn't.
1856 * It can be int, ushort, uid_t, etc...
1857 * It may be necessary to include <sys/types.h> to get any
1858 * typedef'ed information. This is only required if you have
1859 * getgroups() or setgropus()..
1861 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1862 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
1866 * This symbol, if defined, indicates to the C program that it should
1870 * This symbol, if defined, indicates to the C program that struct group
1871 * in <grp.h> contains gr_passwd.
1874 #$d_grpasswd GRPASSWD /**/
1877 * This symbol, if defined, indicates that <netdb.h> exists and
1878 * should be included.
1880 #$i_netdb I_NETDB /**/
1883 * This symbol, if defined, indicates to the C program that it should
1887 * This symbol, if defined, indicates to the C program that struct passwd
1888 * contains pw_quota.
1891 * This symbol, if defined, indicates to the C program that struct passwd
1895 * This symbol, if defined, indicates to the C program that struct passwd
1896 * contains pw_change.
1899 * This symbol, if defined, indicates to the C program that struct passwd
1900 * contains pw_class.
1903 * This symbol, if defined, indicates to the C program that struct passwd
1904 * contains pw_expire.
1907 * This symbol, if defined, indicates to the C program that struct passwd
1908 * contains pw_comment.
1911 * This symbol, if defined, indicates to the C program that struct passwd
1912 * contains pw_gecos.
1915 * This symbol, if defined, indicates to the C program that struct passwd
1916 * contains pw_passwd.
1919 #$d_pwquota PWQUOTA /**/
1920 #$d_pwage PWAGE /**/
1921 #$d_pwchange PWCHANGE /**/
1922 #$d_pwclass PWCLASS /**/
1923 #$d_pwexpire PWEXPIRE /**/
1924 #$d_pwcomment PWCOMMENT /**/
1925 #$d_pwgecos PWGECOS /**/
1926 #$d_pwpasswd PWPASSWD /**/
1929 * This symbol, if defined, indicates that <sys/uio.h> exists and
1930 * should be included.
1932 #$i_sysuio I_SYSUIO /**/
1935 * This variable contains the return type of free(). It is usually
1936 * void, but occasionally int.
1939 * This symbol is the type of pointer returned by malloc and realloc.
1941 #define Malloc_t $malloctype /**/
1942 #define Free_t $freetype /**/
1945 * This symbol, if defined, indicates that we're using our own malloc.
1947 #$d_mymalloc MYMALLOC /**/
1950 * This symbol contains a list of signal names in order of
1951 * signal number. This is intended
1952 * to be used as a static array initialization, like this:
1953 * char *sig_name[] = { SIG_NAME };
1954 * The signals in the list are separated with commas, and each signal
1955 * is surrounded by double quotes. There is no leading SIG in the signal
1956 * name, i.e. SIGQUIT is known as "QUIT".
1957 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1958 * etc., where nn is the actual signal number (e.g. NUM37).
1959 * The signal number for sig_name[i] is stored in sig_num[i].
1960 * The last element is 0 to terminate the list with a NULL. This
1961 * corresponds to the 0 at the end of the sig_num list.
1964 * This symbol contains a list of signal numbers, in the same order as the
1965 * SIG_NAME list. It is suitable for static array initialization, as in:
1966 * int sig_num[] = { SIG_NUM };
1967 * The signals in the list are separated with commas, and the indices
1968 * within that list and the SIG_NAME list match, so it's easy to compute
1969 * the signal name from a number or vice versa at the price of a small
1970 * dynamic linear lookup.
1971 * Duplicates are allowed, but are moved to the end of the list.
1972 * The signal number corresponding to sig_name[i] is sig_number[i].
1973 * if (i < NSIG) then sig_number[i] == i.
1974 * The last element is 0, corresponding to the 0 at the end of
1975 * the sig_name list.
1977 #define SIG_NAME $sig_name_init /**/
1978 #define SIG_NUM $sig_num_init /**/
1981 * This symbol indicates how much support of the void type is given by this
1982 * compiler. What various bits mean:
1984 * 1 = supports declaration of void
1985 * 2 = supports arrays of pointers to functions returning void
1986 * 4 = supports comparisons between pointers to void functions and
1987 * addresses of void functions
1988 * 8 = suports declaration of generic void pointers
1990 * The package designer should define VOIDUSED to indicate the requirements
1991 * of the package. This can be done either by #defining VOIDUSED before
1992 * including config.h, or by defining defvoidused in Myinit.U. If the
1993 * latter approach is taken, only those flags will be tested. If the
1994 * level of void support necessary is not present, defines void to int.
1997 #define VOIDUSED $defvoidused
1999 #define VOIDFLAGS $voidflags
2000 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2001 #define void int /* is void to be avoided? */
2002 #define M_VOID /* Xenix strikes again */
2006 * This variable, if defined, holds the name of the directory in
2007 * which the user wants to put architecture-dependent public
2008 * library files for $package. It is most often a local directory
2009 * such as /usr/local/lib. Programs using this variable must be
2010 * prepared to deal with filename expansion. If ARCHLIB is the
2011 * same as PRIVLIB, it is not defined, since presumably the
2012 * program already searches PRIVLIB.
2015 * This symbol contains the ~name expanded version of ARCHLIB, to be used
2016 * in programs that are not prepared to deal with ~ expansion at run-time.
2018 #$d_archlib ARCHLIB "$archlib" /**/
2019 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
2021 /* DLSYM_NEEDS_UNDERSCORE:
2022 * This symbol, if defined, indicates that we need to prepend an
2023 * underscore to the symbol name before calling dlsym(). This only
2024 * makes sense if you *have* dlsym, which we will presume is the
2025 * case if you're using dl_dlopen.xs.
2027 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
2030 * This symbol, if defined, indicates that the fseeko routine is
2031 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2033 #$d_fseeko HAS_FSEEKO /**/
2036 * This symbol, if defined, indicates that the ftello routine is
2037 * available to ftell from beyond 32 bits (useful for ILP32 hosts).
2039 #$d_ftello HAS_FTELLO /**/
2042 * This symbol, if defined, indicates that the readv routine is
2043 * available to do gather reads. You will also need <sys/uio.h>
2044 * and there I_SYSUIO.
2046 #$d_readv HAS_READV /**/
2049 * This symbol, if defined, indicates that sfio should
2052 #$d_sfio USE_SFIO /**/
2055 * This symbol, if defined, indicates that the fstatfs routine is
2056 * available to do stat filesystems of file descriptors.
2058 /* HAS_STRUCT_STATFS_FLAGS:
2059 * This symbol, if defined, indicates that the struct statfs
2060 * does have the f_flags member containing the mount flags of
2061 * the filesystem holding the file.
2062 * This kind of struct statfs is coming from sys/mount.h (BSD)
2063 * and not from sys/statfs.h (SYSV).
2065 #$d_fstatfs HAS_FSTATFS /**/
2066 #$d_statfsflags HAS_STRUCT_STATFS_FLAGS /**/
2069 * This symbol, if defined, indicates that the fstatvfs routine is
2070 * available to do stat filesystems of file descriptors.
2072 #$d_fstatvfs HAS_FSTATVFS /**/
2074 /* HAS_TELLDIR_PROTO:
2075 * This symbol, if defined, indicates that the system provides
2076 * a prototype for the telldir() function. Otherwise, it is up
2077 * to the program to supply one. A good guess is
2078 * extern long telldir _((DIR*));
2080 #$d_telldirproto HAS_TELLDIR_PROTO /**/
2083 * This symbol, if defined, indicates that the writev routine is
2084 * available to do scatter writes.
2086 #$d_writev HAS_WRITEV /**/
2089 * This symbol, if defined, indicates that the dbminit64 routine is
2090 * available to open dbm files larger than 2 gigabytes.
2093 * This symbol, if defined, indicates that the dbmclose64 routine is
2094 * available to close dbm files larger than 2 gigabytes.
2097 * This symbol, if defined, indicates that the fetch64 routine is
2098 * available to fetch from dbm files larger than 2 gigabytes.
2101 * This symbol, if defined, indicates that the store64 routine is
2102 * available to store to dbm files larger than 2 gigabytes.
2105 * This symbol, if defined, indicates that the delete64 routine is
2106 * available to delete from dbm files larger than 2 gigabytes.
2109 * This symbol, if defined, indicates that the firstkey64 routine is
2110 * available to firstkey in dbm files larger than 2 gigabytes.
2113 * This symbol, if defined, indicates that the nextkey64 routine is
2114 * available to nextkey in dbm files larger than 2 gigabytes.
2116 #$d_dbminit64 HAS_DBMINIT64 /**/
2117 #$d_dbmclose64 HAS_DBMCLOSE64 /**/
2118 #$d_fetch64 HAS_FETCH64 /**/
2119 #$d_store64 HAS_STORE64 /**/
2120 #$d_delete64 HAS_DELETE64 /**/
2121 #$d_firstkey64 HAS_FIRSTKEY64 /**/
2122 #$d_nextkey64 HAS_NEXTKEY64 /**/
2124 /* USE_DYNAMIC_LOADING:
2125 * This symbol, if defined, indicates that dynamic loading of
2126 * some sort is available.
2128 #$usedl USE_DYNAMIC_LOADING /**/
2131 * This symbol contains the type of the prefix structure element
2132 * in the <db.h> header file. In older versions of DB, it was
2133 * int, while in newer ones it is u_int32_t.
2136 * This symbol contains the type of the prefix structure element
2137 * in the <db.h> header file. In older versions of DB, it was
2138 * int, while in newer ones it is size_t.
2140 #define DB_Hash_t $db_hashtype /**/
2141 #define DB_Prefix_t $db_prefixtype /**/
2144 * This symbol, if defined, indicates to the C program that it should
2145 * include <inttypes.h>.
2148 * This symbol will defined if the C compiler supports int64_t.
2149 * Usually the <inttypes.h> needs to be included, but sometimes
2150 * <sys/types.h> is enough.
2152 #$i_inttypes I_INTTYPES /**/
2153 #$d_int64t HAS_INT64_T /**/
2156 * This symbol, if defined, indicates that <mntent.h> exists and
2157 * should be included.
2159 #$i_mntent I_MNTENT /**/
2162 * This symbol, if defined, indicates that <poll.h> exists and
2163 * should be included.
2165 #$i_poll I_POLL /**/
2168 * This symbol, if defined, indicates that <sys/mount.h> exists and
2169 * should be included.
2171 #$i_sysmount I_SYS_MOUNT /**/
2174 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2175 * should be included.
2177 #$i_sysstatvfs I_SYS_STATVFS /**/
2179 /* INSTALL_USR_BIN_PERL:
2180 * This symbol, if defined, indicates that Perl is to be installed
2181 * also as /usr/bin/perl.
2183 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
2186 * This symbol, if defined, indicates that the fstat64 routine is
2187 * available to stat files (fds) larger than 2 gigabytes.
2190 * This symbol, if defined, indicates that the ftruncate64 routine is
2191 * available to tell files larger than 2 gigabytes.
2194 * This symbol, if defined, indicates that the lseek64 routine is
2195 * available to seek files larger than 2 gigabytes.
2198 * This symbol, if defined, indicates that the lstat64 routine is
2199 * available to stat files (symlinks) larger than 2 gigabytes.
2202 * This symbol, if defined, indicates that the open64 routine is
2203 * available to open files larger than 2 gigabytes.
2206 * This symbol, if defined, indicates that the opendir64 routine is
2207 * available to opendir files larger than 2 gigabytes.
2210 * This symbol, if defined, indicates that the readdir64 routine is
2211 * available to readdir files larger than 2 gigabytes.
2214 * This symbol, if defined, indicates that the seekdir64 routine is
2215 * available to seekdir files larger than 2 gigabytes.
2218 * This symbol, if defined, indicates that the stat64 routine is
2219 * available to stat files larger than 2 gigabytes.
2222 * This symbol, if defined, indicates that the telldir64 routine is
2223 * available to telldir files larger than 2 gigabytes.
2226 * This symbol, if defined, indicates that the truncate64 routine is
2227 * available to truncate files larger than 2 gigabytes.
2230 * This symbol will be defined if the C compiler supports off64_t.
2232 /* HAS_STRUCT_DIRENT64:
2233 * This symbol will be defined if the C compiler supports struct dirent64.
2235 #$d_fstat64 HAS_FSTAT64 /**/
2236 #$d_ftruncate64 HAS_FTRUNCATE64 /**/
2237 #$d_lseek64 HAS_LSEEK64 /**/
2238 #$d_lstat64 HAS_LSTAT64 /**/
2239 #$d_open64 HAS_OPEN64 /**/
2240 #$d_opendir64 HAS_OPENDIR64 /**/
2241 #$d_readdir64 HAS_READDIR64 /**/
2242 #$d_seekdir64 HAS_SEEKDIR64 /**/
2243 #$d_stat64 HAS_STAT64 /**/
2244 #$d_telldir64 HAS_TELLDIR64 /**/
2245 #$d_truncate64 HAS_TRUNCATE64 /**/
2246 #$d_off64t HAS_OFF64_T /**/
2247 #$d_dirent64_s HAS_STRUCT_DIRENT64 /**/
2250 * This symbol contains the name of the private library for this package.
2251 * The library is private in the sense that it needn't be in anyone's
2252 * execution path, but it should be accessible by the world. The program
2253 * should be prepared to do ~ expansion.
2256 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2257 * in programs that are not prepared to deal with ~ expansion at run-time.
2259 #define PRIVLIB "$privlib" /**/
2260 #define PRIVLIB_EXP "$privlibexp" /**/
2263 * This symbol holds the minimum number of bits operated by select.
2264 * That is, if you do select(n, ...), how many bits at least will be
2265 * cleared in the masks if some activity is detected. Usually this
2266 * is either n or 32*ceil(n/32), especially many little-endians do
2267 * the latter. This is only useful if you have select(), naturally.
2269 #define SELECT_MIN_BITS $selectminbits /**/
2272 * This symbol contains the name of the private library for this package.
2273 * The library is private in the sense that it needn't be in anyone's
2274 * execution path, but it should be accessible by the world. The program
2275 * should be prepared to do ~ expansion.
2276 * The standard distribution will put nothing in this directory.
2277 * Individual sites may place their own extensions and modules in
2281 * This symbol contains the ~name expanded version of SITEARCH, to be used
2282 * in programs that are not prepared to deal with ~ expansion at run-time.
2284 #define SITEARCH "$sitearch" /**/
2285 #define SITEARCH_EXP "$sitearchexp" /**/
2288 * This symbol contains the name of the private library for this package.
2289 * The library is private in the sense that it needn't be in anyone's
2290 * execution path, but it should be accessible by the world. The program
2291 * should be prepared to do ~ expansion.
2292 * The standard distribution will put nothing in this directory.
2293 * Individual sites may place their own extensions and modules in
2297 * This symbol contains the ~name expanded version of SITELIB, to be used
2298 * in programs that are not prepared to deal with ~ expansion at run-time.
2300 #define SITELIB "$sitelib" /**/
2301 #define SITELIB_EXP "$sitelibexp" /**/
2304 * This variable contains the string to put in front of a perl
2305 * script to make sure (one hopes) that it runs with perl and not
2308 #define STARTPERL "$startperl" /**/
2311 * This symbol, if defined, indicates that the fgetpos64 routine is
2312 * available to getpos files larger than 2 gigabytes.
2315 * This symbol, if defined, indicates that the fopen64 routine is
2316 * available to open files larger than 2 gigabytes.
2319 * This symbol, if defined, indicates that the freopen64 routine is
2320 * available to reopen files larger than 2 gigabytes.
2323 * This symbol, if defined, indicates that the fseek64 routine is
2324 * available to seek files larger than 2 gigabytes.
2327 * This symbol, if defined, indicates that the fseeko64 routine is
2328 * available to seek files larger than 2 gigabytes.
2331 * This symbol, if defined, indicates that the fsetpos64 routine is
2332 * available to setpos files larger than 2 gigabytes.
2335 * This symbol, if defined, indicates that the ftell64 routine is
2336 * available to tell files larger than 2 gigabytes.
2339 * This symbol, if defined, indicates that the ftello64 routine is
2340 * available to tell files larger than 2 gigabytes.
2343 * This symbol, if defined, indicates that the tmpfile64 routine is
2344 * available to tmpfile files larger than 2 gigabytes.
2346 #$d_fgetpos64 HAS_FGETPOS64 /**/
2347 #$d_fopen64 HAS_FOPEN64 /**/
2348 #$d_freopen64 HAS_FREOPEN64 /**/
2349 #$d_fseek64 HAS_FSEEK64 /**/
2350 #$d_fseeko64 HAS_FSEEKO64 /**/
2351 #$d_fsetpos64 HAS_FSETPOS64 /**/
2352 #$d_ftell64 HAS_FTELL64 /**/
2353 #$d_ftello64 HAS_FTELLO64 /**/
2354 #$d_tmpfile64 HAS_TMPFILE64 /**/
2357 * This symbol, if defined, indicates that 64-bit interfaces should
2358 * be used when available. If not defined, the native default interfaces
2359 * will be used (be they 32 or 64 bits).
2361 #$use64bits USE_64_BITS /**/
2364 * This symbol, if defined, indicates that Perl should
2365 * be built to use multiplicity.
2367 #$usemultiplicity MULTIPLICITY /**/
2370 * This symbol, if defined, indicates that the PerlIO abstraction should
2371 * be used throughout. If not defined, stdio should be
2372 * used in a fully backward compatible manner.
2374 #$useperlio USE_PERLIO /**/
2376 /* HAS_DRAND48_PROTO:
2377 * This symbol, if defined, indicates that the system provides
2378 * a prototype for the drand48() function. Otherwise, it is up
2379 * to the program to supply one. A good guess is
2380 * extern double drand48 _((void));
2382 #$d_drand48proto HAS_DRAND48_PROTO /**/
2384 /* HAS_GETHOST_PROTOS:
2385 * This symbol, if defined, indicates that <netdb.h> includes
2386 * prototypes for gethostent(), gethostbyname(), and
2387 * gethostbyaddr(). Otherwise, it is up to the program to guess
2388 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2390 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
2392 /* HAS_GETNET_PROTOS:
2393 * This symbol, if defined, indicates that <netdb.h> includes
2394 * prototypes for getnetent(), getnetbyname(), and
2395 * getnetbyaddr(). Otherwise, it is up to the program to guess
2396 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2398 #$d_getnetprotos HAS_GETNET_PROTOS /**/
2400 /* HAS_GETPROTO_PROTOS:
2401 * This symbol, if defined, indicates that <netdb.h> includes
2402 * prototypes for getprotoent(), getprotobyname(), and
2403 * getprotobyaddr(). Otherwise, it is up to the program to guess
2404 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2406 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
2408 /* HAS_GETSERV_PROTOS:
2409 * This symbol, if defined, indicates that <netdb.h> includes
2410 * prototypes for getservent(), getservbyname(), and
2411 * getservbyaddr(). Otherwise, it is up to the program to guess
2412 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2414 #$d_getservprotos HAS_GETSERV_PROTOS /**/
2417 * This symbol holds the type used for the 1st argument
2418 * to gethostbyaddr().
2421 * This symbol holds the type used for the 2nd argument
2422 * to gethostbyaddr().
2425 * This symbol holds the type used for the argument to
2429 * This symbol holds the type used for the 1st argument to
2432 #define Netdb_host_t $netdb_host_type /**/
2433 #define Netdb_hlen_t $netdb_hlen_type /**/
2434 #define Netdb_name_t $netdb_name_type /**/
2435 #define Netdb_net_t $netdb_net_type /**/
2438 * This symbol holds the type used for the 2nd, 3rd, and 4th
2439 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2440 * is defined, and 'int *' otherwise. This is only useful if you
2441 * have select(), of course.
2443 #define Select_fd_set_t $selecttype /**/
2446 * This symbol holds a string representing the architecture name.
2447 * It may be used to construct an architecture-dependant pathname
2448 * where library files may be held under a private library, for
2451 #define ARCHNAME "$archname" /**/
2453 /* OLD_PTHREAD_CREATE_JOINABLE:
2454 * This symbol, if defined, indicates how to create pthread
2455 * in joinable (aka undetached) state. NOTE: not defined
2456 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2457 * (the new version of the constant).
2458 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2461 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
2463 /* HAS_PTHREAD_YIELD:
2464 * This symbol, if defined, indicates that the pthread_yield
2465 * routine is available to yield the execution of the current
2466 * thread. sched_yield is preferable to pthread_yield.
2469 * This symbol defines the way to yield the execution of
2470 * the current thread. Known ways are sched_yield,
2471 * pthread_yield, and pthread_yield with NULL.
2474 * This symbol, if defined, indicates that the sched_yield
2475 * routine is available to yield the execution of the current
2476 * thread. sched_yield is preferable to pthread_yield.
2478 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
2479 #define SCHED_YIELD $sched_yield /**/
2480 #$d_sched_yield HAS_SCHED_YIELD /**/
2483 * This symbol, if defined, indicates to the C program that it should
2484 * include <mach/cthreads.h>.
2486 #$i_machcthr I_MACH_CTHREADS /**/
2489 * This symbol, if defined, indicates that Perl should
2490 * be built to use threads.
2492 /* OLD_PTHREADS_API:
2493 * This symbol, if defined, indicates that Perl should
2494 * be built to use the old draft POSIX threads API.
2496 #$usethreads USE_THREADS /**/
2497 #$d_oldpthreads OLD_PTHREADS_API /**/
2500 * This symbol holds the type returned by time(). It can be long,
2501 * or time_t on BSD sites (in which case <sys/types.h> should be
2504 #define Time_t $timetype /* Time type */
2507 * This symbol, if defined, indicates that the times() routine exists.
2508 * Note that this became obsolete on some systems (SUNOS), which now
2509 * use getrusage(). It may be necessary to include <sys/times.h>.
2511 #$d_times HAS_TIMES /**/
2514 * This symbol holds the type used to declare file positions in libc.
2515 * It can be fpos_t, long, uint, etc... It may be necessary to include
2516 * <sys/types.h> to get any typedef'ed information.
2518 #define Fpos_t $fpostype /* File position type */
2521 * This symbol holds the return type of getgid() and the type of
2522 * argument to setrgid() and related functions. Typically,
2523 * it is the type of group ids in the kernel. It can be int, ushort,
2524 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2525 * any typedef'ed information.
2527 #define Gid_t $gidtype /* Type for getgid(), etc... */
2530 * This symbol holds the type used to declare offsets in the kernel.
2531 * It can be int, long, off_t, etc... It may be necessary to include
2532 * <sys/types.h> to get any typedef'ed information.
2535 * This symbol holds the number of bytes used by the Off_t.
2537 #define Off_t $lseektype /* <offset> type */
2538 #define LSEEKSIZE $lseeksize /* <offset> size */
2541 * This symbol holds the type used to declare file modes
2542 * for systems calls. It is usually mode_t, but may be
2543 * int or unsigned short. It may be necessary to include <sys/types.h>
2544 * to get any typedef'ed information.
2546 #define Mode_t $modetype /* file mode parameter for system calls */
2549 * This symbol holds the type used to declare process ids in the kernel.
2550 * It can be int, uint, pid_t, etc... It may be necessary to include
2551 * <sys/types.h> to get any typedef'ed information.
2553 #define Pid_t $pidtype /* PID type */
2556 * This symbol holds the type used to declare length parameters
2557 * for string functions. It is usually size_t, but may be
2558 * unsigned long, int, etc. It may be necessary to include
2559 * <sys/types.h> to get any typedef'ed information.
2561 #define Size_t $sizetype /* length paramater for string functions */
2564 * This symbol holds the type used to declare user ids in the kernel.
2565 * It can be int, ushort, uid_t, etc... It may be necessary to include
2566 * <sys/types.h> to get any typedef'ed information.
2568 #define Uid_t $uidtype /* UID type */