2 * This file was produced by hand because the configure utilities which
3 * are in the perl distribution are all shell scripts. Someday, I hope
4 * we'll get a perl configure utility, but until then . . .
6 * Feel free to add or change things to suit your needs, but be careful
7 * about moving the comments which say "config-skip" - they're used by
8 * GenConfig.pl when producing Config.pm.
14 /* Configuration time: 22-Mar-1996 14:45
15 * Configured by: Charles Bailey bailey@genetics.upenn.edu
23 * This macro catenates 2 tokens together.
26 * This macro surrounds its token with double quotes.
29 #define CAT2(a,b)a ## b
30 #define CAT3(a,b,c)a ## b ## c
31 #define CAT4(a,b,c,d)a ## b ## c ##d
32 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
34 #define STRINGIFY(A)StGiFy(a)
35 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
36 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
37 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
38 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
40 #define CAT2(a,b)a/**/b
41 #define CAT3(a,b,c)a/**/b/**/c
42 #define CAT4(a,b,c,d)a/**/b/**/c/**/d
43 #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
44 #define STRINGIFY(a)"a"
50 * This symbol contains the number of bytes required to align a
51 * double. Usual values are 2, 4 and 8.
53 #define MEM_ALIGNBYTES 8 /**/
56 * This symbol contains the name of the operating system, as determined
59 #define OSNAME "VMS" /**/
62 * This variable, if defined, holds the name of the directory in
63 * which the user wants to put architecture-dependent public
64 * library files for $package. It is most often a local directory
65 * such as /usr/local/lib. Programs using this variable must be
66 * prepared to deal with filename expansion. If ARCHLIB_EXP is the
67 * same as PRIVLIB_EXP, it is not defined, since presumably the
68 * program already searches PRIVLIB_EXP.
71 * This value is automatically updated by FndVers.Com
72 * when Perl is built. Please do not change it by hand; make
73 * any changes to FndVers.Com instead.
75 #define ARCHLIB_EXP "/perl_root/lib/VMS_VAX/5_003" /**/
78 * This symbol contains the first part of the string which will invoke
79 * the C preprocessor on the standard input and produce to standard
80 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
81 * call a wrapper. See CPPRUN.
84 * This symbol contains the second part of the string which will invoke
85 * the C preprocessor on the standard input and produce to standard
86 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
87 * to specify standard input, otherwise the value is "".
89 #define CPPSTDIN "cc/noobj/preprocess=sys$output sys$input"
93 * This symbol is defined if the bcmp() routine is available to
94 * compare blocks of memory.
99 * This symbol is defined if the bcopy() routine is available to
100 * copy blocks of memory.
102 #undef HAS_BCOPY /**/
105 * This symbol is defined if the bzero() routine is available to
106 * set a memory block to 0.
108 #undef HAS_BZERO /**/
111 * This symbol is defined if the C compiler can cast negative
112 * numbers to unsigned longs, ints and shorts.
115 * This symbol contains flags that say what difficulties the compiler
116 * has casting odd floating values to unsigned long:
118 * 1 = couldn't cast < 0
119 * 2 = couldn't cast >= 0x80000000
121 #define CASTNEGFLOAT /**/
122 #define CASTFLAGS 0 /**/
125 * This symbol, if defined, indicates that the chsize routine is available
126 * to truncate files. You might need a -lx to get this routine.
128 #undef HAS_CHSIZE /**/
131 * This symbol, if defined, indicates that this C compiler knows about
132 * the const type. There is no need to actually test for that symbol
133 * within your programs. The mere use of the "const" keyword will
134 * trigger the necessary tests.
136 #define HASCONST /**/
142 * This symbol, if defined, indicates that the crypt routine is available
143 * to encrypt passwords and the like.
145 #define HAS_CRYPT /**/
148 * This symbol hold the hexadecimal constant defined in byteorder,
149 * i.e. 0x1234 or 0x4321, etc...
151 #define BYTEORDER 0x1234 /* large digits for MSB */
154 * This symbol, if defined, indicates that the C-shell exists.
155 * If defined, contains the full pathname of csh.
160 * This symbol, if defined, indicates that the dup2 routine is
161 * available to duplicate file descriptors.
163 #define HAS_DUP2 /**/
166 * This symbol, if defined, indicates that the fchmod routine is available
167 * to change mode of opened files. If unavailable, use chmod().
169 #undef HAS_FCHMOD /**/
172 * This symbol, if defined, indicates that the fchown routine is available
173 * to change ownership of opened files. If unavailable, use chown().
175 #undef HAS_FCHOWN /**/
178 * This symbol, if defined, indicates to the C program that
179 * the fcntl() function exists.
181 #undef HAS_FCNTL /**/
184 * This symbol, if defined, indicates that the fgetpos routine is
185 * available to get the file position indicator, similar to ftell().
187 #define HAS_FGETPOS /**/
190 * This symbol, if defined, indicates that the system supports filenames
191 * longer than 14 characters.
193 #define FLEXFILENAMES /**/
196 * This symbol, if defined, indicates that the flock routine is
197 * available to do file locking.
199 #undef HAS_FLOCK /**/
202 * This symbol, if defined, indicates that the fsetpos routine is
203 * available to set the file position indicator, similar to fseek().
205 #define HAS_FSETPOS /**/
208 * This symbol, if defined, indicates that the getgroups() routine is
209 * available to get the list of process groups. If unavailable, multiple
210 * groups are probably not supported.
212 #undef HAS_GETGROUPS /**/
215 * This symbol, if defined, indicates that the C program may use the
216 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
219 #undef HAS_UNAME /**/
222 * This symbol, if defined, indicates that the getpgrp routine is
223 * available to get the current process group.
225 #undef HAS_GETPGRP /**/
228 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
229 * routine is available to get the current process group.
231 #undef HAS_GETPGRP2 /**/
234 * This symbol, if defined, indicates that the getpriority routine is
235 * available to get a process's priority.
237 #undef HAS_GETPRIORITY /**/
240 * This symbol, if defined, indicates that the killpg routine is available
241 * to kill process groups. If unavailable, you probably should use kill
242 * with a negative process number.
244 #undef HAS_KILLPG /**/
247 * This symbol, if defined, indicates that the link routine is
248 * available to create hard links.
253 * This symbol, if defined, indicates that the lstat routine is
254 * available to do file stats on symbolic links.
256 #undef HAS_LSTAT /**/
259 * This symbol, if defined, indicates that the lockf routine is
260 * available to do file locking.
262 #undef HAS_LOCKF /**/
265 * This symbol, if defined, indicates that the mbstowcs routine is
266 * available to covert a multibyte string into a wide character string.
268 #undef HAS_MBSTOWCS /**/
271 * This symbol, if defined, indicates that the mbtowc routine is available
272 * to covert a multibyte to a wide character.
274 #undef HAS_MBTOWC /**/
277 * This symbol, if defined, indicates that the memcmp routine is available
278 * to compare blocks of memory.
280 #define HAS_MEMCMP /**/
283 * This symbol, if defined, indicates that the memcpy routine is available
284 * to copy blocks of memory.
286 #define HAS_MEMCPY /**/
289 * This symbol, if defined, indicates that the memmove routine is available
290 * to copy potentially overlapping blocks of memory. This should be used
291 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
294 #define HAS_MEMMOVE /**/
297 * This symbol, if defined, indicates that the memset routine is available
298 * to set blocks of memory.
300 #define HAS_MEMSET /**/
303 * This symbol, if defined, indicates that the mkdir routine is available
304 * to create directories. Otherwise you should fork off a new process to
307 #define HAS_MKDIR /**/
310 * This symbol, if defined, indicates that the entire msg*(2) library is
311 * supported (IPC mechanism based on message queues).
316 * This manifest constant lets the C program know that the three
317 * argument form of open(2) is available.
319 #define HAS_OPEN3 /**/
322 * This symbol, if defined, indicates that the poll routine is
323 * available to poll active file descriptors.
328 * This symbol, if defined, indicates that the readdir routine is
329 * available to read directory entries. You may have to include
330 * <dirent.h>. See I_DIRENT.
332 #define HAS_READDIR /**/
335 * This symbol, if defined, indicates that the seekdir routine is
336 * available. You may have to include <dirent.h>. See I_DIRENT.
338 #define HAS_SEEKDIR /**/
341 * This symbol, if defined, indicates that the telldir routine is
342 * available. You may have to include <dirent.h>. See I_DIRENT.
344 #define HAS_TELLDIR /**/
347 * This symbol, if defined, indicates that the rewinddir routine is
348 * available. You may have to include <dirent.h>. See I_DIRENT.
350 #define HAS_REWINDDIR /**/
353 * This symbol, if defined, indicates that the rename routine is available
354 * to rename files. Otherwise you should do the unlink(), link(), unlink()
357 #define HAS_RENAME /**/
360 * This symbol, if defined, indicates that the rmdir routine is
361 * available to remove directories. Otherwise you should fork off a
362 * new process to exec /bin/rmdir.
364 #define HAS_RMDIR /**/
367 * This symbol, if defined, indicates that the entire sem*(2) library is
373 * This symbol, if defined, indicates that the setegid routine is available
374 * to change the effective gid of the current program.
376 #undef HAS_SETEGID /**/
379 * This symbol, if defined, indicates that the seteuid routine is available
380 * to change the effective uid of the current program.
382 #undef HAS_SETEUID /**/
385 * This symbol, if defined, indicates that the setlocale routine is
386 * available to handle locale-specific ctype implementations.
388 #undef HAS_SETLOCALE /**/
391 * This symbol, if defined, indicates that the setpgid routine is
392 * available to set process group ID.
394 #undef HAS_SETPGID /**/
397 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
398 * routine is available to set the current process group.
400 #undef HAS_SETPGRP2 /**/
403 * This symbol, if defined, indicates that the setpriority routine is
404 * available to set a process's priority.
406 #undef HAS_SETPRIORITY /**/
409 * This symbol, if defined, indicates that the setregid routine is
410 * available to change the real and effective gid of the current
414 * This symbol, if defined, indicates that the setresgid routine is
415 * available to change the real, effective and saved gid of the current
418 #undef HAS_SETREGID /**/
419 #undef HAS_SETRESGID /**/
422 * This symbol, if defined, indicates that the setreuid routine is
423 * available to change the real and effective uid of the current
427 * This symbol, if defined, indicates that the setresuid routine is
428 * available to change the real, effective and saved uid of the current
431 #undef HAS_SETREUID /**/
432 #undef HAS_SETRESUID /**/
435 * This symbol, if defined, indicates that the setrgid routine is available
436 * to change the real gid of the current program.
438 #undef HAS_SETRGID /**/
441 * This symbol, if defined, indicates that the setruid routine is available
442 * to change the real uid of the current program.
444 #undef HAS_SETRUID /**/
447 * This symbol, if defined, indicates that the setsid routine is
448 * available to set the process group ID.
450 #undef HAS_SETSID /**/
453 * This symbol, if defined, indicates that the entire shm*(2) library is
459 * This symbol holds the return type of the shmat() system call.
460 * Usually set to 'void *' or 'char *'.
462 /* HAS_SHMAT_PROTOTYPE:
463 * This symbol, if defined, indicates that the sys/shm.h includes
464 * a prototype for shmat(). Otherwise, it is up to the program to
465 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
466 * but not always right so it should be emitted by the program only
467 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
469 #undef Shmat_t /**/ /* config-skip */
470 #undef HAS_SHMAT_PROTOTYPE /**/
473 * This symbol, if defined, indicates that Vr4's sigaction() routine
476 #undef HAS_SIGACTION /**/
479 * This symbol is defined if this system has a stat structure declaring
480 * st_blksize and st_blocks.
482 #undef USE_STAT_BLOCKS /**/
485 * This symbol is defined if the _ptr and _cnt fields (or similar)
486 * of the stdio FILE structure can be used to access the stdio buffer
487 * for a file handle. If this is defined, then the FILE_ptr(fp)
488 * and FILE_cnt(fp) macros will also be defined and should be used
489 * to access these fields.
492 * This symbol is defined if the _base field (or similar) of the
493 * stdio FILE structure can be used to access the stdio buffer for
494 * a file handle. If this is defined, then the FILE_base(fp) macro
495 * will also be defined and should be used to access this field.
496 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
497 * to determine the number of bytes in the buffer. USE_STDIO_BASE
498 * will never be defined unless USE_STDIO_PTR is.
501 * Regular FILE * are pretty close to meeting these criteria, but socket
502 * I/O uses a summy FILE *, and Perl doesn't distinguish between socket
503 * and non-socket filehandles.
505 #undef USE_STDIO_PTR /**/
506 #undef USE_STDIO_BASE /**/
509 * This macro is used to access the _ptr field (or equivalent) of the
510 * FILE structure pointed to by its argument. This macro will always be
511 * defined if USE_STDIO_PTR is defined.
514 * This symbol is defined if the FILE_ptr macro can be used as an
518 * This macro is used to access the _cnt field (or equivalent) of the
519 * FILE structure pointed to by its argument. This macro will always be
520 * defined if USE_STDIO_PTR is defined.
523 * This symbol is defined if the FILE_cnt macro can be used as an
527 #undef STDIO_PTR_LVALUE
529 #undef STDIO_CNT_LVALUE
532 * This macro is used to access the _base field (or equivalent) of the
533 * FILE structure pointed to by its argument. This macro will always be
534 * defined if USE_STDIO_BASE is defined.
537 * This macro is used to determine the number of bytes in the I/O
538 * buffer pointed to by _base field (or equivalent) of the FILE
539 * structure pointed to its argument. This macro will always be defined
540 * if USE_STDIO_BASE is defined.
546 * This symbol, if defined, indicates that this C compiler knows how
547 * to copy structures. If undefined, you'll need to use a block copy
548 * routine of some sort instead.
550 #define USE_STRUCT_COPY /**/
553 * This symbol, if defined, indicates that the strerror routine is
554 * available to translate error numbers to strings. See the writeup
555 * of Strerror() in this file before you try to define your own.
558 * This symbol, if defined, indicates that the sys_errlist array is
559 * available to translate error numbers to strings. The extern int
560 * sys_nerr gives the size of that table.
563 * This preprocessor symbol is defined as a macro if strerror() is
564 * not available to translate error numbers to strings but sys_errlist[]
567 #define HAS_STRERROR /**/
568 #undef HAS_SYS_ERRLIST /**/
570 # define Strerror(e) strerror((e),vaxc$errno)
572 #define Strerror(e) ((e)<0||(e)>=sys_nerr?"unknown":sys_errlist[e]) /**/ /* config-skip */
576 * This symbol, if defined, indicates that the symlink routine is available
577 * to create symbolic links.
579 #undef HAS_SYMLINK /**/
582 * This symbol, if defined, indicates that the syscall routine is
583 * available to call arbitrary system calls. If undefined, that's tough.
585 #undef HAS_SYSCALL /**/
588 * This symbol, if defined, indicates that the system routine is
589 * available to issue a shell command.
591 #define HAS_SYSTEM /**/
594 * This symbol holds the type returned by time(). It can be long,
595 * or time_t on BSD sites (in which case <sys/types.h> should be
598 #define Time_t time_t /* Time type */
601 * This symbol, if defined, indicates that the truncate routine is
602 * available to truncate files.
604 #undef HAS_TRUNCATE /**/
608 * This symbol, if defined, indicates that vfork() exists.
610 #define HAS_VFORK /**/
613 * This symbol's value is either "void" or "int", corresponding to the
614 * appropriate return type of a signal handler. Thus, you can declare
615 * a signal handler using "Signal_t (*handler)()", and define the
616 * handler using "Signal_t handler(sig)".
618 #define Signal_t void /* Signal handler's return type */
621 * This symbol, if defined, indicates that this C compiler knows about
622 * the volatile declaration.
624 #define HASVOLATILE /**/
626 #define volatile /* config-skip */
630 * This symbol, if defined, indicates that the vprintf routine is available
631 * to printf with a pointer to an argument list. If unavailable, you
632 * may need to write your own, probably in terms of _doprnt().
634 /* USE_CHAR_VSPRINTF:
635 * This symbol is defined if this system has vsprintf() returning type
636 * (char*). The trend seems to be to declare it as "int vsprintf()". It
637 * is up to the package author to declare vsprintf correctly based on the
640 #define HAS_VPRINTF /**/
641 #undef USE_CHAR_VSPRINTF /**/
644 * This symbol, if defined, indicates that wait4() exists.
646 #undef HAS_WAIT4 /**/
649 * This symbol, if defined, indicates that the waitpid routine is
650 * available to wait for child process.
652 #define HAS_WAITPID /**/
655 * This symbol, if defined, indicates that the wcstombs routine is
656 * available to convert wide character strings to multibyte strings.
658 #undef HAS_WCSTOMBS /**/
661 * This symbol, if defined, indicates to the C program that it should
662 * include <dirent.h>. Using this symbol also triggers the definition
663 * of the Direntry_t define which ends up being 'struct dirent' or
664 * 'struct direct' depending on the availability of <dirent.h>.
667 * This symbol, if defined, indicates to the C program that the length
668 * of directory entry names is provided by a d_namlen field. Otherwise
669 * you need to do strlen() on the d_name field.
672 #define DIRNAMLEN /**/
673 #define Direntry_t struct dirent
676 * This manifest constant tells the C program to include <fcntl.h>.
681 * This symbol, if defined, indicates to the C program that it should
687 * This symbol, if defined, indicates to the C program that it should
688 * include <limits.h> to get definition of symbols like WORD_BIT or
689 * LONG_MAX, i.e. machine dependant limitations.
694 * This symbol, if defined, indicates to the C program that it should
695 * include <memory.h>.
700 * This symbol, if defined, indicates that ndbm.h exists and should
706 * This symbol, if defined, indicates that <stdarg.h> exists and should
709 #define I_STDARG /**/
712 * This symbol, if defined, indicates to the C program that it should
716 * This symbol, if defined, indicates to the C program that struct passwd
720 * This symbol, if defined, indicates to the C program that struct passwd
724 * This symbol, if defined, indicates to the C program that struct passwd
725 * contains pw_change.
728 * This symbol, if defined, indicates to the C program that struct passwd
732 * This symbol, if defined, indicates to the C program that struct passwd
733 * contains pw_expire.
736 * This symbol, if defined, indicates to the C program that struct passwd
737 * contains pw_comment.
745 #define PWCOMMENT /**/
748 * This symbol, if defined, indicates that <stddef.h> exists and should
751 #define I_STDDEF /**/
754 * This symbol, if defined, indicates that <stdlib.h> exists and should
757 #define I_STDLIB /**/
760 * This symbol, if defined, indicates to the C program that it should
761 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
763 #define I_STRING /**/
766 * This symbol, if defined, indicates to the C program that it should
767 * include <sys/dir.h>.
769 #undef I_SYS_DIR /**/
772 * This symbol, if defined, indicates to the C program that it should
773 * include <sys/file.h> to get definition of R_OK and friends.
775 #undef I_SYS_FILE /**/
778 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
779 * be included. Otherwise, include <sgtty.h> or <termio.h>.
781 #undef I_SYS_IOCTL /**/
784 * This symbol, if defined, indicates to the C program that it should
785 * include <sys/ndir.h>.
787 #undef I_SYS_NDIR /**/
790 * This symbol, if defined, indicates to the C program that it should
791 * include <sys/select.h> in order to get definition of struct timeval.
793 #undef I_SYS_SELECT /**/
796 * This symbol, if defined, indicates that <dbm.h> exists and should
800 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
801 * should be included.
804 #undef I_RPCSVC_DBM /**/
807 * This symbol, if defined, indicates to the C program that it should
808 * include <sys/stat.h>.
810 #define I_SYS_STAT /**/
813 * This symbol, if defined, indicates to the C program that it should
814 * include <sys/times.h>.
816 #undef I_SYS_TIMES /**/
819 * This symbol, if defined, indicates to the C program that it should
820 * include <sys/types.h>.
822 #define I_SYS_TYPES /**/
825 * This symbol, if defined, indicates to the C program that it should
826 * include <sys/un.h> to get UNIX domain socket definitions.
831 * This symbol, if defined, indicates that the program should include
832 * <termio.h> rather than <sgtty.h>. There are also differences in
833 * the ioctl() calls that depend on the value of this symbol.
836 * This symbol, if defined, indicates that the program should include
837 * the POSIX termios.h rather than sgtty.h or termio.h.
838 * There are also differences in the ioctl() calls that depend on the
839 * value of this symbol.
842 * This symbol, if defined, indicates that the program should include
843 * <sgtty.h> rather than <termio.h>. There are also differences in
844 * the ioctl() calls that depend on the value of this symbol.
848 #undef I_TERMIOS /**/
851 * This symbol, if defined, indicates to the C program that it should
855 * This symbol, if defined, indicates to the C program that it should
856 * include <sys/time.h>.
858 /* I_SYS_TIME_KERNEL:
859 * This symbol, if defined, indicates to the C program that it should
860 * include <sys/time.h> with KERNEL defined.
863 #undef I_SYS_TIME /**/
864 #undef I_SYS_TIME_KERNEL /**/
867 * This symbol, if defined, indicates to the C program that it should
868 * include <unistd.h>.
873 * This symbol, if defined, indicates to the C program that it should
879 * This symbol, if defined, indicates to the C program that it should
880 * include <varargs.h>.
882 #undef I_VARARGS /**/
886 * This symbol, if defined, indicates to the C program that it should
892 * If defined, this macro indicates that the C compiler can handle
893 * function prototypes.
896 * This macro is used to declare function parameters for folks who want
897 * to make declarations with prototypes using a different style than
898 * the above macros. Use double parentheses. For example:
900 * int main _((int argc, char *argv[]));
902 #define CAN_PROTOTYPE /**/
904 #define _(args) args /* config-skip */
906 #define _(args) () /* config-skip */
910 * This symbol contains the number of bits of random number the rand()
911 * function produces. Usual values are 15, 16, and 31.
913 #define RANDBITS 31 /**/
917 * This symbol holds the type used for the 2nd, 3rd, and 4th
918 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
919 * is defined, and 'int *' otherwise. This is only useful if you
920 * have select(), of course.
922 #define Select_fd_set_t int * /**/
925 * This symbol is defined to be the type of char used in stdio.h.
926 * It has the values "unsigned char" or "char".
928 #define STDCHAR char /**/
930 /* UNLINK_ALL_VERSIONS:
931 * This symbol, if defined, indicates that the program should arrange
932 * to remove all versions of a file if unlink() is called.
934 #undef UNLINK_ALL_VERSIONS /**/
937 * This symbol holds the complete pathname to the sed program.
939 #define LOC_SED "_NLA0:" /**/
942 * This symbol holds the path of the bin directory where the package will
943 * be installed. Program must be prepared to deal with ~name substitution.
945 #define BIN "/perl_root/000000" /**/
948 * This symbol, if defined, indicates that the alarm routine is
951 #define HAS_ALARM /**/
954 * This symbol indicates the C compiler can check for function attributes,
955 * such as printf formats. This is normally only supported by GNU cc.
958 # define HASATTRIBUTE /*config-skip*/
960 # undef HASATTRIBUTE /*config-skip*/
963 #define __attribute__(_arg_)
967 * This symbol is defined if the C compiler can cast negative
968 * or large floating point numbers to 32-bit ints.
973 * This symbol, if defined, indicates that the chown routine is
976 #define HAS_CHOWN /**/
979 * This symbol, if defined, indicates that the chroot routine is
982 #undef HAS_CHROOT /**/
985 * This symbol, if defined, indicates that the cuserid routine is
986 * available to get character login names.
988 #define HAS_CUSERID /**/
991 * This symbol, if defined, indicates that this system's <float.h>
992 * or <limits.h> defines the symbol DBL_DIG, which is the number
993 * of significant digits in a double precision number. If this
994 * symbol is not defined, a guess of 15 is usually pretty good.
996 #define HAS_DBL_DIG /* */
999 * This symbol, if defined, indicates that the difftime routine is
1002 #define HAS_DIFFTIME /**/
1005 * This symbol, if defined, indicates that the fork routine is
1008 /* VMS: In vmsish.h, fork is #defined to vfork. This kludge gets around
1009 * some obsolete code in pp.c, which should be fixed in its own right
1010 * sometime. - C. Bailey 26-Aug-1994
1012 #define HAS_FORK /**/
1015 * This symbol, if defined, indicates that the getlogin routine is
1018 #define HAS_GETLOGIN /**/
1021 * This symbol, if defined, indicates that the getppid routine is
1024 #undef HAS_GETPPID /**/
1027 * This symbol, if defined, indicates that the htonl() routine (and
1028 * friends htons() ntohl() ntohs()) are available to do network
1029 * order byte swapping.
1032 * This symbol, if defined, indicates that the htons() routine (and
1033 * friends htonl() ntohl() ntohs()) are available to do network
1034 * order byte swapping.
1037 * This symbol, if defined, indicates that the ntohl() routine (and
1038 * friends htonl() htons() ntohs()) are available to do network
1039 * order byte swapping.
1042 * This symbol, if defined, indicates that the ntohs() routine (and
1043 * friends htonl() htons() ntohl()) are available to do network
1044 * order byte swapping.
1046 #define HAS_HTONL /**/
1047 #define HAS_HTONS /**/
1048 #define HAS_NTOHL /**/
1049 #define HAS_NTOHS /**/
1052 * This symbol, if defined, indicates that the mblen routine is available
1053 * to find the number of bytes in a multibye character.
1055 #undef HAS_MBLEN /**/
1058 * This symbol, if defined, indicates that the mktime routine is
1061 #undef HAS_MKTIME /**/
1064 * This symbol, if defined, indicates that the nice routine is
1067 #define HAS_NICE /**/
1070 * This symbol, if defined, indicates that the pause routine is
1073 #define HAS_PAUSE /**/
1076 * This symbol, if defined, indicates that the pipe routine is
1079 #define HAS_PIPE /**/
1082 * This symbol, if defined, indicates that the readlink routine is
1085 #undef HAS_READLINK /**/
1088 * This symbol, if defined, indicates that the setlinebuf routine is
1089 * available to change stderr or stdout from block-buffered or unbuffered
1090 * to a line-buffered mode.
1092 #undef HAS_SETLINEBUF /**/
1095 * This symbol is defined to indicate that the strchr()/strrchr()
1096 * functions are available for string searching. If not, try the
1097 * index()/rindex() pair.
1100 * This symbol is defined to indicate that the index()/rindex()
1101 * functions are available for string searching.
1103 #define HAS_STRCHR /**/
1104 #undef HAS_INDEX /**/
1107 * This symbol, if defined, indicates that the strcoll routine is
1108 * available to compare strings using collating information.
1110 #undef HAS_STRCOLL /**/
1113 * This symbol, if defined, indicates that the strxfrm() routine is
1114 * available to compare strings using collating information.
1116 #undef HAS_STRXFRM /**/
1119 * This symbol, if defined, indicates that the tcgetpgrp routine is
1120 * available to get foreground process group ID.
1122 #undef HAS_TCGETPGRP /**/
1125 * This symbol, if defined, indicates that the tcsetpgrp routine is
1126 * available to set foreground process group ID.
1128 #undef HAS_TCSETPGRP /**/
1131 * This symbol, if defined, indicates that the times() routine exists.
1132 * Note that this became obsolete on some systems (SUNOS), which now
1133 * use getrusage(). It may be necessary to include <sys/times.h>.
1135 #define HAS_TIMES /**/
1138 * This symbol, if defined, indicates that the tzname[] array is
1139 * available to access timezone names.
1141 #undef HAS_TZNAME /**/
1144 * This symbol, if defined, indicates that the umask routine is
1145 * available to get the file creation mask.
1147 #define HAS_UMASK /**/
1150 * This symbol, if defined, indicates that the wctomb routine is available
1151 * to covert a wide character to a multibyte.
1153 #undef HAS_WCTOMB /**/
1156 * This symbol holds the type used to declare file positions in libc.
1157 * It can be fpos_t, long, uint, etc... It may be necessary to include
1158 * <sys/types.h> to get any typedef'ed information.
1160 #define Fpos_t fpos_t /* File position type */
1163 * This symbol holds the return type of getgid() and the type of
1164 * argument to setrgid() and related functions. Typically,
1165 * it is the type of group ids in the kernel.
1166 * It can be int, ushort, uid_t, etc... It may be necessary to include
1167 * <sys/types.h> to get any typedef'ed information.
1169 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1170 # define Gid_t gid_t /* config-skip */
1172 # define Gid_t unsigned int /* config-skip */
1176 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1182 * This symbol, if defined, indicates to the C program that it should
1183 * include <float.h> to get definition of symbols like DBL_MAX or
1184 * DBL_MIN, i.e. machine dependent floating point values.
1186 #define I_FLOAT /**/
1189 * This symbol, if defined, indicates to the C program that it should
1195 * This symbol, if defined, indicates to the C program that it should
1196 * include <locale.h>.
1198 #undef I_LOCALE /**/
1201 * This symbol, if defined, indicates to the C program that it should
1202 * include <sys/stat.h>.
1204 #define I_SYS_STAT /**/
1207 * This symbol contains the size of an int, so that the C preprocessor
1208 * can make decisions based on it.
1210 #define INTSIZE 4 /**/
1213 * This symbol holds the type used to declare offsets in the kernel.
1214 * It can be int, long, off_t, etc... It may be necessary to include
1215 * <sys/types.h> to get any typedef'ed information.
1217 #define Off_t int /* <offset> type */
1220 * This variable contains the return type of free(). It is usually
1221 * void, but occasionally int.
1224 * This symbol is the type of pointer returned by malloc and realloc.
1226 #define Malloc_t void * /**/
1227 #define Free_t void /**/
1230 * This symbol, if defined, indicates that we're using our own malloc.
1232 #undef MYMALLOC /**/
1235 * This symbol contains a list of signal names in order. This is intended
1236 * to be used as a static array initialization, like this:
1237 * char *sig_name[] = { SIG_NAME };
1238 * The signals in the list are separated with commas, and each signal
1239 * is surrounded by double quotes. There is no leading SIG in the signal
1240 * name, i.e. SIGQUIT is known as "QUIT". Duplicates are allowed.
1241 * The signal number for sig_name[i] is stored in sig_num[i].
1242 * The last element is 0 to terminate the list with a NULL. This
1243 * corresponds to the 0 at the end of the sig_num list.
1244 * See SIG_NUM and SIG_MAX.
1246 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE",\
1247 "KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM",\
1248 "ABRT","USR1","USR2",0
1251 * This symbol contains a list of signal number, in the same order as the
1252 * SIG_NAME list. It is suitable for static array initialization, as in:
1253 * int sig_num[] = { SIG_NUM };
1254 * The signals in the list are separated with commas, and the indices
1255 * within that list and the SIG_NAME list match, so it's easy to compute
1256 * the signal name from a number or vice versa at the price of a small
1257 * dynamic linear lookup. Duplicates are allowed, so you can't assume
1258 * sig_num[i] == i. Instead, the signal number corresponding to
1259 * sig_name[i] is sig_number[i].
1260 * The last element is 0, corresponding to the 0 at the end of
1261 * the sig_name list.
1263 #define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,6,16,17,0 /**/
1266 * This symbol holds the type used to declare file modes
1267 * for systems calls. It is usually mode_t, but may be
1268 * int or unsigned short. It may be necessary to include <sys/types.h>
1269 * to get any typedef'ed information.
1271 #define Mode_t unsigned int /* file mode parameter for system calls*/
1274 * This symbol holds the type used by functions that return
1275 * a count of bytes or an error condition. It must be a signed type.
1276 * It is usually ssize_t, but may be long or int, etc.
1277 * It may be necessary to include <sys/types.h> or <unistd.h>
1278 * to get any typedef'ed information.
1279 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1281 #define SSize_t int /* signed count of bytes */
1284 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1285 * non-blocking I/O for the file descriptor. Note that there is no way
1286 * back, i.e. you cannot turn it blocking again this way. If you wish to
1287 * alternatively switch between blocking and non-blocking, use the
1288 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1291 * This symbol holds the errno error code set by read() when no data was
1292 * present on the non-blocking file descriptor.
1295 * This symbol holds the return code from read() when no data is present
1296 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1297 * not defined, then you can't distinguish between no data and EOF by
1298 * issuing a read(). You'll have to find another way to tell for sure!
1301 * This symbol, if defined, indicates to the C program that a read() on
1302 * a non-blocking file descriptor will return 0 on EOF, and not the value
1303 * held in RD_NODATA (-1 usually, in that case!).
1305 #define VAL_O_NONBLOCK
1311 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1312 * used in programs that are not prepared to deal with ~ expansion at
1316 * This value is automatically updated by FndVers.Com
1317 * when Perl is built. Please do not change it by hand; make
1318 * any changes to FndVers.Com instead.
1320 #define OLDARCHLIB_EXP "/perl_root/lib/VMS_VAX" /**/
1323 * This symbol contains the name of the private library for this package.
1324 * The library is private in the sense that it needn't be in anyone's
1325 * execution path, but it should be accessible by the world. The program
1326 * should be prepared to do ~ expansion.
1328 #define PRIVLIB_EXP "/perl_root/lib" /**/
1331 * This symbol contains the ~name expanded version of SITELIB, to be used
1332 * in programs that are not prepared to deal with ~ expansion at run-time.
1334 #define SITELIB_EXP "/perl_root/lib/site_perl" /**/
1337 * This symbol contains the ~name expanded version of SITEARCH, to be used
1338 * in programs that are not prepared to deal with ~ expansion at run-time.
1341 * This value is automatically updated by FndVers.Com
1342 * when Perl is built. Please do not change it by hand; make
1343 * any changes to FndVers.Com instead.
1345 #define SITEARCH_EXP "/perl_root/lib/site_perl/VMS_VAX" /**/
1348 * This symbol holds the name of the directory in which the user wants
1349 * to put publicly executable scripts for the package in question. It
1350 * is often a directory that is mounted across diverse architectures.
1351 * Programs must be prepared to deal with ~name expansion.
1353 #define SCRIPTDIR "/perl_root/script" /**/
1356 * This symbol holds the type used to declare length parameters
1357 * for string functions. It is usually size_t, but may be
1358 * unsigned long, int, etc. It may be necessary to include
1359 * <sys/types.h> to get any typedef'ed information.
1361 #define Size_t size_t /* length paramater for string functions */
1364 * This symbol holds the type used to declare user ids in the kernel.
1365 * It can be int, ushort, uid_t, etc... It may be necessary to include
1366 * <sys/types.h> to get any typedef'ed information.
1368 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1369 # define Uid_t uid_t /* config-skip */
1371 # define Uid_t unsigned int /* config-skip */
1375 * This symbol, if defined, indicates to the C program that it should
1376 * include <sys/param.h>.
1380 /* GNUC_ATTRIBUTE_CHECK:
1381 * This symbol indicates the C compiler can check for function attributes,
1382 * such as printf formats.
1384 /* VMS: true for gcc, undef for VAXC/DECC. This is handled in Descrip.MMS
1385 * C. Bailey 26-Aug-1994
1387 /*#define GNUC_ATTRIBUTE_CHECK /**/
1390 * This symbol, if defined, indicates that the closedir() routine
1391 * does not return a value.
1393 #define VOID_CLOSEDIR /**/
1396 * This symbol, if defined, indicates that the dlerror routine is
1399 #undef HAS_DLERROR /**/
1401 /* DLSYM_NEEDS_UNDERSCORE:
1402 * This symbol, if defined, indicates that we need to prepend an
1403 * underscore to the symbol name before calling dlsym(). This only
1404 * makes sense if you *have* dlsym, which we will presume is the
1405 * case if you're using dl_dlopen.xs.
1407 #undef DLSYM_NEEDS_UNDERSCORE /* */
1409 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1410 * This symbol, if defined, indicates that setuid scripts are secure.
1413 * This symbol, if defined, indicates that the C program should
1414 * check the script that it is executing for setuid/setgid bits, and
1415 * attempt to emulate setuid/setgid on systems that have disabled
1416 * setuid #! scripts because the kernel can't do it securely.
1417 * It is up to the package designer to make sure that this emulation
1418 * is done securely. Among other things, it should do an fstat on
1419 * the script it just opened to make sure it really is a setuid/setgid
1420 * script, it should make sure the arguments passed correspond exactly
1421 * to the argument on the #! line, and it should not trust any
1422 * subprocesses to which it must pass the filename rather than the
1423 * file descriptor of the script to be executed.
1425 #undef SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1429 * This manifest constant lets the C program know that the
1430 * isascii is available.
1432 #define HAS_ISASCII /**/
1435 * This symbol, if defined, indicates that the localeconv routine is
1436 * available for numeric and monetary formatting conventions.
1438 #undef HAS_LOCALECONV /**/
1441 * This symbol, if defined, indicates that the mkfifo routine is
1444 #undef HAS_MKFIFO /**/
1447 * This symbol, if defined, indicates that pathconf() is available
1448 * to determine file-system related limits and options associated
1449 * with a given filename.
1452 * This symbol, if defined, indicates that pathconf() is available
1453 * to determine file-system related limits and options associated
1454 * with a given open file descriptor.
1456 #undef HAS_PATHCONF /**/
1457 #undef HAS_FPATHCONF /**/
1460 * This symbol, if defined, indicates that the bcopy routine is available
1461 * to copy potentially overlapping memory blocks. Otherwise you should
1462 * probably use memmove() or memcpy(). If neither is defined, roll your
1465 #undef HAS_SAFE_BCOPY /**/
1468 * This symbol, if defined, indicates that the memcpy routine is available
1469 * to copy potentially overlapping memory blocks. Otherwise you should
1470 * probably use memmove() or memcpy(). If neither is defined, roll your
1473 #define HAS_SAFE_MEMCPY /**/
1476 * This symbol, if defined, indicates that the setpgrp routine is
1477 * available to set the current process group.
1480 * This symbol, if defined, indicates that the BSD notion of process
1481 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1482 * instead of the USG setpgrp().
1484 #undef HAS_SETPGRP /**/
1485 #undef USE_BSDPGRP /**/
1488 * This symbol, if defined, indicates that sysconf() is available
1489 * to determine system related limits and options.
1491 #undef HAS_SYSCONF /**/
1494 * This preprocessor macro is defined to convert a floating point
1495 * number to a string without a trailing decimal point. This
1496 * emulates the behavior of sprintf("%g"), but is sometimes much more
1497 * efficient. If gconvert() is not available, but gcvt() drops the
1498 * trailing decimal point, then gcvt() is used. If all else fails,
1499 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1500 * macro are: value, number of digits, whether trailing zeros should
1501 * be retained, and the output buffer.
1502 * Possible values are:
1503 * d_Gconvert='gconvert((x),(n),(t),(b))'
1504 * d_Gconvert='gcvt((x),(n),(b))'
1505 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1506 * The last two assume trailing zeros should not be kept.
1508 #define Gconvert(x,n,t,b) my_gconvert(x,n,t,b)
1511 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1514 * This macro is used in the same way as sigsetjmp(), but will invoke
1515 * traditional setjmp() if sigsetjmp isn't available.
1518 * This macro is used in the same way as siglongjmp(), but will invoke
1519 * traditional longjmp() if siglongjmp isn't available.
1521 #undef HAS_SIGSETJMP /**/
1522 #ifdef HAS_SIGSETJMP
1523 #define Sigjmp_buf sigjmp_buf /* config-skip */
1524 #define Sigsetjmp(buf,save_mask) sigsetjmp(buf,save_mask) /* config-skip */
1525 #define Siglongjmp(buf,retval) siglongjmp(buf,retval) /* config-skip */
1527 #define Sigjmp_buf jmp_buf /* config-skip */
1528 #define Sigsetjmp(buf,save_mask) setjmp(buf) /* config-skip */
1529 #define Siglongjmp(buf,retval) longjmp(buf,retval) /* config-skip */
1532 /* USE_DYNAMIC_LOADING:
1533 * This symbol, if defined, indicates that dynamic loading of
1534 * some sort is available.
1536 #define USE_DYNAMIC_LOADING /**/
1539 * This variable contains the string to put in front of a perl
1540 * script to make sure (one hopes) that it runs with perl and not
1543 #define STARTPERL "" /**/
1546 * This symbol indicates how much support of the void type is given by this
1547 * compiler. What various bits mean:
1549 * 1 = supports declaration of void
1550 * 2 = supports arrays of pointers to functions returning void
1551 * 4 = supports comparisons between pointers to void functions and
1552 * addresses of void functions
1553 * 8 = suports declaration of generic void pointers
1555 * The package designer should define VOIDUSED to indicate the requirements
1556 * of the package. This can be done either by #defining VOIDUSED before
1557 * including config.h, or by defining defvoidused in Myinit.U. If the
1558 * latter approach is taken, only those flags will be tested. If the
1559 * level of void support necessary is not present, defines void to int.
1564 #define VOIDFLAGS 15
1565 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1566 #define void int /* is void to be avoided? */ /* config-skip */
1567 #define M_VOID /* Xenix strikes again */ /* config-skip */
1570 #ifdef VMS_DO_SOCKETS
1572 * This symbol, if defined, indicates that the BSD socket interface is
1576 * This symbol, if defined, indicates that the BSD socketpair() call is
1579 #define HAS_SOCKET /**/ /* config-skip */
1580 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1583 * This symbol, if defined, indicates that the gethostent routine is
1584 * available to lookup host names in some data base or other.
1586 #define HAS_GETHOSTENT /**/ /* config-skip */
1588 /* VMS: In general, TCP/IP header files should be included from
1589 * sockadapt.h, instead of here, in order to keep the TCP/IP code
1590 * together as much as possible.
1593 * This symbol, if defined, indicates to the C program that it should
1594 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1596 #undef I_NETINET_IN /**/ /* config-skip */
1599 * This symbol holds the type used for the second argument to
1600 * getgroups(). Usually, this is the same of gidtype, but
1601 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1602 * It may be necessary to include <sys/types.h> to get any
1603 * typedef'ed information. This is only required if you have
1606 #ifdef HAS_GETGROUPS
1607 #define Groups_t unsigned int /* Type for 2nd arg to getgroups() */ /* config-skip */
1611 * This symbol contains the type of the prefix structure element
1612 * in the <db.h> header file. In older versions of DB, it was
1613 * int, while in newer ones it is u_int32_t.
1616 * This symbol contains the type of the prefix structure element
1617 * in the <db.h> header file. In older versions of DB, it was
1618 * int, while in newer ones it is size_t.
1620 #undef DB_Hash_t /**/
1621 #undef DB_Prefix_t /**/
1624 * This symbol, if defined, indicates that <net/errno.h> exists and
1625 * should be included.
1627 #undef I_NET_ERRNO /**/ /* config-skip */
1630 * This symbol, if defined, indicates that the select routine is
1631 * available to select active file descriptors. If the timeout field
1632 * is used, <sys/time.h> may need to be included.
1634 #define HAS_SELECT /**/ /* config-skip */
1636 #else /* VMS_DO_SOCKETS */
1638 #undef HAS_SOCKET /**/ /* config-skip */
1639 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1640 #undef HAS_GETHOSTENT /**/ /* config-skip */
1641 #undef I_NETINET_IN /**/ /* config-skip */
1642 #undef I_NET_ERRNO /**/ /* config-skip */
1643 #undef HAS_SELECT /**/ /* config-skip */
1645 #endif /* !VMS_DO_SOCKETS */