1 /* This file (config_H) is a sample config.h file. If you are unable
2 to successfully run Configure, copy this file to config.h and
3 edit it to suit your system.
6 * This file was produced by running the config_h.SH script, which
7 * gets its values from config.sh, which is generally produced by
10 * Feel free to modify any of this as the need arises. Note, however,
11 * that running config_h.SH again will wipe out any changes you've made.
12 * For a more permanent change edit config.sh and rerun config_h.SH.
14 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
18 * Package name : perl5
19 * Source directory : .
20 * Configuration time: Wed Jan 26 09:55:17 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 system supports filenames
180 * longer than 14 characters.
182 #define FLEXFILENAMES /**/
185 * This symbol, if defined, indicates that the flock routine is
186 * available to do file locking.
188 #define HAS_FLOCK /**/
191 * This symbol, if defined, indicates that the fork routine is
194 #define HAS_FORK /**/
197 * This symbol, if defined, indicates that the fsetpos routine is
198 * available to set the file position indicator, similar to fseek().
200 #define HAS_FSETPOS /**/
203 * This symbol, if defined, indicates that the gettimeofday() system
204 * call is available for a sub-second accuracy clock. Usually, the file
205 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
206 * The type "Timeval" should be used to refer to "struct timeval".
208 #define HAS_GETTIMEOFDAY /**/
209 #ifdef HAS_GETTIMEOFDAY
210 #define Timeval struct timeval /* Structure used by gettimeofday() */
214 * This symbol, if defined, indicates that the getgroups() routine is
215 * available to get the list of process groups. If unavailable, multiple
216 * groups are probably not supported.
218 #define HAS_GETGROUPS /**/
221 * This symbol, if defined, indicates that the getlogin routine is
222 * available to get the login name.
224 #define HAS_GETLOGIN /**/
227 * This symbol, if defined, indicates to the C program that
228 * the getpgid(pid) function is available to get the
231 #define HAS_GETPGID /**/
234 * This symbol, if defined, indicates that the getpgrp routine is
235 * available to get the current process group.
238 * This symbol, if defined, indicates that getpgrp needs one
239 * arguments whereas USG one needs none.
241 #define HAS_GETPGRP /**/
242 /*#define USE_BSD_GETPGRP / **/
245 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
246 * routine is available to get the current process group.
248 /*#define HAS_GETPGRP2 / **/
251 * This symbol, if defined, indicates that the getppid routine is
252 * available to get the parent process ID.
254 #define HAS_GETPPID /**/
257 * This symbol, if defined, indicates that the getpriority routine is
258 * available to get a process's priority.
260 #define HAS_GETPRIORITY /**/
263 * This symbol, if defined, indicates to the C program that the
264 * inet_aton() function is available to parse IP address "dotted-quad"
267 #define HAS_INET_ATON /**/
270 * This symbol, if defined, indicates that the killpg routine is available
271 * to kill process groups. If unavailable, you probably should use kill
272 * with a negative process number.
274 #define HAS_KILLPG /**/
277 * This symbol, if defined, indicates that the link routine is
278 * available to create hard links.
280 #define HAS_LINK /**/
283 * This symbol, if defined, indicates that the localeconv routine is
284 * available for numeric and monetary formatting conventions.
286 #define HAS_LOCALECONV /**/
289 * This symbol, if defined, indicates that the lockf routine is
290 * available to do file locking.
292 #define HAS_LOCKF /**/
295 * This symbol, if defined, indicates that the lstat routine is
296 * available to do file stats on symbolic links.
298 #define HAS_LSTAT /**/
301 * This symbol, if defined, indicates that the mblen routine is available
302 * to find the number of bytes in a multibye character.
304 #define HAS_MBLEN /**/
307 * This symbol, if defined, indicates that the mbstowcs routine is
308 * available to covert a multibyte string into a wide character string.
310 #define HAS_MBSTOWCS /**/
313 * This symbol, if defined, indicates that the mbtowc routine is available
314 * to covert a multibyte to a wide character.
316 #define HAS_MBTOWC /**/
319 * This symbol, if defined, indicates that the memcmp routine is available
320 * to compare blocks of memory.
322 #define HAS_MEMCMP /**/
325 * This symbol, if defined, indicates that the memcpy routine is available
326 * to copy blocks of memory.
328 #define HAS_MEMCPY /**/
331 * This symbol, if defined, indicates that the memmove routine is available
332 * to copy potentially overlapping blocks of memory. This should be used
333 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
336 #define HAS_MEMMOVE /**/
339 * This symbol, if defined, indicates that the memset routine is available
340 * to set blocks of memory.
342 #define HAS_MEMSET /**/
345 * This symbol, if defined, indicates that the mkdir routine is available
346 * to create directories. Otherwise you should fork off a new process to
349 #define HAS_MKDIR /**/
352 * This symbol, if defined, indicates that the mkfifo routine is
353 * available to create FIFOs. Otherwise, mknod should be able to
354 * do it for you. However, if mkfifo is there, mknod might require
355 * super-user privileges which mkfifo will not.
357 #define HAS_MKFIFO /**/
360 * This symbol, if defined, indicates that the mktime routine is
363 #define HAS_MKTIME /**/
366 * This symbol, if defined, indicates that the nice routine is
369 #define HAS_NICE /**/
372 * This symbol, if defined, indicates that pathconf() is available
373 * to determine file-system related limits and options associated
374 * with a given filename.
377 * This symbol, if defined, indicates that pathconf() is available
378 * to determine file-system related limits and options associated
379 * with a given open file descriptor.
381 #define HAS_PATHCONF /**/
382 #define HAS_FPATHCONF /**/
385 * This symbol, if defined, indicates that the pause routine is
386 * available to suspend a process until a signal is received.
388 #define HAS_PAUSE /**/
391 * This symbol, if defined, indicates that the pipe routine is
392 * available to create an inter-process channel.
394 #define HAS_PIPE /**/
397 * This symbol, if defined, indicates that the poll routine is
398 * available to poll active file descriptors. You may safely
399 * include <poll.h> when this symbol is defined.
401 #define HAS_POLL /**/
404 * This symbol, if defined, indicates that the readdir routine is
405 * available to read directory entries. You may have to include
406 * <dirent.h>. See I_DIRENT.
408 #define HAS_READDIR /**/
411 * This symbol, if defined, indicates that the seekdir routine is
412 * available. You may have to include <dirent.h>. See I_DIRENT.
414 #define HAS_SEEKDIR /**/
417 * This symbol, if defined, indicates that the telldir routine is
418 * available. You may have to include <dirent.h>. See I_DIRENT.
420 #define HAS_TELLDIR /**/
423 * This symbol, if defined, indicates that the rewinddir routine is
424 * available. You may have to include <dirent.h>. See I_DIRENT.
426 #define HAS_REWINDDIR /**/
429 * This symbol, if defined, indicates that the readlink routine is
430 * available to read the value of a symbolic link.
432 #define HAS_READLINK /**/
435 * This symbol, if defined, indicates that the rename routine is available
436 * to rename files. Otherwise you should do the unlink(), link(), unlink()
439 #define HAS_RENAME /**/
442 * This symbol, if defined, indicates that the rmdir routine is
443 * available to remove directories. Otherwise you should fork off a
444 * new process to exec /bin/rmdir.
446 #define HAS_RMDIR /**/
449 * This symbol, if defined, indicates that the select routine is
450 * available to select active file descriptors. If the timeout field
451 * is used, <sys/time.h> may need to be included.
453 #define HAS_SELECT /**/
456 * This symbol, if defined, indicates that the setegid routine is available
457 * to change the effective gid of the current program.
459 #define HAS_SETEGID /**/
462 * This symbol, if defined, indicates that the seteuid routine is available
463 * to change the effective uid of the current program.
465 #define HAS_SETEUID /**/
468 * This symbol, if defined, indicates that the setlinebuf routine is
469 * available to change stderr or stdout from block-buffered or unbuffered
470 * to a line-buffered mode.
472 #define HAS_SETLINEBUF /**/
475 * This symbol, if defined, indicates that the setlocale routine is
476 * available to handle locale-specific ctype implementations.
478 #define HAS_SETLOCALE /**/
481 * This symbol, if defined, indicates that the setpgid(pid, gpid)
482 * routine is available to set process group ID.
484 #define HAS_SETPGID /**/
487 * This symbol, if defined, indicates that the setpgrp routine is
488 * available to set the current process group.
491 * This symbol, if defined, indicates that setpgrp needs two
492 * arguments whereas USG one needs none. See also HAS_SETPGID
493 * for a POSIX interface.
495 #define HAS_SETPGRP /**/
496 #define USE_BSD_SETPGRP /**/
499 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
500 * routine is available to set the current process group.
502 /*#define HAS_SETPGRP2 / **/
505 * This symbol, if defined, indicates that the setpriority routine is
506 * available to set a process's priority.
508 #define HAS_SETPRIORITY /**/
511 * This symbol, if defined, indicates that the setregid routine is
512 * available to change the real and effective gid of the current
516 * This symbol, if defined, indicates that the setresgid routine is
517 * available to change the real, effective and saved gid of the current
520 #define HAS_SETREGID /**/
521 /*#define HAS_SETRESGID / **/
524 * This symbol, if defined, indicates that the setreuid routine is
525 * available to change the real and effective uid of the current
529 * This symbol, if defined, indicates that the setresuid routine is
530 * available to change the real, effective and saved uid of the current
533 #define HAS_SETREUID /**/
534 /*#define HAS_SETRESUID / **/
537 * This symbol, if defined, indicates that the setrgid routine is available
538 * to change the real gid of the current program.
540 #define HAS_SETRGID /**/
543 * This symbol, if defined, indicates that the setruid routine is available
544 * to change the real uid of the current program.
546 #define HAS_SETRUID /**/
549 * This symbol, if defined, indicates that the setsid routine is
550 * available to set the process group ID.
552 #define HAS_SETSID /**/
555 * This symbol holds the return type of the shmat() system call.
556 * Usually set to 'void *' or 'char *'.
558 /* HAS_SHMAT_PROTOTYPE:
559 * This symbol, if defined, indicates that the sys/shm.h includes
560 * a prototype for shmat(). Otherwise, it is up to the program to
561 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
562 * but not always right so it should be emitted by the program only
563 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
565 #define Shmat_t void * /**/
566 #define HAS_SHMAT_PROTOTYPE /**/
569 * This symbol is defined to indicate that the strchr()/strrchr()
570 * functions are available for string searching. If not, try the
571 * index()/rindex() pair.
574 * This symbol is defined to indicate that the index()/rindex()
575 * functions are available for string searching.
577 #define HAS_STRCHR /**/
578 /*#define HAS_INDEX / **/
581 * This symbol, if defined, indicates that the strcoll routine is
582 * available to compare strings using collating information.
584 #define HAS_STRCOLL /**/
587 * This symbol, if defined, indicates that this C compiler knows how
588 * to copy structures. If undefined, you'll need to use a block copy
589 * routine of some sort instead.
591 #define USE_STRUCT_COPY /**/
594 * This symbol, if defined, indicates that the strtod routine is
595 * available to provide better numeric string conversion than atof().
597 #define HAS_STRTOD /**/
600 * This symbol, if defined, indicates that the strtol routine is available
601 * to provide better numeric string conversion than atoi() and friends.
603 #define HAS_STRTOL /**/
606 * This symbol, if defined, indicates that the strtoul routine is
607 * available to provide conversion of strings to unsigned long.
609 #define HAS_STRTOUL /**/
612 * This symbol, if defined, indicates that the strxfrm() routine is
613 * available to transform strings.
615 #define HAS_STRXFRM /**/
618 * This symbol, if defined, indicates that the symlink routine is available
619 * to create symbolic links.
621 #define HAS_SYMLINK /**/
624 * This symbol, if defined, indicates that the syscall routine is
625 * available to call arbitrary system calls. If undefined, that's tough.
627 #define HAS_SYSCALL /**/
630 * This symbol, if defined, indicates that sysconf() is available
631 * to determine system related limits and options.
633 #define HAS_SYSCONF /**/
636 * This symbol, if defined, indicates that the system routine is
637 * available to issue a shell command.
639 #define HAS_SYSTEM /**/
642 * This symbol, if defined, indicates that the tcgetpgrp routine is
643 * available to get foreground process group ID.
645 #define HAS_TCGETPGRP /**/
648 * This symbol, if defined, indicates that the tcsetpgrp routine is
649 * available to set foreground process group ID.
651 #define HAS_TCSETPGRP /**/
654 * This symbol, if defined, indicates that the truncate routine is
655 * available to truncate files.
657 #define HAS_TRUNCATE /**/
660 * This symbol, if defined, indicates that the tzname[] array is
661 * available to access timezone names.
663 #define HAS_TZNAME /**/
666 * This symbol, if defined, indicates that the umask routine is
667 * available to set and get the value of the file creation mask.
669 #define HAS_UMASK /**/
672 * This symbol, if defined, indicates that this C compiler knows about
673 * the volatile declaration.
675 #define HASVOLATILE /**/
681 * This symbol, if defined, indicates that wait4() exists.
683 #define HAS_WAIT4 /**/
686 * This symbol, if defined, indicates that the waitpid routine is
687 * available to wait for child process.
689 #define HAS_WAITPID /**/
692 * This symbol, if defined, indicates that the wcstombs routine is
693 * available to convert wide character strings to multibyte strings.
695 #define HAS_WCSTOMBS /**/
698 * This symbol, if defined, indicates that the wctomb routine is available
699 * to covert a wide character to a multibyte.
701 #define HAS_WCTOMB /**/
704 * This symbol, if defined, indicates to the C program that it should
705 * include <arpa/inet.h> to get inet_addr and friends declarations.
707 #define I_ARPA_INET /**/
710 * This symbol, if defined, indicates that <dbm.h> exists and should
714 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
715 * should be included.
718 /*#define I_RPCSVC_DBM / **/
721 * This symbol, if defined, indicates to the C program that it should
722 * include <dirent.h>. Using this symbol also triggers the definition
723 * of the Direntry_t define which ends up being 'struct dirent' or
724 * 'struct direct' depending on the availability of <dirent.h>.
727 * This symbol, if defined, indicates to the C program that the length
728 * of directory entry names is provided by a d_namlen field. Otherwise
729 * you need to do strlen() on the d_name field.
732 * This symbol is set to 'struct direct' or 'struct dirent' depending on
733 * whether dirent is available or not. You should use this pseudo type to
734 * portably declare your directory entries.
736 #define I_DIRENT /**/
737 #define DIRNAMLEN /**/
738 #define Direntry_t struct dirent
741 * This symbol, if defined, indicates that <dlfcn.h> exists and should
747 * This manifest constant tells the C program to include <fcntl.h>.
749 /*#define I_FCNTL / **/
752 * This symbol, if defined, indicates to the C program that it should
753 * include <float.h> to get definition of symbols like DBL_MAX or
754 * DBL_MIN, i.e. machine dependent floating point values.
759 * This symbol, if defined, indicates to the C program that it should
760 * include <limits.h> to get definition of symbols like WORD_BIT or
761 * LONG_MAX, i.e. machine dependant limitations.
763 #define I_LIMITS /**/
766 * This symbol, if defined, indicates to the C program that it should
767 * include <locale.h>.
769 #define I_LOCALE /**/
772 * This symbol, if defined, indicates to the C program that it should
778 * This symbol, if defined, indicates to the C program that it should
779 * include <memory.h>.
781 /*#define I_MEMORY / **/
784 * This symbol, if defined, indicates that <ndbm.h> exists and should
790 * This symbol, if defined, indicates that <net/errno.h> exists and
791 * should be included.
793 /*#define I_NET_ERRNO / **/
796 * This symbol, if defined, indicates to the C program that it should
797 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
799 #define I_NETINET_IN /**/
802 * This symbol, if defined, indicates to the C program that it should
805 /*#define I_SFIO / **/
808 * This symbol, if defined, indicates that <stddef.h> exists and should
811 #define I_STDDEF /**/
814 * This symbol, if defined, indicates that <stdlib.h> exists and should
817 #define I_STDLIB /**/
820 * This symbol, if defined, indicates to the C program that it should
821 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
823 #define I_STRING /**/
826 * This symbol, if defined, indicates to the C program that it should
827 * include <sys/dir.h>.
829 #define I_SYS_DIR /**/
832 * This symbol, if defined, indicates to the C program that it should
833 * include <sys/file.h> to get definition of R_OK and friends.
835 #define I_SYS_FILE /**/
838 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
839 * be included. Otherwise, include <sgtty.h> or <termio.h>.
841 #define I_SYS_IOCTL /**/
844 * This symbol, if defined, indicates to the C program that it should
845 * include <sys/ndir.h>.
847 /*#define I_SYS_NDIR / **/
850 * This symbol, if defined, indicates to the C program that it should
851 * include <sys/param.h>.
853 #define I_SYS_PARAM /**/
856 * This symbol, if defined, indicates to the C program that it should
857 * include <sys/resource.h>.
859 #define I_SYS_RESOURCE /**/
862 * This symbol, if defined, indicates to the C program that it should
863 * include <sys/select.h> in order to get definition of struct timeval.
865 #define I_SYS_SELECT /**/
868 * This symbol, if defined, indicates to the C program that it should
869 * include <sys/stat.h>.
871 #define I_SYS_STAT /**/
874 * This symbol, if defined, indicates to the C program that it should
875 * include <sys/times.h>.
877 #define I_SYS_TIMES /**/
880 * This symbol, if defined, indicates to the C program that it should
881 * include <sys/types.h>.
883 #define I_SYS_TYPES /**/
886 * This symbol, if defined, indicates to the C program that it should
887 * include <sys/un.h> to get UNIX domain socket definitions.
889 #define I_SYS_UN /**/
892 * This symbol, if defined, indicates to the C program that it should
893 * include <sys/wait.h>.
895 #define I_SYS_WAIT /**/
898 * This symbol, if defined, indicates that the program should include
899 * <termio.h> rather than <sgtty.h>. There are also differences in
900 * the ioctl() calls that depend on the value of this symbol.
903 * This symbol, if defined, indicates that the program should include
904 * the POSIX termios.h rather than sgtty.h or termio.h.
905 * There are also differences in the ioctl() calls that depend on the
906 * value of this symbol.
909 * This symbol, if defined, indicates that the program should include
910 * <sgtty.h> rather than <termio.h>. There are also differences in
911 * the ioctl() calls that depend on the value of this symbol.
913 /*#define I_TERMIO / **/
914 #define I_TERMIOS /**/
915 /*#define I_SGTTY / **/
918 * This symbol, if defined, indicates to the C program that it should
919 * include <unistd.h>.
921 #define I_UNISTD /**/
924 * This symbol, if defined, indicates to the C program that it should
930 * This symbol, if defined, indicates to the C program that it should
931 * include <values.h> to get definition of symbols like MINFLOAT or
932 * MAXLONG, i.e. machine dependant limitations. Probably, you
933 * should use <limits.h> instead, if it is available.
935 #define I_VALUES /**/
938 * This symbol, if defined, indicates that <stdarg.h> exists and should
942 * This symbol, if defined, indicates to the C program that it should
943 * include <varargs.h>.
945 #define I_STDARG /**/
946 /*#define I_VARARGS / **/
949 * This symbol, if defined, indicates to the C program that it should
952 /*#define I_VFORK / **/
955 * If defined, this macro indicates that the C compiler can handle
956 * function prototypes.
959 * This macro is used to declare function parameters for folks who want
960 * to make declarations with prototypes using a different style than
961 * the above macros. Use double parentheses. For example:
963 * int main _((int argc, char *argv[]));
965 #define CAN_PROTOTYPE /**/
973 * This symbol contains the full pathname to the shell used on this
974 * on this system to execute Bourne shell scripts. Usually, this will be
975 * /bin/sh, though it's possible that some systems will have /bin/ksh,
976 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
979 #define SH_PATH "/bin/sh" /**/
982 * This symbol is defined to be the type of char used in stdio.h.
983 * It has the values "unsigned char" or "char".
985 #define STDCHAR unsigned char /**/
988 * This symbol, if defined, signifies that we our
989 * build process is a cross-compilation.
991 /*#define CROSSCOMPILE / **/
994 * This symbol contains the value of sizeof(int) so that the C
995 * preprocessor can make decisions based on it.
998 * This symbol contains the value of sizeof(long) so that the C
999 * preprocessor can make decisions based on it.
1002 * This symbol contains the value of sizeof(short) so that the C
1003 * preprocessor can make decisions based on it.
1005 #define INTSIZE 4 /**/
1006 #define LONGSIZE 8 /**/
1007 #define SHORTSIZE 2 /**/
1010 * This symbol, if defined, signifies that the build
1011 * process will produce some binary files that are going to be
1012 * used in a cross-platform environment. This is the case for
1013 * example with the NeXT "fat" binaries that contain executables
1016 /*#define MULTIARCH / **/
1019 * This symbol, if defined, tells that there's a 64-bit integer type,
1020 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
1021 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
1023 #define HAS_QUAD /**/
1025 # define Quad_t long /**/
1026 # define Uquad_t unsigned long /**/
1027 # define QUADKIND 2 /**/
1028 # define QUAD_IS_INT 1
1029 # define QUAD_IS_LONG 2
1030 # define QUAD_IS_LONG_LONG 3
1031 # define QUAD_IS_INT64_T 4
1035 * This symbol, if defined, indicates that the accessx routine is
1036 * available to do extended access checks.
1038 /*#define HAS_ACCESSX / **/
1041 * This symbol, if defined, indicates that the eaccess routine is
1042 * available to do extended access checks.
1044 /*#define HAS_EACCESS / **/
1047 * This symbol, if defined, indicates to the C program that it should
1048 * include <sys/access.h>.
1050 #define I_SYS_ACCESS /**/
1053 * This symbol, if defined, indicates to the C program that it should
1054 * include <sys/security.h>.
1056 #define I_SYS_SECURITY /**/
1059 * This symbol contains the name of the operating system, as determined
1060 * by Configure. You shouldn't rely on it too much; the specific
1061 * feature tests from Configure are generally more reliable.
1063 #define OSNAME "dec_osf" /**/
1066 * This symbol contains the number of bytes required to align a
1067 * double. Usual values are 2, 4 and 8. The default is eight,
1070 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1071 # define MEM_ALIGNBYTES 8
1073 #define MEM_ALIGNBYTES 8
1077 * This variable, if defined, holds the name of the directory in
1078 * which the user wants to put architecture-dependent public
1079 * library files for perl5. It is most often a local directory
1080 * such as /usr/local/lib. Programs using this variable must be
1081 * prepared to deal with filename expansion. If ARCHLIB is the
1082 * same as PRIVLIB, it is not defined, since presumably the
1083 * program already searches PRIVLIB.
1086 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1087 * in programs that are not prepared to deal with ~ expansion at run-time.
1089 #define ARCHLIB "/opt/perl/lib/5.5.640/alpha-dec_osf-thread-multi" /**/
1090 #define ARCHLIB_EXP "/opt/perl/lib/5.5.640/alpha-dec_osf-thread-multi" /**/
1093 * This symbol holds a string representing the architecture name.
1094 * It may be used to construct an architecture-dependant pathname
1095 * where library files may be held under a private library, for
1098 #define ARCHNAME "alpha-dec_osf-thread-multi" /**/
1101 * This symbol, if defined, indicates that the atolf routine is
1102 * available to convert strings into long doubles.
1104 /*#define HAS_ATOLF / **/
1107 * This symbol, if defined, indicates that the atoll routine is
1108 * available to convert strings into long longs.
1110 /*#define HAS_ATOLL / **/
1113 * This symbol holds the path of the bin directory where the package will
1114 * be installed. Program must be prepared to deal with ~name substitution.
1117 * This symbol is the filename expanded version of the BIN symbol, for
1118 * programs that do not want to deal with that at run-time.
1120 #define BIN "/opt/perl/bin" /**/
1121 #define BIN_EXP "/opt/perl/bin" /**/
1123 /* PERL_BINCOMPAT_5005:
1124 * This symbol, if defined, indicates that Perl 5.006 should be
1125 * binary-compatible with Perl 5.005. This is impossible for builds
1126 * that use features like threads and multiplicity it is always
1127 * for those versions.
1129 /*#define PERL_BINCOMPAT_5005 / **/
1132 * This symbol holds the hexadecimal constant defined in byteorder,
1133 * i.e. 0x1234 or 0x4321, etc...
1134 * If the compiler supports cross-compiling or multiple-architecture
1135 * binaries (eg. on NeXT systems), use compiler-defined macros to
1136 * determine the byte order.
1137 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1138 * Binaries (MAB) on either big endian or little endian machines.
1139 * The endian-ness is available at compile-time. This only matters
1140 * for perl, where the config.h can be generated and installed on
1141 * one system, and used by a different architecture to build an
1142 * extension. Older versions of NeXT that might not have
1143 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1144 * so the default case (for NeXT) is big endian to catch them.
1145 * This might matter for NeXT 3.0.
1147 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1148 # ifdef __LITTLE_ENDIAN__
1150 # define BYTEORDER 0x1234
1153 # define BYTEORDER 0x12345678
1157 # ifdef __BIG_ENDIAN__
1159 # define BYTEORDER 0x4321
1162 # define BYTEORDER 0x87654321
1167 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1168 # define BYTEORDER 0x4321
1171 #define BYTEORDER 0x12345678 /* large digits for MSB */
1175 * This macro catenates 2 tokens together.
1178 * This macro surrounds its token with double quotes.
1181 #define CAT2(a,b)a/**/b
1182 #define STRINGIFY(a)"a"
1183 /* If you can get stringification with catify, tell me how! */
1186 #define CAT2(a,b)a ## b
1187 #define StGiFy(a)# a
1188 #define STRINGIFY(a)StGiFy(a)
1190 #if 42 != 1 && 42 != 42
1191 #include "Bletch: How does this C preprocessor catenate tokens?"
1195 * This symbol contains the first part of the string which will invoke
1196 * the C preprocessor on the standard input and produce to standard
1197 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1198 * call a wrapper. See CPPRUN.
1201 * This symbol contains the second part of the string which will invoke
1202 * the C preprocessor on the standard input and produce to standard
1203 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1204 * to specify standard input, otherwise the value is "".
1207 * This symbol contains the string which will invoke a C preprocessor on
1208 * the standard input and produce to standard output. It needs to end
1209 * with CPPLAST, after all other preprocessor flags have been specified.
1210 * The main difference with CPPSTDIN is that this program will never be a
1211 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1212 * available directly to the user. Note that it may well be different from
1213 * the preprocessor used to compile the C program.
1216 * This symbol is intended to be used along with CPPRUN in the same manner
1217 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1219 #define CPPSTDIN "cppstdin"
1221 #define CPPRUN "/usr/bin/cpp"
1225 * This manifest constant lets the C program know that the access()
1226 * system call is available to check for accessibility using real UID/GID.
1227 * (always present on UNIX.)
1229 #define HAS_ACCESS /**/
1232 * This symbol is defined if the C compiler can cast negative
1233 * or large floating point numbers to 32-bit ints.
1235 /*#define CASTI32 / **/
1238 * This symbol is defined if the C compiler can cast negative
1239 * numbers to unsigned longs, ints and shorts.
1242 * This symbol contains flags that say what difficulties the compiler
1243 * has casting odd floating values to unsigned long:
1245 * 1 = couldn't cast < 0
1246 * 2 = couldn't cast >= 0x80000000
1247 * 4 = couldn't cast in argument expression list
1249 #define CASTNEGFLOAT /**/
1250 #define CASTFLAGS 0 /**/
1253 * This symbol, if defined, indicates that the closedir() routine
1254 * does not return a value.
1256 /*#define VOID_CLOSEDIR / **/
1259 * This symbol, if defined, indicates that the C-shell exists.
1262 * This symbol, if defined, contains the full pathname of csh.
1264 #define HAS_CSH /**/
1266 #define CSH "/usr/bin/csh" /**/
1269 /* DLSYM_NEEDS_UNDERSCORE:
1270 * This symbol, if defined, indicates that we need to prepend an
1271 * underscore to the symbol name before calling dlsym(). This only
1272 * makes sense if you *have* dlsym, which we will presume is the
1273 * case if you're using dl_dlopen.xs.
1275 /*#define DLSYM_NEEDS_UNDERSCORE / **/
1277 /* HAS_DRAND48_PROTO:
1278 * This symbol, if defined, indicates that the system provides
1279 * a prototype for the drand48() function. Otherwise, it is up
1280 * to the program to supply one. A good guess is
1281 * extern double drand48 _((void));
1283 #define HAS_DRAND48_PROTO /**/
1286 * This symbol, if defined, indicates that the getgrent routine is
1287 * available for finalizing sequential access of the group database.
1289 #define HAS_ENDGRENT /**/
1292 * This symbol, if defined, indicates that the endhostent() routine is
1293 * available to close whatever was being used for host queries.
1295 #define HAS_ENDHOSTENT /**/
1298 * This symbol, if defined, indicates that the endnetent() routine is
1299 * available to close whatever was being used for network queries.
1301 #define HAS_ENDNETENT /**/
1304 * This symbol, if defined, indicates that the endprotoent() routine is
1305 * available to close whatever was being used for protocol queries.
1307 #define HAS_ENDPROTOENT /**/
1310 * This symbol, if defined, indicates that the getgrent routine is
1311 * available for finalizing sequential access of the passwd database.
1313 #define HAS_ENDPWENT /**/
1316 * This symbol, if defined, indicates that the endservent() routine is
1317 * available to close whatever was being used for service queries.
1319 #define HAS_ENDSERVENT /**/
1322 * This symbol, if defined, indicates that the endspent system call is
1323 * available to finalize the scan of SysV shadow password entries.
1325 /*#define HAS_ENDSPENT / **/
1328 * This symbol, when defined, indicates presence of the fd_set typedef
1331 #define HAS_FD_SET /**/
1333 /* HAS_STRUCT_FS_DATA:
1334 * This symbol, if defined, indicates that the struct fs_data
1335 * to do statfs() is supported.
1337 /*#define HAS_STRUCT_FS_DATA / **/
1340 * This symbol, if defined, indicates that the fseeko routine is
1341 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1343 /*#define HAS_FSEEKO / **/
1346 * This symbol, if defined, indicates that the fstatfs routine is
1347 * available to stat filesystems by file descriptors.
1349 #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 getgrent routine is
1375 * available for sequential access of the group database.
1377 #define HAS_GETGRENT /**/
1379 /* HAS_GETHOSTBYADDR:
1380 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1381 * available to look up hosts by their IP addresses.
1383 #define HAS_GETHOSTBYADDR /**/
1385 /* HAS_GETHOSTBYNAME:
1386 * This symbol, if defined, indicates that the gethostbyname() routine is
1387 * available to look up host names in some data base or other.
1389 #define HAS_GETHOSTBYNAME /**/
1392 * This symbol, if defined, indicates that the gethostent() routine is
1393 * available to look up host names in some data base or another.
1395 #define HAS_GETHOSTENT /**/
1398 * This symbol, if defined, indicates that the C program may use the
1399 * gethostname() routine to derive the host name. See also HAS_UNAME
1403 * This symbol, if defined, indicates that the C program may use the
1404 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1408 * This symbol, if defined, indicates the command to feed to the
1409 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1410 * and HAS_UNAME. Note that the command uses a fully qualified path,
1411 * so that it is safe even if used by a process with super-user
1415 * This symbol, if defined, indicates that the C program may use the
1416 * contents of PHOSTNAME as a command to feed to the popen() routine
1417 * to derive the host name.
1419 #define HAS_GETHOSTNAME /**/
1420 #define HAS_UNAME /**/
1421 #undef HAS_PHOSTNAME
1422 #ifdef HAS_PHOSTNAME
1423 #define PHOSTNAME "" /* How to get the host name */
1426 /* HAS_GETHOST_PROTOS:
1427 * This symbol, if defined, indicates that <netdb.h> includes
1428 * prototypes for gethostent(), gethostbyname(), and
1429 * gethostbyaddr(). Otherwise, it is up to the program to guess
1430 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1432 #define HAS_GETHOST_PROTOS /**/
1435 * This symbol, if defined, indicates that the getmnt routine is
1436 * available to get filesystem mount info by filename.
1438 /*#define HAS_GETMNT / **/
1441 * This symbol, if defined, indicates that the getmntent routine is
1442 * available to iterate through mounted file systems to get their info.
1444 /*#define HAS_GETMNTENT / **/
1446 /* HAS_GETNETBYADDR:
1447 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1448 * available to look up networks by their IP addresses.
1450 #define HAS_GETNETBYADDR /**/
1452 /* HAS_GETNETBYNAME:
1453 * This symbol, if defined, indicates that the getnetbyname() routine is
1454 * available to look up networks by their names.
1456 #define HAS_GETNETBYNAME /**/
1459 * This symbol, if defined, indicates that the getnetent() routine is
1460 * available to look up network names in some data base or another.
1462 #define HAS_GETNETENT /**/
1464 /* HAS_GETNET_PROTOS:
1465 * This symbol, if defined, indicates that <netdb.h> includes
1466 * prototypes for getnetent(), getnetbyname(), and
1467 * getnetbyaddr(). Otherwise, it is up to the program to guess
1468 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1470 #define HAS_GETNET_PROTOS /**/
1473 * This symbol, if defined, indicates that the getprotoent() routine is
1474 * available to look up protocols in some data base or another.
1476 #define HAS_GETPROTOENT /**/
1478 /* HAS_GETPROTOBYNAME:
1479 * This symbol, if defined, indicates that the getprotobyname()
1480 * routine is available to look up protocols by their name.
1482 /* HAS_GETPROTOBYNUMBER:
1483 * This symbol, if defined, indicates that the getprotobynumber()
1484 * routine is available to look up protocols by their number.
1486 #define HAS_GETPROTOBYNAME /**/
1487 #define HAS_GETPROTOBYNUMBER /**/
1489 /* HAS_GETPROTO_PROTOS:
1490 * This symbol, if defined, indicates that <netdb.h> includes
1491 * prototypes for getprotoent(), getprotobyname(), and
1492 * getprotobyaddr(). Otherwise, it is up to the program to guess
1493 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1495 #define HAS_GETPROTO_PROTOS /**/
1498 * This symbol, if defined, indicates that the getpwent routine is
1499 * available for sequential access of the passwd database.
1500 * If this is not available, the older getpw() function may be available.
1502 #define HAS_GETPWENT /**/
1505 * This symbol, if defined, indicates that the getservent() routine is
1506 * available to look up network services in some data base or another.
1508 #define HAS_GETSERVENT /**/
1510 /* HAS_GETSERV_PROTOS:
1511 * This symbol, if defined, indicates that <netdb.h> includes
1512 * prototypes for getservent(), getservbyname(), and
1513 * getservbyaddr(). Otherwise, it is up to the program to guess
1514 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1516 #define HAS_GETSERV_PROTOS /**/
1519 * This symbol, if defined, indicates that the getspent system call is
1520 * available to retrieve SysV shadow password entries sequentially.
1522 /*#define HAS_GETSPENT / **/
1525 * This symbol, if defined, indicates that the getspnam system call is
1526 * available to retrieve SysV shadow password entries by name.
1528 /*#define HAS_GETSPNAM / **/
1530 /* HAS_GETSERVBYNAME:
1531 * This symbol, if defined, indicates that the getservbyname()
1532 * routine is available to look up services by their name.
1534 /* HAS_GETSERVBYPORT:
1535 * This symbol, if defined, indicates that the getservbyport()
1536 * routine is available to look up services by their port.
1538 #define HAS_GETSERVBYNAME /**/
1539 #define HAS_GETSERVBYPORT /**/
1542 * This symbol, if defined, indicates to the C program that
1543 * the GNU C library is being used.
1545 /*#define HAS_GNULIBC / **/
1546 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1547 # define _GNU_SOURCE
1550 * This symbol, if defined, indicates that the hasmntopt routine is
1551 * available to query the mount options of file systems.
1553 /*#define HAS_HASMNTOPT / **/
1556 * This symbol, if defined, indicates that the htonl() routine (and
1557 * friends htons() ntohl() ntohs()) are available to do network
1558 * order byte swapping.
1561 * This symbol, if defined, indicates that the htons() routine (and
1562 * friends htonl() ntohl() ntohs()) are available to do network
1563 * order byte swapping.
1566 * This symbol, if defined, indicates that the ntohl() routine (and
1567 * friends htonl() htons() ntohs()) are available to do network
1568 * order byte swapping.
1571 * This symbol, if defined, indicates that the ntohs() routine (and
1572 * friends htonl() htons() ntohl()) are available to do network
1573 * order byte swapping.
1575 #define HAS_HTONL /**/
1576 #define HAS_HTONS /**/
1577 #define HAS_NTOHL /**/
1578 #define HAS_NTOHS /**/
1581 * This manifest constant lets the C program know that isascii
1584 #define HAS_ISASCII /**/
1587 * This symbol, if defined, indicates that the lchown routine is
1588 * available to operate on a symbolic link (instead of following the
1591 #define HAS_LCHOWN /**/
1594 * This symbol, if defined, indicates that this system's <float.h>
1595 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1596 * of significant digits in a long double precision number. Unlike
1597 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1599 #define HAS_LDBL_DIG /* */
1602 * This symbol will be defined if the C compiler supports long
1606 * This symbol contains the size of a long double, so that the
1607 * C preprocessor can make decisions based on it. It is only
1608 * defined if the system supports long doubles.
1610 #define HAS_LONG_DOUBLE /**/
1611 #ifdef HAS_LONG_DOUBLE
1612 #define LONG_DOUBLESIZE 8 /**/
1616 * This symbol will be defined if the C compiler supports long long.
1619 * This symbol contains the size of a long long, so that the
1620 * C preprocessor can make decisions based on it. It is only
1621 * defined if the system supports long long.
1623 #define HAS_LONG_LONG /**/
1624 #ifdef HAS_LONG_LONG
1625 #define LONGLONGSIZE 8 /**/
1629 * This symbol, if defined, indicates that the memchr routine is available
1630 * to locate characters within a C string.
1632 #define HAS_MEMCHR /**/
1635 * This symbol, if defined, indicates that the entire msg*(2) library is
1636 * supported (IPC mechanism based on message queues).
1638 #define HAS_MSG /**/
1641 * This manifest constant lets the C program know that the three
1642 * argument form of open(2) is available.
1644 #define HAS_OPEN3 /**/
1646 /* OLD_PTHREAD_CREATE_JOINABLE:
1647 * This symbol, if defined, indicates how to create pthread
1648 * in joinable (aka undetached) state. NOTE: not defined
1649 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1650 * (the new version of the constant).
1651 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1654 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
1656 /* HAS_PTHREAD_YIELD:
1657 * This symbol, if defined, indicates that the pthread_yield
1658 * routine is available to yield the execution of the current
1659 * thread. sched_yield is preferable to pthread_yield.
1662 * This symbol defines the way to yield the execution of
1663 * the current thread. Known ways are sched_yield,
1664 * pthread_yield, and pthread_yield with NULL.
1667 * This symbol, if defined, indicates that the sched_yield
1668 * routine is available to yield the execution of the current
1669 * thread. sched_yield is preferable to pthread_yield.
1671 /*#define HAS_PTHREAD_YIELD / **/
1672 #define SCHED_YIELD sched_yield() /**/
1673 #define HAS_SCHED_YIELD /**/
1676 * This symbol, if defined, indicates that the bcopy routine is available
1677 * to copy potentially overlapping memory blocks. Otherwise you should
1678 * probably use memmove() or memcpy(). If neither is defined, roll your
1681 #define HAS_SAFE_BCOPY /**/
1684 * This symbol, if defined, indicates that the memcpy routine is available
1685 * to copy potentially overlapping memory blocks. Otherwise you should
1686 * probably use memmove() or memcpy(). If neither is defined, roll your
1689 /*#define HAS_SAFE_MEMCPY / **/
1692 * This symbol, if defined, indicates that the memcmp routine is available
1693 * and can be used to compare relative magnitudes of chars with their high
1694 * bits set. If it is not defined, roll your own version.
1696 #define HAS_SANE_MEMCMP /**/
1699 * This symbol, if defined, indicates that the entire sem*(2) library is
1702 #define HAS_SEM /**/
1705 * This symbol, if defined, indicates that the setgrent routine is
1706 * available for initializing sequential access of the group database.
1708 #define HAS_SETGRENT /**/
1711 * This symbol, if defined, indicates that the setgroups() routine is
1712 * available to set the list of process groups. If unavailable, multiple
1713 * groups are probably not supported.
1715 #define HAS_SETGROUPS /**/
1718 * This symbol, if defined, indicates that the sethostent() routine is
1721 #define HAS_SETHOSTENT /**/
1724 * This symbol, if defined, indicates that the setnetent() routine is
1727 #define HAS_SETNETENT /**/
1730 * This symbol, if defined, indicates that the setprotoent() routine is
1733 #define HAS_SETPROTOENT /**/
1736 * This symbol, if defined, indicates that the setpwent routine is
1737 * available for initializing sequential access of the passwd database.
1739 #define HAS_SETPWENT /**/
1742 * This symbol, if defined, indicates that the setservent() routine is
1745 #define HAS_SETSERVENT /**/
1748 * This symbol, if defined, indicates that the setspent system call is
1749 * available to initialize the scan of SysV shadow password entries.
1751 /*#define HAS_SETSPENT / **/
1754 * This symbol, if defined, indicates that the setvbuf routine is
1755 * available to change buffering on an open stdio stream.
1756 * to a line-buffered mode.
1758 #define HAS_SETVBUF /**/
1761 * This symbol, if defined, indicates that sfio should
1764 /*#define USE_SFIO / **/
1767 * This symbol, if defined, indicates that the entire shm*(2) library is
1770 #define HAS_SHM /**/
1773 * This symbol, if defined, indicates that Vr4's sigaction() routine
1776 #define HAS_SIGACTION /**/
1779 * This variable indicates to the C program that the sigsetjmp()
1780 * routine is available to save the calling process's registers
1781 * and stack environment for later use by siglongjmp(), and
1782 * to optionally save the process's signal mask. See
1783 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1786 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1789 * This macro is used in the same way as sigsetjmp(), but will invoke
1790 * traditional setjmp() if sigsetjmp isn't available.
1791 * See HAS_SIGSETJMP.
1794 * This macro is used in the same way as siglongjmp(), but will invoke
1795 * traditional longjmp() if siglongjmp isn't available.
1796 * See HAS_SIGSETJMP.
1798 #define HAS_SIGSETJMP /**/
1799 #ifdef HAS_SIGSETJMP
1800 #define Sigjmp_buf sigjmp_buf
1801 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1802 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1804 #define Sigjmp_buf jmp_buf
1805 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1806 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1810 * This symbol, if defined, indicates that the BSD socket interface is
1814 * This symbol, if defined, indicates that the BSD socketpair() call is
1818 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1819 * Checking just with #ifdef might not be enough because this symbol
1820 * has been known to be an enum.
1822 /* HAS_MSG_DONTROUTE:
1823 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1824 * Checking just with #ifdef might not be enough because this symbol
1825 * has been known to be an enum.
1828 * This symbol, if defined, indicates that the MSG_OOB is supported.
1829 * Checking just with #ifdef might not be enough because this symbol
1830 * has been known to be an enum.
1833 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1834 * Checking just with #ifdef might not be enough because this symbol
1835 * has been known to be an enum.
1838 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1839 * Checking just with #ifdef might not be enough because this symbol
1840 * has been known to be an enum.
1843 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1844 * Checking just with #ifdef might not be enough because this symbol
1845 * has been known to be an enum.
1847 #define HAS_SOCKET /**/
1848 #define HAS_SOCKETPAIR /**/
1849 #define HAS_MSG_CTRUNC /**/
1850 #define HAS_MSG_DONTROUTE /**/
1851 #define HAS_MSG_OOB /**/
1852 #define HAS_MSG_PEEK /**/
1853 /*#define HAS_MSG_PROXY / **/
1854 #define HAS_SCM_RIGHTS /**/
1857 * This symbol, if defined, indicates that the sqrtl routine is
1858 * available to do long double square roots.
1860 #define HAS_SQRTL /**/
1863 * This symbol is defined if this system has a stat structure declaring
1864 * st_blksize and st_blocks.
1866 #ifndef USE_STAT_BLOCKS
1867 #define USE_STAT_BLOCKS /**/
1870 /* HAS_STRUCT_STATFS_F_FLAGS:
1871 * This symbol, if defined, indicates that the struct statfs
1872 * does have the f_flags member containing the mount flags of
1873 * the filesystem containing the file.
1874 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
1875 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
1876 * have statfs() and struct statfs, they have ustat() and getmnt()
1877 * with struct ustat and struct fs_data.
1879 #define HAS_STRUCT_STATFS_F_FLAGS /**/
1881 /* HAS_STRUCT_STATFS:
1882 * This symbol, if defined, indicates that the struct statfs
1883 * to do statfs() is supported.
1885 #define HAS_STRUCT_STATFS /**/
1888 * This symbol, if defined, indicates that the fstatvfs routine is
1889 * available to stat filesystems by file descriptors.
1891 #define HAS_FSTATVFS /**/
1894 * This symbol is defined if the _ptr and _cnt fields (or similar)
1895 * of the stdio FILE structure can be used to access the stdio buffer
1896 * for a file handle. If this is defined, then the FILE_ptr(fp)
1897 * and FILE_cnt(fp) macros will also be defined and should be used
1898 * to access these fields.
1901 * This macro is used to access the _ptr field (or equivalent) of the
1902 * FILE structure pointed to by its argument. This macro will always be
1903 * defined if USE_STDIO_PTR is defined.
1905 /* STDIO_PTR_LVALUE:
1906 * This symbol is defined if the FILE_ptr macro can be used as an
1910 * This macro is used to access the _cnt field (or equivalent) of the
1911 * FILE structure pointed to by its argument. This macro will always be
1912 * defined if USE_STDIO_PTR is defined.
1914 /* STDIO_CNT_LVALUE:
1915 * This symbol is defined if the FILE_cnt macro can be used as an
1918 #define USE_STDIO_PTR /**/
1919 #ifdef USE_STDIO_PTR
1920 #define FILE_ptr(fp) ((fp)->_ptr)
1921 #define STDIO_PTR_LVALUE /**/
1922 #define FILE_cnt(fp) ((fp)->_cnt)
1923 #define STDIO_CNT_LVALUE /**/
1927 * This symbol is defined if the _base field (or similar) of the
1928 * stdio FILE structure can be used to access the stdio buffer for
1929 * a file handle. If this is defined, then the FILE_base(fp) macro
1930 * will also be defined and should be used to access this field.
1931 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1932 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1933 * will never be defined unless USE_STDIO_PTR is.
1936 * This macro is used to access the _base field (or equivalent) of the
1937 * FILE structure pointed to by its argument. This macro will always be
1938 * defined if USE_STDIO_BASE is defined.
1941 * This macro is used to determine the number of bytes in the I/O
1942 * buffer pointed to by _base field (or equivalent) of the FILE
1943 * structure pointed to its argument. This macro will always be defined
1944 * if USE_STDIO_BASE is defined.
1946 #define USE_STDIO_BASE /**/
1947 #ifdef USE_STDIO_BASE
1948 #define FILE_base(fp) ((fp)->_base)
1949 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1953 * This symbol, if defined, indicates that the strerror routine is
1954 * available to translate error numbers to strings. See the writeup
1955 * of Strerror() in this file before you try to define your own.
1958 * This symbol, if defined, indicates that the sys_errlist array is
1959 * available to translate error numbers to strings. The extern int
1960 * sys_nerr gives the size of that table.
1963 * This preprocessor symbol is defined as a macro if strerror() is
1964 * not available to translate error numbers to strings but sys_errlist[]
1967 #define HAS_STRERROR /**/
1968 #define HAS_SYS_ERRLIST /**/
1969 #define Strerror(e) strerror(e)
1972 * This symbol, if defined, indicates that the strtold routine is
1973 * available to convert strings to long doubles.
1975 /*#define HAS_STRTOLD / **/
1978 * This symbol, if defined, indicates that the strtoll routine is
1979 * available to convert strings to long longs.
1981 /*#define HAS_STRTOLL / **/
1984 * This symbol, if defined, indicates that the strtoull routine is
1985 * available to convert strings to unsigned long longs.
1987 /*#define HAS_STRTOULL / **/
1990 * This symbol, if defined, indicates that the strtouq routine is
1991 * available to convert strings to unsigned long longs (quads).
1993 /*#define HAS_STRTOUQ / **/
1995 /* HAS_TELLDIR_PROTO:
1996 * This symbol, if defined, indicates that the system provides
1997 * a prototype for the telldir() function. Otherwise, it is up
1998 * to the program to supply one. A good guess is
1999 * extern long telldir _((DIR*));
2001 #define HAS_TELLDIR_PROTO /**/
2004 * This symbol holds the type returned by time(). It can be long,
2005 * or time_t on BSD sites (in which case <sys/types.h> should be
2008 #define Time_t time_t /* Time type */
2011 * This symbol, if defined, indicates that the times() routine exists.
2012 * Note that this became obsolete on some systems (SUNOS), which now
2013 * use getrusage(). It may be necessary to include <sys/times.h>.
2015 #define HAS_TIMES /**/
2018 * This symbol, if defined, indicates that the union semun is
2019 * defined by including <sys/sem.h>. If not, the user code
2020 * probably needs to define it as:
2023 * struct semid_ds *buf;
2024 * unsigned short *array;
2027 /* USE_SEMCTL_SEMUN:
2028 * This symbol, if defined, indicates that union semun is
2029 * used for semctl IPC_STAT.
2031 /* USE_SEMCTL_SEMID_DS:
2032 * This symbol, if defined, indicates that struct semid_ds * is
2033 * used for semctl IPC_STAT.
2035 /*#define HAS_UNION_SEMUN / **/
2036 #define USE_SEMCTL_SEMUN /**/
2037 #define USE_SEMCTL_SEMID_DS /**/
2040 * This symbol, if defined, indicates that the ustat system call is
2041 * available to query file system statistics by dev_t.
2043 #define HAS_USTAT /**/
2046 * This symbol, if defined, indicates that vfork() exists.
2048 /*#define HAS_VFORK / **/
2051 * This symbol's value is either "void" or "int", corresponding to the
2052 * appropriate return type of a signal handler. Thus, you can declare
2053 * a signal handler using "Signal_t (*handler)()", and define the
2054 * handler using "Signal_t handler(sig)".
2056 #define Signal_t void /* Signal handler's return type */
2059 * This symbol, if defined, indicates that the vprintf routine is available
2060 * to printf with a pointer to an argument list. If unavailable, you
2061 * may need to write your own, probably in terms of _doprnt().
2063 /* USE_CHAR_VSPRINTF:
2064 * This symbol is defined if this system has vsprintf() returning type
2065 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2066 * is up to the package author to declare vsprintf correctly based on the
2069 #define HAS_VPRINTF /**/
2070 /*#define USE_CHAR_VSPRINTF / **/
2072 /* USE_DYNAMIC_LOADING:
2073 * This symbol, if defined, indicates that dynamic loading of
2074 * some sort is available.
2076 #define USE_DYNAMIC_LOADING /**/
2079 * This symbol contains the size of a double, so that the C preprocessor
2080 * can make decisions based on it.
2082 #define DOUBLESIZE 8 /**/
2085 * This symbol, if defined, indicates that this system uses
2088 /*#define EBCDIC / **/
2091 * This symbol, if defined, tells that fflush(NULL) does flush
2092 * all pending stdio output.
2095 * This symbol, if defined, tells that to flush
2096 * all pending stdio output one must loop through all
2097 * the stdio file handles stored in an array and fflush them.
2098 * Note that if fflushNULL is defined, fflushall will not
2099 * even be probed for and will be left undefined.
2101 #define FFLUSH_NULL /**/
2102 /*#define FFLUSH_ALL / **/
2105 * This symbol holds the type used to declare file positions in libc.
2106 * It can be fpos_t, long, uint, etc... It may be necessary to include
2107 * <sys/types.h> to get any typedef'ed information.
2109 #define Fpos_t fpos_t /* File position type */
2112 * This symbol defines the format string used for printing a Gid_t.
2114 #define Gid_t_f "u" /**/
2117 * This symbol holds the size of a Gid_t in bytes.
2119 #define Gid_t_size 4 /* GID size */
2122 * This symbol holds the return type of getgid() and the type of
2123 * argument to setrgid() and related functions. Typically,
2124 * it is the type of group ids in the kernel. It can be int, ushort,
2125 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2126 * any typedef'ed information.
2128 #define Gid_t gid_t /* Type for getgid(), etc... */
2131 * This symbol holds the type used for the second argument to
2132 * getgroups() and setgropus(). Usually, this is the same as
2133 * gidtype (gid_t) , but sometimes it isn't.
2134 * It can be int, ushort, uid_t, etc...
2135 * It may be necessary to include <sys/types.h> to get any
2136 * typedef'ed information. This is only required if you have
2137 * getgroups() or setgropus()..
2139 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2140 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2144 * This symbol contains the type of the prefix structure element
2145 * in the <db.h> header file. In older versions of DB, it was
2146 * int, while in newer ones it is u_int32_t.
2149 * This symbol contains the type of the prefix structure element
2150 * in the <db.h> header file. In older versions of DB, it was
2151 * int, while in newer ones it is size_t.
2153 #define DB_Hash_t u_int32_t /**/
2154 #define DB_Prefix_t size_t /**/
2157 * This symbol, if defined, indicates to the C program that it should
2161 * This symbol, if defined, indicates to the C program that struct group
2162 * in <grp.h> contains gr_passwd.
2165 #define GRPASSWD /**/
2168 * This symbol, if defined, indicates to the C program that it should
2169 * include <inttypes.h>.
2171 /*#define I_INTTYPES / **/
2174 * This symbol, if defined, indicates to the C program that it should
2175 * include <mach/cthreads.h>.
2177 /*#define I_MACH_CTHREADS / **/
2180 * This symbol, if defined, indicates that <mntent.h> exists and
2181 * should be included.
2183 /*#define I_MNTENT / **/
2186 * This symbol, if defined, indicates that <netdb.h> exists and
2187 * should be included.
2189 #define I_NETDB /**/
2192 * This symbol, if defined, indicates to the C program that it should
2193 * include <netinet/tcp.h>.
2195 #define I_NETINET_TCP /**/
2198 * This symbol, if defined, indicates that <poll.h> exists and
2199 * should be included.
2204 * This symbol, if defined, indicates to the C program that it should
2205 * include <pthread.h>.
2207 #define I_PTHREAD /**/
2210 * This symbol, if defined, indicates to the C program that it should
2214 * This symbol, if defined, indicates to the C program that struct passwd
2215 * contains pw_quota.
2218 * This symbol, if defined, indicates to the C program that struct passwd
2222 * This symbol, if defined, indicates to the C program that struct passwd
2223 * contains pw_change.
2226 * This symbol, if defined, indicates to the C program that struct passwd
2227 * contains pw_class.
2230 * This symbol, if defined, indicates to the C program that struct passwd
2231 * contains pw_expire.
2234 * This symbol, if defined, indicates to the C program that struct passwd
2235 * contains pw_comment.
2238 * This symbol, if defined, indicates to the C program that struct passwd
2239 * contains pw_gecos.
2242 * This symbol, if defined, indicates to the C program that struct passwd
2243 * contains pw_passwd.
2246 #define PWQUOTA /**/
2247 /*#define PWAGE / **/
2248 /*#define PWCHANGE / **/
2249 /*#define PWCLASS / **/
2250 /*#define PWEXPIRE / **/
2251 #define PWCOMMENT /**/
2252 #define PWGECOS /**/
2253 #define PWPASSWD /**/
2256 * This symbol, if defined, indicates that <shadow.h> exists and
2257 * should be included.
2259 /*#define I_SHADOW / **/
2262 * This symbol, if defined, indicates that <socks.h> exists and
2263 * should be included.
2265 /*#define I_SOCKS / **/
2268 * This symbol, if defined, indicates that <sys/mount.h> exists and
2269 * should be included.
2271 #define I_SYS_MOUNT /**/
2274 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2276 /*#define I_SYS_STATFS / **/
2279 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2280 * should be included.
2282 #define I_SYS_STATVFS /**/
2285 * This symbol, if defined, indicates that <sys/uio.h> exists and
2286 * should be included.
2288 #define I_SYSUIO /**/
2291 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2292 * should be included.
2294 /*#define I_SYS_VFS / **/
2297 * This symbol, if defined, indicates to the C program that it should
2301 * This symbol, if defined, indicates to the C program that it should
2302 * include <sys/time.h>.
2304 /* I_SYS_TIME_KERNEL:
2305 * This symbol, if defined, indicates to the C program that it should
2306 * include <sys/time.h> with KERNEL defined.
2308 /*#define I_TIME / **/
2309 #define I_SYS_TIME /**/
2310 /*#define I_SYS_TIME_KERNEL / **/
2313 * This symbol, if defined, indicates that <ustat.h> exists and
2314 * should be included.
2316 #define I_USTAT /**/
2318 /* PERL_INC_VERSION_LIST:
2319 * This variable specifies the list of subdirectories in over
2320 * which perl.c:incpush() and lib/lib.pm will automatically
2321 * search when adding directories to @INC, in a format suitable
2322 * for a C initialization string. See the inc_version_list entry
2323 * in Porting/Glossary for more details.
2325 #define PERL_INC_VERSION_LIST "" /**/
2328 * This symbol will be defined if the C compiler supports off64_t.
2331 * This symbol will be defined if the C compiler supports fpos64_t.
2333 /*#define HAS_OFF64_T / **/
2334 /*#define HAS_FPOS64_T / **/
2337 * This symbol, if defined, contains the string used by stdio to
2338 * format long doubles (format 'f') for output.
2341 * This symbol, if defined, contains the string used by stdio to
2342 * format long doubles (format 'g') for output.
2344 #define PERL_PRIfldbl "f" /**/
2345 #define PERL_PRIgldbl "g" /**/
2348 * This symbol holds the type used to declare offsets in the kernel.
2349 * It can be int, long, off_t, etc... It may be necessary to include
2350 * <sys/types.h> to get any typedef'ed information.
2353 * This symbol holds the number of bytes used by the Off_t.
2356 * This symbol holds the number of bytes used by the Off_t.
2358 #define Off_t off_t /* <offset> type */
2359 #define LSEEKSIZE 8 /* <offset> size */
2360 #define Off_t_size 8 /* <offset> size */
2363 * This variable contains the return type of free(). It is usually
2364 * void, but occasionally int.
2367 * This symbol is the type of pointer returned by malloc and realloc.
2369 #define Malloc_t void * /**/
2370 #define Free_t void /**/
2373 * This symbol, if defined, indicates that we're using our own malloc.
2375 /*#define MYMALLOC / **/
2378 * This symbol holds the type used to declare file modes
2379 * for systems calls. It is usually mode_t, but may be
2380 * int or unsigned short. It may be necessary to include <sys/types.h>
2381 * to get any typedef'ed information.
2383 #define Mode_t mode_t /* file mode parameter for system calls */
2386 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2387 * non-blocking I/O for the file descriptor. Note that there is no way
2388 * back, i.e. you cannot turn it blocking again this way. If you wish to
2389 * alternatively switch between blocking and non-blocking, use the
2390 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2393 * This symbol holds the errno error code set by read() when no data was
2394 * present on the non-blocking file descriptor.
2397 * This symbol holds the return code from read() when no data is present
2398 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2399 * not defined, then you can't distinguish between no data and EOF by
2400 * issuing a read(). You'll have to find another way to tell for sure!
2403 * This symbol, if defined, indicates to the C program that a read() on
2404 * a non-blocking file descriptor will return 0 on EOF, and not the value
2405 * held in RD_NODATA (-1 usually, in that case!).
2407 #define VAL_O_NONBLOCK O_NONBLOCK
2408 #define VAL_EAGAIN EAGAIN
2409 #define RD_NODATA -1
2410 #define EOF_NONBLOCK
2413 * This symbol holds the type used for the 1st argument
2414 * to gethostbyaddr().
2417 * This symbol holds the type used for the 2nd argument
2418 * to gethostbyaddr().
2421 * This symbol holds the type used for the argument to
2425 * This symbol holds the type used for the 1st argument to
2428 #define Netdb_host_t const char * /**/
2429 #define Netdb_hlen_t int /**/
2430 #define Netdb_name_t const char * /**/
2431 #define Netdb_net_t int /**/
2434 * This symbol defines the C type used for Perl's IV.
2437 * This symbol defines the C type used for Perl's UV.
2440 * This symbol defines the C type used for Perl's I8.
2443 * This symbol defines the C type used for Perl's U8.
2446 * This symbol defines the C type used for Perl's I16.
2449 * This symbol defines the C type used for Perl's U16.
2452 * This symbol defines the C type used for Perl's I32.
2455 * This symbol defines the C type used for Perl's U32.
2458 * This symbol defines the C type used for Perl's I64.
2461 * This symbol defines the C type used for Perl's U64.
2464 * This symbol defines the C type used for Perl's NV.
2467 * This symbol contains the sizeof(IV).
2470 * This symbol contains the sizeof(UV).
2473 * This symbol contains the sizeof(I8).
2476 * This symbol contains the sizeof(U8).
2479 * This symbol contains the sizeof(I16).
2482 * This symbol contains the sizeof(U16).
2485 * This symbol contains the sizeof(I32).
2488 * This symbol contains the sizeof(U32).
2491 * This symbol contains the sizeof(I64).
2494 * This symbol contains the sizeof(U64).
2497 * This symbol, if defined, indicates that a variable of type NVTYPE
2498 * can preserve all the bit of a variable of type UVSIZE.
2500 #define IVTYPE long /**/
2501 #define UVTYPE unsigned long /**/
2502 #define I8TYPE char /**/
2503 #define U8TYPE unsigned char /**/
2504 #define I16TYPE short /**/
2505 #define U16TYPE unsigned short /**/
2506 #define I32TYPE int /**/
2507 #define U32TYPE unsigned int /**/
2509 #define I64TYPE long /**/
2510 #define U64TYPE unsigned long /**/
2512 #define NVTYPE double /**/
2513 #define IVSIZE 8 /**/
2514 #define UVSIZE 8 /**/
2515 #define I8SIZE 1 /**/
2516 #define U8SIZE 1 /**/
2517 #define I16SIZE 2 /**/
2518 #define U16SIZE 2 /**/
2519 #define I32SIZE 4 /**/
2520 #define U32SIZE 4 /**/
2522 #define I64SIZE 8 /**/
2523 #define U64SIZE 8 /**/
2525 #undef NV_PRESERVES_UV
2528 * This symbol defines the format string used for printing a Perl IV
2529 * as a signed decimal integer.
2532 * This symbol defines the format string used for printing a Perl UV
2533 * as an unsigned decimal integer.
2536 * This symbol defines the format string used for printing a Perl UV
2537 * as an unsigned octal integer.
2540 * This symbol defines the format string used for printing a Perl UV
2541 * as an unsigned hexadecimal integer.
2543 #define IVdf "ld" /**/
2544 #define UVuf "lu" /**/
2545 #define UVof "lo" /**/
2546 #define UVxf "lx" /**/
2549 * This symbol holds the type used to declare process ids in the kernel.
2550 * It can be int, uint, pid_t, etc... It may be necessary to include
2551 * <sys/types.h> to get any typedef'ed information.
2553 #define Pid_t pid_t /* PID type */
2556 * This symbol contains the name of the private library for this package.
2557 * The library is private in the sense that it needn't be in anyone's
2558 * execution path, but it should be accessible by the world. The program
2559 * should be prepared to do ~ expansion.
2562 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2563 * in programs that are not prepared to deal with ~ expansion at run-time.
2565 #define PRIVLIB "/opt/perl/lib/5.5.640" /**/
2566 #define PRIVLIB_EXP "/opt/perl/lib/5.5.640" /**/
2569 * This symbol contains the size of a pointer, so that the C preprocessor
2570 * can make decisions based on it. It will be sizeof(void *) if
2571 * the compiler supports (void *); otherwise it will be
2574 #define PTRSIZE 8 /**/
2577 * This macro is to be used to generate uniformly distributed
2578 * random numbers over the range [0., 1.[. You may have to supply
2579 * an 'extern double drand48();' in your program since SunOS 4.1.3
2580 * doesn't provide you with anything relevant in it's headers.
2581 * See HAS_DRAND48_PROTO.
2584 * This symbol defines the type of the argument of the
2585 * random seed function.
2588 * This symbol defines the macro to be used in seeding the
2589 * random number generator (see Drand01).
2592 * This symbol indicates how many bits are produced by the
2593 * function used to generate normalized random numbers.
2594 * Values include 15, 16, 31, and 48.
2596 #define Drand01() drand48() /**/
2597 #define Rand_seed_t long /**/
2598 #define seedDrand01(x) srand48((Rand_seed_t)x) /**/
2599 #define RANDBITS 48 /**/
2602 * This symbol holds the minimum number of bits operated by select.
2603 * That is, if you do select(n, ...), how many bits at least will be
2604 * cleared in the masks if some activity is detected. Usually this
2605 * is either n or 32*ceil(n/32), especially many little-endians do
2606 * the latter. This is only useful if you have select(), naturally.
2608 #define SELECT_MIN_BITS 32 /**/
2611 * This symbol holds the type used for the 2nd, 3rd, and 4th
2612 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2613 * is defined, and 'int *' otherwise. This is only useful if you
2614 * have select(), of course.
2616 #define Select_fd_set_t fd_set * /**/
2619 * This symbol contains a list of signal names in order of
2620 * signal number. This is intended
2621 * to be used as a static array initialization, like this:
2622 * char *sig_name[] = { SIG_NAME };
2623 * The signals in the list are separated with commas, and each signal
2624 * is surrounded by double quotes. There is no leading SIG in the signal
2625 * name, i.e. SIGQUIT is known as "QUIT".
2626 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2627 * etc., where nn is the actual signal number (e.g. NUM37).
2628 * The signal number for sig_name[i] is stored in sig_num[i].
2629 * The last element is 0 to terminate the list with a NULL. This
2630 * corresponds to the 0 at the end of the sig_num list.
2633 * This symbol contains a list of signal numbers, in the same order as the
2634 * SIG_NAME list. It is suitable for static array initialization, as in:
2635 * int sig_num[] = { SIG_NUM };
2636 * The signals in the list are separated with commas, and the indices
2637 * within that list and the SIG_NAME list match, so it's easy to compute
2638 * the signal name from a number or vice versa at the price of a small
2639 * dynamic linear lookup.
2640 * Duplicates are allowed, but are moved to the end of the list.
2641 * The signal number corresponding to sig_name[i] is sig_number[i].
2642 * if (i < NSIG) then sig_number[i] == i.
2643 * The last element is 0, corresponding to the 0 at the end of
2644 * the sig_name list.
2646 #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 /**/
2647 #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 /**/
2650 * This symbol contains the name of the private library for this package.
2651 * The library is private in the sense that it needn't be in anyone's
2652 * execution path, but it should be accessible by the world. The program
2653 * should be prepared to do ~ expansion.
2654 * The standard distribution will put nothing in this directory.
2655 * After perl has been installed, users may install their own local
2656 * architecture-dependent modules in this directory with
2657 * MakeMaker Makefile.PL
2658 * or equivalent. See INSTALL for details.
2661 * This symbol contains the ~name expanded version of SITEARCH, to be used
2662 * in programs that are not prepared to deal with ~ expansion at run-time.
2664 #define SITEARCH "/opt/perl/lib/site_perl/5.5.640/alpha-dec_osf-thread-multi" /**/
2665 #define SITEARCH_EXP "/opt/perl/lib/site_perl/5.5.640/alpha-dec_osf-thread-multi" /**/
2668 * This symbol contains the name of the private library for this package.
2669 * The library is private in the sense that it needn't be in anyone's
2670 * execution path, but it should be accessible by the world. The program
2671 * should be prepared to do ~ expansion.
2672 * The standard distribution will put nothing in this directory.
2673 * After perl has been installed, users may install their own local
2674 * architecture-independent modules in this directory with
2675 * MakeMaker Makefile.PL
2676 * or equivalent. See INSTALL for details.
2679 * This symbol contains the ~name expanded version of SITELIB, to be used
2680 * in programs that are not prepared to deal with ~ expansion at run-time.
2682 #define SITELIB "/opt/perl/lib/site_perl/5.5.640" /**/
2683 #define SITELIB_EXP "/opt/perl/lib/site_perl/5.5.640" /**/
2686 * This symbol holds the type used to declare length parameters
2687 * for string functions. It is usually size_t, but may be
2688 * unsigned long, int, etc. It may be necessary to include
2689 * <sys/types.h> to get any typedef'ed information.
2691 #define Size_t size_t /* length paramater for string functions */
2694 * This symbol holds the type used by functions that return
2695 * a count of bytes or an error condition. It must be a signed type.
2696 * It is usually ssize_t, but may be long or int, etc.
2697 * It may be necessary to include <sys/types.h> or <unistd.h>
2698 * to get any typedef'ed information.
2699 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
2701 #define SSize_t ssize_t /* signed count of bytes */
2704 * This variable contains the string to put in front of a perl
2705 * script to make sure (one hopes) that it runs with perl and not
2708 #define STARTPERL "#!/opt/perl/bin/perl" /**/
2710 /* HAS_STDIO_STREAM_ARRAY:
2711 * This symbol, if defined, tells that there is an array
2712 * holding the stdio streams.
2714 /* STDIO_STREAM_ARRAY:
2715 * This symbol tells the name of the array holding the stdio streams.
2716 * Usual values include _iob, __iob, and __sF.
2718 #define HAS_STDIO_STREAM_ARRAY /**/
2719 #define STDIO_STREAM_ARRAY _iob
2722 * This symbol defines the format string used for printing a Uid_t.
2724 #define Uid_t_f "u" /**/
2727 * This symbol holds the size of a Uid_t in bytes.
2729 #define Uid_t_size 4 /* UID size */
2732 * This symbol holds the type used to declare user ids in the kernel.
2733 * It can be int, ushort, uid_t, etc... It may be necessary to include
2734 * <sys/types.h> to get any typedef'ed information.
2736 #define Uid_t uid_t /* UID type */
2739 * This symbol, if defined, indicates that 64-bit integers should
2740 * be used when available. If not defined, the native integers
2741 * will be used (be they 32 or 64 bits).
2744 #define USE_64_BITS /**/
2748 * This symbol, if defined, indicates that large file support
2749 * should be used when available. The USE_64_BITS symbol will
2750 * also be turned on if necessary.
2752 #ifndef USE_LARGE_FILES
2753 #define USE_LARGE_FILES /**/
2757 * This symbol, if defined, indicates that long doubles should
2758 * be used when available.
2760 #ifndef USE_LONG_DOUBLE
2761 /*#define USE_LONG_DOUBLE / **/
2765 * This symbol, if defined, indicates that long longs should
2766 * be used when available.
2768 #ifndef USE_LONG_LONG
2769 /*#define USE_LONG_LONG / **/
2773 * This symbol, if defined, indicates that 64-bit interfaces and
2774 * long doubles should be used when available.
2776 #ifndef USE_MORE_BITS
2777 /*#define USE_MORE_BITS / **/
2781 * This symbol, if defined, indicates that Perl should
2782 * be built to use multiplicity.
2785 #define MULTIPLICITY /**/
2789 * This symbol, if defined, indicates that the PerlIO abstraction should
2790 * be used throughout. If not defined, stdio should be
2791 * used in a fully backward compatible manner.
2794 /*#define USE_PERLIO / **/
2798 * This symbol, if defined, indicates that Perl should
2799 * be built to use socks.
2802 /*#define USE_SOCKS / **/
2806 * This symbol, if defined, indicates that Perl should be built to
2807 * use the interpreter-based threading implementation.
2810 * This symbol, if defined, indicates that Perl should be built to
2811 * use the 5.005-based threading implementation.
2813 /* OLD_PTHREADS_API:
2814 * This symbol, if defined, indicates that Perl should
2815 * be built to use the old draft POSIX threads API.
2817 /*#define USE_5005THREADS / **/
2818 #define USE_ITHREADS /**/
2819 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2820 #define USE_THREADS /* until src is revised*/
2822 /*#define OLD_PTHREADS_API / **/
2824 /* PERL_VENDORLIB_EXP:
2825 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2826 * in programs that are not prepared to deal with ~ expansion at run-time.
2828 /*#define PERL_VENDORLIB_EXP "" / **/
2831 * This symbol indicates how much support of the void type is given by this
2832 * compiler. What various bits mean:
2834 * 1 = supports declaration of void
2835 * 2 = supports arrays of pointers to functions returning void
2836 * 4 = supports comparisons between pointers to void functions and
2837 * addresses of void functions
2838 * 8 = suports declaration of generic void pointers
2840 * The package designer should define VOIDUSED to indicate the requirements
2841 * of the package. This can be done either by #defining VOIDUSED before
2842 * including config.h, or by defining defvoidused in Myinit.U. If the
2843 * latter approach is taken, only those flags will be tested. If the
2844 * level of void support necessary is not present, defines void to int.
2849 #define VOIDFLAGS 15
2850 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2851 #define void int /* is void to be avoided? */
2852 #define M_VOID /* Xenix strikes again */