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: 4-Apr-1998 21:30
15 * Configured by: Charles Bailey bailey@newman.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_00464" /**/
82 #define ARCHLIB ARCHLIB_EXP /*config-skip*/
85 * This symbol holds a string representing the architecture name.
86 * It may be used to construct an architecture-dependant pathname
87 * where library files may be held under a private library, for
90 #define ARCHNAME "VMS_VAX" /**/
93 * This symbol contains the first part of the string which will invoke
94 * the C preprocessor on the standard input and produce to standard
95 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
96 * call a wrapper. See CPPRUN.
99 * This symbol contains the second part of the string which will invoke
100 * the C preprocessor on the standard input and produce to standard
101 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
102 * to specify standard input, otherwise the value is "".
104 #define CPPSTDIN "cc/noobj/preprocess=sys$output sys$input"
108 * This symbol is defined if the bcmp() routine is available to
109 * compare blocks of memory.
111 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
112 #define HAS_BCMP /**/
114 #undef HAS_BCMP /*config-skip*/
117 #include <string.h> /* Check whether new DECC has #defined bcopy and bzero */
119 * This symbol is defined if the bcopy() routine is available to
120 * copy blocks of memory.
122 #undef HAS_BCOPY /**/
124 # define HAS_BCOPY /*config-skip*/
128 * This symbol is defined if the bzero() routine is available to
129 * set a memory block to 0.
131 #undef HAS_BZERO /**/
133 # define HAS_BZERO /*config-skip*/
137 * This symbol is defined if the C compiler can cast negative
138 * numbers to unsigned longs, ints and shorts.
141 * This symbol contains flags that say what difficulties the compiler
142 * has casting odd floating values to unsigned long:
144 * 1 = couldn't cast < 0
145 * 2 = couldn't cast >= 0x80000000
147 #define CASTNEGFLOAT /**/
148 #define CASTFLAGS 0 /**/
151 * This symbol, if defined, indicates that the chsize routine is available
152 * to truncate files. You might need a -lx to get this routine.
154 #undef HAS_CHSIZE /**/
157 * This symbol, if defined, indicates that this C compiler knows about
158 * the const type. There is no need to actually test for that symbol
159 * within your programs. The mere use of the "const" keyword will
160 * trigger the necessary tests.
162 #define HASCONST /**/
165 * This symbol, if defined, indicates that the crypt routine is available
166 * to encrypt passwords and the like.
168 #define HAS_CRYPT /**/
171 * This symbol hold the hexadecimal constant defined in byteorder,
172 * i.e. 0x1234 or 0x4321, etc...
174 #define BYTEORDER 0x1234 /* large digits for MSB */
177 * This symbol, if defined, indicates that the C-shell exists.
178 * If defined, contains the full pathname of csh.
184 * This symbol, if defined, indicates that the dup2 routine is
185 * available to duplicate file descriptors.
187 #define HAS_DUP2 /**/
190 * This symbol, if defined, indicates that the fchmod routine is available
191 * to change mode of opened files. If unavailable, use chmod().
193 #undef HAS_FCHMOD /**/
196 * This symbol, if defined, indicates that the fchown routine is available
197 * to change ownership of opened files. If unavailable, use chown().
199 #undef HAS_FCHOWN /**/
202 * This symbol, if defined, indicates to the C program that
203 * the fcntl() function exists.
205 #undef HAS_FCNTL /**/
208 * This symbol, if defined, indicates that the fgetpos routine is
209 * available to get the file position indicator, similar to ftell().
211 #define HAS_FGETPOS /**/
214 * This symbol, if defined, indicates that the system supports filenames
215 * longer than 14 characters.
217 #define FLEXFILENAMES /**/
220 * This symbol, if defined, indicates that the flock routine is
221 * available to do file locking.
223 #undef HAS_FLOCK /**/
226 * This symbol, if defined, indicates that the fsetpos routine is
227 * available to set the file position indicator, similar to fseek().
229 #define HAS_FSETPOS /**/
232 * This symbol, if defined, indicates that the gettimeofday() system
233 * call is available for a sub-second accuracy clock. Usually, the file
234 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
235 * The type "Timeval" should be used to refer to "struct timeval".
237 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
238 #define HAS_GETTIMEOFDAY /*config-skip*/
240 #undef HAS_GETTIMEOFDAY /*config-skip*/
242 #ifdef HAS_GETTIMEOFDAY
243 # define Timeval struct timeval /*config-skip*/
247 * This symbol will be defined if the C compiler supports long
251 * This symbol contains the size of a long double, so that the
252 * C preprocessor can make decisions based on it. It is only
253 * defined if the system supports long doubles.
255 #undef HAS_LONG_DOUBLE /**/
256 #ifdef HAS_LONG_DOUBLE
257 # define LONG_DOUBLESIZE 8 /**/
261 * This symbol contains the size of a long long, so that the
262 * C preprocessor can make decisions based on it. It is only
263 * defined if the system supports long long.
265 #undef HAS_LONG_LONG /**/
267 #define LONGLONGSIZE 8 /**/
271 * This symbol, if defined, indicates that the mkstemp routine is
272 * available to create and open a unique temporary file.
274 #undef HAS_MKSTEMP /**/
277 * This symbol, if defined, indicates that the getgroups() routine is
278 * available to get the list of process groups. If unavailable, multiple
279 * groups are probably not supported.
282 * This symbol, if defined, indicates that the setgroups() routine is
283 * available to set the list of process groups. If unavailable, multiple
284 * groups are probably not supported.
286 #undef HAS_GETGROUPS /**/
287 #undef HAS_SETGROUPS /**/
290 * This symbol, if defined, indicates that the C program may use the
291 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
294 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
295 #define HAS_UNAME /*config-skip*/
297 #undef HAS_UNAME /*config-skip*/
301 * This symbol, if defined, indicates that the getpriority routine is
302 * available to get a process's priority.
304 #undef HAS_GETPRIORITY /**/
307 * This symbol, if defined, indicates that the killpg routine is available
308 * to kill process groups. If unavailable, you probably should use kill
309 * with a negative process number.
311 #undef HAS_KILLPG /**/
314 * This symbol, if defined, indicates that the link routine is
315 * available to create hard links.
320 * This symbol, if defined, indicates that the lstat routine is
321 * available to do file stats on symbolic links.
323 #undef HAS_LSTAT /**/
326 * This symbol, if defined, indicates that the lockf routine is
327 * available to do file locking.
329 #undef HAS_LOCKF /**/
332 * This symbol, if defined, indicates that the mbstowcs routine is
333 * available to covert a multibyte string into a wide character string.
336 # define HAS_MBSTOWCS /*config-skip*/
338 # undef HAS_MBSTOWCS /*config-skip*/
342 * This symbol, if defined, indicates that the mbtowc routine is available
343 * to covert a multibyte to a wide character.
346 # define HAS_MBTOWC /*config-skip*/
348 # undef HAS_MBTOWC /*config-skip*/
352 * This symbol, if defined, indicates that the memcmp routine is available
353 * to compare blocks of memory.
355 #define HAS_MEMCMP /**/
358 * This symbol, if defined, indicates that the memcpy routine is available
359 * to copy blocks of memory.
361 #define HAS_MEMCPY /**/
364 * This symbol, if defined, indicates that the memmove routine is available
365 * to copy potentially overlapping blocks of memory. This should be used
366 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
369 #define HAS_MEMMOVE /**/
372 * This symbol, if defined, indicates that the memset routine is available
373 * to set blocks of memory.
375 #define HAS_MEMSET /**/
378 * This symbol, if defined, indicates that the mkdir routine is available
379 * to create directories. Otherwise you should fork off a new process to
382 #define HAS_MKDIR /**/
385 * This symbol, if defined, indicates that the entire msg*(2) library is
386 * supported (IPC mechanism based on message queues).
391 * This manifest constant lets the C program know that the three
392 * argument form of open(2) is available.
394 #define HAS_OPEN3 /**/
397 * This symbol, if defined, indicates that the poll routine is
398 * available to poll active file descriptors.
402 /* HAS_PTHREAD_YIELD:
403 * This symbol, if defined, indicates that the pthread_yield routine is
404 * available to yield the execution of the current thread.
405 * VMS: pthread_yield_np is there, so just set up the alias
407 #define HAS_PTHREAD_YIELD /**/
408 #define pthread_yield pthread_yield_np /*config-skip*/
411 * This symbol, if defined, indicates that Perl should
412 * be built to use the old draft POSIX threads API.
414 #undef OLD_PTHREADS_API /**/
417 * This symbol, if defined, indicates that the readdir routine is
418 * available to read directory entries. You may have to include
419 * <dirent.h>. See I_DIRENT.
421 #define HAS_READDIR /**/
424 * This symbol, if defined, indicates that the seekdir routine is
425 * available. You may have to include <dirent.h>. See I_DIRENT.
427 #define HAS_SEEKDIR /**/
430 * This symbol, if defined, indicates that the telldir routine is
431 * available. You may have to include <dirent.h>. See I_DIRENT.
433 #define HAS_TELLDIR /**/
436 * This symbol, if defined, indicates that the rewinddir routine is
437 * available. You may have to include <dirent.h>. See I_DIRENT.
439 #define HAS_REWINDDIR /**/
442 * This symbol, if defined, indicates that the rename routine is available
443 * to rename files. Otherwise you should do the unlink(), link(), unlink()
446 #define HAS_RENAME /**/
449 * This symbol, if defined, indicates that the rmdir routine is
450 * available to remove directories. Otherwise you should fork off a
451 * new process to exec /bin/rmdir.
453 #define HAS_RMDIR /**/
456 * This symbol, if defined, indicates that the entire sem*(2) library is
462 * This symbol, if defined, indicates that the setegid routine is available
463 * to change the effective gid of the current program.
465 #undef HAS_SETEGID /**/
468 * This symbol, if defined, indicates that the seteuid routine is available
469 * to change the effective uid of the current program.
471 #undef HAS_SETEUID /**/
475 * This symbol, if defined, indicates that the setpriority routine is
476 * available to set a process's priority.
478 #undef HAS_SETPRIORITY /**/
481 * This symbol, if defined, indicates that the setregid routine is
482 * available to change the real and effective gid of the current
486 * This symbol, if defined, indicates that the setresgid routine is
487 * available to change the real, effective and saved gid of the current
490 #undef HAS_SETREGID /**/
491 #undef HAS_SETRESGID /**/
494 * This symbol, if defined, indicates that the setreuid routine is
495 * available to change the real and effective uid of the current
499 * This symbol, if defined, indicates that the setresuid routine is
500 * available to change the real, effective and saved uid of the current
503 #undef HAS_SETREUID /**/
504 #undef HAS_SETRESUID /**/
507 * This symbol, if defined, indicates that the setrgid routine is available
508 * to change the real gid of the current program.
510 #undef HAS_SETRGID /**/
513 * This symbol, if defined, indicates that the setruid routine is available
514 * to change the real uid of the current program.
516 #undef HAS_SETRUID /**/
519 * This symbol, if defined, indicates that the setsid routine is
520 * available to set the process group ID.
522 #undef HAS_SETSID /**/
525 * This symbol, if defined, indicates that the entire shm*(2) library is
531 * This symbol holds the return type of the shmat() system call.
532 * Usually set to 'void *' or 'char *'.
534 /* HAS_SHMAT_PROTOTYPE:
535 * This symbol, if defined, indicates that the sys/shm.h includes
536 * a prototype for shmat(). Otherwise, it is up to the program to
537 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
538 * but not always right so it should be emitted by the program only
539 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
541 #undef Shmat_t /**/ /* config-skip */
542 #undef HAS_SHMAT_PROTOTYPE /**/
545 * This symbol, if defined, indicates that Vr4's sigaction() routine
548 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
549 #define HAS_SIGACTION /**/
551 #undef HAS_SIGACTION /*config-skip*/
555 * This symbol is defined if this system has a stat structure declaring
556 * st_blksize and st_blocks.
558 #undef USE_STAT_BLOCKS /**/
561 * This symbol is defined if the _ptr and _cnt fields (or similar)
562 * of the stdio FILE structure can be used to access the stdio buffer
563 * for a file handle. If this is defined, then the FILE_ptr(fp)
564 * and FILE_cnt(fp) macros will also be defined and should be used
565 * to access these fields.
568 * This symbol is defined if the _base field (or similar) of the
569 * stdio FILE structure can be used to access the stdio buffer for
570 * a file handle. If this is defined, then the FILE_base(fp) macro
571 * will also be defined and should be used to access this field.
572 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
573 * to determine the number of bytes in the buffer. USE_STDIO_BASE
574 * will never be defined unless USE_STDIO_PTR is.
577 * This symbol is defined if the FILE_ptr macro can be used as an
581 * This symbol is defined if the FILE_cnt macro can be used as an
585 # define USE_STDIO_PTR /*config-skip*/
586 # define USE_STDIO_BASE /*config-skip*/
587 # define STDIO_PTR_LVALUE /*config-skip*/
588 # define STDIO_CNT_LVALUE /*config-skip*/
590 # undef USE_STDIO_PTR /*config-skip*/
591 # undef USE_STDIO_BASE /*config-skip*/
592 # undef STDIO_PTR_LVALUE /*config-skip*/
593 # undef STDIO_CNT_LVALUE /*config-skip*/
597 * This macro is used to access the _ptr field (or equivalent) of the
598 * FILE structure pointed to by its argument. This macro will always be
599 * defined if USE_STDIO_PTR is defined.
602 * This macro is used to access the _cnt field (or equivalent) of the
603 * FILE structure pointed to by its argument. This macro will always be
604 * defined if USE_STDIO_PTR is defined.
607 # define FILE_ptr(fp) ((*fp)->_ptr)
608 # define FILE_cnt(fp) ((*fp)->_cnt)
612 * This macro is used to access the _base field (or equivalent) of the
613 * FILE structure pointed to by its argument. This macro will always be
614 * defined if USE_STDIO_BASE is defined.
617 * This macro is used to determine the number of bytes in the I/O
618 * buffer pointed to by _base field (or equivalent) of the FILE
619 * structure pointed to its argument. This macro will always be defined
620 * if USE_STDIO_BASE is defined.
622 #ifdef USE_STDIO_BASE
623 # define FILE_base(fp) ((*fp)->_base)
624 # define FILE_bufsiz(fp) ((*fp)->_cnt + (*fp)->_ptr - (*fp)->_base)
628 * This symbol, if defined, indicates that this C compiler knows how
629 * to copy structures. If undefined, you'll need to use a block copy
630 * routine of some sort instead.
632 #define USE_STRUCT_COPY /**/
635 * This symbol, if defined, indicates that the strerror routine is
636 * available to translate error numbers to strings. See the writeup
637 * of Strerror() in this file before you try to define your own.
640 * This symbol, if defined, indicates that the sys_errlist array is
641 * available to translate error numbers to strings. The extern int
642 * sys_nerr gives the size of that table.
645 * This preprocessor symbol is defined as a macro if strerror() is
646 * not available to translate error numbers to strings but sys_errlist[]
649 #define HAS_STRERROR /**/
650 #undef HAS_SYS_ERRLIST /**/
651 #define Strerror(e) strerror((e),vaxc$errno)
654 * This symbol, if defined, indicates that the symlink routine is available
655 * to create symbolic links.
657 #undef HAS_SYMLINK /**/
660 * This symbol, if defined, indicates that the syscall routine is
661 * available to call arbitrary system calls. If undefined, that's tough.
663 #undef HAS_SYSCALL /**/
666 * This symbol, if defined, indicates that the system routine is
667 * available to issue a shell command.
669 #define HAS_SYSTEM /**/
672 * This symbol holds the type returned by time(). It can be long,
673 * or time_t on BSD sites (in which case <sys/types.h> should be
676 #define Time_t time_t /* Time type */
679 * This symbol, if defined, indicates that the truncate routine is
680 * available to truncate files.
682 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
683 #define HAS_TRUNCATE /*config-skip*/
685 #undef HAS_TRUNCATE /*config-skip*/
690 * This symbol, if defined, indicates that vfork() exists.
692 #define HAS_VFORK /**/
695 * This symbol's value is either "void" or "int", corresponding to the
696 * appropriate return type of a signal handler. Thus, you can declare
697 * a signal handler using "Signal_t (*handler)()", and define the
698 * handler using "Signal_t handler(sig)".
700 #define Signal_t void /* Signal handler's return type */
703 * This symbol, if defined, indicates that this C compiler knows about
704 * the volatile declaration.
706 #define HASVOLATILE /**/
708 #define volatile /* config-skip */
712 * This symbol, if defined, indicates that the vprintf routine is available
713 * to printf with a pointer to an argument list. If unavailable, you
714 * may need to write your own, probably in terms of _doprnt().
716 /* USE_CHAR_VSPRINTF:
717 * This symbol is defined if this system has vsprintf() returning type
718 * (char*). The trend seems to be to declare it as "int vsprintf()". It
719 * is up to the package author to declare vsprintf correctly based on the
722 #define HAS_VPRINTF /**/
723 #undef USE_CHAR_VSPRINTF /**/
726 * This symbol, if defined, indicates that wait4() exists.
728 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
729 #define HAS_WAIT4 /*config-skip*/
731 #undef HAS_WAIT4 /*config-skip*/
735 * This symbol, if defined, indicates that the waitpid routine is
736 * available to wait for child process.
738 #define HAS_WAITPID /**/
741 * This symbol, if defined, indicates that the wcstombs routine is
742 * available to convert wide character strings to multibyte strings.
745 # define HAS_WCSTOMBS /*config-skip*/
747 # undef HAS_WCSTOMBS /*config-skip*/
751 * This symbol, if defined, indicates to the C program that it should
752 * include <dirent.h>. Using this symbol also triggers the definition
753 * of the Direntry_t define which ends up being 'struct dirent' or
754 * 'struct direct' depending on the availability of <dirent.h>.
757 * This symbol, if defined, indicates to the C program that the length
758 * of directory entry names is provided by a d_namlen field. Otherwise
759 * you need to do strlen() on the d_name field.
762 #define DIRNAMLEN /**/
763 #define Direntry_t struct dirent
766 * This manifest constant tells the C program to include <fcntl.h>.
771 * This symbol, if defined, indicates to the C program that it should
777 * This symbol, if defined, indicates to the C program that it should
778 * include <limits.h> to get definition of symbols like WORD_BIT or
779 * LONG_MAX, i.e. machine dependant limitations.
781 #define I_LIMITS /**/
784 * This symbol, if defined, indicates to the C program that it should
785 * include <memory.h>.
790 * This symbol, if defined, indicates that ndbm.h exists and should
796 * This symbol, if defined, indicates that <stdarg.h> exists and should
799 #define I_STDARG /**/
802 * This symbol, if defined, indicates to the C program that it should
806 * This symbol, if defined, indicates to the C program that struct passwd
810 * This symbol, if defined, indicates to the C program that struct passwd
814 * This symbol, if defined, indicates to the C program that struct passwd
815 * contains pw_change.
818 * This symbol, if defined, indicates to the C program that struct passwd
822 * This symbol, if defined, indicates to the C program that struct passwd
823 * contains pw_expire.
826 * This symbol, if defined, indicates to the C program that struct passwd
827 * contains pw_comment.
836 #define PWCOMMENT /**/
839 * This symbol, if defined, indicates that <stddef.h> exists and should
842 #define I_STDDEF /**/
845 * This symbol, if defined, indicates that <stdlib.h> exists and should
848 #define I_STDLIB /**/
851 * This symbol, if defined, indicates to the C program that it should
852 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
854 #define I_STRING /**/
857 * This symbol, if defined, indicates to the C program that it should
858 * include <sys/dir.h>.
860 #undef I_SYS_DIR /**/
863 * This symbol, if defined, indicates to the C program that it should
864 * include <sys/file.h> to get definition of R_OK and friends.
866 #undef I_SYS_FILE /**/
869 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
870 * be included. Otherwise, include <sgtty.h> or <termio.h>.
872 #undef I_SYS_IOCTL /**/
875 * This symbol, if defined, indicates to the C program that it should
876 * include <sys/ndir.h>.
878 #undef I_SYS_NDIR /**/
881 * This symbol, if defined, indicates to the C program that it should
882 * include <sys/resource.h>.
884 #undef I_SYS_RESOURCE /**/
887 * This symbol, if defined, indicates to the C program that it should
888 * include <sys/select.h> in order to get definition of struct timeval.
890 #undef I_SYS_SELECT /**/
893 * This symbol, if defined, indicates that <dbm.h> exists and should
897 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
898 * should be included.
901 #undef I_RPCSVC_DBM /**/
904 * This symbol, if defined, indicates to the C program that it should
910 * This symbol, if defined, indicates to the C program that it should
911 * include <sys/stat.h>.
913 #define I_SYS_STAT /**/
916 * This symbol, if defined, indicates to the C program that it should
917 * include <sys/times.h>.
919 #undef I_SYS_TIMES /**/
922 * This symbol, if defined, indicates to the C program that it should
923 * include <sys/types.h>.
925 #define I_SYS_TYPES /**/
928 * This symbol, if defined, indicates to the C program that it should
929 * include <sys/un.h> to get UNIX domain socket definitions.
934 * This symbol, if defined, indicates to the C program that it should
935 * include <sys/wait.h>.
937 #undef I_SYS_WAIT /**/
940 * This symbol, if defined, indicates that the program should include
941 * <termio.h> rather than <sgtty.h>. There are also differences in
942 * the ioctl() calls that depend on the value of this symbol.
945 * This symbol, if defined, indicates that the program should include
946 * the POSIX termios.h rather than sgtty.h or termio.h.
947 * There are also differences in the ioctl() calls that depend on the
948 * value of this symbol.
951 * This symbol, if defined, indicates that the program should include
952 * <sgtty.h> rather than <termio.h>. There are also differences in
953 * the ioctl() calls that depend on the value of this symbol.
957 #undef I_TERMIOS /**/
960 * This symbol, if defined, indicates to the C program that it should
964 * This symbol, if defined, indicates to the C program that it should
965 * include <sys/time.h>.
967 /* I_SYS_TIME_KERNEL:
968 * This symbol, if defined, indicates to the C program that it should
969 * include <sys/time.h> with KERNEL defined.
972 #undef I_SYS_TIME /**/
973 #undef I_SYS_TIME_KERNEL /**/
976 * This symbol, if defined, indicates to the C program that it should
977 * include <unistd.h>.
982 * This symbol, if defined, indicates to the C program that it should
988 * This symbol, if defined, indicates to the C program that it should
989 * include <varargs.h>.
991 #undef I_VARARGS /**/
995 * This symbol, if defined, indicates to the C program that it should
1001 * This symbol holds the type used to declare process ids in the kernel.
1002 * It can be int, uint, pid_t, etc... It may be necessary to include
1003 * <sys/types.h> to get any typedef'ed information.
1005 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1006 # define Pid_t pid_t /* config-skip */
1008 # define Pid_t int /* config-skip */
1012 * If defined, this macro indicates that the C compiler can handle
1013 * function prototypes.
1016 * This macro is used to declare function parameters for folks who want
1017 * to make declarations with prototypes using a different style than
1018 * the above macros. Use double parentheses. For example:
1020 * int main _((int argc, char *argv[]));
1022 #define CAN_PROTOTYPE /**/
1023 #ifdef CAN_PROTOTYPE
1024 #define _(args) args /* config-skip */
1026 #define _(args) () /* config-skip */
1030 * This symbol contains the number of bits of random number the rand()
1031 * function produces. Usual values are 15, 16, and 31.
1033 #define RANDBITS 31 /**/
1037 * This symbol holds the type used for the 2nd, 3rd, and 4th
1038 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1039 * is defined, and 'int *' otherwise. This is only useful if you
1040 * have select(), of course.
1042 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 50200000) && defined(DECCRTL_SOCKETS)
1043 #define Select_fd_set_t fd_set * /* config-skip */
1045 #define Select_fd_set_t int * /* config-skip */
1049 * This symbol is defined to be the type of char used in stdio.h.
1050 * It has the values "unsigned char" or "char".
1052 #define STDCHAR char /**/
1054 /* UNLINK_ALL_VERSIONS:
1055 * This symbol, if defined, indicates that the program should arrange
1056 * to remove all versions of a file if unlink() is called.
1058 #undef UNLINK_ALL_VERSIONS /**/
1061 * This symbol holds the complete pathname to the sed program.
1063 #define LOC_SED "_NLA0:" /**/
1066 * This symbol holds the path of the bin directory where the package will
1067 * be installed. Program must be prepared to deal with ~name substitution.
1070 * This symbol is the filename expanded version of the BIN symbol, for
1071 * programs that do not want to deal with that at run-time.
1073 #define BIN "/perl_root/000000" /**/
1074 #define BIN_EXP "/perl_root/000000" /**/
1077 * This symbol, if defined, indicates that the alarm routine is
1080 #define HAS_ALARM /**/
1083 * This symbol indicates the C compiler can check for function attributes,
1084 * such as printf formats. This is normally only supported by GNU cc.
1087 # define HASATTRIBUTE /*config-skip*/
1089 # undef HASATTRIBUTE /*config-skip*/
1091 #ifndef HASATTRIBUTE
1092 #define __attribute__(_arg_)
1096 * This symbol is defined if the C compiler can cast negative
1097 * or large floating point numbers to 32-bit ints.
1099 #define CASTI32 /**/
1102 * This symbol, if defined, indicates that the chown routine is
1105 #define HAS_CHOWN /**/
1108 * This symbol, if defined, indicates that the chroot routine is
1111 #undef HAS_CHROOT /**/
1114 * This symbol, if defined, indicates that the cuserid routine is
1115 * available to get character login names.
1117 #define HAS_CUSERID /**/
1120 * This symbol, if defined, indicates that this system's <float.h>
1121 * or <limits.h> defines the symbol DBL_DIG, which is the number
1122 * of significant digits in a double precision number. If this
1123 * symbol is not defined, a guess of 15 is usually pretty good.
1125 #define HAS_DBL_DIG /* */
1128 * This symbol, if defined, indicates that the difftime routine is
1131 #define HAS_DIFFTIME /**/
1134 * This symbol, if defined, indicates that the fork routine is
1137 /* VMS: In vmsish.h, fork is #defined to vfork. This kludge gets around
1138 * some obsolete code in pp.c, which should be fixed in its own right
1139 * sometime. - C. Bailey 26-Aug-1994
1141 #define HAS_FORK /**/
1144 * This symbol, if defined, indicates that the getlogin routine is
1147 #define HAS_GETLOGIN /**/
1150 * This symbol, if defined, indicates that the getppid routine is
1153 #undef HAS_GETPPID /**/
1156 * This symbol, if defined, indicates that the htonl() routine (and
1157 * friends htons() ntohl() ntohs()) are available to do network
1158 * order byte swapping.
1161 * This symbol, if defined, indicates that the htons() routine (and
1162 * friends htonl() ntohl() ntohs()) are available to do network
1163 * order byte swapping.
1166 * This symbol, if defined, indicates that the ntohl() routine (and
1167 * friends htonl() htons() ntohs()) are available to do network
1168 * order byte swapping.
1171 * This symbol, if defined, indicates that the ntohs() routine (and
1172 * friends htonl() htons() ntohl()) are available to do network
1173 * order byte swapping.
1175 #define HAS_HTONL /**/
1176 #define HAS_HTONS /**/
1177 #define HAS_NTOHL /**/
1178 #define HAS_NTOHS /**/
1181 * This symbol, if defined, indicates that the mblen routine is available
1182 * to find the number of bytes in a multibye character.
1185 # define HAS_MBLEN /*config-skip*/
1187 # undef HAS_MBLEN /*config-skip*/
1191 * This symbol, if defined, indicates that the mktime routine is
1195 # define HAS_MKTIME /*config-skip*/
1197 # undef HAS_MKTIME /*config-skip*/
1201 * This symbol, if defined, indicates that the nice routine is
1204 #define HAS_NICE /**/
1207 * This symbol, if defined, indicates that the pause routine is
1210 #define HAS_PAUSE /**/
1213 * This symbol, if defined, indicates that the pipe routine is
1216 #define HAS_PIPE /**/
1219 * This symbol, if defined, indicates that the readlink routine is
1222 #undef HAS_READLINK /**/
1225 * This symbol, if defined, indicates that the setlinebuf routine is
1226 * available to change stderr or stdout from block-buffered or unbuffered
1227 * to a line-buffered mode.
1229 #undef HAS_SETLINEBUF /**/
1232 * This symbol is defined to indicate that the strchr()/strrchr()
1233 * functions are available for string searching. If not, try the
1234 * index()/rindex() pair.
1237 * This symbol is defined to indicate that the index()/rindex()
1238 * functions are available for string searching.
1240 #define HAS_STRCHR /**/
1241 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1242 #define HAS_INDEX /*config-skip*/
1244 #undef HAS_INDEX /*config-skip*/
1248 * This symbol, if defined, indicates that the strcoll routine is
1249 * available to compare strings using collating information.
1252 # define HAS_STRCOLL /*config-skip*/
1254 # undef HAS_STRCOLL /*config-skip*/
1258 * This symbol, if defined, indicates that the strtod routine is
1259 * available to provide better numeric string conversion than atof().
1261 #define HAS_STRTOD /**/
1264 * This symbol, if defined, indicates that the strtol routine is available
1265 * to provide better numeric string conversion than atoi() and friends.
1267 #define HAS_STRTOL /**/
1270 * This symbol, if defined, indicates that the strtoul routine is
1271 * available to provide conversion of strings to unsigned long.
1273 #define HAS_STRTOUL /**/
1276 * This symbol, if defined, indicates that the strxfrm() routine is
1277 * available to compare strings using collating information.
1280 # define HAS_STRXFRM /*config-skip*/
1282 # undef HAS_STRXFRM /*config-skip*/
1286 * This symbol, if defined, indicates that the tcgetpgrp routine is
1287 * available to get foreground process group ID.
1289 #undef HAS_TCGETPGRP /**/
1292 * This symbol, if defined, indicates that the tcsetpgrp routine is
1293 * available to set foreground process group ID.
1295 #undef HAS_TCSETPGRP /**/
1298 * This symbol, if defined, indicates that the times() routine exists.
1299 * Note that this became obsolete on some systems (SUNOS), which now
1300 * use getrusage(). It may be necessary to include <sys/times.h>.
1302 #define HAS_TIMES /**/
1305 * This symbol, if defined, indicates that the tzname[] array is
1306 * available to access timezone names.
1308 #undef HAS_TZNAME /**/
1311 * This symbol, if defined, indicates that the umask routine is
1312 * available to get the file creation mask.
1314 #define HAS_UMASK /**/
1317 * This symbol, if defined, indicates that the wctomb routine is available
1318 * to covert a wide character to a multibyte.
1321 # define HAS_WCTOMB /*config-skip*/
1323 # undef HAS_WCTOMB /*config-skip*/
1327 * This symbol holds the type used to declare file positions in libc.
1328 * It can be fpos_t, long, uint, etc... It may be necessary to include
1329 * <sys/types.h> to get any typedef'ed information.
1331 #define Fpos_t fpos_t /* File position type */
1334 * This symbol holds the return type of getgid() and the type of
1335 * argument to setrgid() and related functions. Typically,
1336 * it is the type of group ids in the kernel.
1337 * It can be int, ushort, uid_t, etc... It may be necessary to include
1338 * <sys/types.h> to get any typedef'ed information.
1340 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1341 # define Gid_t gid_t /* config-skip */
1343 # define Gid_t unsigned int /* config-skip */
1347 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1353 * This symbol, if defined, indicates to the C program that it should
1354 * include <float.h> to get definition of symbols like DBL_MAX or
1355 * DBL_MIN, i.e. machine dependent floating point values.
1357 #define I_FLOAT /**/
1360 * This symbol, if defined, indicates to the C program that it should
1366 * This symbol contains the size of a double, so that the C preprocessor
1367 * can make decisions based on it.
1370 * This symbol contains the size of an int, so that the C preprocessor
1371 * can make decisions based on it.
1374 * This symbol contains the value of sizeof(long) so that the C
1375 * preprocessor can make decisions based on it.
1378 * This symbol contains the value of sizeof(short) so that the C
1379 * preprocessor can make decisions based on it.
1382 * This symbol contains the size of a pointer, so that the C preprocessor
1383 * can make decisions based on it. It will be sizeof(void *) if
1384 * the compiler supports (void *); otherwise it will be
1386 * VMS: Use 32-bit pointers everywhere for now 7-Mar-1998
1388 #define DOUBLESIZE 8 /**/
1389 #define INTSIZE 4 /**/
1390 #define LONGSIZE 4 /**/
1391 #define SHORTSIZE 2 /**/
1392 #define PTRSIZE 4 /**/
1395 * This symbol holds the type used to declare offsets in the kernel.
1396 * It can be int, long, off_t, etc... It may be necessary to include
1397 * <sys/types.h> to get any typedef'ed information.
1399 #define Off_t int /* <offset> type */
1402 * This symbol, if defined, indicates to the C program that it should
1403 * include <values.h> to get definition of symbols like MINFLOAT or
1404 * MAXLONG, i.e. machine dependant limitations. Probably, you
1405 * should use <limits.h> instead, if it is available.
1407 #undef I_VALUES /**/
1410 * This variable contains the return type of free(). It is usually
1411 * void, but occasionally int.
1414 * This symbol is the type of pointer returned by malloc and realloc.
1416 #define Malloc_t void * /**/
1417 #define Free_t void /**/
1420 * This symbol, if defined, indicates that we're using our own malloc.
1422 #undef MYMALLOC /**/
1425 * This symbol contains the full pathname to the shell used on this
1426 * on this system to execute Bourne shell scripts. Usually, this will be
1427 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1428 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as D:/bin/sh.
1430 #define SH_PATH "MCR" /**/
1433 * This symbol contains a list of signal names in order. This is intended
1434 * to be used as a static array initialization, like this:
1435 * char *sig_name[] = { SIG_NAME };
1436 * The signals in the list are separated with commas, and each signal
1437 * is surrounded by double quotes. There is no leading SIG in the signal
1438 * name, i.e. SIGQUIT is known as "QUIT". Duplicates are allowed.
1439 * The signal number for sig_name[i] is stored in sig_num[i].
1440 * The last element is 0 to terminate the list with a NULL. This
1441 * corresponds to the 0 at the end of the sig_num list.
1442 * See SIG_NUM and SIG_MAX.
1444 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1445 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE",\
1446 "KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM",\
1447 "ABRT","USR1","USR2","SPARE18","SPARE19","CHLD","CONT",\
1448 "STOP","TSTP","TTIN","TTOU","DEBUG","SPARE27","SPARE28",\
1449 "SPARE29","SPARE30","SPARE31","SPARE32","RTMIN","RTMAX",0 /**/
1451 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE",\
1452 "KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM",\
1453 "ABRT","USR1","USR2",0 /*config-skip*/
1457 * This symbol contains a list of signal number, in the same order as the
1458 * SIG_NAME list. It is suitable for static array initialization, as in:
1459 * int sig_num[] = { SIG_NUM };
1460 * The signals in the list are separated with commas, and the indices
1461 * within that list and the SIG_NAME list match, so it's easy to compute
1462 * the signal name from a number or vice versa at the price of a small
1463 * dynamic linear lookup. Duplicates are allowed, so you can't assume
1464 * sig_num[i] == i. Instead, the signal number corresponding to
1465 * sig_name[i] is sig_number[i].
1466 * The last element is 0, corresponding to the 0 at the end of
1467 * the sig_name list.
1469 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1470 #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 /**/
1472 #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*/
1476 * This symbol holds the type used to declare file modes
1477 * for systems calls. It is usually mode_t, but may be
1478 * int or unsigned short. It may be necessary to include <sys/types.h>
1479 * to get any typedef'ed information.
1481 #define Mode_t unsigned int /* file mode parameter for system calls*/
1484 * This symbol holds the type used by functions that return
1485 * a count of bytes or an error condition. It must be a signed type.
1486 * It is usually ssize_t, but may be long or int, etc.
1487 * It may be necessary to include <sys/types.h> or <unistd.h>
1488 * to get any typedef'ed information.
1489 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1491 #define SSize_t int /* signed count of bytes */
1494 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1495 * non-blocking I/O for the file descriptor. Note that there is no way
1496 * back, i.e. you cannot turn it blocking again this way. If you wish to
1497 * alternatively switch between blocking and non-blocking, use the
1498 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1501 * This symbol holds the errno error code set by read() when no data was
1502 * present on the non-blocking file descriptor.
1505 * This symbol holds the return code from read() when no data is present
1506 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1507 * not defined, then you can't distinguish between no data and EOF by
1508 * issuing a read(). You'll have to find another way to tell for sure!
1511 * This symbol, if defined, indicates to the C program that a read() on
1512 * a non-blocking file descriptor will return 0 on EOF, and not the value
1513 * held in RD_NODATA (-1 usually, in that case!).
1515 #undef VAL_O_NONBLOCK
1521 * This symbol contains the name of the private library for this package.
1522 * The library is private in the sense that it needn't be in anyone's
1523 * execution path, but it should be accessible by the world. The program
1524 * should be prepared to do ~ expansion.
1527 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1528 * in programs that are not prepared to deal with ~ expansion at run-time.
1530 #define PRIVLIB_EXP "/perl_root/lib" /**/
1531 #define PRIVLIB PRIVLIB_EXP /*config-skip*/
1534 * This symbol contains the name of the private library for this package.
1535 * The library is private in the sense that it needn't be in anyone's
1536 * execution path, but it should be accessible by the world. The program
1537 * should be prepared to do ~ expansion.
1538 * The standard distribution will put nothing in this directory.
1539 * Individual sites may place their own extensions and modules in
1543 * This symbol contains the ~name expanded version of SITELIB, to be used
1544 * in programs that are not prepared to deal with ~ expansion at run-time.
1546 #define SITELIB_EXP "/perl_root/lib/site_perl" /**/
1547 #define SITELIB SITELIB_EXP /*config-skip*/
1550 * This symbol contains the name of the private library for this package.
1551 * The library is private in the sense that it needn't be in anyone's
1552 * execution path, but it should be accessible by the world. The program
1553 * should be prepared to do ~ expansion.
1554 * The standard distribution will put nothing in this directory.
1555 * Individual sites may place their own extensions and modules in
1559 * This symbol contains the ~name expanded version of SITEARCH, to be used
1560 * in programs that are not prepared to deal with ~ expansion at run-time.
1563 * This value is automatically updated by FndVers.Com
1564 * when Perl is built. Please do not change it by hand; make
1565 * any changes to FndVers.Com instead.
1567 #define SITEARCH_EXP "/perl_root/lib/site_perl/VMS_VAX" /**/
1568 #define SITEARCH SITEARCH_EXP /*config-skip*/
1571 * This symbol holds the type used to declare length parameters
1572 * for string functions. It is usually size_t, but may be
1573 * unsigned long, int, etc. It may be necessary to include
1574 * <sys/types.h> to get any typedef'ed information.
1576 #define Size_t size_t /* length paramater for string functions */
1579 * This symbol holds the type used to declare user ids in the kernel.
1580 * It can be int, ushort, uid_t, etc... It may be necessary to include
1581 * <sys/types.h> to get any typedef'ed information.
1583 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1584 # define Uid_t uid_t /* config-skip */
1586 # define Uid_t unsigned int /* config-skip */
1590 * This symbol, if defined, indicates to the C program that it should
1591 * include <sys/param.h>.
1596 * This symbol, if defined, indicates that the closedir() routine
1597 * does not return a value.
1599 #define VOID_CLOSEDIR /**/
1602 * This symbol, if defined, indicates that the dlerror routine is
1605 #undef HAS_DLERROR /**/
1607 /* DLSYM_NEEDS_UNDERSCORE:
1608 * This symbol, if defined, indicates that we need to prepend an
1609 * underscore to the symbol name before calling dlsym(). This only
1610 * makes sense if you *have* dlsym, which we will presume is the
1611 * case if you're using dl_dlopen.xs.
1613 #undef DLSYM_NEEDS_UNDERSCORE /* */
1615 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1616 * This symbol, if defined, indicates that setuid scripts are secure.
1619 * This symbol, if defined, indicates that the C program should
1620 * check the script that it is executing for setuid/setgid bits, and
1621 * attempt to emulate setuid/setgid on systems that have disabled
1622 * setuid #! scripts because the kernel can't do it securely.
1623 * It is up to the package designer to make sure that this emulation
1624 * is done securely. Among other things, it should do an fstat on
1625 * the script it just opened to make sure it really is a setuid/setgid
1626 * script, it should make sure the arguments passed correspond exactly
1627 * to the argument on the #! line, and it should not trust any
1628 * subprocesses to which it must pass the filename rather than the
1629 * file descriptor of the script to be executed.
1631 #undef SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1635 * This symbol, if defined, indicates to the C program that the
1636 * inet_aton() function is available to parse IP address "dotted-quad"
1638 * VMS: SocketShr doesn't support this, so we let the Socket extension
1641 #undef HAS_INET_ATON /**/
1644 * This symbol, if defined, indicates to the C program that
1645 * the GNU C library is being used.
1647 #undef HAS_GNULIBC /**/
1650 * This manifest constant lets the C program know that the
1651 * isascii is available.
1653 #define HAS_ISASCII /**/
1656 * This symbol, if defined, indicates that the setlocale routine is
1657 * available to handle locale-specific ctype implementations.
1660 * This symbol, if defined, indicates to the C program that it should
1661 * include <locale.h>.
1664 * This symbol, if defined, indicates that the localeconv routine is
1665 * available for numeric and monetary formatting conventions.
1668 # define I_LOCALE /*config-skip*/
1669 # define HAS_SETLOCALE /*config-skip*/
1670 # define HAS_LOCALECONV /*config-skip*/
1672 # undef I_LOCALE /*config-skip*/
1673 # undef HAS_SETLOCALE /*config-skip*/
1674 # undef HAS_LOCALECONV /*config-skip*/
1678 * This symbol, if defined, indicates that the mkfifo routine is
1681 #undef HAS_MKFIFO /**/
1684 * This symbol, if defined, indicates that pathconf() is available
1685 * to determine file-system related limits and options associated
1686 * with a given filename.
1689 * This symbol, if defined, indicates that pathconf() is available
1690 * to determine file-system related limits and options associated
1691 * with a given open file descriptor.
1693 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1694 #define HAS_PATHCONF /*config-skip*/
1695 #define HAS_FPATHCONF /*config-skip*/
1697 #undef HAS_PATHCONF /*config-skip*/
1698 #undef HAS_FPATHCONF /*config-skip*/
1702 * This symbol, if defined, indicates that the bcopy routine is available
1703 * to copy potentially overlapping memory blocks. Otherwise you should
1704 * probably use memmove() or memcpy(). If neither is defined, roll your
1707 #undef HAS_SAFE_BCOPY /**/
1710 * This symbol, if defined, indicates that the memcpy routine is available
1711 * to copy potentially overlapping memory blocks. Otherwise you should
1712 * probably use memmove() or memcpy(). If neither is defined, roll your
1715 #define HAS_SAFE_MEMCPY /**/
1718 * This symbol, if defined, indicates that the memcmp routine is available
1719 * and can be used to compare relative magnitudes of chars with their high
1720 * bits set. If it is not defined, roll your own version.
1722 #define HAS_SANE_MEMCMP /**/
1725 * This symbol, if defined, indicates that the setpgrp routine is
1726 * available to set the current process group.
1729 * This symbol, if defined, indicates that setpgrp needs two
1730 * arguments whereas USG one needs none. See also HAS_SETPGID
1731 * for a POSIX interface.
1733 #undef HAS_SETPGRP /**/
1734 #undef USE_BSD_SETPGRP /**/
1737 * This symbol, if defined, indicates that the setpgid routine is
1738 * available to set process group ID.
1740 #undef HAS_SETPGID /**/
1743 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
1744 * routine is available to set the current process group.
1746 #undef HAS_SETPGRP2 /**/
1749 * This symbol, if defined, indicates that sysconf() is available
1750 * to determine system related limits and options.
1752 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1753 #define HAS_SYSCONF /*config-skip*/
1755 #undef HAS_SYSCONF /*config-skip*/
1759 * This preprocessor macro is defined to convert a floating point
1760 * number to a string without a trailing decimal point. This
1761 * emulates the behavior of sprintf("%g"), but is sometimes much more
1762 * efficient. If gconvert() is not available, but gcvt() drops the
1763 * trailing decimal point, then gcvt() is used. If all else fails,
1764 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1765 * macro are: value, number of digits, whether trailing zeros should
1766 * be retained, and the output buffer.
1767 * Possible values are:
1768 * d_Gconvert='gconvert((x),(n),(t),(b))'
1769 * d_Gconvert='gcvt((x),(n),(b))'
1770 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1771 * The last two assume trailing zeros should not be kept.
1773 #define Gconvert(x,n,t,b) my_gconvert(x,n,t,b)
1776 * This symbol, if defined, indicates to the C program that
1777 * the getpgid(pid) function is available to get the
1780 #undef HAS_GETPGID /**/
1783 * This symbol, if defined, indicates that the getpgrp routine is
1784 * available to get the current process group.
1787 * This symbol, if defined, indicates that getpgrp needs one
1788 * arguments whereas USG one needs none.
1790 #undef HAS_GETPGRP /**/
1791 #undef USE_BSD_GETPGRP /**/
1794 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
1795 * routine is available to get the current process group.
1797 #undef HAS_GETPGRP2 /**/
1800 * This symbol, if defined, indicates that sfio should
1803 #undef USE_SFIO /**/
1805 /* PTHREADS_CREATED_JOINABLE:
1806 * This symbol, if defined, indicates that pthreads are created
1807 * in the joinable (aka undetached) state.
1809 #define PTHREADS_CREATED_JOINABLE /**/
1812 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1815 * This macro is used in the same way as sigsetjmp(), but will invoke
1816 * traditional setjmp() if sigsetjmp isn't available.
1819 * This macro is used in the same way as siglongjmp(), but will invoke
1820 * traditional longjmp() if siglongjmp isn't available.
1822 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1823 #define HAS_SIGSETJMP /*config-skip*/
1825 #undef HAS_SIGSETJMP /*config-skip*/
1827 #ifdef HAS_SIGSETJMP
1828 #define Sigjmp_buf sigjmp_buf /* config-skip */
1829 #define Sigsetjmp(buf,save_mask) sigsetjmp(buf,save_mask) /* config-skip */
1830 #define Siglongjmp(buf,retval) siglongjmp(buf,retval) /* config-skip */
1832 #define Sigjmp_buf jmp_buf /* config-skip */
1833 #define Sigsetjmp(buf,save_mask) setjmp(buf) /* config-skip */
1834 #define Siglongjmp(buf,retval) longjmp(buf,retval) /* config-skip */
1837 /* USE_DYNAMIC_LOADING:
1838 * This symbol, if defined, indicates that dynamic loading of
1839 * some sort is available.
1841 #define USE_DYNAMIC_LOADING /**/
1844 * This variable contains the string to put in front of a perl
1845 * script to make sure (one hopes) that it runs with perl and not
1848 #define STARTPERL "" /**/
1851 * This symbol holds the type used for the second argument to
1852 * [gs]etgroups(). Usually, this is the same of gidtype, but
1853 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1854 * It may be necessary to include <sys/types.h> to get any
1855 * typedef'ed information. This is only required if you have
1856 * getgroups() or setgroups.
1858 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1859 #define Groups_t unsigned int /* config-skip */
1863 * This symbol contains the type of the prefix structure element
1864 * in the <db.h> header file. In older versions of DB, it was
1865 * int, while in newer ones it is u_int32_t.
1868 * This symbol contains the type of the prefix structure element
1869 * in the <db.h> header file. In older versions of DB, it was
1870 * int, while in newer ones it is size_t.
1872 #undef DB_Hash_t /**/
1873 #undef DB_Prefix_t /**/
1876 * This symbol, if defined, indicates that the PerlIO abstraction should
1877 * be used throughout. If not defined, stdio should be
1878 * used in a fully backward compatible manner.
1880 #undef USE_PERLIO /**/
1883 * This symbol, if defined, indicates that the setvbuf routine is
1884 * available to change buffering on an open stdio stream.
1885 * to a line-buffered mode.
1887 #define HAS_SETVBUF /**/
1890 * This symbol indicates how much support of the void type is given by this
1891 * compiler. What various bits mean:
1893 * 1 = supports declaration of void
1894 * 2 = supports arrays of pointers to functions returning void
1895 * 4 = supports comparisons between pointers to void functions and
1896 * addresses of void functions
1897 * 8 = suports declaration of generic void pointers
1899 * The package designer should define VOIDUSED to indicate the requirements
1900 * of the package. This can be done either by #defining VOIDUSED before
1901 * including config.h, or by defining defvoidused in Myinit.U. If the
1902 * latter approach is taken, only those flags will be tested. If the
1903 * level of void support necessary is not present, defines void to int.
1908 #define VOIDFLAGS 15
1909 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1910 #define void int /* is void to be avoided? */ /* config-skip */
1911 #define M_VOID /* Xenix strikes again */ /* config-skip */
1914 #ifdef VMS_DO_SOCKETS
1916 * This symbol, if defined, indicates that the BSD socket interface is
1920 * This symbol, if defined, indicates that the BSD socketpair() call is
1923 #define HAS_SOCKET /**/ /* config-skip */
1924 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1927 * This symbol, if defined, indicates that the gethostent routine is
1928 * available to lookup host names in some data base or other.
1930 #define HAS_GETHOSTENT /**/ /* config-skip */
1932 /* HAS_GETHOSTBYADDR:
1933 * This symbol, if defined, indicates that the gethostbyaddr routine is
1934 * available to lookup host names by their IP addresses.
1936 #define HAS_GETHOSTBYADDR /**/ /* config-skip */
1939 * This symbol holds the type used for the 1st argument
1940 * to gethostbyaddr().
1942 #define Netdb_host_t char * /**/ /* config-skip */
1945 * This symbol holds the type used for the 2nd argument
1946 * to gethostbyaddr().
1948 #define Netdb_hlen_t int /**/ /* config-skip */
1950 /* HAS_GETPROTOBYNAME:
1951 * This symbol, if defined, indicates that the getprotobyname()
1952 * routine is available to look up protocols by their name.
1954 /* HAS_GETPROTOBYNUMBER:
1955 * This symbol, if defined, indicates that the getprotobynumber()
1956 * routine is available to look up protocols by their number.
1958 #define HAS_GETPROTOBYNAME /*config-skip*/
1959 #define HAS_GETPROTOBYNUMBER /*config-skip*/
1961 /* HAS_GETHOSTBYNAME:
1962 * This symbol, if defined, indicates that the gethostbyname routine is
1963 * available to lookup hosts by their DNS names.
1965 #define HAS_GETHOSTBYNAME /*config-skip*/
1968 * This symbol holds the type used for the 1st argument
1969 * to gethostbyname(), the 1st argument to getnetbyname(),
1970 * the 1st argument to getprotobyname(), the 1st argument to
1971 * getservbyname(), the 2nd argument to getservbyname(),
1972 * and the 2nd argument to getservbyport().
1974 #define Netdb_name_t char *
1976 #ifdef DECCRTL_SOCKETS
1977 /* HAS_GETNETBYADDR:
1978 * This symbol, if defined, indicates that the getnetbyaddr routine is
1979 * available to lookup networks by their IP addresses.
1981 #define HAS_GETNETBYADDR /**/ /* config-skip */
1984 * This symbol holds the type used for the 1st argument
1985 * to getnetbyaddr().
1987 #define Netdb_net_t long /**/ /* config-skip */
1989 /* HAS_GETNETBYNAME:
1990 * This symbol, if defined, indicates that the getnetbyname routine is
1991 * available to lookup networks by their names.
1993 #define HAS_GETNETBYNAME /*config-skip*/
1996 * This symbol, if defined, indicates that the getnetent() routine is
1997 * available to look up network names in some data base or another.
1999 #define HAS_GETNETENT /*config-skip*/
2002 * This symbol, if defined, indicates that the setnetent() routine is
2005 #define HAS_SETNETENT /*config-skip*/
2008 * This symbol, if defined, indicates that the endnetent() routine is
2009 * available to close whatever was being used for network queries.
2011 #define HAS_ENDNETENT /*config-skip*/
2013 #undef HAS_GETNETBYADDR /*config-skip*/
2014 #undef HAS_GETNETBYNAME /*config-skip*/
2015 #undef HAS_GETNETENT /*config-skip*/
2016 #undef HAS_SETNETENT /*config-skip*/
2017 #undef HAS_ENDNETENT /*config-skip*/
2020 /* HAS_GETPROTOBYNAME:
2021 * This symbol, if defined, indicates that the getprotobyname routine is
2022 * available to lookup protocols by their names.
2024 /* HAS_GETPROTOBYNUMBER:
2025 * This symbol, if defined, indicates that the getprotobynumber()
2026 * routine is available to look up protocols by their number.
2028 #define HAS_GETPROTOBYNAME /*config-skip*/
2029 #define HAS_GETPROTOBYNUMBER /*config-skip*/
2031 /* HAS_GETSERVBYNAME:
2032 * This symbol, if defined, indicates that the getservbyname()
2033 * routine is available to look up services by their name.
2035 /* HAS_GETSERVBYPORT:
2036 * This symbol, if defined, indicates that the getservbyport()
2037 * routine is available to look up services by their port.
2039 #define HAS_GETSERVBYNAME /*config-skip*/
2040 #define HAS_GETSERVBYPORT /*config-skip*/
2043 * This symbol, if defined, indicates that the sethostent() routine is
2046 #define HAS_SETHOSTENT /*config-skip*/
2048 /* VMS: In general, TCP/IP header files should be included from
2049 * sockadapt.h, instead of here, in order to keep the TCP/IP code
2050 * together as much as possible.
2053 * This symbol, if defined, indicates to the C program that it should
2054 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
2056 #undef I_NETINET_IN /**/ /* config-skip */
2059 * This symbol, if defined, indicates that <netdb.h> exists and
2060 * should be included.
2062 #undef I_NETDB /**/ /* config-skip */
2065 * This symbol, if defined, indicates that <net/errno.h> exists and
2066 * should be included.
2068 #undef I_NET_ERRNO /**/ /* config-skip */
2071 * This symbol, if defined, indicates that the select routine is
2072 * available to select active file descriptors. If the timeout field
2073 * is used, <sys/time.h> may need to be included.
2075 #define HAS_SELECT /**/ /* config-skip */
2078 * This symbol, if defined, indicates that the endhostent() routine is
2079 * available to close whatever was being used for host queries.
2081 #define HAS_ENDHOSTENT /*config-skip*/
2084 * This symbol, if defined, indicates that the getprotoent() routine is
2085 * available to look up protocols in some data base or another.
2087 #define HAS_GETPROTOENT /*config-skip*/
2090 * This symbol, if defined, indicates that the endprotoent() routine is
2091 * available to close whatever was being used for protocol queries.
2093 #define HAS_ENDPROTOENT /*config-skip*/
2096 * This symbol, if defined, indicates that the setprotoent() routine is
2099 #define HAS_SETPROTOENT /*config-skip*/
2102 * This symbol, if defined, indicates that the getservent() routine is
2103 * available to look up network services in some data base or another.
2105 #define HAS_GETSERVENT /*config-skip*/
2108 * This symbol, if defined, indicates that the setservent() routine is
2111 #define HAS_SETSERVENT /*config-skip*/
2114 * This symbol, if defined, indicates that the endservent() routine is
2115 * available to close whatever was being used for service queries.
2117 #define HAS_ENDSERVENT /*config-skip*/
2119 /* HAS_GETHOST_PROTOS:
2120 * This symbol, if defined, indicates that <netdb.h> includes
2121 * prototypes for gethostent(), gethostbyname(), and
2122 * gethostbyaddr(). Otherwise, it is up to the program to guess
2123 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2125 #define HAS_GETHOST_PROTOS /*config-skip*/
2127 /* HAS_GETNET_PROTOS:
2128 * This symbol, if defined, indicates that <netdb.h> includes
2129 * prototypes for getnetent(), getnetbyname(), and
2130 * getnetbyaddr(). Otherwise, it is up to the program to guess
2131 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2133 #define HAS_GETNET_PROTOS /*config-skip*/
2135 /* HAS_GETPROTO_PROTOS:
2136 * This symbol, if defined, indicates that <netdb.h> includes
2137 * prototypes for getprotoent(), getprotobyname(), and
2138 * getprotobyaddr(). Otherwise, it is up to the program to guess
2139 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2141 #define HAS_GETPROTO_PROTOS /*config-skip*/
2143 /* HAS_GETSERV_PROTOS:
2144 * This symbol, if defined, indicates that <netdb.h> includes
2145 * prototypes for getservent(), getservbyname(), and
2146 * getservbyaddr(). Otherwise, it is up to the program to guess
2147 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2149 #define HAS_GETSERV_PROTOS /*config-skip*/
2151 #else /* VMS_DO_SOCKETS */
2153 #undef HAS_SOCKET /*config-skip*/
2154 #undef HAS_SOCKETPAIR /*config-skip*/
2155 #undef HAS_GETHOSTENT /*config-skip*/
2156 #undef HAS_SETHOSTENT /*config-skip*/
2157 #undef I_NETINET_IN /*config-skip*/
2158 #undef I_NETDB /*config-skip*/
2159 #undef I_NET_ERRNO /*config-skip*/
2160 #undef HAS_SELECT /*config-skip*/
2161 #undef HAS_GETHOSTBYADDR /*config-skip*/
2162 #undef HAS_GETNETBYADDR /*config-skip*/
2163 #undef HAS_GETNETENT /*config-skip*/
2164 #undef HAS_SETNETENT /*config-skip*/
2165 #undef HAS_ENDNETENT /*config-skip*/
2166 #undef HAS_GETHOSTBYNAME /*config-skip*/
2167 #undef HAS_GETNETBYNAME /*config-skip*/
2168 #undef HAS_GETPROTOBYNAME /*config-skip*/
2169 #undef HAS_GETPROTOBYNUMBER /*config-skip*/
2170 #undef HAS_GETSERVBYNAME /*config-skip*/
2171 #undef HAS_GETSERVBYPORT /*config-skip*/
2172 #undef HAS_ENDHOSTENT /*config-skip*/
2173 #undef HAS_GETPROTOENT /*config-skip*/
2174 #undef HAS_SETPROTOENT /*config-skip*/
2175 #undef HAS_ENDPROTOENT /*config-skip*/
2176 #undef HAS_GETSERVENT /*config-skip*/
2177 #undef HAS_SETSERVENT /*config-skip*/
2178 #undef HAS_ENDSERVENT /*config-skip*/
2179 #undef HAS_GETHOST_PROTOS /*config-skip*/
2180 #undef HAS_GETNET_PROTOS /*config-skip*/
2181 #undef HAS_GETPROTO_PROTOS /*config-skip*/
2182 #undef HAS_GETSERV_PROTOS /*config-skip*/
2184 #endif /* !VMS_DO_SOCKETS */