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_00456" /**/
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, if defined, indicates that Perl 5.004 should be
94 * binary-compatible with Perl 5.003.
99 * This symbol contains the first part of the string which will invoke
100 * the C preprocessor on the standard input and produce to standard
101 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
102 * call a wrapper. See CPPRUN.
105 * This symbol contains the second part of the string which will invoke
106 * the C preprocessor on the standard input and produce to standard
107 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
108 * to specify standard input, otherwise the value is "".
110 #define CPPSTDIN "cc/noobj/preprocess=sys$output sys$input"
114 * This symbol is defined if the bcmp() routine is available to
115 * compare blocks of memory.
117 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
118 #define HAS_BCMP /**/
120 #undef HAS_BCMP /*config-skip*/
123 #include <string.h> /* Check whether new DECC has #defined bcopy and bzero */
125 * This symbol is defined if the bcopy() routine is available to
126 * copy blocks of memory.
128 #undef HAS_BCOPY /**/
130 # define HAS_BCOPY /*config-skip*/
134 * This symbol is defined if the bzero() routine is available to
135 * set a memory block to 0.
137 #undef HAS_BZERO /**/
139 # define HAS_BZERO /*config-skip*/
143 * This symbol is defined if the C compiler can cast negative
144 * numbers to unsigned longs, ints and shorts.
147 * This symbol contains flags that say what difficulties the compiler
148 * has casting odd floating values to unsigned long:
150 * 1 = couldn't cast < 0
151 * 2 = couldn't cast >= 0x80000000
153 #define CASTNEGFLOAT /**/
154 #define CASTFLAGS 0 /**/
157 * This symbol, if defined, indicates that the chsize routine is available
158 * to truncate files. You might need a -lx to get this routine.
160 #undef HAS_CHSIZE /**/
163 * This symbol, if defined, indicates that this C compiler knows about
164 * the const type. There is no need to actually test for that symbol
165 * within your programs. The mere use of the "const" keyword will
166 * trigger the necessary tests.
168 #define HASCONST /**/
171 * This symbol, if defined, indicates that the crypt routine is available
172 * to encrypt passwords and the like.
174 #define HAS_CRYPT /**/
177 * This symbol hold the hexadecimal constant defined in byteorder,
178 * i.e. 0x1234 or 0x4321, etc...
180 #define BYTEORDER 0x1234 /* large digits for MSB */
183 * This symbol, if defined, indicates that the C-shell exists.
184 * If defined, contains the full pathname of csh.
189 * This symbol, if defined, indicates that the dup2 routine is
190 * available to duplicate file descriptors.
192 #define HAS_DUP2 /**/
195 * This symbol, if defined, indicates that the fchmod routine is available
196 * to change mode of opened files. If unavailable, use chmod().
198 #undef HAS_FCHMOD /**/
201 * This symbol, if defined, indicates that the fchown routine is available
202 * to change ownership of opened files. If unavailable, use chown().
204 #undef HAS_FCHOWN /**/
207 * This symbol, if defined, indicates to the C program that
208 * the fcntl() function exists.
210 #undef HAS_FCNTL /**/
213 * This symbol, if defined, indicates that the fgetpos routine is
214 * available to get the file position indicator, similar to ftell().
216 #define HAS_FGETPOS /**/
219 * This symbol, if defined, indicates that the system supports filenames
220 * longer than 14 characters.
222 #define FLEXFILENAMES /**/
225 * This symbol, if defined, indicates that the flock routine is
226 * available to do file locking.
228 #undef HAS_FLOCK /**/
231 * This symbol, if defined, indicates that the fsetpos routine is
232 * available to set the file position indicator, similar to fseek().
234 #define HAS_FSETPOS /**/
237 * This symbol, if defined, indicates that the gettimeofday() system
238 * call is available for a sub-second accuracy clock. Usually, the file
239 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
240 * The type "Timeval" should be used to refer to "struct timeval".
242 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
243 #define HAS_GETTIMEOFDAY /**/
245 #undef HAS_GETTIMEOFDAY /*config-skip*/
247 #ifdef HAS_GETTIMEOFDAY
248 # define Timeval struct timeval /*config-skip*/
252 * This symbol, if defined, indicates that the getgroups() routine is
253 * available to get the list of process groups. If unavailable, multiple
254 * groups are probably not supported.
257 * This symbol, if defined, indicates that the setgroups() routine is
258 * available to set the list of process groups. If unavailable, multiple
259 * groups are probably not supported.
261 #undef HAS_GETGROUPS /**/
262 #undef HAS_SETGROUPS /**/
265 * This symbol, if defined, indicates that the C program may use the
266 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
269 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
270 #define HAS_UNAME /**/
272 #undef HAS_UNAME /*config-skip*/
276 * This symbol, if defined, indicates that the getpriority routine is
277 * available to get a process's priority.
279 #undef HAS_GETPRIORITY /**/
282 * This symbol, if defined, indicates that the killpg routine is available
283 * to kill process groups. If unavailable, you probably should use kill
284 * with a negative process number.
286 #undef HAS_KILLPG /**/
289 * This symbol, if defined, indicates that the link routine is
290 * available to create hard links.
295 * This symbol, if defined, indicates that the lstat routine is
296 * available to do file stats on symbolic links.
298 #undef HAS_LSTAT /**/
301 * This symbol, if defined, indicates that the lockf routine is
302 * available to do file locking.
304 #undef HAS_LOCKF /**/
307 * This symbol, if defined, indicates that the mbstowcs routine is
308 * available to covert a multibyte string into a wide character string.
311 # define HAS_MBSTOWCS /*config-skip*/
313 # undef HAS_MBSTOWCS /*config-skip*/
317 * This symbol, if defined, indicates that the mbtowc routine is available
318 * to covert a multibyte to a wide character.
321 # define HAS_MBTOWC /*config-skip*/
323 # undef HAS_MBTOWC /*config-skip*/
327 * This symbol, if defined, indicates that the memcmp routine is available
328 * to compare blocks of memory.
330 #define HAS_MEMCMP /**/
333 * This symbol, if defined, indicates that the memcpy routine is available
334 * to copy blocks of memory.
336 #define HAS_MEMCPY /**/
339 * This symbol, if defined, indicates that the memmove routine is available
340 * to copy potentially overlapping blocks of memory. This should be used
341 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
344 #define HAS_MEMMOVE /**/
347 * This symbol, if defined, indicates that the memset routine is available
348 * to set blocks of memory.
350 #define HAS_MEMSET /**/
353 * This symbol, if defined, indicates that the mkdir routine is available
354 * to create directories. Otherwise you should fork off a new process to
357 #define HAS_MKDIR /**/
360 * This symbol, if defined, indicates that the entire msg*(2) library is
361 * supported (IPC mechanism based on message queues).
366 * This manifest constant lets the C program know that the three
367 * argument form of open(2) is available.
369 #define HAS_OPEN3 /**/
372 * This symbol, if defined, indicates that the poll routine is
373 * available to poll active file descriptors.
377 /* HAS_PTHREAD_YIELD:
378 * This symbol, if defined, indicates that the pthread_yield routine is
379 * available to yield the execution of the current thread.
380 * VMS: pthread_yield_np is there, but we won't worry for now since it's
381 * set up already as sched_yield.
383 #undef HAS_PTHREAD_YIELD /**/
386 * This symbol, if defined, indicates that the sched_yield routine is
387 * available to yield the execution of the current thread.
389 #define HAS_SCHED_YIELD /**/
392 * This symbol, if defined, indicates that the readdir routine is
393 * available to read directory entries. You may have to include
394 * <dirent.h>. See I_DIRENT.
396 #define HAS_READDIR /**/
399 * This symbol, if defined, indicates that the seekdir routine is
400 * available. You may have to include <dirent.h>. See I_DIRENT.
402 #define HAS_SEEKDIR /**/
405 * This symbol, if defined, indicates that the telldir routine is
406 * available. You may have to include <dirent.h>. See I_DIRENT.
408 #define HAS_TELLDIR /**/
411 * This symbol, if defined, indicates that the rewinddir routine is
412 * available. You may have to include <dirent.h>. See I_DIRENT.
414 #define HAS_REWINDDIR /**/
417 * This symbol, if defined, indicates that the rename routine is available
418 * to rename files. Otherwise you should do the unlink(), link(), unlink()
421 #define HAS_RENAME /**/
424 * This symbol, if defined, indicates that the rmdir routine is
425 * available to remove directories. Otherwise you should fork off a
426 * new process to exec /bin/rmdir.
428 #define HAS_RMDIR /**/
431 * This symbol, if defined, indicates that the entire sem*(2) library is
437 * This symbol, if defined, indicates that the setegid routine is available
438 * to change the effective gid of the current program.
440 #undef HAS_SETEGID /**/
443 * This symbol, if defined, indicates that the seteuid routine is available
444 * to change the effective uid of the current program.
446 #undef HAS_SETEUID /**/
450 * This symbol, if defined, indicates that the setpriority routine is
451 * available to set a process's priority.
453 #undef HAS_SETPRIORITY /**/
456 * This symbol, if defined, indicates that the setregid routine is
457 * available to change the real and effective gid of the current
461 * This symbol, if defined, indicates that the setresgid routine is
462 * available to change the real, effective and saved gid of the current
465 #undef HAS_SETREGID /**/
466 #undef HAS_SETRESGID /**/
469 * This symbol, if defined, indicates that the setreuid routine is
470 * available to change the real and effective uid of the current
474 * This symbol, if defined, indicates that the setresuid routine is
475 * available to change the real, effective and saved uid of the current
478 #undef HAS_SETREUID /**/
479 #undef HAS_SETRESUID /**/
482 * This symbol, if defined, indicates that the setrgid routine is available
483 * to change the real gid of the current program.
485 #undef HAS_SETRGID /**/
488 * This symbol, if defined, indicates that the setruid routine is available
489 * to change the real uid of the current program.
491 #undef HAS_SETRUID /**/
494 * This symbol, if defined, indicates that the setsid routine is
495 * available to set the process group ID.
497 #undef HAS_SETSID /**/
500 * This symbol, if defined, indicates that the entire shm*(2) library is
506 * This symbol holds the return type of the shmat() system call.
507 * Usually set to 'void *' or 'char *'.
509 /* HAS_SHMAT_PROTOTYPE:
510 * This symbol, if defined, indicates that the sys/shm.h includes
511 * a prototype for shmat(). Otherwise, it is up to the program to
512 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
513 * but not always right so it should be emitted by the program only
514 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
516 #undef Shmat_t /**/ /* config-skip */
517 #undef HAS_SHMAT_PROTOTYPE /**/
520 * This symbol, if defined, indicates that Vr4's sigaction() routine
523 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
524 #define HAS_SIGACTION /**/
526 #undef HAS_SIGACTION /*config-skip*/
530 * This symbol is defined if this system has a stat structure declaring
531 * st_blksize and st_blocks.
533 #undef USE_STAT_BLOCKS /**/
536 * This symbol is defined if the _ptr and _cnt fields (or similar)
537 * of the stdio FILE structure can be used to access the stdio buffer
538 * for a file handle. If this is defined, then the FILE_ptr(fp)
539 * and FILE_cnt(fp) macros will also be defined and should be used
540 * to access these fields.
543 * This symbol is defined if the _base field (or similar) of the
544 * stdio FILE structure can be used to access the stdio buffer for
545 * a file handle. If this is defined, then the FILE_base(fp) macro
546 * will also be defined and should be used to access this field.
547 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
548 * to determine the number of bytes in the buffer. USE_STDIO_BASE
549 * will never be defined unless USE_STDIO_PTR is.
552 * This symbol is defined if the FILE_ptr macro can be used as an
556 * This symbol is defined if the FILE_cnt macro can be used as an
560 # define USE_STDIO_PTR /*config-skip*/
561 # define USE_STDIO_BASE /*config-skip*/
562 # define STDIO_PTR_LVALUE /*config-skip*/
563 # define STDIO_CNT_LVALUE /*config-skip*/
565 # undef USE_STDIO_PTR /*config-skip*/
566 # undef USE_STDIO_BASE /*config-skip*/
567 # undef STDIO_PTR_LVALUE /*config-skip*/
568 # undef STDIO_CNT_LVALUE /*config-skip*/
572 * This macro is used to access the _ptr field (or equivalent) of the
573 * FILE structure pointed to by its argument. This macro will always be
574 * defined if USE_STDIO_PTR is defined.
577 * This macro is used to access the _cnt field (or equivalent) of the
578 * FILE structure pointed to by its argument. This macro will always be
579 * defined if USE_STDIO_PTR is defined.
582 # define FILE_ptr(fp) ((*fp)->_ptr)
583 # define FILE_cnt(fp) ((*fp)->_cnt)
587 * This macro is used to access the _base field (or equivalent) of the
588 * FILE structure pointed to by its argument. This macro will always be
589 * defined if USE_STDIO_BASE is defined.
592 * This macro is used to determine the number of bytes in the I/O
593 * buffer pointed to by _base field (or equivalent) of the FILE
594 * structure pointed to its argument. This macro will always be defined
595 * if USE_STDIO_BASE is defined.
597 #ifdef USE_STDIO_BASE
598 # define FILE_base(fp) ((*fp)->_base)
599 # define FILE_bufsiz(fp) ((*fp)->_cnt + (*fp)->_ptr - (*fp)->_base)
603 * This symbol, if defined, indicates that this C compiler knows how
604 * to copy structures. If undefined, you'll need to use a block copy
605 * routine of some sort instead.
607 #define USE_STRUCT_COPY /**/
610 * This symbol, if defined, indicates that the strerror routine is
611 * available to translate error numbers to strings. See the writeup
612 * of Strerror() in this file before you try to define your own.
615 * This symbol, if defined, indicates that the sys_errlist array is
616 * available to translate error numbers to strings. The extern int
617 * sys_nerr gives the size of that table.
620 * This preprocessor symbol is defined as a macro if strerror() is
621 * not available to translate error numbers to strings but sys_errlist[]
624 #define HAS_STRERROR /**/
625 #undef HAS_SYS_ERRLIST /**/
626 #define Strerror(e) strerror((e),vaxc$errno)
629 * This symbol, if defined, indicates that the symlink routine is available
630 * to create symbolic links.
632 #undef HAS_SYMLINK /**/
635 * This symbol, if defined, indicates that the syscall routine is
636 * available to call arbitrary system calls. If undefined, that's tough.
638 #undef HAS_SYSCALL /**/
641 * This symbol, if defined, indicates that the system routine is
642 * available to issue a shell command.
644 #define HAS_SYSTEM /**/
647 * This symbol holds the type returned by time(). It can be long,
648 * or time_t on BSD sites (in which case <sys/types.h> should be
651 #define Time_t time_t /* Time type */
654 * This symbol, if defined, indicates that the truncate routine is
655 * available to truncate files.
657 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
658 #define HAS_TRUNCATE /**/
660 #undef HAS_TRUNCATE /*config-skip*/
665 * This symbol, if defined, indicates that vfork() exists.
667 #define HAS_VFORK /**/
670 * This symbol's value is either "void" or "int", corresponding to the
671 * appropriate return type of a signal handler. Thus, you can declare
672 * a signal handler using "Signal_t (*handler)()", and define the
673 * handler using "Signal_t handler(sig)".
675 #define Signal_t void /* Signal handler's return type */
678 * This symbol, if defined, indicates that this C compiler knows about
679 * the volatile declaration.
681 #define HASVOLATILE /**/
683 #define volatile /* config-skip */
687 * This symbol, if defined, indicates that the vprintf routine is available
688 * to printf with a pointer to an argument list. If unavailable, you
689 * may need to write your own, probably in terms of _doprnt().
691 /* USE_CHAR_VSPRINTF:
692 * This symbol is defined if this system has vsprintf() returning type
693 * (char*). The trend seems to be to declare it as "int vsprintf()". It
694 * is up to the package author to declare vsprintf correctly based on the
697 #define HAS_VPRINTF /**/
698 #undef USE_CHAR_VSPRINTF /**/
701 * This symbol, if defined, indicates that wait4() exists.
703 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
704 #define HAS_WAIT4 /**/
706 #undef HAS_WAIT4 /*config-skip*/
710 * This symbol, if defined, indicates that the waitpid routine is
711 * available to wait for child process.
713 #define HAS_WAITPID /**/
716 * This symbol, if defined, indicates that the wcstombs routine is
717 * available to convert wide character strings to multibyte strings.
720 # define HAS_WCSTOMBS /*config-skip*/
722 # undef HAS_WCSTOMBS /*config-skip*/
726 * This symbol, if defined, indicates to the C program that it should
727 * include <dirent.h>. Using this symbol also triggers the definition
728 * of the Direntry_t define which ends up being 'struct dirent' or
729 * 'struct direct' depending on the availability of <dirent.h>.
732 * This symbol, if defined, indicates to the C program that the length
733 * of directory entry names is provided by a d_namlen field. Otherwise
734 * you need to do strlen() on the d_name field.
737 #define DIRNAMLEN /**/
738 #define Direntry_t struct dirent
741 * This manifest constant tells the C program to include <fcntl.h>.
746 * This symbol, if defined, indicates to the C program that it should
752 * This symbol, if defined, indicates to the C program that it should
753 * include <limits.h> to get definition of symbols like WORD_BIT or
754 * LONG_MAX, i.e. machine dependant limitations.
756 #define I_LIMITS /**/
759 * This symbol, if defined, indicates to the C program that it should
760 * include <memory.h>.
765 * This symbol, if defined, indicates that ndbm.h exists and should
771 * This symbol, if defined, indicates that <stdarg.h> exists and should
774 #define I_STDARG /**/
777 * This symbol, if defined, indicates to the C program that it should
781 * This symbol, if defined, indicates to the C program that struct passwd
785 * This symbol, if defined, indicates to the C program that struct passwd
789 * This symbol, if defined, indicates to the C program that struct passwd
790 * contains pw_change.
793 * This symbol, if defined, indicates to the C program that struct passwd
797 * This symbol, if defined, indicates to the C program that struct passwd
798 * contains pw_expire.
801 * This symbol, if defined, indicates to the C program that struct passwd
802 * contains pw_comment.
810 #define PWCOMMENT /**/
813 * This symbol, if defined, indicates that <stddef.h> exists and should
816 #define I_STDDEF /**/
819 * This symbol, if defined, indicates that <stdlib.h> exists and should
822 #define I_STDLIB /**/
825 * This symbol, if defined, indicates to the C program that it should
826 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
828 #define I_STRING /**/
831 * This symbol, if defined, indicates to the C program that it should
832 * include <sys/dir.h>.
834 #undef I_SYS_DIR /**/
837 * This symbol, if defined, indicates to the C program that it should
838 * include <sys/file.h> to get definition of R_OK and friends.
840 #undef I_SYS_FILE /**/
843 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
844 * be included. Otherwise, include <sgtty.h> or <termio.h>.
846 #undef I_SYS_IOCTL /**/
849 * This symbol, if defined, indicates to the C program that it should
850 * include <sys/ndir.h>.
852 #undef I_SYS_NDIR /**/
855 * This symbol, if defined, indicates to the C program that it should
856 * include <sys/resource.h>.
858 #undef I_SYS_RESOURCE /**/
861 * This symbol, if defined, indicates to the C program that it should
862 * include <sys/select.h> in order to get definition of struct timeval.
864 #undef I_SYS_SELECT /**/
867 * This symbol, if defined, indicates that <dbm.h> exists and should
871 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
872 * should be included.
875 #undef I_RPCSVC_DBM /**/
878 * This symbol, if defined, indicates to the C program that it should
884 * This symbol, if defined, indicates to the C program that it should
885 * include <sys/stat.h>.
887 #define I_SYS_STAT /**/
890 * This symbol, if defined, indicates to the C program that it should
891 * include <sys/times.h>.
893 #undef I_SYS_TIMES /**/
896 * This symbol, if defined, indicates to the C program that it should
897 * include <sys/types.h>.
899 #define I_SYS_TYPES /**/
902 * This symbol, if defined, indicates to the C program that it should
903 * include <sys/un.h> to get UNIX domain socket definitions.
908 * This symbol, if defined, indicates to the C program that it should
909 * include <sys/wait.h>.
911 #undef I_SYS_WAIT /**/
914 * This symbol, if defined, indicates that the program should include
915 * <termio.h> rather than <sgtty.h>. There are also differences in
916 * the ioctl() calls that depend on the value of this symbol.
919 * This symbol, if defined, indicates that the program should include
920 * the POSIX termios.h rather than sgtty.h or termio.h.
921 * There are also differences in the ioctl() calls that depend on the
922 * value of this symbol.
925 * This symbol, if defined, indicates that the program should include
926 * <sgtty.h> rather than <termio.h>. There are also differences in
927 * the ioctl() calls that depend on the value of this symbol.
931 #undef I_TERMIOS /**/
934 * This symbol, if defined, indicates to the C program that it should
938 * This symbol, if defined, indicates to the C program that it should
939 * include <sys/time.h>.
941 /* I_SYS_TIME_KERNEL:
942 * This symbol, if defined, indicates to the C program that it should
943 * include <sys/time.h> with KERNEL defined.
946 #undef I_SYS_TIME /**/
947 #undef I_SYS_TIME_KERNEL /**/
950 * This symbol, if defined, indicates to the C program that it should
951 * include <unistd.h>.
956 * This symbol, if defined, indicates to the C program that it should
962 * This symbol, if defined, indicates to the C program that it should
963 * include <varargs.h>.
965 #undef I_VARARGS /**/
969 * This symbol, if defined, indicates to the C program that it should
975 * If defined, this macro indicates that the C compiler can handle
976 * function prototypes.
979 * This macro is used to declare function parameters for folks who want
980 * to make declarations with prototypes using a different style than
981 * the above macros. Use double parentheses. For example:
983 * int main _((int argc, char *argv[]));
985 #define CAN_PROTOTYPE /**/
987 #define _(args) args /* config-skip */
989 #define _(args) () /* config-skip */
993 * This symbol contains the number of bits of random number the rand()
994 * function produces. Usual values are 15, 16, and 31.
996 #define RANDBITS 31 /**/
1000 * This symbol holds the type used for the 2nd, 3rd, and 4th
1001 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1002 * is defined, and 'int *' otherwise. This is only useful if you
1003 * have select(), of course.
1005 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 50200000) && defined(DECCRTL_SOCKETS)
1006 #define Select_fd_set_t fd_set * /**/
1008 #define Select_fd_set_t int * /* config-skip */
1012 * This symbol is defined to be the type of char used in stdio.h.
1013 * It has the values "unsigned char" or "char".
1015 #define STDCHAR char /**/
1017 /* UNLINK_ALL_VERSIONS:
1018 * This symbol, if defined, indicates that the program should arrange
1019 * to remove all versions of a file if unlink() is called.
1021 #undef UNLINK_ALL_VERSIONS /**/
1024 * This symbol holds the complete pathname to the sed program.
1026 #define LOC_SED "_NLA0:" /**/
1029 * This symbol holds the path of the bin directory where the package will
1030 * be installed. Program must be prepared to deal with ~name substitution.
1033 * This symbol is the filename expanded version of the BIN symbol, for
1034 * programs that do not want to deal with that at run-time.
1036 #define BIN "/perl_root/000000" /**/
1037 #define BIN_EXP "/perl_root/000000" /**/
1040 * This symbol, if defined, indicates that the alarm routine is
1043 #define HAS_ALARM /**/
1046 * This symbol indicates the C compiler can check for function attributes,
1047 * such as printf formats. This is normally only supported by GNU cc.
1050 # define HASATTRIBUTE /*config-skip*/
1052 # undef HASATTRIBUTE /*config-skip*/
1054 #ifndef HASATTRIBUTE
1055 #define __attribute__(_arg_)
1059 * This symbol is defined if the C compiler can cast negative
1060 * or large floating point numbers to 32-bit ints.
1062 #define CASTI32 /**/
1065 * This symbol, if defined, indicates that the chown routine is
1068 #define HAS_CHOWN /**/
1071 * This symbol, if defined, indicates that the chroot routine is
1074 #undef HAS_CHROOT /**/
1077 * This symbol, if defined, indicates that the cuserid routine is
1078 * available to get character login names.
1080 #define HAS_CUSERID /**/
1083 * This symbol, if defined, indicates that this system's <float.h>
1084 * or <limits.h> defines the symbol DBL_DIG, which is the number
1085 * of significant digits in a double precision number. If this
1086 * symbol is not defined, a guess of 15 is usually pretty good.
1088 #define HAS_DBL_DIG /* */
1091 * This symbol, if defined, indicates that the difftime routine is
1094 #define HAS_DIFFTIME /**/
1097 * This symbol, if defined, indicates that the fork routine is
1100 /* VMS: In vmsish.h, fork is #defined to vfork. This kludge gets around
1101 * some obsolete code in pp.c, which should be fixed in its own right
1102 * sometime. - C. Bailey 26-Aug-1994
1104 #define HAS_FORK /**/
1107 * This symbol, if defined, indicates that the getlogin routine is
1110 #define HAS_GETLOGIN /**/
1113 * This symbol, if defined, indicates that the getppid routine is
1116 #undef HAS_GETPPID /**/
1119 * This symbol, if defined, indicates that the htonl() routine (and
1120 * friends htons() ntohl() ntohs()) are available to do network
1121 * order byte swapping.
1124 * This symbol, if defined, indicates that the htons() routine (and
1125 * friends htonl() ntohl() ntohs()) are available to do network
1126 * order byte swapping.
1129 * This symbol, if defined, indicates that the ntohl() routine (and
1130 * friends htonl() htons() ntohs()) are available to do network
1131 * order byte swapping.
1134 * This symbol, if defined, indicates that the ntohs() routine (and
1135 * friends htonl() htons() ntohl()) are available to do network
1136 * order byte swapping.
1138 #define HAS_HTONL /**/
1139 #define HAS_HTONS /**/
1140 #define HAS_NTOHL /**/
1141 #define HAS_NTOHS /**/
1144 * This symbol, if defined, indicates that the mblen routine is available
1145 * to find the number of bytes in a multibye character.
1148 # define HAS_MBLEN /*config-skip*/
1150 # undef HAS_MBLEN /*config-skip*/
1154 * This symbol, if defined, indicates that the mktime routine is
1158 # define HAS_MKTIME /*config-skip*/
1160 # undef HAS_MKTIME /*config-skip*/
1164 * This symbol, if defined, indicates that the nice routine is
1167 #define HAS_NICE /**/
1170 * This symbol, if defined, indicates that the pause routine is
1173 #define HAS_PAUSE /**/
1176 * This symbol, if defined, indicates that the pipe routine is
1179 #define HAS_PIPE /**/
1182 * This symbol, if defined, indicates that the readlink routine is
1185 #undef HAS_READLINK /**/
1188 * This symbol, if defined, indicates that the setlinebuf routine is
1189 * available to change stderr or stdout from block-buffered or unbuffered
1190 * to a line-buffered mode.
1192 #undef HAS_SETLINEBUF /**/
1195 * This symbol is defined to indicate that the strchr()/strrchr()
1196 * functions are available for string searching. If not, try the
1197 * index()/rindex() pair.
1200 * This symbol is defined to indicate that the index()/rindex()
1201 * functions are available for string searching.
1203 #define HAS_STRCHR /**/
1204 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1205 #define HAS_INDEX /**/
1207 #undef HAS_INDEX /*config-skip*/
1211 * This symbol, if defined, indicates that the strcoll routine is
1212 * available to compare strings using collating information.
1215 # define HAS_STRCOLL /*config-skip*/
1217 # undef HAS_STRCOLL /*config-skip*/
1221 * This symbol, if defined, indicates that the strtod routine is
1222 * available to provide better numeric string conversion than atof().
1224 #define HAS_STRTOD /**/
1227 * This symbol, if defined, indicates that the strtol routine is available
1228 * to provide better numeric string conversion than atoi() and friends.
1230 #define HAS_STRTOL /**/
1233 * This symbol, if defined, indicates that the strtoul routine is
1234 * available to provide conversion of strings to unsigned long.
1236 #define HAS_STRTOUL /**/
1239 * This symbol, if defined, indicates that the strxfrm() routine is
1240 * available to compare strings using collating information.
1243 # define HAS_STRXFRM /*config-skip*/
1245 # undef HAS_STRXFRM /*config-skip*/
1249 * This symbol, if defined, indicates that the tcgetpgrp routine is
1250 * available to get foreground process group ID.
1252 #undef HAS_TCGETPGRP /**/
1255 * This symbol, if defined, indicates that the tcsetpgrp routine is
1256 * available to set foreground process group ID.
1258 #undef HAS_TCSETPGRP /**/
1261 * This symbol, if defined, indicates that the times() routine exists.
1262 * Note that this became obsolete on some systems (SUNOS), which now
1263 * use getrusage(). It may be necessary to include <sys/times.h>.
1265 #define HAS_TIMES /**/
1268 * This symbol, if defined, indicates that the tzname[] array is
1269 * available to access timezone names.
1271 #undef HAS_TZNAME /**/
1274 * This symbol, if defined, indicates that the umask routine is
1275 * available to get the file creation mask.
1277 #define HAS_UMASK /**/
1280 * This symbol, if defined, indicates that the wctomb routine is available
1281 * to covert a wide character to a multibyte.
1284 # define HAS_WCTOMB /*config-skip*/
1286 # undef HAS_WCTOMB /*config-skip*/
1290 * This symbol holds the type used to declare file positions in libc.
1291 * It can be fpos_t, long, uint, etc... It may be necessary to include
1292 * <sys/types.h> to get any typedef'ed information.
1294 #define Fpos_t fpos_t /* File position type */
1297 * This symbol holds the return type of getgid() and the type of
1298 * argument to setrgid() and related functions. Typically,
1299 * it is the type of group ids in the kernel.
1300 * It can be int, ushort, uid_t, etc... It may be necessary to include
1301 * <sys/types.h> to get any typedef'ed information.
1303 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1304 # define Gid_t gid_t /* config-skip */
1306 # define Gid_t unsigned int /* config-skip */
1310 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1316 * This symbol, if defined, indicates to the C program that it should
1317 * include <float.h> to get definition of symbols like DBL_MAX or
1318 * DBL_MIN, i.e. machine dependent floating point values.
1320 #define I_FLOAT /**/
1323 * This symbol, if defined, indicates to the C program that it should
1329 * This symbol contains the size of an int, so that the C preprocessor
1330 * can make decisions based on it.
1333 * This symbol contains the value of sizeof(long) so that the C
1334 * preprocessor can make decisions based on it.
1337 * This symbol contains the value of sizeof(short) so that the C
1338 * preprocessor can make decisions based on it.
1340 #define INTSIZE 4 /**/
1341 #define LONGSIZE 4 /**/
1342 #define SHORTSIZE 2 /**/
1345 * This symbol holds the type used to declare offsets in the kernel.
1346 * It can be int, long, off_t, etc... It may be necessary to include
1347 * <sys/types.h> to get any typedef'ed information.
1349 #define Off_t int /* <offset> type */
1352 * This symbol, if defined, indicates to the C program that it should
1353 * include <values.h> to get definition of symbols like MINFLOAT or
1354 * MAXLONG, i.e. machine dependant limitations. Probably, you
1355 * should use <limits.h> instead, if it is available.
1357 #undef I_VALUES /**/
1360 * This variable contains the return type of free(). It is usually
1361 * void, but occasionally int.
1364 * This symbol is the type of pointer returned by malloc and realloc.
1366 #define Malloc_t void * /**/
1367 #define Free_t void /**/
1370 * This symbol, if defined, indicates that we're using our own malloc.
1372 #undef MYMALLOC /**/
1375 * This symbol contains the full pathname to the shell used on this
1376 * on this system to execute Bourne shell scripts. Usually, this will be
1377 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1378 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as D:/bin/sh.
1380 #define SH_PATH "MCR" /**/
1383 * This symbol contains a list of signal names in order. This is intended
1384 * to be used as a static array initialization, like this:
1385 * char *sig_name[] = { SIG_NAME };
1386 * The signals in the list are separated with commas, and each signal
1387 * is surrounded by double quotes. There is no leading SIG in the signal
1388 * name, i.e. SIGQUIT is known as "QUIT". Duplicates are allowed.
1389 * The signal number for sig_name[i] is stored in sig_num[i].
1390 * The last element is 0 to terminate the list with a NULL. This
1391 * corresponds to the 0 at the end of the sig_num list.
1392 * See SIG_NUM and SIG_MAX.
1394 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1395 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE",\
1396 "KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM",\
1397 "ABRT","USR1","USR2","SPARE18","SPARE19","CHLD","CONT",\
1398 "STOP","TSTP","TTIN","TTOU","DEBUG","SPARE27","SPARE28",\
1399 "SPARE29","SPARE30","SPARE31","SPARE32","RTMIN","RTMAX",0 /**/
1401 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE",\
1402 "KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM",\
1403 "ABRT","USR1","USR2",0 /*config-skip*/
1407 * This symbol contains a list of signal number, in the same order as the
1408 * SIG_NAME list. It is suitable for static array initialization, as in:
1409 * int sig_num[] = { SIG_NUM };
1410 * The signals in the list are separated with commas, and the indices
1411 * within that list and the SIG_NAME list match, so it's easy to compute
1412 * the signal name from a number or vice versa at the price of a small
1413 * dynamic linear lookup. Duplicates are allowed, so you can't assume
1414 * sig_num[i] == i. Instead, the signal number corresponding to
1415 * sig_name[i] is sig_number[i].
1416 * The last element is 0, corresponding to the 0 at the end of
1417 * the sig_name list.
1419 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1420 #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 /**/
1422 #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*/
1426 * This symbol holds the type used to declare file modes
1427 * for systems calls. It is usually mode_t, but may be
1428 * int or unsigned short. It may be necessary to include <sys/types.h>
1429 * to get any typedef'ed information.
1431 #define Mode_t unsigned int /* file mode parameter for system calls*/
1434 * This symbol holds the type used by functions that return
1435 * a count of bytes or an error condition. It must be a signed type.
1436 * It is usually ssize_t, but may be long or int, etc.
1437 * It may be necessary to include <sys/types.h> or <unistd.h>
1438 * to get any typedef'ed information.
1439 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1441 #define SSize_t int /* signed count of bytes */
1444 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1445 * non-blocking I/O for the file descriptor. Note that there is no way
1446 * back, i.e. you cannot turn it blocking again this way. If you wish to
1447 * alternatively switch between blocking and non-blocking, use the
1448 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1451 * This symbol holds the errno error code set by read() when no data was
1452 * present on the non-blocking file descriptor.
1455 * This symbol holds the return code from read() when no data is present
1456 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1457 * not defined, then you can't distinguish between no data and EOF by
1458 * issuing a read(). You'll have to find another way to tell for sure!
1461 * This symbol, if defined, indicates to the C program that a read() on
1462 * a non-blocking file descriptor will return 0 on EOF, and not the value
1463 * held in RD_NODATA (-1 usually, in that case!).
1465 #undef VAL_O_NONBLOCK
1471 * This variable, if defined, holds the name of the directory in
1472 * which the user has perl5.000 or perl5.001 architecture-dependent
1473 * public library files for $package. For the most part, these
1474 * files will work with 5.002 (and later), but that is not
1478 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1479 * used in programs that are not prepared to deal with ~ expansion at
1483 * This value is automatically updated by FndVers.Com
1484 * when Perl is built. Please do not change it by hand; make
1485 * any changes to FndVers.Com instead.
1487 #define OLDARCHLIB_EXP "/perl_root/lib/VMS_VAX" /**/
1488 #define OLDARCHLIB OLDARCHLIB_EXP /*config-skip*/
1491 * This symbol contains the name of the private library for this package.
1492 * The library is private in the sense that it needn't be in anyone's
1493 * execution path, but it should be accessible by the world. The program
1494 * should be prepared to do ~ expansion.
1497 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1498 * in programs that are not prepared to deal with ~ expansion at run-time.
1500 #define PRIVLIB_EXP "/perl_root/lib" /**/
1501 #define PRIVLIB PRIVLIB_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 SITELIB, to be used
1514 * in programs that are not prepared to deal with ~ expansion at run-time.
1516 #define SITELIB_EXP "/perl_root/lib/site_perl" /**/
1517 #define SITELIB SITELIB_EXP /*config-skip*/
1520 * This symbol contains the name of the private library for this package.
1521 * The library is private in the sense that it needn't be in anyone's
1522 * execution path, but it should be accessible by the world. The program
1523 * should be prepared to do ~ expansion.
1524 * The standard distribution will put nothing in this directory.
1525 * Individual sites may place their own extensions and modules in
1529 * This symbol contains the ~name expanded version of SITEARCH, to be used
1530 * in programs that are not prepared to deal with ~ expansion at run-time.
1533 * This value is automatically updated by FndVers.Com
1534 * when Perl is built. Please do not change it by hand; make
1535 * any changes to FndVers.Com instead.
1537 #define SITEARCH_EXP "/perl_root/lib/site_perl/VMS_VAX" /**/
1538 #define SITEARCH SITEARCH_EXP /*config-skip*/
1541 * This symbol holds the type used to declare length parameters
1542 * for string functions. It is usually size_t, but may be
1543 * unsigned long, int, etc. It may be necessary to include
1544 * <sys/types.h> to get any typedef'ed information.
1546 #define Size_t size_t /* length paramater for string functions */
1549 * This symbol holds the type used to declare user ids in the kernel.
1550 * It can be int, ushort, uid_t, etc... It may be necessary to include
1551 * <sys/types.h> to get any typedef'ed information.
1553 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1554 # define Uid_t uid_t /* config-skip */
1556 # define Uid_t unsigned int /* config-skip */
1560 * This symbol, if defined, indicates to the C program that it should
1561 * include <sys/param.h>.
1566 * This symbol, if defined, indicates that the closedir() routine
1567 * does not return a value.
1569 #define VOID_CLOSEDIR /**/
1572 * This symbol, if defined, indicates that the dlerror routine is
1575 #undef HAS_DLERROR /**/
1577 /* DLSYM_NEEDS_UNDERSCORE:
1578 * This symbol, if defined, indicates that we need to prepend an
1579 * underscore to the symbol name before calling dlsym(). This only
1580 * makes sense if you *have* dlsym, which we will presume is the
1581 * case if you're using dl_dlopen.xs.
1583 #undef DLSYM_NEEDS_UNDERSCORE /* */
1585 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1586 * This symbol, if defined, indicates that setuid scripts are secure.
1589 * This symbol, if defined, indicates that the C program should
1590 * check the script that it is executing for setuid/setgid bits, and
1591 * attempt to emulate setuid/setgid on systems that have disabled
1592 * setuid #! scripts because the kernel can't do it securely.
1593 * It is up to the package designer to make sure that this emulation
1594 * is done securely. Among other things, it should do an fstat on
1595 * the script it just opened to make sure it really is a setuid/setgid
1596 * script, it should make sure the arguments passed correspond exactly
1597 * to the argument on the #! line, and it should not trust any
1598 * subprocesses to which it must pass the filename rather than the
1599 * file descriptor of the script to be executed.
1601 #undef SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1605 * This symbol, if defined, indicates to the C program that the
1606 * inet_aton() function is available to parse IP address "dotted-quad"
1608 * VMS: SocketShr doesn't support this, so we let the Socket extension
1611 #undef HAS_INET_ATON /**/
1614 * This manifest constant lets the C program know that the
1615 * isascii is available.
1617 #define HAS_ISASCII /**/
1620 * This symbol, if defined, indicates that the setlocale routine is
1621 * available to handle locale-specific ctype implementations.
1624 * This symbol, if defined, indicates to the C program that it should
1625 * include <locale.h>.
1628 * This symbol, if defined, indicates that the localeconv routine is
1629 * available for numeric and monetary formatting conventions.
1632 # define I_LOCALE /*config-skip*/
1633 # define HAS_SETLOCALE /*config-skip*/
1634 # define HAS_LOCALECONV /*config-skip*/
1636 # undef I_LOCALE /*config-skip*/
1637 # undef HAS_SETLOCALE /*config-skip*/
1638 # undef HAS_LOCALECONV /*config-skip*/
1642 * This symbol, if defined, indicates that the mkfifo routine is
1645 #undef HAS_MKFIFO /**/
1648 * This symbol, if defined, indicates that pathconf() is available
1649 * to determine file-system related limits and options associated
1650 * with a given filename.
1653 * This symbol, if defined, indicates that pathconf() is available
1654 * to determine file-system related limits and options associated
1655 * with a given open file descriptor.
1657 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1658 #define HAS_PATHCONF /**/
1659 #define HAS_FPATHCONF /**/
1661 #undef HAS_PATHCONF /*config-skip*/
1662 #undef HAS_FPATHCONF /*config-skip*/
1666 * This symbol, if defined, indicates that the bcopy routine is available
1667 * to copy potentially overlapping memory blocks. Otherwise you should
1668 * probably use memmove() or memcpy(). If neither is defined, roll your
1671 #undef HAS_SAFE_BCOPY /**/
1674 * This symbol, if defined, indicates that the memcpy routine is available
1675 * to copy potentially overlapping memory blocks. Otherwise you should
1676 * probably use memmove() or memcpy(). If neither is defined, roll your
1679 #define HAS_SAFE_MEMCPY /**/
1682 * This symbol, if defined, indicates that the memcmp routine is available
1683 * and can be used to compare relative magnitudes of chars with their high
1684 * bits set. If it is not defined, roll your own version.
1686 #define HAS_SANE_MEMCMP /**/
1689 * This symbol, if defined, indicates that the setpgrp routine is
1690 * available to set the current process group.
1693 * This symbol, if defined, indicates that setpgrp needs two
1694 * arguments whereas USG one needs none. See also HAS_SETPGID
1695 * for a POSIX interface.
1698 * This symbol, if defined, indicates that the BSD notion of process
1699 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1700 * instead of the USG setpgrp().
1702 #undef HAS_SETPGRP /**/
1703 #undef USE_BSD_SETPGRP /**/
1704 #undef USE_BSDPGRP /**/
1707 * This symbol, if defined, indicates that the setpgid routine is
1708 * available to set process group ID.
1710 #undef HAS_SETPGID /**/
1713 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
1714 * routine is available to set the current process group.
1716 #undef HAS_SETPGRP2 /**/
1719 * This symbol, if defined, indicates that sysconf() is available
1720 * to determine system related limits and options.
1722 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1723 #define HAS_SYSCONF /**/
1725 #undef HAS_SYSCONF /*config-skip*/
1729 * This preprocessor macro is defined to convert a floating point
1730 * number to a string without a trailing decimal point. This
1731 * emulates the behavior of sprintf("%g"), but is sometimes much more
1732 * efficient. If gconvert() is not available, but gcvt() drops the
1733 * trailing decimal point, then gcvt() is used. If all else fails,
1734 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1735 * macro are: value, number of digits, whether trailing zeros should
1736 * be retained, and the output buffer.
1737 * Possible values are:
1738 * d_Gconvert='gconvert((x),(n),(t),(b))'
1739 * d_Gconvert='gcvt((x),(n),(b))'
1740 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1741 * The last two assume trailing zeros should not be kept.
1743 #define Gconvert(x,n,t,b) my_gconvert(x,n,t,b)
1746 * This symbol, if defined, indicates to the C program that
1747 * the getpgid(pid) function is available to get the
1750 #undef HAS_GETPGID /**/
1753 * This symbol, if defined, indicates that the getpgrp routine is
1754 * available to get the current process group.
1757 * This symbol, if defined, indicates that getpgrp needs one
1758 * arguments whereas USG one needs none.
1760 #undef HAS_GETPGRP /**/
1761 #undef USE_BSD_GETPGRP /**/
1764 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
1765 * routine is available to get the current process group.
1767 #undef HAS_GETPGRP2 /**/
1770 * This symbol, if defined, indicates that sfio should
1773 #undef USE_SFIO /**/
1775 /* PTHREADS_CREATED_JOINABLE:
1776 * This symbol, if defined, indicates that pthreads are created
1777 * in the joinable (aka undetached) state.
1779 #define PTHREADS_CREATED_JOINABLE /**/
1782 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1785 * This macro is used in the same way as sigsetjmp(), but will invoke
1786 * traditional setjmp() if sigsetjmp isn't available.
1789 * This macro is used in the same way as siglongjmp(), but will invoke
1790 * traditional longjmp() if siglongjmp isn't available.
1792 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1793 #define HAS_SIGSETJMP /**/
1795 #undef HAS_SIGSETJMP /*config-skip*/
1797 #ifdef HAS_SIGSETJMP
1798 #define Sigjmp_buf sigjmp_buf /* config-skip */
1799 #define Sigsetjmp(buf,save_mask) sigsetjmp(buf,save_mask) /* config-skip */
1800 #define Siglongjmp(buf,retval) siglongjmp(buf,retval) /* config-skip */
1802 #define Sigjmp_buf jmp_buf /* config-skip */
1803 #define Sigsetjmp(buf,save_mask) setjmp(buf) /* config-skip */
1804 #define Siglongjmp(buf,retval) longjmp(buf,retval) /* config-skip */
1807 /* USE_DYNAMIC_LOADING:
1808 * This symbol, if defined, indicates that dynamic loading of
1809 * some sort is available.
1811 #define USE_DYNAMIC_LOADING /**/
1814 * This variable contains the string to put in front of a perl
1815 * script to make sure (one hopes) that it runs with perl and not
1818 #define STARTPERL "" /**/
1821 * This symbol holds the type used for the second argument to
1822 * [gs]etgroups(). Usually, this is the same of gidtype, but
1823 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1824 * It may be necessary to include <sys/types.h> to get any
1825 * typedef'ed information. This is only required if you have
1826 * getgroups() or setgroups.
1828 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1829 #define Groups_t unsigned int /* config-skip */
1833 * This symbol contains the type of the prefix structure element
1834 * in the <db.h> header file. In older versions of DB, it was
1835 * int, while in newer ones it is u_int32_t.
1838 * This symbol contains the type of the prefix structure element
1839 * in the <db.h> header file. In older versions of DB, it was
1840 * int, while in newer ones it is size_t.
1842 #undef DB_Hash_t /**/
1843 #undef DB_Prefix_t /**/
1846 * This symbol, if defined, indicates that the PerlIO abstraction should
1847 * be used throughout. If not defined, stdio should be
1848 * used in a fully backward compatible manner.
1850 #undef USE_PERLIO /**/
1853 * This symbol indicates how much support of the void type is given by this
1854 * compiler. What various bits mean:
1856 * 1 = supports declaration of void
1857 * 2 = supports arrays of pointers to functions returning void
1858 * 4 = supports comparisons between pointers to void functions and
1859 * addresses of void functions
1860 * 8 = suports declaration of generic void pointers
1862 * The package designer should define VOIDUSED to indicate the requirements
1863 * of the package. This can be done either by #defining VOIDUSED before
1864 * including config.h, or by defining defvoidused in Myinit.U. If the
1865 * latter approach is taken, only those flags will be tested. If the
1866 * level of void support necessary is not present, defines void to int.
1871 #define VOIDFLAGS 15
1872 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1873 #define void int /* is void to be avoided? */ /* config-skip */
1874 #define M_VOID /* Xenix strikes again */ /* config-skip */
1877 #ifdef VMS_DO_SOCKETS
1879 * This symbol, if defined, indicates that the BSD socket interface is
1883 * This symbol, if defined, indicates that the BSD socketpair() call is
1886 #define HAS_SOCKET /**/ /* config-skip */
1887 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1890 * This symbol, if defined, indicates that the gethostent routine is
1891 * available to lookup host names in some data base or other.
1893 #define HAS_GETHOSTENT /**/ /* config-skip */
1895 /* HAS_GETHOSTBYADDR:
1896 * This symbol, if defined, indicates that the gethostbyaddr routine is
1897 * available to lookup hosts by their IP addresses.
1899 #define HAS_GETHOSTBYADDR /**/
1902 * This symbol holds the type used for the 1st argument
1903 * to gethostbyaddr().
1905 #define Netdb_host_t char * /**/
1908 * This symbol holds the type used for the 2nd argument
1909 * to gethostbyaddr().
1911 #define Netdb_hlen_t int
1913 /* HAS_GETHOSTBYNAME:
1914 * This symbol, if defined, indicates that the gethostbyname routine is
1915 * available to lookup hosts by their DNS names.
1917 #define HAS_GETHOSTBYNAME /**/
1920 * This symbol holds the type used for the 1st argument
1921 * to gethostbyname(), the 1st argument to getnetbyname(),
1922 * the 1st argument to getprotobyname(), the 1st argument to
1923 * getservbyname(), the 2nd argument to getservbyname(),
1924 * and the 2nd argument to getservbyport().
1926 #define Netdb_name_t long /**/
1929 * This symbol, if defined, indicates that the getnetbyaddr routine is
1930 * available to lookup networks by their IP addresses.
1932 #define HAS_GETNETBYADD /**/
1935 * This symbol holds the type used for the 1st argument
1936 * to getnetbyaddr().
1938 #define Netdb_net_t long
1941 * This symbol, if defined, indicates that the gethostbyaddr routine is
1942 * available to lookup host names by their IP addresses.
1944 #define HAS_GETHBADD /**/ /* config-skip */
1947 * This symbol holds the type used for the 1st argument
1948 * to gethostbyaddr().
1950 #define Gethbadd_addr_t char * /**/ /* config-skip */
1953 * This symbol holds the type used for the 2nd argument
1954 * to gethostbyaddr().
1956 #define Gethbadd_alen_t int /**/ /* config-skip */
1958 #ifdef DECCRTL_SOCKETS
1960 * This symbol, if defined, indicates that the getnetbyaddr routine is
1961 * available to lookup networks by their IP addresses.
1963 #define HAS_GETNBADD /**/ /* config-skip */
1966 * This symbol holds the type used for the 1st argument
1967 * to getnetbyaddr().
1969 #define Getnbadd_net_t long /**/ /* config-skip */
1971 #undef HAS_GETNBADD /**/ /* config-skip */
1972 #undef Getnbadd_net_t long /**/ /* config-skip */
1975 /* VMS: In general, TCP/IP header files should be included from
1976 * sockadapt.h, instead of here, in order to keep the TCP/IP code
1977 * together as much as possible.
1980 * This symbol, if defined, indicates to the C program that it should
1981 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1983 #undef I_NETINET_IN /**/ /* config-skip */
1986 * This symbol, if defined, indicates that <netdb.h> exists and
1987 * should be included.
1989 #undef I_NETDB /**/ /* config-skip */
1992 * This symbol, if defined, indicates that <net/errno.h> exists and
1993 * should be included.
1995 #undef I_NET_ERRNO /**/ /* config-skip */
1998 * This symbol, if defined, indicates that the select routine is
1999 * available to select active file descriptors. If the timeout field
2000 * is used, <sys/time.h> may need to be included.
2002 #define HAS_SELECT /**/ /* config-skip */
2004 #else /* VMS_DO_SOCKETS */
2006 #undef HAS_SOCKET /**/ /* config-skip */
2007 #undef HAS_SOCKETPAIR /**/ /* config-skip */
2008 #undef HAS_GETHOSTENT /**/ /* config-skip */
2009 #undef I_NETINET_IN /**/ /* config-skip */
2010 #undef I_NETDB /**/ /* config-skip */
2011 #undef I_NET_ERRNO /**/ /* config-skip */
2012 #undef HAS_SELECT /**/ /* config-skip */
2013 #undef HAS_GETHBADD /**/ /* config-skip */
2014 #undef HAS_GETNBADD /**/ /* config-skip */
2016 #endif /* !VMS_DO_SOCKETS */