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: 12-Oct-1994 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 is the
39 * same as PRIVLIB, it is not defined, since presumably the
40 * program already searches PRIVLIB.
45 * This macro catenates 2 tokens together.
48 * This macro surrounds its token with double quotes.
51 #define CAT2(a,b) a##b /* config-skip */
52 #define CAT3(a,b,c) a##b##c /* config-skip */
53 #define CAT4(a,b,c,d) a##b##c##d /* config-skip */
54 #define CAT5(a,b,c,d,e) a##b##c##d##e /* config-skip */
55 #define STRINGIFY(a) #a /* config-skip */
57 #define CAT2(a,b) a/**/b /* config-skip */
58 #define CAT3(a,b,c) a/**/b/**/c /* config-skip */
59 #define CAT4(a,b,c,d) a/**/b/**/c/**/d /* config-skip */
60 #define CAT5(a,b,c,d,e) a/**/b/**/c/**/d/**/e /* config-skip */
61 #define STRINGIFY(a) "a" /* config-skip */
65 * This symbol contains the first part of the string which will invoke
66 * the C preprocessor on the standard input and produce to standard
67 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
68 * call a wrapper. See CPPRUN.
71 * This symbol contains the second part of the string which will invoke
72 * the C preprocessor on the standard input and produce to standard
73 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
74 * to specify standard input, otherwise the value is "".
76 #define CPPSTDIN "cc/noobj/preprocess=sys$output sys$input"
80 * This symbol is defined if the bcmp() routine is available to
81 * compare blocks of memory.
86 * This symbol is defined if the bcopy() routine is available to
87 * copy blocks of memory.
92 * This symbol is defined if the bzero() routine is available to
93 * set a memory block to 0.
98 * This symbol is defined if the C compiler can cast negative
99 * numbers to unsigned longs, ints and shorts.
102 * This symbol contains flags that say what difficulties the compiler
103 * has casting odd floating values to unsigned long:
105 * 1 = couldn't cast < 0
106 * 2 = couldn't cast >= 0x80000000
108 #define CASTNEGFLOAT /**/
109 #define CASTFLAGS 0 /**/
112 * This symbol is defined if this system declares "char *sprintf()" in
113 * stdio.h. The trend seems to be to declare it as "int sprintf()". It
114 * is up to the package author to declare sprintf correctly based on the
117 #undef CHARSPRINTF /**/
120 * This symbol, if defined, indicates that the chsize routine is available
121 * to truncate files. You might need a -lx to get this routine.
123 #undef HAS_CHSIZE /**/
126 * This symbol, if defined, indicates that this C compiler knows about
127 * the const type. There is no need to actually test for that symbol
128 * within your programs. The mere use of the "const" keyword will
129 * trigger the necessary tests.
131 #define HASCONST /**/
137 * This symbol, if defined, indicates that the crypt routine is available
138 * to encrypt passwords and the like.
140 #undef HAS_CRYPT /**/
143 * This symbol, if defined, indicates that the C-shell exists.
144 * If defined, contains the full pathname of csh.
149 * This symbol, if defined, indicates that the dup2 routine is
150 * available to duplicate file descriptors.
152 #define HAS_DUP2 /**/
155 * This symbol, if defined, indicates that the fchmod routine is available
156 * to change mode of opened files. If unavailable, use chmod().
158 #undef HAS_FCHMOD /**/
161 * This symbol, if defined, indicates that the fchown routine is available
162 * to change ownership of opened files. If unavailable, use chown().
164 #undef HAS_FCHOWN /**/
167 * This symbol, if defined, indicates to the C program that
168 * the fcntl() function exists.
170 #undef HAS_FCNTL /**/
173 * This symbol, if defined, indicates that the fgetpos routine is
174 * available to get the file position indicator, similar to ftell().
176 #define HAS_FGETPOS /**/
179 * This symbol, if defined, indicates that the system supports filenames
180 * longer than 14 characters.
182 #define FLEXFILENAMES /**/
185 * This symbol, if defined, indicates that the flock routine is
186 * available to do file locking.
188 #undef HAS_FLOCK /**/
191 * This symbol, if defined, indicates that the fsetpos routine is
192 * available to set the file position indicator, similar to fseek().
194 #define HAS_FSETPOS /**/
197 * This symbol, if defined, indicates that the getgroups() routine is
198 * available to get the list of process groups. If unavailable, multiple
199 * groups are probably not supported.
201 #undef HAS_GETGROUPS /**/
204 * This symbol, if defined, indicates that the C program may use the
205 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
208 #undef HAS_UNAME /**/
211 * This symbol, if defined, indicates that the getpgrp routine is
212 * available to get the current process group.
214 #undef HAS_GETPGRP /**/
217 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
218 * routine is available to get the current process group.
220 #undef HAS_GETPGRP2 /**/
223 * This symbol, if defined, indicates that the getpriority routine is
224 * available to get a process's priority.
226 #undef HAS_GETPRIORITY /**/
229 * This symbol, if defined, indicates that the killpg routine is available
230 * to kill process groups. If unavailable, you probably should use kill
231 * with a negative process number.
233 #undef HAS_KILLPG /**/
236 * This symbol, if defined, indicates that the link routine is
237 * available to create hard links.
242 * This symbol, if defined, indicates that the lstat routine is
243 * available to do file stats on symbolic links.
245 #undef HAS_LSTAT /**/
248 * This symbol, if defined, indicates that the lockf routine is
249 * available to do file locking.
251 #undef HAS_LOCKF /**/
254 * This symbol, if defined, indicates that the mbstowcs routine is
255 * available to covert a multibyte string into a wide character string.
257 #undef HAS_MBSTOWCS /**/
260 * This symbol, if defined, indicates that the mbtowc routine is available
261 * to covert a multibyte to a wide character.
263 #undef HAS_MBTOWC /**/
266 * This symbol, if defined, indicates that the memcmp routine is available
267 * to compare blocks of memory.
269 #define HAS_MEMCMP /**/
272 * This symbol, if defined, indicates that the memcpy routine is available
273 * to copy blocks of memory.
275 #define HAS_MEMCPY /**/
278 * This symbol, if defined, indicates that the memmove routine is available
279 * to copy potentially overlapping blocks of memory. This should be used
280 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
283 #define HAS_MEMMOVE /**/
286 * This symbol, if defined, indicates that the memset routine is available
287 * to set blocks of memory.
289 #define HAS_MEMSET /**/
292 * This symbol, if defined, indicates that the mkdir routine is available
293 * to create directories. Otherwise you should fork off a new process to
296 #define HAS_MKDIR /**/
299 * This symbol, if defined, indicates that the entire msg*(2) library is
300 * supported (IPC mechanism based on message queues).
305 * This manifest constant lets the C program know that the three
306 * argument form of open(2) is available.
308 #define HAS_OPEN3 /**/
311 * This symbol, if defined, indicates that the readdir routine is
312 * available to read directory entries. You may have to include
313 * <dirent.h>. See I_DIRENT.
315 #define HAS_READDIR /**/
318 * This symbol, if defined, indicates that the seekdir routine is
319 * available. You may have to include <dirent.h>. See I_DIRENT.
321 #define HAS_SEEKDIR /**/
324 * This symbol, if defined, indicates that the telldir routine is
325 * available. You may have to include <dirent.h>. See I_DIRENT.
327 #define HAS_TELLDIR /**/
330 * This symbol, if defined, indicates that the rewinddir routine is
331 * available. You may have to include <dirent.h>. See I_DIRENT.
333 #define HAS_REWINDDIR /**/
336 * This symbol, if defined, indicates that the rename routine is available
337 * to rename files. Otherwise you should do the unlink(), link(), unlink()
340 #define HAS_RENAME /**/
343 * This symbol, if defined, indicates that the rmdir routine is
344 * available to remove directories. Otherwise you should fork off a
345 * new process to exec /bin/rmdir.
347 #define HAS_RMDIR /**/
350 * This symbol, if defined, indicates that the select routine is
351 * available to select active file descriptors. If the timeout field
352 * is used, <sys/time.h> may need to be included.
354 #undef HAS_SELECT /**/
357 * This symbol, if defined, indicates that the entire sem*(2) library is
363 * This symbol, if defined, indicates that the setegid routine is available
364 * to change the effective gid of the current program.
366 #undef HAS_SETEGID /**/
369 * This symbol, if defined, indicates that the seteuid routine is available
370 * to change the effective uid of the current program.
372 #undef HAS_SETEUID /**/
375 * This symbol, if defined, indicates that the setlocale routine is
376 * available to handle locale-specific ctype implementations.
378 #undef HAS_SETLOCALE /**/
381 * This symbol, if defined, indicates that the setpgid routine is
382 * available to set process group ID.
384 #undef HAS_SETPGID /**/
387 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
388 * routine is available to set the current process group.
390 #undef HAS_SETPGRP2 /**/
393 * This symbol, if defined, indicates that the setpriority routine is
394 * available to set a process's priority.
396 #undef HAS_SETPRIORITY /**/
399 * This symbol, if defined, indicates that the setregid routine is
400 * available to change the real and effective gid of the current
404 * This symbol, if defined, indicates that the setresgid routine is
405 * available to change the real, effective and saved gid of the current
408 #undef HAS_SETREGID /**/
409 #undef HAS_SETRESGID /**/
412 * This symbol, if defined, indicates that the setreuid routine is
413 * available to change the real and effective uid of the current
417 * This symbol, if defined, indicates that the setresuid routine is
418 * available to change the real, effective and saved uid of the current
421 #undef HAS_SETREUID /**/
422 #undef HAS_SETRESUID /**/
425 * This symbol, if defined, indicates that the setrgid routine is available
426 * to change the real gid of the current program.
428 #undef HAS_SETRGID /**/
431 * This symbol, if defined, indicates that the setruid routine is available
432 * to change the real uid of the current program.
434 #undef HAS_SETRUID /**/
437 * This symbol, if defined, indicates that the setsid routine is
438 * available to set the process group ID.
440 #undef HAS_SETSID /**/
443 * This symbol, if defined, indicates that the entire shm*(2) library is
449 * This symbol holds the return type of the shmat() system call.
450 * Usually set to 'void *' or 'char *'.
452 /* HAS_SHMAT_PROTOTYPE:
453 * This symbol, if defined, indicates that the sys/shm.h includes
454 * a prototype for shmat(). Otherwise, it is up to the program to
455 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
456 * but not always right so it should be emitted by the program only
457 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
459 #undef Shmat_t char * /**/ /* config-skip */
460 #undef HAS_SHMAT_PROTOTYPE /**/
463 * This symbol is defined if this system has a stat structure declaring
464 * st_blksize and st_blocks.
466 #undef USE_STAT_BLOCKS /**/
469 * This symbol is defined if this system has a FILE structure declaring
470 * _ptr and _cnt in stdio.h.
472 #undef USE_STD_STDIO /**/
475 * This symbol, if defined, indicates that this C compiler knows how
476 * to copy structures. If undefined, you'll need to use a block copy
477 * routine of some sort instead.
479 #define USE_STRUCT_COPY /**/
482 * This symbol, if defined, indicates that the strerror routine is
483 * available to translate error numbers to strings. See the writeup
484 * of Strerror() in this file before you try to define your own.
487 * This symbol, if defined, indicates that the sys_errlist array is
488 * available to translate error numbers to strings. The extern int
489 * sys_nerr gives the size of that table.
492 * This preprocessor symbol is defined as a macro if strerror() is
493 * not available to translate error numbers to strings but sys_errlist[]
496 #define HAS_STRERROR /**/
497 #undef HAS_SYS_ERRLIST /**/
499 # define Strerror(e) strerror((e),vaxc$errno)
501 #define Strerror(e) ((e)<0||(e)>=sys_nerr?"unknown":sys_errlist[e]) /**/ /* config-skip */
505 * This symbol, if defined, indicates that the symlink routine is available
506 * to create symbolic links.
508 #undef HAS_SYMLINK /**/
511 * This symbol, if defined, indicates that the syscall routine is
512 * available to call arbitrary system calls. If undefined, that's tough.
514 #undef HAS_SYSCALL /**/
517 * This symbol, if defined, indicates that the system routine is
518 * available to issue a shell command.
520 #define HAS_SYSTEM /**/
523 * This symbol holds the type returned by time(). It can be long,
524 * or time_t on BSD sites (in which case <sys/types.h> should be
527 #define Time_t time_t /* Time type */
530 * This symbol, if defined, indicates that the truncate routine is
531 * available to truncate files.
533 #undef HAS_TRUNCATE /**/
537 * This symbol, if defined, indicates that vfork() exists.
539 #define HAS_VFORK /**/
542 * This symbol, if defined, indicates that this C compiler knows about
543 * the volatile declaration.
545 #define HASVOLATILE /**/
547 #define volatile /* config-skip */
551 * This symbol, if defined, indicates that the vprintf routine is available
552 * to printf with a pointer to an argument list. If unavailable, you
553 * may need to write your own, probably in terms of _doprnt().
555 /* USE_CHAR_VSPRINTF:
556 * This symbol is defined if this system has vsprintf() returning type
557 * (char*). The trend seems to be to declare it as "int vsprintf()". It
558 * is up to the package author to declare vsprintf correctly based on the
561 #define HAS_VPRINTF /**/
562 #undef USE_CHAR_VSPRINTF /**/
565 * This symbol, if defined, indicates that wait4() exists.
567 #undef HAS_WAIT4 /**/
570 * This symbol, if defined, indicates that the waitpid routine is
571 * available to wait for child process.
573 #undef HAS_WAITPID /**/
576 * This symbol, if defined, indicates that the wcstombs routine is
577 * available to convert wide character strings to multibyte strings.
579 #undef HAS_WCSTOMBS /**/
582 * This symbol, if defined, indicates to the C program that it should
583 * include <dirent.h>. Using this symbol also triggers the definition
584 * of the Direntry_t define which ends up being 'struct dirent' or
585 * 'struct direct' depending on the availability of <dirent.h>.
588 * This symbol, if defined, indicates to the C program that the length
589 * of directory entry names is provided by a d_namlen field. Otherwise
590 * you need to do strlen() on the d_name field.
593 #define DIRNAMLEN /**/
594 #define Direntry_t struct dirent
597 * This manifest constant tells the C program to include <fcntl.h>.
602 * This symbol, if defined, indicates to the C program that it should
608 * This symbol, if defined, indicates to the C program that it should
609 * include <limits.h> to get definition of symbols like WORD_BIT or
610 * LONG_MAX, i.e. machine dependant limitations.
615 * This symbol, if defined, indicates to the C program that it should
616 * include <memory.h>.
621 * This symbol, if defined, indicates that ndbm.h exists and should
627 * This symbol, if defined, indicates that <stdarg.h> exists and should
630 #define I_STDARG /**/
633 * This symbol, if defined, indicates to the C program that it should
637 * This symbol, if defined, indicates to the C program that struct passwd
641 * This symbol, if defined, indicates to the C program that struct passwd
645 * This symbol, if defined, indicates to the C program that struct passwd
646 * contains pw_change.
649 * This symbol, if defined, indicates to the C program that struct passwd
653 * This symbol, if defined, indicates to the C program that struct passwd
654 * contains pw_expire.
657 * This symbol, if defined, indicates to the C program that struct passwd
658 * contains pw_comment.
666 #undef PWCOMMENT /**/
669 * This symbol, if defined, indicates that <stddef.h> exists and should
672 #define I_STDDEF /**/
675 * This symbol, if defined, indicates that <stdlib.h> exists and should
678 #define I_STDLIB /**/
681 * This symbol, if defined, indicates to the C program that it should
682 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
684 #define I_STRING /**/
687 * This symbol, if defined, indicates to the C program that it should
688 * include <sys/dir.h>.
690 #undef I_SYS_DIR /**/
693 * This symbol, if defined, indicates to the C program that it should
694 * include <sys/file.h> to get definition of R_OK and friends.
696 #undef I_SYS_FILE /**/
699 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
700 * be included. Otherwise, include <sgtty.h> or <termio.h>.
702 #undef I_SYS_IOCTL /**/
705 * This symbol, if defined, indicates that the ioctl() routine is
706 * available to set I/O characteristics
708 #undef HAS_IOCTL /**/
711 * This symbol, if defined, indicates to the C program that it should
712 * include <sys/ndir.h>.
714 #undef I_SYS_NDIR /**/
717 * This symbol, if defined, indicates to the C program that it should
718 * include <sys/select.h> in order to get definition of struct timeval.
720 #undef I_SYS_SELECT /**/
724 * This symbol, if defined, indicates to the C program that it should
725 * include <sys/times.h>.
727 #undef I_SYS_TIMES /**/
730 * This symbol, if defined, indicates that the program should include
731 * <termio.h> rather than <sgtty.h>. There are also differences in
732 * the ioctl() calls that depend on the value of this symbol.
735 * This symbol, if defined, indicates that the program should include
736 * the POSIX termios.h rather than sgtty.h or termio.h.
737 * There are also differences in the ioctl() calls that depend on the
738 * value of this symbol.
741 * This symbol, if defined, indicates that the program should include
742 * <sgtty.h> rather than <termio.h>. There are also differences in
743 * the ioctl() calls that depend on the value of this symbol.
747 #undef I_TERMIOS /**/
750 * This symbol, if defined, indicates to the C program that it should
754 * This symbol, if defined, indicates to the C program that it should
755 * include <sys/time.h>.
757 /* I_SYS_TIME_KERNEL:
758 * This symbol, if defined, indicates to the C program that it should
759 * include <sys/time.h> with KERNEL defined.
762 #undef I_SYS_TIME /**/
763 #undef I_SYS_TIME_KERNEL /**/
766 * This symbol, if defined, indicates to the C program that it should
767 * include <unistd.h>.
772 * This symbol, if defined, indicates to the C program that it should
778 * This symbol, if defined, indicates that the routine utime() is
779 * available to update the access and modification times of files.
781 #undef HAS_UTIME /**/
784 * This symbol, if defined, indicates that <stdarg.h> exists and should
788 * This symbol, if defined, indicates to the C program that it should
789 * include <varargs.h>.
791 #define I_STDARG /**/
792 #undef I_VARARGS /**/
796 * This symbol, if defined, indicates to the C program that it should
802 * This symbol contains the size of an int, so that the C preprocessor
803 * can make decisions based on it.
805 #define INTSIZE 4 /**/
809 * If defined, this macro indicates that the C compiler can handle
810 * function prototypes.
813 * This macro is used to declare function parameters for folks who want
814 * to make declarations with prototypes using a different style than
815 * the above macros. Use double parentheses. For example:
817 * int main _((int argc, char *argv[]));
819 #define CAN_PROTOTYPE /**/
821 #define _(args) args /* config-skip */
823 #define _(args) () /* config-skip */
827 * This symbol contains the number of bits of random number the rand()
828 * function produces. Usual values are 15, 16, and 31.
830 #define RANDBITS 31 /**/
834 * This symbol holds the type used for the 2nd, 3rd, and 4th
835 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
836 * is defined, and 'int *' otherwise. This is only useful if you
837 * have select(), of course.
839 #define Select_fd_set_t fd_set * /**/
842 * This symbol is defined to be the type of char used in stdio.h.
843 * It has the values "unsigned char" or "char".
845 #define STDCHAR char /**/
848 * This symbol indicates how much support of the void type is given by this
849 * compiler. What various bits mean:
851 * 1 = supports declaration of void
852 * 2 = supports arrays of pointers to functions returning void
853 * 4 = supports comparisons between pointers to void functions and
854 * addresses of void functions
855 * 8 = suports declaration of generic void pointers
857 * The package designer should define VOIDUSED to indicate the requirements
858 * of the package. This can be done either by #defining VOIDUSED before
859 * including config.h, or by defining defvoidused in Myinit.U. If the
860 * latter approach is taken, only those flags will be tested. If the
861 * level of void support necessary is not present, defines void to int.
867 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
868 #define void int /* is void to be avoided? */ /* config-skip */
869 #define M_VOID /* Xenix strikes again */ /* config-skip */
874 * This symbol, if defined, indicates that the program is being compiled
875 * under the EUNICE package under VMS. The program will need to handle
876 * things like files that don't go away the first time you unlink them,
877 * due to version numbering. It will also need to compensate for lack
878 * of a respectable link() command.
881 * This symbol, if defined, indicates that the program is running under
882 * VMS. It is currently only set in conjunction with the EUNICE symbol.
885 /* This symbol is automagically defined by all VMS C compilers I've seen.
886 * Just in case, however . . . */
892 * This symbol holds the complete pathname to the sed program.
894 #define LOC_SED "_NLA0:" /**/
897 * This symbol holds the path of the bin directory where the package will
898 * be installed. Program must be prepared to deal with ~name substitution.
900 #define BIN "/perl_root/000000" /**/
903 * This symbol, if defined, indicates that the alarm routine is
906 #define HAS_ALARM /**/
909 * This symbol is defined if the C compiler can cast negative
910 * or large floating point numbers to 32-bit ints.
915 * This symbol, if defined, indicates that the chown routine is
918 #define HAS_CHOWN /**/
921 * This symbol, if defined, indicates that the chroot routine is
924 #undef HAS_CHROOT /**/
927 * This symbol, if defined, indicates that the cuserid routine is
928 * available to get character login names.
930 #define HAS_CUSERID /**/
933 * This symbol, if defined, indicates that this system's <float.h>
934 * or <limits.h> defines the symbol DBL_DIG, which is the number
935 * of significant digits in a double precision number. If this
936 * symbol is not defined, a guess of 15 is usually pretty good.
938 #define HAS_DBL_DIG /* */
941 * This symbol, if defined, indicates that the difftime routine is
944 #define HAS_DIFFTIME /**/
947 * This symbol, if defined, indicates that the fork routine is
950 /* VMS: In vmsish.h, fork is #defined to vfork. This kludge gets around
951 * some obsolete code in pp.c, which should be fixed in its own right
952 * sometime. - C. Bailey 26-Aug-1994
954 #define HAS_FORK /**/
957 * This symbol, if defined, indicates that the getlogin routine is
960 #undef HAS_GETLOGIN /**/
963 * This symbol, if defined, indicates that the getppid routine is
966 #undef HAS_GETPPID /**/
969 * This symbol, if defined, indicates that the group routine is
972 #undef HAS_GROUP /**/
976 * This symbol, if defined, indicates that the htonl() routine (and
977 * friends htons() ntohl() ntohs()) are available to do network
978 * order byte swapping.
981 * This symbol, if defined, indicates that the htons() routine (and
982 * friends htonl() ntohl() ntohs()) are available to do network
983 * order byte swapping.
986 * This symbol, if defined, indicates that the ntohl() routine (and
987 * friends htonl() htons() ntohs()) are available to do network
988 * order byte swapping.
991 * This symbol, if defined, indicates that the ntohs() routine (and
992 * friends htonl() htons() ntohl()) are available to do network
993 * order byte swapping.
995 #define HAS_HTONL /**/
996 #define HAS_HTONS /**/
997 #define HAS_NTOHL /**/
998 #define HAS_NTOHS /**/
1001 * This symbol, if defined, indicates that the mblen routine is available
1002 * to find the number of bytes in a multibye character.
1004 #undef HAS_MBLEN /**/
1007 * This symbol, if defined, indicates that the mktime routine is
1010 #undef HAS_MKTIME /**/
1013 * This symbol, if defined, indicates that the nice routine is
1016 #define HAS_NICE /**/
1019 * This symbol, if defined, indicates that the passwd routine is
1022 #undef HAS_PASSWD /**/
1025 * This symbol, if defined, indicates that the pause routine is
1028 #define HAS_PAUSE /**/
1031 * This symbol, if defined, indicates that the pipe routine is
1034 #define HAS_PIPE /**/
1037 * This symbol, if defined, indicates that the readlink routine is
1040 #undef HAS_READLINK /**/
1043 * This symbol, if defined, indicates that the setlinebuf routine is
1044 * available to change stderr or stdout from block-buffered or unbuffered
1045 * to a line-buffered mode.
1047 #undef HAS_SETLINEBUF /**/
1050 * This symbol is defined to indicate that the strchr()/strrchr()
1051 * functions are available for string searching. If not, try the
1052 * index()/rindex() pair.
1055 * This symbol is defined to indicate that the index()/rindex()
1056 * functions are available for string searching.
1058 #define HAS_STRCHR /**/
1059 #undef HAS_INDEX /**/
1062 * This symbol, if defined, indicates that the strcoll routine is
1063 * available to compare strings using collating information.
1065 #undef HAS_STRCOLL /**/
1068 * This symbol, if defined, indicates that the strxfrm() routine is
1069 * available to compare strings using collating information.
1071 #undef HAS_STRXFRM /**/
1074 * This symbol, if defined, indicates that the tcgetpgrp routine is
1075 * available to get foreground process group ID.
1077 #undef HAS_TCGETPGRP /**/
1080 * This symbol, if defined, indicates that the tcsetpgrp routine is
1081 * available to set foreground process group ID.
1083 #undef HAS_TCSETPGRP /**/
1086 * This symbol, if defined, indicates that the times() routine exists.
1087 * Note that this became obsolete on some systems (SUNOS), which now
1088 * use getrusage(). It may be necessary to include <sys/times.h>.
1090 #define HAS_TIMES /**/
1093 * This symbol, if defined, indicates that the tzname[] array is
1094 * available to access timezone names.
1096 #undef HAS_TZNAME /**/
1099 * This symbol, if defined, indicates that the umask routine is
1100 * available to get the file creation mask.
1102 #define HAS_UMASK /**/
1105 * This symbol is defined if this system declares "void (*signal(...))()" in
1106 * signal.h. The old way was to declare it as "int (*signal(...))()". It
1107 * is up to the package author to declare things correctly based on the
1110 #define VOIDSIG /**/
1113 * This symbol, if defined, indicates that the wctomb routine is available
1114 * to covert a wide character to a multibyte.
1116 #undef HAS_WCTOMB /**/
1119 * This symbol holds the type used to declare file positions in libc.
1120 * It can be fpos_t, long, uint, etc... It may be necessary to include
1121 * <sys/types.h> to get any typedef'ed information.
1123 #define Fpos_t fpos_t /* File position type */
1126 * This symbol holds the return type of getgid() and the type of
1127 * argument to setrgid() and related functions. Typically,
1128 * it is the type of group ids in the kernel.
1129 * It can be int, ushort, uid_t, etc... It may be necessary to include
1130 * <sys/types.h> to get any typedef'ed information.
1132 #define Gid_t unsigned int /* Type for getgid(), etc... */
1135 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1141 * This symbol, if defined, indicates to the C program that it should
1142 * include <float.h> to get definition of symbols like DBL_MAX or
1143 * DBL_MIN, i.e. machine dependent floating point values.
1145 #define I_FLOAT /**/
1148 * This symbol, if defined, indicates to the C program that it should
1154 * This symbol holds the type used to declare offsets in the kernel.
1155 * It can be int, long, off_t, etc... It may be necessary to include
1156 * <sys/types.h> to get any typedef'ed information.
1158 #define Off_t int /* <offset> type */
1160 * This symbol is the type of pointer returned by malloc and realloc.
1162 #define Malloc_t void * /**/
1165 * This symbol, if defined, indicates that we're using our own malloc.
1167 #undef MYMALLOC /**/
1170 * This symbol holds the type used to declare file modes
1171 * for systems calls. It is usually mode_t, but may be
1172 * int or unsigned short. It may be necessary to include <sys/types.h>
1173 * to get any typedef'ed information.
1175 #define Mode_t unsigned int /* file mode parameter for system calls*/
1178 * This symbol holds the type used by functions that return
1179 * a count of bytes or an error condition. It must be a signed type.
1180 * It is usually ssize_t, but may be long or int, etc.
1181 * It may be necessary to include <sys/types.h> or <unistd.h>
1182 * to get any typedef'ed information.
1183 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1185 #define SSize_t int /* signed count of bytes */
1189 * This symbol contains the name of the private library for this package.
1190 * The library is private in the sense that it needn't be in anyone's
1191 * execution path, but it should be accessible by the world. The program
1192 * should be prepared to do ~ expansion.
1194 #define PRIVLIB "/perl_root/lib" /**/
1197 * This symbol holds the name of the directory in which the user wants
1198 * to put publicly executable scripts for the package in question. It
1199 * is often a directory that is mounted across diverse architectures.
1200 * Programs must be prepared to deal with ~name expansion.
1202 #define SCRIPTDIR "/perl_root/script" /**/
1205 * This symbol contains a list of signal names in order. This is intended
1206 * to be used as a static array initialization, like this:
1207 * char *sig_name[] = { SIG_NAME };
1208 * The signals in the list are separated with commas, and each signal
1209 * is surrounded by double quotes. There is no leading SIG in the signal
1210 * name, i.e. SIGQUIT is known as "QUIT".
1212 #define SIG_NAME "HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE","KILL",\
1213 "BUS","SEGV","SYS","PIPE","ALRM","TERM"
1216 * This symbol holds the type used to declare length parameters
1217 * for string functions. It is usually size_t, but may be
1218 * unsigned long, int, etc. It may be necessary to include
1219 * <sys/types.h> to get any typedef'ed information.
1221 #define Size_t size_t /* length paramater for string functions */
1224 * This symbol holds the type used to declare user ids in the kernel.
1225 * It can be int, ushort, uid_t, etc... It may be necessary to include
1226 * <sys/types.h> to get any typedef'ed information.
1228 #define Uid_t unsigned int /* UID type */
1231 * This symbol, if defined, indicates to the C program that it should
1232 * include <sys/param.h>.
1236 /* GNUC_ATTRIBUTE_CHECK:
1237 * This symbol indicates the C compiler can check for function attributes,
1238 * such as printf formats.
1240 /* VMS: true for gcc, undef for VAXC/DECC. This is handled in Descrip.MMS
1241 * C. Bailey 26-Aug-1994
1243 /*#define GNUC_ATTRIBUTE_CHECK /* */
1246 * This symbol, if defined, indicates that the closedir() routine
1247 * does not return a value.
1249 #define VOID_CLOSEDIR /**/
1252 * This symbol, if defined, indicates that the dlerror routine is
1255 #undef HAS_DLERROR /**/
1257 /* DLSYM_NEEDS_UNDERSCORE:
1258 * This symbol, if defined, indicates that we need to prepend an
1259 * underscore to the symbol name before calling dlsym(). This only
1260 * makes sense if you *have* dlsym, which we will presume is the
1261 * case if you're using dl_dlopen.xs.
1263 #undef DLSYM_NEEDS_UNDERSCORE /* */
1265 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1266 * This symbol, if defined, indicates that setuid scripts are secure.
1269 * This symbol, if defined, indicates that the C program should
1270 * check the script that it is executing for setuid/setgid bits, and
1271 * attempt to emulate setuid/setgid on systems that have disabled
1272 * setuid #! scripts because the kernel can't do it securely.
1273 * It is up to the package designer to make sure that this emulation
1274 * is done securely. Among other things, it should do an fstat on
1275 * the script it just opened to make sure it really is a setuid/setgid
1276 * script, it should make sure the arguments passed correspond exactly
1277 * to the argument on the #! line, and it should not trust any
1278 * subprocesses to which it must pass the filename rather than the
1279 * file descriptor of the script to be executed.
1281 #undef SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1285 * This symbol, if defined, indicates that the drem routine is
1286 * available. This is a Pyramid routine that is the same as
1289 #undef HAS_DREM /**/
1292 * This symbol, if defined, indicates that the fmod routine is
1295 #define HAS_FMOD /**/
1298 * This preprocessor macro is defined to convert a floating point
1299 * number to a string without a trailing decimal point. This
1300 * emulates the behavior of sprintf("%g"), but is sometimes much more
1301 * efficient. If gconvert() is not available, but gcvt() drops the
1302 * trailing decimal point, then gcvt() is used. If all else fails,
1303 * a macro using sprintf("%g") is used.
1305 #define Gconvert(x,n,t,b) my_gconvert(x,n,t,b)
1308 * This manifest constant lets the C program know that the
1309 * isascii is available.
1311 #define HAS_ISASCII /**/
1314 * This symbol is defined if this system has a FILE structure declaring
1315 * _IO_read_base, _IO_read_ptr, and _IO_read_end in stdio.h.
1317 #undef USE_LINUX_STDIO /**/
1320 * This symbol, if defined, indicates that the localeconv routine is
1321 * available for numeric and monetary formatting conventions.
1323 #undef HAS_LOCALECONV /**/
1326 * This symbol, if defined, indicates that the mkfifo routine is
1329 #undef HAS_MKFIFO /**/
1332 * This symbol, if defined, indicates that pathconf() is available
1333 * to determine file-system related limits and options associated
1334 * with a given filename.
1337 * This symbol, if defined, indicates that pathconf() is available
1338 * to determine file-system related limits and options associated
1339 * with a given open file descriptor.
1341 #undef HAS_PATHCONF /**/
1342 #undef HAS_FPATHCONF /**/
1345 * This symbol, if defined, indicates that the bcopy routine is available
1346 * to copy potentially overlapping memory blocks. Otherwise you should
1347 * probably use memmove() or memcpy(). If neither is defined, roll your
1350 #undef HAS_SAFE_BCOPY /**/
1353 * This symbol, if defined, indicates that the memcpy routine is available
1354 * to copy potentially overlapping memory blocks. Otherwise you should
1355 * probably use memmove() or memcpy(). If neither is defined, roll your
1358 #define HAS_SAFE_MEMCPY /**/
1361 * This symbol, if defined, indicates that the setpgrp routine is
1362 * available to set the current process group.
1365 * This symbol, if defined, indicates that the BSD notion of process
1366 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1367 * instead of the USG setpgrp().
1369 #undef HAS_SETPGRP /**/
1370 #undef USE_BSDPGRP /**/
1373 * This symbol, if defined, indicates that sysconf() is available
1374 * to determine system related limits and options.
1376 #undef HAS_SYSCONF /**/
1378 /* USE_DYNAMIC_LOADING:
1379 * This symbol, if defined, indicates that dynamic loading of
1380 * some sort is available.
1382 #define USE_DYNAMIC_LOADING /**/
1384 #ifdef VMS_DO_SOCKETS
1386 * This symbol, if defined, indicates that the BSD socket interface is
1390 * This symbol, if defined, indicates that the BSD socketpair() call is
1393 #define HAS_SOCKET /**/ /* config-skip */
1394 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1397 * This symbol, if defined, indicates that the gethostent routine is
1398 * available to lookup host names in some data base or other.
1400 #define HAS_GETHOSTENT /**/ /* config-skip */
1402 /* VMS: In general, TCP/IP header files should be included from
1403 * sockadapt.h, instead of here, in order to keep the TCP/IP code
1404 * together as much as possible.
1407 * This symbol, if defined, indicates to the C program that it should
1408 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1410 #undef I_NETINET_IN /**/ /* config-skip */
1413 * This symbol holds the type used for the second argument to
1414 * getgroups(). Usually, this is the same of gidtype, but
1415 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1416 * It may be necessary to include <sys/types.h> to get any
1417 * typedef'ed information. This is only required if you have
1420 #ifdef HAS_GETGROUPS
1421 #define Groups_t unsigned int /* Type for 2nd arg to getgroups() */ /* config-skip */
1425 * This symbol, if defined, indicates that <net/errno.h> exists and
1426 * should be included.
1428 #undef I_NET_ERRNO /**/ /* config-skip */
1430 #else /* VMS_DO_SOCKETS */
1432 #undef HAS_SOCKET /**/ /* config-skip */
1433 #undef HAS_SOCKETPAIR /**/ /* config-skip */
1434 #undef HAS_GETHOSTENT /**/ /* config-skip */
1435 #undef I_NETINET_IN /**/ /* config-skip */
1436 #undef I_NET_ERRNO /**/ /* config-skip */
1438 #endif /* !VMS_DO_SOCKETS */