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: 19-Nov-1996 23:34
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 is the
67 * same as PRIVLIB, it is not defined, since presumably the
68 * program already searches PRIVLIB.
71 * This symbol contains the ~name expanded version of ARCHLIB, to be used
72 * in programs that are not prepared to deal with ~ expansion at run-time.
75 * This value is automatically updated by FndVers.Com
76 * when Perl is built. Please do not change it by hand; make
77 * any changes to FndVers.Com instead.
79 #define ARCHLIB_EXP "/perl_root/lib/VMS_VAX/5_004" /**/
80 #define ARCHLIB ARCHLIB_EXP /*config-skip*/
83 * This symbol holds a string representing the architecture name.
84 * It may be used to construct an architecture-dependant pathname
85 * where library files may be held under a private library, for
88 #define ARCHNAME "VMS_VAX" /**/
91 * This symbol, if defined, indicates that Perl 5.004 should be
92 * binary-compatible with Perl 5.003.
97 * This symbol contains the first part of the string which will invoke
98 * the C preprocessor on the standard input and produce to standard
99 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
100 * call a wrapper. See CPPRUN.
103 * This symbol contains the second part of the string which will invoke
104 * the C preprocessor on the standard input and produce to standard
105 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
106 * to specify standard input, otherwise the value is "".
108 #define CPPSTDIN "cc/noobj/preprocess=sys$output sys$input"
112 * This symbol is defined if the bcmp() routine is available to
113 * compare blocks of memory.
115 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
116 #define HAS_BCMP /**/
118 #undef HAS_BCMP /*config-skip*/
121 #include <string.h> /* Check whether new DECC has #defined bcopy and bzero */
123 * This symbol is defined if the bcopy() routine is available to
124 * copy blocks of memory.
126 #undef HAS_BCOPY /**/
128 # define HAS_BCOPY /*config-skip*/
132 * This symbol is defined if the bzero() routine is available to
133 * set a memory block to 0.
135 #undef HAS_BZERO /**/
137 # define HAS_BZERO /*config-skip*/
141 * This symbol is defined if the C compiler can cast negative
142 * numbers to unsigned longs, ints and shorts.
145 * This symbol contains flags that say what difficulties the compiler
146 * has casting odd floating values to unsigned long:
148 * 1 = couldn't cast < 0
149 * 2 = couldn't cast >= 0x80000000
151 #define CASTNEGFLOAT /**/
152 #define CASTFLAGS 0 /**/
155 * This symbol, if defined, indicates that the chsize routine is available
156 * to truncate files. You might need a -lx to get this routine.
158 #undef HAS_CHSIZE /**/
161 * This symbol, if defined, indicates that this C compiler knows about
162 * the const type. There is no need to actually test for that symbol
163 * within your programs. The mere use of the "const" keyword will
164 * trigger the necessary tests.
166 #define HASCONST /**/
169 * This symbol, if defined, indicates that the crypt routine is available
170 * to encrypt passwords and the like.
172 #define HAS_CRYPT /**/
175 * This symbol hold the hexadecimal constant defined in byteorder,
176 * i.e. 0x1234 or 0x4321, etc...
178 #define BYTEORDER 0x1234 /* large digits for MSB */
181 * This symbol, if defined, indicates that the C-shell exists.
182 * If defined, contains the full pathname of csh.
187 * This symbol, if defined, indicates that the dup2 routine is
188 * available to duplicate file descriptors.
190 #define HAS_DUP2 /**/
193 * This symbol, if defined, indicates that the fchmod routine is available
194 * to change mode of opened files. If unavailable, use chmod().
196 #undef HAS_FCHMOD /**/
199 * This symbol, if defined, indicates that the fchown routine is available
200 * to change ownership of opened files. If unavailable, use chown().
202 #undef HAS_FCHOWN /**/
205 * This symbol, if defined, indicates to the C program that
206 * the fcntl() function exists.
208 #undef HAS_FCNTL /**/
211 * This symbol, if defined, indicates that the fgetpos routine is
212 * available to get the file position indicator, similar to ftell().
214 #define HAS_FGETPOS /**/
217 * This symbol, if defined, indicates that the system supports filenames
218 * longer than 14 characters.
220 #define FLEXFILENAMES /**/
223 * This symbol, if defined, indicates that the flock routine is
224 * available to do file locking.
226 #undef HAS_FLOCK /**/
229 * This symbol, if defined, indicates that the fsetpos routine is
230 * available to set the file position indicator, similar to fseek().
232 #define HAS_FSETPOS /**/
235 * This symbol, if defined, indicates that the gettimeofday() system
236 * call is available for a sub-second accuracy clock. Usually, the file
237 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
238 * The type "Timeval" should be used to refer to "struct timeval".
240 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
241 #define HAS_GETTIMEOFDAY /**/
243 #undef HAS_GETTIMEOFDAY /*config-skip*/
245 #ifdef HAS_GETTIMEOFDAY
246 # define Timeval struct timeval /*config-skip*/
250 * This symbol, if defined, indicates that the getgroups() routine is
251 * available to get the list of process groups. If unavailable, multiple
252 * groups are probably not supported.
255 * This symbol, if defined, indicates that the setgroups() routine is
256 * available to set the list of process groups. If unavailable, multiple
257 * groups are probably not supported.
259 #undef HAS_GETGROUPS /**/
260 #undef HAS_SETGROUPS /**/
263 * This symbol, if defined, indicates that the C program may use the
264 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
267 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
268 #define HAS_UNAME /**/
270 #undef HAS_UNAME /*config-skip*/
274 * This symbol, if defined, indicates that the getpriority routine is
275 * available to get a process's priority.
277 #undef HAS_GETPRIORITY /**/
280 * This symbol, if defined, indicates that the killpg routine is available
281 * to kill process groups. If unavailable, you probably should use kill
282 * with a negative process number.
284 #undef HAS_KILLPG /**/
287 * This symbol, if defined, indicates that the link routine is
288 * available to create hard links.
293 * This symbol, if defined, indicates that the lstat routine is
294 * available to do file stats on symbolic links.
296 #undef HAS_LSTAT /**/
299 * This symbol, if defined, indicates that the lockf routine is
300 * available to do file locking.
302 #undef HAS_LOCKF /**/
305 * This symbol, if defined, indicates that the mbstowcs routine is
306 * available to covert a multibyte string into a wide character string.
309 # define HAS_MBSTOWCS /*config-skip*/
311 # undef HAS_MBSTOWCS /*config-skip*/
315 * This symbol, if defined, indicates that the mbtowc routine is available
316 * to covert a multibyte to a wide character.
319 # define HAS_MBTOWC /*config-skip*/
321 # undef HAS_MBTOWC /*config-skip*/
325 * This symbol, if defined, indicates that the memcmp routine is available
326 * to compare blocks of memory.
328 #define HAS_MEMCMP /**/
331 * This symbol, if defined, indicates that the memcpy routine is available
332 * to copy blocks of memory.
334 #define HAS_MEMCPY /**/
337 * This symbol, if defined, indicates that the memmove routine is available
338 * to copy potentially overlapping blocks of memory. This should be used
339 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
342 #define HAS_MEMMOVE /**/
345 * This symbol, if defined, indicates that the memset routine is available
346 * to set blocks of memory.
348 #define HAS_MEMSET /**/
351 * This symbol, if defined, indicates that the mkdir routine is available
352 * to create directories. Otherwise you should fork off a new process to
355 #define HAS_MKDIR /**/
358 * This symbol, if defined, indicates that the entire msg*(2) library is
359 * supported (IPC mechanism based on message queues).
364 * This manifest constant lets the C program know that the three
365 * argument form of open(2) is available.
367 #define HAS_OPEN3 /**/
370 * This symbol, if defined, indicates that the poll routine is
371 * available to poll active file descriptors.
376 * This symbol, if defined, indicates that the readdir routine is
377 * available to read directory entries. You may have to include
378 * <dirent.h>. See I_DIRENT.
380 #define HAS_READDIR /**/
383 * This symbol, if defined, indicates that the seekdir routine is
384 * available. You may have to include <dirent.h>. See I_DIRENT.
386 #define HAS_SEEKDIR /**/
389 * This symbol, if defined, indicates that the telldir routine is
390 * available. You may have to include <dirent.h>. See I_DIRENT.
392 #define HAS_TELLDIR /**/
395 * This symbol, if defined, indicates that the rewinddir routine is
396 * available. You may have to include <dirent.h>. See I_DIRENT.
398 #define HAS_REWINDDIR /**/
401 * This symbol, if defined, indicates that the rename routine is available
402 * to rename files. Otherwise you should do the unlink(), link(), unlink()
405 #define HAS_RENAME /**/
408 * This symbol, if defined, indicates that the rmdir routine is
409 * available to remove directories. Otherwise you should fork off a
410 * new process to exec /bin/rmdir.
412 #define HAS_RMDIR /**/
415 * This symbol, if defined, indicates that the entire sem*(2) library is
421 * This symbol, if defined, indicates that the setegid routine is available
422 * to change the effective gid of the current program.
424 #undef HAS_SETEGID /**/
427 * This symbol, if defined, indicates that the seteuid routine is available
428 * to change the effective uid of the current program.
430 #undef HAS_SETEUID /**/
434 * This symbol, if defined, indicates that the setpriority routine is
435 * available to set a process's priority.
437 #undef HAS_SETPRIORITY /**/
440 * This symbol, if defined, indicates that the setregid routine is
441 * available to change the real and effective gid of the current
445 * This symbol, if defined, indicates that the setresgid routine is
446 * available to change the real, effective and saved gid of the current
449 #undef HAS_SETREGID /**/
450 #undef HAS_SETRESGID /**/
453 * This symbol, if defined, indicates that the setreuid routine is
454 * available to change the real and effective uid of the current
458 * This symbol, if defined, indicates that the setresuid routine is
459 * available to change the real, effective and saved uid of the current
462 #undef HAS_SETREUID /**/
463 #undef HAS_SETRESUID /**/
466 * This symbol, if defined, indicates that the setrgid routine is available
467 * to change the real gid of the current program.
469 #undef HAS_SETRGID /**/
472 * This symbol, if defined, indicates that the setruid routine is available
473 * to change the real uid of the current program.
475 #undef HAS_SETRUID /**/
478 * This symbol, if defined, indicates that the setsid routine is
479 * available to set the process group ID.
481 #undef HAS_SETSID /**/
484 * This symbol, if defined, indicates that the entire shm*(2) library is
490 * This symbol holds the return type of the shmat() system call.
491 * Usually set to 'void *' or 'char *'.
493 /* HAS_SHMAT_PROTOTYPE:
494 * This symbol, if defined, indicates that the sys/shm.h includes
495 * a prototype for shmat(). Otherwise, it is up to the program to
496 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
497 * but not always right so it should be emitted by the program only
498 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
500 #undef Shmat_t /**/ /* config-skip */
501 #undef HAS_SHMAT_PROTOTYPE /**/
504 * This symbol, if defined, indicates that Vr4's sigaction() routine
507 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
508 #define HAS_SIGACTION /**/
510 #undef HAS_SIGACTION /*config-skip*/
514 * This symbol is defined if this system has a stat structure declaring
515 * st_blksize and st_blocks.
517 #undef USE_STAT_BLOCKS /**/
520 * This symbol is defined if the _ptr and _cnt fields (or similar)
521 * of the stdio FILE structure can be used to access the stdio buffer
522 * for a file handle. If this is defined, then the FILE_ptr(fp)
523 * and FILE_cnt(fp) macros will also be defined and should be used
524 * to access these fields.
527 * This symbol is defined if the _base field (or similar) of the
528 * stdio FILE structure can be used to access the stdio buffer for
529 * a file handle. If this is defined, then the FILE_base(fp) macro
530 * will also be defined and should be used to access this field.
531 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
532 * to determine the number of bytes in the buffer. USE_STDIO_BASE
533 * will never be defined unless USE_STDIO_PTR is.
536 * This symbol is defined if the FILE_ptr macro can be used as an
540 * This symbol is defined if the FILE_cnt macro can be used as an
544 # define USE_STDIO_PTR /*config-skip*/
545 # define USE_STDIO_BASE /*config-skip*/
546 # define STDIO_PTR_LVALUE /*config-skip*/
547 # define STDIO_CNT_LVALUE /*config-skip*/
549 # undef USE_STDIO_PTR /*config-skip*/
550 # undef USE_STDIO_BASE /*config-skip*/
551 # undef STDIO_PTR_LVALUE /*config-skip*/
552 # undef STDIO_CNT_LVALUE /*config-skip*/
556 * This macro is used to access the _ptr field (or equivalent) of the
557 * FILE structure pointed to by its argument. This macro will always be
558 * defined if USE_STDIO_PTR is defined.
561 * This macro is used to access the _cnt field (or equivalent) of the
562 * FILE structure pointed to by its argument. This macro will always be
563 * defined if USE_STDIO_PTR is defined.
566 # define FILE_ptr(fp) ((*fp)->_ptr)
567 # define FILE_cnt(fp) ((*fp)->_cnt)
571 * This macro is used to access the _base field (or equivalent) of the
572 * FILE structure pointed to by its argument. This macro will always be
573 * defined if USE_STDIO_BASE is defined.
576 * This macro is used to determine the number of bytes in the I/O
577 * buffer pointed to by _base field (or equivalent) of the FILE
578 * structure pointed to its argument. This macro will always be defined
579 * if USE_STDIO_BASE is defined.
581 #ifdef USE_STDIO_BASE
582 # define FILE_base(fp) ((*fp)->_base)
583 # define FILE_bufsiz(fp) ((*fp)->_cnt + (*fp)->_ptr - (*fp)->_base)
587 * This symbol, if defined, indicates that this C compiler knows how
588 * to copy structures. If undefined, you'll need to use a block copy
589 * routine of some sort instead.
591 #define USE_STRUCT_COPY /**/
594 * This symbol, if defined, indicates that the strerror routine is
595 * available to translate error numbers to strings. See the writeup
596 * of Strerror() in this file before you try to define your own.
599 * This symbol, if defined, indicates that the sys_errlist array is
600 * available to translate error numbers to strings. The extern int
601 * sys_nerr gives the size of that table.
604 * This preprocessor symbol is defined as a macro if strerror() is
605 * not available to translate error numbers to strings but sys_errlist[]
608 #define HAS_STRERROR /**/
609 #undef HAS_SYS_ERRLIST /**/
610 #define Strerror(e) strerror((e),vaxc$errno)
613 * This symbol, if defined, indicates that the symlink routine is available
614 * to create symbolic links.
616 #undef HAS_SYMLINK /**/
619 * This symbol, if defined, indicates that the syscall routine is
620 * available to call arbitrary system calls. If undefined, that's tough.
622 #undef HAS_SYSCALL /**/
625 * This symbol, if defined, indicates that the system routine is
626 * available to issue a shell command.
628 #define HAS_SYSTEM /**/
631 * This symbol holds the type returned by time(). It can be long,
632 * or time_t on BSD sites (in which case <sys/types.h> should be
635 #define Time_t time_t /* Time type */
638 * This symbol, if defined, indicates that the truncate routine is
639 * available to truncate files.
641 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
642 #define HAS_TRUNCATE /**/
644 #undef HAS_TRUNCATE /*config-skip*/
649 * This symbol, if defined, indicates that vfork() exists.
651 #define HAS_VFORK /**/
654 * This symbol's value is either "void" or "int", corresponding to the
655 * appropriate return type of a signal handler. Thus, you can declare
656 * a signal handler using "Signal_t (*handler)()", and define the
657 * handler using "Signal_t handler(sig)".
659 #define Signal_t void /* Signal handler's return type */
662 * This symbol, if defined, indicates that this C compiler knows about
663 * the volatile declaration.
665 #define HASVOLATILE /**/
667 #define volatile /* config-skip */
671 * This symbol, if defined, indicates that the vprintf routine is available
672 * to printf with a pointer to an argument list. If unavailable, you
673 * may need to write your own, probably in terms of _doprnt().
675 /* USE_CHAR_VSPRINTF:
676 * This symbol is defined if this system has vsprintf() returning type
677 * (char*). The trend seems to be to declare it as "int vsprintf()". It
678 * is up to the package author to declare vsprintf correctly based on the
681 #define HAS_VPRINTF /**/
682 #undef USE_CHAR_VSPRINTF /**/
685 * This symbol, if defined, indicates that wait4() exists.
687 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
688 #define HAS_WAIT4 /**/
690 #undef HAS_WAIT4 /*config-skip*/
694 * This symbol, if defined, indicates that the waitpid routine is
695 * available to wait for child process.
697 #define HAS_WAITPID /**/
700 * This symbol, if defined, indicates that the wcstombs routine is
701 * available to convert wide character strings to multibyte strings.
704 # define HAS_WCSTOMBS /*config-skip*/
706 # undef HAS_WCSTOMBS /*config-skip*/
710 * This symbol, if defined, indicates to the C program that it should
711 * include <dirent.h>. Using this symbol also triggers the definition
712 * of the Direntry_t define which ends up being 'struct dirent' or
713 * 'struct direct' depending on the availability of <dirent.h>.
716 * This symbol, if defined, indicates to the C program that the length
717 * of directory entry names is provided by a d_namlen field. Otherwise
718 * you need to do strlen() on the d_name field.
721 #define DIRNAMLEN /**/
722 #define Direntry_t struct dirent
725 * This manifest constant tells the C program to include <fcntl.h>.
730 * This symbol, if defined, indicates to the C program that it should
736 * This symbol, if defined, indicates to the C program that it should
737 * include <limits.h> to get definition of symbols like WORD_BIT or
738 * LONG_MAX, i.e. machine dependant limitations.
740 #define I_LIMITS /**/
743 * This symbol, if defined, indicates to the C program that it should
744 * include <memory.h>.
749 * This symbol, if defined, indicates that ndbm.h exists and should
755 * This symbol, if defined, indicates that <stdarg.h> exists and should
758 #define I_STDARG /**/
761 * This symbol, if defined, indicates to the C program that it should
765 * This symbol, if defined, indicates to the C program that struct passwd
769 * This symbol, if defined, indicates to the C program that struct passwd
773 * This symbol, if defined, indicates to the C program that struct passwd
774 * contains pw_change.
777 * This symbol, if defined, indicates to the C program that struct passwd
781 * This symbol, if defined, indicates to the C program that struct passwd
782 * contains pw_expire.
785 * This symbol, if defined, indicates to the C program that struct passwd
786 * contains pw_comment.
794 #define PWCOMMENT /**/
797 * This symbol, if defined, indicates that <stddef.h> exists and should
800 #define I_STDDEF /**/
803 * This symbol, if defined, indicates that <stdlib.h> exists and should
806 #define I_STDLIB /**/
809 * This symbol, if defined, indicates to the C program that it should
810 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
812 #define I_STRING /**/
815 * This symbol, if defined, indicates to the C program that it should
816 * include <sys/dir.h>.
818 #undef I_SYS_DIR /**/
821 * This symbol, if defined, indicates to the C program that it should
822 * include <sys/file.h> to get definition of R_OK and friends.
824 #undef I_SYS_FILE /**/
827 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
828 * be included. Otherwise, include <sgtty.h> or <termio.h>.
830 #undef I_SYS_IOCTL /**/
833 * This symbol, if defined, indicates to the C program that it should
834 * include <sys/ndir.h>.
836 #undef I_SYS_NDIR /**/
839 * This symbol, if defined, indicates to the C program that it should
840 * include <sys/resource.h>.
842 #undef I_SYS_RESOURCE /**/
845 * This symbol, if defined, indicates to the C program that it should
846 * include <sys/select.h> in order to get definition of struct timeval.
848 #undef I_SYS_SELECT /**/
851 * This symbol, if defined, indicates that <dbm.h> exists and should
855 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
856 * should be included.
859 #undef I_RPCSVC_DBM /**/
862 * This symbol, if defined, indicates to the C program that it should
868 * This symbol, if defined, indicates to the C program that it should
869 * include <sys/stat.h>.
871 #define I_SYS_STAT /**/
874 * This symbol, if defined, indicates to the C program that it should
875 * include <sys/times.h>.
877 #undef I_SYS_TIMES /**/
880 * This symbol, if defined, indicates to the C program that it should
881 * include <sys/types.h>.
883 #define I_SYS_TYPES /**/
886 * This symbol, if defined, indicates to the C program that it should
887 * include <sys/un.h> to get UNIX domain socket definitions.
892 * This symbol, if defined, indicates to the C program that it should
893 * include <sys/wait.h>.
895 #undef I_SYS_WAIT /**/
898 * This symbol, if defined, indicates that the program should include
899 * <termio.h> rather than <sgtty.h>. There are also differences in
900 * the ioctl() calls that depend on the value of this symbol.
903 * This symbol, if defined, indicates that the program should include
904 * the POSIX termios.h rather than sgtty.h or termio.h.
905 * There are also differences in the ioctl() calls that depend on the
906 * value of this symbol.
909 * This symbol, if defined, indicates that the program should include
910 * <sgtty.h> rather than <termio.h>. There are also differences in
911 * the ioctl() calls that depend on the value of this symbol.
915 #undef I_TERMIOS /**/
918 * This symbol, if defined, indicates to the C program that it should
922 * This symbol, if defined, indicates to the C program that it should
923 * include <sys/time.h>.
925 /* I_SYS_TIME_KERNEL:
926 * This symbol, if defined, indicates to the C program that it should
927 * include <sys/time.h> with KERNEL defined.
930 #undef I_SYS_TIME /**/
931 #undef I_SYS_TIME_KERNEL /**/
934 * This symbol, if defined, indicates to the C program that it should
935 * include <unistd.h>.
940 * This symbol, if defined, indicates to the C program that it should
946 * This symbol, if defined, indicates to the C program that it should
947 * include <varargs.h>.
949 #undef I_VARARGS /**/
953 * This symbol, if defined, indicates to the C program that it should
959 * If defined, this macro indicates that the C compiler can handle
960 * function prototypes.
963 * This macro is used to declare function parameters for folks who want
964 * to make declarations with prototypes using a different style than
965 * the above macros. Use double parentheses. For example:
967 * int main _((int argc, char *argv[]));
969 #define CAN_PROTOTYPE /**/
971 #define _(args) args /* config-skip */
973 #define _(args) () /* config-skip */
977 * This symbol contains the number of bits of random number the rand()
978 * function produces. Usual values are 15, 16, and 31.
980 #define RANDBITS 31 /**/
984 * This symbol holds the type used for the 2nd, 3rd, and 4th
985 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
986 * is defined, and 'int *' otherwise. This is only useful if you
987 * have select(), of course.
989 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 50200000) && defined(DECCRTL_SOCKETS)
990 #define Select_fd_set_t fd_set * /**/
992 #define Select_fd_set_t int * /* config-skip */
996 * This symbol is defined to be the type of char used in stdio.h.
997 * It has the values "unsigned char" or "char".
999 #define STDCHAR char /**/
1001 /* UNLINK_ALL_VERSIONS:
1002 * This symbol, if defined, indicates that the program should arrange
1003 * to remove all versions of a file if unlink() is called.
1005 #undef UNLINK_ALL_VERSIONS /**/
1008 * This symbol holds the complete pathname to the sed program.
1010 #define LOC_SED "_NLA0:" /**/
1013 * This symbol holds the path of the bin directory where the package will
1014 * be installed. Program must be prepared to deal with ~name substitution.
1017 * This symbol is the filename expanded version of the BIN symbol, for
1018 * programs that do not want to deal with that at run-time.
1020 #define BIN "/perl_root/000000" /**/
1021 #define BIN_EXP "/perl_root/000000" /**/
1024 * This symbol, if defined, indicates that the alarm routine is
1027 #define HAS_ALARM /**/
1030 * This symbol indicates the C compiler can check for function attributes,
1031 * such as printf formats. This is normally only supported by GNU cc.
1034 # define HASATTRIBUTE /*config-skip*/
1036 # undef HASATTRIBUTE /*config-skip*/
1038 #ifndef HASATTRIBUTE
1039 #define __attribute__(_arg_)
1043 * This symbol is defined if the C compiler can cast negative
1044 * or large floating point numbers to 32-bit ints.
1046 #define CASTI32 /**/
1049 * This symbol, if defined, indicates that the chown routine is
1052 #define HAS_CHOWN /**/
1055 * This symbol, if defined, indicates that the chroot routine is
1058 #undef HAS_CHROOT /**/
1061 * This symbol, if defined, indicates that the cuserid routine is
1062 * available to get character login names.
1064 #define HAS_CUSERID /**/
1067 * This symbol, if defined, indicates that this system's <float.h>
1068 * or <limits.h> defines the symbol DBL_DIG, which is the number
1069 * of significant digits in a double precision number. If this
1070 * symbol is not defined, a guess of 15 is usually pretty good.
1072 #define HAS_DBL_DIG /* */
1075 * This symbol, if defined, indicates that the difftime routine is
1078 #define HAS_DIFFTIME /**/
1081 * This symbol, if defined, indicates that the fork routine is
1084 /* VMS: In vmsish.h, fork is #defined to vfork. This kludge gets around
1085 * some obsolete code in pp.c, which should be fixed in its own right
1086 * sometime. - C. Bailey 26-Aug-1994
1088 #define HAS_FORK /**/
1091 * This symbol, if defined, indicates that the getlogin routine is
1094 #define HAS_GETLOGIN /**/
1097 * This symbol, if defined, indicates that the getppid routine is
1100 #undef HAS_GETPPID /**/
1103 * This symbol, if defined, indicates that the htonl() routine (and
1104 * friends htons() ntohl() ntohs()) are available to do network
1105 * order byte swapping.
1108 * This symbol, if defined, indicates that the htons() routine (and
1109 * friends htonl() ntohl() ntohs()) are available to do network
1110 * order byte swapping.
1113 * This symbol, if defined, indicates that the ntohl() routine (and
1114 * friends htonl() htons() ntohs()) are available to do network
1115 * order byte swapping.
1118 * This symbol, if defined, indicates that the ntohs() routine (and
1119 * friends htonl() htons() ntohl()) are available to do network
1120 * order byte swapping.
1122 #define HAS_HTONL /**/
1123 #define HAS_HTONS /**/
1124 #define HAS_NTOHL /**/
1125 #define HAS_NTOHS /**/
1128 * This symbol, if defined, indicates that the mblen routine is available
1129 * to find the number of bytes in a multibye character.
1132 # define HAS_MBLEN /*config-skip*/
1134 # undef HAS_MBLEN /*config-skip*/
1138 * This symbol, if defined, indicates that the mktime routine is
1142 # define HAS_MKTIME /*config-skip*/
1144 # undef HAS_MKTIME /*config-skip*/
1148 * This symbol, if defined, indicates that the nice routine is
1151 #define HAS_NICE /**/
1154 * This symbol, if defined, indicates that the pause routine is
1157 #define HAS_PAUSE /**/
1160 * This symbol, if defined, indicates that the pipe routine is
1163 #define HAS_PIPE /**/
1166 * This symbol, if defined, indicates that the readlink routine is
1169 #undef HAS_READLINK /**/
1172 * This symbol, if defined, indicates that the setlinebuf routine is
1173 * available to change stderr or stdout from block-buffered or unbuffered
1174 * to a line-buffered mode.
1176 #undef HAS_SETLINEBUF /**/
1179 * This symbol is defined to indicate that the strchr()/strrchr()
1180 * functions are available for string searching. If not, try the
1181 * index()/rindex() pair.
1184 * This symbol is defined to indicate that the index()/rindex()
1185 * functions are available for string searching.
1187 #define HAS_STRCHR /**/
1188 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1189 #define HAS_INDEX /**/
1191 #undef HAS_INDEX /*config-skip*/
1195 * This symbol, if defined, indicates that the strcoll routine is
1196 * available to compare strings using collating information.
1199 # define HAS_STRCOLL /*config-skip*/
1201 # undef HAS_STRCOLL /*config-skip*/
1205 * This symbol, if defined, indicates that the strtod routine is
1206 * available to provide better numeric string conversion than atof().
1208 #define HAS_STRTOD /**/
1211 * This symbol, if defined, indicates that the strtol routine is available
1212 * to provide better numeric string conversion than atoi() and friends.
1214 #define HAS_STRTOL /**/
1217 * This symbol, if defined, indicates that the strtoul routine is
1218 * available to provide conversion of strings to unsigned long.
1220 #define HAS_STRTOUL /**/
1223 * This symbol, if defined, indicates that the strxfrm() routine is
1224 * available to compare strings using collating information.
1227 # define HAS_STRXFRM /*config-skip*/
1229 # undef HAS_STRXFRM /*config-skip*/
1233 * This symbol, if defined, indicates that the tcgetpgrp routine is
1234 * available to get foreground process group ID.
1236 #undef HAS_TCGETPGRP /**/
1239 * This symbol, if defined, indicates that the tcsetpgrp routine is
1240 * available to set foreground process group ID.
1242 #undef HAS_TCSETPGRP /**/
1245 * This symbol, if defined, indicates that the times() routine exists.
1246 * Note that this became obsolete on some systems (SUNOS), which now
1247 * use getrusage(). It may be necessary to include <sys/times.h>.
1249 #define HAS_TIMES /**/
1252 * This symbol, if defined, indicates that the tzname[] array is
1253 * available to access timezone names.
1255 #undef HAS_TZNAME /**/
1258 * This symbol, if defined, indicates that the umask routine is
1259 * available to get the file creation mask.
1261 #define HAS_UMASK /**/
1264 * This symbol, if defined, indicates that the wctomb routine is available
1265 * to covert a wide character to a multibyte.
1268 # define HAS_WCTOMB /*config-skip*/
1270 # undef HAS_WCTOMB /*config-skip*/
1274 * This symbol holds the type used to declare file positions in libc.
1275 * It can be fpos_t, long, uint, etc... It may be necessary to include
1276 * <sys/types.h> to get any typedef'ed information.
1278 #define Fpos_t fpos_t /* File position type */
1281 * This symbol holds the return type of getgid() and the type of
1282 * argument to setrgid() and related functions. Typically,
1283 * it is the type of group ids in the kernel.
1284 * It can be int, ushort, uid_t, etc... It may be necessary to include
1285 * <sys/types.h> to get any typedef'ed information.
1287 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1288 # define Gid_t gid_t /* config-skip */
1290 # define Gid_t unsigned int /* config-skip */
1294 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1300 * This symbol, if defined, indicates to the C program that it should
1301 * include <float.h> to get definition of symbols like DBL_MAX or
1302 * DBL_MIN, i.e. machine dependent floating point values.
1304 #define I_FLOAT /**/
1307 * This symbol, if defined, indicates to the C program that it should
1313 * This symbol contains the size of an int, so that the C preprocessor
1314 * can make decisions based on it.
1317 * This symbol contains the value of sizeof(long) so that the C
1318 * preprocessor can make decisions based on it.
1321 * This symbol contains the value of sizeof(short) so that the C
1322 * preprocessor can make decisions based on it.
1324 #define INTSIZE 4 /**/
1325 #define LONGSIZE 4 /**/
1326 #define SHORTSIZE 2 /**/
1329 * This symbol holds the type used to declare offsets in the kernel.
1330 * It can be int, long, off_t, etc... It may be necessary to include
1331 * <sys/types.h> to get any typedef'ed information.
1333 #define Off_t int /* <offset> type */
1336 * This symbol, if defined, indicates to the C program that it should
1337 * include <values.h> to get definition of symbols like MINFLOAT or
1338 * MAXLONG, i.e. machine dependant limitations. Probably, you
1339 * should use <limits.h> instead, if it is available.
1341 #undef I_VALUES /**/
1344 * This variable contains the return type of free(). It is usually
1345 * void, but occasionally int.
1348 * This symbol is the type of pointer returned by malloc and realloc.
1350 #define Malloc_t void * /**/
1351 #define Free_t void /**/
1354 * This symbol, if defined, indicates that we're using our own malloc.
1356 #undef MYMALLOC /**/
1359 * This symbol contains the full pathname to the shell used on this
1360 * on this system to execute Bourne shell scripts. Usually, this will be
1361 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1362 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as D:/bin/sh.
1364 #define SH_PATH "MCR" /**/
1367 * This symbol contains a list of signal names in order. This is intended
1368 * to be used as a static array initialization, like this:
1369 * char *sig_name[] = { SIG_NAME };
1370 * The signals in the list are separated with commas, and each signal
1371 * is surrounded by double quotes. There is no leading SIG in the signal
1372 * name, i.e. SIGQUIT is known as "QUIT". Duplicates are allowed.
1373 * The signal number for sig_name[i] is stored in sig_num[i].
1374 * The last element is 0 to terminate the list with a NULL. This
1375 * corresponds to the 0 at the end of the sig_num list.
1376 * See SIG_NUM and SIG_MAX.
1378 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1379 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE",\
1380 "KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM",\
1381 "ABRT","USR1","USR2","SPARE18","SPARE19","CHLD","CONT",\
1382 "STOP","TSTP","TTIN","TTOU","DEBUG","SPARE27","SPARE28",\
1383 "SPARE29","SPARE30","SPARE31","SPARE32","RTMIN","RTMAX",0 /**/
1385 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE",\
1386 "KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM",\
1387 "ABRT","USR1","USR2",0 /*config-skip*/
1391 * This symbol contains a list of signal number, in the same order as the
1392 * SIG_NAME list. It is suitable for static array initialization, as in:
1393 * int sig_num[] = { SIG_NUM };
1394 * The signals in the list are separated with commas, and the indices
1395 * within that list and the SIG_NAME list match, so it's easy to compute
1396 * the signal name from a number or vice versa at the price of a small
1397 * dynamic linear lookup. Duplicates are allowed, so you can't assume
1398 * sig_num[i] == i. Instead, the signal number corresponding to
1399 * sig_name[i] is sig_number[i].
1400 * The last element is 0, corresponding to the 0 at the end of
1401 * the sig_name list.
1403 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1404 #define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,6,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,64,0 /**/
1406 #define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,6,16,17,0 /*config-skip*/
1410 * This symbol holds the type used to declare file modes
1411 * for systems calls. It is usually mode_t, but may be
1412 * int or unsigned short. It may be necessary to include <sys/types.h>
1413 * to get any typedef'ed information.
1415 #define Mode_t unsigned int /* file mode parameter for system calls*/
1418 * This symbol holds the type used by functions that return
1419 * a count of bytes or an error condition. It must be a signed type.
1420 * It is usually ssize_t, but may be long or int, etc.
1421 * It may be necessary to include <sys/types.h> or <unistd.h>
1422 * to get any typedef'ed information.
1423 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1425 #define SSize_t int /* signed count of bytes */
1428 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1429 * non-blocking I/O for the file descriptor. Note that there is no way
1430 * back, i.e. you cannot turn it blocking again this way. If you wish to
1431 * alternatively switch between blocking and non-blocking, use the
1432 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1435 * This symbol holds the errno error code set by read() when no data was
1436 * present on the non-blocking file descriptor.
1439 * This symbol holds the return code from read() when no data is present
1440 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1441 * not defined, then you can't distinguish between no data and EOF by
1442 * issuing a read(). You'll have to find another way to tell for sure!
1445 * This symbol, if defined, indicates to the C program that a read() on
1446 * a non-blocking file descriptor will return 0 on EOF, and not the value
1447 * held in RD_NODATA (-1 usually, in that case!).
1449 #undef VAL_O_NONBLOCK
1455 * This variable, if defined, holds the name of the directory in
1456 * which the user has perl5.000 or perl5.001 architecture-dependent
1457 * public library files for $package. For the most part, these
1458 * files will work with 5.002 (and later), but that is not
1462 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1463 * used in programs that are not prepared to deal with ~ expansion at
1467 * This value is automatically updated by FndVers.Com
1468 * when Perl is built. Please do not change it by hand; make
1469 * any changes to FndVers.Com instead.
1471 #define OLDARCHLIB_EXP "/perl_root/lib/VMS_VAX" /**/
1472 #define OLDARCHLIB OLDARCHLIB_EXP /*config-skip*/
1475 * This symbol contains the name of the private library for this package.
1476 * The library is private in the sense that it needn't be in anyone's
1477 * execution path, but it should be accessible by the world. The program
1478 * should be prepared to do ~ expansion.
1481 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1482 * in programs that are not prepared to deal with ~ expansion at run-time.
1484 #define PRIVLIB_EXP "/perl_root/lib" /**/
1485 #define PRIVLIB PRIVLIB_EXP /*config-skip*/
1488 * This symbol contains the name of the private library for this package.
1489 * The library is private in the sense that it needn't be in anyone's
1490 * execution path, but it should be accessible by the world. The program
1491 * should be prepared to do ~ expansion.
1492 * The standard distribution will put nothing in this directory.
1493 * Individual sites may place their own extensions and modules in
1497 * This symbol contains the ~name expanded version of SITELIB, to be used
1498 * in programs that are not prepared to deal with ~ expansion at run-time.
1500 #define SITELIB_EXP "/perl_root/lib/site_perl" /**/
1501 #define SITELIB SITELIB_EXP /*config-skip*/
1504 * This symbol contains the name of the private library for this package.
1505 * The library is private in the sense that it needn't be in anyone's
1506 * execution path, but it should be accessible by the world. The program
1507 * should be prepared to do ~ expansion.
1508 * The standard distribution will put nothing in this directory.
1509 * Individual sites may place their own extensions and modules in
1513 * This symbol contains the ~name expanded version of SITEARCH, to be used
1514 * in programs that are not prepared to deal with ~ expansion at run-time.
1517 * This value is automatically updated by FndVers.Com
1518 * when Perl is built. Please do not change it by hand; make
1519 * any changes to FndVers.Com instead.
1521 #define SITEARCH_EXP "/perl_root/lib/site_perl/VMS_VAX" /**/
1522 #define SITEARCH SITEARCH_EXP /*config-skip*/
1525 * This symbol holds the type used to declare length parameters
1526 * for string functions. It is usually size_t, but may be
1527 * unsigned long, int, etc. It may be necessary to include
1528 * <sys/types.h> to get any typedef'ed information.
1530 #define Size_t size_t /* length paramater for string functions */
1533 * This symbol holds the type used to declare user ids in the kernel.
1534 * It can be int, ushort, uid_t, etc... It may be necessary to include
1535 * <sys/types.h> to get any typedef'ed information.
1537 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1538 # define Uid_t uid_t /* config-skip */
1540 # define Uid_t unsigned int /* config-skip */
1544 * This symbol, if defined, indicates to the C program that it should
1545 * include <sys/param.h>.
1550 * This symbol, if defined, indicates that the closedir() routine
1551 * does not return a value.
1553 #define VOID_CLOSEDIR /**/
1556 * This symbol, if defined, indicates that the dlerror routine is
1559 #undef HAS_DLERROR /**/
1561 /* DLSYM_NEEDS_UNDERSCORE:
1562 * This symbol, if defined, indicates that we need to prepend an
1563 * underscore to the symbol name before calling dlsym(). This only
1564 * makes sense if you *have* dlsym, which we will presume is the
1565 * case if you're using dl_dlopen.xs.
1567 #undef DLSYM_NEEDS_UNDERSCORE /* */
1569 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1570 * This symbol, if defined, indicates that setuid scripts are secure.
1573 * This symbol, if defined, indicates that the C program should
1574 * check the script that it is executing for setuid/setgid bits, and
1575 * attempt to emulate setuid/setgid on systems that have disabled
1576 * setuid #! scripts because the kernel can't do it securely.
1577 * It is up to the package designer to make sure that this emulation
1578 * is done securely. Among other things, it should do an fstat on
1579 * the script it just opened to make sure it really is a setuid/setgid
1580 * script, it should make sure the arguments passed correspond exactly
1581 * to the argument on the #! line, and it should not trust any
1582 * subprocesses to which it must pass the filename rather than the
1583 * file descriptor of the script to be executed.
1585 #undef SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1589 * This symbol, if defined, indicates to the C program that the
1590 * inet_aton() function is available to parse IP address "dotted-quad"
1592 * VMS: SocketShr doesn't support this, so we let the Socket extension
1595 #undef HAS_INET_ATON /**/
1598 * This manifest constant lets the C program know that the
1599 * isascii is available.
1601 #define HAS_ISASCII /**/
1604 * This symbol, if defined, indicates that the setlocale routine is
1605 * available to handle locale-specific ctype implementations.
1608 * This symbol, if defined, indicates to the C program that it should
1609 * include <locale.h>.
1612 * This symbol, if defined, indicates that the localeconv routine is
1613 * available for numeric and monetary formatting conventions.
1616 # define I_LOCALE /*config-skip*/
1617 # define HAS_SETLOCALE /*config-skip*/
1618 # define HAS_LOCALECONV /*config-skip*/
1620 # undef I_LOCALE /*config-skip*/
1621 # undef HAS_SETLOCALE /*config-skip*/
1622 # undef HAS_LOCALECONV /*config-skip*/
1626 * This symbol, if defined, indicates that the mkfifo routine is
1629 #undef HAS_MKFIFO /**/
1632 * This symbol, if defined, indicates that pathconf() is available
1633 * to determine file-system related limits and options associated
1634 * with a given filename.
1637 * This symbol, if defined, indicates that pathconf() is available
1638 * to determine file-system related limits and options associated
1639 * with a given open file descriptor.
1641 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1642 #define HAS_PATHCONF /**/
1643 #define HAS_FPATHCONF /**/
1645 #undef HAS_PATHCONF /*config-skip*/
1646 #undef HAS_FPATHCONF /*config-skip*/
1650 * This symbol, if defined, indicates that the bcopy routine is available
1651 * to copy potentially overlapping memory blocks. Otherwise you should
1652 * probably use memmove() or memcpy(). If neither is defined, roll your
1655 #undef HAS_SAFE_BCOPY /**/
1658 * This symbol, if defined, indicates that the memcpy routine is available
1659 * to copy potentially overlapping memory blocks. Otherwise you should
1660 * probably use memmove() or memcpy(). If neither is defined, roll your
1663 #define HAS_SAFE_MEMCPY /**/
1666 * This symbol, if defined, indicates that the memcmp routine is available
1667 * and can be used to compare relative magnitudes of chars with their high
1668 * bits set. If it is not defined, roll your own version.
1670 #define HAS_SANE_MEMCMP /**/
1673 * This symbol, if defined, indicates that the setpgrp routine is
1674 * available to set the current process group.
1677 * This symbol, if defined, indicates that setpgrp needs two
1678 * arguments whereas USG one needs none. See also HAS_SETPGID
1679 * for a POSIX interface.
1682 * This symbol, if defined, indicates that the BSD notion of process
1683 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1684 * instead of the USG setpgrp().
1686 #undef HAS_SETPGRP /**/
1687 #undef USE_BSD_SETPGRP /**/
1688 #undef USE_BSDPGRP /**/
1691 * This symbol, if defined, indicates that the setpgid routine is
1692 * available to set process group ID.
1694 #undef HAS_SETPGID /**/
1697 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
1698 * routine is available to set the current process group.
1700 #undef HAS_SETPGRP2 /**/
1703 * This symbol, if defined, indicates that sysconf() is available
1704 * to determine system related limits and options.
1706 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1707 #define HAS_SYSCONF /**/
1709 #undef HAS_SYSCONF /*config-skip*/
1713 * This preprocessor macro is defined to convert a floating point
1714 * number to a string without a trailing decimal point. This
1715 * emulates the behavior of sprintf("%g"), but is sometimes much more
1716 * efficient. If gconvert() is not available, but gcvt() drops the
1717 * trailing decimal point, then gcvt() is used. If all else fails,
1718 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1719 * macro are: value, number of digits, whether trailing zeros should
1720 * be retained, and the output buffer.
1721 * Possible values are:
1722 * d_Gconvert='gconvert((x),(n),(t),(b))'
1723 * d_Gconvert='gcvt((x),(n),(b))'
1724 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1725 * The last two assume trailing zeros should not be kept.
1727 #define Gconvert(x,n,t,b) my_gconvert(x,n,t,b)
1730 * This symbol, if defined, indicates to the C program that
1731 * the getpgid(pid) function is available to get the
1734 #undef HAS_GETPGID /**/
1737 * This symbol, if defined, indicates that the getpgrp routine is
1738 * available to get the current process group.
1741 * This symbol, if defined, indicates that getpgrp needs one
1742 * arguments whereas USG one needs none.
1744 #undef HAS_GETPGRP /**/
1745 #undef USE_BSD_GETPGRP /**/
1748 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
1749 * routine is available to get the current process group.
1751 #undef HAS_GETPGRP2 /**/
1754 * This symbol, if defined, indicates that sfio should
1757 #undef USE_SFIO /**/
1760 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1763 * This macro is used in the same way as sigsetjmp(), but will invoke
1764 * traditional setjmp() if sigsetjmp isn't available.
1767 * This macro is used in the same way as siglongjmp(), but will invoke
1768 * traditional longjmp() if siglongjmp isn't available.
1770 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1771 #define HAS_SIGSETJMP /**/
1773 #undef HAS_SIGSETJMP /*config-skip*/
1775 #ifdef HAS_SIGSETJMP
1776 #define Sigjmp_buf sigjmp_buf /* config-skip */
1777 #define Sigsetjmp(buf,save_mask) sigsetjmp(buf,save_mask) /* config-skip */
1778 #define Siglongjmp(buf,retval) siglongjmp(buf,retval) /* config-skip */
1780 #define Sigjmp_buf jmp_buf /* config-skip */
1781 #define Sigsetjmp(buf,save_mask) setjmp(buf) /* config-skip */
1782 #define Siglongjmp(buf,retval) longjmp(buf,retval) /* config-skip */
1785 /* USE_DYNAMIC_LOADING:
1786 * This symbol, if defined, indicates that dynamic loading of
1787 * some sort is available.
1789 #define USE_DYNAMIC_LOADING /**/
1792 * This variable contains the string to put in front of a perl
1793 * script to make sure (one hopes) that it runs with perl and not
1796 #define STARTPERL "" /**/
1799 * This symbol holds the type used for the second argument to
1800 * [gs]etgroups(). Usually, this is the same of gidtype, but
1801 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1802 * It may be necessary to include <sys/types.h> to get any
1803 * typedef'ed information. This is only required if you have
1804 * getgroups() or setgroups.
1806 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1807 #define Groups_t unsigned int /* config-skip */
1811 * This symbol contains the type of the prefix structure element
1812 * in the <db.h> header file. In older versions of DB, it was
1813 * int, while in newer ones it is u_int32_t.
1816 * This symbol contains the type of the prefix structure element
1817 * in the <db.h> header file. In older versions of DB, it was
1818 * int, while in newer ones it is size_t.
1820 #undef DB_Hash_t /**/
1821 #undef DB_Prefix_t /**/
1824 * This symbol, if defined, indicates that the PerlIO abstraction should
1825 * be used throughout. If not defined, stdio should be
1826 * used in a fully backward compatible manner.
1828 #undef USE_PERLIO /**/
1831 * This symbol indicates how much support of the void type is given by this
1832 * compiler. What various bits mean:
1834 * 1 = supports declaration of void
1835 * 2 = supports arrays of pointers to functions returning void
1836 * 4 = supports comparisons between pointers to void functions and
1837 * addresses of void functions
1838 * 8 = suports declaration of generic void pointers
1840 * The package designer should define VOIDUSED to indicate the requirements
1841 * of the package. This can be done either by #defining VOIDUSED before
1842 * including config.h, or by defining defvoidused in Myinit.U. If the
1843 * latter approach is taken, only those flags will be tested. If the
1844 * level of void support necessary is not present, defines void to int.
1849 #define VOIDFLAGS 15
1850 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1851 #define void int /* is void to be avoided? */ /* config-skip */
1852 #define M_VOID /* Xenix strikes again */ /* config-skip */
1855 #ifdef VMS_DO_SOCKETS
1857 * This symbol, if defined, indicates that the BSD socket interface is
1861 * This symbol, if defined, indicates that the BSD socketpair() call is
1864 #define HAS_SOCKET /**/ /* config-skip */
1865 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1868 * This symbol, if defined, indicates that the gethostent routine is
1869 * available to lookup host names in some data base or other.
1871 #define HAS_GETHOSTENT /**/ /* config-skip */
1873 /* VMS: In general, TCP/IP header files should be included from
1874 * sockadapt.h, instead of here, in order to keep the TCP/IP code
1875 * together as much as possible.
1878 * This symbol, if defined, indicates to the C program that it should
1879 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1881 #undef I_NETINET_IN /**/ /* config-skip */
1884 * This symbol, if defined, indicates that <net/errno.h> exists and
1885 * should be included.
1887 #undef I_NET_ERRNO /**/ /* config-skip */
1890 * This symbol, if defined, indicates that the select routine is
1891 * available to select active file descriptors. If the timeout field
1892 * is used, <sys/time.h> may need to be included.
1894 #define HAS_SELECT /**/ /* config-skip */
1896 #else /* VMS_DO_SOCKETS */
1898 #undef HAS_SOCKET /**/ /* config-skip */
1899 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1900 #undef HAS_GETHOSTENT /**/ /* config-skip */
1901 #undef I_NETINET_IN /**/ /* config-skip */
1902 #undef I_NET_ERRNO /**/ /* config-skip */
1903 #undef HAS_SELECT /**/ /* config-skip */
1905 #endif /* !VMS_DO_SOCKETS */