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_00326" /**/
80 #define ARCHLIB ARCHLIB_EXP /*config-skip*/
83 * This symbol holds a string representing the architecture name.
84 * It may be used to construct an architecture-dependant pathname
85 * where library files may be held under a private library, for
88 #define ARCHNAME "VMS_VAX" /**/
91 * This symbol, if defined, indicates that Perl 5.004 should be
92 * binary-compatible with Perl 5.003.
97 * This symbol contains the first part of the string which will invoke
98 * the C preprocessor on the standard input and produce to standard
99 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
100 * call a wrapper. See CPPRUN.
103 * This symbol contains the second part of the string which will invoke
104 * the C preprocessor on the standard input and produce to standard
105 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
106 * to specify standard input, otherwise the value is "".
108 #define CPPSTDIN "cc/noobj/preprocess=sys$output sys$input"
112 * This symbol is defined if the bcmp() routine is available to
113 * compare blocks of memory.
118 * This symbol is defined if the bcopy() routine is available to
119 * copy blocks of memory.
121 #undef HAS_BCOPY /**/
124 * This symbol is defined if the bzero() routine is available to
125 * set a memory block to 0.
127 #undef HAS_BZERO /**/
130 * This symbol is defined if the C compiler can cast negative
131 * numbers to unsigned longs, ints and shorts.
134 * This symbol contains flags that say what difficulties the compiler
135 * has casting odd floating values to unsigned long:
137 * 1 = couldn't cast < 0
138 * 2 = couldn't cast >= 0x80000000
140 #define CASTNEGFLOAT /**/
141 #define CASTFLAGS 0 /**/
144 * This symbol, if defined, indicates that the chsize routine is available
145 * to truncate files. You might need a -lx to get this routine.
147 #undef HAS_CHSIZE /**/
150 * This symbol, if defined, indicates that this C compiler knows about
151 * the const type. There is no need to actually test for that symbol
152 * within your programs. The mere use of the "const" keyword will
153 * trigger the necessary tests.
155 #define HASCONST /**/
158 * This symbol, if defined, indicates that the crypt routine is available
159 * to encrypt passwords and the like.
161 #define HAS_CRYPT /**/
164 * This symbol hold the hexadecimal constant defined in byteorder,
165 * i.e. 0x1234 or 0x4321, etc...
167 #define BYTEORDER 0x1234 /* large digits for MSB */
170 * This symbol, if defined, indicates that the C-shell exists.
171 * If defined, contains the full pathname of csh.
176 * This symbol, if defined, indicates that the dup2 routine is
177 * available to duplicate file descriptors.
179 #define HAS_DUP2 /**/
182 * This symbol, if defined, indicates that the fchmod routine is available
183 * to change mode of opened files. If unavailable, use chmod().
185 #undef HAS_FCHMOD /**/
188 * This symbol, if defined, indicates that the fchown routine is available
189 * to change ownership of opened files. If unavailable, use chown().
191 #undef HAS_FCHOWN /**/
194 * This symbol, if defined, indicates to the C program that
195 * the fcntl() function exists.
197 #undef HAS_FCNTL /**/
200 * This symbol, if defined, indicates that the fgetpos routine is
201 * available to get the file position indicator, similar to ftell().
203 #define HAS_FGETPOS /**/
206 * This symbol, if defined, indicates that the system supports filenames
207 * longer than 14 characters.
209 #define FLEXFILENAMES /**/
212 * This symbol, if defined, indicates that the flock routine is
213 * available to do file locking.
215 #undef HAS_FLOCK /**/
218 * This symbol, if defined, indicates that the fsetpos routine is
219 * available to set the file position indicator, similar to fseek().
221 #define HAS_FSETPOS /**/
224 * This symbol, if defined, indicates that the gettimeofday() system
225 * call is available for a sub-second accuracy clock. Usually, the file
226 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
227 * The type "Timeval" should be used to refer to "struct timeval".
229 #undef HAS_GETTIMEOFDAY /**/
230 #ifdef HAS_GETTIMEOFDAY
231 # define Timeval struct timeval /*config-skip*/
235 * This symbol, if defined, indicates that the getgroups() routine is
236 * available to get the list of process groups. If unavailable, multiple
237 * groups are probably not supported.
239 #undef HAS_GETGROUPS /**/
242 * This symbol, if defined, indicates that the C program may use the
243 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
246 #undef HAS_UNAME /**/
249 * This symbol, if defined, indicates that the getpriority routine is
250 * available to get a process's priority.
252 #undef HAS_GETPRIORITY /**/
255 * This symbol, if defined, indicates that the killpg routine is available
256 * to kill process groups. If unavailable, you probably should use kill
257 * with a negative process number.
259 #undef HAS_KILLPG /**/
262 * This symbol, if defined, indicates that the link routine is
263 * available to create hard links.
268 * This symbol, if defined, indicates that the lstat routine is
269 * available to do file stats on symbolic links.
271 #undef HAS_LSTAT /**/
274 * This symbol, if defined, indicates that the lockf routine is
275 * available to do file locking.
277 #undef HAS_LOCKF /**/
280 * This symbol, if defined, indicates that the mbstowcs routine is
281 * available to covert a multibyte string into a wide character string.
284 # define HAS_MBSTOWCS /*config-skip*/
286 # undef HAS_MBSTOWCS /*config-skip*/
290 * This symbol, if defined, indicates that the mbtowc routine is available
291 * to covert a multibyte to a wide character.
294 # define HAS_MBTOWC /*config-skip*/
296 # undef HAS_MBTOWC /*config-skip*/
300 * This symbol, if defined, indicates that the memcmp routine is available
301 * to compare blocks of memory.
303 #define HAS_MEMCMP /**/
306 * This symbol, if defined, indicates that the memcpy routine is available
307 * to copy blocks of memory.
309 #define HAS_MEMCPY /**/
312 * This symbol, if defined, indicates that the memmove routine is available
313 * to copy potentially overlapping blocks of memory. This should be used
314 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
317 #define HAS_MEMMOVE /**/
320 * This symbol, if defined, indicates that the memset routine is available
321 * to set blocks of memory.
323 #define HAS_MEMSET /**/
326 * This symbol, if defined, indicates that the mkdir routine is available
327 * to create directories. Otherwise you should fork off a new process to
330 #define HAS_MKDIR /**/
333 * This symbol, if defined, indicates that the entire msg*(2) library is
334 * supported (IPC mechanism based on message queues).
339 * This manifest constant lets the C program know that the three
340 * argument form of open(2) is available.
342 #define HAS_OPEN3 /**/
345 * This symbol, if defined, indicates that the poll routine is
346 * available to poll active file descriptors.
351 * This symbol, if defined, indicates that the readdir routine is
352 * available to read directory entries. You may have to include
353 * <dirent.h>. See I_DIRENT.
355 #define HAS_READDIR /**/
358 * This symbol, if defined, indicates that the seekdir routine is
359 * available. You may have to include <dirent.h>. See I_DIRENT.
361 #define HAS_SEEKDIR /**/
364 * This symbol, if defined, indicates that the telldir routine is
365 * available. You may have to include <dirent.h>. See I_DIRENT.
367 #define HAS_TELLDIR /**/
370 * This symbol, if defined, indicates that the rewinddir routine is
371 * available. You may have to include <dirent.h>. See I_DIRENT.
373 #define HAS_REWINDDIR /**/
376 * This symbol, if defined, indicates that the rename routine is available
377 * to rename files. Otherwise you should do the unlink(), link(), unlink()
380 #define HAS_RENAME /**/
383 * This symbol, if defined, indicates that the rmdir routine is
384 * available to remove directories. Otherwise you should fork off a
385 * new process to exec /bin/rmdir.
387 #define HAS_RMDIR /**/
390 * This symbol, if defined, indicates that the entire sem*(2) library is
396 * This symbol, if defined, indicates that the setegid routine is available
397 * to change the effective gid of the current program.
399 #undef HAS_SETEGID /**/
402 * This symbol, if defined, indicates that the seteuid routine is available
403 * to change the effective uid of the current program.
405 #undef HAS_SETEUID /**/
409 * This symbol, if defined, indicates that the setpriority routine is
410 * available to set a process's priority.
412 #undef HAS_SETPRIORITY /**/
415 * This symbol, if defined, indicates that the setregid routine is
416 * available to change the real and effective gid of the current
420 * This symbol, if defined, indicates that the setresgid routine is
421 * available to change the real, effective and saved gid of the current
424 #undef HAS_SETREGID /**/
425 #undef HAS_SETRESGID /**/
428 * This symbol, if defined, indicates that the setreuid routine is
429 * available to change the real and effective uid of the current
433 * This symbol, if defined, indicates that the setresuid routine is
434 * available to change the real, effective and saved uid of the current
437 #undef HAS_SETREUID /**/
438 #undef HAS_SETRESUID /**/
441 * This symbol, if defined, indicates that the setrgid routine is available
442 * to change the real gid of the current program.
444 #undef HAS_SETRGID /**/
447 * This symbol, if defined, indicates that the setruid routine is available
448 * to change the real uid of the current program.
450 #undef HAS_SETRUID /**/
453 * This symbol, if defined, indicates that the setsid routine is
454 * available to set the process group ID.
456 #undef HAS_SETSID /**/
459 * This symbol, if defined, indicates that the entire shm*(2) library is
465 * This symbol holds the return type of the shmat() system call.
466 * Usually set to 'void *' or 'char *'.
468 /* HAS_SHMAT_PROTOTYPE:
469 * This symbol, if defined, indicates that the sys/shm.h includes
470 * a prototype for shmat(). Otherwise, it is up to the program to
471 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
472 * but not always right so it should be emitted by the program only
473 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
475 #undef Shmat_t /**/ /* config-skip */
476 #undef HAS_SHMAT_PROTOTYPE /**/
479 * This symbol, if defined, indicates that Vr4's sigaction() routine
482 #undef HAS_SIGACTION /**/
485 * This symbol is defined if this system has a stat structure declaring
486 * st_blksize and st_blocks.
488 #undef USE_STAT_BLOCKS /**/
491 * This symbol is defined if the _ptr and _cnt fields (or similar)
492 * of the stdio FILE structure can be used to access the stdio buffer
493 * for a file handle. If this is defined, then the FILE_ptr(fp)
494 * and FILE_cnt(fp) macros will also be defined and should be used
495 * to access these fields.
498 * This symbol is defined if the _base field (or similar) of the
499 * stdio FILE structure can be used to access the stdio buffer for
500 * a file handle. If this is defined, then the FILE_base(fp) macro
501 * will also be defined and should be used to access this field.
502 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
503 * to determine the number of bytes in the buffer. USE_STDIO_BASE
504 * will never be defined unless USE_STDIO_PTR is.
507 * This symbol is defined if the FILE_ptr macro can be used as an
511 * This symbol is defined if the FILE_cnt macro can be used as an
515 # define USE_STDIO_PTR /*config-skip*/
516 # define USE_STDIO_BASE /*config-skip*/
517 # define STDIO_PTR_LVALUE /*config-skip*/
518 # define STDIO_CNT_LVALUE /*config-skip*/
520 # undef USE_STDIO_PTR /*config-skip*/
521 # undef USE_STDIO_BASE /*config-skip*/
522 # undef STDIO_PTR_LVALUE /*config-skip*/
523 # undef STDIO_CNT_LVALUE /*config-skip*/
527 * This macro is used to access the _ptr field (or equivalent) of the
528 * FILE structure pointed to by its argument. This macro will always be
529 * defined if USE_STDIO_PTR is defined.
532 * This macro is used to access the _cnt field (or equivalent) of the
533 * FILE structure pointed to by its argument. This macro will always be
534 * defined if USE_STDIO_PTR is defined.
537 # define FILE_ptr(fp) ((*fp)->_ptr)
538 # define FILE_cnt(fp) ((*fp)->_cnt)
542 * This macro is used to access the _base field (or equivalent) of the
543 * FILE structure pointed to by its argument. This macro will always be
544 * defined if USE_STDIO_BASE is defined.
547 * This macro is used to determine the number of bytes in the I/O
548 * buffer pointed to by _base field (or equivalent) of the FILE
549 * structure pointed to its argument. This macro will always be defined
550 * if USE_STDIO_BASE is defined.
552 #ifdef USE_STDIO_BASE
553 # define FILE_base(fp) ((*fp)->_base)
554 # define FILE_bufsiz(fp) ((*fp)->_cnt + (*fp)->_ptr - (*fp)->_base)
558 * This symbol, if defined, indicates that this C compiler knows how
559 * to copy structures. If undefined, you'll need to use a block copy
560 * routine of some sort instead.
562 #define USE_STRUCT_COPY /**/
565 * This symbol, if defined, indicates that the strerror routine is
566 * available to translate error numbers to strings. See the writeup
567 * of Strerror() in this file before you try to define your own.
570 * This symbol, if defined, indicates that the sys_errlist array is
571 * available to translate error numbers to strings. The extern int
572 * sys_nerr gives the size of that table.
575 * This preprocessor symbol is defined as a macro if strerror() is
576 * not available to translate error numbers to strings but sys_errlist[]
579 #define HAS_STRERROR /**/
580 #undef HAS_SYS_ERRLIST /**/
581 #define Strerror(e) strerror((e),vaxc$errno)
584 * This symbol, if defined, indicates that the symlink routine is available
585 * to create symbolic links.
587 #undef HAS_SYMLINK /**/
590 * This symbol, if defined, indicates that the syscall routine is
591 * available to call arbitrary system calls. If undefined, that's tough.
593 #undef HAS_SYSCALL /**/
596 * This symbol, if defined, indicates that the system routine is
597 * available to issue a shell command.
599 #define HAS_SYSTEM /**/
602 * This symbol holds the type returned by time(). It can be long,
603 * or time_t on BSD sites (in which case <sys/types.h> should be
606 #define Time_t time_t /* Time type */
609 * This symbol, if defined, indicates that the truncate routine is
610 * available to truncate files.
612 #undef HAS_TRUNCATE /**/
616 * This symbol, if defined, indicates that vfork() exists.
618 #define HAS_VFORK /**/
621 * This symbol's value is either "void" or "int", corresponding to the
622 * appropriate return type of a signal handler. Thus, you can declare
623 * a signal handler using "Signal_t (*handler)()", and define the
624 * handler using "Signal_t handler(sig)".
626 #define Signal_t void /* Signal handler's return type */
629 * This symbol, if defined, indicates that this C compiler knows about
630 * the volatile declaration.
632 #define HASVOLATILE /**/
634 #define volatile /* config-skip */
638 * This symbol, if defined, indicates that the vprintf routine is available
639 * to printf with a pointer to an argument list. If unavailable, you
640 * may need to write your own, probably in terms of _doprnt().
642 /* USE_CHAR_VSPRINTF:
643 * This symbol is defined if this system has vsprintf() returning type
644 * (char*). The trend seems to be to declare it as "int vsprintf()". It
645 * is up to the package author to declare vsprintf correctly based on the
648 #define HAS_VPRINTF /**/
649 #undef USE_CHAR_VSPRINTF /**/
652 * This symbol, if defined, indicates that wait4() exists.
654 #undef HAS_WAIT4 /**/
657 * This symbol, if defined, indicates that the waitpid routine is
658 * available to wait for child process.
660 #define HAS_WAITPID /**/
663 * This symbol, if defined, indicates that the wcstombs routine is
664 * available to convert wide character strings to multibyte strings.
667 # define HAS_WCSTOMBS /*config-skip*/
669 # undef HAS_WCSTOMBS /*config-skip*/
673 * This symbol, if defined, indicates to the C program that it should
674 * include <dirent.h>. Using this symbol also triggers the definition
675 * of the Direntry_t define which ends up being 'struct dirent' or
676 * 'struct direct' depending on the availability of <dirent.h>.
679 * This symbol, if defined, indicates to the C program that the length
680 * of directory entry names is provided by a d_namlen field. Otherwise
681 * you need to do strlen() on the d_name field.
684 #define DIRNAMLEN /**/
685 #define Direntry_t struct dirent
688 * This manifest constant tells the C program to include <fcntl.h>.
693 * This symbol, if defined, indicates to the C program that it should
699 * This symbol, if defined, indicates to the C program that it should
700 * include <limits.h> to get definition of symbols like WORD_BIT or
701 * LONG_MAX, i.e. machine dependant limitations.
703 #define I_LIMITS /**/
706 * This symbol, if defined, indicates to the C program that it should
707 * include <memory.h>.
712 * This symbol, if defined, indicates that ndbm.h exists and should
718 * This symbol, if defined, indicates that <stdarg.h> exists and should
721 #define I_STDARG /**/
724 * This symbol, if defined, indicates to the C program that it should
728 * This symbol, if defined, indicates to the C program that struct passwd
732 * This symbol, if defined, indicates to the C program that struct passwd
736 * This symbol, if defined, indicates to the C program that struct passwd
737 * contains pw_change.
740 * This symbol, if defined, indicates to the C program that struct passwd
744 * This symbol, if defined, indicates to the C program that struct passwd
745 * contains pw_expire.
748 * This symbol, if defined, indicates to the C program that struct passwd
749 * contains pw_comment.
757 #define PWCOMMENT /**/
760 * This symbol, if defined, indicates that <stddef.h> exists and should
763 #define I_STDDEF /**/
766 * This symbol, if defined, indicates that <stdlib.h> exists and should
769 #define I_STDLIB /**/
772 * This symbol, if defined, indicates to the C program that it should
773 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
775 #define I_STRING /**/
778 * This symbol, if defined, indicates to the C program that it should
779 * include <sys/dir.h>.
781 #undef I_SYS_DIR /**/
784 * This symbol, if defined, indicates to the C program that it should
785 * include <sys/file.h> to get definition of R_OK and friends.
787 #undef I_SYS_FILE /**/
790 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
791 * be included. Otherwise, include <sgtty.h> or <termio.h>.
793 #undef I_SYS_IOCTL /**/
796 * This symbol, if defined, indicates to the C program that it should
797 * include <sys/ndir.h>.
799 #undef I_SYS_NDIR /**/
802 * This symbol, if defined, indicates to the C program that it should
803 * include <sys/resource.h>.
805 #undef I_SYS_RESOURCE /**/
808 * This symbol, if defined, indicates to the C program that it should
809 * include <sys/select.h> in order to get definition of struct timeval.
811 #undef I_SYS_SELECT /**/
814 * This symbol, if defined, indicates that <dbm.h> exists and should
818 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
819 * should be included.
822 #undef I_RPCSVC_DBM /**/
825 * This symbol, if defined, indicates to the C program that it should
831 * This symbol, if defined, indicates to the C program that it should
832 * include <sys/stat.h>.
834 #define I_SYS_STAT /**/
837 * This symbol, if defined, indicates to the C program that it should
838 * include <sys/times.h>.
840 #undef I_SYS_TIMES /**/
843 * This symbol, if defined, indicates to the C program that it should
844 * include <sys/types.h>.
846 #define I_SYS_TYPES /**/
849 * This symbol, if defined, indicates to the C program that it should
850 * include <sys/un.h> to get UNIX domain socket definitions.
855 * This symbol, if defined, indicates to the C program that it should
856 * include <sys/wait.h>.
858 #undef I_SYS_WAIT /**/
861 * This symbol, if defined, indicates that the program should include
862 * <termio.h> rather than <sgtty.h>. There are also differences in
863 * the ioctl() calls that depend on the value of this symbol.
866 * This symbol, if defined, indicates that the program should include
867 * the POSIX termios.h rather than sgtty.h or termio.h.
868 * There are also differences in the ioctl() calls that depend on the
869 * value of this symbol.
872 * This symbol, if defined, indicates that the program should include
873 * <sgtty.h> rather than <termio.h>. There are also differences in
874 * the ioctl() calls that depend on the value of this symbol.
878 #undef I_TERMIOS /**/
881 * This symbol, if defined, indicates to the C program that it should
885 * This symbol, if defined, indicates to the C program that it should
886 * include <sys/time.h>.
888 /* I_SYS_TIME_KERNEL:
889 * This symbol, if defined, indicates to the C program that it should
890 * include <sys/time.h> with KERNEL defined.
893 #undef I_SYS_TIME /**/
894 #undef I_SYS_TIME_KERNEL /**/
897 * This symbol, if defined, indicates to the C program that it should
898 * include <unistd.h>.
903 * This symbol, if defined, indicates to the C program that it should
909 * This symbol, if defined, indicates to the C program that it should
910 * include <varargs.h>.
912 #undef I_VARARGS /**/
916 * This symbol, if defined, indicates to the C program that it should
922 * If defined, this macro indicates that the C compiler can handle
923 * function prototypes.
926 * This macro is used to declare function parameters for folks who want
927 * to make declarations with prototypes using a different style than
928 * the above macros. Use double parentheses. For example:
930 * int main _((int argc, char *argv[]));
932 #define CAN_PROTOTYPE /**/
934 #define _(args) args /* config-skip */
936 #define _(args) () /* config-skip */
940 * This symbol contains the number of bits of random number the rand()
941 * function produces. Usual values are 15, 16, and 31.
943 #define RANDBITS 31 /**/
947 * This symbol holds the type used for the 2nd, 3rd, and 4th
948 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
949 * is defined, and 'int *' otherwise. This is only useful if you
950 * have select(), of course.
952 #define Select_fd_set_t int * /**/
955 * This symbol is defined to be the type of char used in stdio.h.
956 * It has the values "unsigned char" or "char".
958 #define STDCHAR char /**/
960 /* UNLINK_ALL_VERSIONS:
961 * This symbol, if defined, indicates that the program should arrange
962 * to remove all versions of a file if unlink() is called.
964 #undef UNLINK_ALL_VERSIONS /**/
967 * This symbol holds the complete pathname to the sed program.
969 #define LOC_SED "_NLA0:" /**/
972 * This symbol holds the path of the bin directory where the package will
973 * be installed. Program must be prepared to deal with ~name substitution.
975 #define BIN "/perl_root/000000" /**/
978 * This symbol, if defined, indicates that the alarm routine is
981 #define HAS_ALARM /**/
984 * This symbol indicates the C compiler can check for function attributes,
985 * such as printf formats. This is normally only supported by GNU cc.
988 # define HASATTRIBUTE /*config-skip*/
990 # undef HASATTRIBUTE /*config-skip*/
993 #define __attribute__(_arg_)
997 * This symbol is defined if the C compiler can cast negative
998 * or large floating point numbers to 32-bit ints.
1000 #define CASTI32 /**/
1003 * This symbol, if defined, indicates that the chown routine is
1006 #define HAS_CHOWN /**/
1009 * This symbol, if defined, indicates that the chroot routine is
1012 #undef HAS_CHROOT /**/
1015 * This symbol, if defined, indicates that the cuserid routine is
1016 * available to get character login names.
1018 #define HAS_CUSERID /**/
1021 * This symbol, if defined, indicates that this system's <float.h>
1022 * or <limits.h> defines the symbol DBL_DIG, which is the number
1023 * of significant digits in a double precision number. If this
1024 * symbol is not defined, a guess of 15 is usually pretty good.
1026 #define HAS_DBL_DIG /* */
1029 * This symbol, if defined, indicates that the difftime routine is
1032 #define HAS_DIFFTIME /**/
1035 * This symbol, if defined, indicates that the fork routine is
1038 /* VMS: In vmsish.h, fork is #defined to vfork. This kludge gets around
1039 * some obsolete code in pp.c, which should be fixed in its own right
1040 * sometime. - C. Bailey 26-Aug-1994
1042 #define HAS_FORK /**/
1045 * This symbol, if defined, indicates that the getlogin routine is
1048 #define HAS_GETLOGIN /**/
1051 * This symbol, if defined, indicates that the getppid routine is
1054 #undef HAS_GETPPID /**/
1057 * This symbol, if defined, indicates that the htonl() routine (and
1058 * friends htons() ntohl() ntohs()) are available to do network
1059 * order byte swapping.
1062 * This symbol, if defined, indicates that the htons() routine (and
1063 * friends htonl() ntohl() ntohs()) are available to do network
1064 * order byte swapping.
1067 * This symbol, if defined, indicates that the ntohl() routine (and
1068 * friends htonl() htons() ntohs()) are available to do network
1069 * order byte swapping.
1072 * This symbol, if defined, indicates that the ntohs() routine (and
1073 * friends htonl() htons() ntohl()) are available to do network
1074 * order byte swapping.
1076 #define HAS_HTONL /**/
1077 #define HAS_HTONS /**/
1078 #define HAS_NTOHL /**/
1079 #define HAS_NTOHS /**/
1082 * This symbol, if defined, indicates that the mblen routine is available
1083 * to find the number of bytes in a multibye character.
1086 # define HAS_MBLEN /*config-skip*/
1088 # undef HAS_MBLEN /*config-skip*/
1092 * This symbol, if defined, indicates that the mktime routine is
1096 # define HAS_MKTIME /*config-skip*/
1098 # undef HAS_MKTIME /*config-skip*/
1102 * This symbol, if defined, indicates that the nice routine is
1105 #define HAS_NICE /**/
1108 * This symbol, if defined, indicates that the pause routine is
1111 #define HAS_PAUSE /**/
1114 * This symbol, if defined, indicates that the pipe routine is
1117 #define HAS_PIPE /**/
1120 * This symbol, if defined, indicates that the readlink routine is
1123 #undef HAS_READLINK /**/
1126 * This symbol, if defined, indicates that the setlinebuf routine is
1127 * available to change stderr or stdout from block-buffered or unbuffered
1128 * to a line-buffered mode.
1130 #undef HAS_SETLINEBUF /**/
1133 * This symbol is defined to indicate that the strchr()/strrchr()
1134 * functions are available for string searching. If not, try the
1135 * index()/rindex() pair.
1138 * This symbol is defined to indicate that the index()/rindex()
1139 * functions are available for string searching.
1141 #define HAS_STRCHR /**/
1142 #undef HAS_INDEX /**/
1145 * This symbol, if defined, indicates that the strcoll routine is
1146 * available to compare strings using collating information.
1149 # define HAS_STRCOLL /*config-skip*/
1151 # undef HAS_STRCOLL /*config-skip*/
1155 * This symbol, if defined, indicates that the strtod routine is
1156 * available to provide better numeric string conversion than atof().
1158 #define HAS_STRTOD /**/
1161 * This symbol, if defined, indicates that the strtol routine is available
1162 * to provide better numeric string conversion than atoi() and friends.
1164 #define HAS_STRTOL /**/
1167 * This symbol, if defined, indicates that the strtoul routine is
1168 * available to provide conversion of strings to unsigned long.
1170 #define HAS_STRTOUL /**/
1173 * This symbol, if defined, indicates that the strxfrm() routine is
1174 * available to compare strings using collating information.
1177 # define HAS_STRXFRM /*config-skip*/
1179 # undef HAS_STRXFRM /*config-skip*/
1183 * This symbol, if defined, indicates that the tcgetpgrp routine is
1184 * available to get foreground process group ID.
1186 #undef HAS_TCGETPGRP /**/
1189 * This symbol, if defined, indicates that the tcsetpgrp routine is
1190 * available to set foreground process group ID.
1192 #undef HAS_TCSETPGRP /**/
1195 * This symbol, if defined, indicates that the times() routine exists.
1196 * Note that this became obsolete on some systems (SUNOS), which now
1197 * use getrusage(). It may be necessary to include <sys/times.h>.
1199 #define HAS_TIMES /**/
1202 * This symbol, if defined, indicates that the tzname[] array is
1203 * available to access timezone names.
1205 #undef HAS_TZNAME /**/
1208 * This symbol, if defined, indicates that the umask routine is
1209 * available to get the file creation mask.
1211 #define HAS_UMASK /**/
1214 * This symbol, if defined, indicates that the wctomb routine is available
1215 * to covert a wide character to a multibyte.
1218 # define HAS_WCTOMB /*config-skip*/
1220 # undef HAS_WCTOMB /*config-skip*/
1224 * This symbol holds the type used to declare file positions in libc.
1225 * It can be fpos_t, long, uint, etc... It may be necessary to include
1226 * <sys/types.h> to get any typedef'ed information.
1228 #define Fpos_t fpos_t /* File position type */
1231 * This symbol holds the return type of getgid() and the type of
1232 * argument to setrgid() and related functions. Typically,
1233 * it is the type of group ids in the kernel.
1234 * It can be int, ushort, uid_t, etc... It may be necessary to include
1235 * <sys/types.h> to get any typedef'ed information.
1237 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1238 # define Gid_t gid_t /* config-skip */
1240 # define Gid_t unsigned int /* config-skip */
1244 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1250 * This symbol, if defined, indicates to the C program that it should
1251 * include <float.h> to get definition of symbols like DBL_MAX or
1252 * DBL_MIN, i.e. machine dependent floating point values.
1254 #define I_FLOAT /**/
1257 * This symbol, if defined, indicates to the C program that it should
1263 * This symbol contains the size of an int, so that the C preprocessor
1264 * can make decisions based on it.
1267 * This symbol contains the value of sizeof(long) so that the C
1268 * preprocessor can make decisions based on it.
1271 * This symbol contains the value of sizeof(short) so that the C
1272 * preprocessor can make decisions based on it.
1274 #define INTSIZE 4 /**/
1275 #define LONGSIZE 4 /**/
1276 #define SHORTSIZE 2 /**/
1279 * This symbol holds the type used to declare offsets in the kernel.
1280 * It can be int, long, off_t, etc... It may be necessary to include
1281 * <sys/types.h> to get any typedef'ed information.
1283 #define Off_t int /* <offset> type */
1286 * This symbol, if defined, indicates to the C program that it should
1287 * include <values.h> to get definition of symbols like MINFLOAT or
1288 * MAXLONG, i.e. machine dependant limitations. Probably, you
1289 * should use <limits.h> instead, if it is available.
1291 #undef I_VALUES /**/
1294 * This variable contains the return type of free(). It is usually
1295 * void, but occasionally int.
1298 * This symbol is the type of pointer returned by malloc and realloc.
1300 #define Malloc_t void * /**/
1301 #define Free_t void /**/
1304 * This symbol, if defined, indicates that we're using our own malloc.
1306 #undef MYMALLOC /**/
1309 * This symbol contains the full pathname to the shell used on this
1310 * on this system to execute Bourne shell scripts. Usually, this will be
1311 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1312 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as D:/bin/sh.
1314 #define SH_PATH "MCR" /**/
1317 * This symbol contains a list of signal names in order. This is intended
1318 * to be used as a static array initialization, like this:
1319 * char *sig_name[] = { SIG_NAME };
1320 * The signals in the list are separated with commas, and each signal
1321 * is surrounded by double quotes. There is no leading SIG in the signal
1322 * name, i.e. SIGQUIT is known as "QUIT". Duplicates are allowed.
1323 * The signal number for sig_name[i] is stored in sig_num[i].
1324 * The last element is 0 to terminate the list with a NULL. This
1325 * corresponds to the 0 at the end of the sig_num list.
1326 * See SIG_NUM and SIG_MAX.
1328 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE",\
1329 "KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM",\
1330 "ABRT","USR1","USR2",0
1333 * This symbol contains a list of signal number, in the same order as the
1334 * SIG_NAME list. It is suitable for static array initialization, as in:
1335 * int sig_num[] = { SIG_NUM };
1336 * The signals in the list are separated with commas, and the indices
1337 * within that list and the SIG_NAME list match, so it's easy to compute
1338 * the signal name from a number or vice versa at the price of a small
1339 * dynamic linear lookup. Duplicates are allowed, so you can't assume
1340 * sig_num[i] == i. Instead, the signal number corresponding to
1341 * sig_name[i] is sig_number[i].
1342 * The last element is 0, corresponding to the 0 at the end of
1343 * the sig_name list.
1345 #define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,6,16,17,0 /**/
1348 * This symbol holds the type used to declare file modes
1349 * for systems calls. It is usually mode_t, but may be
1350 * int or unsigned short. It may be necessary to include <sys/types.h>
1351 * to get any typedef'ed information.
1353 #define Mode_t unsigned int /* file mode parameter for system calls*/
1356 * This symbol holds the type used by functions that return
1357 * a count of bytes or an error condition. It must be a signed type.
1358 * It is usually ssize_t, but may be long or int, etc.
1359 * It may be necessary to include <sys/types.h> or <unistd.h>
1360 * to get any typedef'ed information.
1361 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1363 #define SSize_t int /* signed count of bytes */
1366 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1367 * non-blocking I/O for the file descriptor. Note that there is no way
1368 * back, i.e. you cannot turn it blocking again this way. If you wish to
1369 * alternatively switch between blocking and non-blocking, use the
1370 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1373 * This symbol holds the errno error code set by read() when no data was
1374 * present on the non-blocking file descriptor.
1377 * This symbol holds the return code from read() when no data is present
1378 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1379 * not defined, then you can't distinguish between no data and EOF by
1380 * issuing a read(). You'll have to find another way to tell for sure!
1383 * This symbol, if defined, indicates to the C program that a read() on
1384 * a non-blocking file descriptor will return 0 on EOF, and not the value
1385 * held in RD_NODATA (-1 usually, in that case!).
1387 #undef VAL_O_NONBLOCK
1393 * This variable, if defined, holds the name of the directory in
1394 * which the user has perl5.000 or perl5.001 architecture-dependent
1395 * public library files for $package. For the most part, these
1396 * files will work with 5.002 (and later), but that is not
1400 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1401 * used in programs that are not prepared to deal with ~ expansion at
1405 * This value is automatically updated by FndVers.Com
1406 * when Perl is built. Please do not change it by hand; make
1407 * any changes to FndVers.Com instead.
1409 #define OLDARCHLIB_EXP "/perl_root/lib/VMS_VAX" /**/
1410 #define OLDARCHLIB OLDARCHLIB_EXP /*config-skip*/
1413 * This symbol contains the name of the private library for this package.
1414 * The library is private in the sense that it needn't be in anyone's
1415 * execution path, but it should be accessible by the world. The program
1416 * should be prepared to do ~ expansion.
1419 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1420 * in programs that are not prepared to deal with ~ expansion at run-time.
1422 #define PRIVLIB_EXP "/perl_root/lib" /**/
1423 #define PRIVLIB PRIVLIB_EXP /*config-skip*/
1426 * This symbol contains the name of the private library for this package.
1427 * The library is private in the sense that it needn't be in anyone's
1428 * execution path, but it should be accessible by the world. The program
1429 * should be prepared to do ~ expansion.
1430 * The standard distribution will put nothing in this directory.
1431 * Individual sites may place their own extensions and modules in
1435 * This symbol contains the ~name expanded version of SITELIB, to be used
1436 * in programs that are not prepared to deal with ~ expansion at run-time.
1438 #define SITELIB_EXP "/perl_root/lib/site_perl" /**/
1439 #define SITELIB SITELIB_EXP /*config-skip*/
1442 * This symbol contains the name of the private library for this package.
1443 * The library is private in the sense that it needn't be in anyone's
1444 * execution path, but it should be accessible by the world. The program
1445 * should be prepared to do ~ expansion.
1446 * The standard distribution will put nothing in this directory.
1447 * Individual sites may place their own extensions and modules in
1451 * This symbol contains the ~name expanded version of SITEARCH, to be used
1452 * in programs that are not prepared to deal with ~ expansion at run-time.
1455 * This value is automatically updated by FndVers.Com
1456 * when Perl is built. Please do not change it by hand; make
1457 * any changes to FndVers.Com instead.
1459 #define SITEARCH_EXP "/perl_root/lib/site_perl/VMS_VAX" /**/
1460 #define SITEARCH SITEARCH_EXP /*config-skip*/
1463 * This symbol holds the name of the directory in which the user wants
1464 * to put publicly executable scripts for the package in question. It
1465 * is often a directory that is mounted across diverse architectures.
1466 * Programs must be prepared to deal with ~name expansion.
1468 #define SCRIPTDIR "/perl_root/script" /**/
1471 * This symbol holds the type used to declare length parameters
1472 * for string functions. It is usually size_t, but may be
1473 * unsigned long, int, etc. It may be necessary to include
1474 * <sys/types.h> to get any typedef'ed information.
1476 #define Size_t size_t /* length paramater for string functions */
1479 * This symbol holds the type used to declare user ids in the kernel.
1480 * It can be int, ushort, uid_t, etc... It may be necessary to include
1481 * <sys/types.h> to get any typedef'ed information.
1483 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1484 # define Uid_t uid_t /* config-skip */
1486 # define Uid_t unsigned int /* config-skip */
1490 * This symbol, if defined, indicates to the C program that it should
1491 * include <sys/param.h>.
1496 * This symbol, if defined, indicates that the closedir() routine
1497 * does not return a value.
1499 #define VOID_CLOSEDIR /**/
1502 * This symbol, if defined, indicates that the dlerror routine is
1505 #undef HAS_DLERROR /**/
1507 /* DLSYM_NEEDS_UNDERSCORE:
1508 * This symbol, if defined, indicates that we need to prepend an
1509 * underscore to the symbol name before calling dlsym(). This only
1510 * makes sense if you *have* dlsym, which we will presume is the
1511 * case if you're using dl_dlopen.xs.
1513 #undef DLSYM_NEEDS_UNDERSCORE /* */
1515 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1516 * This symbol, if defined, indicates that setuid scripts are secure.
1519 * This symbol, if defined, indicates that the C program should
1520 * check the script that it is executing for setuid/setgid bits, and
1521 * attempt to emulate setuid/setgid on systems that have disabled
1522 * setuid #! scripts because the kernel can't do it securely.
1523 * It is up to the package designer to make sure that this emulation
1524 * is done securely. Among other things, it should do an fstat on
1525 * the script it just opened to make sure it really is a setuid/setgid
1526 * script, it should make sure the arguments passed correspond exactly
1527 * to the argument on the #! line, and it should not trust any
1528 * subprocesses to which it must pass the filename rather than the
1529 * file descriptor of the script to be executed.
1531 #undef SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1535 * This symbol, if defined, indicates to the C program that the
1536 * inet_aton() function is available to parse IP address "dotted-quad"
1538 * VMS: SocketShr doesn't support this, so we let the Socket extension
1541 #undef HAS_INET_ATON /**/
1544 * This manifest constant lets the C program know that the
1545 * isascii is available.
1547 #define HAS_ISASCII /**/
1550 * This symbol, if defined, indicates that the setlocale routine is
1551 * available to handle locale-specific ctype implementations.
1554 * This symbol, if defined, indicates to the C program that it should
1555 * include <locale.h>.
1558 * This symbol, if defined, indicates that the localeconv routine is
1559 * available for numeric and monetary formatting conventions.
1562 # define I_LOCALE /*config-skip*/
1563 # define HAS_SETLOCALE /*config-skip*/
1564 # define HAS_LOCALECONV /*config-skip*/
1566 # undef I_LOCALE /*config-skip*/
1567 # undef HAS_SETLOCALE /*config-skip*/
1568 # undef HAS_LOCALECONV /*config-skip*/
1572 * This symbol, if defined, indicates that the mkfifo routine is
1575 #undef HAS_MKFIFO /**/
1578 * This symbol, if defined, indicates that pathconf() is available
1579 * to determine file-system related limits and options associated
1580 * with a given filename.
1583 * This symbol, if defined, indicates that pathconf() is available
1584 * to determine file-system related limits and options associated
1585 * with a given open file descriptor.
1587 #undef HAS_PATHCONF /**/
1588 #undef HAS_FPATHCONF /**/
1591 * This symbol, if defined, indicates that the bcopy routine is available
1592 * to copy potentially overlapping memory blocks. Otherwise you should
1593 * probably use memmove() or memcpy(). If neither is defined, roll your
1596 #undef HAS_SAFE_BCOPY /**/
1599 * This symbol, if defined, indicates that the memcpy routine is available
1600 * to copy potentially overlapping memory blocks. Otherwise you should
1601 * probably use memmove() or memcpy(). If neither is defined, roll your
1604 #define HAS_SAFE_MEMCPY /**/
1607 * This symbol, if defined, indicates that the memcmp routine is available
1608 * and can be used to compare relative magnitudes of chars with their high
1609 * bits set. If it is not defined, roll your own version.
1611 #define HAS_SANE_MEMCMP /**/
1614 * This symbol, if defined, indicates that the setpgrp routine is
1615 * available to set the current process group.
1618 * This symbol, if defined, indicates that setpgrp needs two
1619 * arguments whereas USG one needs none. See also HAS_SETPGID
1620 * for a POSIX interface.
1623 * This symbol, if defined, indicates that the BSD notion of process
1624 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1625 * instead of the USG setpgrp().
1627 #undef HAS_SETPGRP /**/
1628 #undef USE_BSD_SETPGRP /**/
1629 #undef USE_BSDPGRP /**/
1632 * This symbol, if defined, indicates that the setpgid routine is
1633 * available to set process group ID.
1635 #undef HAS_SETPGID /**/
1638 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
1639 * routine is available to set the current process group.
1641 #undef HAS_SETPGRP2 /**/
1644 * This symbol, if defined, indicates that sysconf() is available
1645 * to determine system related limits and options.
1647 #undef HAS_SYSCONF /**/
1650 * This preprocessor macro is defined to convert a floating point
1651 * number to a string without a trailing decimal point. This
1652 * emulates the behavior of sprintf("%g"), but is sometimes much more
1653 * efficient. If gconvert() is not available, but gcvt() drops the
1654 * trailing decimal point, then gcvt() is used. If all else fails,
1655 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1656 * macro are: value, number of digits, whether trailing zeros should
1657 * be retained, and the output buffer.
1658 * Possible values are:
1659 * d_Gconvert='gconvert((x),(n),(t),(b))'
1660 * d_Gconvert='gcvt((x),(n),(b))'
1661 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1662 * The last two assume trailing zeros should not be kept.
1664 #define Gconvert(x,n,t,b) my_gconvert(x,n,t,b)
1667 * This symbol, if defined, indicates to the C program that
1668 * the getpgid(pid) function is available to get the
1671 #undef HAS_GETPGID /**/
1674 * This symbol, if defined, indicates that the getpgrp routine is
1675 * available to get the current process group.
1678 * This symbol, if defined, indicates that getpgrp needs one
1679 * arguments whereas USG one needs none.
1681 #undef HAS_GETPGRP /**/
1682 #undef USE_BSD_GETPGRP /**/
1685 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
1686 * routine is available to get the current process group.
1688 #undef HAS_GETPGRP2 /**/
1691 * This symbol, if defined, indicates that sfio should
1694 #undef USE_SFIO /**/
1697 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1700 * This macro is used in the same way as sigsetjmp(), but will invoke
1701 * traditional setjmp() if sigsetjmp isn't available.
1704 * This macro is used in the same way as siglongjmp(), but will invoke
1705 * traditional longjmp() if siglongjmp isn't available.
1707 #undef HAS_SIGSETJMP /**/
1708 #ifdef HAS_SIGSETJMP
1709 #define Sigjmp_buf sigjmp_buf /* config-skip */
1710 #define Sigsetjmp(buf,save_mask) sigsetjmp(buf,save_mask) /* config-skip */
1711 #define Siglongjmp(buf,retval) siglongjmp(buf,retval) /* config-skip */
1713 #define Sigjmp_buf jmp_buf /* config-skip */
1714 #define Sigsetjmp(buf,save_mask) setjmp(buf) /* config-skip */
1715 #define Siglongjmp(buf,retval) longjmp(buf,retval) /* config-skip */
1718 /* USE_DYNAMIC_LOADING:
1719 * This symbol, if defined, indicates that dynamic loading of
1720 * some sort is available.
1722 #define USE_DYNAMIC_LOADING /**/
1725 * This variable contains the string to put in front of a perl
1726 * script to make sure (one hopes) that it runs with perl and not
1729 #define STARTPERL "" /**/
1732 * This symbol holds the type used for the second argument to
1733 * getgroups(). Usually, this is the same of gidtype, but
1734 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1735 * It may be necessary to include <sys/types.h> to get any
1736 * typedef'ed information. This is only required if you have
1739 #ifdef HAS_GETGROUPS
1740 #define Groups_t unsigned int /* Type for 2nd arg to getgroups() */ /* config-skip */
1744 * This symbol contains the type of the prefix structure element
1745 * in the <db.h> header file. In older versions of DB, it was
1746 * int, while in newer ones it is u_int32_t.
1749 * This symbol contains the type of the prefix structure element
1750 * in the <db.h> header file. In older versions of DB, it was
1751 * int, while in newer ones it is size_t.
1753 #undef DB_Hash_t /**/
1754 #undef DB_Prefix_t /**/
1757 * This symbol, if defined, indicates that the PerlIO abstraction should
1758 * be used throughout. If not defined, stdio should be
1759 * used in a fully backward compatible manner.
1761 #undef USE_PERLIO /**/
1764 * This symbol indicates how much support of the void type is given by this
1765 * compiler. What various bits mean:
1767 * 1 = supports declaration of void
1768 * 2 = supports arrays of pointers to functions returning void
1769 * 4 = supports comparisons between pointers to void functions and
1770 * addresses of void functions
1771 * 8 = suports declaration of generic void pointers
1773 * The package designer should define VOIDUSED to indicate the requirements
1774 * of the package. This can be done either by #defining VOIDUSED before
1775 * including config.h, or by defining defvoidused in Myinit.U. If the
1776 * latter approach is taken, only those flags will be tested. If the
1777 * level of void support necessary is not present, defines void to int.
1782 #define VOIDFLAGS 15
1783 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1784 #define void int /* is void to be avoided? */ /* config-skip */
1785 #define M_VOID /* Xenix strikes again */ /* config-skip */
1788 #ifdef VMS_DO_SOCKETS
1790 * This symbol, if defined, indicates that the BSD socket interface is
1794 * This symbol, if defined, indicates that the BSD socketpair() call is
1797 #define HAS_SOCKET /**/ /* config-skip */
1798 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1801 * This symbol, if defined, indicates that the gethostent routine is
1802 * available to lookup host names in some data base or other.
1804 #define HAS_GETHOSTENT /**/ /* config-skip */
1806 /* VMS: In general, TCP/IP header files should be included from
1807 * sockadapt.h, instead of here, in order to keep the TCP/IP code
1808 * together as much as possible.
1811 * This symbol, if defined, indicates to the C program that it should
1812 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1814 #undef I_NETINET_IN /**/ /* config-skip */
1817 * This symbol, if defined, indicates that <net/errno.h> exists and
1818 * should be included.
1820 #undef I_NET_ERRNO /**/ /* config-skip */
1823 * This symbol, if defined, indicates that the select routine is
1824 * available to select active file descriptors. If the timeout field
1825 * is used, <sys/time.h> may need to be included.
1827 #define HAS_SELECT /**/ /* config-skip */
1829 #else /* VMS_DO_SOCKETS */
1831 #undef HAS_SOCKET /**/ /* config-skip */
1832 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1833 #undef HAS_GETHOSTENT /**/ /* config-skip */
1834 #undef I_NETINET_IN /**/ /* config-skip */
1835 #undef I_NET_ERRNO /**/ /* config-skip */
1836 #undef HAS_SELECT /**/ /* config-skip */
1838 #endif /* !VMS_DO_SOCKETS */