2 * This file was produced by running the config_h.SH script, which
3 * gets its values from config.sh, which is generally produced by
6 * Feel free to modify any of this as the need arises. Note, however,
7 * that running config_h.SH again will wipe out any changes you've made.
8 * For a more permanent change edit config.sh and rerun config_h.SH.
10 * $Id: Config_h.U,v 3.0.1.4 1995/09/25 09:10:49 ram Exp $
13 /* Configuration time: Thu Apr 11 06:20:49 PDT 1996
14 * Configured by: garyng
22 * This symbol contains the number of bytes required to align a
23 * double. Usual values are 2, 4 and 8.
24 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
25 * Binaries (MAB) for targets with varying alignment. This only matters
26 * for perl, where the config.h can be generated and installed on one
27 * system, and used by a different architecture to build an extension.
28 * The default is eight, for safety.
31 #define MEM_ALIGNBYTES 8 /**/
34 #define MEM_ALIGNBYTES 2
37 #define MEM_ALIGNBYTES 4
38 #else /* __hppa__, __sparc__ and default for unknown architectures */
39 #define MEM_ALIGNBYTES 8
45 * This symbol holds a string representing the architecture name.
46 * It may be used to construct an architecture-dependant pathname
47 * where library files may be held under a private library, for
50 #define ARCHNAME "MSWin32" /**/
53 * This symbol holds the path of the bin directory where the package will
54 * be installed. Program must be prepared to deal with ~name substitution.
57 * This symbol is the filename expanded version of the BIN symbol, for
58 * programs that do not want to deal with that at run-time.
60 #define BIN "c:\\perl\\bin" /**/
61 #define BIN_EXP "c:\\perl\\bin" /**/
64 * This macro catenates 2 tokens together.
67 * This macro surrounds its token with double quotes.
70 #define CAT2(a,b)a/**/b
71 #define CAT3(a,b,c)a/**/b/**/c
72 #define CAT4(a,b,c,d)a/**/b/**/c/**/d
73 #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
74 #define STRINGIFY(a)"a"
75 /* If you can get stringification with catify, tell me how! */
78 #define CAT2(a,b)a ## b
79 #define CAT3(a,b,c)a ## b ## c
80 #define CAT4(a,b,c,d)a ## b ## c ## d
81 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
83 #define STRINGIFY(a)StGiFy(a)
84 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
85 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
86 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
87 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
90 #include "Bletch: How does this C preprocessor catenate tokens?"
94 * This symbol contains the first part of the string which will invoke
95 * the C preprocessor on the standard input and produce to standard
96 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
97 * call a wrapper. See CPPRUN.
100 * This symbol contains the second part of the string which will invoke
101 * the C preprocessor on the standard input and produce to standard
102 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
103 * to specify standard input, otherwise the value is "".
109 * This symbol, if defined, indicates that the alarm routine is
112 /*#define HAS_ALARM /**/
115 * This symbol indicates the C compiler can check for function attributes,
116 * such as printf formats. This is normally only supported by GNU cc.
118 /*#define HASATTRIBUTE /**/
120 #define __attribute__(_arg_)
124 * This symbol is defined if the bcmp() routine is available to
125 * compare blocks of memory.
127 /*#define HAS_BCMP /**/
130 * This symbol is defined if the bcopy() routine is available to
131 * copy blocks of memory.
133 /*#define HAS_BCOPY /**/
136 * This symbol is defined if the bzero() routine is available to
137 * set a memory block to 0.
139 /*#define HAS_BZERO /**/
142 * This symbol is defined if the C compiler can cast negative
143 * or large floating point numbers to 32-bit ints.
148 * This symbol is defined if the C compiler can cast negative
149 * numbers to unsigned longs, ints and shorts.
152 * This symbol contains flags that say what difficulties the compiler
153 * has casting odd floating values to unsigned long:
155 * 1 = couldn't cast < 0
156 * 2 = couldn't cast >= 0x80000000
157 * 4 = couldn't cast in argument expression list
159 #define CASTNEGFLOAT /**/
160 #define CASTFLAGS 0 /**/
163 * This symbol, if defined, indicates that the chown routine is
166 /*#define HAS_CHOWN /**/
169 * This symbol, if defined, indicates that the chroot routine is
172 /*#define HAS_CHROOT /**/
175 * This symbol, if defined, indicates that the chsize routine is available
176 * to truncate files. You might need a -lx to get this routine.
178 #define HAS_CHSIZE /**/
181 * This symbol, if defined, indicates that the closedir() routine
182 * does not return a value.
184 /*#define VOID_CLOSEDIR /**/
187 * This symbol, if defined, indicates that this C compiler knows about
188 * the const type. There is no need to actually test for that symbol
189 * within your programs. The mere use of the "const" keyword will
190 * trigger the necessary tests.
192 #define HASCONST /**/
198 * This symbol, if defined, indicates that the crypt routine is available
199 * to encrypt passwords and the like.
201 /*#define HAS_CRYPT /**/
204 * This symbol, if defined, indicates that the cuserid routine is
205 * available to get character login names.
207 /*#define HAS_CUSERID /**/
210 * This symbol, if defined, indicates that this system's <float.h>
211 * or <limits.h> defines the symbol DBL_DIG, which is the number
212 * of significant digits in a double precision number. If this
213 * symbol is not defined, a guess of 15 is usually pretty good.
215 #define HAS_DBL_DIG /**/
218 * This symbol, if defined, indicates that the difftime routine is
221 #define HAS_DIFFTIME /**/
224 * This symbol, if defined, indicates that the dlerror routine is
225 * available to return a string describing the last error that
226 * occurred from a call to dlopen(), dlclose() or dlsym().
228 #define HAS_DLERROR /**/
231 * This symbol, if defined, indicates that the dup2 routine is
232 * available to duplicate file descriptors.
234 #define HAS_DUP2 /**/
237 * This symbol, if defined, indicates that the fchmod routine is available
238 * to change mode of opened files. If unavailable, use chmod().
240 /*#define HAS_FCHMOD /**/
243 * This symbol, if defined, indicates that the fchown routine is available
244 * to change ownership of opened files. If unavailable, use chown().
246 /*#define HAS_FCHOWN /**/
249 * This symbol, if defined, indicates to the C program that
250 * the fcntl() function exists.
252 /*#define HAS_FCNTL /**/
255 * This symbol, if defined, indicates that the fgetpos routine is
256 * available to get the file position indicator, similar to ftell().
258 #define HAS_FGETPOS /**/
261 * This symbol, if defined, indicates that the system supports filenames
262 * longer than 14 characters.
264 #define FLEXFILENAMES /**/
267 * This symbol, if defined, indicates that the flock routine is
268 * available to do file locking.
270 #define HAS_FLOCK /**/
273 * This symbol, if defined, indicates that the fork routine is
276 /*#define HAS_FORK /**/
279 * This symbol, if defined, indicates that the fsetpos routine is
280 * available to set the file position indicator, similar to fseek().
282 #define HAS_FSETPOS /**/
285 * This symbol, if defined, indicates that the gettimeofday() system
286 * call is available for a sub-second accuracy clock. Usually, the file
287 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
288 * The type "Timeval" should be used to refer to "struct timeval".
290 /*#define HAS_GETTIMEOFDAY /**/
291 #ifdef HAS_GETTIMEOFDAY
292 #define Timeval struct timeval /* Structure used by gettimeofday() */
296 * This symbol, if defined, indicates that the getgroups() routine is
297 * available to get the list of process groups. If unavailable, multiple
298 * groups are probably not supported.
301 * This symbol, if defined, indicates that the setgroups() routine is
302 * available to set the list of process groups. If unavailable, multiple
303 * groups are probably not supported.
305 /*#define HAS_GETGROUPS /**/
306 /*#define HAS_SETGROUPS /**/
309 * This symbol, if defined, indicates that the gethostent routine is
310 * available to lookup host names in some data base or other.
312 /*#define HAS_GETHOSTENT /**/
315 * This symbol, if defined, indicates that the C program may use the
316 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
319 /*#define HAS_UNAME /**/
322 * This symbol, if defined, indicates that the getlogin routine is
323 * available to get the login name.
325 /*#define HAS_GETLOGIN /**/
328 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
329 * routine is available to get the current process group.
331 /*#define HAS_GETPGRP2 /**/
334 * This symbol, if defined, indicates that the getppid routine is
335 * available to get the parent process ID.
337 /*#define HAS_GETPPID /**/
340 * This symbol, if defined, indicates that the getpriority routine is
341 * available to get a process's priority.
343 /*#define HAS_GETPRIORITY /**/
346 * This symbol, if defined, indicates that the htonl() routine (and
347 * friends htons() ntohl() ntohs()) are available to do network
348 * order byte swapping.
351 * This symbol, if defined, indicates that the htons() routine (and
352 * friends htonl() ntohl() ntohs()) are available to do network
353 * order byte swapping.
356 * This symbol, if defined, indicates that the ntohl() routine (and
357 * friends htonl() htons() ntohs()) are available to do network
358 * order byte swapping.
361 * This symbol, if defined, indicates that the ntohs() routine (and
362 * friends htonl() htons() ntohl()) are available to do network
363 * order byte swapping.
365 #define HAS_HTONL /**/
366 #define HAS_HTONS /**/
367 #define HAS_NTOHL /**/
368 #define HAS_NTOHS /**/
371 * This manifest constant lets the C program know that isascii
374 #define HAS_ISASCII /**/
377 * This symbol, if defined, indicates that the killpg routine is available
378 * to kill process groups. If unavailable, you probably should use kill
379 * with a negative process number.
381 /*#define HAS_KILLPG /**/
384 * This symbol, if defined, indicates that the link routine is
385 * available to create hard links.
387 /*#define HAS_LINK /**/
390 * This symbol, if defined, indicates that the localeconv routine is
391 * available for numeric and monetary formatting conventions.
393 #define HAS_LOCALECONV /**/
396 * This symbol, if defined, indicates that the lockf routine is
397 * available to do file locking.
399 /*#define HAS_LOCKF /**/
402 * This symbol, if defined, indicates that the lstat routine is
403 * available to do file stats on symbolic links.
405 /*#define HAS_LSTAT /**/
408 * This symbol, if defined, indicates that the mblen routine is available
409 * to find the number of bytes in a multibye character.
411 #define HAS_MBLEN /**/
414 * This symbol, if defined, indicates that the mbstowcs routine is
415 * available to covert a multibyte string into a wide character string.
417 #define HAS_MBSTOWCS /**/
420 * This symbol, if defined, indicates that the mbtowc routine is available
421 * to covert a multibyte to a wide character.
423 #define HAS_MBTOWC /**/
426 * This symbol, if defined, indicates that the memcmp routine is available
427 * to compare blocks of memory.
429 #define HAS_MEMCMP /**/
432 * This symbol, if defined, indicates that the memcpy routine is available
433 * to copy blocks of memory.
435 #define HAS_MEMCPY /**/
438 * This symbol, if defined, indicates that the memmove routine is available
439 * to copy potentially overlapping blocks of memory. This should be used
440 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
443 #define HAS_MEMMOVE /**/
446 * This symbol, if defined, indicates that the memset routine is available
447 * to set blocks of memory.
449 #define HAS_MEMSET /**/
452 * This symbol, if defined, indicates that the mkdir routine is available
453 * to create directories. Otherwise you should fork off a new process to
456 #define HAS_MKDIR /**/
459 * This symbol, if defined, indicates that the mkfifo routine is
460 * available to create FIFOs. Otherwise, mknod should be able to
461 * do it for you. However, if mkfifo is there, mknod might require
462 * super-user privileges which mkfifo will not.
464 /*#define HAS_MKFIFO /**/
467 * This symbol, if defined, indicates that the mktime routine is
470 #define HAS_MKTIME /**/
473 * This symbol, if defined, indicates that the entire msg*(2) library is
474 * supported (IPC mechanism based on message queues).
476 /*#define HAS_MSG /**/
479 * This symbol, if defined, indicates that the nice routine is
482 /*#define HAS_NICE /**/
485 * This manifest constant lets the C program know that the three
486 * argument form of open(2) is available.
488 /*#define HAS_OPEN3 /**/
491 * This symbol, if defined, indicates that pathconf() is available
492 * to determine file-system related limits and options associated
493 * with a given filename.
496 * This symbol, if defined, indicates that pathconf() is available
497 * to determine file-system related limits and options associated
498 * with a given open file descriptor.
500 /*#define HAS_PATHCONF /**/
501 /*#define HAS_FPATHCONF /**/
504 * This symbol, if defined, indicates that the pause routine is
505 * available to suspend a process until a signal is received.
507 #define HAS_PAUSE /**/
510 * This symbol, if defined, indicates that the pipe routine is
511 * available to create an inter-process channel.
513 #define HAS_PIPE /**/
516 * This symbol, if defined, indicates that the poll routine is
517 * available to poll active file descriptors.
519 /*#define HAS_POLL /**/
522 * This symbol, if defined, indicates that the readdir routine is
523 * available to read directory entries. You may have to include
524 * <dirent.h>. See I_DIRENT.
526 #define HAS_READDIR /**/
529 * This symbol, if defined, indicates that the seekdir routine is
530 * available. You may have to include <dirent.h>. See I_DIRENT.
532 #define HAS_SEEKDIR /**/
535 * This symbol, if defined, indicates that the telldir routine is
536 * available. You may have to include <dirent.h>. See I_DIRENT.
538 #define HAS_TELLDIR /**/
541 * This symbol, if defined, indicates that the rewinddir routine is
542 * available. You may have to include <dirent.h>. See I_DIRENT.
544 #define HAS_REWINDDIR /**/
547 * This symbol, if defined, indicates that the readlink routine is
548 * available to read the value of a symbolic link.
550 /*#define HAS_READLINK /**/
553 * This symbol, if defined, indicates that the rename routine is available
554 * to rename files. Otherwise you should do the unlink(), link(), unlink()
557 #define HAS_RENAME /**/
560 * This symbol, if defined, indicates that the rmdir routine is
561 * available to remove directories. Otherwise you should fork off a
562 * new process to exec /bin/rmdir.
564 #define HAS_RMDIR /**/
567 * This symbol, if defined, indicates that the bcopy routine is available
568 * to copy potentially overlapping memory blocks. Otherwise you should
569 * probably use memmove() or memcpy(). If neither is defined, roll your
572 /*#define HAS_SAFE_BCOPY /**/
575 * This symbol, if defined, indicates that the memcpy routine is available
576 * to copy potentially overlapping memory blocks. Otherwise you should
577 * probably use memmove() or memcpy(). If neither is defined, roll your
580 /*#define HAS_SAFE_MEMCPY /**/
583 * This symbol, if defined, indicates that the memcmp routine is available
584 * and can be used to compare relative magnitudes of chars with their high
585 * bits set. If it is not defined, roll your own version.
587 #define HAS_SANE_MEMCMP /**/
590 * This symbol, if defined, indicates that the select routine is
591 * available to select active file descriptors. If the timeout field
592 * is used, <sys/time.h> may need to be included.
594 #define HAS_SELECT /**/
597 * This symbol, if defined, indicates that the entire sem*(2) library is
600 /*#define HAS_SEM /**/
603 * This symbol, if defined, indicates that the setegid routine is available
604 * to change the effective gid of the current program.
606 /*#define HAS_SETEGID /**/
609 * This symbol, if defined, indicates that the seteuid routine is available
610 * to change the effective uid of the current program.
612 /*#define HAS_SETEUID /**/
615 * This symbol, if defined, indicates that the setlinebuf routine is
616 * available to change stderr or stdout from block-buffered or unbuffered
617 * to a line-buffered mode.
619 /*#define HAS_SETLINEBUF /**/
622 * This symbol, if defined, indicates that the setlocale routine is
623 * available to handle locale-specific ctype implementations.
625 #define HAS_SETLOCALE /**/
628 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
629 * routine is available to set the current process group.
631 /*#define HAS_SETPGRP2 /**/
634 * This symbol, if defined, indicates that the setpriority routine is
635 * available to set a process's priority.
637 /*#define HAS_SETPRIORITY /**/
640 * This symbol, if defined, indicates that the setregid routine is
641 * available to change the real and effective gid of the current
645 * This symbol, if defined, indicates that the setresgid routine is
646 * available to change the real, effective and saved gid of the current
649 /*#define HAS_SETREGID /**/
650 /*#define HAS_SETRESGID /**/
653 * This symbol, if defined, indicates that the setreuid routine is
654 * available to change the real and effective uid of the current
658 * This symbol, if defined, indicates that the setresuid routine is
659 * available to change the real, effective and saved uid of the current
662 /*#define HAS_SETREUID /**/
663 /*#define HAS_SETRESUID /**/
666 * This symbol, if defined, indicates that the setrgid routine is available
667 * to change the real gid of the current program.
669 /*#define HAS_SETRGID /**/
672 * This symbol, if defined, indicates that the setruid routine is available
673 * to change the real uid of the current program.
675 /*#define HAS_SETRUID /**/
678 * This symbol, if defined, indicates that the setsid routine is
679 * available to set the process group ID.
681 /*#define HAS_SETSID /**/
684 * This symbol, if defined, indicates that the entire shm*(2) library is
687 /*#define HAS_SHM /**/
690 * This symbol holds the return type of the shmat() system call.
691 * Usually set to 'void *' or 'char *'.
693 /* HAS_SHMAT_PROTOTYPE:
694 * This symbol, if defined, indicates that the sys/shm.h includes
695 * a prototype for shmat(). Otherwise, it is up to the program to
696 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
697 * but not always right so it should be emitted by the program only
698 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
700 #define Shmat_t void * /**/
701 /*#define HAS_SHMAT_PROTOTYPE /**/
704 * This symbol, if defined, indicates that Vr4's sigaction() routine
707 /*#define HAS_SIGACTION /**/
710 * This symbol, if defined, indicates that the BSD socket interface is
714 * This symbol, if defined, indicates that the BSD socketpair() call is
717 #define HAS_SOCKET /**/
718 /*#define HAS_SOCKETPAIR /**/
721 * This symbol is defined if this system has a stat structure declaring
722 * st_blksize and st_blocks.
724 /*#define USE_STAT_BLOCKS /**/
727 * This symbol is defined if the _ptr and _cnt fields (or similar)
728 * of the stdio FILE structure can be used to access the stdio buffer
729 * for a file handle. If this is defined, then the FILE_ptr(fp)
730 * and FILE_cnt(fp) macros will also be defined and should be used
731 * to access these fields.
734 * This macro is used to access the _ptr field (or equivalent) of the
735 * FILE structure pointed to by its argument. This macro will always be
736 * defined if USE_STDIO_PTR is defined.
739 * This symbol is defined if the FILE_ptr macro can be used as an
743 * This macro is used to access the _cnt field (or equivalent) of the
744 * FILE structure pointed to by its argument. This macro will always be
745 * defined if USE_STDIO_PTR is defined.
748 * This symbol is defined if the FILE_cnt macro can be used as an
751 #define USE_STDIO_PTR /**/
753 #define FILE_ptr(fp) ((fp)->curp)
754 #define STDIO_PTR_LVALUE /**/
755 #define FILE_cnt(fp) ((fp)->level)
756 #define STDIO_CNT_LVALUE /**/
760 * This symbol is defined if the _base field (or similar) of the
761 * stdio FILE structure can be used to access the stdio buffer for
762 * a file handle. If this is defined, then the FILE_base(fp) macro
763 * will also be defined and should be used to access this field.
764 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
765 * to determine the number of bytes in the buffer. USE_STDIO_BASE
766 * will never be defined unless USE_STDIO_PTR is.
769 * This macro is used to access the _base field (or equivalent) of the
770 * FILE structure pointed to by its argument. This macro will always be
771 * defined if USE_STDIO_BASE is defined.
774 * This macro is used to determine the number of bytes in the I/O
775 * buffer pointed to by _base field (or equivalent) of the FILE
776 * structure pointed to its argument. This macro will always be defined
777 * if USE_STDIO_BASE is defined.
779 #define USE_STDIO_BASE /**/
780 #ifdef USE_STDIO_BASE
781 #define FILE_base(fp) ((fp)->buffer)
782 #define FILE_bufsiz(fp) ((fp)->level + (fp)->curp - (fp)->buffer)
786 * This symbol is defined to indicate that the strchr()/strrchr()
787 * functions are available for string searching. If not, try the
788 * index()/rindex() pair.
791 * This symbol is defined to indicate that the index()/rindex()
792 * functions are available for string searching.
794 #define HAS_STRCHR /**/
795 /*#define HAS_INDEX /**/
798 * This symbol, if defined, indicates that the strcoll routine is
799 * available to compare strings using collating information.
801 #define HAS_STRCOLL /**/
804 * This symbol, if defined, indicates that this C compiler knows how
805 * to copy structures. If undefined, you'll need to use a block copy
806 * routine of some sort instead.
808 #define USE_STRUCT_COPY /**/
811 * This symbol, if defined, indicates that the strerror routine is
812 * available to translate error numbers to strings. See the writeup
813 * of Strerror() in this file before you try to define your own.
816 * This symbol, if defined, indicates that the sys_errlist array is
817 * available to translate error numbers to strings. The extern int
818 * sys_nerr gives the size of that table.
821 * This preprocessor symbol is defined as a macro if strerror() is
822 * not available to translate error numbers to strings but sys_errlist[]
825 #define HAS_STRERROR /**/
826 #define HAS_SYS_ERRLIST /**/
827 #define Strerror(e) strerror(e)
830 * This symbol, if defined, indicates that the strtod routine is
831 * available to provide better numeric string conversion than atof().
833 #define HAS_STRTOD /**/
836 * This symbol, if defined, indicates that the strtol routine is available
837 * to provide better numeric string conversion than atoi() and friends.
839 #define HAS_STRTOL /**/
842 * This symbol, if defined, indicates that the strtoul routine is
843 * available to provide conversion of strings to unsigned long.
845 #define HAS_STRTOUL /**/
848 * This symbol, if defined, indicates that the strxfrm() routine is
849 * available to transform strings.
851 #define HAS_STRXFRM /**/
854 * This symbol, if defined, indicates that the symlink routine is available
855 * to create symbolic links.
857 /*#define HAS_SYMLINK /**/
860 * This symbol, if defined, indicates that the syscall routine is
861 * available to call arbitrary system calls. If undefined, that's tough.
863 /*#define HAS_SYSCALL /**/
866 * This symbol, if defined, indicates that sysconf() is available
867 * to determine system related limits and options.
869 /*#define HAS_SYSCONF /**/
872 * This symbol, if defined, indicates that the system routine is
873 * available to issue a shell command.
875 #define HAS_SYSTEM /**/
878 * This symbol, if defined, indicates that the tcgetpgrp routine is
879 * available to get foreground process group ID.
881 /*#define HAS_TCGETPGRP /**/
884 * This symbol, if defined, indicates that the tcsetpgrp routine is
885 * available to set foreground process group ID.
887 /*#define HAS_TCSETPGRP /**/
890 * This symbol holds the type returned by time(). It can be long,
891 * or time_t on BSD sites (in which case <sys/types.h> should be
894 #define Time_t time_t /* Time type */
897 * This symbol, if defined, indicates that the times() routine exists.
898 * Note that this became obsolete on some systems (SUNOS), which now
899 * use getrusage(). It may be necessary to include <sys/times.h>.
901 #define HAS_TIMES /**/
904 * This symbol, if defined, indicates that the truncate routine is
905 * available to truncate files.
907 /*#define HAS_TRUNCATE /**/
910 * This symbol, if defined, indicates that the tzname[] array is
911 * available to access timezone names.
913 #define HAS_TZNAME /**/
916 * This symbol, if defined, indicates that the umask routine is
917 * available to set and get the value of the file creation mask.
919 #define HAS_UMASK /**/
922 * This symbol, if defined, indicates that vfork() exists.
924 /*#define HAS_VFORK /**/
927 * This symbol's value is either "void" or "int", corresponding to the
928 * appropriate return type of a signal handler. Thus, you can declare
929 * a signal handler using "Signal_t (*handler)()", and define the
930 * handler using "Signal_t handler(sig)".
932 #define Signal_t void /* Signal handler's return type */
935 * This symbol, if defined, indicates that this C compiler knows about
936 * the volatile declaration.
938 #define HASVOLATILE /**/
944 * This symbol, if defined, indicates that the vprintf routine is available
945 * to printf with a pointer to an argument list. If unavailable, you
946 * may need to write your own, probably in terms of _doprnt().
948 /* USE_CHAR_VSPRINTF:
949 * This symbol is defined if this system has vsprintf() returning type
950 * (char*). The trend seems to be to declare it as "int vsprintf()". It
951 * is up to the package author to declare vsprintf correctly based on the
954 #define HAS_VPRINTF /**/
955 /*#define USE_CHAR_VSPRINTF /**/
958 * This symbol, if defined, indicates that wait4() exists.
960 /*#define HAS_WAIT4 /**/
963 * This symbol, if defined, indicates that the waitpid routine is
964 * available to wait for child process.
966 /*#define HAS_WAITPID /**/
969 * This symbol, if defined, indicates that the wcstombs routine is
970 * available to convert wide character strings to multibyte strings.
972 #define HAS_WCSTOMBS /**/
975 * This symbol, if defined, indicates that the wctomb routine is available
976 * to covert a wide character to a multibyte.
978 #define HAS_WCTOMB /**/
981 * This symbol holds the type used to declare file positions in libc.
982 * It can be fpos_t, long, uint, etc... It may be necessary to include
983 * <sys/types.h> to get any typedef'ed information.
985 #define Fpos_t fpos_t /* File position type */
988 * This symbol holds the return type of getgid() and the type of
989 * argument to setrgid() and related functions. Typically,
990 * it is the type of group ids in the kernel. It can be int, ushort,
991 * uid_t, etc... It may be necessary to include <sys/types.h> to get
992 * any typedef'ed information.
994 #define Gid_t gid_t /* Type for getgid(), etc... */
997 * This symbol holds the type used for the second argument to
998 * [gs]etgroups(). Usually, this is the same of gidtype, but
999 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1000 * It may be necessary to include <sys/types.h> to get any
1001 * typedef'ed information. This is only required if you have
1002 * getgroups() or setgroups().
1004 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1005 #define Groups_t gid_t /* Type for 2nd arg to [gs]etgroups() */
1009 * This symbol contains the type of the prefix structure element
1010 * in the <db.h> header file. In older versions of DB, it was
1011 * int, while in newer ones it is u_int32_t.
1014 * This symbol contains the type of the prefix structure element
1015 * in the <db.h> header file. In older versions of DB, it was
1016 * int, while in newer ones it is size_t.
1018 #define DB_Hash_t int /**/
1019 #define DB_Prefix_t int /**/
1022 * This symbol, if defined, indicates to the C program that it should
1023 * include <dirent.h>. Using this symbol also triggers the definition
1024 * of the Direntry_t define which ends up being 'struct dirent' or
1025 * 'struct direct' depending on the availability of <dirent.h>.
1028 * This symbol, if defined, indicates to the C program that the length
1029 * of directory entry names is provided by a d_namlen field. Otherwise
1030 * you need to do strlen() on the d_name field.
1033 * This symbol is set to 'struct direct' or 'struct dirent' depending on
1034 * whether dirent is available or not. You should use this pseudo type to
1035 * portably declare your directory entries.
1037 #define I_DIRENT /**/
1038 #define DIRNAMLEN /**/
1039 #define Direntry_t struct direct
1042 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1045 #define I_DLFCN /**/
1048 * This manifest constant tells the C program to include <fcntl.h>.
1050 #define I_FCNTL /**/
1053 * This symbol, if defined, indicates to the C program that it should
1054 * include <float.h> to get definition of symbols like DBL_MAX or
1055 * DBL_MIN, i.e. machine dependent floating point values.
1057 #define I_FLOAT /**/
1060 * This symbol, if defined, indicates to the C program that it should
1066 * This symbol, if defined, indicates to the C program that it should
1067 * include <limits.h> to get definition of symbols like WORD_BIT or
1068 * LONG_MAX, i.e. machine dependant limitations.
1070 #define I_LIMITS /**/
1073 * This symbol, if defined, indicates to the C program that it should
1079 * This symbol, if defined, indicates to the C program that it should
1080 * include <memory.h>.
1082 /*#define I_MEMORY /**/
1085 * This symbol, if defined, indicates that <ndbm.h> exists and should
1088 /*#define I_NDBM /**/
1091 * This symbol, if defined, indicates that <net/errno.h> exists and
1092 * should be included.
1094 /*#define I_NET_ERRNO /**/
1097 * This symbol, if defined, indicates to the C program that it should
1098 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1100 /*#define I_NETINET_IN /**/
1103 * This symbol, if defined, indicates to the C program that it should
1107 * This symbol, if defined, indicates to the C program that struct passwd
1108 * contains pw_quota.
1111 * This symbol, if defined, indicates to the C program that struct passwd
1115 * This symbol, if defined, indicates to the C program that struct passwd
1116 * contains pw_change.
1119 * This symbol, if defined, indicates to the C program that struct passwd
1120 * contains pw_class.
1123 * This symbol, if defined, indicates to the C program that struct passwd
1124 * contains pw_expire.
1127 * This symbol, if defined, indicates to the C program that struct passwd
1128 * contains pw_comment.
1130 /*#define I_PWD /**/
1131 /*#define PWQUOTA /**/
1132 /*#define PWAGE /**/
1133 /*#define PWCHANGE /**/
1134 /*#define PWCLASS /**/
1135 /*#define PWEXPIRE /**/
1136 /*#define PWCOMMENT /**/
1139 * This symbol, if defined, indicates that <stddef.h> exists and should
1142 #define I_STDDEF /**/
1145 * This symbol, if defined, indicates that <stdlib.h> exists and should
1148 #define I_STDLIB /**/
1151 * This symbol, if defined, indicates to the C program that it should
1152 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1154 #define I_STRING /**/
1157 * This symbol, if defined, indicates to the C program that it should
1158 * include <sys/dir.h>.
1160 /*#define I_SYS_DIR /**/
1163 * This symbol, if defined, indicates to the C program that it should
1164 * include <sys/file.h> to get definition of R_OK and friends.
1166 /*#define I_SYS_FILE /**/
1169 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1170 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1172 /*#define I_SYS_IOCTL /**/
1175 * This symbol, if defined, indicates to the C program that it should
1176 * include <sys/ndir.h>.
1178 /*#define I_SYS_NDIR /**/
1181 * This symbol, if defined, indicates to the C program that it should
1182 * include <sys/param.h>.
1184 /*#define I_SYS_PARAM /**/
1187 * This symbol, if defined, indicates to the C program that it should
1188 * include <sys/resource.h>.
1190 /*#define I_SYS_RESOURCE /**/
1193 * This symbol, if defined, indicates to the C program that it should
1194 * include <sys/select.h> in order to get definition of struct timeval.
1196 /*#define I_SYS_SELECT /**/
1199 * This symbol, if defined, indicates to the C program that it should
1200 * include <sys/times.h>.
1202 /*#define I_SYS_TIMES /**/
1205 * This symbol, if defined, indicates to the C program that it should
1206 * include <sys/types.h>.
1208 #define I_SYS_TYPES /**/
1211 * This symbol, if defined, indicates to the C program that it should
1212 * include <sys/un.h> to get UNIX domain socket definitions.
1214 /*#define I_SYS_UN /**/
1217 * This symbol, if defined, indicates to the C program that it should
1218 * include <sys/wait.h>.
1220 /*#define I_SYS_WAIT /**/
1223 * This symbol, if defined, indicates that the program should include
1224 * <termio.h> rather than <sgtty.h>. There are also differences in
1225 * the ioctl() calls that depend on the value of this symbol.
1228 * This symbol, if defined, indicates that the program should include
1229 * the POSIX termios.h rather than sgtty.h or termio.h.
1230 * There are also differences in the ioctl() calls that depend on the
1231 * value of this symbol.
1234 * This symbol, if defined, indicates that the program should include
1235 * <sgtty.h> rather than <termio.h>. There are also differences in
1236 * the ioctl() calls that depend on the value of this symbol.
1238 /*#define I_TERMIO /**/
1239 /*#define I_TERMIOS /**/
1240 /*#define I_SGTTY /**/
1243 * This symbol, if defined, indicates to the C program that it should
1247 * This symbol, if defined, indicates to the C program that it should
1248 * include <sys/time.h>.
1250 /* I_SYS_TIME_KERNEL:
1251 * This symbol, if defined, indicates to the C program that it should
1252 * include <sys/time.h> with KERNEL defined.
1255 /*#define I_SYS_TIME /**/
1256 /*#define I_SYS_TIME_KERNEL /**/
1259 * This symbol, if defined, indicates to the C program that it should
1260 * include <unistd.h>.
1262 /*#define I_UNISTD /**/
1265 * This symbol, if defined, indicates to the C program that it should
1266 * include <utime.h>.
1268 #define I_UTIME /**/
1271 * This symbol, if defined, indicates that <stdarg.h> exists and should
1275 * This symbol, if defined, indicates to the C program that it should
1276 * include <varargs.h>.
1278 #define I_STDARG /**/
1279 /*#define I_VARARGS /**/
1282 * This symbol, if defined, indicates to the C program that it should
1285 /*#define I_VFORK /**/
1288 * This symbol contains the value of sizeof(int) so that the C
1289 * preprocessor can make decisions based on it.
1292 * This symbol contains the value of sizeof(long) so that the C
1293 * preprocessor can make decisions based on it.
1296 * This symbol contains the value of sizeof(short) so that the C
1297 * preprocessor can make decisions based on it.
1299 #define INTSIZE 4 /**/
1300 #define LONGSIZE 4 /**/
1301 #define SHORTSIZE 2 /**/
1304 * This symbol holds the type used to declare offsets in the kernel.
1305 * It can be int, long, off_t, etc... It may be necessary to include
1306 * <sys/types.h> to get any typedef'ed information.
1308 #define Off_t off_t /* <offset> type */
1311 * This symbol holds the type used to declare file modes
1312 * for systems calls. It is usually mode_t, but may be
1313 * int or unsigned short. It may be necessary to include <sys/types.h>
1314 * to get any typedef'ed information.
1316 #define Mode_t mode_t /* file mode parameter for system calls */
1319 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1320 * non-blocking I/O for the file descriptor. Note that there is no way
1321 * back, i.e. you cannot turn it blocking again this way. If you wish to
1322 * alternatively switch between blocking and non-blocking, use the
1323 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1326 * This symbol holds the errno error code set by read() when no data was
1327 * present on the non-blocking file descriptor.
1330 * This symbol holds the return code from read() when no data is present
1331 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1332 * not defined, then you can't distinguish between no data and EOF by
1333 * issuing a read(). You'll have to find another way to tell for sure!
1336 * This symbol, if defined, indicates to the C program that a read() on
1337 * a non-blocking file descriptor will return 0 on EOF, and not the value
1338 * held in RD_NODATA (-1 usually, in that case!).
1340 #define VAL_O_NONBLOCK O_NONBLOCK
1341 #define VAL_EAGAIN EAGAIN
1342 #define RD_NODATA -1
1343 #define EOF_NONBLOCK
1346 * If defined, this macro indicates that the C compiler can handle
1347 * function prototypes.
1350 * This macro is used to declare function parameters for folks who want
1351 * to make declarations with prototypes using a different style than
1352 * the above macros. Use double parentheses. For example:
1354 * int main _((int argc, char *argv[]));
1356 #define CAN_PROTOTYPE /**/
1357 #ifdef CAN_PROTOTYPE
1358 #define _(args) args
1364 * This symbol contains the number of bits of random number the rand()
1365 * function produces. Usual values are 15, 16, and 31.
1367 #define RANDBITS 15 /**/
1370 * This symbol holds the type used for the 2nd, 3rd, and 4th
1371 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1372 * is defined, and 'int *' otherwise. This is only useful if you
1373 * have select(), of course.
1375 #define Select_fd_set_t int * /**/
1378 * This symbol holds the type used to declare length parameters
1379 * for string functions. It is usually size_t, but may be
1380 * unsigned long, int, etc. It may be necessary to include
1381 * <sys/types.h> to get any typedef'ed information.
1383 #define Size_t size_t /* length paramater for string functions */
1386 * This symbol holds the type used by functions that return
1387 * a count of bytes or an error condition. It must be a signed type.
1388 * It is usually ssize_t, but may be long or int, etc.
1389 * It may be necessary to include <sys/types.h> or <unistd.h>
1390 * to get any typedef'ed information.
1391 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1393 #define SSize_t int /* signed count of bytes */
1396 * This symbol is defined to be the type of char used in stdio.h.
1397 * It has the values "unsigned char" or "char".
1399 #define STDCHAR unsigned char /**/
1402 * This symbol holds the type used to declare user ids in the kernel.
1403 * It can be int, ushort, uid_t, etc... It may be necessary to include
1404 * <sys/types.h> to get any typedef'ed information.
1406 #define Uid_t uid_t /* UID type */
1409 * This symbol holds the complete pathname to the sed program.
1411 #define LOC_SED "" /**/
1414 * This symbol contains the name of the operating system, as determined
1415 * by Configure. You shouldn't rely on it too much; the specific
1416 * feature tests from Configure are generally more reliable.
1418 #define OSNAME "MSWin32" /**/
1421 * This variable, if defined, holds the name of the directory in
1422 * which the user wants to put architecture-dependent public
1423 * library files for perl5. It is most often a local directory
1424 * such as /usr/local/lib. Programs using this variable must be
1425 * prepared to deal with filename expansion. If ARCHLIB is the
1426 * same as PRIVLIB, it is not defined, since presumably the
1427 * program already searches PRIVLIB.
1430 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1431 * in programs that are not prepared to deal with ~ expansion at run-time.
1433 #define ARCHLIB "c:\\perl\\lib" /**/
1434 #define ARCHLIB_EXP (win32PerlLibPath()) /**/
1437 * This symbol, if defined, indicates that Perl 5.004 should be
1438 * binary-compatible with Perl 5.003.
1440 /*#define BINCOMPAT3 /**/
1443 * This symbol holds the hexadecimal constant defined in byteorder,
1444 * i.e. 0x1234 or 0x4321, etc...
1445 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1446 * Binaries (MAB) on either big endian or little endian machines.
1447 * The endian-ness is available at compile-time. This only matters
1448 * for perl, where the config.h can be generated and installed on
1449 * one system, and used by a different architecture to build an
1450 * extension. Older versions of NeXT that might not have
1451 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1452 * so the default case (for NeXT) is big endian to catch them.
1453 * This might matter for NeXT 3.0.
1456 #define BYTEORDER 0x1234 /* large digits for MSB */
1458 #ifdef __LITTLE_ENDIAN__
1459 #define BYTEORDER 0x1234
1460 #else /* __BIG_ENDIAN__ */
1461 #define BYTEORDER 0x4321
1462 #endif /* ENDIAN CHECK */
1466 * This symbol, if defined, indicates that the C-shell exists.
1467 * If defined, contains the full pathname of csh.
1469 /*#define CSH "" /**/
1471 /* DLSYM_NEEDS_UNDERSCORE:
1472 * This symbol, if defined, indicates that we need to prepend an
1473 * underscore to the symbol name before calling dlsym(). This only
1474 * makes sense if you *have* dlsym, which we will presume is the
1475 * case if you're using dl_dlopen.xs.
1477 /*#define DLSYM_NEEDS_UNDERSCORE /**/
1479 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1480 * This symbol, if defined, indicates that the bug that prevents
1481 * setuid scripts from being secure is not present in this kernel.
1484 * This symbol, if defined, indicates that the C program should
1485 * check the script that it is executing for setuid/setgid bits, and
1486 * attempt to emulate setuid/setgid on systems that have disabled
1487 * setuid #! scripts because the kernel can't do it securely.
1488 * It is up to the package designer to make sure that this emulation
1489 * is done securely. Among other things, it should do an fstat on
1490 * the script it just opened to make sure it really is a setuid/setgid
1491 * script, it should make sure the arguments passed correspond exactly
1492 * to the argument on the #! line, and it should not trust any
1493 * subprocesses to which it must pass the filename rather than the
1494 * file descriptor of the script to be executed.
1496 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1497 /*#define DOSUID /**/
1500 * This preprocessor macro is defined to convert a floating point
1501 * number to a string without a trailing decimal point. This
1502 * emulates the behavior of sprintf("%g"), but is sometimes much more
1503 * efficient. If gconvert() is not available, but gcvt() drops the
1504 * trailing decimal point, then gcvt() is used. If all else fails,
1505 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1506 * macro are: value, number of digits, whether trailing zeros should
1507 * be retained, and the output buffer.
1508 * Possible values are:
1509 * d_Gconvert='gconvert((x),(n),(t),(b))'
1510 * d_Gconvert='gcvt((x),(n),(b))'
1511 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1512 * The last two assume trailing zeros should not be kept.
1514 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1517 * This symbol, if defined, indicates to the C program that
1518 * the getpgid(pid) function is available to get the
1521 /*#define HAS_GETPGID /**/
1524 * This symbol, if defined, indicates that the getpgrp routine is
1525 * available to get the current process group.
1528 * This symbol, if defined, indicates that getpgrp needs one
1529 * arguments whereas USG one needs none.
1531 /*#define HAS_GETPGRP /**/
1532 /*#define USE_BSD_GETPGRP /**/
1535 * This symbol, if defined, indicates to the C program that the
1536 * inet_aton() function is available to parse IP address "dotted-quad"
1539 /*#define HAS_INET_ATON /**/
1542 * This symbol, if defined, indicates to the C program that
1543 * the setpgid(pid, gpid) function is available to set the
1546 /*#define HAS_SETPGID /**/
1549 * This symbol, if defined, indicates that the setpgrp routine is
1550 * available to set the current process group.
1553 * This symbol, if defined, indicates that setpgrp needs two
1554 * arguments whereas USG one needs none. See also HAS_SETPGID
1555 * for a POSIX interface.
1558 * This symbol, if defined, indicates that the BSD notion of process
1559 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1560 * instead of the USG setpgrp(). This should be obsolete since
1561 * there are systems which have BSD-ish setpgrp but USG-ish getpgrp.
1563 /*#define HAS_SETPGRP /**/
1564 /*#define USE_BSD_SETPGRP /**/
1565 /*#define USE_BSDPGRP /**/
1568 * This symbol, if defined, indicates that sfio should
1571 /*#define USE_SFIO /**/
1574 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1577 * This macro is used in the same way as sigsetjmp(), but will invoke
1578 * traditional setjmp() if sigsetjmp isn't available.
1579 * See HAS_SIGSETJMP.
1582 * This macro is used in the same way as siglongjmp(), but will invoke
1583 * traditional longjmp() if siglongjmp isn't available.
1584 * See HAS_SIGSETJMP.
1586 /*#define HAS_SIGSETJMP /**/
1587 #ifdef HAS_SIGSETJMP
1588 #define Sigjmp_buf sigjmp_buf
1589 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1590 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1592 #define Sigjmp_buf jmp_buf
1593 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1594 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1597 /* USE_DYNAMIC_LOADING:
1598 * This symbol, if defined, indicates that dynamic loading of
1599 * some sort is available.
1601 #define USE_DYNAMIC_LOADING /**/
1604 * This symbol, if defined, indicates that <dbm.h> exists and should
1608 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1609 * should be included.
1611 /*#define I_DBM /**/
1612 #define I_RPCSVC_DBM /**/
1615 * This symbol, if defined, indicates to the C program that it should
1616 * include <locale.h>.
1618 #define I_LOCALE /**/
1621 * This symbol, if defined, indicates to the C program that it should
1624 /*#define I_SFIO /**/
1627 * This symbol, if defined, indicates to the C program that it should
1628 * include <sys/stat.h>.
1630 #define I_SYS_STAT /**/
1633 * This symbol, if defined, indicates to the C program that it should
1634 * include <values.h> to get definition of symbols like MINFLOAT or
1635 * MAXLONG, i.e. machine dependant limitations. Probably, you
1636 * should use <limits.h> instead, if it is available.
1638 /*#define I_VALUES /**/
1641 * This variable contains the return type of free(). It is usually
1642 * void, but occasionally int.
1645 * This symbol is the type of pointer returned by malloc and realloc.
1647 #define Malloc_t void * /**/
1648 #define Free_t void /**/
1651 * This symbol, if defined, indicates that we're using our own malloc.
1653 /*#define MYMALLOC /**/
1656 * This variable, if defined, holds the name of the directory in
1657 * which the user has perl5.000 or perl5.001 architecture-dependent
1658 * public library files for perl5. For the most part, these
1659 * files will work with 5.002 (and later), but that is not
1663 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1664 * used in programs that are not prepared to deal with ~ expansion at
1667 /*#define OLDARCHLIB "" /**/
1668 /*#define OLDARCHLIB_EXP "" /**/
1671 * This symbol contains the name of the private library for this package.
1672 * The library is private in the sense that it needn't be in anyone's
1673 * execution path, but it should be accessible by the world. The program
1674 * should be prepared to do ~ expansion.
1677 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1678 * in programs that are not prepared to deal with ~ expansion at run-time.
1680 #define PRIVLIB "c:\\perl\\lib" /**/
1681 #define PRIVLIB_EXP "c:\\perl\\lib" /**/
1684 * This symbol contains the full pathname to the shell used on this
1685 * on this system to execute Bourne shell scripts. Usually, this will be
1686 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1687 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1690 #define SH_PATH "cmd /x /c" /**/
1693 * This symbol contains a list of signal names in order of
1694 * signal number. This is intended
1695 * to be used as a static array initialization, like this:
1696 * char *sig_name[] = { SIG_NAME };
1697 * The signals in the list are separated with commas, and each signal
1698 * is surrounded by double quotes. There is no leading SIG in the signal
1699 * name, i.e. SIGQUIT is known as "QUIT".
1700 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1701 * etc., where nn is the actual signal number (e.g. NUM37).
1702 * The signal number for sig_name[i] is stored in sig_num[i].
1703 * The last element is 0 to terminate the list with a NULL. This
1704 * corresponds to the 0 at the end of the sig_num list.
1707 * This symbol contains a list of signal numbers, in the same order as the
1708 * SIG_NAME list. It is suitable for static array initialization, as in:
1709 * int sig_num[] = { SIG_NUM };
1710 * The signals in the list are separated with commas, and the indices
1711 * within that list and the SIG_NAME list match, so it's easy to compute
1712 * the signal name from a number or vice versa at the price of a small
1713 * dynamic linear lookup.
1714 * Duplicates are allowed, but are moved to the end of the list.
1715 * The signal number corresponding to sig_name[i] is sig_number[i].
1716 * if (i < NSIG) then sig_number[i] == i.
1717 * The last element is 0, corresponding to the 0 at the end of
1718 * the sig_name list.
1720 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","USR1","USR2","CHLD","PWR","WINCH","URG","IO","STOP","TSTP","CONT","TTIN","TTOU","VTALRM","PROF","XCPU","XFSZ","WAITING","LWP","FREEZE","THAW","RTMIN","NUM37","NUM38","NUM39","NUM40","NUM41","NUM42","RTMAX","IOT","CLD","POLL",0 /**/
1721 #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,6,18,22,0 /**/
1724 * This symbol contains the name of the private library for this package.
1725 * The library is private in the sense that it needn't be in anyone's
1726 * execution path, but it should be accessible by the world. The program
1727 * should be prepared to do ~ expansion.
1728 * The standard distribution will put nothing in this directory.
1729 * Individual sites may place their own extensions and modules in
1733 * This symbol contains the ~name expanded version of SITEARCH, to be used
1734 * in programs that are not prepared to deal with ~ expansion at run-time.
1736 #define SITEARCH "c:\\perl\\lib\\site" /**/
1737 #define SITEARCH_EXP "c:\\perl\\lib\\site" /**/
1740 * This symbol contains the name of the private library for this package.
1741 * The library is private in the sense that it needn't be in anyone's
1742 * execution path, but it should be accessible by the world. The program
1743 * should be prepared to do ~ expansion.
1744 * The standard distribution will put nothing in this directory.
1745 * Individual sites may place their own extensions and modules in
1749 * This symbol contains the ~name expanded version of SITELIB, to be used
1750 * in programs that are not prepared to deal with ~ expansion at run-time.
1752 #define SITELIB "c:\\perl\\lib\\site" /**/
1753 #define SITELIB_EXP "c:\\perl\\lib\\site" /**/
1756 * This variable contains the string to put in front of a perl
1757 * script to make sure (one hopes) that it runs with perl and not
1760 #define STARTPERL "#perl" /**/
1763 * This symbol, if defined, indicates that the PerlIO abstraction should
1764 * be used throughout. If not defined, stdio should be
1765 * used in a fully backward compatible manner.
1767 /*#define USE_PERLIO /**/
1770 * This symbol indicates how much support of the void type is given by this
1771 * compiler. What various bits mean:
1773 * 1 = supports declaration of void
1774 * 2 = supports arrays of pointers to functions returning void
1775 * 4 = supports comparisons between pointers to void functions and
1776 * addresses of void functions
1777 * 8 = suports declaration of generic void pointers
1779 * The package designer should define VOIDUSED to indicate the requirements
1780 * of the package. This can be done either by #defining VOIDUSED before
1781 * including config.h, or by defining defvoidused in Myinit.U. If the
1782 * latter approach is taken, only those flags will be tested. If the
1783 * level of void support necessary is not present, defines void to int.
1788 #define VOIDFLAGS 15
1789 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1790 #define void int /* is void to be avoided? */
1791 #define M_VOID /* Xenix strikes again */