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: 8-Jun-1995 17:00
15 * Configured by: Charles Bailey bailey@genetics.upenn.edu
23 * This symbol contains the number of bytes required to align a
24 * double. Usual values are 2, 4 and 8.
26 #define MEM_ALIGNBYTES 8 /**/
29 * This symbol hold the hexadecimal constant defined in byteorder,
30 * i.e. 0x1234 or 0x4321, etc...
32 #define BYTEORDER 0x1234 /* large digits for MSB */
35 * This variable, if defined, holds the name of the directory in
36 * which the user wants to put architecture-dependent public
37 * library files for $package. It is most often a local directory
38 * such as /usr/local/lib. Programs using this variable must be
39 * prepared to deal with filename expansion. If ARCHLIB_EXP is the
40 * same as PRIVLIB_EXP, it is not defined, since presumably the
41 * program already searches PRIVLIB_EXP.
44 #define ARCHLIB_EXP "/perl_root/lib/VMS_AXP" /* config-skip */
46 #define ARCHLIB_EXP "/perl_root/lib/VMS_VAX" /* config-skip */
50 * This macro catenates 2 tokens together.
53 * This macro surrounds its token with double quotes.
56 #define CAT2(a,b) a##b /* config-skip */
57 #define CAT3(a,b,c) a##b##c /* config-skip */
58 #define CAT4(a,b,c,d) a##b##c##d /* config-skip */
59 #define CAT5(a,b,c,d,e) a##b##c##d##e /* config-skip */
60 #define STRINGIFY(a) #a /* config-skip */
62 #define CAT2(a,b) a/**/b /* config-skip */
63 #define CAT3(a,b,c) a/**/b/**/c /* config-skip */
64 #define CAT4(a,b,c,d) a/**/b/**/c/**/d /* config-skip */
65 #define CAT5(a,b,c,d,e) a/**/b/**/c/**/d/**/e /* config-skip */
66 #define STRINGIFY(a) "a" /* config-skip */
70 * This symbol contains the first part of the string which will invoke
71 * the C preprocessor on the standard input and produce to standard
72 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
73 * call a wrapper. See CPPRUN.
76 * This symbol contains the second part of the string which will invoke
77 * the C preprocessor on the standard input and produce to standard
78 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
79 * to specify standard input, otherwise the value is "".
81 #define CPPSTDIN "cc/noobj/preprocess=sys$output sys$input"
85 * This symbol is defined if the bcmp() routine is available to
86 * compare blocks of memory.
91 * This symbol is defined if the bcopy() routine is available to
92 * copy blocks of memory.
97 * This symbol is defined if the bzero() routine is available to
98 * set a memory block to 0.
100 #undef HAS_BZERO /**/
103 * This symbol is defined if the C compiler can cast negative
104 * numbers to unsigned longs, ints and shorts.
107 * This symbol contains flags that say what difficulties the compiler
108 * has casting odd floating values to unsigned long:
110 * 1 = couldn't cast < 0
111 * 2 = couldn't cast >= 0x80000000
113 #define CASTNEGFLOAT /**/
114 #define CASTFLAGS 0 /**/
117 * This symbol is defined if this system declares "char *sprintf()" in
118 * stdio.h. The trend seems to be to declare it as "int sprintf()". It
119 * is up to the package author to declare sprintf correctly based on the
122 #undef CHARSPRINTF /**/
125 * This symbol, if defined, indicates that the chsize routine is available
126 * to truncate files. You might need a -lx to get this routine.
128 #undef HAS_CHSIZE /**/
131 * This symbol, if defined, indicates that this C compiler knows about
132 * the const type. There is no need to actually test for that symbol
133 * within your programs. The mere use of the "const" keyword will
134 * trigger the necessary tests.
136 #define HASCONST /**/
142 * This symbol, if defined, indicates that the crypt routine is available
143 * to encrypt passwords and the like.
145 #undef HAS_CRYPT /**/
148 * This symbol, if defined, indicates that the C-shell exists.
149 * If defined, contains the full pathname of csh.
154 * This symbol, if defined, indicates that the dup2 routine is
155 * available to duplicate file descriptors.
157 #define HAS_DUP2 /**/
160 * This symbol, if defined, indicates that the fchmod routine is available
161 * to change mode of opened files. If unavailable, use chmod().
163 #undef HAS_FCHMOD /**/
166 * This symbol, if defined, indicates that the fchown routine is available
167 * to change ownership of opened files. If unavailable, use chown().
169 #undef HAS_FCHOWN /**/
172 * This symbol, if defined, indicates to the C program that
173 * the fcntl() function exists.
175 #undef HAS_FCNTL /**/
178 * This symbol, if defined, indicates that the fgetpos routine is
179 * available to get the file position indicator, similar to ftell().
181 #define HAS_FGETPOS /**/
184 * This symbol, if defined, indicates that the system supports filenames
185 * longer than 14 characters.
187 #define FLEXFILENAMES /**/
190 * This symbol, if defined, indicates that the flock routine is
191 * available to do file locking.
193 #undef HAS_FLOCK /**/
196 * This symbol, if defined, indicates that the fsetpos routine is
197 * available to set the file position indicator, similar to fseek().
199 #define HAS_FSETPOS /**/
202 * This symbol, if defined, indicates that the getgroups() routine is
203 * available to get the list of process groups. If unavailable, multiple
204 * groups are probably not supported.
206 #undef HAS_GETGROUPS /**/
209 * This symbol, if defined, indicates that the C program may use the
210 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
213 #undef HAS_UNAME /**/
216 * This symbol, if defined, indicates that the getpgrp routine is
217 * available to get the current process group.
219 #undef HAS_GETPGRP /**/
222 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
223 * routine is available to get the current process group.
225 #undef HAS_GETPGRP2 /**/
228 * This symbol, if defined, indicates that the getpriority routine is
229 * available to get a process's priority.
231 #undef HAS_GETPRIORITY /**/
234 * This symbol, if defined, indicates that the killpg routine is available
235 * to kill process groups. If unavailable, you probably should use kill
236 * with a negative process number.
238 #undef HAS_KILLPG /**/
241 * This symbol, if defined, indicates that the link routine is
242 * available to create hard links.
247 * This symbol, if defined, indicates that the lstat routine is
248 * available to do file stats on symbolic links.
250 #undef HAS_LSTAT /**/
253 * This symbol, if defined, indicates that the lockf routine is
254 * available to do file locking.
256 #undef HAS_LOCKF /**/
259 * This symbol, if defined, indicates that the mbstowcs routine is
260 * available to covert a multibyte string into a wide character string.
262 #undef HAS_MBSTOWCS /**/
265 * This symbol, if defined, indicates that the mbtowc routine is available
266 * to covert a multibyte to a wide character.
268 #undef HAS_MBTOWC /**/
271 * This symbol, if defined, indicates that the memcmp routine is available
272 * to compare blocks of memory.
274 #define HAS_MEMCMP /**/
277 * This symbol, if defined, indicates that the memcpy routine is available
278 * to copy blocks of memory.
280 #define HAS_MEMCPY /**/
283 * This symbol, if defined, indicates that the memmove routine is available
284 * to copy potentially overlapping blocks of memory. This should be used
285 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
288 #define HAS_MEMMOVE /**/
291 * This symbol, if defined, indicates that the memset routine is available
292 * to set blocks of memory.
294 #define HAS_MEMSET /**/
297 * This symbol, if defined, indicates that the mkdir routine is available
298 * to create directories. Otherwise you should fork off a new process to
301 #define HAS_MKDIR /**/
304 * This symbol, if defined, indicates that the entire msg*(2) library is
305 * supported (IPC mechanism based on message queues).
310 * This manifest constant lets the C program know that the three
311 * argument form of open(2) is available.
313 #define HAS_OPEN3 /**/
316 * This symbol, if defined, indicates that the readdir routine is
317 * available to read directory entries. You may have to include
318 * <dirent.h>. See I_DIRENT.
320 #define HAS_READDIR /**/
323 * This symbol, if defined, indicates that the seekdir routine is
324 * available. You may have to include <dirent.h>. See I_DIRENT.
326 #define HAS_SEEKDIR /**/
329 * This symbol, if defined, indicates that the telldir routine is
330 * available. You may have to include <dirent.h>. See I_DIRENT.
332 #define HAS_TELLDIR /**/
335 * This symbol, if defined, indicates that the rewinddir routine is
336 * available. You may have to include <dirent.h>. See I_DIRENT.
338 #define HAS_REWINDDIR /**/
341 * This symbol, if defined, indicates that the rename routine is available
342 * to rename files. Otherwise you should do the unlink(), link(), unlink()
345 #define HAS_RENAME /**/
348 * This symbol, if defined, indicates that the rmdir routine is
349 * available to remove directories. Otherwise you should fork off a
350 * new process to exec /bin/rmdir.
352 #define HAS_RMDIR /**/
355 * This symbol, if defined, indicates that the select routine is
356 * available to select active file descriptors. If the timeout field
357 * is used, <sys/time.h> may need to be included.
359 #undef HAS_SELECT /**/
362 * This symbol, if defined, indicates that the entire sem*(2) library is
368 * This symbol, if defined, indicates that the setegid routine is available
369 * to change the effective gid of the current program.
371 #undef HAS_SETEGID /**/
374 * This symbol, if defined, indicates that the seteuid routine is available
375 * to change the effective uid of the current program.
377 #undef HAS_SETEUID /**/
380 * This symbol, if defined, indicates that the setlocale routine is
381 * available to handle locale-specific ctype implementations.
383 #undef HAS_SETLOCALE /**/
386 * This symbol, if defined, indicates that the setpgid routine is
387 * available to set process group ID.
389 #undef HAS_SETPGID /**/
392 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
393 * routine is available to set the current process group.
395 #undef HAS_SETPGRP2 /**/
398 * This symbol, if defined, indicates that the setpriority routine is
399 * available to set a process's priority.
401 #undef HAS_SETPRIORITY /**/
404 * This symbol, if defined, indicates that the setregid routine is
405 * available to change the real and effective gid of the current
409 * This symbol, if defined, indicates that the setresgid routine is
410 * available to change the real, effective and saved gid of the current
413 #undef HAS_SETREGID /**/
414 #undef HAS_SETRESGID /**/
417 * This symbol, if defined, indicates that the setreuid routine is
418 * available to change the real and effective uid of the current
422 * This symbol, if defined, indicates that the setresuid routine is
423 * available to change the real, effective and saved uid of the current
426 #undef HAS_SETREUID /**/
427 #undef HAS_SETRESUID /**/
430 * This symbol, if defined, indicates that the setrgid routine is available
431 * to change the real gid of the current program.
433 #undef HAS_SETRGID /**/
436 * This symbol, if defined, indicates that the setruid routine is available
437 * to change the real uid of the current program.
439 #undef HAS_SETRUID /**/
442 * This symbol, if defined, indicates that the setsid routine is
443 * available to set the process group ID.
445 #undef HAS_SETSID /**/
448 * This symbol, if defined, indicates that the entire shm*(2) library is
454 * This symbol holds the return type of the shmat() system call.
455 * Usually set to 'void *' or 'char *'.
457 /* HAS_SHMAT_PROTOTYPE:
458 * This symbol, if defined, indicates that the sys/shm.h includes
459 * a prototype for shmat(). Otherwise, it is up to the program to
460 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
461 * but not always right so it should be emitted by the program only
462 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
464 #undef Shmat_t /**/ /* config-skip */
465 #undef HAS_SHMAT_PROTOTYPE /**/
468 * This symbol is defined if this system has a stat structure declaring
469 * st_blksize and st_blocks.
471 #undef USE_STAT_BLOCKS /**/
474 * This symbol is defined if the _ptr and _cnt fields (or similar)
475 * of the stdio FILE structure can be used to access the stdio buffer
476 * for a file handle. If this is defined, then the FILE_ptr(fp)
477 * and FILE_cnt(fp) macros will also be defined and should be used
478 * to access these fields.
481 * This symbol is defined if the _base field (or similar) of the
482 * stdio FILE structure can be used to access the stdio buffer for
483 * a file handle. If this is defined, then the FILE_base(fp) macro
484 * will also be defined and should be used to access this field.
485 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
486 * to determine the number of bytes in the buffer. USE_STDIO_BASE
487 * will never be defined unless USE_STDIO_PTR is.
490 * Regular FILE * are pretty close to meeting these criteria, but socket
491 * I/O uses a summy FILE *, and Perl doesn't distinguish between socket
492 * and non-socket filehandles. */
493 #undef USE_STDIO_PTR /**/
494 #undef USE_STDIO_BASE /**/
497 * This macro is used to access the _ptr 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.
502 * This symbol is defined if the FILE_ptr macro can be used as an
506 * This macro is used to access the _cnt field (or equivalent) of the
507 * FILE structure pointed to by its argument. This macro will always be
508 * defined if USE_STDIO_PTR is defined.
511 * This symbol is defined if the FILE_cnt macro can be used as an
515 #undef STDIO_PTR_LVALUE
517 #undef STDIO_CNT_LVALUE
520 * This macro is used to access the _base field (or equivalent) of the
521 * FILE structure pointed to by its argument. This macro will always be
522 * defined if USE_STDIO_BASE is defined.
525 * This macro is used to determine the number of bytes in the I/O
526 * buffer pointed to by _base field (or equivalent) of the FILE
527 * structure pointed to its argument. This macro will always be defined
528 * if USE_STDIO_BASE is defined.
534 * This symbol, if defined, indicates that this C compiler knows how
535 * to copy structures. If undefined, you'll need to use a block copy
536 * routine of some sort instead.
538 #define USE_STRUCT_COPY /**/
541 * This symbol, if defined, indicates that the strerror routine is
542 * available to translate error numbers to strings. See the writeup
543 * of Strerror() in this file before you try to define your own.
546 * This symbol, if defined, indicates that the sys_errlist array is
547 * available to translate error numbers to strings. The extern int
548 * sys_nerr gives the size of that table.
551 * This preprocessor symbol is defined as a macro if strerror() is
552 * not available to translate error numbers to strings but sys_errlist[]
555 #define HAS_STRERROR /**/
556 #undef HAS_SYS_ERRLIST /**/
558 # define Strerror(e) strerror((e),vaxc$errno)
560 #define Strerror(e) ((e)<0||(e)>=sys_nerr?"unknown":sys_errlist[e]) /**/ /* config-skip */
564 * This symbol, if defined, indicates that the symlink routine is available
565 * to create symbolic links.
567 #undef HAS_SYMLINK /**/
570 * This symbol, if defined, indicates that the syscall routine is
571 * available to call arbitrary system calls. If undefined, that's tough.
573 #undef HAS_SYSCALL /**/
576 * This symbol, if defined, indicates that the system routine is
577 * available to issue a shell command.
579 #define HAS_SYSTEM /**/
582 * This symbol holds the type returned by time(). It can be long,
583 * or time_t on BSD sites (in which case <sys/types.h> should be
586 #define Time_t time_t /* Time type */
589 * This symbol, if defined, indicates that the truncate routine is
590 * available to truncate files.
592 #undef HAS_TRUNCATE /**/
596 * This symbol, if defined, indicates that vfork() exists.
598 #define HAS_VFORK /**/
601 * This symbol's value is either "void" or "int", corresponding to the
602 * appropriate return type of a signal handler. Thus, you can declare
603 * a signal handler using "Signal_t (*handler)()", and define the
604 * handler using "Signal_t handler(sig)".
606 #define Signal_t void /* Signal handler's return type */
609 * This symbol, if defined, indicates that this C compiler knows about
610 * the volatile declaration.
612 #define HASVOLATILE /**/
614 #define volatile /* config-skip */
618 * This symbol, if defined, indicates that the vprintf routine is available
619 * to printf with a pointer to an argument list. If unavailable, you
620 * may need to write your own, probably in terms of _doprnt().
622 /* USE_CHAR_VSPRINTF:
623 * This symbol is defined if this system has vsprintf() returning type
624 * (char*). The trend seems to be to declare it as "int vsprintf()". It
625 * is up to the package author to declare vsprintf correctly based on the
628 #define HAS_VPRINTF /**/
629 #undef USE_CHAR_VSPRINTF /**/
632 * This symbol, if defined, indicates that wait4() exists.
634 #undef HAS_WAIT4 /**/
637 * This symbol, if defined, indicates that the waitpid routine is
638 * available to wait for child process.
640 #define HAS_WAITPID /**/
643 * This symbol, if defined, indicates that the wcstombs routine is
644 * available to convert wide character strings to multibyte strings.
646 #undef HAS_WCSTOMBS /**/
649 * This symbol, if defined, indicates to the C program that it should
650 * include <dirent.h>. Using this symbol also triggers the definition
651 * of the Direntry_t define which ends up being 'struct dirent' or
652 * 'struct direct' depending on the availability of <dirent.h>.
655 * This symbol, if defined, indicates to the C program that the length
656 * of directory entry names is provided by a d_namlen field. Otherwise
657 * you need to do strlen() on the d_name field.
660 #define DIRNAMLEN /**/
661 #define Direntry_t struct dirent
664 * This manifest constant tells the C program to include <fcntl.h>.
669 * This symbol, if defined, indicates to the C program that it should
675 * This symbol, if defined, indicates to the C program that it should
676 * include <limits.h> to get definition of symbols like WORD_BIT or
677 * LONG_MAX, i.e. machine dependant limitations.
682 * This symbol, if defined, indicates to the C program that it should
683 * include <memory.h>.
688 * This symbol, if defined, indicates that ndbm.h exists and should
694 * This symbol, if defined, indicates that <stdarg.h> exists and should
697 #define I_STDARG /**/
700 * This symbol, if defined, indicates to the C program that it should
704 * This symbol, if defined, indicates to the C program that struct passwd
708 * This symbol, if defined, indicates to the C program that struct passwd
712 * This symbol, if defined, indicates to the C program that struct passwd
713 * contains pw_change.
716 * This symbol, if defined, indicates to the C program that struct passwd
720 * This symbol, if defined, indicates to the C program that struct passwd
721 * contains pw_expire.
724 * This symbol, if defined, indicates to the C program that struct passwd
725 * contains pw_comment.
733 #define PWCOMMENT /**/
736 * This symbol, if defined, indicates that <stddef.h> exists and should
739 #define I_STDDEF /**/
742 * This symbol, if defined, indicates that <stdlib.h> exists and should
745 #define I_STDLIB /**/
748 * This symbol, if defined, indicates to the C program that it should
749 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
751 #define I_STRING /**/
754 * This symbol, if defined, indicates to the C program that it should
755 * include <sys/dir.h>.
757 #undef I_SYS_DIR /**/
760 * This symbol, if defined, indicates to the C program that it should
761 * include <sys/file.h> to get definition of R_OK and friends.
763 #undef I_SYS_FILE /**/
766 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
767 * be included. Otherwise, include <sgtty.h> or <termio.h>.
769 #undef I_SYS_IOCTL /**/
772 * This symbol, if defined, indicates that the ioctl() routine is
773 * available to set I/O characteristics
775 #undef HAS_IOCTL /**/
778 * This symbol, if defined, indicates to the C program that it should
779 * include <sys/ndir.h>.
781 #undef I_SYS_NDIR /**/
784 * This symbol, if defined, indicates to the C program that it should
785 * include <sys/select.h> in order to get definition of struct timeval.
787 #undef I_SYS_SELECT /**/
790 * This symbol, if defined, indicates to the C program that it should
791 * include <sys/stat.h>.
793 #define I_SYS_STAT /**/
796 * This symbol, if defined, indicates to the C program that it should
797 * include <sys/times.h>.
799 #undef I_SYS_TIMES /**/
802 * This symbol, if defined, indicates to the C program that it should
803 * include <sys/types.h>.
805 #define I_SYS_TYPES /**/
808 * This symbol, if defined, indicates that the program should include
809 * <termio.h> rather than <sgtty.h>. There are also differences in
810 * the ioctl() calls that depend on the value of this symbol.
813 * This symbol, if defined, indicates that the program should include
814 * the POSIX termios.h rather than sgtty.h or termio.h.
815 * There are also differences in the ioctl() calls that depend on the
816 * value of this symbol.
819 * This symbol, if defined, indicates that the program should include
820 * <sgtty.h> rather than <termio.h>. There are also differences in
821 * the ioctl() calls that depend on the value of this symbol.
825 #undef I_TERMIOS /**/
828 * This symbol, if defined, indicates to the C program that it should
832 * This symbol, if defined, indicates to the C program that it should
833 * include <sys/time.h>.
835 /* I_SYS_TIME_KERNEL:
836 * This symbol, if defined, indicates to the C program that it should
837 * include <sys/time.h> with KERNEL defined.
840 #undef I_SYS_TIME /**/
841 #undef I_SYS_TIME_KERNEL /**/
844 * This symbol, if defined, indicates to the C program that it should
845 * include <unistd.h>.
850 * This symbol, if defined, indicates to the C program that it should
856 * This symbol, if defined, indicates that the routine utime() is
857 * available to update the access and modification times of files.
859 #define HAS_UTIME /**/
862 * This symbol, if defined, indicates that <stdarg.h> exists and should
866 * This symbol, if defined, indicates to the C program that it should
867 * include <varargs.h>.
869 #define I_STDARG /**/
870 #undef I_VARARGS /**/
874 * This symbol, if defined, indicates to the C program that it should
880 * This symbol contains the size of an int, so that the C preprocessor
881 * can make decisions based on it.
883 #define INTSIZE 4 /**/
887 * If defined, this macro indicates that the C compiler can handle
888 * function prototypes.
891 * This macro is used to declare function parameters for folks who want
892 * to make declarations with prototypes using a different style than
893 * the above macros. Use double parentheses. For example:
895 * int main _((int argc, char *argv[]));
897 #define CAN_PROTOTYPE /**/
899 #define _(args) args /* config-skip */
901 #define _(args) () /* config-skip */
905 * This symbol contains the number of bits of random number the rand()
906 * function produces. Usual values are 15, 16, and 31.
908 #define RANDBITS 31 /**/
912 * This symbol holds the type used for the 2nd, 3rd, and 4th
913 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
914 * is defined, and 'int *' otherwise. This is only useful if you
915 * have select(), of course.
917 #define Select_fd_set_t fd_set * /**/
920 * This symbol is defined to be the type of char used in stdio.h.
921 * It has the values "unsigned char" or "char".
923 #define STDCHAR char /**/
926 * This symbol indicates how much support of the void type is given by this
927 * compiler. What various bits mean:
929 * 1 = supports declaration of void
930 * 2 = supports arrays of pointers to functions returning void
931 * 4 = supports comparisons between pointers to void functions and
932 * addresses of void functions
933 * 8 = suports declaration of generic void pointers
935 * The package designer should define VOIDUSED to indicate the requirements
936 * of the package. This can be done either by #defining VOIDUSED before
937 * including config.h, or by defining defvoidused in Myinit.U. If the
938 * latter approach is taken, only those flags will be tested. If the
939 * level of void support necessary is not present, defines void to int.
945 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
946 #define void int /* is void to be avoided? */ /* config-skip */
947 #define M_VOID /* Xenix strikes again */ /* config-skip */
950 /* UNLINK_ALL_VERSIONS:
951 * This symbol, if defined, indicates that the program should arrange
952 * to remove all versions of a file if unlink() is called.
954 #undef UNLINK_ALL_VERSIONS /**/
957 * This symbol, if defined, indicates that the program is running under
958 * VMS. It's a symbol automagically defined by all VMS C compilers I've seen.
959 * Just in case, however . . . */
965 * This symbol holds the complete pathname to the sed program.
967 #define LOC_SED "_NLA0:" /**/
970 * This symbol holds the path of the bin directory where the package will
971 * be installed. Program must be prepared to deal with ~name substitution.
973 #define BIN "/perl_root/000000" /**/
976 * This symbol, if defined, indicates that the alarm routine is
979 #define HAS_ALARM /**/
982 * This symbol is defined if the C compiler can cast negative
983 * or large floating point numbers to 32-bit ints.
988 * This symbol, if defined, indicates that the chown routine is
991 #define HAS_CHOWN /**/
994 * This symbol, if defined, indicates that the chroot routine is
997 #undef HAS_CHROOT /**/
1000 * This symbol, if defined, indicates that the cuserid routine is
1001 * available to get character login names.
1003 #define HAS_CUSERID /**/
1006 * This symbol, if defined, indicates that this system's <float.h>
1007 * or <limits.h> defines the symbol DBL_DIG, which is the number
1008 * of significant digits in a double precision number. If this
1009 * symbol is not defined, a guess of 15 is usually pretty good.
1011 #define HAS_DBL_DIG /* */
1014 * This symbol, if defined, indicates that the difftime routine is
1017 #define HAS_DIFFTIME /**/
1020 * This symbol, if defined, indicates that the fork routine is
1023 /* VMS: In vmsish.h, fork is #defined to vfork. This kludge gets around
1024 * some obsolete code in pp.c, which should be fixed in its own right
1025 * sometime. - C. Bailey 26-Aug-1994
1027 #define HAS_FORK /**/
1030 * This symbol, if defined, indicates that the getlogin routine is
1033 #undef HAS_GETLOGIN /**/
1036 * This symbol, if defined, indicates that the getppid routine is
1039 #undef HAS_GETPPID /**/
1042 * This symbol, if defined, indicates that the getgrent routine is
1045 #undef HAS_GETGRENT /**/
1048 * This symbol, if defined, indicates that the htonl() routine (and
1049 * friends htons() ntohl() ntohs()) are available to do network
1050 * order byte swapping.
1053 * This symbol, if defined, indicates that the htons() routine (and
1054 * friends htonl() ntohl() ntohs()) are available to do network
1055 * order byte swapping.
1058 * This symbol, if defined, indicates that the ntohl() routine (and
1059 * friends htonl() htons() ntohs()) are available to do network
1060 * order byte swapping.
1063 * This symbol, if defined, indicates that the ntohs() routine (and
1064 * friends htonl() htons() ntohl()) are available to do network
1065 * order byte swapping.
1067 #define HAS_HTONL /**/
1068 #define HAS_HTONS /**/
1069 #define HAS_NTOHL /**/
1070 #define HAS_NTOHS /**/
1073 * This symbol, if defined, indicates that the mblen routine is available
1074 * to find the number of bytes in a multibye character.
1076 #undef HAS_MBLEN /**/
1079 * This symbol, if defined, indicates that the mktime routine is
1082 #undef HAS_MKTIME /**/
1085 * This symbol, if defined, indicates that the nice routine is
1088 #define HAS_NICE /**/
1091 * This symbol, if defined, indicates that the getpwnam(),
1092 * getpwuid(), and getpwent() routines are available to
1093 * get password entries.
1095 #define HAS_PASSWD /**/
1098 * This symbol, if defined, indicates that the pause routine is
1101 #define HAS_PAUSE /**/
1104 * This symbol, if defined, indicates that the pipe routine is
1107 #define HAS_PIPE /**/
1110 * This symbol, if defined, indicates that the readlink routine is
1113 #undef HAS_READLINK /**/
1116 * This symbol, if defined, indicates that the setlinebuf routine is
1117 * available to change stderr or stdout from block-buffered or unbuffered
1118 * to a line-buffered mode.
1120 #undef HAS_SETLINEBUF /**/
1123 * This symbol is defined to indicate that the strchr()/strrchr()
1124 * functions are available for string searching. If not, try the
1125 * index()/rindex() pair.
1128 * This symbol is defined to indicate that the index()/rindex()
1129 * functions are available for string searching.
1131 #define HAS_STRCHR /**/
1132 #undef HAS_INDEX /**/
1135 * This symbol, if defined, indicates that the strcoll routine is
1136 * available to compare strings using collating information.
1138 #undef HAS_STRCOLL /**/
1141 * This symbol, if defined, indicates that the strxfrm() routine is
1142 * available to compare strings using collating information.
1144 #undef HAS_STRXFRM /**/
1147 * This symbol, if defined, indicates that the tcgetpgrp routine is
1148 * available to get foreground process group ID.
1150 #undef HAS_TCGETPGRP /**/
1153 * This symbol, if defined, indicates that the tcsetpgrp routine is
1154 * available to set foreground process group ID.
1156 #undef HAS_TCSETPGRP /**/
1159 * This symbol, if defined, indicates that the times() routine exists.
1160 * Note that this became obsolete on some systems (SUNOS), which now
1161 * use getrusage(). It may be necessary to include <sys/times.h>.
1163 #define HAS_TIMES /**/
1166 * This symbol, if defined, indicates that the tzname[] array is
1167 * available to access timezone names.
1169 #undef HAS_TZNAME /**/
1172 * This symbol, if defined, indicates that the umask routine is
1173 * available to get the file creation mask.
1175 #define HAS_UMASK /**/
1178 * This symbol is defined if this system declares "void (*signal(...))()" in
1179 * signal.h. The old way was to declare it as "int (*signal(...))()". It
1180 * is up to the package author to declare things correctly based on the
1183 #define VOIDSIG /**/
1186 * This symbol, if defined, indicates that the wctomb routine is available
1187 * to covert a wide character to a multibyte.
1189 #undef HAS_WCTOMB /**/
1192 * This symbol holds the type used to declare file positions in libc.
1193 * It can be fpos_t, long, uint, etc... It may be necessary to include
1194 * <sys/types.h> to get any typedef'ed information.
1196 #define Fpos_t fpos_t /* File position type */
1199 * This symbol holds the return type of getgid() and the type of
1200 * argument to setrgid() and related functions. Typically,
1201 * it is the type of group ids in the kernel.
1202 * It can be int, ushort, uid_t, etc... It may be necessary to include
1203 * <sys/types.h> to get any typedef'ed information.
1205 #define Gid_t unsigned int /* Type for getgid(), etc... */
1208 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1214 * This symbol, if defined, indicates to the C program that it should
1215 * include <float.h> to get definition of symbols like DBL_MAX or
1216 * DBL_MIN, i.e. machine dependent floating point values.
1218 #define I_FLOAT /**/
1221 * This symbol, if defined, indicates to the C program that it should
1227 * This symbol, if defined, indicates to the C program that it should
1228 * include <sys/stat.h>.
1230 #define I_SYS_STAT /**/
1234 * This symbol holds the type used to declare offsets in the kernel.
1235 * It can be int, long, off_t, etc... It may be necessary to include
1236 * <sys/types.h> to get any typedef'ed information.
1238 #define Off_t int /* <offset> type */
1240 * This symbol is the type of pointer returned by malloc and realloc.
1242 #define Malloc_t void * /**/
1245 * This symbol, if defined, indicates that we're using our own malloc.
1247 #undef MYMALLOC /**/
1250 * This symbol holds the type used to declare file modes
1251 * for systems calls. It is usually mode_t, but may be
1252 * int or unsigned short. It may be necessary to include <sys/types.h>
1253 * to get any typedef'ed information.
1255 #define Mode_t unsigned int /* file mode parameter for system calls*/
1258 * This symbol holds the type used by functions that return
1259 * a count of bytes or an error condition. It must be a signed type.
1260 * It is usually ssize_t, but may be long or int, etc.
1261 * It may be necessary to include <sys/types.h> or <unistd.h>
1262 * to get any typedef'ed information.
1263 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1265 #define SSize_t int /* signed count of bytes */
1269 * This symbol contains the name of the private library for this package.
1270 * The library is private in the sense that it needn't be in anyone's
1271 * execution path, but it should be accessible by the world. The program
1272 * should be prepared to do ~ expansion.
1274 #define PRIVLIB_EXP "/perl_root/lib" /**/
1277 * This symbol holds the name of the directory in which the user wants
1278 * to put publicly executable scripts for the package in question. It
1279 * is often a directory that is mounted across diverse architectures.
1280 * Programs must be prepared to deal with ~name expansion.
1282 #define SCRIPTDIR "/perl_root/script" /**/
1285 * This symbol contains a list of signal names in order. This is intended
1286 * to be used as a static array initialization, like this:
1287 * char *sig_name[] = { SIG_NAME };
1288 * The signals in the list are separated with commas, and each signal
1289 * is surrounded by double quotes. There is no leading SIG in the signal
1290 * name, i.e. SIGQUIT is known as "QUIT".
1292 #define SIG_NAME "HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE","KILL",\
1293 "BUS","SEGV","SYS","PIPE","ALRM","TERM"
1296 * This symbol holds the type used to declare length parameters
1297 * for string functions. It is usually size_t, but may be
1298 * unsigned long, int, etc. It may be necessary to include
1299 * <sys/types.h> to get any typedef'ed information.
1301 #define Size_t size_t /* length paramater for string functions */
1304 * This symbol holds the type used to declare user ids in the kernel.
1305 * It can be int, ushort, uid_t, etc... It may be necessary to include
1306 * <sys/types.h> to get any typedef'ed information.
1308 #define Uid_t unsigned int /* UID type */
1311 * This symbol, if defined, indicates to the C program that it should
1312 * include <sys/param.h>.
1316 /* GNUC_ATTRIBUTE_CHECK:
1317 * This symbol indicates the C compiler can check for function attributes,
1318 * such as printf formats.
1320 /* VMS: true for gcc, undef for VAXC/DECC. This is handled in Descrip.MMS
1321 * C. Bailey 26-Aug-1994
1323 /*#define GNUC_ATTRIBUTE_CHECK */
1326 * This symbol, if defined, indicates that the closedir() routine
1327 * does not return a value.
1329 #define VOID_CLOSEDIR /**/
1332 * This symbol, if defined, indicates that the dlerror routine is
1335 #undef HAS_DLERROR /**/
1337 /* DLSYM_NEEDS_UNDERSCORE:
1338 * This symbol, if defined, indicates that we need to prepend an
1339 * underscore to the symbol name before calling dlsym(). This only
1340 * makes sense if you *have* dlsym, which we will presume is the
1341 * case if you're using dl_dlopen.xs.
1343 #undef DLSYM_NEEDS_UNDERSCORE /* */
1345 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1346 * This symbol, if defined, indicates that setuid scripts are secure.
1349 * This symbol, if defined, indicates that the C program should
1350 * check the script that it is executing for setuid/setgid bits, and
1351 * attempt to emulate setuid/setgid on systems that have disabled
1352 * setuid #! scripts because the kernel can't do it securely.
1353 * It is up to the package designer to make sure that this emulation
1354 * is done securely. Among other things, it should do an fstat on
1355 * the script it just opened to make sure it really is a setuid/setgid
1356 * script, it should make sure the arguments passed correspond exactly
1357 * to the argument on the #! line, and it should not trust any
1358 * subprocesses to which it must pass the filename rather than the
1359 * file descriptor of the script to be executed.
1361 #undef SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1365 * This preprocessor macro is defined to convert a floating point
1366 * number to a string without a trailing decimal point. This
1367 * emulates the behavior of sprintf("%g"), but is sometimes much more
1368 * efficient. If gconvert() is not available, but gcvt() drops the
1369 * trailing decimal point, then gcvt() is used. If all else fails,
1370 * a macro using sprintf("%g") is used.
1372 #define Gconvert(x,n,t,b) my_gconvert(x,n,t,b)
1375 * This manifest constant lets the C program know that the
1376 * isascii is available.
1378 #define HAS_ISASCII /**/
1381 * This symbol is defined if this system has a FILE structure declaring
1382 * _IO_read_base, _IO_read_ptr, and _IO_read_end in stdio.h.
1384 #undef USE_LINUX_STDIO /**/
1387 * This symbol, if defined, indicates that the localeconv routine is
1388 * available for numeric and monetary formatting conventions.
1390 #undef HAS_LOCALECONV /**/
1393 * This symbol, if defined, indicates that the mkfifo routine is
1396 #undef HAS_MKFIFO /**/
1399 * This symbol, if defined, indicates that pathconf() is available
1400 * to determine file-system related limits and options associated
1401 * with a given filename.
1404 * This symbol, if defined, indicates that pathconf() is available
1405 * to determine file-system related limits and options associated
1406 * with a given open file descriptor.
1408 #undef HAS_PATHCONF /**/
1409 #undef HAS_FPATHCONF /**/
1412 * This symbol, if defined, indicates that the bcopy routine is available
1413 * to copy potentially overlapping memory blocks. Otherwise you should
1414 * probably use memmove() or memcpy(). If neither is defined, roll your
1417 #undef HAS_SAFE_BCOPY /**/
1420 * This symbol, if defined, indicates that the memcpy routine is available
1421 * to copy potentially overlapping memory blocks. Otherwise you should
1422 * probably use memmove() or memcpy(). If neither is defined, roll your
1425 #define HAS_SAFE_MEMCPY /**/
1428 * This symbol, if defined, indicates that the setpgrp routine is
1429 * available to set the current process group.
1432 * This symbol, if defined, indicates that the BSD notion of process
1433 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1434 * instead of the USG setpgrp().
1436 #undef HAS_SETPGRP /**/
1437 #undef USE_BSDPGRP /**/
1440 * This symbol, if defined, indicates that sysconf() is available
1441 * to determine system related limits and options.
1443 #undef HAS_SYSCONF /**/
1445 /* USE_DYNAMIC_LOADING:
1446 * This symbol, if defined, indicates that dynamic loading of
1447 * some sort is available.
1449 #define USE_DYNAMIC_LOADING /**/
1451 #ifdef VMS_DO_SOCKETS
1453 * This symbol, if defined, indicates that the BSD socket interface is
1457 * This symbol, if defined, indicates that the BSD socketpair() call is
1460 #define HAS_SOCKET /**/ /* config-skip */
1461 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1464 * This symbol, if defined, indicates that the gethostent routine is
1465 * available to lookup host names in some data base or other.
1467 #define HAS_GETHOSTENT /**/ /* config-skip */
1469 /* VMS: In general, TCP/IP header files should be included from
1470 * sockadapt.h, instead of here, in order to keep the TCP/IP code
1471 * together as much as possible.
1474 * This symbol, if defined, indicates to the C program that it should
1475 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1477 #undef I_NETINET_IN /**/ /* config-skip */
1480 * This symbol holds the type used for the second argument to
1481 * getgroups(). Usually, this is the same of gidtype, but
1482 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1483 * It may be necessary to include <sys/types.h> to get any
1484 * typedef'ed information. This is only required if you have
1487 #ifdef HAS_GETGROUPS
1488 #define Groups_t unsigned int /* Type for 2nd arg to getgroups() */ /* config-skip */
1492 * This symbol, if defined, indicates that <net/errno.h> exists and
1493 * should be included.
1495 #undef I_NET_ERRNO /**/ /* config-skip */
1497 #else /* VMS_DO_SOCKETS */
1499 #undef HAS_SOCKET /**/ /* config-skip */
1500 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1501 #undef HAS_GETHOSTENT /**/ /* config-skip */
1502 #undef I_NETINET_IN /**/ /* config-skip */
1503 #undef I_NET_ERRNO /**/ /* config-skip */
1505 #endif /* !VMS_DO_SOCKETS */