2 * This file was produced by running the config_h.SH script, which
3 * gets its values from config.sh, which is generally produced by
6 * Feel free to modify any of this as the need arises. Note, however,
7 * that running config_h.SH again will wipe out any changes you've made.
8 * For a more permanent change edit config.sh and rerun config_h.SH.
10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
14 * Package name : perl5
16 * Configuration time: Mon Oct 11 21:25:05 1999
17 * Configured by : gsar
25 * This symbol holds the complete pathname to the sed program.
27 #define LOC_SED "" /**/
30 * This symbol, if defined, indicates that the alarm routine is
33 /*#define HAS_ALARM /**/
36 * This symbol indicates the C compiler can check for function attributes,
37 * such as printf formats. This is normally only supported by GNU cc.
39 #define HASATTRIBUTE /**/
41 #define __attribute__(_arg_)
45 * This symbol is defined if the bcmp() routine is available to
46 * compare blocks of memory.
48 /*#define HAS_BCMP /**/
51 * This symbol is defined if the bcopy() routine is available to
52 * copy blocks of memory.
54 /*#define HAS_BCOPY /**/
57 * This symbol is defined if the bzero() routine is available to
58 * set a memory block to 0.
60 /*#define HAS_BZERO /**/
63 * This symbol, if defined, indicates that the chown routine is
66 /*#define HAS_CHOWN /**/
69 * This symbol, if defined, indicates that the chroot routine is
72 /*#define HAS_CHROOT /**/
75 * This symbol, if defined, indicates that the chsize routine is available
76 * to truncate files. You might need a -lx to get this routine.
78 #define HAS_CHSIZE /**/
81 * This symbol, if defined, indicates that this C compiler knows about
82 * the const type. There is no need to actually test for that symbol
83 * within your programs. The mere use of the "const" keyword will
84 * trigger the necessary tests.
92 * This symbol, if defined, indicates that the crypt routine is available
93 * to encrypt passwords and the like.
95 /*#define HAS_CRYPT /**/
98 * This symbol, if defined, indicates that the cuserid routine is
99 * available to get character login names.
101 /*#define HAS_CUSERID /**/
104 * This symbol, if defined, indicates that this system's <float.h>
105 * or <limits.h> defines the symbol DBL_DIG, which is the number
106 * of significant digits in a double precision number. If this
107 * symbol is not defined, a guess of 15 is usually pretty good.
109 #define HAS_DBL_DIG /**/
112 * This symbol, if defined, indicates that the difftime routine is
115 #define HAS_DIFFTIME /**/
118 * This symbol, if defined, indicates that the dlerror routine is
119 * available to return a string describing the last error that
120 * occurred from a call to dlopen(), dlclose() or dlsym().
122 #define HAS_DLERROR /**/
124 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
125 * This symbol, if defined, indicates that the bug that prevents
126 * setuid scripts from being secure is not present in this kernel.
129 * This symbol, if defined, indicates that the C program should
130 * check the script that it is executing for setuid/setgid bits, and
131 * attempt to emulate setuid/setgid on systems that have disabled
132 * setuid #! scripts because the kernel can't do it securely.
133 * It is up to the package designer to make sure that this emulation
134 * is done securely. Among other things, it should do an fstat on
135 * the script it just opened to make sure it really is a setuid/setgid
136 * script, it should make sure the arguments passed correspond exactly
137 * to the argument on the #! line, and it should not trust any
138 * subprocesses to which it must pass the filename rather than the
139 * file descriptor of the script to be executed.
141 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
142 /*#define DOSUID /**/
145 * This symbol, if defined, indicates that the dup2 routine is
146 * available to duplicate file descriptors.
148 #define HAS_DUP2 /**/
151 * This symbol, if defined, indicates that the fchmod routine is available
152 * to change mode of opened files. If unavailable, use chmod().
154 /*#define HAS_FCHMOD /**/
157 * This symbol, if defined, indicates that the fchown routine is available
158 * to change ownership of opened files. If unavailable, use chown().
160 /*#define HAS_FCHOWN /**/
163 * This symbol, if defined, indicates to the C program that
164 * the fcntl() function exists.
166 /*#define HAS_FCNTL /**/
169 * This symbol, if defined, indicates that the fgetpos routine is
170 * available to get the file position indicator, similar to ftell().
172 #define HAS_FGETPOS /**/
175 * This symbol, if defined, indicates that the system supports filenames
176 * longer than 14 characters.
178 #define FLEXFILENAMES /**/
181 * This symbol, if defined, indicates that the flock routine is
182 * available to do file locking.
184 #define HAS_FLOCK /**/
187 * This symbol, if defined, indicates that the fork routine is
190 /*#define HAS_FORK /**/
193 * This symbol, if defined, indicates that the fsetpos routine is
194 * available to set the file position indicator, similar to fseek().
196 #define HAS_FSETPOS /**/
199 * This symbol, if defined, indicates that the gettimeofday() system
200 * call is available for a sub-second accuracy clock. Usually, the file
201 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
202 * The type "Timeval" should be used to refer to "struct timeval".
204 /*#define HAS_GETTIMEOFDAY /**/
205 #ifdef HAS_GETTIMEOFDAY
206 #define Timeval struct timeval /* Structure used by gettimeofday() */
210 * This symbol, if defined, indicates that the getgroups() routine is
211 * available to get the list of process groups. If unavailable, multiple
212 * groups are probably not supported.
214 /*#define HAS_GETGROUPS /**/
217 * This symbol, if defined, indicates that the getlogin routine is
218 * available to get the login name.
220 #define HAS_GETLOGIN /**/
223 * This symbol, if defined, indicates to the C program that
224 * the getpgid(pid) function is available to get the
227 /*#define HAS_GETPGID /**/
230 * This symbol, if defined, indicates that the getpgrp routine is
231 * available to get the current process group.
234 * This symbol, if defined, indicates that getpgrp needs one
235 * arguments whereas USG one needs none.
237 /*#define HAS_GETPGRP /**/
238 /*#define USE_BSD_GETPGRP /**/
241 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
242 * routine is available to get the current process group.
244 /*#define HAS_GETPGRP2 /**/
247 * This symbol, if defined, indicates that the getppid routine is
248 * available to get the parent process ID.
250 /*#define HAS_GETPPID /**/
253 * This symbol, if defined, indicates that the getpriority routine is
254 * available to get a process's priority.
256 /*#define HAS_GETPRIORITY /**/
259 * This symbol, if defined, indicates to the C program that the
260 * inet_aton() function is available to parse IP address "dotted-quad"
263 /*#define HAS_INET_ATON /**/
266 * This symbol, if defined, indicates that the killpg routine is available
267 * to kill process groups. If unavailable, you probably should use kill
268 * with a negative process number.
270 /*#define HAS_KILLPG /**/
273 * This symbol, if defined, indicates that the link routine is
274 * available to create hard links.
276 /*#define HAS_LINK /**/
279 * This symbol, if defined, indicates that the localeconv routine is
280 * available for numeric and monetary formatting conventions.
282 #define HAS_LOCALECONV /**/
285 * This symbol, if defined, indicates that the lockf routine is
286 * available to do file locking.
288 /*#define HAS_LOCKF /**/
291 * This symbol, if defined, indicates that the lstat routine is
292 * available to do file stats on symbolic links.
294 /*#define HAS_LSTAT /**/
297 * This symbol, if defined, indicates that the mblen routine is available
298 * to find the number of bytes in a multibye character.
300 #define HAS_MBLEN /**/
303 * This symbol, if defined, indicates that the mbstowcs routine is
304 * available to covert a multibyte string into a wide character string.
306 #define HAS_MBSTOWCS /**/
309 * This symbol, if defined, indicates that the mbtowc routine is available
310 * to covert a multibyte to a wide character.
312 #define HAS_MBTOWC /**/
315 * This symbol, if defined, indicates that the memcmp routine is available
316 * to compare blocks of memory.
318 #define HAS_MEMCMP /**/
321 * This symbol, if defined, indicates that the memcpy routine is available
322 * to copy blocks of memory.
324 #define HAS_MEMCPY /**/
327 * This symbol, if defined, indicates that the memmove routine is available
328 * to copy potentially overlapping blocks of memory. This should be used
329 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
332 #define HAS_MEMMOVE /**/
335 * This symbol, if defined, indicates that the memset routine is available
336 * to set blocks of memory.
338 #define HAS_MEMSET /**/
341 * This symbol, if defined, indicates that the mkdir routine is available
342 * to create directories. Otherwise you should fork off a new process to
345 #define HAS_MKDIR /**/
348 * This symbol, if defined, indicates that the mkfifo routine is
349 * available to create FIFOs. Otherwise, mknod should be able to
350 * do it for you. However, if mkfifo is there, mknod might require
351 * super-user privileges which mkfifo will not.
353 /*#define HAS_MKFIFO /**/
356 * This symbol, if defined, indicates that the mktime routine is
359 #define HAS_MKTIME /**/
362 * This symbol, if defined, indicates that the msync system call is
363 * available to synchronize a mapped file.
365 /*#define HAS_MSYNC /**/
368 * This symbol, if defined, indicates that the munmap system call is
369 * available to unmap a region, usually mapped by mmap().
371 /*#define HAS_MUNMAP /**/
374 * This symbol, if defined, indicates that the nice routine is
377 /*#define HAS_NICE /**/
380 * This symbol, if defined, indicates that pathconf() is available
381 * to determine file-system related limits and options associated
382 * with a given filename.
385 * This symbol, if defined, indicates that pathconf() is available
386 * to determine file-system related limits and options associated
387 * with a given open file descriptor.
389 /*#define HAS_PATHCONF /**/
390 /*#define HAS_FPATHCONF /**/
393 * This symbol, if defined, indicates that the pause routine is
394 * available to suspend a process until a signal is received.
396 #define HAS_PAUSE /**/
399 * This symbol, if defined, indicates that the pipe routine is
400 * available to create an inter-process channel.
402 #define HAS_PIPE /**/
405 * This symbol, if defined, indicates that the poll routine is
406 * available to poll active file descriptors. You may safely
407 * include <poll.h> when this symbol is defined.
409 /*#define HAS_POLL /**/
412 * This symbol, if defined, indicates that the readdir routine is
413 * available to read directory entries. You may have to include
414 * <dirent.h>. See I_DIRENT.
416 #define HAS_READDIR /**/
419 * This symbol, if defined, indicates that the seekdir routine is
420 * available. You may have to include <dirent.h>. See I_DIRENT.
422 #define HAS_SEEKDIR /**/
425 * This symbol, if defined, indicates that the telldir routine is
426 * available. You may have to include <dirent.h>. See I_DIRENT.
428 #define HAS_TELLDIR /**/
431 * This symbol, if defined, indicates that the rewinddir routine is
432 * available. You may have to include <dirent.h>. See I_DIRENT.
434 #define HAS_REWINDDIR /**/
437 * This symbol, if defined, indicates that the readlink routine is
438 * available to read the value of a symbolic link.
440 /*#define HAS_READLINK /**/
443 * This symbol, if defined, indicates that the rename routine is available
444 * to rename files. Otherwise you should do the unlink(), link(), unlink()
447 #define HAS_RENAME /**/
450 * This symbol, if defined, indicates that the rmdir routine is
451 * available to remove directories. Otherwise you should fork off a
452 * new process to exec /bin/rmdir.
454 #define HAS_RMDIR /**/
457 * This symbol, if defined, indicates that the select routine is
458 * available to select active file descriptors. If the timeout field
459 * is used, <sys/time.h> may need to be included.
461 #define HAS_SELECT /**/
464 * This symbol, if defined, indicates that the setegid routine is available
465 * to change the effective gid of the current program.
467 /*#define HAS_SETEGID /**/
470 * This symbol, if defined, indicates that the seteuid routine is available
471 * to change the effective uid of the current program.
473 /*#define HAS_SETEUID /**/
476 * This symbol, if defined, indicates that the setlinebuf routine is
477 * available to change stderr or stdout from block-buffered or unbuffered
478 * to a line-buffered mode.
480 /*#define HAS_SETLINEBUF /**/
483 * This symbol, if defined, indicates that the setlocale routine is
484 * available to handle locale-specific ctype implementations.
486 #define HAS_SETLOCALE /**/
489 * This symbol, if defined, indicates that the setpgid(pid, gpid)
490 * routine is available to set process group ID.
492 /*#define HAS_SETPGID /**/
495 * This symbol, if defined, indicates that the setpgrp routine is
496 * available to set the current process group.
499 * This symbol, if defined, indicates that setpgrp needs two
500 * arguments whereas USG one needs none. See also HAS_SETPGID
501 * for a POSIX interface.
503 /*#define HAS_SETPGRP /**/
504 /*#define USE_BSD_SETPGRP /**/
507 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
508 * routine is available to set the current process group.
510 /*#define HAS_SETPGRP2 /**/
513 * This symbol, if defined, indicates that the setpriority routine is
514 * available to set a process's priority.
516 /*#define HAS_SETPRIORITY /**/
519 * This symbol, if defined, indicates that the setregid routine is
520 * available to change the real and effective gid of the current
524 * This symbol, if defined, indicates that the setresgid routine is
525 * available to change the real, effective and saved gid of the current
528 /*#define HAS_SETREGID /**/
529 /*#define HAS_SETRESGID /**/
532 * This symbol, if defined, indicates that the setreuid routine is
533 * available to change the real and effective uid of the current
537 * This symbol, if defined, indicates that the setresuid routine is
538 * available to change the real, effective and saved uid of the current
541 /*#define HAS_SETREUID /**/
542 /*#define HAS_SETRESUID /**/
545 * This symbol, if defined, indicates that the setrgid routine is available
546 * to change the real gid of the current program.
548 /*#define HAS_SETRGID /**/
551 * This symbol, if defined, indicates that the setruid routine is available
552 * to change the real uid of the current program.
554 /*#define HAS_SETRUID /**/
557 * This symbol, if defined, indicates that the setsid routine is
558 * available to set the process group ID.
560 /*#define HAS_SETSID /**/
563 * This symbol holds the return type of the shmat() system call.
564 * Usually set to 'void *' or 'char *'.
566 /* HAS_SHMAT_PROTOTYPE:
567 * This symbol, if defined, indicates that the sys/shm.h includes
568 * a prototype for shmat(). Otherwise, it is up to the program to
569 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
570 * but not always right so it should be emitted by the program only
571 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
573 #define Shmat_t void * /**/
574 /*#define HAS_SHMAT_PROTOTYPE /**/
577 * This symbol is defined to indicate that the strchr()/strrchr()
578 * functions are available for string searching. If not, try the
579 * index()/rindex() pair.
582 * This symbol is defined to indicate that the index()/rindex()
583 * functions are available for string searching.
585 #define HAS_STRCHR /**/
586 /*#define HAS_INDEX /**/
589 * This symbol, if defined, indicates that the strcoll routine is
590 * available to compare strings using collating information.
592 #define HAS_STRCOLL /**/
595 * This symbol, if defined, indicates that this C compiler knows how
596 * to copy structures. If undefined, you'll need to use a block copy
597 * routine of some sort instead.
599 #define USE_STRUCT_COPY /**/
602 * This symbol, if defined, indicates that the strtod routine is
603 * available to provide better numeric string conversion than atof().
605 #define HAS_STRTOD /**/
608 * This symbol, if defined, indicates that the strtol routine is available
609 * to provide better numeric string conversion than atoi() and friends.
611 #define HAS_STRTOL /**/
614 * This symbol, if defined, indicates that the strtoul routine is
615 * available to provide conversion of strings to unsigned long.
617 #define HAS_STRTOUL /**/
620 * This symbol, if defined, indicates that the strxfrm() routine is
621 * available to transform strings.
623 #define HAS_STRXFRM /**/
626 * This symbol, if defined, indicates that the symlink routine is available
627 * to create symbolic links.
629 /*#define HAS_SYMLINK /**/
632 * This symbol, if defined, indicates that the syscall routine is
633 * available to call arbitrary system calls. If undefined, that's tough.
635 /*#define HAS_SYSCALL /**/
638 * This symbol, if defined, indicates that sysconf() is available
639 * to determine system related limits and options.
641 /*#define HAS_SYSCONF /**/
644 * This symbol, if defined, indicates that the system routine is
645 * available to issue a shell command.
647 #define HAS_SYSTEM /**/
650 * This symbol, if defined, indicates that the tcgetpgrp routine is
651 * available to get foreground process group ID.
653 /*#define HAS_TCGETPGRP /**/
656 * This symbol, if defined, indicates that the tcsetpgrp routine is
657 * available to set foreground process group ID.
659 /*#define HAS_TCSETPGRP /**/
662 * This symbol, if defined, indicates that the truncate routine is
663 * available to truncate files.
665 /*#define HAS_TRUNCATE /**/
668 * This symbol, if defined, indicates that the tzname[] array is
669 * available to access timezone names.
671 /*#define HAS_TZNAME /**/
674 * This symbol, if defined, indicates that the umask routine is
675 * available to set and get the value of the file creation mask.
677 #define HAS_UMASK /**/
680 * This symbol, if defined, indicates that this C compiler knows about
681 * the volatile declaration.
683 #define HASVOLATILE /**/
689 * This symbol, if defined, indicates that wait4() exists.
691 /*#define HAS_WAIT4 /**/
694 * This symbol, if defined, indicates that the waitpid routine is
695 * available to wait for child process.
697 #define HAS_WAITPID /**/
700 * This symbol, if defined, indicates that the wcstombs routine is
701 * available to convert wide character strings to multibyte strings.
703 #define HAS_WCSTOMBS /**/
706 * This symbol, if defined, indicates that the wctomb routine is available
707 * to covert a wide character to a multibyte.
709 #define HAS_WCTOMB /**/
712 * This symbol, if defined, indicates to the C program that it should
713 * include <arpa/inet.h> to get inet_addr and friends declarations.
715 #define I_ARPA_INET /**/
718 * This symbol, if defined, indicates that <dbm.h> exists and should
722 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
723 * should be included.
726 #define I_RPCSVC_DBM /**/
729 * This symbol, if defined, indicates to the C program that it should
730 * include <dirent.h>. Using this symbol also triggers the definition
731 * of the Direntry_t define which ends up being 'struct dirent' or
732 * 'struct direct' depending on the availability of <dirent.h>.
735 * This symbol, if defined, indicates to the C program that the length
736 * of directory entry names is provided by a d_namlen field. Otherwise
737 * you need to do strlen() on the d_name field.
740 * This symbol is set to 'struct direct' or 'struct dirent' depending on
741 * whether dirent is available or not. You should use this pseudo type to
742 * portably declare your directory entries.
744 #define I_DIRENT /**/
745 #define DIRNAMLEN /**/
746 #define Direntry_t struct direct
749 * This symbol, if defined, indicates that <dlfcn.h> exists and should
755 * This manifest constant tells the C program to include <fcntl.h>.
760 * This symbol, if defined, indicates to the C program that it should
761 * include <float.h> to get definition of symbols like DBL_MAX or
762 * DBL_MIN, i.e. machine dependent floating point values.
767 * This symbol, if defined, indicates to the C program that it should
768 * include <limits.h> to get definition of symbols like WORD_BIT or
769 * LONG_MAX, i.e. machine dependant limitations.
771 #define I_LIMITS /**/
774 * This symbol, if defined, indicates to the C program that it should
775 * include <locale.h>.
777 #define I_LOCALE /**/
780 * This symbol, if defined, indicates to the C program that it should
786 * This symbol, if defined, indicates to the C program that it should
787 * include <memory.h>.
789 /*#define I_MEMORY /**/
792 * This symbol, if defined, indicates that <ndbm.h> exists and should
795 /*#define I_NDBM /**/
798 * This symbol, if defined, indicates that <net/errno.h> exists and
799 * should be included.
801 /*#define I_NET_ERRNO /**/
804 * This symbol, if defined, indicates to the C program that it should
805 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
807 /*#define I_NETINET_IN /**/
810 * This symbol, if defined, indicates to the C program that it should
813 /*#define I_SFIO /**/
816 * This symbol, if defined, indicates that <stddef.h> exists and should
819 #define I_STDDEF /**/
822 * This symbol, if defined, indicates that <stdlib.h> exists and should
825 #define I_STDLIB /**/
828 * This symbol, if defined, indicates to the C program that it should
829 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
831 #define I_STRING /**/
834 * This symbol, if defined, indicates to the C program that it should
835 * include <sys/dir.h>.
837 /*#define I_SYS_DIR /**/
840 * This symbol, if defined, indicates to the C program that it should
841 * include <sys/file.h> to get definition of R_OK and friends.
843 /*#define I_SYS_FILE /**/
846 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
847 * be included. Otherwise, include <sgtty.h> or <termio.h>.
849 /*#define I_SYS_IOCTL /**/
852 * This symbol, if defined, indicates to the C program that it should
853 * include <sys/ndir.h>.
855 /*#define I_SYS_NDIR /**/
858 * This symbol, if defined, indicates to the C program that it should
859 * include <sys/param.h>.
861 /*#define I_SYS_PARAM /**/
864 * This symbol, if defined, indicates to the C program that it should
865 * include <sys/resource.h>.
867 /*#define I_SYS_RESOURCE /**/
870 * This symbol, if defined, indicates to the C program that it should
871 * include <sys/select.h> in order to get definition of struct timeval.
873 /*#define I_SYS_SELECT /**/
876 * This symbol, if defined, indicates to the C program that it should
877 * include <sys/stat.h>.
879 #define I_SYS_STAT /**/
882 * This symbol, if defined, indicates to the C program that it should
883 * include <sys/times.h>.
885 /*#define I_SYS_TIMES /**/
888 * This symbol, if defined, indicates to the C program that it should
889 * include <sys/types.h>.
891 #define I_SYS_TYPES /**/
894 * This symbol, if defined, indicates to the C program that it should
895 * include <sys/un.h> to get UNIX domain socket definitions.
897 /*#define I_SYS_UN /**/
900 * This symbol, if defined, indicates to the C program that it should
901 * include <sys/wait.h>.
903 /*#define I_SYS_WAIT /**/
906 * This symbol, if defined, indicates that the program should include
907 * <termio.h> rather than <sgtty.h>. There are also differences in
908 * the ioctl() calls that depend on the value of this symbol.
911 * This symbol, if defined, indicates that the program should include
912 * the POSIX termios.h rather than sgtty.h or termio.h.
913 * There are also differences in the ioctl() calls that depend on the
914 * value of this symbol.
917 * This symbol, if defined, indicates that the program should include
918 * <sgtty.h> rather than <termio.h>. There are also differences in
919 * the ioctl() calls that depend on the value of this symbol.
921 /*#define I_TERMIO /**/
922 /*#define I_TERMIOS /**/
923 /*#define I_SGTTY /**/
926 * This symbol, if defined, indicates to the C program that it should
927 * include <unistd.h>.
929 /*#define I_UNISTD /**/
932 * This symbol, if defined, indicates to the C program that it should
938 * This symbol, if defined, indicates to the C program that it should
939 * include <values.h> to get definition of symbols like MINFLOAT or
940 * MAXLONG, i.e. machine dependant limitations. Probably, you
941 * should use <limits.h> instead, if it is available.
943 /*#define I_VALUES /**/
946 * This symbol, if defined, indicates that <stdarg.h> exists and should
950 * This symbol, if defined, indicates to the C program that it should
951 * include <varargs.h>.
953 #define I_STDARG /**/
954 /*#define I_VARARGS /**/
957 * This symbol, if defined, indicates to the C program that it should
960 /*#define I_VFORK /**/
963 * If defined, this macro indicates that the C compiler can handle
964 * function prototypes.
967 * This macro is used to declare function parameters for folks who want
968 * to make declarations with prototypes using a different style than
969 * the above macros. Use double parentheses. For example:
971 * int main _((int argc, char *argv[]));
973 #define CAN_PROTOTYPE /**/
981 * This symbol contains the full pathname to the shell used on this
982 * on this system to execute Bourne shell scripts. Usually, this will be
983 * /bin/sh, though it's possible that some systems will have /bin/ksh,
984 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
987 #define SH_PATH "cmd /x /c" /**/
990 * This symbol is defined to be the type of char used in stdio.h.
991 * It has the values "unsigned char" or "char".
993 #define STDCHAR char /**/
996 * This symbol, if defined, indicates that the accessx routine is
997 * available to do extended access checks.
999 /*#define HAS_ACCESSX /**/
1002 * This symbol, if defined, indicates that the eaccess routine is
1003 * available to do extended access checks.
1005 /*#define HAS_EACCESS /**/
1008 * This symbol, if defined, indicates to the C program that it should
1009 * include <sys/access.h>.
1011 /*#define I_SYS_ACCESS /**/
1014 * This symbol, if defined, indicates to the C program that it should
1015 * include <sys/security.h>.
1017 /*#define I_SYS_SECURITY /**/
1020 * This symbol, if defined, signifies that we our
1021 * build process is a cross-compilation.
1023 /*#define CROSSCOMPILE /**/
1026 * This symbol contains the value of sizeof(int) so that the C
1027 * preprocessor can make decisions based on it.
1030 * This symbol contains the value of sizeof(long) so that the C
1031 * preprocessor can make decisions based on it.
1034 * This symbol contains the value of sizeof(short) so that the C
1035 * preprocessor can make decisions based on it.
1037 #define INTSIZE 4 /**/
1038 #define LONGSIZE 4 /**/
1039 #define SHORTSIZE 2 /**/
1042 * This symbol, if defined, signifies that the build
1043 * process will produce some binary files that are going to be
1044 * used in a cross-platform environment. This is the case for
1045 * example with the NeXT "fat" binaries that contain executables
1048 /*#define MULTIARCH /**/
1051 * This symbol contains the number of bytes required to align a
1052 * double. Usual values are 2, 4 and 8. The default is eight,
1055 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1056 # define MEM_ALIGNBYTES 8
1058 #define MEM_ALIGNBYTES 8
1062 * This symbol holds the hexadecimal constant defined in byteorder,
1063 * i.e. 0x1234 or 0x4321, etc...
1064 * If the compiler supports cross-compiling or multiple-architecture
1065 * binaries (eg. on NeXT systems), use compiler-defined macros to
1066 * determine the byte order.
1067 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1068 * Binaries (MAB) on either big endian or little endian machines.
1069 * The endian-ness is available at compile-time. This only matters
1070 * for perl, where the config.h can be generated and installed on
1071 * one system, and used by a different architecture to build an
1072 * extension. Older versions of NeXT that might not have
1073 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1074 * so the default case (for NeXT) is big endian to catch them.
1075 * This might matter for NeXT 3.0.
1077 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1078 # ifdef __LITTLE_ENDIAN__
1080 # define BYTEORDER 0x1234
1083 # define BYTEORDER 0x12345678
1087 # ifdef __BIG_ENDIAN__
1089 # define BYTEORDER 0x4321
1092 # define BYTEORDER 0x87654321
1097 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1098 # define BYTEORDER 0x4321
1101 #define BYTEORDER 0x1234 /* large digits for MSB */
1105 * This symbol is defined if the C compiler can cast negative
1106 * or large floating point numbers to 32-bit ints.
1108 #define CASTI32 /**/
1111 * This symbol is defined if the C compiler can cast negative
1112 * numbers to unsigned longs, ints and shorts.
1115 * This symbol contains flags that say what difficulties the compiler
1116 * has casting odd floating values to unsigned long:
1118 * 1 = couldn't cast < 0
1119 * 2 = couldn't cast >= 0x80000000
1120 * 4 = couldn't cast in argument expression list
1122 #define CASTNEGFLOAT /**/
1123 #define CASTFLAGS 0 /**/
1126 * This symbol, if defined, indicates that the closedir() routine
1127 * does not return a value.
1129 /*#define VOID_CLOSEDIR /**/
1132 * This symbol, when defined, indicates presence of the fd_set typedef
1135 #define HAS_FD_SET /**/
1138 * This preprocessor macro is defined to convert a floating point
1139 * number to a string without a trailing decimal point. This
1140 * emulates the behavior of sprintf("%g"), but is sometimes much more
1141 * efficient. If gconvert() is not available, but gcvt() drops the
1142 * trailing decimal point, then gcvt() is used. If all else fails,
1143 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1144 * macro are: value, number of digits, whether trailing zeros should
1145 * be retained, and the output buffer.
1146 * Possible values are:
1147 * d_Gconvert='gconvert((x),(n),(t),(b))'
1148 * d_Gconvert='gcvt((x),(n),(b))'
1149 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1150 * The last two assume trailing zeros should not be kept.
1152 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1155 * This symbol, if defined, indicates to the C program that
1156 * the GNU C library is being used.
1158 /*#define HAS_GNULIBC /**/
1160 * This manifest constant lets the C program know that isascii
1163 #define HAS_ISASCII /**/
1166 * This symbol, if defined, indicates that the lchown routine is
1167 * available to operate on a symbolic link (instead of following the
1170 /*#define HAS_LCHOWN /**/
1173 * This manifest constant lets the C program know that the three
1174 * argument form of open(2) is available.
1176 /*#define HAS_OPEN3 /**/
1179 * This symbol, if defined, indicates that the bcopy routine is available
1180 * to copy potentially overlapping memory blocks. Otherwise you should
1181 * probably use memmove() or memcpy(). If neither is defined, roll your
1184 /*#define HAS_SAFE_BCOPY /**/
1187 * This symbol, if defined, indicates that the memcpy routine is available
1188 * to copy potentially overlapping memory blocks. Otherwise you should
1189 * probably use memmove() or memcpy(). If neither is defined, roll your
1192 /*#define HAS_SAFE_MEMCPY /**/
1195 * This symbol, if defined, indicates that the memcmp routine is available
1196 * and can be used to compare relative magnitudes of chars with their high
1197 * bits set. If it is not defined, roll your own version.
1199 #define HAS_SANE_MEMCMP /**/
1202 * This symbol, if defined, indicates that Vr4's sigaction() routine
1205 /*#define HAS_SIGACTION /**/
1208 * This variable indicates to the C program that the sigsetjmp()
1209 * routine is available to save the calling process's registers
1210 * and stack environment for later use by siglongjmp(), and
1211 * to optionally save the process's signal mask. See
1212 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1215 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1218 * This macro is used in the same way as sigsetjmp(), but will invoke
1219 * traditional setjmp() if sigsetjmp isn't available.
1220 * See HAS_SIGSETJMP.
1223 * This macro is used in the same way as siglongjmp(), but will invoke
1224 * traditional longjmp() if siglongjmp isn't available.
1225 * See HAS_SIGSETJMP.
1227 /*#define HAS_SIGSETJMP /**/
1228 #ifdef HAS_SIGSETJMP
1229 #define Sigjmp_buf sigjmp_buf
1230 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1231 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1233 #define Sigjmp_buf jmp_buf
1234 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1235 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1239 * This symbol is defined if the _ptr and _cnt fields (or similar)
1240 * of the stdio FILE structure can be used to access the stdio buffer
1241 * for a file handle. If this is defined, then the FILE_ptr(fp)
1242 * and FILE_cnt(fp) macros will also be defined and should be used
1243 * to access these fields.
1246 * This macro is used to access the _ptr field (or equivalent) of the
1247 * FILE structure pointed to by its argument. This macro will always be
1248 * defined if USE_STDIO_PTR is defined.
1250 /* STDIO_PTR_LVALUE:
1251 * This symbol is defined if the FILE_ptr macro can be used as an
1255 * This macro is used to access the _cnt field (or equivalent) of the
1256 * FILE structure pointed to by its argument. This macro will always be
1257 * defined if USE_STDIO_PTR is defined.
1259 /* STDIO_CNT_LVALUE:
1260 * This symbol is defined if the FILE_cnt macro can be used as an
1263 /*#define USE_STDIO_PTR /**/
1264 #ifdef USE_STDIO_PTR
1265 #define FILE_ptr(fp) ((fp)->_ptr)
1266 #define STDIO_PTR_LVALUE /**/
1267 #define FILE_cnt(fp) ((fp)->_cnt)
1268 #define STDIO_CNT_LVALUE /**/
1272 * This symbol is defined if the _base field (or similar) of the
1273 * stdio FILE structure can be used to access the stdio buffer for
1274 * a file handle. If this is defined, then the FILE_base(fp) macro
1275 * will also be defined and should be used to access this field.
1276 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1277 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1278 * will never be defined unless USE_STDIO_PTR is.
1281 * This macro is used to access the _base field (or equivalent) of the
1282 * FILE structure pointed to by its argument. This macro will always be
1283 * defined if USE_STDIO_BASE is defined.
1286 * This macro is used to determine the number of bytes in the I/O
1287 * buffer pointed to by _base field (or equivalent) of the FILE
1288 * structure pointed to its argument. This macro will always be defined
1289 * if USE_STDIO_BASE is defined.
1291 /*#define USE_STDIO_BASE /**/
1292 #ifdef USE_STDIO_BASE
1293 #define FILE_base(fp) ((fp)->_base)
1294 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1298 * This symbol, if defined, indicates that the vprintf routine is available
1299 * to printf with a pointer to an argument list. If unavailable, you
1300 * may need to write your own, probably in terms of _doprnt().
1302 /* USE_CHAR_VSPRINTF:
1303 * This symbol is defined if this system has vsprintf() returning type
1304 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1305 * is up to the package author to declare vsprintf correctly based on the
1308 #define HAS_VPRINTF /**/
1309 /*#define USE_CHAR_VSPRINTF /**/
1312 * This symbol contains the size of a double, so that the C preprocessor
1313 * can make decisions based on it.
1315 #define DOUBLESIZE 8 /**/
1318 * This symbol, if defined, indicates to the C program that it should
1322 * This symbol, if defined, indicates to the C program that it should
1323 * include <sys/time.h>.
1325 /* I_SYS_TIME_KERNEL:
1326 * This symbol, if defined, indicates to the C program that it should
1327 * include <sys/time.h> with KERNEL defined.
1330 /*#define I_SYS_TIME /**/
1331 /*#define I_SYS_TIME_KERNEL /**/
1334 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1335 * non-blocking I/O for the file descriptor. Note that there is no way
1336 * back, i.e. you cannot turn it blocking again this way. If you wish to
1337 * alternatively switch between blocking and non-blocking, use the
1338 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1341 * This symbol holds the errno error code set by read() when no data was
1342 * present on the non-blocking file descriptor.
1345 * This symbol holds the return code from read() when no data is present
1346 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1347 * not defined, then you can't distinguish between no data and EOF by
1348 * issuing a read(). You'll have to find another way to tell for sure!
1351 * This symbol, if defined, indicates to the C program that a read() on
1352 * a non-blocking file descriptor will return 0 on EOF, and not the value
1353 * held in RD_NODATA (-1 usually, in that case!).
1355 #define VAL_O_NONBLOCK O_NONBLOCK
1356 #define VAL_EAGAIN EAGAIN
1357 #define RD_NODATA -1
1358 #define EOF_NONBLOCK
1361 * This symbol contains the size of a pointer, so that the C preprocessor
1362 * can make decisions based on it. It will be sizeof(void *) if
1363 * the compiler supports (void *); otherwise it will be
1366 #define PTRSIZE 4 /**/
1369 * This macro is to be used to generate uniformly distributed
1370 * random numbers over the range [0., 1.[. You may have to supply
1371 * an 'extern double drand48();' in your program since SunOS 4.1.3
1372 * doesn't provide you with anything relevant in it's headers.
1373 * See HAS_DRAND48_PROTO.
1376 * This symbol defines the type of the argument of the
1377 * random seed function.
1380 * This symbol defines the macro to be used in seeding the
1381 * random number generator (see Drand01).
1384 * This symbol indicates how many bits are produced by the
1385 * function used to generate normalized random numbers.
1386 * Values include 15, 16, 31, and 48.
1388 #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
1389 #define Rand_seed_t unsigned /**/
1390 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
1391 #define RANDBITS 15 /**/
1394 * This symbol holds the type used by functions that return
1395 * a count of bytes or an error condition. It must be a signed type.
1396 * It is usually ssize_t, but may be long or int, etc.
1397 * It may be necessary to include <sys/types.h> or <unistd.h>
1398 * to get any typedef'ed information.
1399 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1401 #define SSize_t int /* signed count of bytes */
1404 * This symbol, if defined, indicates that this system uses
1407 /*#define EBCDIC /**/
1410 * This variable, if defined, holds the name of the directory in
1411 * which the user wants to put architecture-dependent public
1412 * library files for perl5. It is most often a local directory
1413 * such as /usr/local/lib. Programs using this variable must be
1414 * prepared to deal with filename expansion. If ARCHLIB is the
1415 * same as PRIVLIB, it is not defined, since presumably the
1416 * program already searches PRIVLIB.
1419 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1420 * in programs that are not prepared to deal with ~ expansion at run-time.
1422 #define ARCHLIB "c:\\perl\\5.00562\\lib\\MSWin32-x86" /**/
1423 /*#define ARCHLIB_EXP "" /**/
1426 * This symbol holds the path of the bin directory where the package will
1427 * be installed. Program must be prepared to deal with ~name substitution.
1430 * This symbol is the filename expanded version of the BIN symbol, for
1431 * programs that do not want to deal with that at run-time.
1433 #define BIN "c:\\perl\\5.00562\\bin\\MSWin32-x86" /**/
1434 #define BIN_EXP "c:\\perl\\5.00562\\bin\\MSWin32-x86" /**/
1436 /* INSTALL_USR_BIN_PERL:
1437 * This symbol, if defined, indicates that Perl is to be installed
1438 * also as /usr/bin/perl.
1440 /*#define INSTALL_USR_BIN_PERL /**/
1443 * This symbol contains the name of the private library for this package.
1444 * The library is private in the sense that it needn't be in anyone's
1445 * execution path, but it should be accessible by the world. The program
1446 * should be prepared to do ~ expansion.
1449 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1450 * in programs that are not prepared to deal with ~ expansion at run-time.
1452 #define PRIVLIB "c:\\perl\\5.00562\\lib" /**/
1453 #define PRIVLIB_EXP (win32_get_privlib("5.00562")) /**/
1456 * This symbol contains the name of the private library for this package.
1457 * The library is private in the sense that it needn't be in anyone's
1458 * execution path, but it should be accessible by the world. The program
1459 * should be prepared to do ~ expansion.
1460 * The standard distribution will put nothing in this directory.
1461 * Individual sites may place their own extensions and modules in
1465 * This symbol contains the ~name expanded version of SITEARCH, to be used
1466 * in programs that are not prepared to deal with ~ expansion at run-time.
1468 #define SITEARCH "c:\\perl\\site\\5.00562\\lib\\MSWin32-x86" /**/
1469 /*#define SITEARCH_EXP "" /**/
1472 * This symbol contains the name of the private library for this package.
1473 * The library is private in the sense that it needn't be in anyone's
1474 * execution path, but it should be accessible by the world. The program
1475 * should be prepared to do ~ expansion.
1476 * The standard distribution will put nothing in this directory.
1477 * Individual sites may place their own extensions and modules in
1481 * This symbol contains the ~name expanded version of SITELIB, to be used
1482 * in programs that are not prepared to deal with ~ expansion at run-time.
1484 #define SITELIB "c:\\perl\\site\\5.00562\\lib" /**/
1485 #define SITELIB_EXP (win32_get_sitelib("5.00562")) /**/
1487 /* PERL_VENDORLIB_EXP:
1488 * This symbol contains the ~name expanded version of VENDORLIB, to be used
1489 * in programs that are not prepared to deal with ~ expansion at run-time.
1491 /*#define PERL_VENDORLIB_EXP "" /**/
1494 * This symbol contains the name of the operating system, as determined
1495 * by Configure. You shouldn't rely on it too much; the specific
1496 * feature tests from Configure are generally more reliable.
1498 #define OSNAME "MSWin32" /**/
1501 * This macro catenates 2 tokens together.
1504 * This macro surrounds its token with double quotes.
1507 #define CAT2(a,b)a/**/b
1508 #define STRINGIFY(a)"a"
1509 /* If you can get stringification with catify, tell me how! */
1512 #define CAT2(a,b)a ## b
1513 #define StGiFy(a)# a
1514 #define STRINGIFY(a)StGiFy(a)
1516 #if 42 != 1 && 42 != 42
1517 #include "Bletch: How does this C preprocessor catenate tokens?"
1521 * This symbol contains the first part of the string which will invoke
1522 * the C preprocessor on the standard input and produce to standard
1523 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1524 * call a wrapper. See CPPRUN.
1527 * This symbol contains the second part of the string which will invoke
1528 * the C preprocessor on the standard input and produce to standard
1529 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1530 * to specify standard input, otherwise the value is "".
1533 * This symbol contains the string which will invoke a C preprocessor on
1534 * the standard input and produce to standard output. It needs to end
1535 * with CPPLAST, after all other preprocessor flags have been specified.
1536 * The main difference with CPPSTDIN is that this program will never be a
1537 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1538 * available directly to the user. Note that it may well be different from
1539 * the preprocessor used to compile the C program.
1542 * This symbol is intended to be used along with CPPRUN in the same manner
1543 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1545 #define CPPSTDIN "gcc -E"
1546 #define CPPMINUS "-"
1547 #define CPPRUN "gcc -E"
1551 * This manifest constant lets the C program know that the access()
1552 * system call is available to check for accessibility using real UID/GID.
1553 * (always present on UNIX.)
1555 #define HAS_ACCESS /**/
1558 * This symbol, if defined, indicates that the C-shell exists.
1561 * This symbol, if defined, contains the full pathname of csh.
1563 /*#define HAS_CSH /**/
1569 * This symbol, if defined, indicates that the getgrent routine is
1570 * available for finalizing sequential access of the group database.
1572 /*#define HAS_ENDGRENT /**/
1575 * This symbol, if defined, indicates that the endhostent() routine is
1576 * available to close whatever was being used for host queries.
1578 /*#define HAS_ENDHOSTENT /**/
1581 * This symbol, if defined, indicates that the endnetent() routine is
1582 * available to close whatever was being used for network queries.
1584 /*#define HAS_ENDNETENT /**/
1587 * This symbol, if defined, indicates that the endprotoent() routine is
1588 * available to close whatever was being used for protocol queries.
1590 /*#define HAS_ENDPROTOENT /**/
1593 * This symbol, if defined, indicates that the getgrent routine is
1594 * available for finalizing sequential access of the passwd database.
1596 /*#define HAS_ENDPWENT /**/
1599 * This symbol, if defined, indicates that the endservent() routine is
1600 * available to close whatever was being used for service queries.
1602 /*#define HAS_ENDSERVENT /**/
1605 * This symbol, if defined, indicates that the getgrent routine is
1606 * available for sequential access of the group database.
1608 /*#define HAS_GETGRENT /**/
1610 /* HAS_GETHOSTBYADDR:
1611 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1612 * available to look up hosts by their IP addresses.
1614 #define HAS_GETHOSTBYADDR /**/
1616 /* HAS_GETHOSTBYNAME:
1617 * This symbol, if defined, indicates that the gethostbyname() routine is
1618 * available to look up host names in some data base or other.
1620 #define HAS_GETHOSTBYNAME /**/
1623 * This symbol, if defined, indicates that the gethostent() routine is
1624 * available to look up host names in some data base or another.
1626 /*#define HAS_GETHOSTENT /**/
1629 * This symbol, if defined, indicates that the C program may use the
1630 * gethostname() routine to derive the host name. See also HAS_UNAME
1634 * This symbol, if defined, indicates that the C program may use the
1635 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1639 * This symbol, if defined, indicates the command to feed to the
1640 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1641 * and HAS_UNAME. Note that the command uses a fully qualified path,
1642 * so that it is safe even if used by a process with super-user
1646 * This symbol, if defined, indicates that the C program may use the
1647 * contents of PHOSTNAME as a command to feed to the popen() routine
1648 * to derive the host name.
1650 #define HAS_GETHOSTNAME /**/
1651 #define HAS_UNAME /**/
1652 #undef HAS_PHOSTNAME
1653 #ifdef HAS_PHOSTNAME
1654 #define PHOSTNAME "" /* How to get the host name */
1657 /* HAS_GETNETBYADDR:
1658 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1659 * available to look up networks by their IP addresses.
1661 /*#define HAS_GETNETBYADDR /**/
1663 /* HAS_GETNETBYNAME:
1664 * This symbol, if defined, indicates that the getnetbyname() routine is
1665 * available to look up networks by their names.
1667 /*#define HAS_GETNETBYNAME /**/
1670 * This symbol, if defined, indicates that the getnetent() routine is
1671 * available to look up network names in some data base or another.
1673 /*#define HAS_GETNETENT /**/
1676 * This symbol, if defined, indicates that the getprotoent() routine is
1677 * available to look up protocols in some data base or another.
1679 /*#define HAS_GETPROTOENT /**/
1681 /* HAS_GETPROTOBYNAME:
1682 * This symbol, if defined, indicates that the getprotobyname()
1683 * routine is available to look up protocols by their name.
1685 /* HAS_GETPROTOBYNUMBER:
1686 * This symbol, if defined, indicates that the getprotobynumber()
1687 * routine is available to look up protocols by their number.
1689 #define HAS_GETPROTOBYNAME /**/
1690 #define HAS_GETPROTOBYNUMBER /**/
1693 * This symbol, if defined, indicates that the getpwent routine is
1694 * available for sequential access of the passwd database.
1695 * If this is not available, the older getpw() function may be available.
1697 /*#define HAS_GETPWENT /**/
1700 * This symbol, if defined, indicates that the getservent() routine is
1701 * available to look up network services in some data base or another.
1703 /*#define HAS_GETSERVENT /**/
1705 /* HAS_GETSERVBYNAME:
1706 * This symbol, if defined, indicates that the getservbyname()
1707 * routine is available to look up services by their name.
1709 /* HAS_GETSERVBYPORT:
1710 * This symbol, if defined, indicates that the getservbyport()
1711 * routine is available to look up services by their port.
1713 #define HAS_GETSERVBYNAME /**/
1714 #define HAS_GETSERVBYPORT /**/
1717 * This symbol, if defined, indicates that the htonl() routine (and
1718 * friends htons() ntohl() ntohs()) are available to do network
1719 * order byte swapping.
1722 * This symbol, if defined, indicates that the htons() routine (and
1723 * friends htonl() ntohl() ntohs()) are available to do network
1724 * order byte swapping.
1727 * This symbol, if defined, indicates that the ntohl() routine (and
1728 * friends htonl() htons() ntohs()) are available to do network
1729 * order byte swapping.
1732 * This symbol, if defined, indicates that the ntohs() routine (and
1733 * friends htonl() htons() ntohl()) are available to do network
1734 * order byte swapping.
1736 #define HAS_HTONL /**/
1737 #define HAS_HTONS /**/
1738 #define HAS_NTOHL /**/
1739 #define HAS_NTOHS /**/
1742 * This symbol will be defined if the C compiler supports long
1746 * This symbol contains the size of a long double, so that the
1747 * C preprocessor can make decisions based on it. It is only
1748 * defined if the system supports long doubles.
1750 #define HAS_LONG_DOUBLE /**/
1751 #ifdef HAS_LONG_DOUBLE
1752 #define LONG_DOUBLESIZE 12 /**/
1756 * This symbol will be defined if the C compiler supports long long.
1759 * This symbol contains the size of a long long, so that the
1760 * C preprocessor can make decisions based on it. It is only
1761 * defined if the system supports long long.
1763 /*#define HAS_LONG_LONG /**/
1764 #ifdef HAS_LONG_LONG
1765 #define LONGLONGSIZE 8 /**/
1769 * This symbol, if defined, indicates that the memchr routine is available
1770 * to locate characters within a C string.
1772 #define HAS_MEMCHR /**/
1775 * This symbol, if defined, indicates that the mmap system call is
1776 * available to map a file into memory.
1779 * This symbol holds the return type of the mmap() system call
1780 * (and simultaneously the type of the first argument).
1781 * Usually set to 'void *' or 'cadd_t'.
1783 /*#define HAS_MMAP /**/
1784 #define Mmap_t void * /**/
1787 * This symbol, if defined, indicates that the entire msg*(2) library is
1788 * supported (IPC mechanism based on message queues).
1790 /*#define HAS_MSG /**/
1793 * This symbol, if defined, indicates that the entire sem*(2) library is
1796 /*#define HAS_SEM /**/
1799 * This symbol, if defined, indicates that the setgrent routine is
1800 * available for initializing sequential access of the group database.
1802 /*#define HAS_SETGRENT /**/
1805 * This symbol, if defined, indicates that the setgroups() routine is
1806 * available to set the list of process groups. If unavailable, multiple
1807 * groups are probably not supported.
1809 /*#define HAS_SETGROUPS /**/
1812 * This symbol, if defined, indicates that the sethostent() routine is
1815 /*#define HAS_SETHOSTENT /**/
1818 * This symbol, if defined, indicates that the setnetent() routine is
1821 /*#define HAS_SETNETENT /**/
1824 * This symbol, if defined, indicates that the setprotoent() routine is
1827 /*#define HAS_SETPROTOENT /**/
1830 * This symbol, if defined, indicates that the setpwent routine is
1831 * available for initializing sequential access of the passwd database.
1833 /*#define HAS_SETPWENT /**/
1836 * This symbol, if defined, indicates that the setservent() routine is
1839 /*#define HAS_SETSERVENT /**/
1842 * This symbol, if defined, indicates that the setvbuf routine is
1843 * available to change buffering on an open stdio stream.
1844 * to a line-buffered mode.
1846 #define HAS_SETVBUF /**/
1849 * This symbol, if defined, indicates that the entire shm*(2) library is
1852 /*#define HAS_SHM /**/
1855 * This symbol, if defined, indicates that the BSD socket interface is
1859 * This symbol, if defined, indicates that the BSD socketpair() call is
1863 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1864 * Checking just with #ifdef might not be enough because this symbol
1865 * has been known to be an enum.
1867 /* HAS_MSG_DONTROUTE:
1868 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1869 * Checking just with #ifdef might not be enough because this symbol
1870 * has been known to be an enum.
1873 * This symbol, if defined, indicates that the MSG_OOB is supported.
1874 * Checking just with #ifdef might not be enough because this symbol
1875 * has been known to be an enum.
1878 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1879 * Checking just with #ifdef might not be enough because this symbol
1880 * has been known to be an enum.
1883 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1884 * Checking just with #ifdef might not be enough because this symbol
1885 * has been known to be an enum.
1888 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1889 * Checking just with #ifdef might not be enough because this symbol
1890 * has been known to be an enum.
1893 * This symbol, if defined, indicates that the sendmsg is supported
1894 * to send messages between sockets. You will also need struct
1895 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1898 * This symbol, if defined, indicates that the recvmsg is supported
1899 * to send messages between sockets. You will also need struct
1900 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1902 /* HAS_STRUCT_MSGHDR:
1903 * This symbol, if defined, indicates that the struct msghdr
1904 * (BSD 4.3 or 4.4) is supported. You will also need struct
1905 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1907 /* HAS_STRUCT_CMSGHDR:
1908 * This symbol, if defined, indicates that the struct cmsghdr
1909 * (BSD 4.4) is supported. You will also need struct
1910 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1912 #define HAS_SOCKET /**/
1913 /*#define HAS_SOCKETPAIR /**/
1914 /*#define HAS_MSG_CTRUNC /**/
1915 /*#define HAS_MSG_DONTROUTE /**/
1916 /*#define HAS_MSG_OOB /**/
1917 /*#define HAS_MSG_PEEK /**/
1918 /*#define HAS_MSG_PROXY /**/
1919 /*#define HAS_SCM_RIGHTS /**/
1920 /*#define HAS_SENDMSG /**/
1921 /*#define HAS_RECVMSG /**/
1922 /*#define HAS_STRUCT_MSGHDR /**/
1923 /*#define HAS_STRUCT_CMSGHDR /**/
1926 * This symbol is defined if this system has a stat structure declaring
1927 * st_blksize and st_blocks.
1929 /*#define USE_STAT_BLOCKS /**/
1932 * This symbol, if defined, indicates that the strerror routine is
1933 * available to translate error numbers to strings. See the writeup
1934 * of Strerror() in this file before you try to define your own.
1937 * This symbol, if defined, indicates that the sys_errlist array is
1938 * available to translate error numbers to strings. The extern int
1939 * sys_nerr gives the size of that table.
1942 * This preprocessor symbol is defined as a macro if strerror() is
1943 * not available to translate error numbers to strings but sys_errlist[]
1946 #define HAS_STRERROR /**/
1947 #define HAS_SYS_ERRLIST /**/
1948 #define Strerror(e) strerror(e)
1951 * This symbol, if defined, indicates that the union semun is
1952 * defined by including <sys/sem.h>. If not, the user code
1953 * probably needs to define it as:
1956 * struct semid_ds *buf;
1957 * unsigned short *array;
1960 /* USE_SEMCTL_SEMUN:
1961 * This symbol, if defined, indicates that union semun is
1962 * used for semctl IPC_STAT.
1964 /* USE_SEMCTL_SEMID_DS:
1965 * This symbol, if defined, indicates that struct semid_ds * is
1966 * used for semctl IPC_STAT.
1968 #define HAS_UNION_SEMUN /**/
1969 /*#define USE_SEMCTL_SEMUN /**/
1970 /*#define USE_SEMCTL_SEMID_DS /**/
1973 * This symbol, if defined, indicates that vfork() exists.
1975 /*#define HAS_VFORK /**/
1978 * This symbol's value is either "void" or "int", corresponding to the
1979 * appropriate return type of a signal handler. Thus, you can declare
1980 * a signal handler using "Signal_t (*handler)()", and define the
1981 * handler using "Signal_t handler(sig)".
1983 #define Signal_t void /* Signal handler's return type */
1986 * This symbol holds the type used for the second argument to
1987 * getgroups() and setgropus(). Usually, this is the same as
1988 * gidtype (gid_t) , but sometimes it isn't.
1989 * It can be int, ushort, uid_t, etc...
1990 * It may be necessary to include <sys/types.h> to get any
1991 * typedef'ed information. This is only required if you have
1992 * getgroups() or setgropus()..
1994 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1995 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1999 * This symbol, if defined, indicates to the C program that it should
2003 * This symbol, if defined, indicates to the C program that struct group
2004 * in <grp.h> contains gr_passwd.
2006 /*#define I_GRP /**/
2007 /*#define GRPASSWD /**/
2010 * This symbol, if defined, indicates that <netdb.h> exists and
2011 * should be included.
2013 /*#define I_NETDB /**/
2016 * This symbol, if defined, indicates to the C program that it should
2020 * This symbol, if defined, indicates to the C program that struct passwd
2021 * contains pw_quota.
2024 * This symbol, if defined, indicates to the C program that struct passwd
2028 * This symbol, if defined, indicates to the C program that struct passwd
2029 * contains pw_change.
2032 * This symbol, if defined, indicates to the C program that struct passwd
2033 * contains pw_class.
2036 * This symbol, if defined, indicates to the C program that struct passwd
2037 * contains pw_expire.
2040 * This symbol, if defined, indicates to the C program that struct passwd
2041 * contains pw_comment.
2044 * This symbol, if defined, indicates to the C program that struct passwd
2045 * contains pw_gecos.
2048 * This symbol, if defined, indicates to the C program that struct passwd
2049 * contains pw_passwd.
2051 /*#define I_PWD /**/
2052 /*#define PWQUOTA /**/
2053 /*#define PWAGE /**/
2054 /*#define PWCHANGE /**/
2055 /*#define PWCLASS /**/
2056 /*#define PWEXPIRE /**/
2057 /*#define PWCOMMENT /**/
2058 /*#define PWGECOS /**/
2059 /*#define PWPASSWD /**/
2062 * This symbol, if defined, indicates that <sys/uio.h> exists and
2063 * should be included.
2065 /* HAS_STRUCT_IOVEC:
2066 * This symbol, if defined, indicates that the struct iovec
2067 * to do scatter writes/gather reads is supported.
2069 /*#define I_SYSUIO /**/
2070 /*#define HAS_STRUCT_IOVEC /**/
2073 * This variable contains the return type of free(). It is usually
2074 * void, but occasionally int.
2077 * This symbol is the type of pointer returned by malloc and realloc.
2079 #define Malloc_t void * /**/
2080 #define Free_t void /**/
2083 * This symbol, if defined, indicates that we're using our own malloc.
2085 /*#define MYMALLOC /**/
2088 * This symbol contains a list of signal names in order of
2089 * signal number. This is intended
2090 * to be used as a static array initialization, like this:
2091 * char *sig_name[] = { SIG_NAME };
2092 * The signals in the list are separated with commas, and each signal
2093 * is surrounded by double quotes. There is no leading SIG in the signal
2094 * name, i.e. SIGQUIT is known as "QUIT".
2095 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2096 * etc., where nn is the actual signal number (e.g. NUM37).
2097 * The signal number for sig_name[i] is stored in sig_num[i].
2098 * The last element is 0 to terminate the list with a NULL. This
2099 * corresponds to the 0 at the end of the sig_num list.
2102 * This symbol contains a list of signal numbers, in the same order as the
2103 * SIG_NAME list. It is suitable for static array initialization, as in:
2104 * int sig_num[] = { SIG_NUM };
2105 * The signals in the list are separated with commas, and the indices
2106 * within that list and the SIG_NAME list match, so it's easy to compute
2107 * the signal name from a number or vice versa at the price of a small
2108 * dynamic linear lookup.
2109 * Duplicates are allowed, but are moved to the end of the list.
2110 * The signal number corresponding to sig_name[i] is sig_number[i].
2111 * if (i < NSIG) then sig_number[i] == i.
2112 * The last element is 0, corresponding to the 0 at the end of
2113 * the sig_name list.
2115 #define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/
2116 #define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/
2119 * This symbol indicates how much support of the void type is given by this
2120 * compiler. What various bits mean:
2122 * 1 = supports declaration of void
2123 * 2 = supports arrays of pointers to functions returning void
2124 * 4 = supports comparisons between pointers to void functions and
2125 * addresses of void functions
2126 * 8 = suports declaration of generic void pointers
2128 * The package designer should define VOIDUSED to indicate the requirements
2129 * of the package. This can be done either by #defining VOIDUSED before
2130 * including config.h, or by defining defvoidused in Myinit.U. If the
2131 * latter approach is taken, only those flags will be tested. If the
2132 * level of void support necessary is not present, defines void to int.
2137 #define VOIDFLAGS 15
2138 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2139 #define void int /* is void to be avoided? */
2140 #define M_VOID /* Xenix strikes again */
2144 * This symbol, if defined, indicates that the atolf routine is
2145 * available to convert strings into long doubles.
2147 /*#define HAS_ATOLF /**/
2150 * This symbol, if defined, indicates that the atoll routine is
2151 * available to convert strings into long longs.
2153 /*#define HAS_ATOLL /**/
2155 /* PERL_BINCOMPAT_5005:
2156 * This symbol, if defined, indicates that Perl 5.006 should be
2157 * binary-compatible with Perl 5.005. This is impossible for builds
2158 * that use features like threads and multiplicity it is always undef
2159 * for those versions.
2161 /*#define PERL_BINCOMPAT_5005 /**/
2163 /* DLSYM_NEEDS_UNDERSCORE:
2164 * This symbol, if defined, indicates that we need to prepend an
2165 * underscore to the symbol name before calling dlsym(). This only
2166 * makes sense if you *have* dlsym, which we will presume is the
2167 * case if you're using dl_dlopen.xs.
2169 /*#define DLSYM_NEEDS_UNDERSCORE /**/
2172 * This symbol, if defined, indicates that the endspent system call is
2173 * available to finalize the scan of SysV shadow password entries.
2175 /*#define HAS_ENDSPENT /**/
2178 * This symbol, if defined, indicates that the fseeko routine is
2179 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2181 /*#define HAS_FSEEKO /**/
2184 * This symbol, if defined, indicates that the ftello routine is
2185 * available to ftell beyond 32 bits (useful for ILP32 hosts).
2187 /*#define HAS_FTELLO /**/
2190 * This symbol, if defined, indicates that the getmntent routine is
2191 * available to iterate through mounted file systems.
2193 /*#define HAS_GETMNTENT /**/
2196 * This symbol, if defined, indicates that the getspent system call is
2197 * available to retrieve SysV shadow password entries sequentially.
2199 /*#define HAS_GETSPENT /**/
2202 * This symbol, if defined, indicates that the getspnam system call is
2203 * available to retrieve SysV shadow password entries by name.
2205 /*#define HAS_GETSPNAM /**/
2208 * This symbol, if defined, indicates that the hasmntopt routine is
2209 * available to query the mount options of file systems.
2211 /*#define HAS_HASMNTOPT /**/
2214 * This symbol, if defined, indicates that this system's <float.h>
2215 * or <limits.h> defines the symbol LDBL_DIG, which is the number
2216 * of significant digits in a long double precision number. Unlike
2217 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
2219 #define HAS_LDBL_DIG /**/
2222 * This symbol, if defined, indicates that the madvise system call is
2223 * available to map a file into memory.
2225 /*#define HAS_MADVISE /**/
2228 * This symbol, if defined, indicates that the mprotect system call is
2229 * available to modify the access protection of a memory mapped file.
2231 /*#define HAS_MPROTECT /**/
2234 * This symbol, if defined, indicates that the readv routine is
2235 * available to do gather reads. You will also need <sys/uio.h>
2236 * and there I_SYSUIO.
2238 /*#define HAS_READV /**/
2241 * This symbol, if defined, indicates that the setspent system call is
2242 * available to initialize the scan of SysV shadow password entries.
2244 /*#define HAS_SETSPENT /**/
2247 * This symbol, if defined, indicates that sfio should
2250 /*#define USE_SFIO /**/
2253 * This symbol, if defined, indicates that the fstatfs routine is
2254 * available to stat filesystems of file descriptors.
2256 /* HAS_STRUCT_STATFS_FLAGS:
2257 * This symbol, if defined, indicates that the struct statfs
2258 * does have the f_flags member containing the mount flags of
2259 * the filesystem holding the file.
2260 * This kind of struct statfs is coming from sys/mount.h (BSD),
2261 * not from sys/statfs.h (SYSV).
2263 /*#define HAS_FSTATFS /**/
2264 /*#define HAS_STRUCT_STATFS_FLAGS /**/
2267 * This symbol, if defined, indicates that the fstatvfs routine is
2268 * available to stat filesystems of file descriptors.
2270 /*#define HAS_FSTATVFS /**/
2272 /* HAS_TELLDIR_PROTO:
2273 * This symbol, if defined, indicates that the system provides
2274 * a prototype for the telldir() function. Otherwise, it is up
2275 * to the program to supply one. A good guess is
2276 * extern long telldir _((DIR*));
2278 #define HAS_TELLDIR_PROTO /**/
2281 * This symbol, if defined, indicates that the writev routine is
2282 * available to do scatter writes.
2284 /*#define HAS_WRITEV /**/
2286 /* USE_DYNAMIC_LOADING:
2287 * This symbol, if defined, indicates that dynamic loading of
2288 * some sort is available.
2290 #define USE_DYNAMIC_LOADING /**/
2293 * This symbol, if defined, tells that fflush(NULL) does flush
2294 * all pending stdio output.
2297 * This symbol, if defined, tells that to flush
2298 * all pending stdio output one must loop through all
2299 * the stdio file handles stored in an array and fflush them.
2300 * Note that if fflushNULL is defined, fflushall will not
2301 * even be probed for and will be left undefined.
2303 #define FFLUSH_NULL /**/
2304 /*#define FFLUSH_ALL /**/
2307 * This symbol contains the type of the prefix structure element
2308 * in the <db.h> header file. In older versions of DB, it was
2309 * int, while in newer ones it is u_int32_t.
2312 * This symbol contains the type of the prefix structure element
2313 * in the <db.h> header file. In older versions of DB, it was
2314 * int, while in newer ones it is size_t.
2316 #define DB_Hash_t int /**/
2317 #define DB_Prefix_t int /**/
2320 * This symbol, if defined, indicates to the C program that it should
2321 * include <inttypes.h>.
2324 * This symbol will defined if the C compiler supports int64_t.
2325 * Usually the <inttypes.h> needs to be included, but sometimes
2326 * <sys/types.h> is enough.
2328 /*#define I_INTTYPES /**/
2329 /*#define HAS_INT64_T /**/
2332 * This symbol, if defined, indicates that <mntent.h> exists and
2333 * should be included.
2335 /*#define I_MNTENT /**/
2338 * This symbol, if defined, indicates to the C program that it should
2339 * include <netinet/tcp.h>.
2341 /*#define I_NETINET_TCP /**/
2344 * This symbol, if defined, indicates that <poll.h> exists and
2345 * should be included.
2347 /*#define I_POLL /**/
2350 * This symbol, if defined, indicates that <shadow.h> exists and
2351 * should be included.
2353 /*#define I_SHADOW /**/
2356 * This symbol, if defined, indicates that <socks.h> exists and
2357 * should be included.
2359 /*#define I_SOCKS /**/
2362 * This symbol, if defined, indicates that <sys/mman.h> exists and
2363 * should be included.
2365 /*#define I_SYS_MMAN /**/
2368 * This symbol, if defined, indicates that <sys/mount.h> exists and
2369 * should be included.
2371 /*#define I_SYS_MOUNT /**/
2374 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2375 * should be included.
2377 /*#define I_SYS_STATVFS /**/
2380 * This symbol will be defined if the C compiler supports off64_t.
2383 * This symbol will be defined if the C compiler supports fpos64_t.
2385 /*#define HAS_OFF64_T /**/
2386 /*#define HAS_FPOS64_T /**/
2389 * This symbol, if defined, contains the string used by stdio to
2390 * format long doubles (format 'f') for output.
2393 * This symbol, if defined, contains the string used by stdio to
2394 * format long doubles (format 'g') for output.
2396 /*#define PERL_PRIfldbl "f" /**/
2397 /*#define PERL_PRIgldbl "g" /**/
2400 * This symbol, if defined, contains the string used by stdio to
2401 * format 64-bit decimal numbers (format 'd') for output.
2404 * This symbol, if defined, contains the string used by stdio to
2405 * format 64-bit unsigned decimal numbers (format 'u') for output.
2408 * This symbol, if defined, contains the string used by stdio to
2409 * format 64-bit octal numbers (format 'o') for output.
2412 * This symbol, if defined, contains the string used by stdio to
2413 * format 64-bit hexadecimal numbers (format 'x') for output.
2415 /*#define PERL_PRId64 "ld" /**/
2416 /*#define PERL_PRIu64 "lu" /**/
2417 /*#define PERL_PRIo64 "lo" /**/
2418 /*#define PERL_PRIx64 "lx" /**/
2421 * This symbol holds the minimum number of bits operated by select.
2422 * That is, if you do select(n, ...), how many bits at least will be
2423 * cleared in the masks if some activity is detected. Usually this
2424 * is either n or 32*ceil(n/32), especially many little-endians do
2425 * the latter. This is only useful if you have select(), naturally.
2427 #define SELECT_MIN_BITS 32 /**/
2430 * This variable contains the string to put in front of a perl
2431 * script to make sure (one hopes) that it runs with perl and not
2434 #define STARTPERL "#!perl" /**/
2436 /* HAS_STDIO_STREAM_ARRAY:
2437 * This symbol, if defined, tells that there is an array
2438 * holding the stdio streams.
2440 /* STDIO_STREAM_ARRAY:
2441 * This symbol tells the name of the array holding the stdio streams.
2442 * Usual values include _iob, __iob, and __sF.
2444 /*#define HAS_STDIO_STREAM_ARRAY /**/
2445 #define STDIO_STREAM_ARRAY
2448 * This symbol, if defined, indicates that the strtoull routine is
2449 * available to convert strings into unsigned long longs.
2451 /*#define HAS_STRTOULL /**/
2454 * This symbol, if defined, indicates that 64-bit interfaces should
2455 * be used when available. If not defined, the native default interfaces
2456 * will be used (be they 32 or 64 bits).
2458 /*#define USE_64_BITS /**/
2461 * This symbol, if defined, indicates that large file support
2462 * should be used when available. The USE_64_BITS symbol will
2463 * also be turned on if necessary.
2465 /*#define USE_LARGE_FILES /**/
2468 * This symbol, if defined, indicates that long doubles should
2469 * be used when available.
2471 /*#define USE_LONG_DOUBLE /**/
2474 * This symbol, if defined, indicates that Perl should
2475 * be built to use multiplicity.
2477 /*#define MULTIPLICITY /**/
2480 * This symbol, if defined, indicates that the PerlIO abstraction should
2481 * be used throughout. If not defined, stdio should be
2482 * used in a fully backward compatible manner.
2484 /*#define USE_PERLIO /**/
2487 * This symbol, if defined, indicates that Perl should
2488 * be built to use socks.
2490 /*#define USE_SOCKS /**/
2492 /* PERL_XS_APIVERSION:
2493 * This variable contains the version of the oldest perl binary
2494 * compatible with the present perl. perl.c:incpush() and
2495 * lib/lib.pm will automatically search in c:\\perl\\site\\5.00562\\lib\\MSWin32-x86 for older
2496 * directories across major versions back to xs_apiversion.
2497 * This is only useful if you have a perl library directory tree
2498 * structured like the default one.
2499 * See INSTALL for how this works.
2500 * The versioned site_perl directory was introduced in 5.005,
2501 * so that is the lowest possible value.
2502 * Since this can depend on compile time options (such as
2503 * bincompat) it is set by Configure. Other non-default sources
2504 * of potential incompatibility, such as multiplicity, threads,
2505 * debugging, 64bits, sfio, etc., are not checked for currently,
2506 * though in principle we could go snooping around in old
2509 /* PERL_PM_APIVERSION:
2510 * This variable contains the version of the oldest perl
2511 * compatible with the present perl. (That is, pure perl modules
2512 * written for pm_apiversion will still work for the current
2513 * version). perl.c:incpush() and lib/lib.pm will automatically
2514 * search in c:\\perl\\site\\5.00562\\lib for older directories across major versions
2515 * back to pm_apiversion. This is only useful if you have a perl
2516 * library directory tree structured like the default one. The
2517 * versioned site_perl library was introduced in 5.005, so that's
2518 * the default setting for this variable. It's hard to imagine
2519 * it changing before Perl6. It is included here for symmetry
2520 * with xs_apiveprsion -- the searching algorithms will
2521 * (presumably) be similar.
2522 * See the INSTALL file for how this works.
2524 #define PERL_XS_APIVERSION 5.00562 /* Change to string for tuples?*/
2525 #define PERL_PM_APIVERSION 5.005 /* Change to string for tuples?*/
2527 /* HAS_DRAND48_PROTO:
2528 * This symbol, if defined, indicates that the system provides
2529 * a prototype for the drand48() function. Otherwise, it is up
2530 * to the program to supply one. A good guess is
2531 * extern double drand48 _((void));
2533 /*#define HAS_DRAND48_PROTO /**/
2535 /* HAS_GETHOST_PROTOS:
2536 * This symbol, if defined, indicates that <netdb.h> includes
2537 * prototypes for gethostent(), gethostbyname(), and
2538 * gethostbyaddr(). Otherwise, it is up to the program to guess
2539 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2541 #define HAS_GETHOST_PROTOS /**/
2543 /* HAS_GETNET_PROTOS:
2544 * This symbol, if defined, indicates that <netdb.h> includes
2545 * prototypes for getnetent(), getnetbyname(), and
2546 * getnetbyaddr(). Otherwise, it is up to the program to guess
2547 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2549 /*#define HAS_GETNET_PROTOS /**/
2551 /* HAS_GETPROTO_PROTOS:
2552 * This symbol, if defined, indicates that <netdb.h> includes
2553 * prototypes for getprotoent(), getprotobyname(), and
2554 * getprotobyaddr(). Otherwise, it is up to the program to guess
2555 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2557 #define HAS_GETPROTO_PROTOS /**/
2559 /* HAS_GETSERV_PROTOS:
2560 * This symbol, if defined, indicates that <netdb.h> includes
2561 * prototypes for getservent(), getservbyname(), and
2562 * getservbyaddr(). Otherwise, it is up to the program to guess
2563 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2565 #define HAS_GETSERV_PROTOS /**/
2568 * This symbol holds the type used for the 1st argument
2569 * to gethostbyaddr().
2572 * This symbol holds the type used for the 2nd argument
2573 * to gethostbyaddr().
2576 * This symbol holds the type used for the argument to
2580 * This symbol holds the type used for the 1st argument to
2583 #define Netdb_host_t char * /**/
2584 #define Netdb_hlen_t int /**/
2585 #define Netdb_name_t char * /**/
2586 #define Netdb_net_t long /**/
2589 * This symbol holds the type used for the 2nd, 3rd, and 4th
2590 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2591 * is defined, and 'int *' otherwise. This is only useful if you
2592 * have select(), of course.
2594 #define Select_fd_set_t Perl_fd_set * /**/
2597 * This symbol holds a string representing the architecture name.
2598 * It may be used to construct an architecture-dependant pathname
2599 * where library files may be held under a private library, for
2602 #define ARCHNAME "MSWin32-x86" /**/
2604 /* OLD_PTHREAD_CREATE_JOINABLE:
2605 * This symbol, if defined, indicates how to create pthread
2606 * in joinable (aka undetached) state. NOTE: not defined
2607 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2608 * (the new version of the constant).
2609 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2612 /*#define OLD_PTHREAD_CREATE_JOINABLE /**/
2614 /* HAS_PTHREAD_YIELD:
2615 * This symbol, if defined, indicates that the pthread_yield
2616 * routine is available to yield the execution of the current
2617 * thread. sched_yield is preferable to pthread_yield.
2620 * This symbol defines the way to yield the execution of
2621 * the current thread. Known ways are sched_yield,
2622 * pthread_yield, and pthread_yield with NULL.
2625 * This symbol, if defined, indicates that the sched_yield
2626 * routine is available to yield the execution of the current
2627 * thread. sched_yield is preferable to pthread_yield.
2629 /*#define HAS_PTHREAD_YIELD /**/
2630 #define SCHED_YIELD /**/
2631 /*#define HAS_SCHED_YIELD /**/
2634 * This symbol, if defined, indicates to the C program that it should
2635 * include <mach/cthreads.h>.
2637 /*#define I_MACH_CTHREADS /**/
2640 * This symbol, if defined, indicates to the C program that it should
2641 * include <pthread.h>.
2643 /*#define I_PTHREAD /**/
2646 * This symbol, if defined, indicates that Perl should
2647 * be built to use threads.
2649 /* OLD_PTHREADS_API:
2650 * This symbol, if defined, indicates that Perl should
2651 * be built to use the old draft POSIX threads API.
2653 /*#define USE_THREADS /**/
2654 /*#define OLD_PTHREADS_API /**/
2657 * This symbol holds the type returned by time(). It can be long,
2658 * or time_t on BSD sites (in which case <sys/types.h> should be
2661 #define Time_t time_t /* Time type */
2664 * This symbol, if defined, indicates that the times() routine exists.
2665 * Note that this became obsolete on some systems (SUNOS), which now
2666 * use getrusage(). It may be necessary to include <sys/times.h>.
2668 #define HAS_TIMES /**/
2671 * This symbol holds the type used to declare file positions in libc.
2672 * It can be fpos_t, long, uint, etc... It may be necessary to include
2673 * <sys/types.h> to get any typedef'ed information.
2675 #define Fpos_t fpos_t /* File position type */
2678 * This symbol holds the return type of getgid() and the type of
2679 * argument to setrgid() and related functions. Typically,
2680 * it is the type of group ids in the kernel. It can be int, ushort,
2681 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2682 * any typedef'ed information.
2684 #define Gid_t gid_t /* Type for getgid(), etc... */
2687 * This symbol holds the type used to declare offsets in the kernel.
2688 * It can be int, long, off_t, etc... It may be necessary to include
2689 * <sys/types.h> to get any typedef'ed information.
2692 * This symbol holds the number of bytes used by the Off_t.
2694 #define Off_t off_t /* <offset> type */
2695 #define LSEEKSIZE 4 /* <offset> size */
2698 * This symbol holds the type used to declare file modes
2699 * for systems calls. It is usually mode_t, but may be
2700 * int or unsigned short. It may be necessary to include <sys/types.h>
2701 * to get any typedef'ed information.
2703 #define Mode_t mode_t /* file mode parameter for system calls */
2706 * This symbol holds the type used to declare process ids in the kernel.
2707 * It can be int, uint, pid_t, etc... It may be necessary to include
2708 * <sys/types.h> to get any typedef'ed information.
2710 #define Pid_t int /* PID type */
2713 * This symbol holds the type used to declare length parameters
2714 * for string functions. It is usually size_t, but may be
2715 * unsigned long, int, etc. It may be necessary to include
2716 * <sys/types.h> to get any typedef'ed information.
2718 #define Size_t size_t /* length paramater for string functions */
2721 * This symbol holds the signedess of a Uid_t.
2722 * 1 for unsigned, -1 for signed.
2724 #define Uid_t_SIGN -1 /* UID sign */
2727 * This symbol holds the type used to declare user ids in the kernel.
2728 * It can be int, ushort, uid_t, etc... It may be necessary to include
2729 * <sys/types.h> to get any typedef'ed information.
2731 #define Uid_t uid_t /* UID type */