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 : /m/fs/work/work/permanent/perl/pp4/perl
20 * Configuration time: Sat Nov 11 18:52:36 EET 2000
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, if defined, indicates that the alarm routine is
37 #define HAS_ALARM /**/
40 * This symbol indicates the C compiler can check for function attributes,
41 * such as printf formats. This is normally only supported by GNU cc.
43 /*#define HASATTRIBUTE / **/
45 #define __attribute__(_arg_)
49 * This symbol is defined if the bcmp() routine is available to
50 * compare blocks of memory.
55 * This symbol is defined if the bcopy() routine is available to
56 * copy blocks of memory.
58 #define HAS_BCOPY /**/
61 * This symbol is defined if the bzero() routine is available to
62 * set a memory block to 0.
64 #define HAS_BZERO /**/
67 * This symbol, if defined, indicates that the chown routine is
70 #define HAS_CHOWN /**/
73 * This symbol, if defined, indicates that the chroot routine is
76 #define HAS_CHROOT /**/
79 * This symbol, if defined, indicates that the chsize routine is available
80 * to truncate files. You might need a -lx to get this routine.
82 /*#define HAS_CHSIZE / **/
85 * This symbol, if defined, indicates that this C compiler knows about
86 * the const type. There is no need to actually test for that symbol
87 * within your programs. The mere use of the "const" keyword will
88 * trigger the necessary tests.
96 * This symbol, if defined, indicates that the crypt routine is available
97 * to encrypt passwords and the like.
99 #define HAS_CRYPT /**/
102 * This symbol, if defined, indicates that the cuserid routine is
103 * available to get character login names.
105 #define HAS_CUSERID /**/
108 * This symbol, if defined, indicates that this system's <float.h>
109 * or <limits.h> defines the symbol DBL_DIG, which is the number
110 * of significant digits in a double precision number. If this
111 * symbol is not defined, a guess of 15 is usually pretty good.
113 #define HAS_DBL_DIG /* */
116 * This symbol, if defined, indicates that the difftime routine is
119 #define HAS_DIFFTIME /**/
122 * This symbol, if defined, indicates that the dlerror routine is
123 * available to return a string describing the last error that
124 * occurred from a call to dlopen(), dlclose() or dlsym().
126 #define HAS_DLERROR /**/
128 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
129 * This symbol, if defined, indicates that the bug that prevents
130 * setuid scripts from being secure is not present in this kernel.
133 * This symbol, if defined, indicates that the C program should
134 * check the script that it is executing for setuid/setgid bits, and
135 * attempt to emulate setuid/setgid on systems that have disabled
136 * setuid #! scripts because the kernel can't do it securely.
137 * It is up to the package designer to make sure that this emulation
138 * is done securely. Among other things, it should do an fstat on
139 * the script it just opened to make sure it really is a setuid/setgid
140 * script, it should make sure the arguments passed correspond exactly
141 * to the argument on the #! line, and it should not trust any
142 * subprocesses to which it must pass the filename rather than the
143 * file descriptor of the script to be executed.
145 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
146 /*#define DOSUID / **/
149 * This symbol, if defined, indicates that the dup2 routine is
150 * available to duplicate file descriptors.
152 #define HAS_DUP2 /**/
155 * This symbol, if defined, indicates that the fchmod routine is available
156 * to change mode of opened files. If unavailable, use chmod().
158 #define HAS_FCHMOD /**/
161 * This symbol, if defined, indicates that the fchown routine is available
162 * to change ownership of opened files. If unavailable, use chown().
164 #define HAS_FCHOWN /**/
167 * This symbol, if defined, indicates to the C program that
168 * the fcntl() function exists.
170 #define HAS_FCNTL /**/
173 * This symbol, if defined, indicates that the fgetpos routine is
174 * available to get the file position indicator, similar to ftell().
176 #define HAS_FGETPOS /**/
179 * This symbol, if defined, indicates that the flock routine is
180 * available to do file locking.
182 #define HAS_FLOCK /**/
185 * This symbol, if defined, indicates that the fork routine is
188 #define HAS_FORK /**/
191 * This symbol, if defined, indicates that the fsetpos routine is
192 * available to set the file position indicator, similar to fseek().
194 #define HAS_FSETPOS /**/
197 * This symbol, if defined, indicates that the gettimeofday() system
198 * call is available for a sub-second accuracy clock. Usually, the file
199 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
200 * The type "Timeval" should be used to refer to "struct timeval".
202 #define HAS_GETTIMEOFDAY /**/
203 #ifdef HAS_GETTIMEOFDAY
204 #define Timeval struct timeval /* Structure used by gettimeofday() */
208 * This symbol, if defined, indicates that the getgroups() routine is
209 * available to get the list of process groups. If unavailable, multiple
210 * groups are probably not supported.
212 #define HAS_GETGROUPS /**/
215 * This symbol, if defined, indicates that the getlogin routine is
216 * available to get the login name.
218 #define HAS_GETLOGIN /**/
221 * This symbol, if defined, indicates to the C program that
222 * the getpgid(pid) function is available to get the
225 #define HAS_GETPGID /**/
228 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
229 * routine is available to get the current process group.
231 /*#define HAS_GETPGRP2 / **/
234 * This symbol, if defined, indicates that the getppid routine is
235 * available to get the parent process ID.
237 #define HAS_GETPPID /**/
240 * This symbol, if defined, indicates that the getpriority routine is
241 * available to get a process's priority.
243 #define HAS_GETPRIORITY /**/
246 * This symbol, if defined, indicates to the C program that the
247 * inet_aton() function is available to parse IP address "dotted-quad"
250 #define HAS_INET_ATON /**/
253 * This symbol, if defined, indicates that the killpg routine is available
254 * to kill process groups. If unavailable, you probably should use kill
255 * with a negative process number.
257 #define HAS_KILLPG /**/
260 * This symbol, if defined, indicates that the link routine is
261 * available to create hard links.
263 #define HAS_LINK /**/
266 * This symbol, if defined, indicates that the localeconv routine is
267 * available for numeric and monetary formatting conventions.
269 #define HAS_LOCALECONV /**/
272 * This symbol, if defined, indicates that the lockf routine is
273 * available to do file locking.
275 #define HAS_LOCKF /**/
278 * This symbol, if defined, indicates that the lstat routine is
279 * available to do file stats on symbolic links.
281 #define HAS_LSTAT /**/
284 * This symbol, if defined, indicates that the mblen routine is available
285 * to find the number of bytes in a multibye character.
287 #define HAS_MBLEN /**/
290 * This symbol, if defined, indicates that the mbstowcs routine is
291 * available to covert a multibyte string into a wide character string.
293 #define HAS_MBSTOWCS /**/
296 * This symbol, if defined, indicates that the mbtowc routine is available
297 * to covert a multibyte to a wide character.
299 #define HAS_MBTOWC /**/
302 * This symbol, if defined, indicates that the memcmp routine is available
303 * to compare blocks of memory.
305 #define HAS_MEMCMP /**/
308 * This symbol, if defined, indicates that the memcpy routine is available
309 * to copy blocks of memory.
311 #define HAS_MEMCPY /**/
314 * This symbol, if defined, indicates that the memmove routine is available
315 * to copy potentially overlapping blocks of memory. This should be used
316 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
319 #define HAS_MEMMOVE /**/
322 * This symbol, if defined, indicates that the memset routine is available
323 * to set blocks of memory.
325 #define HAS_MEMSET /**/
328 * This symbol, if defined, indicates that the mkdir routine is available
329 * to create directories. Otherwise you should fork off a new process to
332 #define HAS_MKDIR /**/
335 * This symbol, if defined, indicates that the mkfifo routine is
336 * available to create FIFOs. Otherwise, mknod should be able to
337 * do it for you. However, if mkfifo is there, mknod might require
338 * super-user privileges which mkfifo will not.
340 #define HAS_MKFIFO /**/
343 * This symbol, if defined, indicates that the mktime routine is
346 #define HAS_MKTIME /**/
349 * This symbol, if defined, indicates that the msync system call is
350 * available to synchronize a mapped file.
352 #define HAS_MSYNC /**/
355 * This symbol, if defined, indicates that the munmap system call is
356 * available to unmap a region, usually mapped by mmap().
358 #define HAS_MUNMAP /**/
361 * This symbol, if defined, indicates that the nice routine is
364 #define HAS_NICE /**/
367 * This symbol, if defined, indicates that pathconf() is available
368 * to determine file-system related limits and options associated
369 * with a given filename.
372 * This symbol, if defined, indicates that pathconf() is available
373 * to determine file-system related limits and options associated
374 * with a given open file descriptor.
376 #define HAS_PATHCONF /**/
377 #define HAS_FPATHCONF /**/
380 * This symbol, if defined, indicates that the pause routine is
381 * available to suspend a process until a signal is received.
383 #define HAS_PAUSE /**/
386 * This symbol, if defined, indicates that the pipe routine is
387 * available to create an inter-process channel.
389 #define HAS_PIPE /**/
392 * This symbol, if defined, indicates that the poll routine is
393 * available to poll active file descriptors. You may safely
394 * include <poll.h> when this symbol is defined.
396 #define HAS_POLL /**/
399 * This symbol, if defined, indicates that the readdir routine is
400 * available to read directory entries. You may have to include
401 * <dirent.h>. See I_DIRENT.
403 #define HAS_READDIR /**/
406 * This symbol, if defined, indicates that the seekdir routine is
407 * available. You may have to include <dirent.h>. See I_DIRENT.
409 #define HAS_SEEKDIR /**/
412 * This symbol, if defined, indicates that the telldir routine is
413 * available. You may have to include <dirent.h>. See I_DIRENT.
415 #define HAS_TELLDIR /**/
418 * This symbol, if defined, indicates that the rewinddir routine is
419 * available. You may have to include <dirent.h>. See I_DIRENT.
421 #define HAS_REWINDDIR /**/
424 * This symbol, if defined, indicates that the readlink routine is
425 * available to read the value of a symbolic link.
427 #define HAS_READLINK /**/
430 * This symbol, if defined, indicates that the rename routine is available
431 * to rename files. Otherwise you should do the unlink(), link(), unlink()
434 #define HAS_RENAME /**/
437 * This symbol, if defined, indicates that the rmdir routine is
438 * available to remove directories. Otherwise you should fork off a
439 * new process to exec /bin/rmdir.
441 #define HAS_RMDIR /**/
444 * This symbol, if defined, indicates that the select routine is
445 * available to select active file descriptors. If the timeout field
446 * is used, <sys/time.h> may need to be included.
448 #define HAS_SELECT /**/
451 * This symbol, if defined, indicates that the setegid routine is available
452 * to change the effective gid of the current program.
454 #define HAS_SETEGID /**/
457 * This symbol, if defined, indicates that the seteuid routine is available
458 * to change the effective uid of the current program.
460 #define HAS_SETEUID /**/
463 * This symbol, if defined, indicates that the setlinebuf routine is
464 * available to change stderr or stdout from block-buffered or unbuffered
465 * to a line-buffered mode.
467 #define HAS_SETLINEBUF /**/
470 * This symbol, if defined, indicates that the setlocale routine is
471 * available to handle locale-specific ctype implementations.
473 #define HAS_SETLOCALE /**/
476 * This symbol, if defined, indicates that the setpgid(pid, gpid)
477 * routine is available to set process group ID.
479 #define HAS_SETPGID /**/
482 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
483 * routine is available to set the current process group.
485 /*#define HAS_SETPGRP2 / **/
488 * This symbol, if defined, indicates that the setpriority routine is
489 * available to set a process's priority.
491 #define HAS_SETPRIORITY /**/
494 * This symbol, if defined, indicates that the setregid routine is
495 * available to change the real and effective gid of the current
499 * This symbol, if defined, indicates that the setresgid routine is
500 * available to change the real, effective and saved gid of the current
503 #define HAS_SETREGID /**/
504 /*#define HAS_SETRESGID / **/
507 * This symbol, if defined, indicates that the setreuid routine is
508 * available to change the real and effective uid of the current
512 * This symbol, if defined, indicates that the setresuid routine is
513 * available to change the real, effective and saved uid of the current
516 #define HAS_SETREUID /**/
517 /*#define HAS_SETRESUID / **/
520 * This symbol, if defined, indicates that the setrgid routine is available
521 * to change the real gid of the current program.
523 #define HAS_SETRGID /**/
526 * This symbol, if defined, indicates that the setruid routine is available
527 * to change the real uid of the current program.
529 #define HAS_SETRUID /**/
532 * This symbol, if defined, indicates that the setsid routine is
533 * available to set the process group ID.
535 #define HAS_SETSID /**/
538 * This symbol holds the return type of the shmat() system call.
539 * Usually set to 'void *' or 'char *'.
541 /* HAS_SHMAT_PROTOTYPE:
542 * This symbol, if defined, indicates that the sys/shm.h includes
543 * a prototype for shmat(). Otherwise, it is up to the program to
544 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
545 * but not always right so it should be emitted by the program only
546 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
548 #define Shmat_t void * /**/
549 #define HAS_SHMAT_PROTOTYPE /**/
552 * This symbol is defined to indicate that the strchr()/strrchr()
553 * functions are available for string searching. If not, try the
554 * index()/rindex() pair.
557 * This symbol is defined to indicate that the index()/rindex()
558 * functions are available for string searching.
560 #define HAS_STRCHR /**/
561 /*#define HAS_INDEX / **/
564 * This symbol, if defined, indicates that the strcoll routine is
565 * available to compare strings using collating information.
567 #define HAS_STRCOLL /**/
570 * This symbol, if defined, indicates that this C compiler knows how
571 * to copy structures. If undefined, you'll need to use a block copy
572 * routine of some sort instead.
574 #define USE_STRUCT_COPY /**/
577 * This symbol, if defined, indicates that the strtod routine is
578 * available to provide better numeric string conversion than atof().
580 #define HAS_STRTOD /**/
583 * This symbol, if defined, indicates that the strtol routine is available
584 * to provide better numeric string conversion than atoi() and friends.
586 #define HAS_STRTOL /**/
589 * This symbol, if defined, indicates that the strtoul routine is
590 * available to provide conversion of strings to unsigned long.
592 #define HAS_STRTOUL /**/
595 * This symbol, if defined, indicates that the strxfrm() routine is
596 * available to transform strings.
598 #define HAS_STRXFRM /**/
601 * This symbol, if defined, indicates that the symlink routine is available
602 * to create symbolic links.
604 #define HAS_SYMLINK /**/
607 * This symbol, if defined, indicates that the syscall routine is
608 * available to call arbitrary system calls. If undefined, that's tough.
610 #define HAS_SYSCALL /**/
613 * This symbol, if defined, indicates that sysconf() is available
614 * to determine system related limits and options.
616 #define HAS_SYSCONF /**/
619 * This symbol, if defined, indicates that the system routine is
620 * available to issue a shell command.
622 #define HAS_SYSTEM /**/
625 * This symbol, if defined, indicates that the tcgetpgrp routine is
626 * available to get foreground process group ID.
628 #define HAS_TCGETPGRP /**/
631 * This symbol, if defined, indicates that the tcsetpgrp routine is
632 * available to set foreground process group ID.
634 #define HAS_TCSETPGRP /**/
637 * This symbol, if defined, indicates that the truncate routine is
638 * available to truncate files.
640 #define HAS_TRUNCATE /**/
643 * This symbol, if defined, indicates that the tzname[] array is
644 * available to access timezone names.
646 #define HAS_TZNAME /**/
649 * This symbol, if defined, indicates that the umask routine is
650 * available to set and get the value of the file creation mask.
652 #define HAS_UMASK /**/
655 * This symbol, if defined, indicates that this C compiler knows about
656 * the volatile declaration.
658 #define HASVOLATILE /**/
664 * This symbol, if defined, indicates that wait4() exists.
666 #define HAS_WAIT4 /**/
669 * This symbol, if defined, indicates that the waitpid routine is
670 * available to wait for child process.
672 #define HAS_WAITPID /**/
675 * This symbol, if defined, indicates that the wcstombs routine is
676 * available to convert wide character strings to multibyte strings.
678 #define HAS_WCSTOMBS /**/
681 * This symbol, if defined, indicates that the wctomb routine is available
682 * to covert a wide character to a multibyte.
684 #define HAS_WCTOMB /**/
687 * This symbol, if defined, indicates to the C program that it should
688 * include <arpa/inet.h> to get inet_addr and friends declarations.
690 #define I_ARPA_INET /**/
693 * This symbol, if defined, indicates that <dbm.h> exists and should
697 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
698 * should be included.
701 /*#define I_RPCSVC_DBM / **/
704 * This symbol, if defined, indicates to the C program that it should
705 * include <dirent.h>. Using this symbol also triggers the definition
706 * of the Direntry_t define which ends up being 'struct dirent' or
707 * 'struct direct' depending on the availability of <dirent.h>.
710 * This symbol, if defined, indicates to the C program that the length
711 * of directory entry names is provided by a d_namlen field. Otherwise
712 * you need to do strlen() on the d_name field.
715 * This symbol is set to 'struct direct' or 'struct dirent' depending on
716 * whether dirent is available or not. You should use this pseudo type to
717 * portably declare your directory entries.
719 #define I_DIRENT /**/
720 #define DIRNAMLEN /**/
721 #define Direntry_t struct dirent
724 * This symbol, if defined, indicates that <dlfcn.h> exists and should
730 * This manifest constant tells the C program to include <fcntl.h>.
732 /*#define I_FCNTL / **/
735 * This symbol, if defined, indicates to the C program that it should
736 * include <float.h> to get definition of symbols like DBL_MAX or
737 * DBL_MIN, i.e. machine dependent floating point values.
742 * This symbol, if defined, indicates to the C program that it should
743 * include <limits.h> to get definition of symbols like WORD_BIT or
744 * LONG_MAX, i.e. machine dependant limitations.
746 #define I_LIMITS /**/
749 * This symbol, if defined, indicates to the C program that it should
750 * include <locale.h>.
752 #define I_LOCALE /**/
755 * This symbol, if defined, indicates to the C program that it should
761 * This symbol, if defined, indicates to the C program that it should
762 * include <memory.h>.
764 /*#define I_MEMORY / **/
767 * This symbol, if defined, indicates that <ndbm.h> exists and should
773 * This symbol, if defined, indicates that <net/errno.h> exists and
774 * should be included.
776 /*#define I_NET_ERRNO / **/
779 * This symbol, if defined, indicates to the C program that it should
780 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
782 #define I_NETINET_IN /**/
785 * This symbol, if defined, indicates to the C program that it should
788 /*#define I_SFIO / **/
791 * This symbol, if defined, indicates that <stddef.h> exists and should
794 #define I_STDDEF /**/
797 * This symbol, if defined, indicates that <stdlib.h> exists and should
800 #define I_STDLIB /**/
803 * This symbol, if defined, indicates to the C program that it should
804 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
806 #define I_STRING /**/
809 * This symbol, if defined, indicates to the C program that it should
810 * include <sys/dir.h>.
812 #define I_SYS_DIR /**/
815 * This symbol, if defined, indicates to the C program that it should
816 * include <sys/file.h> to get definition of R_OK and friends.
818 #define I_SYS_FILE /**/
821 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
822 * be included. Otherwise, include <sgtty.h> or <termio.h>.
824 #define I_SYS_IOCTL /**/
827 * This symbol, if defined, indicates to the C program that it should
828 * include <sys/ndir.h>.
830 /*#define I_SYS_NDIR / **/
833 * This symbol, if defined, indicates to the C program that it should
834 * include <sys/param.h>.
836 #define I_SYS_PARAM /**/
839 * This symbol, if defined, indicates to the C program that it should
840 * include <sys/resource.h>.
842 #define I_SYS_RESOURCE /**/
845 * This symbol, if defined, indicates to the C program that it should
846 * include <sys/select.h> in order to get definition of struct timeval.
848 #define I_SYS_SELECT /**/
851 * This symbol, if defined, indicates to the C program that it should
852 * include <sys/stat.h>.
854 #define I_SYS_STAT /**/
857 * This symbol, if defined, indicates to the C program that it should
858 * include <sys/times.h>.
860 #define I_SYS_TIMES /**/
863 * This symbol, if defined, indicates to the C program that it should
864 * include <sys/types.h>.
866 #define I_SYS_TYPES /**/
869 * This symbol, if defined, indicates to the C program that it should
870 * include <sys/un.h> to get UNIX domain socket definitions.
872 #define I_SYS_UN /**/
875 * This symbol, if defined, indicates to the C program that it should
876 * include <sys/wait.h>.
878 #define I_SYS_WAIT /**/
881 * This symbol, if defined, indicates that the program should include
882 * <termio.h> rather than <sgtty.h>. There are also differences in
883 * the ioctl() calls that depend on the value of this symbol.
886 * This symbol, if defined, indicates that the program should include
887 * the POSIX termios.h rather than sgtty.h or termio.h.
888 * There are also differences in the ioctl() calls that depend on the
889 * value of this symbol.
892 * This symbol, if defined, indicates that the program should include
893 * <sgtty.h> rather than <termio.h>. There are also differences in
894 * the ioctl() calls that depend on the value of this symbol.
896 /*#define I_TERMIO / **/
897 #define I_TERMIOS /**/
898 /*#define I_SGTTY / **/
901 * This symbol, if defined, indicates to the C program that it should
902 * include <unistd.h>.
904 #define I_UNISTD /**/
907 * This symbol, if defined, indicates to the C program that it should
913 * This symbol, if defined, indicates to the C program that it should
914 * include <values.h> to get definition of symbols like MINFLOAT or
915 * MAXLONG, i.e. machine dependant limitations. Probably, you
916 * should use <limits.h> instead, if it is available.
918 #define I_VALUES /**/
921 * This symbol, if defined, indicates that <stdarg.h> exists and should
925 * This symbol, if defined, indicates to the C program that it should
926 * include <varargs.h>.
928 #define I_STDARG /**/
929 /*#define I_VARARGS / **/
932 * This symbol, if defined, indicates to the C program that it should
935 /*#define I_VFORK / **/
938 * If defined, this macro indicates that the C compiler can handle
939 * function prototypes.
942 * This macro is used to declare function parameters for folks who want
943 * to make declarations with prototypes using a different style than
944 * the above macros. Use double parentheses. For example:
946 * int main _((int argc, char *argv[]));
948 #define CAN_PROTOTYPE /**/
956 * This symbol contains the full pathname to the shell used on this
957 * on this system to execute Bourne shell scripts. Usually, this will be
958 * /bin/sh, though it's possible that some systems will have /bin/ksh,
959 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
962 #define SH_PATH "/bin/sh" /**/
965 * This symbol is defined to be the type of char used in stdio.h.
966 * It has the values "unsigned char" or "char".
968 #define STDCHAR unsigned char /**/
971 * This symbol, if defined, signifies that we our
972 * build process is a cross-compilation.
974 /*#define CROSSCOMPILE / **/
977 * This symbol contains the value of sizeof(int) so that the C
978 * preprocessor can make decisions based on it.
981 * This symbol contains the value of sizeof(long) so that the C
982 * preprocessor can make decisions based on it.
985 * This symbol contains the value of sizeof(short) so that the C
986 * preprocessor can make decisions based on it.
988 #define INTSIZE 4 /**/
989 #define LONGSIZE 8 /**/
990 #define SHORTSIZE 2 /**/
993 * This symbol, if defined, signifies that the build
994 * process will produce some binary files that are going to be
995 * used in a cross-platform environment. This is the case for
996 * example with the NeXT "fat" binaries that contain executables
999 /*#define MULTIARCH / **/
1002 * This symbol, if defined, tells that there's a 64-bit integer type,
1003 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
1004 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
1006 #define HAS_QUAD /**/
1008 # define Quad_t long /**/
1009 # define Uquad_t unsigned long /**/
1010 # define QUADKIND 2 /**/
1011 # define QUAD_IS_INT 1
1012 # define QUAD_IS_LONG 2
1013 # define QUAD_IS_LONG_LONG 3
1014 # define QUAD_IS_INT64_T 4
1018 * This symbol, if defined, indicates that the accessx routine is
1019 * available to do extended access checks.
1021 /*#define HAS_ACCESSX / **/
1024 * This symbol, if defined, indicates that the eaccess routine is
1025 * available to do extended access checks.
1027 /*#define HAS_EACCESS / **/
1030 * This symbol, if defined, indicates to the C program that it should
1031 * include <sys/access.h>.
1033 #define I_SYS_ACCESS /**/
1036 * This symbol, if defined, indicates to the C program that it should
1037 * include <sys/security.h>.
1039 #define I_SYS_SECURITY /**/
1042 * This symbol contains the name of the operating system, as determined
1043 * by Configure. You shouldn't rely on it too much; the specific
1044 * feature tests from Configure are generally more reliable.
1046 #define OSNAME "dec_osf" /**/
1049 * This symbol contains the number of bytes required to align a
1050 * double, or a long double when applicable. Usual values are 2,
1051 * 4 and 8. The default is eight, for safety.
1053 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1054 # define MEM_ALIGNBYTES 8
1056 #define MEM_ALIGNBYTES 8
1060 * This variable, if defined, holds the name of the directory in
1061 * which the user wants to put architecture-dependent public
1062 * library files for perl5. It is most often a local directory
1063 * such as /usr/local/lib. Programs using this variable must be
1064 * prepared to deal with filename expansion. If ARCHLIB is the
1065 * same as PRIVLIB, it is not defined, since presumably the
1066 * program already searches PRIVLIB.
1069 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1070 * in programs that are not prepared to deal with ~ expansion at run-time.
1072 #define ARCHLIB "/opt/perl/lib/5.7.0/alpha-dec_osf-thread" /**/
1073 #define ARCHLIB_EXP "/opt/perl/lib/5.7.0/alpha-dec_osf-thread" /**/
1076 * This symbol holds a string representing the architecture name.
1077 * It may be used to construct an architecture-dependant pathname
1078 * where library files may be held under a private library, for
1081 #define ARCHNAME "alpha-dec_osf-thread" /**/
1084 * This symbol, if defined, indicates that the atolf routine is
1085 * available to convert strings into long doubles.
1087 /*#define HAS_ATOLF / **/
1090 * This symbol, if defined, indicates that the atoll routine is
1091 * available to convert strings into long longs.
1093 /*#define HAS_ATOLL / **/
1096 * This symbol holds the path of the bin directory where the package will
1097 * be installed. Program must be prepared to deal with ~name substitution.
1100 * This symbol is the filename expanded version of the BIN symbol, for
1101 * programs that do not want to deal with that at run-time.
1103 #define BIN "/opt/perl/bin" /**/
1104 #define BIN_EXP "/opt/perl/bin" /**/
1106 /* PERL_BINCOMPAT_5005:
1107 * This symbol, if defined, indicates that this version of Perl should be
1108 * binary-compatible with Perl 5.005. This is impossible for builds
1109 * that use features like threads and multiplicity it is always
1110 * for those versions.
1112 /*#define PERL_BINCOMPAT_5005 / **/
1115 * This symbol holds the hexadecimal constant defined in byteorder,
1116 * i.e. 0x1234 or 0x4321, etc...
1117 * If the compiler supports cross-compiling or multiple-architecture
1118 * binaries (eg. on NeXT systems), use compiler-defined macros to
1119 * determine the byte order.
1120 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1121 * Binaries (MAB) on either big endian or little endian machines.
1122 * The endian-ness is available at compile-time. This only matters
1123 * for perl, where the config.h can be generated and installed on
1124 * one system, and used by a different architecture to build an
1125 * extension. Older versions of NeXT that might not have
1126 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1127 * so the default case (for NeXT) is big endian to catch them.
1128 * This might matter for NeXT 3.0.
1130 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1131 # ifdef __LITTLE_ENDIAN__
1133 # define BYTEORDER 0x1234
1136 # define BYTEORDER 0x12345678
1140 # ifdef __BIG_ENDIAN__
1142 # define BYTEORDER 0x4321
1145 # define BYTEORDER 0x87654321
1150 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1151 # define BYTEORDER 0x4321
1154 #define BYTEORDER 0x12345678 /* large digits for MSB */
1158 * This macro catenates 2 tokens together.
1161 * This macro surrounds its token with double quotes.
1164 #define CAT2(a,b) a/**/b
1165 #define STRINGIFY(a) "a"
1166 /* If you can get stringification with catify, tell me how! */
1169 #define PeRl_CaTiFy(a, b) a ## b
1170 #define PeRl_StGiFy(a) #a
1171 /* the additional level of indirection enables these macros to be
1172 * used as arguments to other macros. See K&R 2nd ed., page 231. */
1173 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1174 #define StGiFy(a) PeRl_StGiFy(a)
1175 #define STRINGIFY(a) PeRl_StGiFy(a)
1177 #if 42 != 1 && 42 != 42
1178 # include "Bletch: How does this C preprocessor catenate tokens?"
1182 * This symbol contains the first part of the string which will invoke
1183 * the C preprocessor on the standard input and produce to standard
1184 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1185 * call a wrapper. See CPPRUN.
1188 * This symbol contains the second part of the string which will invoke
1189 * the C preprocessor on the standard input and produce to standard
1190 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1191 * to specify standard input, otherwise the value is "".
1194 * This symbol contains the string which will invoke a C preprocessor on
1195 * the standard input and produce to standard output. It needs to end
1196 * with CPPLAST, after all other preprocessor flags have been specified.
1197 * The main difference with CPPSTDIN is that this program will never be a
1198 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1199 * available directly to the user. Note that it may well be different from
1200 * the preprocessor used to compile the C program.
1203 * This symbol is intended to be used along with CPPRUN in the same manner
1204 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1206 #define CPPSTDIN "cppstdin"
1208 #define CPPRUN "/usr/bin/cpp"
1212 * This manifest constant lets the C program know that the access()
1213 * system call is available to check for accessibility using real UID/GID.
1214 * (always present on UNIX.)
1216 #define HAS_ACCESS /**/
1219 * This symbol is defined if the C compiler can cast negative
1220 * or large floating point numbers to 32-bit ints.
1222 /*#define CASTI32 / **/
1225 * This symbol is defined if the C compiler can cast negative
1226 * numbers to unsigned longs, ints and shorts.
1229 * This symbol contains flags that say what difficulties the compiler
1230 * has casting odd floating values to unsigned long:
1232 * 1 = couldn't cast < 0
1233 * 2 = couldn't cast >= 0x80000000
1234 * 4 = couldn't cast in argument expression list
1236 #define CASTNEGFLOAT /**/
1237 #define CASTFLAGS 0 /**/
1240 * This symbol, if defined, indicates that the closedir() routine
1241 * does not return a value.
1243 /*#define VOID_CLOSEDIR / **/
1246 * This symbol, if defined, indicates that the C-shell exists.
1249 * This symbol, if defined, contains the full pathname of csh.
1251 #define HAS_CSH /**/
1253 #define CSH "/usr/bin/csh" /**/
1256 /* DLSYM_NEEDS_UNDERSCORE:
1257 * This symbol, if defined, indicates that we need to prepend an
1258 * underscore to the symbol name before calling dlsym(). This only
1259 * makes sense if you *have* dlsym, which we will presume is the
1260 * case if you're using dl_dlopen.xs.
1262 /*#define DLSYM_NEEDS_UNDERSCORE / **/
1264 /* HAS_DRAND48_PROTO:
1265 * This symbol, if defined, indicates that the system provides
1266 * a prototype for the drand48() function. Otherwise, it is up
1267 * to the program to supply one. A good guess is
1268 * extern double drand48 _((void));
1270 #define HAS_DRAND48_PROTO /**/
1273 * This symbol, if defined, indicates that the getgrent routine is
1274 * available for finalizing sequential access of the group database.
1276 #define HAS_ENDGRENT /**/
1279 * This symbol, if defined, indicates that the endhostent() routine is
1280 * available to close whatever was being used for host queries.
1282 #define HAS_ENDHOSTENT /**/
1285 * This symbol, if defined, indicates that the endnetent() routine is
1286 * available to close whatever was being used for network queries.
1288 #define HAS_ENDNETENT /**/
1291 * This symbol, if defined, indicates that the endprotoent() routine is
1292 * available to close whatever was being used for protocol queries.
1294 #define HAS_ENDPROTOENT /**/
1297 * This symbol, if defined, indicates that the getgrent routine is
1298 * available for finalizing sequential access of the passwd database.
1300 #define HAS_ENDPWENT /**/
1303 * This symbol, if defined, indicates that the endservent() routine is
1304 * available to close whatever was being used for service queries.
1306 #define HAS_ENDSERVENT /**/
1309 * This symbol, when defined, indicates presence of the fd_set typedef
1312 #define HAS_FD_SET /**/
1315 * This symbol, if defined, indicates that the system supports filenames
1316 * longer than 14 characters.
1318 #define FLEXFILENAMES /**/
1321 * This symbol will be defined if the C compiler supports fpos64_t.
1323 /*#define HAS_FPOS64_T / **/
1326 * This symbol, if defined, indicates that the frexpl routine is
1327 * available to break a long double floating-point number into
1328 * a normalized fraction and an integral power of 2.
1330 #define HAS_FREXPL /**/
1332 /* HAS_STRUCT_FS_DATA:
1333 * This symbol, if defined, indicates that the struct fs_data
1334 * to do statfs() is supported.
1336 /*#define HAS_STRUCT_FS_DATA / **/
1339 * This symbol, if defined, indicates that the fseeko routine is
1340 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1342 /*#define HAS_FSEEKO / **/
1345 * This symbol, if defined, indicates that the fstatfs routine is
1346 * available to stat filesystems by file descriptors.
1348 #define HAS_FSTATFS /**/
1351 * This symbol, if defined, indicates that the ftello routine is
1352 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1354 /*#define HAS_FTELLO / **/
1357 * This preprocessor macro is defined to convert a floating point
1358 * number to a string without a trailing decimal point. This
1359 * emulates the behavior of sprintf("%g"), but is sometimes much more
1360 * efficient. If gconvert() is not available, but gcvt() drops the
1361 * trailing decimal point, then gcvt() is used. If all else fails,
1362 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1363 * macro are: value, number of digits, whether trailing zeros should
1364 * be retained, and the output buffer.
1365 * Possible values are:
1366 * d_Gconvert='gconvert((x),(n),(t),(b))'
1367 * d_Gconvert='gcvt((x),(n),(b))'
1368 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1369 * The last two assume trailing zeros should not be kept.
1371 #define Gconvert(x,n,t,b) gcvt((x),(n),(b))
1374 * This symbol, if defined, indicates that the getcwd routine is
1375 * available to get the current working directory.
1377 #define HAS_GETCWD /**/
1380 * This symbol, if defined, indicates that the getespwnam system call is
1381 * available to retrieve enchanced (shadow) password entries by name.
1383 /*#define HAS_GETESPWNAM / **/
1386 * This symbol, if defined, indicates that the getfsstat routine is
1387 * available to stat filesystems in bulk.
1389 #define HAS_GETFSSTAT /**/
1392 * This symbol, if defined, indicates that the getgrent routine is
1393 * available for sequential access of the group database.
1395 #define HAS_GETGRENT /**/
1397 /* HAS_GETHOSTBYADDR:
1398 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1399 * available to look up hosts by their IP addresses.
1401 #define HAS_GETHOSTBYADDR /**/
1403 /* HAS_GETHOSTBYNAME:
1404 * This symbol, if defined, indicates that the gethostbyname() routine is
1405 * available to look up host names in some data base or other.
1407 #define HAS_GETHOSTBYNAME /**/
1410 * This symbol, if defined, indicates that the gethostent() routine is
1411 * available to look up host names in some data base or another.
1413 #define HAS_GETHOSTENT /**/
1416 * This symbol, if defined, indicates that the C program may use the
1417 * gethostname() routine to derive the host name. See also HAS_UNAME
1421 * This symbol, if defined, indicates that the C program may use the
1422 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1426 * This symbol, if defined, indicates the command to feed to the
1427 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1428 * and HAS_UNAME. Note that the command uses a fully qualified path,
1429 * so that it is safe even if used by a process with super-user
1433 * This symbol, if defined, indicates that the C program may use the
1434 * contents of PHOSTNAME as a command to feed to the popen() routine
1435 * to derive the host name.
1437 #define HAS_GETHOSTNAME /**/
1438 #define HAS_UNAME /**/
1439 /*#define HAS_PHOSTNAME / **/
1440 #ifdef HAS_PHOSTNAME
1441 #define PHOSTNAME "" /* How to get the host name */
1444 /* HAS_GETHOST_PROTOS:
1445 * This symbol, if defined, indicates that <netdb.h> includes
1446 * prototypes for gethostent(), gethostbyname(), and
1447 * gethostbyaddr(). Otherwise, it is up to the program to guess
1448 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1450 #define HAS_GETHOST_PROTOS /**/
1453 * This symbol, if defined, indicates that the getmnt routine is
1454 * available to get filesystem mount info by filename.
1456 /*#define HAS_GETMNT / **/
1459 * This symbol, if defined, indicates that the getmntent routine is
1460 * available to iterate through mounted file systems to get their info.
1462 /*#define HAS_GETMNTENT / **/
1464 /* HAS_GETNETBYADDR:
1465 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1466 * available to look up networks by their IP addresses.
1468 #define HAS_GETNETBYADDR /**/
1470 /* HAS_GETNETBYNAME:
1471 * This symbol, if defined, indicates that the getnetbyname() routine is
1472 * available to look up networks by their names.
1474 #define HAS_GETNETBYNAME /**/
1477 * This symbol, if defined, indicates that the getnetent() routine is
1478 * available to look up network names in some data base or another.
1480 #define HAS_GETNETENT /**/
1482 /* HAS_GETNET_PROTOS:
1483 * This symbol, if defined, indicates that <netdb.h> includes
1484 * prototypes for getnetent(), getnetbyname(), and
1485 * getnetbyaddr(). Otherwise, it is up to the program to guess
1486 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1488 #define HAS_GETNET_PROTOS /**/
1491 * This symbol, if defined, indicates that the getpagesize system call
1492 * is available to get system page size, which is the granularity of
1493 * many memory management calls.
1495 #define HAS_GETPAGESIZE /**/
1498 * This symbol, if defined, indicates that the getprotoent() routine is
1499 * available to look up protocols in some data base or another.
1501 #define HAS_GETPROTOENT /**/
1503 /* HAS_GETPROTOBYNAME:
1504 * This symbol, if defined, indicates that the getprotobyname()
1505 * routine is available to look up protocols by their name.
1507 /* HAS_GETPROTOBYNUMBER:
1508 * This symbol, if defined, indicates that the getprotobynumber()
1509 * routine is available to look up protocols by their number.
1511 #define HAS_GETPROTOBYNAME /**/
1512 #define HAS_GETPROTOBYNUMBER /**/
1514 /* HAS_GETPROTO_PROTOS:
1515 * This symbol, if defined, indicates that <netdb.h> includes
1516 * prototypes for getprotoent(), getprotobyname(), and
1517 * getprotobyaddr(). Otherwise, it is up to the program to guess
1518 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1520 #define HAS_GETPROTO_PROTOS /**/
1523 * This symbol, if defined, indicates that the getprpwnam system call is
1524 * available to retrieve protected (shadow) password entries by name.
1526 /*#define HAS_GETPRPWNAM / **/
1529 * This symbol, if defined, indicates that the getpwent routine is
1530 * available for sequential access of the passwd database.
1531 * If this is not available, the older getpw() function may be available.
1533 #define HAS_GETPWENT /**/
1536 * This symbol, if defined, indicates that the getservent() routine is
1537 * available to look up network services in some data base or another.
1539 #define HAS_GETSERVENT /**/
1541 /* HAS_GETSERV_PROTOS:
1542 * This symbol, if defined, indicates that <netdb.h> includes
1543 * prototypes for getservent(), getservbyname(), and
1544 * getservbyaddr(). Otherwise, it is up to the program to guess
1545 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1547 #define HAS_GETSERV_PROTOS /**/
1550 * This symbol, if defined, indicates that the getspnam system call is
1551 * available to retrieve SysV shadow password entries by name.
1553 /*#define HAS_GETSPNAM / **/
1555 /* HAS_GETSERVBYNAME:
1556 * This symbol, if defined, indicates that the getservbyname()
1557 * routine is available to look up services by their name.
1559 /* HAS_GETSERVBYPORT:
1560 * This symbol, if defined, indicates that the getservbyport()
1561 * routine is available to look up services by their port.
1563 #define HAS_GETSERVBYNAME /**/
1564 #define HAS_GETSERVBYPORT /**/
1567 * This symbol, if defined, indicates to the C program that
1568 * the GNU C library is being used.
1570 /*#define HAS_GNULIBC / **/
1571 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1572 # define _GNU_SOURCE
1575 * This symbol, if defined, indicates that the hasmntopt routine is
1576 * available to query the mount options of file systems.
1578 /*#define HAS_HASMNTOPT / **/
1581 * This symbol, if defined, indicates that the htonl() routine (and
1582 * friends htons() ntohl() ntohs()) are available to do network
1583 * order byte swapping.
1586 * This symbol, if defined, indicates that the htons() routine (and
1587 * friends htonl() ntohl() ntohs()) are available to do network
1588 * order byte swapping.
1591 * This symbol, if defined, indicates that the ntohl() routine (and
1592 * friends htonl() htons() ntohs()) are available to do network
1593 * order byte swapping.
1596 * This symbol, if defined, indicates that the ntohs() routine (and
1597 * friends htonl() htons() ntohl()) are available to do network
1598 * order byte swapping.
1600 #define HAS_HTONL /**/
1601 #define HAS_HTONS /**/
1602 #define HAS_NTOHL /**/
1603 #define HAS_NTOHS /**/
1606 * This symbol, if defined, indicates that the iconv routine is
1607 * available to do character set conversions.
1609 #define HAS_ICONV /**/
1612 * This symbol will defined if the C compiler supports int64_t.
1613 * Usually the <inttypes.h> needs to be included, but sometimes
1614 * <sys/types.h> is enough.
1616 /*#define HAS_INT64_T / **/
1619 * This manifest constant lets the C program know that isascii
1622 #define HAS_ISASCII /**/
1625 * This symbol, if defined, indicates that the isnan routine is
1626 * available to check whether a double is a NaN.
1628 #define HAS_ISNAN /**/
1631 * This symbol, if defined, indicates that the isnanl routine is
1632 * available to check whether a long double is a NaN.
1634 #define HAS_ISNANL /**/
1637 * This symbol, if defined, indicates that the lchown routine is
1638 * available to operate on a symbolic link (instead of following the
1641 #define HAS_LCHOWN /**/
1644 * This symbol, if defined, indicates that this system's <float.h>
1645 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1646 * of significant digits in a long double precision number. Unlike
1647 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1649 #define HAS_LDBL_DIG /* */
1652 * This symbol will be defined if the C compiler supports long
1656 * This symbol contains the size of a long double, so that the
1657 * C preprocessor can make decisions based on it. It is only
1658 * defined if the system supports long doubles.
1660 #define HAS_LONG_DOUBLE /**/
1661 #ifdef HAS_LONG_DOUBLE
1662 #define LONG_DOUBLESIZE 8 /**/
1666 * This symbol will be defined if the C compiler supports long long.
1669 * This symbol contains the size of a long long, so that the
1670 * C preprocessor can make decisions based on it. It is only
1671 * defined if the system supports long long.
1673 #define HAS_LONG_LONG /**/
1674 #ifdef HAS_LONG_LONG
1675 #define LONGLONGSIZE 8 /**/
1679 * This symbol, if defined, indicates that the system provides
1680 * a prototype for the lseek() function. Otherwise, it is up
1681 * to the program to supply one. A good guess is
1682 * extern off_t lseek(int, off_t, int);
1684 #define HAS_LSEEK_PROTO /**/
1687 * This symbol, if defined, indicates that the madvise system call is
1688 * available to map a file into memory.
1690 #define HAS_MADVISE /**/
1693 * This symbol, if defined, indicates that the memchr routine is available
1694 * to locate characters within a C string.
1696 #define HAS_MEMCHR /**/
1699 * This symbol, if defined, indicates that the mkdtemp routine is
1700 * available to exclusively create a uniquely named temporary directory.
1702 /*#define HAS_MKDTEMP / **/
1705 * This symbol, if defined, indicates that the mkstemp routine is
1706 * available to exclusively create and open a uniquely named
1709 #define HAS_MKSTEMP /**/
1712 * This symbol, if defined, indicates that the mkstemps routine is
1713 * available to excluslvely create and open a uniquely named
1714 * (with a suffix) temporary file.
1716 /*#define HAS_MKSTEMPS / **/
1719 * This symbol, if defined, indicates that the mmap system call is
1720 * available to map a file into memory.
1723 * This symbol holds the return type of the mmap() system call
1724 * (and simultaneously the type of the first argument).
1725 * Usually set to 'void *' or 'cadd_t'.
1727 #define HAS_MMAP /**/
1728 #define Mmap_t void * /**/
1731 * This symbol, if defined, indicates that the modfl routine is
1732 * available to split a long double x into a fractional part f and
1733 * an integer part i such that |f| < 1.0 and (f + i) = x.
1735 #define HAS_MODFL /**/
1738 * This symbol, if defined, indicates that the mprotect system call is
1739 * available to modify the access protection of a memory mapped file.
1741 #define HAS_MPROTECT /**/
1744 * This symbol, if defined, indicates that the entire msg*(2) library is
1745 * supported (IPC mechanism based on message queues).
1747 #define HAS_MSG /**/
1750 * This symbol will be defined if the C compiler supports off64_t.
1752 /*#define HAS_OFF64_T / **/
1755 * This manifest constant lets the C program know that the three
1756 * argument form of open(2) is available.
1758 #define HAS_OPEN3 /**/
1760 /* OLD_PTHREAD_CREATE_JOINABLE:
1761 * This symbol, if defined, indicates how to create pthread
1762 * in joinable (aka undetached) state. NOTE: not defined
1763 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1764 * (the new version of the constant).
1765 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1768 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
1770 /* HAS_PTHREAD_YIELD:
1771 * This symbol, if defined, indicates that the pthread_yield
1772 * routine is available to yield the execution of the current
1773 * thread. sched_yield is preferable to pthread_yield.
1776 * This symbol defines the way to yield the execution of
1777 * the current thread. Known ways are sched_yield,
1778 * pthread_yield, and pthread_yield with NULL.
1781 * This symbol, if defined, indicates that the sched_yield
1782 * routine is available to yield the execution of the current
1783 * thread. sched_yield is preferable to pthread_yield.
1785 /*#define HAS_PTHREAD_YIELD / **/
1786 #define SCHED_YIELD sched_yield() /**/
1787 #define HAS_SCHED_YIELD /**/
1790 * This symbol, if defined, indicates that the bcopy routine is available
1791 * to copy potentially overlapping memory blocks. Otherwise you should
1792 * probably use memmove() or memcpy(). If neither is defined, roll your
1795 #define HAS_SAFE_BCOPY /**/
1798 * This symbol, if defined, indicates that the memcpy routine is available
1799 * to copy potentially overlapping memory blocks. Otherwise you should
1800 * probably use memmove() or memcpy(). If neither is defined, roll your
1803 /*#define HAS_SAFE_MEMCPY / **/
1806 * This symbol, if defined, indicates that the memcmp routine is available
1807 * and can be used to compare relative magnitudes of chars with their high
1808 * bits set. If it is not defined, roll your own version.
1810 #define HAS_SANE_MEMCMP /**/
1813 * This symbol, if defined, indicates that the entire sem*(2) library is
1816 #define HAS_SEM /**/
1819 * This symbol, if defined, indicates that the setgrent routine is
1820 * available for initializing sequential access of the group database.
1822 #define HAS_SETGRENT /**/
1825 * This symbol, if defined, indicates that the setgroups() routine is
1826 * available to set the list of process groups. If unavailable, multiple
1827 * groups are probably not supported.
1829 #define HAS_SETGROUPS /**/
1832 * This symbol, if defined, indicates that the sethostent() routine is
1835 #define HAS_SETHOSTENT /**/
1838 * This symbol, if defined, indicates that the setnetent() routine is
1841 #define HAS_SETNETENT /**/
1844 * This symbol, if defined, indicates that the setprotoent() routine is
1847 #define HAS_SETPROTOENT /**/
1849 /* HAS_SETPROCTITLE:
1850 * This symbol, if defined, indicates that the setproctitle routine is
1851 * available to set process title.
1853 /*#define HAS_SETPROCTITLE / **/
1856 * This symbol, if defined, indicates that the setpwent routine is
1857 * available for initializing sequential access of the passwd database.
1859 #define HAS_SETPWENT /**/
1862 * This symbol, if defined, indicates that the setservent() routine is
1865 #define HAS_SETSERVENT /**/
1868 * This symbol, if defined, indicates that the setvbuf routine is
1869 * available to change buffering on an open stdio stream.
1870 * to a line-buffered mode.
1872 #define HAS_SETVBUF /**/
1875 * This symbol, if defined, indicates that sfio should
1878 /*#define USE_SFIO / **/
1881 * This symbol, if defined, indicates that the entire shm*(2) library is
1884 #define HAS_SHM /**/
1887 * This symbol, if defined, indicates that Vr4's sigaction() routine
1890 #define HAS_SIGACTION /**/
1893 * This variable indicates to the C program that the sigsetjmp()
1894 * routine is available to save the calling process's registers
1895 * and stack environment for later use by siglongjmp(), and
1896 * to optionally save the process's signal mask. See
1897 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1900 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1903 * This macro is used in the same way as sigsetjmp(), but will invoke
1904 * traditional setjmp() if sigsetjmp isn't available.
1905 * See HAS_SIGSETJMP.
1908 * This macro is used in the same way as siglongjmp(), but will invoke
1909 * traditional longjmp() if siglongjmp isn't available.
1910 * See HAS_SIGSETJMP.
1912 #define HAS_SIGSETJMP /**/
1913 #ifdef HAS_SIGSETJMP
1914 #define Sigjmp_buf sigjmp_buf
1915 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1916 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1918 #define Sigjmp_buf jmp_buf
1919 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1920 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1924 * This symbol, if defined, indicates that the BSD socket interface is
1928 * This symbol, if defined, indicates that the BSD socketpair() call is
1932 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1933 * Checking just with #ifdef might not be enough because this symbol
1934 * has been known to be an enum.
1936 /* HAS_MSG_DONTROUTE:
1937 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1938 * Checking just with #ifdef might not be enough because this symbol
1939 * has been known to be an enum.
1942 * This symbol, if defined, indicates that the MSG_OOB is supported.
1943 * Checking just with #ifdef might not be enough because this symbol
1944 * has been known to be an enum.
1947 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1948 * Checking just with #ifdef might not be enough because this symbol
1949 * has been known to be an enum.
1952 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1953 * Checking just with #ifdef might not be enough because this symbol
1954 * has been known to be an enum.
1957 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1958 * Checking just with #ifdef might not be enough because this symbol
1959 * has been known to be an enum.
1961 #define HAS_SOCKET /**/
1962 #define HAS_SOCKETPAIR /**/
1963 #define HAS_MSG_CTRUNC /**/
1964 #define HAS_MSG_DONTROUTE /**/
1965 #define HAS_MSG_OOB /**/
1966 #define HAS_MSG_PEEK /**/
1967 /*#define HAS_MSG_PROXY / **/
1968 #define HAS_SCM_RIGHTS /**/
1971 * This symbol, if defined, indicates that the socks5_init routine is
1972 * available to initialize SOCKS 5.
1974 /*#define HAS_SOCKS5_INIT / **/
1977 * This symbol, if defined, indicates that the sqrtl routine is
1978 * available to do long double square roots.
1980 #define HAS_SQRTL /**/
1983 * This symbol is defined if this system has a stat structure declaring
1984 * st_blksize and st_blocks.
1986 #ifndef USE_STAT_BLOCKS
1987 #define USE_STAT_BLOCKS /**/
1990 /* HAS_STRUCT_STATFS_F_FLAGS:
1991 * This symbol, if defined, indicates that the struct statfs
1992 * does have the f_flags member containing the mount flags of
1993 * the filesystem containing the file.
1994 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
1995 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
1996 * have statfs() and struct statfs, they have ustat() and getmnt()
1997 * with struct ustat and struct fs_data.
1999 #define HAS_STRUCT_STATFS_F_FLAGS /**/
2001 /* HAS_STRUCT_STATFS:
2002 * This symbol, if defined, indicates that the struct statfs
2003 * to do statfs() is supported.
2005 #define HAS_STRUCT_STATFS /**/
2008 * This symbol, if defined, indicates that the fstatvfs routine is
2009 * available to stat filesystems by file descriptors.
2011 #define HAS_FSTATVFS /**/
2014 * This symbol is defined if the _ptr and _cnt fields (or similar)
2015 * of the stdio FILE structure can be used to access the stdio buffer
2016 * for a file handle. If this is defined, then the FILE_ptr(fp)
2017 * and FILE_cnt(fp) macros will also be defined and should be used
2018 * to access these fields.
2021 * This macro is used to access the _ptr field (or equivalent) of the
2022 * FILE structure pointed to by its argument. This macro will always be
2023 * defined if USE_STDIO_PTR is defined.
2025 /* STDIO_PTR_LVALUE:
2026 * This symbol is defined if the FILE_ptr macro can be used as an
2030 * This macro is used to access the _cnt field (or equivalent) of the
2031 * FILE structure pointed to by its argument. This macro will always be
2032 * defined if USE_STDIO_PTR is defined.
2034 /* STDIO_CNT_LVALUE:
2035 * This symbol is defined if the FILE_cnt macro can be used as an
2038 /* STDIO_PTR_LVAL_SETS_CNT:
2039 * This symbol is defined if using the FILE_ptr macro as an lvalue
2040 * to increase the pointer by n has the side effect of decreasing the
2041 * value of File_cnt(fp) by n.
2043 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2044 * This symbol is defined if using the FILE_ptr macro as an lvalue
2045 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2047 #define USE_STDIO_PTR /**/
2048 #ifdef USE_STDIO_PTR
2049 #define FILE_ptr(fp) ((fp)->_ptr)
2050 #define STDIO_PTR_LVALUE /**/
2051 #define FILE_cnt(fp) ((fp)->_cnt)
2052 #define STDIO_CNT_LVALUE /**/
2053 /*#define STDIO_PTR_LVAL_SETS_CNT / **/
2054 #define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
2058 * This symbol is defined if the _base field (or similar) of the
2059 * stdio FILE structure can be used to access the stdio buffer for
2060 * a file handle. If this is defined, then the FILE_base(fp) macro
2061 * will also be defined and should be used to access this field.
2062 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2063 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2064 * will never be defined unless USE_STDIO_PTR is.
2067 * This macro is used to access the _base field (or equivalent) of the
2068 * FILE structure pointed to by its argument. This macro will always be
2069 * defined if USE_STDIO_BASE is defined.
2072 * This macro is used to determine the number of bytes in the I/O
2073 * buffer pointed to by _base field (or equivalent) of the FILE
2074 * structure pointed to its argument. This macro will always be defined
2075 * if USE_STDIO_BASE is defined.
2077 #define USE_STDIO_BASE /**/
2078 #ifdef USE_STDIO_BASE
2079 #define FILE_base(fp) ((fp)->_base)
2080 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
2084 * This symbol, if defined, indicates that the strerror routine is
2085 * available to translate error numbers to strings. See the writeup
2086 * of Strerror() in this file before you try to define your own.
2089 * This symbol, if defined, indicates that the sys_errlist array is
2090 * available to translate error numbers to strings. The extern int
2091 * sys_nerr gives the size of that table.
2094 * This preprocessor symbol is defined as a macro if strerror() is
2095 * not available to translate error numbers to strings but sys_errlist[]
2098 #define HAS_STRERROR /**/
2099 #define HAS_SYS_ERRLIST /**/
2100 #define Strerror(e) strerror(e)
2103 * This symbol, if defined, indicates that the strtold routine is
2104 * available to convert strings to long doubles.
2106 /*#define HAS_STRTOLD / **/
2109 * This symbol, if defined, indicates that the strtoll routine is
2110 * available to convert strings to long longs.
2112 /*#define HAS_STRTOLL / **/
2115 * This symbol, if defined, indicates that the strtoull routine is
2116 * available to convert strings to unsigned long longs.
2118 /*#define HAS_STRTOULL / **/
2121 * This symbol, if defined, indicates that the strtouq routine is
2122 * available to convert strings to unsigned long longs (quads).
2124 /*#define HAS_STRTOUQ / **/
2126 /* HAS_TELLDIR_PROTO:
2127 * This symbol, if defined, indicates that the system provides
2128 * a prototype for the telldir() function. Otherwise, it is up
2129 * to the program to supply one. A good guess is
2130 * extern long telldir _((DIR*));
2132 #define HAS_TELLDIR_PROTO /**/
2135 * This symbol holds the type returned by time(). It can be long,
2136 * or time_t on BSD sites (in which case <sys/types.h> should be
2139 #define Time_t time_t /* Time type */
2142 * This symbol, if defined, indicates that the times() routine exists.
2143 * Note that this became obsolete on some systems (SUNOS), which now
2144 * use getrusage(). It may be necessary to include <sys/times.h>.
2146 #define HAS_TIMES /**/
2149 * This symbol, if defined, indicates that the union semun is
2150 * defined by including <sys/sem.h>. If not, the user code
2151 * probably needs to define it as:
2154 * struct semid_ds *buf;
2155 * unsigned short *array;
2158 /* USE_SEMCTL_SEMUN:
2159 * This symbol, if defined, indicates that union semun is
2160 * used for semctl IPC_STAT.
2162 /* USE_SEMCTL_SEMID_DS:
2163 * This symbol, if defined, indicates that struct semid_ds * is
2164 * used for semctl IPC_STAT.
2166 /*#define HAS_UNION_SEMUN / **/
2167 #define USE_SEMCTL_SEMUN /**/
2168 #define USE_SEMCTL_SEMID_DS /**/
2171 * This symbol, if defined, indicates that the ustat system call is
2172 * available to query file system statistics by dev_t.
2174 #define HAS_USTAT /**/
2177 * This symbol, if defined, indicates that vfork() exists.
2179 /*#define HAS_VFORK / **/
2182 * This symbol's value is either "void" or "int", corresponding to the
2183 * appropriate return type of a signal handler. Thus, you can declare
2184 * a signal handler using "Signal_t (*handler)()", and define the
2185 * handler using "Signal_t handler(sig)".
2187 #define Signal_t void /* Signal handler's return type */
2190 * This symbol, if defined, indicates that the vprintf routine is available
2191 * to printf with a pointer to an argument list. If unavailable, you
2192 * may need to write your own, probably in terms of _doprnt().
2194 /* USE_CHAR_VSPRINTF:
2195 * This symbol is defined if this system has vsprintf() returning type
2196 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2197 * is up to the package author to declare vsprintf correctly based on the
2200 #define HAS_VPRINTF /**/
2201 /*#define USE_CHAR_VSPRINTF / **/
2203 /* USE_DYNAMIC_LOADING:
2204 * This symbol, if defined, indicates that dynamic loading of
2205 * some sort is available.
2207 #define USE_DYNAMIC_LOADING /**/
2210 * This symbol contains the size of a double, so that the C preprocessor
2211 * can make decisions based on it.
2213 #define DOUBLESIZE 8 /**/
2216 * This symbol, if defined, indicates that this system uses
2219 /*#define EBCDIC / **/
2222 * This symbol, if defined, tells that fflush(NULL) does flush
2223 * all pending stdio output.
2226 * This symbol, if defined, tells that to flush
2227 * all pending stdio output one must loop through all
2228 * the stdio file handles stored in an array and fflush them.
2229 * Note that if fflushNULL is defined, fflushall will not
2230 * even be probed for and will be left undefined.
2232 #define FFLUSH_NULL /**/
2233 /*#define FFLUSH_ALL / **/
2236 * This symbol holds the type used to declare file positions in libc.
2237 * It can be fpos_t, long, uint, etc... It may be necessary to include
2238 * <sys/types.h> to get any typedef'ed information.
2240 #define Fpos_t fpos_t /* File position type */
2243 * This symbol defines the format string used for printing a Gid_t.
2245 #define Gid_t_f "u" /**/
2248 * This symbol holds the signedess of a Gid_t.
2249 * 1 for unsigned, -1 for signed.
2251 #define Gid_t_sign 1 /* GID sign */
2254 * This symbol holds the size of a Gid_t in bytes.
2256 #define Gid_t_size 4 /* GID size */
2259 * This symbol holds the return type of getgid() and the type of
2260 * argument to setrgid() and related functions. Typically,
2261 * it is the type of group ids in the kernel. It can be int, ushort,
2262 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2263 * any typedef'ed information.
2265 #define Gid_t gid_t /* Type for getgid(), etc... */
2268 * This symbol holds the type used for the second argument to
2269 * getgroups() and setgroups(). Usually, this is the same as
2270 * gidtype (gid_t) , but sometimes it isn't.
2271 * It can be int, ushort, gid_t, etc...
2272 * It may be necessary to include <sys/types.h> to get any
2273 * typedef'ed information. This is only required if you have
2274 * getgroups() or setgroups()..
2276 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2277 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2281 * This symbol contains the type of the prefix structure element
2282 * in the <db.h> header file. In older versions of DB, it was
2283 * int, while in newer ones it is u_int32_t.
2286 * This symbol contains the type of the prefix structure element
2287 * in the <db.h> header file. In older versions of DB, it was
2288 * int, while in newer ones it is size_t.
2290 #define DB_Hash_t u_int32_t /**/
2291 #define DB_Prefix_t size_t /**/
2294 * This symbol, if defined, indicates to the C program that it should
2298 * This symbol, if defined, indicates to the C program that struct group
2299 * in <grp.h> contains gr_passwd.
2302 #define GRPASSWD /**/
2305 * This symbol, if defined, indicates that <iconv.h> exists and
2306 * should be included.
2308 #define I_ICONV /**/
2311 * This symbol, if defined, indicates that <ieeefp.h> exists and
2312 * should be included.
2314 /*#define I_IEEEFP / **/
2317 * This symbol, if defined, indicates to the C program that it should
2318 * include <inttypes.h>.
2320 /*#define I_INTTYPES / **/
2323 * This symbol, if defined, indicates that <libutil.h> exists and
2324 * should be included.
2326 /*#define I_LIBUTIL / **/
2329 * This symbol, if defined, indicates to the C program that it should
2330 * include <mach/cthreads.h>.
2332 /*#define I_MACH_CTHREADS / **/
2335 * This symbol, if defined, indicates that <mntent.h> exists and
2336 * should be included.
2338 /*#define I_MNTENT / **/
2341 * This symbol, if defined, indicates that <netdb.h> exists and
2342 * should be included.
2344 #define I_NETDB /**/
2347 * This symbol, if defined, indicates to the C program that it should
2348 * include <netinet/tcp.h>.
2350 #define I_NETINET_TCP /**/
2353 * This symbol, if defined, indicates that <poll.h> exists and
2354 * should be included.
2359 * This symbol, if defined, indicates that <prot.h> exists and
2360 * should be included.
2365 * This symbol, if defined, indicates to the C program that it should
2366 * include <pthread.h>.
2368 #define I_PTHREAD /**/
2371 * This symbol, if defined, indicates to the C program that it should
2375 * This symbol, if defined, indicates to the C program that struct passwd
2376 * contains pw_quota.
2379 * This symbol, if defined, indicates to the C program that struct passwd
2383 * This symbol, if defined, indicates to the C program that struct passwd
2384 * contains pw_change.
2387 * This symbol, if defined, indicates to the C program that struct passwd
2388 * contains pw_class.
2391 * This symbol, if defined, indicates to the C program that struct passwd
2392 * contains pw_expire.
2395 * This symbol, if defined, indicates to the C program that struct passwd
2396 * contains pw_comment.
2399 * This symbol, if defined, indicates to the C program that struct passwd
2400 * contains pw_gecos.
2403 * This symbol, if defined, indicates to the C program that struct passwd
2404 * contains pw_passwd.
2407 #define PWQUOTA /**/
2408 /*#define PWAGE / **/
2409 /*#define PWCHANGE / **/
2410 /*#define PWCLASS / **/
2411 /*#define PWEXPIRE / **/
2412 #define PWCOMMENT /**/
2413 #define PWGECOS /**/
2414 #define PWPASSWD /**/
2417 * This symbol, if defined, indicates that <shadow.h> exists and
2418 * should be included.
2420 /*#define I_SHADOW / **/
2423 * This symbol, if defined, indicates that <socks.h> exists and
2424 * should be included.
2426 /*#define I_SOCKS / **/
2429 * This symbol, if defined, indicates that <sunmath.h> exists and
2430 * should be included.
2432 /*#define I_SUNMATH / **/
2435 * This symbol, if defined, indicates that <syslog.h> exists and
2436 * should be included.
2438 #define I_SYSLOG /**/
2441 * This symbol, if defined, indicates that <sys/mode.h> exists and
2442 * should be included.
2444 #define I_SYSMODE /**/
2447 * This symbol, if defined, indicates that <sys/mount.h> exists and
2448 * should be included.
2450 #define I_SYS_MOUNT /**/
2453 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2455 /*#define I_SYS_STATFS / **/
2458 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2459 * should be included.
2461 #define I_SYS_STATVFS /**/
2464 * This symbol, if defined, indicates that <sys/uio.h> exists and
2465 * should be included.
2467 #define I_SYSUIO /**/
2470 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2471 * should be included.
2473 #define I_SYSUTSNAME /**/
2476 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2477 * should be included.
2479 /*#define I_SYS_VFS / **/
2482 * This symbol, if defined, indicates to the C program that it should
2486 * This symbol, if defined, indicates to the C program that it should
2487 * include <sys/time.h>.
2489 /* I_SYS_TIME_KERNEL:
2490 * This symbol, if defined, indicates to the C program that it should
2491 * include <sys/time.h> with KERNEL defined.
2493 /*#define I_TIME / **/
2494 #define I_SYS_TIME /**/
2495 /*#define I_SYS_TIME_KERNEL / **/
2498 * This symbol, if defined, indicates that <ustat.h> exists and
2499 * should be included.
2501 #define I_USTAT /**/
2503 /* PERL_INC_VERSION_LIST:
2504 * This variable specifies the list of subdirectories in over
2505 * which perl.c:incpush() and lib/lib.pm will automatically
2506 * search when adding directories to @INC, in a format suitable
2507 * for a C initialization string. See the inc_version_list entry
2508 * in Porting/Glossary for more details.
2510 #define PERL_INC_VERSION_LIST 0 /**/
2512 /* INSTALL_USR_BIN_PERL:
2513 * This symbol, if defined, indicates that Perl is to be installed
2514 * also as /usr/bin/perl.
2516 #define INSTALL_USR_BIN_PERL /**/
2519 * This symbol, if defined, contains the string used by stdio to
2520 * format long doubles (format 'f') for output.
2523 * This symbol, if defined, contains the string used by stdio to
2524 * format long doubles (format 'g') for output.
2527 * This symbol, if defined, contains the string used by stdio to
2528 * format long doubles (format 'e') for output.
2531 * This symbol, if defined, contains the string used by stdio to
2532 * format long doubles (format 'f') for input.
2534 #define PERL_PRIfldbl "f" /**/
2535 #define PERL_PRIgldbl "g" /**/
2536 #define PERL_PRIeldbl "e" /**/
2537 #define PERL_SCNfldbl "f" /**/
2540 * This symbol holds the type used to declare offsets in the kernel.
2541 * It can be int, long, off_t, etc... It may be necessary to include
2542 * <sys/types.h> to get any typedef'ed information.
2545 * This symbol holds the number of bytes used by the Off_t.
2548 * This symbol holds the number of bytes used by the Off_t.
2550 #define Off_t off_t /* <offset> type */
2551 #define LSEEKSIZE 8 /* <offset> size */
2552 #define Off_t_size 8 /* <offset> size */
2555 * This variable contains the return type of free(). It is usually
2556 * void, but occasionally int.
2559 * This symbol is the type of pointer returned by malloc and realloc.
2561 #define Malloc_t void * /**/
2562 #define Free_t void /**/
2565 * This symbol, if defined, indicates that we're using our own malloc.
2567 /*#define MYMALLOC / **/
2570 * This symbol holds the type used to declare file modes
2571 * for systems calls. It is usually mode_t, but may be
2572 * int or unsigned short. It may be necessary to include <sys/types.h>
2573 * to get any typedef'ed information.
2575 #define Mode_t mode_t /* file mode parameter for system calls */
2578 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2579 * non-blocking I/O for the file descriptor. Note that there is no way
2580 * back, i.e. you cannot turn it blocking again this way. If you wish to
2581 * alternatively switch between blocking and non-blocking, use the
2582 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2585 * This symbol holds the errno error code set by read() when no data was
2586 * present on the non-blocking file descriptor.
2589 * This symbol holds the return code from read() when no data is present
2590 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2591 * not defined, then you can't distinguish between no data and EOF by
2592 * issuing a read(). You'll have to find another way to tell for sure!
2595 * This symbol, if defined, indicates to the C program that a read() on
2596 * a non-blocking file descriptor will return 0 on EOF, and not the value
2597 * held in RD_NODATA (-1 usually, in that case!).
2599 #define VAL_O_NONBLOCK O_NONBLOCK
2600 #define VAL_EAGAIN EAGAIN
2601 #define RD_NODATA -1
2602 #define EOF_NONBLOCK
2605 * This symbol holds the type used for the 1st argument
2606 * to gethostbyaddr().
2609 * This symbol holds the type used for the 2nd argument
2610 * to gethostbyaddr().
2613 * This symbol holds the type used for the argument to
2617 * This symbol holds the type used for the 1st argument to
2620 #define Netdb_host_t const char * /**/
2621 #define Netdb_hlen_t int /**/
2622 #define Netdb_name_t const char * /**/
2623 #define Netdb_net_t int /**/
2625 /* PERL_OTHERLIBDIRS:
2626 * This variable contains a colon-separated set of paths for the perl
2627 * binary to search for additional library files or modules.
2628 * These directories will be tacked to the end of @INC.
2629 * Perl will automatically search below each path for version-
2630 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2633 /*#define PERL_OTHERLIBDIRS " " / **/
2636 * This symbol defines the C type used for Perl's IV.
2639 * This symbol defines the C type used for Perl's UV.
2642 * This symbol defines the C type used for Perl's I8.
2645 * This symbol defines the C type used for Perl's U8.
2648 * This symbol defines the C type used for Perl's I16.
2651 * This symbol defines the C type used for Perl's U16.
2654 * This symbol defines the C type used for Perl's I32.
2657 * This symbol defines the C type used for Perl's U32.
2660 * This symbol defines the C type used for Perl's I64.
2663 * This symbol defines the C type used for Perl's U64.
2666 * This symbol defines the C type used for Perl's NV.
2669 * This symbol contains the sizeof(IV).
2672 * This symbol contains the sizeof(UV).
2675 * This symbol contains the sizeof(I8).
2678 * This symbol contains the sizeof(U8).
2681 * This symbol contains the sizeof(I16).
2684 * This symbol contains the sizeof(U16).
2687 * This symbol contains the sizeof(I32).
2690 * This symbol contains the sizeof(U32).
2693 * This symbol contains the sizeof(I64).
2696 * This symbol contains the sizeof(U64).
2699 * This symbol contains the sizeof(NV).
2702 * This symbol, if defined, indicates that a variable of type NVTYPE
2703 * can preserve all the bits of a variable of type UVTYPE.
2705 /* NV_PRESERVES_UV_BITS:
2706 * This symbol contains the number of bits a variable of type NVTYPE
2707 * can preserve of a variable of type UVTYPE.
2709 #define IVTYPE long /**/
2710 #define UVTYPE unsigned long /**/
2711 #define I8TYPE char /**/
2712 #define U8TYPE unsigned char /**/
2713 #define I16TYPE short /**/
2714 #define U16TYPE unsigned short /**/
2715 #define I32TYPE int /**/
2716 #define U32TYPE unsigned int /**/
2718 #define I64TYPE long /**/
2719 #define U64TYPE unsigned long /**/
2721 #define NVTYPE double /**/
2722 #define IVSIZE 8 /**/
2723 #define UVSIZE 8 /**/
2724 #define I8SIZE 1 /**/
2725 #define U8SIZE 1 /**/
2726 #define I16SIZE 2 /**/
2727 #define U16SIZE 2 /**/
2728 #define I32SIZE 4 /**/
2729 #define U32SIZE 4 /**/
2731 #define I64SIZE 8 /**/
2732 #define U64SIZE 8 /**/
2734 #define NVSIZE 8 /**/
2735 #undef NV_PRESERVES_UV
2736 #define NV_PRESERVES_UV_BITS 53
2739 * This symbol defines the format string used for printing a Perl IV
2740 * as a signed decimal integer.
2743 * This symbol defines the format string used for printing a Perl UV
2744 * as an unsigned decimal integer.
2747 * This symbol defines the format string used for printing a Perl UV
2748 * as an unsigned octal integer.
2751 * This symbol defines the format string used for printing a Perl UV
2752 * as an unsigned hexadecimal integer in lowercase abcdef.
2755 * This symbol defines the format string used for printing a Perl NV
2756 * using %e-ish floating point format.
2759 * This symbol defines the format string used for printing a Perl NV
2760 * using %f-ish floating point format.
2763 * This symbol defines the format string used for printing a Perl NV
2764 * using %g-ish floating point format.
2766 #define IVdf "ld" /**/
2767 #define UVuf "lu" /**/
2768 #define UVof "lo" /**/
2769 #define UVxf "lx" /**/
2770 #define NVef "e" /**/
2771 #define NVff "f" /**/
2772 #define NVgf "g" /**/
2775 * This symbol holds the type used to declare process ids in the kernel.
2776 * It can be int, uint, pid_t, etc... It may be necessary to include
2777 * <sys/types.h> to get any typedef'ed information.
2779 #define Pid_t pid_t /* PID type */
2782 * This symbol contains the name of the private library for this package.
2783 * The library is private in the sense that it needn't be in anyone's
2784 * execution path, but it should be accessible by the world. The program
2785 * should be prepared to do ~ expansion.
2788 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2789 * in programs that are not prepared to deal with ~ expansion at run-time.
2791 #define PRIVLIB "/opt/perl/lib/5.7.0" /**/
2792 #define PRIVLIB_EXP "/opt/perl/lib/5.7.0" /**/
2795 * This symbol contains the size of a pointer, so that the C preprocessor
2796 * can make decisions based on it. It will be sizeof(void *) if
2797 * the compiler supports (void *); otherwise it will be
2800 #define PTRSIZE 8 /**/
2803 * This macro is to be used to generate uniformly distributed
2804 * random numbers over the range [0., 1.[. You may have to supply
2805 * an 'extern double drand48();' in your program since SunOS 4.1.3
2806 * doesn't provide you with anything relevant in it's headers.
2807 * See HAS_DRAND48_PROTO.
2810 * This symbol defines the type of the argument of the
2811 * random seed function.
2814 * This symbol defines the macro to be used in seeding the
2815 * random number generator (see Drand01).
2818 * This symbol indicates how many bits are produced by the
2819 * function used to generate normalized random numbers.
2820 * Values include 15, 16, 31, and 48.
2822 #define Drand01() drand48() /**/
2823 #define Rand_seed_t long /**/
2824 #define seedDrand01(x) srand48((Rand_seed_t)x) /**/
2825 #define RANDBITS 48 /**/
2828 * This symbol holds the minimum number of bits operated by select.
2829 * That is, if you do select(n, ...), how many bits at least will be
2830 * cleared in the masks if some activity is detected. Usually this
2831 * is either n or 32*ceil(n/32), especially many little-endians do
2832 * the latter. This is only useful if you have select(), naturally.
2834 #define SELECT_MIN_BITS 32 /**/
2837 * This symbol holds the type used for the 2nd, 3rd, and 4th
2838 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2839 * is defined, and 'int *' otherwise. This is only useful if you
2840 * have select(), of course.
2842 #define Select_fd_set_t fd_set * /**/
2845 * This symbol contains a list of signal names in order of
2846 * signal number. This is intended
2847 * to be used as a static array initialization, like this:
2848 * char *sig_name[] = { SIG_NAME };
2849 * The signals in the list are separated with commas, and each signal
2850 * is surrounded by double quotes. There is no leading SIG in the signal
2851 * name, i.e. SIGQUIT is known as "QUIT".
2852 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2853 * etc., where nn is the actual signal number (e.g. NUM37).
2854 * The signal number for sig_name[i] is stored in sig_num[i].
2855 * The last element is 0 to terminate the list with a NULL. This
2856 * corresponds to the 0 at the end of the sig_num list.
2859 * This symbol contains a list of signal numbers, in the same order as the
2860 * SIG_NAME list. It is suitable for static array initialization, as in:
2861 * int sig_num[] = { SIG_NUM };
2862 * The signals in the list are separated with commas, and the indices
2863 * within that list and the SIG_NAME list match, so it's easy to compute
2864 * the signal name from a number or vice versa at the price of a small
2865 * dynamic linear lookup.
2866 * Duplicates are allowed, but are moved to the end of the list.
2867 * The signal number corresponding to sig_name[i] is sig_number[i].
2868 * if (i < NSIG) then sig_number[i] == i.
2869 * The last element is 0, corresponding to the 0 at the end of
2870 * the sig_name list.
2872 #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 /**/
2873 #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 /**/
2876 * This symbol contains the name of the private library for this package.
2877 * The library is private in the sense that it needn't be in anyone's
2878 * execution path, but it should be accessible by the world. The program
2879 * should be prepared to do ~ expansion.
2880 * The standard distribution will put nothing in this directory.
2881 * After perl has been installed, users may install their own local
2882 * architecture-dependent modules in this directory with
2883 * MakeMaker Makefile.PL
2884 * or equivalent. See INSTALL for details.
2887 * This symbol contains the ~name expanded version of SITEARCH, to be used
2888 * in programs that are not prepared to deal with ~ expansion at run-time.
2890 #define SITEARCH "/opt/perl/lib/site_perl/5.7.0/alpha-dec_osf-thread" /**/
2891 #define SITEARCH_EXP "/opt/perl/lib/site_perl/5.7.0/alpha-dec_osf-thread" /**/
2894 * This symbol contains the name of the private library for this package.
2895 * The library is private in the sense that it needn't be in anyone's
2896 * execution path, but it should be accessible by the world. The program
2897 * should be prepared to do ~ expansion.
2898 * The standard distribution will put nothing in this directory.
2899 * After perl has been installed, users may install their own local
2900 * architecture-independent modules in this directory with
2901 * MakeMaker Makefile.PL
2902 * or equivalent. See INSTALL for details.
2905 * This symbol contains the ~name expanded version of SITELIB, to be used
2906 * in programs that are not prepared to deal with ~ expansion at run-time.
2909 * This define is SITELIB_EXP with any trailing version-specific component
2910 * removed. The elements in inc_version_list (inc_version_list.U) can
2911 * be tacked onto this variable to generate a list of directories to search.
2913 #define SITELIB "/opt/perl/lib/site_perl/5.7.0" /**/
2914 #define SITELIB_EXP "/opt/perl/lib/site_perl/5.7.0" /**/
2915 #define SITELIB_STEM "/opt/perl/lib/site_perl" /**/
2918 * This symbol holds the size of a Size_t in bytes.
2920 #define Size_t_size 8 /* */
2923 * This symbol holds the type used to declare length parameters
2924 * for string functions. It is usually size_t, but may be
2925 * unsigned long, int, etc. It may be necessary to include
2926 * <sys/types.h> to get any typedef'ed information.
2928 #define Size_t size_t /* length paramater for string functions */
2931 * This symbol holds the type used for the size argument of
2932 * various socket calls (just the base type, not the pointer-to).
2934 #define Sock_size_t int /**/
2937 * This symbol holds the type used by functions that return
2938 * a count of bytes or an error condition. It must be a signed type.
2939 * It is usually ssize_t, but may be long or int, etc.
2940 * It may be necessary to include <sys/types.h> or <unistd.h>
2941 * to get any typedef'ed information.
2942 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
2944 #define SSize_t ssize_t /* signed count of bytes */
2947 * This variable contains the string to put in front of a perl
2948 * script to make sure (one hopes) that it runs with perl and not
2951 #define STARTPERL "#!/opt/perl/bin/perl" /**/
2953 /* HAS_STDIO_STREAM_ARRAY:
2954 * This symbol, if defined, tells that there is an array
2955 * holding the stdio streams.
2957 /* STDIO_STREAM_ARRAY:
2958 * This symbol tells the name of the array holding the stdio streams.
2959 * Usual values include _iob, __iob, and __sF.
2961 #define HAS_STDIO_STREAM_ARRAY /**/
2962 #define STDIO_STREAM_ARRAY _iob
2965 * This symbol defines the format string used for printing a Uid_t.
2967 #define Uid_t_f "u" /**/
2970 * This symbol holds the signedess of a Uid_t.
2971 * 1 for unsigned, -1 for signed.
2973 #define Uid_t_sign 1 /* UID sign */
2976 * This symbol holds the size of a Uid_t in bytes.
2978 #define Uid_t_size 4 /* UID size */
2981 * This symbol holds the type used to declare user ids in the kernel.
2982 * It can be int, ushort, uid_t, etc... It may be necessary to include
2983 * <sys/types.h> to get any typedef'ed information.
2985 #define Uid_t uid_t /* UID type */
2988 * This symbol, if defined, indicates that 64-bit integers should
2989 * be used when available. If not defined, the native integers
2990 * will be employed (be they 32 or 64 bits). The minimal possible
2991 * 64-bitness is used, just enough to get 64-bit integers into Perl.
2992 * This may mean using for example "long longs", while your memory
2993 * may still be limited to 2 gigabytes.
2996 * This symbol, if defined, indicates that 64-bit integers should
2997 * be used when available. If not defined, the native integers
2998 * will be used (be they 32 or 64 bits). The maximal possible
2999 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3000 * be able to use more than 2 gigabytes of memory. This mode is
3001 * even more binary incompatible than USE_64_BIT_INT. You may not
3002 * be able to run the resulting executable in a 32-bit CPU at all or
3003 * you may need at least to reboot your OS to 64-bit mode.
3005 #ifndef USE_64_BIT_INT
3006 #define USE_64_BIT_INT /**/
3009 #ifndef USE_64_BIT_ALL
3010 #define USE_64_BIT_ALL /**/
3014 * This symbol, if defined, indicates that large file support
3015 * should be used when available.
3017 #ifndef USE_LARGE_FILES
3018 #define USE_LARGE_FILES /**/
3022 * This symbol, if defined, indicates that long doubles should
3023 * be used when available.
3025 #ifndef USE_LONG_DOUBLE
3026 /*#define USE_LONG_DOUBLE / **/
3030 * This symbol, if defined, indicates that 64-bit interfaces and
3031 * long doubles should be used when available.
3033 #ifndef USE_MORE_BITS
3034 /*#define USE_MORE_BITS / **/
3038 * This symbol, if defined, indicates that Perl should
3039 * be built to use multiplicity.
3041 #ifndef MULTIPLICITY
3042 /*#define MULTIPLICITY / **/
3046 * This symbol, if defined, indicates that the PerlIO abstraction should
3047 * be used throughout. If not defined, stdio should be
3048 * used in a fully backward compatible manner.
3051 /*#define USE_PERLIO / **/
3055 * This symbol, if defined, indicates that Perl should
3056 * be built to use socks.
3059 /*#define USE_SOCKS / **/
3063 * This symbol, if defined, indicates that Perl should be built to
3064 * use the interpreter-based threading implementation.
3067 * This symbol, if defined, indicates that Perl should be built to
3068 * use the 5.005-based threading implementation.
3070 /* OLD_PTHREADS_API:
3071 * This symbol, if defined, indicates that Perl should
3072 * be built to use the old draft POSIX threads API.
3074 #define USE_5005THREADS /**/
3075 /*#define USE_ITHREADS / **/
3076 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3077 #define USE_THREADS /* until src is revised*/
3079 /*#define OLD_PTHREADS_API / **/
3082 * If defined, this symbol contains the name of a private library.
3083 * The library is private in the sense that it needn't be in anyone's
3084 * execution path, but it should be accessible by the world.
3085 * It may have a ~ on the front.
3086 * The standard distribution will put nothing in this directory.
3087 * Vendors who distribute perl may wish to place their own
3088 * architecture-dependent modules and extensions in this directory with
3089 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3090 * or equivalent. See INSTALL for details.
3092 /* PERL_VENDORARCH_EXP:
3093 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3094 * in programs that are not prepared to deal with ~ expansion at run-time.
3096 /*#define PERL_VENDORARCH "" / **/
3097 /*#define PERL_VENDORARCH_EXP "" / **/
3099 /* PERL_VENDORLIB_EXP:
3100 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3101 * in programs that are not prepared to deal with ~ expansion at run-time.
3103 /* PERL_VENDORLIB_STEM:
3104 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3105 * removed. The elements in inc_version_list (inc_version_list.U) can
3106 * be tacked onto this variable to generate a list of directories to search.
3108 /*#define PERL_VENDORLIB_EXP "" / **/
3109 /*#define PERL_VENDORLIB_STEM "" / **/
3112 * This symbol indicates how much support of the void type is given by this
3113 * compiler. What various bits mean:
3115 * 1 = supports declaration of void
3116 * 2 = supports arrays of pointers to functions returning void
3117 * 4 = supports comparisons between pointers to void functions and
3118 * addresses of void functions
3119 * 8 = suports declaration of generic void pointers
3121 * The package designer should define VOIDUSED to indicate the requirements
3122 * of the package. This can be done either by #defining VOIDUSED before
3123 * including config.h, or by defining defvoidused in Myinit.U. If the
3124 * latter approach is taken, only those flags will be tested. If the
3125 * level of void support necessary is not present, defines void to int.
3130 #define VOIDFLAGS 15
3131 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3132 #define void int /* is void to be avoided? */
3133 #define M_VOID /* Xenix strikes again */
3136 /* PERL_XS_APIVERSION:
3137 * This variable contains the version of the oldest perl binary
3138 * compatible with the present perl. perl.c:incpush() and
3139 * lib/lib.pm will automatically search in /opt/perl/lib/site_perl/5.7.0/alpha-dec_osf-thread for older
3140 * directories across major versions back to xs_apiversion.
3141 * This is only useful if you have a perl library directory tree
3142 * structured like the default one.
3143 * See INSTALL for how this works.
3144 * The versioned site_perl directory was introduced in 5.005,
3145 * so that is the lowest possible value.
3146 * Since this can depend on compile time options (such as
3147 * bincompat) it is set by Configure. Other non-default sources
3148 * of potential incompatibility, such as multiplicity, threads,
3149 * debugging, 64bits, sfio, etc., are not checked for currently,
3150 * though in principle we could go snooping around in old
3153 /* PERL_PM_APIVERSION:
3154 * This variable contains the version of the oldest perl
3155 * compatible with the present perl. (That is, pure perl modules
3156 * written for pm_apiversion will still work for the current
3157 * version). perl.c:incpush() and lib/lib.pm will automatically
3158 * search in /opt/perl/lib/site_perl/5.7.0 for older directories across major versions
3159 * back to pm_apiversion. This is only useful if you have a perl
3160 * library directory tree structured like the default one. The
3161 * versioned site_perl library was introduced in 5.005, so that's
3162 * the default setting for this variable. It's hard to imagine
3163 * it changing before Perl6. It is included here for symmetry
3164 * with xs_apiveprsion -- the searching algorithms will
3165 * (presumably) be similar.
3166 * See the INSTALL file for how this works.
3168 #define PERL_XS_APIVERSION "5.7.0"
3169 #define PERL_PM_APIVERSION "5.005"
3172 * This symbol, if defined, indicates that the getpgrp routine is
3173 * available to get the current process group.
3176 * This symbol, if defined, indicates that getpgrp needs one
3177 * arguments whereas USG one needs none.
3179 #define HAS_GETPGRP /**/
3180 /*#define USE_BSD_GETPGRP / **/
3183 * This symbol, if defined, indicates that the setpgrp routine is
3184 * available to set the current process group.
3187 * This symbol, if defined, indicates that setpgrp needs two
3188 * arguments whereas USG one needs none. See also HAS_SETPGID
3189 * for a POSIX interface.
3191 #define HAS_SETPGRP /**/
3192 #define USE_BSD_SETPGRP /**/
3195 * This symbol, if defined, indicates that fcntl() can be used
3196 * for file locking. Normally on Unix systems this is defined.
3197 * It may be undefined on VMS.
3199 #define FCNTL_CAN_LOCK /**/