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.
13 /* Configuration time: 18-Apr-1995 17:00
14 * Configured by: Charles Bailey bailey@genetics.upenn.edu
22 * This symbol contains the number of bytes required to align a
23 * double. Usual values are 2, 4 and 8.
25 #define MEM_ALIGNBYTES 8 /**/
28 * This symbol hold the hexadecimal constant defined in byteorder,
29 * i.e. 0x1234 or 0x4321, etc...
31 #define BYTEORDER 0x1234 /* large digits for MSB */
34 * This variable, if defined, holds the name of the directory in
35 * which the user wants to put architecture-dependent public
36 * library files for $package. It is most often a local directory
37 * such as /usr/local/lib. Programs using this variable must be
38 * prepared to deal with filename expansion. If ARCHLIB_EXP is the
39 * same as PRIVLIB_EXP, it is not defined, since presumably the
40 * program already searches PRIVLIB_EXP.
43 #define ARCHLIB_EXP "/perl_root/lib/VMS_AXP" /* config-skip */
45 #define ARCHLIB_EXP "/perl_root/lib/VMS_VAX" /* config-skip */
49 * This macro catenates 2 tokens together.
52 * This macro surrounds its token with double quotes.
55 #define CAT2(a,b) a##b /* config-skip */
56 #define CAT3(a,b,c) a##b##c /* config-skip */
57 #define CAT4(a,b,c,d) a##b##c##d /* config-skip */
58 #define CAT5(a,b,c,d,e) a##b##c##d##e /* config-skip */
59 #define STRINGIFY(a) #a /* config-skip */
61 #define CAT2(a,b) a/**/b /* config-skip */
62 #define CAT3(a,b,c) a/**/b/**/c /* config-skip */
63 #define CAT4(a,b,c,d) a/**/b/**/c/**/d /* config-skip */
64 #define CAT5(a,b,c,d,e) a/**/b/**/c/**/d/**/e /* config-skip */
65 #define STRINGIFY(a) "a" /* config-skip */
69 * This symbol contains the first part of the string which will invoke
70 * the C preprocessor on the standard input and produce to standard
71 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
72 * call a wrapper. See CPPRUN.
75 * This symbol contains the second part of the string which will invoke
76 * the C preprocessor on the standard input and produce to standard
77 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
78 * to specify standard input, otherwise the value is "".
80 #define CPPSTDIN "cc/noobj/preprocess=sys$output sys$input"
84 * This symbol is defined if the bcmp() routine is available to
85 * compare blocks of memory.
90 * This symbol is defined if the bcopy() routine is available to
91 * copy blocks of memory.
96 * This symbol is defined if the bzero() routine is available to
97 * set a memory block to 0.
102 * This symbol is defined if the C compiler can cast negative
103 * numbers to unsigned longs, ints and shorts.
106 * This symbol contains flags that say what difficulties the compiler
107 * has casting odd floating values to unsigned long:
109 * 1 = couldn't cast < 0
110 * 2 = couldn't cast >= 0x80000000
112 #define CASTNEGFLOAT /**/
113 #define CASTFLAGS 0 /**/
116 * This symbol is defined if this system declares "char *sprintf()" in
117 * stdio.h. The trend seems to be to declare it as "int sprintf()". It
118 * is up to the package author to declare sprintf correctly based on the
121 #undef CHARSPRINTF /**/
124 * This symbol, if defined, indicates that the chsize routine is available
125 * to truncate files. You might need a -lx to get this routine.
127 #undef HAS_CHSIZE /**/
130 * This symbol, if defined, indicates that this C compiler knows about
131 * the const type. There is no need to actually test for that symbol
132 * within your programs. The mere use of the "const" keyword will
133 * trigger the necessary tests.
135 #define HASCONST /**/
141 * This symbol, if defined, indicates that the crypt routine is available
142 * to encrypt passwords and the like.
144 #undef HAS_CRYPT /**/
147 * This symbol, if defined, indicates that the C-shell exists.
148 * If defined, contains the full pathname of csh.
153 * This symbol, if defined, indicates that the dup2 routine is
154 * available to duplicate file descriptors.
156 #define HAS_DUP2 /**/
159 * This symbol, if defined, indicates that the fchmod routine is available
160 * to change mode of opened files. If unavailable, use chmod().
162 #undef HAS_FCHMOD /**/
165 * This symbol, if defined, indicates that the fchown routine is available
166 * to change ownership of opened files. If unavailable, use chown().
168 #undef HAS_FCHOWN /**/
171 * This symbol, if defined, indicates to the C program that
172 * the fcntl() function exists.
174 #undef HAS_FCNTL /**/
177 * This symbol, if defined, indicates that the fgetpos routine is
178 * available to get the file position indicator, similar to ftell().
180 #define HAS_FGETPOS /**/
183 * This symbol, if defined, indicates that the system supports filenames
184 * longer than 14 characters.
186 #define FLEXFILENAMES /**/
189 * This symbol, if defined, indicates that the flock routine is
190 * available to do file locking.
192 #undef HAS_FLOCK /**/
195 * This symbol, if defined, indicates that the fsetpos routine is
196 * available to set the file position indicator, similar to fseek().
198 #define HAS_FSETPOS /**/
201 * This symbol, if defined, indicates that the getgroups() routine is
202 * available to get the list of process groups. If unavailable, multiple
203 * groups are probably not supported.
205 #undef HAS_GETGROUPS /**/
208 * This symbol, if defined, indicates that the C program may use the
209 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
212 #undef HAS_UNAME /**/
215 * This symbol, if defined, indicates that the getpgrp routine is
216 * available to get the current process group.
218 #undef HAS_GETPGRP /**/
221 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
222 * routine is available to get the current process group.
224 #undef HAS_GETPGRP2 /**/
227 * This symbol, if defined, indicates that the getpriority routine is
228 * available to get a process's priority.
230 #undef HAS_GETPRIORITY /**/
233 * This symbol, if defined, indicates that the killpg routine is available
234 * to kill process groups. If unavailable, you probably should use kill
235 * with a negative process number.
237 #undef HAS_KILLPG /**/
240 * This symbol, if defined, indicates that the link routine is
241 * available to create hard links.
246 * This symbol, if defined, indicates that the lstat routine is
247 * available to do file stats on symbolic links.
249 #undef HAS_LSTAT /**/
252 * This symbol, if defined, indicates that the lockf routine is
253 * available to do file locking.
255 #undef HAS_LOCKF /**/
258 * This symbol, if defined, indicates that the mbstowcs routine is
259 * available to covert a multibyte string into a wide character string.
261 #undef HAS_MBSTOWCS /**/
264 * This symbol, if defined, indicates that the mbtowc routine is available
265 * to covert a multibyte to a wide character.
267 #undef HAS_MBTOWC /**/
270 * This symbol, if defined, indicates that the memcmp routine is available
271 * to compare blocks of memory.
273 #define HAS_MEMCMP /**/
276 * This symbol, if defined, indicates that the memcpy routine is available
277 * to copy blocks of memory.
279 #define HAS_MEMCPY /**/
282 * This symbol, if defined, indicates that the memmove routine is available
283 * to copy potentially overlapping blocks of memory. This should be used
284 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
287 #define HAS_MEMMOVE /**/
290 * This symbol, if defined, indicates that the memset routine is available
291 * to set blocks of memory.
293 #define HAS_MEMSET /**/
296 * This symbol, if defined, indicates that the mkdir routine is available
297 * to create directories. Otherwise you should fork off a new process to
300 #define HAS_MKDIR /**/
303 * This symbol, if defined, indicates that the entire msg*(2) library is
304 * supported (IPC mechanism based on message queues).
309 * This manifest constant lets the C program know that the three
310 * argument form of open(2) is available.
312 #define HAS_OPEN3 /**/
315 * This symbol, if defined, indicates that the readdir routine is
316 * available to read directory entries. You may have to include
317 * <dirent.h>. See I_DIRENT.
319 #define HAS_READDIR /**/
322 * This symbol, if defined, indicates that the seekdir routine is
323 * available. You may have to include <dirent.h>. See I_DIRENT.
325 #define HAS_SEEKDIR /**/
328 * This symbol, if defined, indicates that the telldir routine is
329 * available. You may have to include <dirent.h>. See I_DIRENT.
331 #define HAS_TELLDIR /**/
334 * This symbol, if defined, indicates that the rewinddir routine is
335 * available. You may have to include <dirent.h>. See I_DIRENT.
337 #define HAS_REWINDDIR /**/
340 * This symbol, if defined, indicates that the rename routine is available
341 * to rename files. Otherwise you should do the unlink(), link(), unlink()
344 #define HAS_RENAME /**/
347 * This symbol, if defined, indicates that the rmdir routine is
348 * available to remove directories. Otherwise you should fork off a
349 * new process to exec /bin/rmdir.
351 #define HAS_RMDIR /**/
354 * This symbol, if defined, indicates that the select routine is
355 * available to select active file descriptors. If the timeout field
356 * is used, <sys/time.h> may need to be included.
358 #undef HAS_SELECT /**/
361 * This symbol, if defined, indicates that the entire sem*(2) library is
367 * This symbol, if defined, indicates that the setegid routine is available
368 * to change the effective gid of the current program.
370 #undef HAS_SETEGID /**/
373 * This symbol, if defined, indicates that the seteuid routine is available
374 * to change the effective uid of the current program.
376 #undef HAS_SETEUID /**/
379 * This symbol, if defined, indicates that the setlocale routine is
380 * available to handle locale-specific ctype implementations.
382 #undef HAS_SETLOCALE /**/
385 * This symbol, if defined, indicates that the setpgid routine is
386 * available to set process group ID.
388 #undef HAS_SETPGID /**/
391 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
392 * routine is available to set the current process group.
394 #undef HAS_SETPGRP2 /**/
397 * This symbol, if defined, indicates that the setpriority routine is
398 * available to set a process's priority.
400 #undef HAS_SETPRIORITY /**/
403 * This symbol, if defined, indicates that the setregid routine is
404 * available to change the real and effective gid of the current
408 * This symbol, if defined, indicates that the setresgid routine is
409 * available to change the real, effective and saved gid of the current
412 #undef HAS_SETREGID /**/
413 #undef HAS_SETRESGID /**/
416 * This symbol, if defined, indicates that the setreuid routine is
417 * available to change the real and effective uid of the current
421 * This symbol, if defined, indicates that the setresuid routine is
422 * available to change the real, effective and saved uid of the current
425 #undef HAS_SETREUID /**/
426 #undef HAS_SETRESUID /**/
429 * This symbol, if defined, indicates that the setrgid routine is available
430 * to change the real gid of the current program.
432 #undef HAS_SETRGID /**/
435 * This symbol, if defined, indicates that the setruid routine is available
436 * to change the real uid of the current program.
438 #undef HAS_SETRUID /**/
441 * This symbol, if defined, indicates that the setsid routine is
442 * available to set the process group ID.
444 #undef HAS_SETSID /**/
447 * This symbol, if defined, indicates that the entire shm*(2) library is
453 * This symbol holds the return type of the shmat() system call.
454 * Usually set to 'void *' or 'char *'.
456 /* HAS_SHMAT_PROTOTYPE:
457 * This symbol, if defined, indicates that the sys/shm.h includes
458 * a prototype for shmat(). Otherwise, it is up to the program to
459 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
460 * but not always right so it should be emitted by the program only
461 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
463 #undef Shmat_t /**/ /* config-skip */
464 #undef HAS_SHMAT_PROTOTYPE /**/
467 * This symbol is defined if this system has a stat structure declaring
468 * st_blksize and st_blocks.
470 #undef USE_STAT_BLOCKS /**/
473 * This symbol is defined if the _ptr and _cnt fields (or similar)
474 * of the stdio FILE structure can be used to access the stdio buffer
475 * for a file handle. If this is defined, then the FILE_ptr(fp)
476 * and FILE_cnt(fp) macros will also be defined and should be used
477 * to access these fields.
480 * This symbol is defined if the _base field (or similar) of the
481 * stdio FILE structure can be used to access the stdio buffer for
482 * a file handle. If this is defined, then the FILE_base(fp) macro
483 * will also be defined and should be used to access this field.
484 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
485 * to determine the number of bytes in the buffer. USE_STDIO_BASE
486 * will never be defined unless USE_STDIO_PTR is.
488 #undef USE_STDIO_PTR /**/
489 #undef USE_STDIO_BASE /**/
492 * This macro is used to access the _ptr field (or equivalent) of the
493 * FILE structure pointed to by its argument. This macro will always be
494 * defined if USE_STDIO_PTR is defined.
497 * This macro is used to access the _cnt field (or equivalent) of the
498 * FILE structure pointed to by its argument. This macro will always be
499 * defined if USE_STDIO_PTR is defined.
505 * This macro is used to access the _base field (or equivalent) of the
506 * FILE structure pointed to by its argument. This macro will always be
507 * defined if USE_STDIO_BASE is defined.
510 * This macro is used to determine the number of bytes in the I/O
511 * buffer pointed to by _base field (or equivalent) of the FILE
512 * structure pointed to its argument. This macro will always be defined
513 * if USE_STDIO_BASE is defined.
515 #ifdef USE_STDIO_BASE
519 * This symbol, if defined, indicates that this C compiler knows how
520 * to copy structures. If undefined, you'll need to use a block copy
521 * routine of some sort instead.
523 #define USE_STRUCT_COPY /**/
526 * This symbol, if defined, indicates that the strerror routine is
527 * available to translate error numbers to strings. See the writeup
528 * of Strerror() in this file before you try to define your own.
531 * This symbol, if defined, indicates that the sys_errlist array is
532 * available to translate error numbers to strings. The extern int
533 * sys_nerr gives the size of that table.
536 * This preprocessor symbol is defined as a macro if strerror() is
537 * not available to translate error numbers to strings but sys_errlist[]
540 #define HAS_STRERROR /**/
541 #undef HAS_SYS_ERRLIST /**/
543 # define Strerror(e) strerror((e),vaxc$errno)
545 #define Strerror(e) ((e)<0||(e)>=sys_nerr?"unknown":sys_errlist[e]) /**/ /* config-skip */
549 * This symbol, if defined, indicates that the symlink routine is available
550 * to create symbolic links.
552 #undef HAS_SYMLINK /**/
555 * This symbol, if defined, indicates that the syscall routine is
556 * available to call arbitrary system calls. If undefined, that's tough.
558 #undef HAS_SYSCALL /**/
561 * This symbol, if defined, indicates that the system routine is
562 * available to issue a shell command.
564 #define HAS_SYSTEM /**/
567 * This symbol holds the type returned by time(). It can be long,
568 * or time_t on BSD sites (in which case <sys/types.h> should be
571 #define Time_t time_t /* Time type */
574 * This symbol, if defined, indicates that the truncate routine is
575 * available to truncate files.
577 #undef HAS_TRUNCATE /**/
581 * This symbol, if defined, indicates that vfork() exists.
583 #define HAS_VFORK /**/
586 * This symbol's value is either "void" or "int", corresponding to the
587 * appropriate return type of a signal handler. Thus, you can declare
588 * a signal handler using "Signal_t (*handler)()", and define the
589 * handler using "Signal_t handler(sig)".
591 #define Signal_t void /* Signal handler's return type */
594 * This symbol, if defined, indicates that this C compiler knows about
595 * the volatile declaration.
597 #define HASVOLATILE /**/
599 #define volatile /* config-skip */
603 * This symbol, if defined, indicates that the vprintf routine is available
604 * to printf with a pointer to an argument list. If unavailable, you
605 * may need to write your own, probably in terms of _doprnt().
607 /* USE_CHAR_VSPRINTF:
608 * This symbol is defined if this system has vsprintf() returning type
609 * (char*). The trend seems to be to declare it as "int vsprintf()". It
610 * is up to the package author to declare vsprintf correctly based on the
613 #define HAS_VPRINTF /**/
614 #undef USE_CHAR_VSPRINTF /**/
617 * This symbol, if defined, indicates that wait4() exists.
619 #undef HAS_WAIT4 /**/
622 * This symbol, if defined, indicates that the waitpid routine is
623 * available to wait for child process.
625 #define HAS_WAITPID /**/
628 * This symbol, if defined, indicates that the wcstombs routine is
629 * available to convert wide character strings to multibyte strings.
631 #undef HAS_WCSTOMBS /**/
634 * This symbol, if defined, indicates to the C program that it should
635 * include <dirent.h>. Using this symbol also triggers the definition
636 * of the Direntry_t define which ends up being 'struct dirent' or
637 * 'struct direct' depending on the availability of <dirent.h>.
640 * This symbol, if defined, indicates to the C program that the length
641 * of directory entry names is provided by a d_namlen field. Otherwise
642 * you need to do strlen() on the d_name field.
645 #define DIRNAMLEN /**/
646 #define Direntry_t struct dirent
649 * This manifest constant tells the C program to include <fcntl.h>.
654 * This symbol, if defined, indicates to the C program that it should
660 * This symbol, if defined, indicates to the C program that it should
661 * include <limits.h> to get definition of symbols like WORD_BIT or
662 * LONG_MAX, i.e. machine dependant limitations.
667 * This symbol, if defined, indicates to the C program that it should
668 * include <memory.h>.
673 * This symbol, if defined, indicates that ndbm.h exists and should
679 * This symbol, if defined, indicates that <stdarg.h> exists and should
682 #define I_STDARG /**/
685 * This symbol, if defined, indicates to the C program that it should
689 * This symbol, if defined, indicates to the C program that struct passwd
693 * This symbol, if defined, indicates to the C program that struct passwd
697 * This symbol, if defined, indicates to the C program that struct passwd
698 * contains pw_change.
701 * This symbol, if defined, indicates to the C program that struct passwd
705 * This symbol, if defined, indicates to the C program that struct passwd
706 * contains pw_expire.
709 * This symbol, if defined, indicates to the C program that struct passwd
710 * contains pw_comment.
718 #define PWCOMMENT /**/
721 * This symbol, if defined, indicates that <stddef.h> exists and should
724 #define I_STDDEF /**/
727 * This symbol, if defined, indicates that <stdlib.h> exists and should
730 #define I_STDLIB /**/
733 * This symbol, if defined, indicates to the C program that it should
734 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
736 #define I_STRING /**/
739 * This symbol, if defined, indicates to the C program that it should
740 * include <sys/dir.h>.
742 #undef I_SYS_DIR /**/
745 * This symbol, if defined, indicates to the C program that it should
746 * include <sys/file.h> to get definition of R_OK and friends.
748 #undef I_SYS_FILE /**/
751 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
752 * be included. Otherwise, include <sgtty.h> or <termio.h>.
754 #undef I_SYS_IOCTL /**/
757 * This symbol, if defined, indicates that the ioctl() routine is
758 * available to set I/O characteristics
760 #undef HAS_IOCTL /**/
763 * This symbol, if defined, indicates to the C program that it should
764 * include <sys/ndir.h>.
766 #undef I_SYS_NDIR /**/
769 * This symbol, if defined, indicates to the C program that it should
770 * include <sys/select.h> in order to get definition of struct timeval.
772 #undef I_SYS_SELECT /**/
775 * This symbol, if defined, indicates to the C program that it should
776 * include <sys/stat.h>.
778 #define I_SYS_STAT /**/
781 * This symbol, if defined, indicates to the C program that it should
782 * include <sys/times.h>.
784 #undef I_SYS_TIMES /**/
787 * This symbol, if defined, indicates to the C program that it should
788 * include <sys/types.h>.
790 #define I_SYS_TYPES /**/
793 * This symbol, if defined, indicates that the program should include
794 * <termio.h> rather than <sgtty.h>. There are also differences in
795 * the ioctl() calls that depend on the value of this symbol.
798 * This symbol, if defined, indicates that the program should include
799 * the POSIX termios.h rather than sgtty.h or termio.h.
800 * There are also differences in the ioctl() calls that depend on the
801 * value of this symbol.
804 * This symbol, if defined, indicates that the program should include
805 * <sgtty.h> rather than <termio.h>. There are also differences in
806 * the ioctl() calls that depend on the value of this symbol.
810 #undef I_TERMIOS /**/
813 * This symbol, if defined, indicates to the C program that it should
817 * This symbol, if defined, indicates to the C program that it should
818 * include <sys/time.h>.
820 /* I_SYS_TIME_KERNEL:
821 * This symbol, if defined, indicates to the C program that it should
822 * include <sys/time.h> with KERNEL defined.
825 #undef I_SYS_TIME /**/
826 #undef I_SYS_TIME_KERNEL /**/
829 * This symbol, if defined, indicates to the C program that it should
830 * include <unistd.h>.
835 * This symbol, if defined, indicates to the C program that it should
841 * This symbol, if defined, indicates that the routine utime() is
842 * available to update the access and modification times of files.
844 #define HAS_UTIME /**/
847 * This symbol, if defined, indicates that <stdarg.h> exists and should
851 * This symbol, if defined, indicates to the C program that it should
852 * include <varargs.h>.
854 #define I_STDARG /**/
855 #undef I_VARARGS /**/
859 * This symbol, if defined, indicates to the C program that it should
865 * This symbol contains the size of an int, so that the C preprocessor
866 * can make decisions based on it.
868 #define INTSIZE 4 /**/
872 * If defined, this macro indicates that the C compiler can handle
873 * function prototypes.
876 * This macro is used to declare function parameters for folks who want
877 * to make declarations with prototypes using a different style than
878 * the above macros. Use double parentheses. For example:
880 * int main _((int argc, char *argv[]));
882 #define CAN_PROTOTYPE /**/
884 #define _(args) args /* config-skip */
886 #define _(args) () /* config-skip */
890 * This symbol contains the number of bits of random number the rand()
891 * function produces. Usual values are 15, 16, and 31.
893 #define RANDBITS 31 /**/
897 * This symbol holds the type used for the 2nd, 3rd, and 4th
898 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
899 * is defined, and 'int *' otherwise. This is only useful if you
900 * have select(), of course.
902 #define Select_fd_set_t fd_set * /**/
905 * This symbol is defined to be the type of char used in stdio.h.
906 * It has the values "unsigned char" or "char".
908 #define STDCHAR char /**/
911 * This symbol indicates how much support of the void type is given by this
912 * compiler. What various bits mean:
914 * 1 = supports declaration of void
915 * 2 = supports arrays of pointers to functions returning void
916 * 4 = supports comparisons between pointers to void functions and
917 * addresses of void functions
918 * 8 = suports declaration of generic void pointers
920 * The package designer should define VOIDUSED to indicate the requirements
921 * of the package. This can be done either by #defining VOIDUSED before
922 * including config.h, or by defining defvoidused in Myinit.U. If the
923 * latter approach is taken, only those flags will be tested. If the
924 * level of void support necessary is not present, defines void to int.
930 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
931 #define void int /* is void to be avoided? */ /* config-skip */
932 #define M_VOID /* Xenix strikes again */ /* config-skip */
935 /* UNLINK_ALL_VERSIONS:
936 * This symbol, if defined, indicates that the program should arrange
937 * to remove all versions of a file if unlink() is called.
939 #undef UNLINK_ALL_VERSIONS /**/
942 * This symbol, if defined, indicates that the program is running under
943 * VMS. It's symbol automagically defined by all VMS C compilers I've seen.
944 * Just in case, however . . . */
950 * This symbol holds the complete pathname to the sed program.
952 #define LOC_SED "_NLA0:" /**/
955 * This symbol holds the path of the bin directory where the package will
956 * be installed. Program must be prepared to deal with ~name substitution.
958 #define BIN "/perl_root/000000" /**/
961 * This symbol, if defined, indicates that the alarm routine is
964 #define HAS_ALARM /**/
967 * This symbol is defined if the C compiler can cast negative
968 * or large floating point numbers to 32-bit ints.
973 * This symbol, if defined, indicates that the chown routine is
976 #define HAS_CHOWN /**/
979 * This symbol, if defined, indicates that the chroot routine is
982 #undef HAS_CHROOT /**/
985 * This symbol, if defined, indicates that the cuserid routine is
986 * available to get character login names.
988 #define HAS_CUSERID /**/
991 * This symbol, if defined, indicates that this system's <float.h>
992 * or <limits.h> defines the symbol DBL_DIG, which is the number
993 * of significant digits in a double precision number. If this
994 * symbol is not defined, a guess of 15 is usually pretty good.
996 #define HAS_DBL_DIG /* */
999 * This symbol, if defined, indicates that the difftime routine is
1002 #define HAS_DIFFTIME /**/
1005 * This symbol, if defined, indicates that the fork routine is
1008 /* VMS: In vmsish.h, fork is #defined to vfork. This kludge gets around
1009 * some obsolete code in pp.c, which should be fixed in its own right
1010 * sometime. - C. Bailey 26-Aug-1994
1012 #define HAS_FORK /**/
1015 * This symbol, if defined, indicates that the getlogin routine is
1018 #undef HAS_GETLOGIN /**/
1021 * This symbol, if defined, indicates that the getppid routine is
1024 #undef HAS_GETPPID /**/
1027 * This symbol, if defined, indicates that the getgrent routine is
1030 #undef HAS_GETGRENT /**/
1033 * This symbol, if defined, indicates that the htonl() routine (and
1034 * friends htons() ntohl() ntohs()) are available to do network
1035 * order byte swapping.
1038 * This symbol, if defined, indicates that the htons() routine (and
1039 * friends htonl() ntohl() ntohs()) are available to do network
1040 * order byte swapping.
1043 * This symbol, if defined, indicates that the ntohl() routine (and
1044 * friends htonl() htons() ntohs()) are available to do network
1045 * order byte swapping.
1048 * This symbol, if defined, indicates that the ntohs() routine (and
1049 * friends htonl() htons() ntohl()) are available to do network
1050 * order byte swapping.
1052 #define HAS_HTONL /**/
1053 #define HAS_HTONS /**/
1054 #define HAS_NTOHL /**/
1055 #define HAS_NTOHS /**/
1058 * This symbol, if defined, indicates that the mblen routine is available
1059 * to find the number of bytes in a multibye character.
1061 #undef HAS_MBLEN /**/
1064 * This symbol, if defined, indicates that the mktime routine is
1067 #undef HAS_MKTIME /**/
1070 * This symbol, if defined, indicates that the nice routine is
1073 #define HAS_NICE /**/
1076 * This symbol, if defined, indicates that the getpwnam(),
1077 * getpwuid(), and getpwent() routines are available to
1078 * get password entries.
1080 #define HAS_PASSWD /**/
1083 * This symbol, if defined, indicates that the pause routine is
1086 #define HAS_PAUSE /**/
1089 * This symbol, if defined, indicates that the pipe routine is
1092 #define HAS_PIPE /**/
1095 * This symbol, if defined, indicates that the readlink routine is
1098 #undef HAS_READLINK /**/
1101 * This symbol, if defined, indicates that the setlinebuf routine is
1102 * available to change stderr or stdout from block-buffered or unbuffered
1103 * to a line-buffered mode.
1105 #undef HAS_SETLINEBUF /**/
1108 * This symbol is defined to indicate that the strchr()/strrchr()
1109 * functions are available for string searching. If not, try the
1110 * index()/rindex() pair.
1113 * This symbol is defined to indicate that the index()/rindex()
1114 * functions are available for string searching.
1116 #define HAS_STRCHR /**/
1117 #undef HAS_INDEX /**/
1120 * This symbol, if defined, indicates that the strcoll routine is
1121 * available to compare strings using collating information.
1123 #undef HAS_STRCOLL /**/
1126 * This symbol, if defined, indicates that the strxfrm() routine is
1127 * available to compare strings using collating information.
1129 #undef HAS_STRXFRM /**/
1132 * This symbol, if defined, indicates that the tcgetpgrp routine is
1133 * available to get foreground process group ID.
1135 #undef HAS_TCGETPGRP /**/
1138 * This symbol, if defined, indicates that the tcsetpgrp routine is
1139 * available to set foreground process group ID.
1141 #undef HAS_TCSETPGRP /**/
1144 * This symbol, if defined, indicates that the times() routine exists.
1145 * Note that this became obsolete on some systems (SUNOS), which now
1146 * use getrusage(). It may be necessary to include <sys/times.h>.
1148 #define HAS_TIMES /**/
1151 * This symbol, if defined, indicates that the tzname[] array is
1152 * available to access timezone names.
1154 #undef HAS_TZNAME /**/
1157 * This symbol, if defined, indicates that the umask routine is
1158 * available to get the file creation mask.
1160 #define HAS_UMASK /**/
1163 * This symbol is defined if this system declares "void (*signal(...))()" in
1164 * signal.h. The old way was to declare it as "int (*signal(...))()". It
1165 * is up to the package author to declare things correctly based on the
1168 #define VOIDSIG /**/
1171 * This symbol, if defined, indicates that the wctomb routine is available
1172 * to covert a wide character to a multibyte.
1174 #undef HAS_WCTOMB /**/
1177 * This symbol holds the type used to declare file positions in libc.
1178 * It can be fpos_t, long, uint, etc... It may be necessary to include
1179 * <sys/types.h> to get any typedef'ed information.
1181 #define Fpos_t fpos_t /* File position type */
1184 * This symbol holds the return type of getgid() and the type of
1185 * argument to setrgid() and related functions. Typically,
1186 * it is the type of group ids in the kernel.
1187 * It can be int, ushort, uid_t, etc... It may be necessary to include
1188 * <sys/types.h> to get any typedef'ed information.
1190 #define Gid_t unsigned int /* Type for getgid(), etc... */
1193 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1199 * This symbol, if defined, indicates to the C program that it should
1200 * include <float.h> to get definition of symbols like DBL_MAX or
1201 * DBL_MIN, i.e. machine dependent floating point values.
1203 #define I_FLOAT /**/
1206 * This symbol, if defined, indicates to the C program that it should
1212 * This symbol, if defined, indicates to the C program that it should
1213 * include <sys/stat.h>.
1215 #define I_SYS_STAT /**/
1219 * This symbol holds the type used to declare offsets in the kernel.
1220 * It can be int, long, off_t, etc... It may be necessary to include
1221 * <sys/types.h> to get any typedef'ed information.
1223 #define Off_t int /* <offset> type */
1225 * This symbol is the type of pointer returned by malloc and realloc.
1227 #define Malloc_t void * /**/
1230 * This symbol, if defined, indicates that we're using our own malloc.
1232 #undef MYMALLOC /**/
1235 * This symbol holds the type used to declare file modes
1236 * for systems calls. It is usually mode_t, but may be
1237 * int or unsigned short. It may be necessary to include <sys/types.h>
1238 * to get any typedef'ed information.
1240 #define Mode_t unsigned int /* file mode parameter for system calls*/
1243 * This symbol holds the type used by functions that return
1244 * a count of bytes or an error condition. It must be a signed type.
1245 * It is usually ssize_t, but may be long or int, etc.
1246 * It may be necessary to include <sys/types.h> or <unistd.h>
1247 * to get any typedef'ed information.
1248 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1250 #define SSize_t int /* signed count of bytes */
1254 * This symbol contains the name of the private library for this package.
1255 * The library is private in the sense that it needn't be in anyone's
1256 * execution path, but it should be accessible by the world. The program
1257 * should be prepared to do ~ expansion.
1259 #define PRIVLIB_EXP "/perl_root/lib" /**/
1262 * This symbol holds the name of the directory in which the user wants
1263 * to put publicly executable scripts for the package in question. It
1264 * is often a directory that is mounted across diverse architectures.
1265 * Programs must be prepared to deal with ~name expansion.
1267 #define SCRIPTDIR "/perl_root/script" /**/
1270 * This symbol contains a list of signal names in order. This is intended
1271 * to be used as a static array initialization, like this:
1272 * char *sig_name[] = { SIG_NAME };
1273 * The signals in the list are separated with commas, and each signal
1274 * is surrounded by double quotes. There is no leading SIG in the signal
1275 * name, i.e. SIGQUIT is known as "QUIT".
1277 #define SIG_NAME "HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE","KILL",\
1278 "BUS","SEGV","SYS","PIPE","ALRM","TERM"
1281 * This symbol holds the type used to declare length parameters
1282 * for string functions. It is usually size_t, but may be
1283 * unsigned long, int, etc. It may be necessary to include
1284 * <sys/types.h> to get any typedef'ed information.
1286 #define Size_t size_t /* length paramater for string functions */
1289 * This symbol holds the type used to declare user ids in the kernel.
1290 * It can be int, ushort, uid_t, etc... It may be necessary to include
1291 * <sys/types.h> to get any typedef'ed information.
1293 #define Uid_t unsigned int /* UID type */
1296 * This symbol, if defined, indicates to the C program that it should
1297 * include <sys/param.h>.
1301 /* GNUC_ATTRIBUTE_CHECK:
1302 * This symbol indicates the C compiler can check for function attributes,
1303 * such as printf formats.
1305 /* VMS: true for gcc, undef for VAXC/DECC. This is handled in Descrip.MMS
1306 * C. Bailey 26-Aug-1994
1308 /*#define GNUC_ATTRIBUTE_CHECK */
1311 * This symbol, if defined, indicates that the closedir() routine
1312 * does not return a value.
1314 #define VOID_CLOSEDIR /**/
1317 * This symbol, if defined, indicates that the dlerror routine is
1320 #undef HAS_DLERROR /**/
1322 /* DLSYM_NEEDS_UNDERSCORE:
1323 * This symbol, if defined, indicates that we need to prepend an
1324 * underscore to the symbol name before calling dlsym(). This only
1325 * makes sense if you *have* dlsym, which we will presume is the
1326 * case if you're using dl_dlopen.xs.
1328 #undef DLSYM_NEEDS_UNDERSCORE /* */
1330 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1331 * This symbol, if defined, indicates that setuid scripts are secure.
1334 * This symbol, if defined, indicates that the C program should
1335 * check the script that it is executing for setuid/setgid bits, and
1336 * attempt to emulate setuid/setgid on systems that have disabled
1337 * setuid #! scripts because the kernel can't do it securely.
1338 * It is up to the package designer to make sure that this emulation
1339 * is done securely. Among other things, it should do an fstat on
1340 * the script it just opened to make sure it really is a setuid/setgid
1341 * script, it should make sure the arguments passed correspond exactly
1342 * to the argument on the #! line, and it should not trust any
1343 * subprocesses to which it must pass the filename rather than the
1344 * file descriptor of the script to be executed.
1346 #undef SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1350 * This preprocessor macro is defined to convert a floating point
1351 * number to a string without a trailing decimal point. This
1352 * emulates the behavior of sprintf("%g"), but is sometimes much more
1353 * efficient. If gconvert() is not available, but gcvt() drops the
1354 * trailing decimal point, then gcvt() is used. If all else fails,
1355 * a macro using sprintf("%g") is used.
1357 #define Gconvert(x,n,t,b) my_gconvert(x,n,t,b)
1360 * This manifest constant lets the C program know that the
1361 * isascii is available.
1363 #define HAS_ISASCII /**/
1366 * This symbol is defined if this system has a FILE structure declaring
1367 * _IO_read_base, _IO_read_ptr, and _IO_read_end in stdio.h.
1369 #undef USE_LINUX_STDIO /**/
1372 * This symbol, if defined, indicates that the localeconv routine is
1373 * available for numeric and monetary formatting conventions.
1375 #undef HAS_LOCALECONV /**/
1378 * This symbol, if defined, indicates that the mkfifo routine is
1381 #undef HAS_MKFIFO /**/
1384 * This symbol, if defined, indicates that pathconf() is available
1385 * to determine file-system related limits and options associated
1386 * with a given filename.
1389 * This symbol, if defined, indicates that pathconf() is available
1390 * to determine file-system related limits and options associated
1391 * with a given open file descriptor.
1393 #undef HAS_PATHCONF /**/
1394 #undef HAS_FPATHCONF /**/
1397 * This symbol, if defined, indicates that the bcopy routine is available
1398 * to copy potentially overlapping memory blocks. Otherwise you should
1399 * probably use memmove() or memcpy(). If neither is defined, roll your
1402 #undef HAS_SAFE_BCOPY /**/
1405 * This symbol, if defined, indicates that the memcpy routine is available
1406 * to copy potentially overlapping memory blocks. Otherwise you should
1407 * probably use memmove() or memcpy(). If neither is defined, roll your
1410 #define HAS_SAFE_MEMCPY /**/
1413 * This symbol, if defined, indicates that the setpgrp routine is
1414 * available to set the current process group.
1417 * This symbol, if defined, indicates that the BSD notion of process
1418 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1419 * instead of the USG setpgrp().
1421 #undef HAS_SETPGRP /**/
1422 #undef USE_BSDPGRP /**/
1425 * This symbol, if defined, indicates that sysconf() is available
1426 * to determine system related limits and options.
1428 #undef HAS_SYSCONF /**/
1430 /* USE_DYNAMIC_LOADING:
1431 * This symbol, if defined, indicates that dynamic loading of
1432 * some sort is available.
1434 #define USE_DYNAMIC_LOADING /**/
1436 #ifdef VMS_DO_SOCKETS
1438 * This symbol, if defined, indicates that the BSD socket interface is
1442 * This symbol, if defined, indicates that the BSD socketpair() call is
1445 #define HAS_SOCKET /**/ /* config-skip */
1446 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1449 * This symbol, if defined, indicates that the gethostent routine is
1450 * available to lookup host names in some data base or other.
1452 #define HAS_GETHOSTENT /**/ /* config-skip */
1454 /* VMS: In general, TCP/IP header files should be included from
1455 * sockadapt.h, instead of here, in order to keep the TCP/IP code
1456 * together as much as possible.
1459 * This symbol, if defined, indicates to the C program that it should
1460 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1462 #undef I_NETINET_IN /**/ /* config-skip */
1465 * This symbol holds the type used for the second argument to
1466 * getgroups(). Usually, this is the same of gidtype, but
1467 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1468 * It may be necessary to include <sys/types.h> to get any
1469 * typedef'ed information. This is only required if you have
1472 #ifdef HAS_GETGROUPS
1473 #define Groups_t unsigned int /* Type for 2nd arg to getgroups() */ /* config-skip */
1477 * This symbol, if defined, indicates that <net/errno.h> exists and
1478 * should be included.
1480 #undef I_NET_ERRNO /**/ /* config-skip */
1482 #else /* VMS_DO_SOCKETS */
1484 #undef HAS_SOCKET /**/ /* config-skip */
1485 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1486 #undef HAS_GETHOSTENT /**/ /* config-skip */
1487 #undef I_NETINET_IN /**/ /* config-skip */
1488 #undef I_NET_ERRNO /**/ /* config-skip */
1490 #endif /* !VMS_DO_SOCKETS */