1 /* This file (config_H) is a sample config.h file. If you are unable
2 to successfully run Configure, copy this file to config.h and
3 edit it to suit your system.
6 * This file was produced by running the config_h.SH script, which
7 * gets its values from config.sh, which is generally produced by
10 * Feel free to modify any of this as the need arises. Note, however,
11 * that running config_h.SH again will wipe out any changes you've made.
12 * For a more permanent change edit config.sh and rerun config_h.SH.
14 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
18 * Package name : perl5
19 * Source directory : .
20 * Configuration time: Fri Feb 19 22:09:06 EET 1999
22 * Target system : osf1 alpha.hut.fi v4.0 878 alpha
29 * This symbol holds the complete pathname to the sed program.
31 #define LOC_SED "/usr/bin/sed" /**/
34 * This symbol holds the path of the bin directory where the package will
35 * be installed. Program must be prepared to deal with ~name substitution.
38 * This symbol is the filename expanded version of the BIN symbol, for
39 * programs that do not want to deal with that at run-time.
41 #define BIN "/opt/perl/bin" /**/
42 #define BIN_EXP "/opt/perl/bin" /**/
45 * This symbol, if defined, indicates that the alarm routine is
48 #define HAS_ALARM /**/
51 * This symbol indicates the C compiler can check for function attributes,
52 * such as printf formats. This is normally only supported by GNU cc.
54 /*#define HASATTRIBUTE / **/
56 #define __attribute__(_arg_)
60 * This symbol is defined if the bcmp() routine is available to
61 * compare blocks of memory.
66 * This symbol is defined if the bcopy() routine is available to
67 * copy blocks of memory.
69 #define HAS_BCOPY /**/
72 * This symbol is defined if the bzero() routine is available to
73 * set a memory block to 0.
75 #define HAS_BZERO /**/
78 * This symbol, if defined, indicates that the chown routine is
81 #define HAS_CHOWN /**/
84 * This symbol, if defined, indicates that the chroot routine is
87 #define 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 /*#define HAS_CHSIZE / **/
96 * This symbol, if defined, indicates that this C compiler knows about
97 * the const type. There is no need to actually test for that symbol
98 * within your programs. The mere use of the "const" keyword will
99 * trigger the necessary tests.
101 #define HASCONST /**/
107 * This symbol, if defined, indicates that the crypt routine is available
108 * to encrypt passwords and the like.
110 #define HAS_CRYPT /**/
113 * This symbol, if defined, indicates that the cuserid routine is
114 * available to get character login names.
116 #define HAS_CUSERID /**/
119 * This symbol, if defined, indicates that this system's <float.h>
120 * or <limits.h> defines the symbol DBL_DIG, which is the number
121 * of significant digits in a double precision number. If this
122 * symbol is not defined, a guess of 15 is usually pretty good.
124 #define HAS_DBL_DIG /* */
127 * This symbol, if defined, indicates that the difftime routine is
130 #define HAS_DIFFTIME /**/
133 * This symbol, if defined, indicates that the dlerror routine is
134 * available to return a string describing the last error that
135 * occurred from a call to dlopen(), dlclose() or dlsym().
137 #define HAS_DLERROR /**/
139 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
140 * This symbol, if defined, indicates that the bug that prevents
141 * setuid scripts from being secure is not present in this kernel.
144 * This symbol, if defined, indicates that the C program should
145 * check the script that it is executing for setuid/setgid bits, and
146 * attempt to emulate setuid/setgid on systems that have disabled
147 * setuid #! scripts because the kernel can't do it securely.
148 * It is up to the package designer to make sure that this emulation
149 * is done securely. Among other things, it should do an fstat on
150 * the script it just opened to make sure it really is a setuid/setgid
151 * script, it should make sure the arguments passed correspond exactly
152 * to the argument on the #! line, and it should not trust any
153 * subprocesses to which it must pass the filename rather than the
154 * file descriptor of the script to be executed.
156 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
157 /*#define DOSUID / **/
160 * This symbol, if defined, indicates that the dup2 routine is
161 * available to duplicate file descriptors.
163 #define HAS_DUP2 /**/
166 * This symbol, if defined, indicates that the fchmod routine is available
167 * to change mode of opened files. If unavailable, use chmod().
169 #define HAS_FCHMOD /**/
172 * This symbol, if defined, indicates that the fchown routine is available
173 * to change ownership of opened files. If unavailable, use chown().
175 #define HAS_FCHOWN /**/
178 * This symbol, if defined, indicates to the C program that
179 * the fcntl() function exists.
181 #define HAS_FCNTL /**/
184 * This symbol, if defined, indicates that the fgetpos routine is
185 * available to get the file position indicator, similar to ftell().
187 #define HAS_FGETPOS /**/
190 * This symbol, if defined, indicates that the system supports filenames
191 * longer than 14 characters.
193 #define FLEXFILENAMES /**/
196 * This symbol, if defined, indicates that the flock routine is
197 * available to do file locking.
199 #define HAS_FLOCK /**/
202 * This symbol, if defined, indicates that the fork routine is
205 #define HAS_FORK /**/
208 * This symbol, if defined, indicates that the fsetpos routine is
209 * available to set the file position indicator, similar to fseek().
211 #define HAS_FSETPOS /**/
214 * This symbol, if defined, indicates that the gettimeofday() system
215 * call is available for a sub-second accuracy clock. Usually, the file
216 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
217 * The type "Timeval" should be used to refer to "struct timeval".
219 #define HAS_GETTIMEOFDAY /**/
220 #ifdef HAS_GETTIMEOFDAY
221 #define Timeval struct timeval /* Structure used by gettimeofday() */
225 * This symbol, if defined, indicates that the getgroups() routine is
226 * available to get the list of process groups. If unavailable, multiple
227 * groups are probably not supported.
229 #define HAS_GETGROUPS /**/
232 * This symbol, if defined, indicates that the C program may use the
233 * gethostname() routine to derive the host name. See also HAS_UNAME
237 * This symbol, if defined, indicates that the C program may use the
238 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
242 * This symbol, if defined, indicates that the C program may use the
243 * contents of PHOSTNAME as a command to feed to the popen() routine
244 * to derive the host name. See also HAS_GETHOSTNAME and HAS_UNAME.
245 * Note that the command uses a fully qualified path, so that it is safe
246 * even if used by a process with super-user privileges.
248 #define HAS_GETHOSTNAME /**/
249 /*#define HAS_UNAME / **/
250 /*#define PHOSTNAME "" / * How to get the host name */
253 * This symbol, if defined, indicates that the getlogin routine is
254 * available to get the login name.
256 #define HAS_GETLOGIN /**/
259 * This symbol, if defined, indicates to the C program that
260 * the getpgid(pid) function is available to get the
263 #define HAS_GETPGID /**/
266 * This symbol, if defined, indicates that the getpgrp routine is
267 * available to get the current process group.
270 * This symbol, if defined, indicates that getpgrp needs one
271 * arguments whereas USG one needs none.
273 #define HAS_GETPGRP /**/
274 /*#define USE_BSD_GETPGRP / **/
277 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
278 * routine is available to get the current process group.
280 /*#define HAS_GETPGRP2 / **/
283 * This symbol, if defined, indicates that the getppid routine is
284 * available to get the parent process ID.
286 #define HAS_GETPPID /**/
289 * This symbol, if defined, indicates that the getpriority routine is
290 * available to get a process's priority.
292 #define HAS_GETPRIORITY /**/
295 * This symbol, if defined, indicates to the C program that the
296 * inet_aton() function is available to parse IP address "dotted-quad"
299 #define HAS_INET_ATON /**/
302 * This symbol, if defined, indicates that the killpg routine is available
303 * to kill process groups. If unavailable, you probably should use kill
304 * with a negative process number.
306 #define HAS_KILLPG /**/
309 * This symbol, if defined, indicates that the link routine is
310 * available to create hard links.
312 #define HAS_LINK /**/
315 * This symbol, if defined, indicates that the localeconv routine is
316 * available for numeric and monetary formatting conventions.
318 #define HAS_LOCALECONV /**/
321 * This symbol, if defined, indicates that the lockf routine is
322 * available to do file locking.
324 #define HAS_LOCKF /**/
327 * This symbol, if defined, indicates that the lstat routine is
328 * available to do file stats on symbolic links.
330 #define HAS_LSTAT /**/
333 * This symbol, if defined, indicates that the mblen routine is available
334 * to find the number of bytes in a multibye character.
336 #define HAS_MBLEN /**/
339 * This symbol, if defined, indicates that the mbstowcs routine is
340 * available to covert a multibyte string into a wide character string.
342 #define HAS_MBSTOWCS /**/
345 * This symbol, if defined, indicates that the mbtowc routine is available
346 * to covert a multibyte to a wide character.
348 #define HAS_MBTOWC /**/
351 * This symbol, if defined, indicates that the memcmp routine is available
352 * to compare blocks of memory.
354 #define HAS_MEMCMP /**/
357 * This symbol, if defined, indicates that the memcpy routine is available
358 * to copy blocks of memory.
360 #define HAS_MEMCPY /**/
363 * This symbol, if defined, indicates that the memmove routine is available
364 * to copy potentially overlapping blocks of memory. This should be used
365 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
368 #define HAS_MEMMOVE /**/
371 * This symbol, if defined, indicates that the memset routine is available
372 * to set blocks of memory.
374 #define HAS_MEMSET /**/
377 * This symbol, if defined, indicates that the mkdir routine is available
378 * to create directories. Otherwise you should fork off a new process to
381 #define HAS_MKDIR /**/
384 * This symbol, if defined, indicates that the mkfifo routine is
385 * available to create FIFOs. Otherwise, mknod should be able to
386 * do it for you. However, if mkfifo is there, mknod might require
387 * super-user privileges which mkfifo will not.
389 #define HAS_MKFIFO /**/
392 * This symbol, if defined, indicates that the mktime routine is
395 #define HAS_MKTIME /**/
398 * This symbol, if defined, indicates that the msync system call is
399 * available to synchronize a mapped file.
401 #define HAS_MSYNC /**/
404 * This symbol, if defined, indicates that the munmap system call is
405 * available to unmap a region, usually mapped by mmap().
407 #define HAS_MUNMAP /**/
410 * This symbol, if defined, indicates that the nice routine is
413 #define HAS_NICE /**/
416 * This symbol, if defined, indicates that pathconf() is available
417 * to determine file-system related limits and options associated
418 * with a given filename.
421 * This symbol, if defined, indicates that pathconf() is available
422 * to determine file-system related limits and options associated
423 * with a given open file descriptor.
425 #define HAS_PATHCONF /**/
426 #define HAS_FPATHCONF /**/
429 * This symbol, if defined, indicates that the pause routine is
430 * available to suspend a process until a signal is received.
432 #define HAS_PAUSE /**/
435 * This symbol, if defined, indicates that the pipe routine is
436 * available to create an inter-process channel.
438 #define HAS_PIPE /**/
441 * This symbol, if defined, indicates that the poll routine is
442 * available to poll active file descriptors. You may safely
443 * include <poll.h> when this symbol is defined.
445 #define HAS_POLL /**/
448 * This symbol, if defined, indicates that the readdir routine is
449 * available to read directory entries. You may have to include
450 * <dirent.h>. See I_DIRENT.
452 #define HAS_READDIR /**/
455 * This symbol, if defined, indicates that the seekdir routine is
456 * available. You may have to include <dirent.h>. See I_DIRENT.
458 #define HAS_SEEKDIR /**/
461 * This symbol, if defined, indicates that the telldir routine is
462 * available. You may have to include <dirent.h>. See I_DIRENT.
464 #define HAS_TELLDIR /**/
467 * This symbol, if defined, indicates that the rewinddir routine is
468 * available. You may have to include <dirent.h>. See I_DIRENT.
470 #define HAS_REWINDDIR /**/
473 * This symbol, if defined, indicates that the readlink routine is
474 * available to read the value of a symbolic link.
476 #define HAS_READLINK /**/
479 * This symbol, if defined, indicates that the rename routine is available
480 * to rename files. Otherwise you should do the unlink(), link(), unlink()
483 #define HAS_RENAME /**/
486 * This symbol, if defined, indicates that the rmdir routine is
487 * available to remove directories. Otherwise you should fork off a
488 * new process to exec /bin/rmdir.
490 #define HAS_RMDIR /**/
493 * This symbol, if defined, indicates that the select routine is
494 * available to select active file descriptors. If the timeout field
495 * is used, <sys/time.h> may need to be included.
497 #define HAS_SELECT /**/
500 * This symbol, if defined, indicates that the setegid routine is available
501 * to change the effective gid of the current program.
503 #define HAS_SETEGID /**/
506 * This symbol, if defined, indicates that the seteuid routine is available
507 * to change the effective uid of the current program.
509 #define HAS_SETEUID /**/
512 * This symbol, if defined, indicates that the setlinebuf routine is
513 * available to change stderr or stdout from block-buffered or unbuffered
514 * to a line-buffered mode.
516 #define HAS_SETLINEBUF /**/
519 * This symbol, if defined, indicates that the setlocale routine is
520 * available to handle locale-specific ctype implementations.
522 #define HAS_SETLOCALE /**/
525 * This symbol, if defined, indicates that the setpgid(pid, gpid)
526 * routine is available to set process group ID.
528 #define HAS_SETPGID /**/
531 * This symbol, if defined, indicates that the setpgrp routine is
532 * available to set the current process group.
535 * This symbol, if defined, indicates that setpgrp needs two
536 * arguments whereas USG one needs none. See also HAS_SETPGID
537 * for a POSIX interface.
539 #define HAS_SETPGRP /**/
540 #define USE_BSD_SETPGRP /**/
543 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
544 * routine is available to set the current process group.
546 /*#define HAS_SETPGRP2 / **/
549 * This symbol, if defined, indicates that the setpriority routine is
550 * available to set a process's priority.
552 #define HAS_SETPRIORITY /**/
555 * This symbol, if defined, indicates that the setregid routine is
556 * available to change the real and effective gid of the current
560 * This symbol, if defined, indicates that the setresgid routine is
561 * available to change the real, effective and saved gid of the current
564 #define HAS_SETREGID /**/
565 /*#define HAS_SETRESGID / **/
568 * This symbol, if defined, indicates that the setreuid routine is
569 * available to change the real and effective uid of the current
573 * This symbol, if defined, indicates that the setresuid routine is
574 * available to change the real, effective and saved uid of the current
577 #define HAS_SETREUID /**/
578 /*#define HAS_SETRESUID / **/
581 * This symbol, if defined, indicates that the setrgid routine is available
582 * to change the real gid of the current program.
584 #define HAS_SETRGID /**/
587 * This symbol, if defined, indicates that the setruid routine is available
588 * to change the real uid of the current program.
590 #define HAS_SETRUID /**/
593 * This symbol, if defined, indicates that the setsid routine is
594 * available to set the process group ID.
596 #define HAS_SETSID /**/
599 * This symbol holds the return type of the shmat() system call.
600 * Usually set to 'void *' or 'char *'.
602 /* HAS_SHMAT_PROTOTYPE:
603 * This symbol, if defined, indicates that the sys/shm.h includes
604 * a prototype for shmat(). Otherwise, it is up to the program to
605 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
606 * but not always right so it should be emitted by the program only
607 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
609 #define Shmat_t void * /**/
610 #define HAS_SHMAT_PROTOTYPE /**/
613 * This symbol is defined to indicate that the strchr()/strrchr()
614 * functions are available for string searching. If not, try the
615 * index()/rindex() pair.
618 * This symbol is defined to indicate that the index()/rindex()
619 * functions are available for string searching.
621 #define HAS_STRCHR /**/
622 /*#define HAS_INDEX / **/
625 * This symbol, if defined, indicates that the strcoll routine is
626 * available to compare strings using collating information.
628 #define HAS_STRCOLL /**/
631 * This symbol, if defined, indicates that this C compiler knows how
632 * to copy structures. If undefined, you'll need to use a block copy
633 * routine of some sort instead.
635 #define USE_STRUCT_COPY /**/
638 * This symbol, if defined, indicates that the strtod routine is
639 * available to provide better numeric string conversion than atof().
641 #define HAS_STRTOD /**/
644 * This symbol, if defined, indicates that the strtol routine is available
645 * to provide better numeric string conversion than atoi() and friends.
647 #define HAS_STRTOL /**/
650 * This symbol, if defined, indicates that the strtoul routine is
651 * available to provide conversion of strings to unsigned long.
653 #define HAS_STRTOUL /**/
656 * This symbol, if defined, indicates that the strxfrm() routine is
657 * available to transform strings.
659 #define HAS_STRXFRM /**/
662 * This symbol, if defined, indicates that the symlink routine is available
663 * to create symbolic links.
665 #define HAS_SYMLINK /**/
668 * This symbol, if defined, indicates that the syscall routine is
669 * available to call arbitrary system calls. If undefined, that's tough.
671 #define HAS_SYSCALL /**/
674 * This symbol, if defined, indicates that sysconf() is available
675 * to determine system related limits and options.
677 #define HAS_SYSCONF /**/
680 * This symbol, if defined, indicates that the system routine is
681 * available to issue a shell command.
683 #define HAS_SYSTEM /**/
686 * This symbol, if defined, indicates that the tcgetpgrp routine is
687 * available to get foreground process group ID.
689 #define HAS_TCGETPGRP /**/
692 * This symbol, if defined, indicates that the tcsetpgrp routine is
693 * available to set foreground process group ID.
695 #define HAS_TCSETPGRP /**/
698 * This symbol, if defined, indicates that the truncate routine is
699 * available to truncate files.
701 #define HAS_TRUNCATE /**/
704 * This symbol, if defined, indicates that the tzname[] array is
705 * available to access timezone names.
707 #define HAS_TZNAME /**/
710 * This symbol, if defined, indicates that the umask routine is
711 * available to set and get the value of the file creation mask.
713 #define HAS_UMASK /**/
716 * This symbol, if defined, indicates that vfork() exists.
718 /*#define HAS_VFORK / **/
721 * This symbol, if defined, indicates that this C compiler knows about
722 * the volatile declaration.
724 #define HASVOLATILE /**/
730 * This symbol, if defined, indicates that wait4() exists.
732 #define HAS_WAIT4 /**/
735 * This symbol, if defined, indicates that the waitpid routine is
736 * available to wait for child process.
738 #define HAS_WAITPID /**/
741 * This symbol, if defined, indicates that the wcstombs routine is
742 * available to convert wide character strings to multibyte strings.
744 #define HAS_WCSTOMBS /**/
747 * This symbol, if defined, indicates that the wctomb routine is available
748 * to covert a wide character to a multibyte.
750 #define HAS_WCTOMB /**/
753 * This symbol, if defined, indicates to the C program that it should
754 * include <arpa/inet.h> to get inet_addr and friends declarations.
756 #define I_ARPA_INET /**/
759 * This symbol, if defined, indicates that <dbm.h> exists and should
763 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
764 * should be included.
767 /*#define I_RPCSVC_DBM / **/
770 * This symbol, if defined, indicates to the C program that it should
771 * include <dirent.h>. Using this symbol also triggers the definition
772 * of the Direntry_t define which ends up being 'struct dirent' or
773 * 'struct direct' depending on the availability of <dirent.h>.
776 * This symbol, if defined, indicates to the C program that the length
777 * of directory entry names is provided by a d_namlen field. Otherwise
778 * you need to do strlen() on the d_name field.
781 * This symbol is set to 'struct direct' or 'struct dirent' depending on
782 * whether dirent is available or not. You should use this pseudo type to
783 * portably declare your directory entries.
785 #define I_DIRENT /**/
786 #define DIRNAMLEN /**/
787 #define Direntry_t struct dirent
790 * This symbol, if defined, indicates that <dlfcn.h> exists and should
796 * This manifest constant tells the C program to include <fcntl.h>.
798 /*#define I_FCNTL / **/
801 * This symbol, if defined, indicates to the C program that it should
802 * include <float.h> to get definition of symbols like DBL_MAX or
803 * DBL_MIN, i.e. machine dependent floating point values.
808 * This symbol, if defined, indicates to the C program that it should
809 * include <limits.h> to get definition of symbols like WORD_BIT or
810 * LONG_MAX, i.e. machine dependant limitations.
812 #define I_LIMITS /**/
815 * This symbol, if defined, indicates to the C program that it should
816 * include <locale.h>.
818 #define I_LOCALE /**/
821 * This symbol, if defined, indicates to the C program that it should
827 * This symbol, if defined, indicates to the C program that it should
828 * include <memory.h>.
830 /*#define I_MEMORY / **/
833 * This symbol, if defined, indicates that <ndbm.h> exists and should
839 * This symbol, if defined, indicates that <net/errno.h> exists and
840 * should be included.
842 /*#define I_NET_ERRNO / **/
845 * This symbol, if defined, indicates to the C program that it should
846 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
848 #define I_NETINET_IN /**/
851 * This symbol, if defined, indicates to the C program that it should
854 /*#define I_SFIO / **/
857 * This symbol, if defined, indicates that <stddef.h> exists and should
860 #define I_STDDEF /**/
863 * This symbol, if defined, indicates that <stdlib.h> exists and should
866 #define I_STDLIB /**/
869 * This symbol, if defined, indicates to the C program that it should
870 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
872 #define I_STRING /**/
875 * This symbol, if defined, indicates to the C program that it should
876 * include <sys/dir.h>.
878 #define I_SYS_DIR /**/
881 * This symbol, if defined, indicates to the C program that it should
882 * include <sys/file.h> to get definition of R_OK and friends.
884 #define I_SYS_FILE /**/
887 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
888 * be included. Otherwise, include <sgtty.h> or <termio.h>.
890 #define I_SYS_IOCTL /**/
893 * This symbol, if defined, indicates to the C program that it should
894 * include <sys/ndir.h>.
896 /*#define I_SYS_NDIR / **/
899 * This symbol, if defined, indicates to the C program that it should
900 * include <sys/param.h>.
902 #define I_SYS_PARAM /**/
905 * This symbol, if defined, indicates to the C program that it should
906 * include <sys/resource.h>.
908 #define I_SYS_RESOURCE /**/
911 * This symbol, if defined, indicates to the C program that it should
912 * include <sys/select.h> in order to get definition of struct timeval.
914 #define I_SYS_SELECT /**/
917 * This symbol, if defined, indicates to the C program that it should
918 * include <sys/stat.h>.
920 #define I_SYS_STAT /**/
923 * This symbol, if defined, indicates to the C program that it should
924 * include <sys/times.h>.
926 #define I_SYS_TIMES /**/
929 * This symbol, if defined, indicates to the C program that it should
930 * include <sys/types.h>.
932 #define I_SYS_TYPES /**/
935 * This symbol, if defined, indicates to the C program that it should
936 * include <sys/un.h> to get UNIX domain socket definitions.
938 #define I_SYS_UN /**/
941 * This symbol, if defined, indicates to the C program that it should
942 * include <sys/wait.h>.
944 #define I_SYS_WAIT /**/
947 * This symbol, if defined, indicates that the program should include
948 * <termio.h> rather than <sgtty.h>. There are also differences in
949 * the ioctl() calls that depend on the value of this symbol.
952 * This symbol, if defined, indicates that the program should include
953 * the POSIX termios.h rather than sgtty.h or termio.h.
954 * There are also differences in the ioctl() calls that depend on the
955 * value of this symbol.
958 * This symbol, if defined, indicates that the program should include
959 * <sgtty.h> rather than <termio.h>. There are also differences in
960 * the ioctl() calls that depend on the value of this symbol.
962 /*#define I_TERMIO / **/
963 #define I_TERMIOS /**/
964 /*#define I_SGTTY / **/
967 * This symbol, if defined, indicates to the C program that it should
968 * include <unistd.h>.
970 #define I_UNISTD /**/
973 * This symbol, if defined, indicates to the C program that it should
979 * This symbol, if defined, indicates to the C program that it should
980 * include <values.h> to get definition of symbols like MINFLOAT or
981 * MAXLONG, i.e. machine dependant limitations. Probably, you
982 * should use <limits.h> instead, if it is available.
984 #define I_VALUES /**/
987 * This symbol, if defined, indicates that <stdarg.h> exists and should
991 * This symbol, if defined, indicates to the C program that it should
992 * include <varargs.h>.
994 #define I_STDARG /**/
995 /*#define I_VARARGS / **/
998 * This symbol, if defined, indicates to the C program that it should
1001 /*#define I_VFORK / **/
1004 * If defined, this macro indicates that the C compiler can handle
1005 * function prototypes.
1008 * This macro is used to declare function parameters for folks who want
1009 * to make declarations with prototypes using a different style than
1010 * the above macros. Use double parentheses. For example:
1012 * int main _((int argc, char *argv[]));
1014 #define CAN_PROTOTYPE /**/
1015 #ifdef CAN_PROTOTYPE
1016 #define _(args) args
1022 * This symbol contains the full pathname to the shell used on this
1023 * on this system to execute Bourne shell scripts. Usually, this will be
1024 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1025 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1028 #define SH_PATH "/bin/sh" /**/
1031 * This symbol is defined to be the type of char used in stdio.h.
1032 * It has the values "unsigned char" or "char".
1034 #define STDCHAR unsigned char /**/
1037 * This symbol, if defined, indicates that the accessx routine is
1038 * available to do extended access checks.
1040 /*#define HAS_ACCESSX / **/
1043 * This symbol, if defined, indicates that the eaccess routine is
1044 * available to do extended access checks.
1046 /*#define HAS_EACCESS / **/
1049 * This symbol, if defined, indicates to the C program that it should
1050 * include <sys/access.h>.
1052 #define I_SYS_ACCESS /**/
1055 * This symbol, if defined, indicates to the C program that it should
1056 * include <sys/security.h>.
1058 #define I_SYS_SECURITY /**/
1061 * This symbol contains the number of bytes required to align a
1062 * double. Usual values are 2, 4 and 8.
1063 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
1064 * Binaries (MAB) for targets with varying alignment. This only matters
1065 * for perl, where the config.h can be generated and installed on one
1066 * system, and used by a different architecture to build an extension.
1067 * The default is eight, for safety.
1069 #define MEM_ALIGNBYTES 8 /**/
1072 * This symbol holds the hexadecimal constant defined in byteorder,
1073 * i.e. 0x1234 or 0x4321, etc...
1074 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1075 * Binaries (MAB) on either big endian or little endian machines.
1076 * The endian-ness is available at compile-time. This only matters
1077 * for perl, where the config.h can be generated and installed on
1078 * one system, and used by a different architecture to build an
1079 * extension. Older versions of NeXT that might not have
1080 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1081 * so the default case (for NeXT) is big endian to catch them.
1082 * This might matter for NeXT 3.0.
1085 #define BYTEORDER 0x12345678 /* large digits for MSB */
1087 #ifdef __LITTLE_ENDIAN__
1088 #define BYTEORDER 0x1234
1089 #else /* __BIG_ENDIAN__ */
1090 #define BYTEORDER 0x4321
1091 #endif /* ENDIAN CHECK */
1095 * This symbol is defined if the C compiler can cast negative
1096 * or large floating point numbers to 32-bit ints.
1098 /*#define CASTI32 / **/
1101 * This symbol is defined if the C compiler can cast negative
1102 * numbers to unsigned longs, ints and shorts.
1105 * This symbol contains flags that say what difficulties the compiler
1106 * has casting odd floating values to unsigned long:
1108 * 1 = couldn't cast < 0
1109 * 2 = couldn't cast >= 0x80000000
1110 * 4 = couldn't cast in argument expression list
1112 #define CASTNEGFLOAT /**/
1113 #define CASTFLAGS 0 /**/
1116 * This symbol, if defined, indicates that the closedir() routine
1117 * does not return a value.
1119 /*#define VOID_CLOSEDIR / **/
1122 * This symbol, when defined, indicates presence of the fd_set typedef
1125 #define HAS_FD_SET /**/
1128 * This preprocessor macro is defined to convert a floating point
1129 * number to a string without a trailing decimal point. This
1130 * emulates the behavior of sprintf("%g"), but is sometimes much more
1131 * efficient. If gconvert() is not available, but gcvt() drops the
1132 * trailing decimal point, then gcvt() is used. If all else fails,
1133 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1134 * macro are: value, number of digits, whether trailing zeros should
1135 * be retained, and the output buffer.
1136 * Possible values are:
1137 * d_Gconvert='gconvert((x),(n),(t),(b))'
1138 * d_Gconvert='gcvt((x),(n),(b))'
1139 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1140 * The last two assume trailing zeros should not be kept.
1142 #define Gconvert(x,n,t,b) gcvt((x),(n),(b))
1145 * This symbol, if defined, indicates to the C program that
1146 * the GNU C library is being used.
1148 /*#define HAS_GNULIBC / **/
1150 * This manifest constant lets the C program know that isascii
1153 #define HAS_ISASCII /**/
1156 * This symbol, if defined, indicates that the lchown routine is
1157 * available to operate on a symbolic link (instead of following the
1160 #define HAS_LCHOWN /**/
1163 * This manifest constant lets the C program know that the three
1164 * argument form of open(2) is available.
1166 #define HAS_OPEN3 /**/
1169 * This symbol, if defined, indicates that the bcopy routine is available
1170 * to copy potentially overlapping memory blocks. Otherwise you should
1171 * probably use memmove() or memcpy(). If neither is defined, roll your
1174 #define HAS_SAFE_BCOPY /**/
1177 * This symbol, if defined, indicates that the memcpy routine is available
1178 * to copy potentially overlapping memory blocks. Otherwise you should
1179 * probably use memmove() or memcpy(). If neither is defined, roll your
1182 /*#define HAS_SAFE_MEMCPY / **/
1185 * This symbol, if defined, indicates that the memcmp routine is available
1186 * and can be used to compare relative magnitudes of chars with their high
1187 * bits set. If it is not defined, roll your own version.
1189 #define HAS_SANE_MEMCMP /**/
1192 * This symbol, if defined, indicates that Vr4's sigaction() routine
1195 #define HAS_SIGACTION /**/
1198 * This variable indicates to the C program that the sigsetjmp()
1199 * routine is available to save the calling process's registers
1200 * and stack environment for later use by siglongjmp(), and
1201 * to optionally save the process's signal mask. See
1202 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1205 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1208 * This macro is used in the same way as sigsetjmp(), but will invoke
1209 * traditional setjmp() if sigsetjmp isn't available.
1210 * See HAS_SIGSETJMP.
1213 * This macro is used in the same way as siglongjmp(), but will invoke
1214 * traditional longjmp() if siglongjmp isn't available.
1215 * See HAS_SIGSETJMP.
1217 #define HAS_SIGSETJMP /**/
1218 #ifdef HAS_SIGSETJMP
1219 #define Sigjmp_buf sigjmp_buf
1220 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1221 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1223 #define Sigjmp_buf jmp_buf
1224 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1225 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1229 * This symbol is defined if the _ptr and _cnt fields (or similar)
1230 * of the stdio FILE structure can be used to access the stdio buffer
1231 * for a file handle. If this is defined, then the FILE_ptr(fp)
1232 * and FILE_cnt(fp) macros will also be defined and should be used
1233 * to access these fields.
1236 * This macro is used to access the _ptr field (or equivalent) of the
1237 * FILE structure pointed to by its argument. This macro will always be
1238 * defined if USE_STDIO_PTR is defined.
1240 /* STDIO_PTR_LVALUE:
1241 * This symbol is defined if the FILE_ptr macro can be used as an
1245 * This macro is used to access the _cnt field (or equivalent) of the
1246 * FILE structure pointed to by its argument. This macro will always be
1247 * defined if USE_STDIO_PTR is defined.
1249 /* STDIO_CNT_LVALUE:
1250 * This symbol is defined if the FILE_cnt macro can be used as an
1253 #define USE_STDIO_PTR /**/
1254 #ifdef USE_STDIO_PTR
1255 #define FILE_ptr(fp) ((fp)->_ptr)
1256 #define STDIO_PTR_LVALUE /**/
1257 #define FILE_cnt(fp) ((fp)->_cnt)
1258 #define STDIO_CNT_LVALUE /**/
1262 * This symbol is defined if the _base field (or similar) of the
1263 * stdio FILE structure can be used to access the stdio buffer for
1264 * a file handle. If this is defined, then the FILE_base(fp) macro
1265 * will also be defined and should be used to access this field.
1266 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1267 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1268 * will never be defined unless USE_STDIO_PTR is.
1271 * This macro is used to access the _base field (or equivalent) of the
1272 * FILE structure pointed to by its argument. This macro will always be
1273 * defined if USE_STDIO_BASE is defined.
1276 * This macro is used to determine the number of bytes in the I/O
1277 * buffer pointed to by _base field (or equivalent) of the FILE
1278 * structure pointed to its argument. This macro will always be defined
1279 * if USE_STDIO_BASE is defined.
1281 #define USE_STDIO_BASE /**/
1282 #ifdef USE_STDIO_BASE
1283 #define FILE_base(fp) ((fp)->_base)
1284 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1288 * This symbol, if defined, indicates that the vprintf routine is available
1289 * to printf with a pointer to an argument list. If unavailable, you
1290 * may need to write your own, probably in terms of _doprnt().
1292 /* USE_CHAR_VSPRINTF:
1293 * This symbol is defined if this system has vsprintf() returning type
1294 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1295 * is up to the package author to declare vsprintf correctly based on the
1298 #define HAS_VPRINTF /**/
1299 /*#define USE_CHAR_VSPRINTF / **/
1302 * This symbol contains the size of a double, so that the C preprocessor
1303 * can make decisions based on it.
1305 #define DOUBLESIZE 8 /**/
1308 * This symbol, if defined, indicates to the C program that it should
1312 * This symbol, if defined, indicates to the C program that it should
1313 * include <sys/time.h>.
1315 /* I_SYS_TIME_KERNEL:
1316 * This symbol, if defined, indicates to the C program that it should
1317 * include <sys/time.h> with KERNEL defined.
1319 /*#define I_TIME / **/
1320 #define I_SYS_TIME /**/
1321 /*#define I_SYS_TIME_KERNEL / **/
1324 * This symbol contains the value of sizeof(int) so that the C
1325 * preprocessor can make decisions based on it.
1328 * This symbol contains the value of sizeof(long) so that the C
1329 * preprocessor can make decisions based on it.
1332 * This symbol contains the value of sizeof(short) so that the C
1333 * preprocessor can make decisions based on it.
1335 #define INTSIZE 4 /**/
1336 #define LONGSIZE 8 /**/
1337 #define SHORTSIZE 2 /**/
1340 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1341 * non-blocking I/O for the file descriptor. Note that there is no way
1342 * back, i.e. you cannot turn it blocking again this way. If you wish to
1343 * alternatively switch between blocking and non-blocking, use the
1344 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1347 * This symbol holds the errno error code set by read() when no data was
1348 * present on the non-blocking file descriptor.
1351 * This symbol holds the return code from read() when no data is present
1352 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1353 * not defined, then you can't distinguish between no data and EOF by
1354 * issuing a read(). You'll have to find another way to tell for sure!
1357 * This symbol, if defined, indicates to the C program that a read() on
1358 * a non-blocking file descriptor will return 0 on EOF, and not the value
1359 * held in RD_NODATA (-1 usually, in that case!).
1361 #define VAL_O_NONBLOCK O_NONBLOCK
1362 #define VAL_EAGAIN EAGAIN
1363 #define RD_NODATA -1
1364 #define EOF_NONBLOCK
1367 * This symbol contains the size of a pointer, so that the C preprocessor
1368 * can make decisions based on it. It will be sizeof(void *) if
1369 * the compiler supports (void *); otherwise it will be
1372 #define PTRSIZE 8 /**/
1375 * This macro is to be used to generate uniformly distributed
1376 * random numbers over the range [0., 1.[. You may have to supply
1377 * an 'extern double drand48();' in your program since SunOS 4.1.3
1378 * doesn't provide you with anything relevant in it's headers.
1379 * See HAS_DRAND48_PROTO.
1382 * This symbol defines the type of the argument of the
1383 * random seed function.
1386 * This symbol defines the macro to be used in seeding the
1387 * random number generator (see Drand01).
1390 * This symbol indicates how many bits are produced by the
1391 * function used to generate normalized random numbers.
1392 * Values include 15, 16, 31, and 48.
1394 #define Drand01() drand48() /**/
1395 #define Rand_seed_t long /**/
1396 #define seedDrand01(x) srand48((Rand_seed_t)x) /**/
1397 #define RANDBITS 48 /**/
1400 * This symbol holds the type used by functions that return
1401 * a count of bytes or an error condition. It must be a signed type.
1402 * It is usually ssize_t, but may be long or int, etc.
1403 * It may be necessary to include <sys/types.h> or <unistd.h>
1404 * to get any typedef'ed information.
1405 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1407 #define SSize_t ssize_t /* signed count of bytes */
1410 * This symbol, if defined, indicates that this system uses
1413 /*#define EBCDIC / **/
1416 * This symbol contains the name of the operating system, as determined
1417 * by Configure. You shouldn't rely on it too much; the specific
1418 * feature tests from Configure are generally more reliable.
1420 #define OSNAME "dec_osf" /**/
1423 * This macro catenates 2 tokens together.
1426 * This macro surrounds its token with double quotes.
1429 #define CAT2(a,b)a/**/b
1430 #define STRINGIFY(a)"a"
1431 /* If you can get stringification with catify, tell me how! */
1434 #define CAT2(a,b)a ## b
1435 #define StGiFy(a)# a
1436 #define STRINGIFY(a)StGiFy(a)
1438 #if 42 != 1 && 42 != 42
1439 #include "Bletch: How does this C preprocessor catenate tokens?"
1443 * This symbol contains the first part of the string which will invoke
1444 * the C preprocessor on the standard input and produce to standard
1445 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1446 * call a wrapper. See CPPRUN.
1449 * This symbol contains the second part of the string which will invoke
1450 * the C preprocessor on the standard input and produce to standard
1451 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1452 * to specify standard input, otherwise the value is "".
1455 * This symbol contains the string which will invoke a C preprocessor on
1456 * the standard input and produce to standard output. It needs to end
1457 * with CPPLAST, after all other preprocessor flags have been specified.
1458 * The main difference with CPPSTDIN is that this program will never be a
1459 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1460 * available directly to the user. Note that it may well be different from
1461 * the preprocessor used to compile the C program.
1463 #define CPPSTDIN "cppstdin"
1465 #define CPPRUN "/usr/bin/cpp"
1468 * This manifest constant lets the C program know that the access()
1469 * system call is available to check for accessibility using real UID/GID.
1470 * (always present on UNIX.)
1472 #define HAS_ACCESS /**/
1475 * This symbol, if defined, indicates that the C-shell exists.
1478 * This symbol, if defined, contains the full pathname of csh.
1480 #define HAS_CSH /**/
1482 #define CSH "/usr/bin/csh" /**/
1486 * This symbol, if defined, indicates that the getgrent routine is
1487 * available for finalizing sequential access of the group database.
1489 #define HAS_ENDGRENT /**/
1492 * This symbol, if defined, indicates that the endhostent() routine is
1493 * available to close whatever was being used for host queries.
1495 #define HAS_ENDHOSTENT /**/
1498 * This symbol, if defined, indicates that the endnetent() routine is
1499 * available to close whatever was being used for network queries.
1501 #define HAS_ENDNETENT /**/
1504 * This symbol, if defined, indicates that the endprotoent() routine is
1505 * available to close whatever was being used for protocol queries.
1507 #define HAS_ENDPROTOENT /**/
1510 * This symbol, if defined, indicates that the getgrent routine is
1511 * available for finalizing sequential access of the passwd database.
1513 #define HAS_ENDPWENT /**/
1516 * This symbol, if defined, indicates that the endservent() routine is
1517 * available to close whatever was being used for service queries.
1519 #define HAS_ENDSERVENT /**/
1522 * This symbol, if defined, indicates that the getgrent routine is
1523 * available for sequential access of the group database.
1525 #define HAS_GETGRENT /**/
1527 /* HAS_GETHOSTBYADDR:
1528 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1529 * available to look up hosts by their IP addresses.
1531 #define HAS_GETHOSTBYADDR /**/
1533 /* HAS_GETHOSTBYNAME:
1534 * This symbol, if defined, indicates that the gethostbyname() routine is
1535 * available to look up host names in some data base or other.
1537 #define HAS_GETHOSTBYNAME /**/
1540 * This symbol, if defined, indicates that the gethostent() routine is
1541 * available to look up host names in some data base or another.
1543 #define HAS_GETHOSTENT /**/
1545 /* HAS_GETNETBYADDR:
1546 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1547 * available to look up networks by their IP addresses.
1549 #define HAS_GETNETBYADDR /**/
1551 /* HAS_GETNETBYNAME:
1552 * This symbol, if defined, indicates that the getnetbyname() routine is
1553 * available to look up networks by their names.
1555 #define HAS_GETNETBYNAME /**/
1558 * This symbol, if defined, indicates that the getnetent() routine is
1559 * available to look up network names in some data base or another.
1561 #define HAS_GETNETENT /**/
1564 * This symbol, if defined, indicates that the getprotoent() routine is
1565 * available to look up protocols in some data base or another.
1567 #define HAS_GETPROTOENT /**/
1569 /* HAS_GETPROTOBYNAME:
1570 * This symbol, if defined, indicates that the getprotobyname()
1571 * routine is available to look up protocols by their name.
1573 /* HAS_GETPROTOBYNUMBER:
1574 * This symbol, if defined, indicates that the getprotobynumber()
1575 * routine is available to look up protocols by their number.
1577 #define HAS_GETPROTOBYNAME /**/
1578 #define HAS_GETPROTOBYNUMBER /**/
1581 * This symbol, if defined, indicates that the getpwent routine is
1582 * available for sequential access of the passwd database.
1583 * If this is not available, the older getpw() function may be available.
1585 #define HAS_GETPWENT /**/
1588 * This symbol, if defined, indicates that the getservent() routine is
1589 * available to look up network services in some data base or another.
1591 #define HAS_GETSERVENT /**/
1593 /* HAS_GETSERVBYNAME:
1594 * This symbol, if defined, indicates that the getservbyname()
1595 * routine is available to look up services by their name.
1597 /* HAS_GETSERVBYPORT:
1598 * This symbol, if defined, indicates that the getservbyport()
1599 * routine is available to look up services by their port.
1601 #define HAS_GETSERVBYNAME /**/
1602 #define HAS_GETSERVBYPORT /**/
1605 * This symbol, if defined, indicates that the htonl() routine (and
1606 * friends htons() ntohl() ntohs()) are available to do network
1607 * order byte swapping.
1610 * This symbol, if defined, indicates that the htons() routine (and
1611 * friends htonl() ntohl() ntohs()) are available to do network
1612 * order byte swapping.
1615 * This symbol, if defined, indicates that the ntohl() routine (and
1616 * friends htonl() htons() ntohs()) are available to do network
1617 * order byte swapping.
1620 * This symbol, if defined, indicates that the ntohs() routine (and
1621 * friends htonl() htons() ntohl()) are available to do network
1622 * order byte swapping.
1624 #define HAS_HTONL /**/
1625 #define HAS_HTONS /**/
1626 #define HAS_NTOHL /**/
1627 #define HAS_NTOHS /**/
1630 * This symbol will be defined if the C compiler supports long
1634 * This symbol contains the size of a long double, so that the
1635 * C preprocessor can make decisions based on it. It is only
1636 * defined if the system supports long doubles.
1638 #define HAS_LONG_DOUBLE /**/
1639 #ifdef HAS_LONG_DOUBLE
1640 #define LONG_DOUBLESIZE 8 /**/
1644 * This symbol will be defined if the C compiler supports long long.
1647 * This symbol contains the size of a long long, so that the
1648 * C preprocessor can make decisions based on it. It is only
1649 * defined if the system supports long long.
1651 #define HAS_LONG_LONG /**/
1652 #ifdef HAS_LONG_LONG
1653 #define LONGLONGSIZE 8 /**/
1657 * This symbol, if defined, indicates that the mmap system call is
1658 * available to map a file into memory.
1661 * This symbol holds the return type of the mmap() system call
1662 * (and simultaneously the type of the first argument).
1663 * Usually set to 'void *' or 'cadd_t'.
1665 #define HAS_MMAP /**/
1666 #define Mmap_t void * /**/
1669 * This symbol, if defined, indicates that the entire msg*(2) library is
1670 * supported (IPC mechanism based on message queues).
1672 #define HAS_MSG /**/
1675 * This symbol, if defined, indicates that the entire sem*(2) library is
1678 #define HAS_SEM /**/
1681 * This symbol, if defined, indicates that the setgrent routine is
1682 * available for initializing sequential access of the group database.
1684 #define HAS_SETGRENT /**/
1687 * This symbol, if defined, indicates that the setgroups() routine is
1688 * available to set the list of process groups. If unavailable, multiple
1689 * groups are probably not supported.
1691 #define HAS_SETGROUPS /**/
1694 * This symbol, if defined, indicates that the sethostent() routine is
1697 #define HAS_SETHOSTENT /**/
1700 * This symbol, if defined, indicates that the setnetent() routine is
1703 #define HAS_SETNETENT /**/
1706 * This symbol, if defined, indicates that the setprotoent() routine is
1709 #define HAS_SETPROTOENT /**/
1712 * This symbol, if defined, indicates that the setpwent routine is
1713 * available for initializing sequential access of the passwd database.
1715 #define HAS_SETPWENT /**/
1718 * This symbol, if defined, indicates that the setservent() routine is
1721 #define HAS_SETSERVENT /**/
1724 * This symbol, if defined, indicates that the setvbuf routine is
1725 * available to change buffering on an open stdio stream.
1726 * to a line-buffered mode.
1728 #define HAS_SETVBUF /**/
1731 * This symbol, if defined, indicates that the entire shm*(2) library is
1734 #define HAS_SHM /**/
1737 * This symbol, if defined, indicates that the BSD socket interface is
1741 * This symbol, if defined, indicates that the BSD socketpair() call is
1745 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1746 * Checking just with #ifdef might not be enough because this symbol
1747 * has been known to be an enum.
1749 /* HAS_MSG_DONTROUTE:
1750 * This symbol, if defined, indicates that the MSG_DONTROUTE 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_OOB 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 MSG_PEEK 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 MSG_PROXY is supported.
1766 * Checking just with #ifdef might not be enough because this symbol
1767 * has been known to be an enum.
1770 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1771 * Checking just with #ifdef might not be enough because this symbol
1772 * has been known to be an enum.
1775 * This symbol, if defined, indicates that the sendmsg is supported
1776 * to send messages between sockets. You will also need struct
1777 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1780 * This symbol, if defined, indicates that the recvmsg is supported
1781 * to send messages between sockets. You will also need struct
1782 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1784 /* HAS_STRUCT_MSGHDR:
1785 * This symbol, if defined, indicates that the struct msghdr
1786 * (BSD 4.3 or 4.4) is supported. You will also need struct
1787 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1789 /* HAS_STRUCT_CMSGHDR:
1790 * This symbol, if defined, indicates that the struct cmsghdr
1791 * (BSD 4.4) is supported. You will also need struct
1792 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1794 #define HAS_SOCKET /**/
1795 #define HAS_SOCKETPAIR /**/
1796 #define HAS_MSG_CTRUNC /**/
1797 #define HAS_MSG_DONTROUTE /**/
1798 #define HAS_MSG_OOB /**/
1799 #define HAS_MSG_PEEK /**/
1800 /*#define HAS_MSG_PROXY / **/
1801 #define HAS_SCM_RIGHTS /**/
1802 #define HAS_SENDMSG /**/
1803 #define HAS_RECVMSG /**/
1804 #define HAS_STRUCT_MSGHDR /**/
1805 #define HAS_STRUCT_CMSGHDR /**/
1808 * This symbol is defined if this system has a stat structure declaring
1809 * st_blksize and st_blocks.
1811 #define USE_STAT_BLOCKS /**/
1814 * This symbol, if defined, indicates that the strerror routine is
1815 * available to translate error numbers to strings. See the writeup
1816 * of Strerror() in this file before you try to define your own.
1819 * This symbol, if defined, indicates that the sys_errlist array is
1820 * available to translate error numbers to strings. The extern int
1821 * sys_nerr gives the size of that table.
1824 * This preprocessor symbol is defined as a macro if strerror() is
1825 * not available to translate error numbers to strings but sys_errlist[]
1828 #define HAS_STRERROR /**/
1829 #define HAS_SYS_ERRLIST /**/
1830 #define Strerror(e) strerror(e)
1833 * This symbol, if defined, indicates that the union semun is
1834 * defined by including <sys/sem.h>. If not, the user code
1835 * probably needs to define it as:
1838 * struct semid_ds *buf;
1839 * unsigned short *array;
1842 /* USE_SEMCTL_SEMUN:
1843 * This symbol, if defined, indicates that union semun is
1844 * used for semctl IPC_STAT.
1846 /* USE_SEMCTL_SEMID_DS:
1847 * This symbol, if defined, indicates that struct semid_ds * is
1848 * used for semctl IPC_STAT.
1850 /*#define HAS_UNION_SEMUN / **/
1851 #define USE_SEMCTL_SEMUN /**/
1852 #define USE_SEMCTL_SEMID_DS /**/
1855 * This symbol's value is either "void" or "int", corresponding to the
1856 * appropriate return type of a signal handler. Thus, you can declare
1857 * a signal handler using "Signal_t (*handler)()", and define the
1858 * handler using "Signal_t handler(sig)".
1860 #define Signal_t void /* Signal handler's return type */
1863 * This symbol holds the type used for the second argument to
1864 * getgroups() and setgropus(). Usually, this is the same as
1865 * gidtype (gid_t) , but sometimes it isn't.
1866 * It can be int, ushort, uid_t, etc...
1867 * It may be necessary to include <sys/types.h> to get any
1868 * typedef'ed information. This is only required if you have
1869 * getgroups() or setgropus()..
1871 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1872 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1876 * This symbol, if defined, indicates to the C program that it should
1880 * This symbol, if defined, indicates to the C program that struct group
1881 * in <grp.h> contains gr_passwd.
1884 #define GRPASSWD /**/
1887 * This symbol, if defined, indicates that <netdb.h> exists and
1888 * should be included.
1890 #define I_NETDB /**/
1893 * This symbol, if defined, indicates to the C program that it should
1897 * This symbol, if defined, indicates to the C program that struct passwd
1898 * contains pw_quota.
1901 * This symbol, if defined, indicates to the C program that struct passwd
1905 * This symbol, if defined, indicates to the C program that struct passwd
1906 * contains pw_change.
1909 * This symbol, if defined, indicates to the C program that struct passwd
1910 * contains pw_class.
1913 * This symbol, if defined, indicates to the C program that struct passwd
1914 * contains pw_expire.
1917 * This symbol, if defined, indicates to the C program that struct passwd
1918 * contains pw_comment.
1921 * This symbol, if defined, indicates to the C program that struct passwd
1922 * contains pw_gecos.
1925 * This symbol, if defined, indicates to the C program that struct passwd
1926 * contains pw_passwd.
1929 #define PWQUOTA /**/
1930 /*#define PWAGE / **/
1931 /*#define PWCHANGE / **/
1932 /*#define PWCLASS / **/
1933 /*#define PWEXPIRE / **/
1934 #define PWCOMMENT /**/
1935 #define PWGECOS /**/
1936 #define PWPASSWD /**/
1939 * This symbol, if defined, indicates that <sys/uio.h> exists and
1940 * should be included.
1942 #define I_SYSUIO /**/
1945 * This variable contains the return type of free(). It is usually
1946 * void, but occasionally int.
1949 * This symbol is the type of pointer returned by malloc and realloc.
1951 #define Malloc_t void * /**/
1952 #define Free_t void /**/
1955 * This symbol, if defined, indicates that we're using our own malloc.
1957 /*#define MYMALLOC / **/
1960 * This symbol contains a list of signal names in order of
1961 * signal number. This is intended
1962 * to be used as a static array initialization, like this:
1963 * char *sig_name[] = { SIG_NAME };
1964 * The signals in the list are separated with commas, and each signal
1965 * is surrounded by double quotes. There is no leading SIG in the signal
1966 * name, i.e. SIGQUIT is known as "QUIT".
1967 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1968 * etc., where nn is the actual signal number (e.g. NUM37).
1969 * The signal number for sig_name[i] is stored in sig_num[i].
1970 * The last element is 0 to terminate the list with a NULL. This
1971 * corresponds to the 0 at the end of the sig_num list.
1974 * This symbol contains a list of signal numbers, in the same order as the
1975 * SIG_NAME list. It is suitable for static array initialization, as in:
1976 * int sig_num[] = { SIG_NUM };
1977 * The signals in the list are separated with commas, and the indices
1978 * within that list and the SIG_NAME list match, so it's easy to compute
1979 * the signal name from a number or vice versa at the price of a small
1980 * dynamic linear lookup.
1981 * Duplicates are allowed, but are moved to the end of the list.
1982 * The signal number corresponding to sig_name[i] is sig_number[i].
1983 * if (i < NSIG) then sig_number[i] == i.
1984 * The last element is 0, corresponding to the 0 at the end of
1985 * the sig_name list.
1987 #define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "EMT", "FPE", "KILL", "BUS", "SEGV", "SYS", "PIPE", "ALRM", "TERM", "IOINT", "STOP", "TSTP", "CONT", "CHLD", "TTIN", "TTOU", "AIO", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "INFO", "USR1", "USR2", "RESV", "RTMIN", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "MAX", "IOT", "LOST", "URG", "CLD", "IO", "POLL", "PTY", "PWR", "RTMAX", 0 /**/
1988 #define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 6, 6, 16, 20, 23, 23, 23, 29, 48, 0 /**/
1991 * This symbol indicates how much support of the void type is given by this
1992 * compiler. What various bits mean:
1994 * 1 = supports declaration of void
1995 * 2 = supports arrays of pointers to functions returning void
1996 * 4 = supports comparisons between pointers to void functions and
1997 * addresses of void functions
1998 * 8 = suports declaration of generic void pointers
2000 * The package designer should define VOIDUSED to indicate the requirements
2001 * of the package. This can be done either by #defining VOIDUSED before
2002 * including config.h, or by defining defvoidused in Myinit.U. If the
2003 * latter approach is taken, only those flags will be tested. If the
2004 * level of void support necessary is not present, defines void to int.
2009 #define VOIDFLAGS 15
2010 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2011 #define void int /* is void to be avoided? */
2012 #define M_VOID /* Xenix strikes again */
2016 * This variable, if defined, holds the name of the directory in
2017 * which the user wants to put architecture-dependent public
2018 * library files for perl5. It is most often a local directory
2019 * such as /usr/local/lib. Programs using this variable must be
2020 * prepared to deal with filename expansion. If ARCHLIB is the
2021 * same as PRIVLIB, it is not defined, since presumably the
2022 * program already searches PRIVLIB.
2025 * This symbol contains the ~name expanded version of ARCHLIB, to be used
2026 * in programs that are not prepared to deal with ~ expansion at run-time.
2028 #define ARCHLIB "/opt/perl/lib/5.00555/alpha-dec_osf-thread" /**/
2029 #define ARCHLIB_EXP "/opt/perl/lib/5.00555/alpha-dec_osf-thread" /**/
2031 /* DLSYM_NEEDS_UNDERSCORE:
2032 * This symbol, if defined, indicates that we need to prepend an
2033 * underscore to the symbol name before calling dlsym(). This only
2034 * makes sense if you *have* dlsym, which we will presume is the
2035 * case if you're using dl_dlopen.xs.
2037 /*#define DLSYM_NEEDS_UNDERSCORE / **/
2040 * This symbol, if defined, indicates that the fseeko routine is
2041 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2043 /*#define HAS_FSEEKO / **/
2046 * This symbol, if defined, indicates that the ftello routine is
2047 * available to ftell from beyond 32 bits (useful for ILP32 hosts).
2049 /*#define HAS_FTELLO / **/
2052 * This symbol, if defined, indicates that the getmntent routine is
2053 * available to iterate through mounted file systems.
2055 /*#define HAS_GETMNTENT / **/
2058 * This symbol, if defined, indicates that the hasmntopt routine is
2059 * available to query the mount options of file systems.
2061 /*#define HAS_HASMNTOPT / **/
2064 * This symbol, if defined, indicates that the madvise system call is
2065 * available to map a file into memory.
2067 #define HAS_MADVISE /**/
2070 * This symbol, if defined, indicates that the mprotect system call is
2071 * available to modify the access protection of a memory mapped file.
2073 #define HAS_MPROTECT /**/
2076 * This symbol, if defined, indicates that the readv routine is
2077 * available to do gather reads. You will also need <sys/uio.h>
2078 * and there I_SYSUIO.
2080 #define HAS_READV /**/
2083 * This symbol, if defined, indicates that sfio should
2086 /*#define USE_SFIO / **/
2089 * This symbol, if defined, indicates that the fstatfs routine is
2090 * available to do stat filesystems of file descriptors.
2092 /* HAS_STRUCT_STATFS_FLAGS:
2093 * This symbol, if defined, indicates that the struct statfs
2094 * does have the f_flags member containing the mount flags of
2095 * the filesystem holding the file.
2096 * This kind of struct statfs is coming from sys/mount.h (BSD)
2097 * and not from sys/statfs.h (SYSV).
2099 #define HAS_FSTATFS /**/
2100 #define HAS_STRUCT_STATFS_FLAGS /**/
2103 * This symbol, if defined, indicates that the fstatvfs routine is
2104 * available to do stat filesystems of file descriptors.
2106 #define HAS_FSTATVFS /**/
2108 /* HAS_TELLDIR_PROTO:
2109 * This symbol, if defined, indicates that the system provides
2110 * a prototype for the telldir() function. Otherwise, it is up
2111 * to the program to supply one. A good guess is
2112 * extern long telldir _((DIR*));
2114 #define HAS_TELLDIR_PROTO /**/
2117 * This symbol, if defined, indicates that the writev routine is
2118 * available to do scatter writes.
2120 #define HAS_WRITEV /**/
2123 * This symbol, if defined, indicates that the dbminit64 routine is
2124 * available to open dbm files larger than 2 gigabytes.
2127 * This symbol, if defined, indicates that the dbmclose64 routine is
2128 * available to close dbm files larger than 2 gigabytes.
2131 * This symbol, if defined, indicates that the fetch64 routine is
2132 * available to fetch from dbm files larger than 2 gigabytes.
2135 * This symbol, if defined, indicates that the store64 routine is
2136 * available to store to dbm files larger than 2 gigabytes.
2139 * This symbol, if defined, indicates that the delete64 routine is
2140 * available to delete from dbm files larger than 2 gigabytes.
2143 * This symbol, if defined, indicates that the firstkey64 routine is
2144 * available to firstkey in dbm files larger than 2 gigabytes.
2147 * This symbol, if defined, indicates that the nextkey64 routine is
2148 * available to nextkey in dbm files larger than 2 gigabytes.
2150 /*#define HAS_DBMINIT64 / **/
2151 /*#define HAS_DBMCLOSE64 / **/
2152 /*#define HAS_FETCH64 / **/
2153 /*#define HAS_STORE64 / **/
2154 /*#define HAS_DELETE64 / **/
2155 /*#define HAS_FIRSTKEY64 / **/
2156 /*#define HAS_NEXTKEY64 / **/
2158 /* USE_DYNAMIC_LOADING:
2159 * This symbol, if defined, indicates that dynamic loading of
2160 * some sort is available.
2162 #define USE_DYNAMIC_LOADING /**/
2165 * This symbol contains the type of the prefix structure element
2166 * in the <db.h> header file. In older versions of DB, it was
2167 * int, while in newer ones it is u_int32_t.
2170 * This symbol contains the type of the prefix structure element
2171 * in the <db.h> header file. In older versions of DB, it was
2172 * int, while in newer ones it is size_t.
2174 #define DB_Hash_t u_int32_t /**/
2175 #define DB_Prefix_t size_t /**/
2178 * This symbol, if defined, indicates to the C program that it should
2179 * include <inttypes.h>.
2182 * This symbol will defined if the C compiler supports int64_t.
2183 * Usually the <inttypes.h> needs to be included, but sometimes
2184 * <sys/types.h> is enough.
2186 /*#define I_INTTYPES / **/
2187 /*#define HAS_INT64_T / **/
2190 * This symbol, if defined, indicates that <mntent.h> exists and
2191 * should be included.
2193 /*#define I_MNTENT / **/
2196 * This symbol, if defined, indicates that <poll.h> exists and
2197 * should be included.
2202 * This symbol, if defined, indicates that <sys/mman.h> exists and
2203 * should be included.
2205 #define I_SYS_MMAN /**/
2208 * This symbol, if defined, indicates that <sys/mount.h> exists and
2209 * should be included.
2211 #define I_SYS_MOUNT /**/
2214 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2215 * should be included.
2217 #define I_SYS_STATVFS /**/
2219 /* INSTALL_USR_BIN_PERL:
2220 * This symbol, if defined, indicates that Perl is to be installed
2221 * also as /usr/bin/perl.
2223 #define INSTALL_USR_BIN_PERL /**/
2226 * This symbol, if defined, indicates that the fstat64 routine is
2227 * available to stat files (fds) larger than 2 gigabytes.
2230 * This symbol, if defined, indicates that the ftruncate64 routine is
2231 * available to tell files larger than 2 gigabytes.
2234 * This symbol, if defined, indicates that the lseek64 routine is
2235 * available to seek files larger than 2 gigabytes.
2238 * This symbol, if defined, indicates that the lstat64 routine is
2239 * available to stat files (symlinks) larger than 2 gigabytes.
2242 * This symbol, if defined, indicates that the open64 routine is
2243 * available to open files larger than 2 gigabytes.
2246 * This symbol, if defined, indicates that the opendir64 routine is
2247 * available to opendir files larger than 2 gigabytes.
2250 * This symbol, if defined, indicates that the readdir64 routine is
2251 * available to readdir files larger than 2 gigabytes.
2254 * This symbol, if defined, indicates that the seekdir64 routine is
2255 * available to seekdir files larger than 2 gigabytes.
2258 * This symbol, if defined, indicates that the stat64 routine is
2259 * available to stat files larger than 2 gigabytes.
2262 * This symbol, if defined, indicates that the telldir64 routine is
2263 * available to telldir files larger than 2 gigabytes.
2266 * This symbol, if defined, indicates that the truncate64 routine is
2267 * available to truncate files larger than 2 gigabytes.
2270 * This symbol will be defined if the C compiler supports off64_t.
2272 /* HAS_STRUCT_DIRENT64:
2273 * This symbol will be defined if the C compiler supports struct dirent64.
2275 /*#define HAS_FSTAT64 / **/
2276 /*#define HAS_FTRUNCATE64 / **/
2277 /*#define HAS_LSEEK64 / **/
2278 /*#define HAS_LSTAT64 / **/
2279 /*#define HAS_OPEN64 / **/
2280 /*#define HAS_OPENDIR64 / **/
2281 /*#define HAS_READDIR64 / **/
2282 /*#define HAS_SEEKDIR64 / **/
2283 /*#define HAS_STAT64 / **/
2284 /*#define HAS_TELLDIR64 / **/
2285 /*#define HAS_TRUNCATE64 / **/
2286 /*#define HAS_OFF64_T / **/
2287 /*#define HAS_STRUCT_DIRENT64 / **/
2290 * This symbol contains the name of the private library for this package.
2291 * The library is private in the sense that it needn't be in anyone's
2292 * execution path, but it should be accessible by the world. The program
2293 * should be prepared to do ~ expansion.
2296 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2297 * in programs that are not prepared to deal with ~ expansion at run-time.
2299 #define PRIVLIB "/opt/perl/lib/5.00555" /**/
2300 #define PRIVLIB_EXP "/opt/perl/lib/5.00555" /**/
2303 * This symbol holds the minimum number of bits operated by select.
2304 * That is, if you do select(n, ...), how many bits at least will be
2305 * cleared in the masks if some activity is detected. Usually this
2306 * is either n or 32*ceil(n/32), especially many little-endians do
2307 * the latter. This is only useful if you have select(), naturally.
2309 #define SELECT_MIN_BITS 32 /**/
2312 * This symbol contains the name of the private library for this package.
2313 * The library is private in the sense that it needn't be in anyone's
2314 * execution path, but it should be accessible by the world. The program
2315 * should be prepared to do ~ expansion.
2316 * The standard distribution will put nothing in this directory.
2317 * Individual sites may place their own extensions and modules in
2321 * This symbol contains the ~name expanded version of SITEARCH, to be used
2322 * in programs that are not prepared to deal with ~ expansion at run-time.
2324 #define SITEARCH "/opt/perl/lib/site_perl/5.00555/alpha-dec_osf-thread" /**/
2325 #define SITEARCH_EXP "/opt/perl/lib/site_perl/5.00555/alpha-dec_osf-thread" /**/
2328 * This symbol contains the name of the private library for this package.
2329 * The library is private in the sense that it needn't be in anyone's
2330 * execution path, but it should be accessible by the world. The program
2331 * should be prepared to do ~ expansion.
2332 * The standard distribution will put nothing in this directory.
2333 * Individual sites may place their own extensions and modules in
2337 * This symbol contains the ~name expanded version of SITELIB, to be used
2338 * in programs that are not prepared to deal with ~ expansion at run-time.
2340 #define SITELIB "/opt/perl/lib/site_perl/5.00555" /**/
2341 #define SITELIB_EXP "/opt/perl/lib/site_perl/5.00555" /**/
2344 * This variable contains the string to put in front of a perl
2345 * script to make sure (one hopes) that it runs with perl and not
2348 #define STARTPERL "#!/opt/perl/bin/perl" /**/
2351 * This symbol, if defined, indicates that the fgetpos64 routine is
2352 * available to getpos files larger than 2 gigabytes.
2355 * This symbol, if defined, indicates that the fopen64 routine is
2356 * available to open files larger than 2 gigabytes.
2359 * This symbol, if defined, indicates that the freopen64 routine is
2360 * available to reopen files larger than 2 gigabytes.
2363 * This symbol, if defined, indicates that the fseek64 routine is
2364 * available to seek files larger than 2 gigabytes.
2367 * This symbol, if defined, indicates that the fseeko64 routine is
2368 * available to seek files larger than 2 gigabytes.
2371 * This symbol, if defined, indicates that the fsetpos64 routine is
2372 * available to setpos files larger than 2 gigabytes.
2375 * This symbol, if defined, indicates that the ftell64 routine is
2376 * available to tell files larger than 2 gigabytes.
2379 * This symbol, if defined, indicates that the ftello64 routine is
2380 * available to tell files larger than 2 gigabytes.
2383 * This symbol, if defined, indicates that the tmpfile64 routine is
2384 * available to tmpfile files larger than 2 gigabytes.
2386 /*#define HAS_FGETPOS64 / **/
2387 /*#define HAS_FOPEN64 / **/
2388 /*#define HAS_FREOPEN64 / **/
2389 /*#define HAS_FSEEK64 / **/
2390 /*#define HAS_FSEEKO64 / **/
2391 /*#define HAS_FSETPOS64 / **/
2392 /*#define HAS_FTELL64 / **/
2393 /*#define HAS_FTELLO64 / **/
2394 /*#define HAS_TMPFILE64 / **/
2397 * This symbol, if defined, indicates that 64-bit interfaces should
2398 * be used when available. If not defined, the native default interfaces
2399 * will be used (be they 32 or 64 bits).
2401 #define USE_64_BITS /**/
2404 * This symbol, if defined, indicates that Perl should
2405 * be built to use multiplicity.
2407 /*#define MULTIPLICITY / **/
2410 * This symbol, if defined, indicates that the PerlIO abstraction should
2411 * be used throughout. If not defined, stdio should be
2412 * used in a fully backward compatible manner.
2414 /*#define USE_PERLIO / **/
2416 /* HAS_DRAND48_PROTO:
2417 * This symbol, if defined, indicates that the system provides
2418 * a prototype for the drand48() function. Otherwise, it is up
2419 * to the program to supply one. A good guess is
2420 * extern double drand48 _((void));
2422 #define HAS_DRAND48_PROTO /**/
2424 /* HAS_GETHOST_PROTOS:
2425 * This symbol, if defined, indicates that <netdb.h> includes
2426 * prototypes for gethostent(), gethostbyname(), and
2427 * gethostbyaddr(). Otherwise, it is up to the program to guess
2428 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2430 #define HAS_GETHOST_PROTOS /**/
2432 /* HAS_GETNET_PROTOS:
2433 * This symbol, if defined, indicates that <netdb.h> includes
2434 * prototypes for getnetent(), getnetbyname(), and
2435 * getnetbyaddr(). Otherwise, it is up to the program to guess
2436 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2438 #define HAS_GETNET_PROTOS /**/
2440 /* HAS_GETPROTO_PROTOS:
2441 * This symbol, if defined, indicates that <netdb.h> includes
2442 * prototypes for getprotoent(), getprotobyname(), and
2443 * getprotobyaddr(). Otherwise, it is up to the program to guess
2444 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2446 #define HAS_GETPROTO_PROTOS /**/
2448 /* HAS_GETSERV_PROTOS:
2449 * This symbol, if defined, indicates that <netdb.h> includes
2450 * prototypes for getservent(), getservbyname(), and
2451 * getservbyaddr(). Otherwise, it is up to the program to guess
2452 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2454 #define HAS_GETSERV_PROTOS /**/
2457 * This symbol holds the type used for the 1st argument
2458 * to gethostbyaddr().
2461 * This symbol holds the type used for the 2nd argument
2462 * to gethostbyaddr().
2465 * This symbol holds the type used for the argument to
2469 * This symbol holds the type used for the 1st argument to
2472 #define Netdb_host_t const char * /**/
2473 #define Netdb_hlen_t int /**/
2474 #define Netdb_name_t const char * /**/
2475 #define Netdb_net_t int /**/
2478 * This symbol holds the type used for the 2nd, 3rd, and 4th
2479 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2480 * is defined, and 'int *' otherwise. This is only useful if you
2481 * have select(), of course.
2483 #define Select_fd_set_t fd_set * /**/
2486 * This symbol holds a string representing the architecture name.
2487 * It may be used to construct an architecture-dependant pathname
2488 * where library files may be held under a private library, for
2491 #define ARCHNAME "alpha-dec_osf-thread" /**/
2493 /* OLD_PTHREAD_CREATE_JOINABLE:
2494 * This symbol, if defined, indicates how to create pthread
2495 * in joinable (aka undetached) state. NOTE: not defined
2496 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2497 * (the new version of the constant).
2498 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2501 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
2503 /* HAS_PTHREAD_YIELD:
2504 * This symbol, if defined, indicates that the pthread_yield
2505 * routine is available to yield the execution of the current
2506 * thread. sched_yield is preferable to pthread_yield.
2509 * This symbol defines the way to yield the execution of
2510 * the current thread. Known ways are sched_yield,
2511 * pthread_yield, and pthread_yield with NULL.
2514 * This symbol, if defined, indicates that the sched_yield
2515 * routine is available to yield the execution of the current
2516 * thread. sched_yield is preferable to pthread_yield.
2518 /*#define HAS_PTHREAD_YIELD / **/
2519 #define SCHED_YIELD sched_yield() /**/
2520 #define HAS_SCHED_YIELD /**/
2523 * This symbol, if defined, indicates to the C program that it should
2524 * include <mach/cthreads.h>.
2526 /*#define I_MACH_CTHREADS / **/
2529 * This symbol, if defined, indicates that Perl should
2530 * be built to use threads.
2532 /* OLD_PTHREADS_API:
2533 * This symbol, if defined, indicates that Perl should
2534 * be built to use the old draft POSIX threads API.
2536 #define USE_THREADS /**/
2537 /*#define OLD_PTHREADS_API / **/
2540 * This symbol holds the type returned by time(). It can be long,
2541 * or time_t on BSD sites (in which case <sys/types.h> should be
2544 #define Time_t time_t /* Time type */
2547 * This symbol, if defined, indicates that the times() routine exists.
2548 * Note that this became obsolete on some systems (SUNOS), which now
2549 * use getrusage(). It may be necessary to include <sys/times.h>.
2551 #define HAS_TIMES /**/
2554 * This symbol holds the type used to declare file positions in libc.
2555 * It can be fpos_t, long, uint, etc... It may be necessary to include
2556 * <sys/types.h> to get any typedef'ed information.
2558 #define Fpos_t fpos_t /* File position type */
2561 * This symbol holds the return type of getgid() and the type of
2562 * argument to setrgid() and related functions. Typically,
2563 * it is the type of group ids in the kernel. It can be int, ushort,
2564 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2565 * any typedef'ed information.
2567 #define Gid_t gid_t /* Type for getgid(), etc... */
2570 * This symbol holds the type used to declare offsets in the kernel.
2571 * It can be int, long, off_t, etc... It may be necessary to include
2572 * <sys/types.h> to get any typedef'ed information.
2575 * This symbol holds the number of bytes used by the Off_t.
2577 #define Off_t off_t /* <offset> type */
2578 #define LSEEKSIZE 8 /* <offset> size */
2581 * This symbol holds the type used to declare file modes
2582 * for systems calls. It is usually mode_t, but may be
2583 * int or unsigned short. It may be necessary to include <sys/types.h>
2584 * to get any typedef'ed information.
2586 #define Mode_t mode_t /* file mode parameter for system calls */
2589 * This symbol holds the type used to declare process ids in the kernel.
2590 * It can be int, uint, pid_t, etc... It may be necessary to include
2591 * <sys/types.h> to get any typedef'ed information.
2593 #define Pid_t pid_t /* PID type */
2596 * This symbol holds the type used to declare length parameters
2597 * for string functions. It is usually size_t, but may be
2598 * unsigned long, int, etc. It may be necessary to include
2599 * <sys/types.h> to get any typedef'ed information.
2601 #define Size_t size_t /* length paramater for string functions */
2604 * This symbol holds the type used to declare user ids in the kernel.
2605 * It can be int, ushort, uid_t, etc... It may be necessary to include
2606 * <sys/types.h> to get any typedef'ed information.
2608 #define Uid_t uid_t /* UID type */