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: undef
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.00558\\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.00558\\bin\\MSWin32-x86" /**/
1434 #define BIN_EXP "c:\\perl\\5.00558\\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.00558\\lib" /**/
1453 #define PRIVLIB_EXP (win32_get_privlib("5.00558")) /**/
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.00558\\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.00558\\lib" /**/
1485 #define SITELIB_EXP (win32_get_sitelib("5.00558")) /**/
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 "undef" /**/
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.
1541 #define CPPSTDIN "cl -nologo -E"
1543 #define CPPRUN "cl -nologo -E"
1546 * This manifest constant lets the C program know that the access()
1547 * system call is available to check for accessibility using real UID/GID.
1548 * (always present on UNIX.)
1550 #define HAS_ACCESS /**/
1553 * This symbol, if defined, indicates that the C-shell exists.
1556 * This symbol, if defined, contains the full pathname of csh.
1558 /*#define HAS_CSH /**/
1564 * This symbol, if defined, indicates that the getgrent routine is
1565 * available for finalizing sequential access of the group database.
1567 /*#define HAS_ENDGRENT /**/
1570 * This symbol, if defined, indicates that the endhostent() routine is
1571 * available to close whatever was being used for host queries.
1573 /*#define HAS_ENDHOSTENT /**/
1576 * This symbol, if defined, indicates that the endnetent() routine is
1577 * available to close whatever was being used for network queries.
1579 /*#define HAS_ENDNETENT /**/
1582 * This symbol, if defined, indicates that the endprotoent() routine is
1583 * available to close whatever was being used for protocol queries.
1585 /*#define HAS_ENDPROTOENT /**/
1588 * This symbol, if defined, indicates that the getgrent routine is
1589 * available for finalizing sequential access of the passwd database.
1591 /*#define HAS_ENDPWENT /**/
1594 * This symbol, if defined, indicates that the endservent() routine is
1595 * available to close whatever was being used for service queries.
1597 /*#define HAS_ENDSERVENT /**/
1600 * This symbol, if defined, indicates that the getgrent routine is
1601 * available for sequential access of the group database.
1603 /*#define HAS_GETGRENT /**/
1605 /* HAS_GETHOSTBYADDR:
1606 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1607 * available to look up hosts by their IP addresses.
1609 #define HAS_GETHOSTBYADDR /**/
1611 /* HAS_GETHOSTBYNAME:
1612 * This symbol, if defined, indicates that the gethostbyname() routine is
1613 * available to look up host names in some data base or other.
1615 #define HAS_GETHOSTBYNAME /**/
1618 * This symbol, if defined, indicates that the gethostent() routine is
1619 * available to look up host names in some data base or another.
1621 /*#define HAS_GETHOSTENT /**/
1624 * This symbol, if defined, indicates that the C program may use the
1625 * gethostname() routine to derive the host name. See also HAS_UNAME
1629 * This symbol, if defined, indicates that the C program may use the
1630 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1634 * This symbol, if defined, indicates the command to feed to the
1635 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1636 * and HAS_UNAME. Note that the command uses a fully qualified path,
1637 * so that it is safe even if used by a process with super-user
1640 #define HAS_GETHOSTNAME /**/
1641 #define HAS_UNAME /**/
1642 #undef HAS_PHOSTNAME
1643 #ifdef HAS_PHOSTNAME
1644 #define PHOSTNAME "" /* How to get the host name */
1647 /* HAS_GETNETBYADDR:
1648 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1649 * available to look up networks by their IP addresses.
1651 /*#define HAS_GETNETBYADDR /**/
1653 /* HAS_GETNETBYNAME:
1654 * This symbol, if defined, indicates that the getnetbyname() routine is
1655 * available to look up networks by their names.
1657 /*#define HAS_GETNETBYNAME /**/
1660 * This symbol, if defined, indicates that the getnetent() routine is
1661 * available to look up network names in some data base or another.
1663 /*#define HAS_GETNETENT /**/
1666 * This symbol, if defined, indicates that the getprotoent() routine is
1667 * available to look up protocols in some data base or another.
1669 /*#define HAS_GETPROTOENT /**/
1671 /* HAS_GETPROTOBYNAME:
1672 * This symbol, if defined, indicates that the getprotobyname()
1673 * routine is available to look up protocols by their name.
1675 /* HAS_GETPROTOBYNUMBER:
1676 * This symbol, if defined, indicates that the getprotobynumber()
1677 * routine is available to look up protocols by their number.
1679 #define HAS_GETPROTOBYNAME /**/
1680 #define HAS_GETPROTOBYNUMBER /**/
1683 * This symbol, if defined, indicates that the getpwent routine is
1684 * available for sequential access of the passwd database.
1685 * If this is not available, the older getpw() function may be available.
1687 /*#define HAS_GETPWENT /**/
1690 * This symbol, if defined, indicates that the getservent() routine is
1691 * available to look up network services in some data base or another.
1693 /*#define HAS_GETSERVENT /**/
1695 /* HAS_GETSERVBYNAME:
1696 * This symbol, if defined, indicates that the getservbyname()
1697 * routine is available to look up services by their name.
1699 /* HAS_GETSERVBYPORT:
1700 * This symbol, if defined, indicates that the getservbyport()
1701 * routine is available to look up services by their port.
1703 #define HAS_GETSERVBYNAME /**/
1704 #define HAS_GETSERVBYPORT /**/
1707 * This symbol, if defined, indicates that the htonl() routine (and
1708 * friends htons() ntohl() ntohs()) are available to do network
1709 * order byte swapping.
1712 * This symbol, if defined, indicates that the htons() routine (and
1713 * friends htonl() ntohl() ntohs()) are available to do network
1714 * order byte swapping.
1717 * This symbol, if defined, indicates that the ntohl() routine (and
1718 * friends htonl() htons() ntohs()) are available to do network
1719 * order byte swapping.
1722 * This symbol, if defined, indicates that the ntohs() routine (and
1723 * friends htonl() htons() ntohl()) are available to do network
1724 * order byte swapping.
1726 #define HAS_HTONL /**/
1727 #define HAS_HTONS /**/
1728 #define HAS_NTOHL /**/
1729 #define HAS_NTOHS /**/
1732 * This symbol will be defined if the C compiler supports long
1736 * This symbol contains the size of a long double, so that the
1737 * C preprocessor can make decisions based on it. It is only
1738 * defined if the system supports long doubles.
1740 #define HAS_LONG_DOUBLE /**/
1741 #ifdef HAS_LONG_DOUBLE
1742 #define LONG_DOUBLESIZE 10 /**/
1746 * This symbol will be defined if the C compiler supports long long.
1749 * This symbol contains the size of a long long, so that the
1750 * C preprocessor can make decisions based on it. It is only
1751 * defined if the system supports long long.
1753 /*#define HAS_LONG_LONG /**/
1754 #ifdef HAS_LONG_LONG
1755 #define LONGLONGSIZE 8 /**/
1759 * This symbol, if defined, indicates that the memchr routine is available
1760 * to locate characters within a C string.
1762 /*#define HAS_MEMCHR /**/
1765 * This symbol, if defined, indicates that the mmap system call is
1766 * available to map a file into memory.
1769 * This symbol holds the return type of the mmap() system call
1770 * (and simultaneously the type of the first argument).
1771 * Usually set to 'void *' or 'cadd_t'.
1773 /*#define HAS_MMAP /**/
1774 #define Mmap_t void * /**/
1777 * This symbol, if defined, indicates that the entire msg*(2) library is
1778 * supported (IPC mechanism based on message queues).
1780 /*#define HAS_MSG /**/
1783 * This symbol, if defined, indicates that the entire sem*(2) library is
1786 /*#define HAS_SEM /**/
1789 * This symbol, if defined, indicates that the setgrent routine is
1790 * available for initializing sequential access of the group database.
1792 /*#define HAS_SETGRENT /**/
1795 * This symbol, if defined, indicates that the setgroups() routine is
1796 * available to set the list of process groups. If unavailable, multiple
1797 * groups are probably not supported.
1799 /*#define HAS_SETGROUPS /**/
1802 * This symbol, if defined, indicates that the sethostent() routine is
1805 /*#define HAS_SETHOSTENT /**/
1808 * This symbol, if defined, indicates that the setnetent() routine is
1811 /*#define HAS_SETNETENT /**/
1814 * This symbol, if defined, indicates that the setprotoent() routine is
1817 /*#define HAS_SETPROTOENT /**/
1820 * This symbol, if defined, indicates that the setpwent routine is
1821 * available for initializing sequential access of the passwd database.
1823 /*#define HAS_SETPWENT /**/
1826 * This symbol, if defined, indicates that the setservent() routine is
1829 /*#define HAS_SETSERVENT /**/
1832 * This symbol, if defined, indicates that the setvbuf routine is
1833 * available to change buffering on an open stdio stream.
1834 * to a line-buffered mode.
1836 #define HAS_SETVBUF /**/
1839 * This symbol, if defined, indicates that the entire shm*(2) library is
1842 /*#define HAS_SHM /**/
1845 * This symbol, if defined, indicates that the BSD socket interface is
1849 * This symbol, if defined, indicates that the BSD socketpair() call is
1853 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1854 * Checking just with #ifdef might not be enough because this symbol
1855 * has been known to be an enum.
1857 /* HAS_MSG_DONTROUTE:
1858 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1859 * Checking just with #ifdef might not be enough because this symbol
1860 * has been known to be an enum.
1863 * This symbol, if defined, indicates that the MSG_OOB is supported.
1864 * Checking just with #ifdef might not be enough because this symbol
1865 * has been known to be an enum.
1868 * This symbol, if defined, indicates that the MSG_PEEK 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_PROXY 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 SCM_RIGHTS 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 sendmsg is supported
1884 * to send messages between sockets. You will also need struct
1885 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1888 * This symbol, if defined, indicates that the recvmsg is supported
1889 * to send messages between sockets. You will also need struct
1890 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1892 /* HAS_STRUCT_MSGHDR:
1893 * This symbol, if defined, indicates that the struct msghdr
1894 * (BSD 4.3 or 4.4) is supported. You will also need struct
1895 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1897 /* HAS_STRUCT_CMSGHDR:
1898 * This symbol, if defined, indicates that the struct cmsghdr
1899 * (BSD 4.4) is supported. You will also need struct
1900 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1902 #define HAS_SOCKET /**/
1903 /*#define HAS_SOCKETPAIR /**/
1904 /*#define HAS_MSG_CTRUNC /**/
1905 /*#define HAS_MSG_DONTROUTE /**/
1906 /*#define HAS_MSG_OOB /**/
1907 /*#define HAS_MSG_PEEK /**/
1908 /*#define HAS_MSG_PROXY /**/
1909 /*#define HAS_SCM_RIGHTS /**/
1910 /*#define HAS_SENDMSG /**/
1911 /*#define HAS_RECVMSG /**/
1912 /*#define HAS_STRUCT_MSGHDR /**/
1913 /*#define HAS_STRUCT_CMSGHDR /**/
1916 * This symbol is defined if this system has a stat structure declaring
1917 * st_blksize and st_blocks.
1919 /*#define USE_STAT_BLOCKS /**/
1922 * This symbol, if defined, indicates that the strerror routine is
1923 * available to translate error numbers to strings. See the writeup
1924 * of Strerror() in this file before you try to define your own.
1927 * This symbol, if defined, indicates that the sys_errlist array is
1928 * available to translate error numbers to strings. The extern int
1929 * sys_nerr gives the size of that table.
1932 * This preprocessor symbol is defined as a macro if strerror() is
1933 * not available to translate error numbers to strings but sys_errlist[]
1936 #define HAS_STRERROR /**/
1937 #define HAS_SYS_ERRLIST /**/
1938 #define Strerror(e) strerror(e)
1941 * This symbol, if defined, indicates that the union semun is
1942 * defined by including <sys/sem.h>. If not, the user code
1943 * probably needs to define it as:
1946 * struct semid_ds *buf;
1947 * unsigned short *array;
1950 /* USE_SEMCTL_SEMUN:
1951 * This symbol, if defined, indicates that union semun is
1952 * used for semctl IPC_STAT.
1954 /* USE_SEMCTL_SEMID_DS:
1955 * This symbol, if defined, indicates that struct semid_ds * is
1956 * used for semctl IPC_STAT.
1958 #define HAS_UNION_SEMUN /**/
1959 /*#define USE_SEMCTL_SEMUN /**/
1960 /*#define USE_SEMCTL_SEMID_DS /**/
1963 * This symbol, if defined, indicates that vfork() exists.
1965 /*#define HAS_VFORK /**/
1968 * This symbol's value is either "void" or "int", corresponding to the
1969 * appropriate return type of a signal handler. Thus, you can declare
1970 * a signal handler using "Signal_t (*handler)()", and define the
1971 * handler using "Signal_t handler(sig)".
1973 #define Signal_t void /* Signal handler's return type */
1976 * This symbol holds the type used for the second argument to
1977 * getgroups() and setgropus(). Usually, this is the same as
1978 * gidtype (gid_t) , but sometimes it isn't.
1979 * It can be int, ushort, uid_t, etc...
1980 * It may be necessary to include <sys/types.h> to get any
1981 * typedef'ed information. This is only required if you have
1982 * getgroups() or setgropus()..
1984 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1985 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1989 * This symbol, if defined, indicates to the C program that it should
1993 * This symbol, if defined, indicates to the C program that struct group
1994 * in <grp.h> contains gr_passwd.
1996 /*#define I_GRP /**/
1997 /*#define GRPASSWD /**/
2000 * This symbol, if defined, indicates that <netdb.h> exists and
2001 * should be included.
2003 /*#define I_NETDB /**/
2006 * This symbol, if defined, indicates to the C program that it should
2010 * This symbol, if defined, indicates to the C program that struct passwd
2011 * contains pw_quota.
2014 * This symbol, if defined, indicates to the C program that struct passwd
2018 * This symbol, if defined, indicates to the C program that struct passwd
2019 * contains pw_change.
2022 * This symbol, if defined, indicates to the C program that struct passwd
2023 * contains pw_class.
2026 * This symbol, if defined, indicates to the C program that struct passwd
2027 * contains pw_expire.
2030 * This symbol, if defined, indicates to the C program that struct passwd
2031 * contains pw_comment.
2034 * This symbol, if defined, indicates to the C program that struct passwd
2035 * contains pw_gecos.
2038 * This symbol, if defined, indicates to the C program that struct passwd
2039 * contains pw_passwd.
2041 /*#define I_PWD /**/
2042 /*#define PWQUOTA /**/
2043 /*#define PWAGE /**/
2044 /*#define PWCHANGE /**/
2045 /*#define PWCLASS /**/
2046 /*#define PWEXPIRE /**/
2047 /*#define PWCOMMENT /**/
2048 /*#define PWGECOS /**/
2049 /*#define PWPASSWD /**/
2052 * This symbol, if defined, indicates that <sys/uio.h> exists and
2053 * should be included.
2055 /*#define I_SYSUIO /**/
2058 * This variable contains the return type of free(). It is usually
2059 * void, but occasionally int.
2062 * This symbol is the type of pointer returned by malloc and realloc.
2064 #define Malloc_t void * /**/
2065 #define Free_t void /**/
2068 * This symbol, if defined, indicates that we're using our own malloc.
2070 /*#define MYMALLOC /**/
2073 * This symbol contains a list of signal names in order of
2074 * signal number. This is intended
2075 * to be used as a static array initialization, like this:
2076 * char *sig_name[] = { SIG_NAME };
2077 * The signals in the list are separated with commas, and each signal
2078 * is surrounded by double quotes. There is no leading SIG in the signal
2079 * name, i.e. SIGQUIT is known as "QUIT".
2080 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2081 * etc., where nn is the actual signal number (e.g. NUM37).
2082 * The signal number for sig_name[i] is stored in sig_num[i].
2083 * The last element is 0 to terminate the list with a NULL. This
2084 * corresponds to the 0 at the end of the sig_num list.
2087 * This symbol contains a list of signal numbers, in the same order as the
2088 * SIG_NAME list. It is suitable for static array initialization, as in:
2089 * int sig_num[] = { SIG_NUM };
2090 * The signals in the list are separated with commas, and the indices
2091 * within that list and the SIG_NAME list match, so it's easy to compute
2092 * the signal name from a number or vice versa at the price of a small
2093 * dynamic linear lookup.
2094 * Duplicates are allowed, but are moved to the end of the list.
2095 * The signal number corresponding to sig_name[i] is sig_number[i].
2096 * if (i < NSIG) then sig_number[i] == i.
2097 * The last element is 0, corresponding to the 0 at the end of
2098 * the sig_name list.
2100 #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 /**/
2101 #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 /**/
2104 * This symbol indicates how much support of the void type is given by this
2105 * compiler. What various bits mean:
2107 * 1 = supports declaration of void
2108 * 2 = supports arrays of pointers to functions returning void
2109 * 4 = supports comparisons between pointers to void functions and
2110 * addresses of void functions
2111 * 8 = suports declaration of generic void pointers
2113 * The package designer should define VOIDUSED to indicate the requirements
2114 * of the package. This can be done either by #defining VOIDUSED before
2115 * including config.h, or by defining defvoidused in Myinit.U. If the
2116 * latter approach is taken, only those flags will be tested. If the
2117 * level of void support necessary is not present, defines void to int.
2122 #define VOIDFLAGS 15
2123 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2124 #define void int /* is void to be avoided? */
2125 #define M_VOID /* Xenix strikes again */
2128 /* DLSYM_NEEDS_UNDERSCORE:
2129 * This symbol, if defined, indicates that we need to prepend an
2130 * underscore to the symbol name before calling dlsym(). This only
2131 * makes sense if you *have* dlsym, which we will presume is the
2132 * case if you're using dl_dlopen.xs.
2134 /*#define DLSYM_NEEDS_UNDERSCORE /**/
2137 * This symbol, if defined, indicates that the endspent system call is
2138 * available to finalize the scan of SysV shadow password entries.
2140 /*#define HAS_ENDSPENT /**/
2143 * This symbol, if defined, indicates that the fseeko routine is
2144 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2146 /*#define HAS_FSEEKO /**/
2149 * This symbol, if defined, indicates that the ftello routine is
2150 * available to ftell beyond 32 bits (useful for ILP32 hosts).
2152 /*#define HAS_FTELLO /**/
2155 * This symbol, if defined, indicates that the getmntent routine is
2156 * available to iterate through mounted file systems.
2158 /*#define HAS_GETMNTENT /**/
2161 * This symbol, if defined, indicates that the getspent system call is
2162 * available to retrieve SysV shadow password entries sequentially.
2164 /*#define HAS_GETSPENT /**/
2167 * This symbol, if defined, indicates that the getspnam system call is
2168 * available to retrieve SysV shadow password entries by name.
2170 /*#define HAS_GETSPNAM /**/
2173 * This symbol, if defined, indicates that the hasmntopt routine is
2174 * available to query the mount options of file systems.
2176 /*#define HAS_HASMNTOPT /**/
2179 * This symbol, if defined, indicates that the madvise system call is
2180 * available to map a file into memory.
2182 /*#define HAS_MADVISE /**/
2185 * This symbol, if defined, indicates that the mprotect system call is
2186 * available to modify the access protection of a memory mapped file.
2188 /*#define HAS_MPROTECT /**/
2191 * This symbol, if defined, indicates that the readv routine is
2192 * available to do gather reads. You will also need <sys/uio.h>
2193 * and there I_SYSUIO.
2195 /*#define HAS_READV /**/
2198 * This symbol, if defined, indicates that the setspent system call is
2199 * available to initialize the scan of SysV shadow password entries.
2201 /*#define HAS_SETSPENT /**/
2204 * This symbol, if defined, indicates that sfio should
2207 /*#define USE_SFIO /**/
2210 * This symbol, if defined, indicates that the fstatfs routine is
2211 * available to stat filesystems of file descriptors.
2213 /* HAS_STRUCT_STATFS_FLAGS:
2214 * This symbol, if defined, indicates that the struct statfs
2215 * does have the f_flags member containing the mount flags of
2216 * the filesystem holding the file.
2217 * This kind of struct statfs is coming from sys/mount.h (BSD),
2218 * not from sys/statfs.h (SYSV).
2220 /*#define HAS_FSTATFS /**/
2221 /*#define HAS_STRUCT_STATFS_FLAGS /**/
2224 * This symbol, if defined, indicates that the fstatvfs routine is
2225 * available to stat filesystems of file descriptors.
2227 /*#define HAS_FSTATVFS /**/
2229 /* HAS_TELLDIR_PROTO:
2230 * This symbol, if defined, indicates that the system provides
2231 * a prototype for the telldir() function. Otherwise, it is up
2232 * to the program to supply one. A good guess is
2233 * extern long telldir _((DIR*));
2235 #define HAS_TELLDIR_PROTO /**/
2238 * This symbol, if defined, indicates that the writev routine is
2239 * available to do scatter writes.
2241 /*#define HAS_WRITEV /**/
2244 * This symbol, if defined, indicates that the dbminit64 routine is
2245 * available to open dbm files larger than 2 gigabytes.
2248 * This symbol, if defined, indicates that the dbmclose64 routine is
2249 * available to close dbm files larger than 2 gigabytes.
2252 * This symbol, if defined, indicates that the fetch64 routine is
2253 * available to fetch from dbm files larger than 2 gigabytes.
2256 * This symbol, if defined, indicates that the store64 routine is
2257 * available to store to dbm files larger than 2 gigabytes.
2260 * This symbol, if defined, indicates that the delete64 routine is
2261 * available to delete from dbm files larger than 2 gigabytes.
2264 * This symbol, if defined, indicates that the firstkey64 routine is
2265 * available to firstkey in dbm files larger than 2 gigabytes.
2268 * This symbol, if defined, indicates that the nextkey64 routine is
2269 * available to nextkey in dbm files larger than 2 gigabytes.
2271 /*#define HAS_DBMINIT64 /**/
2272 /*#define HAS_DBMCLOSE64 /**/
2273 /*#define HAS_FETCH64 /**/
2274 /*#define HAS_STORE64 /**/
2275 /*#define HAS_DELETE64 /**/
2276 /*#define HAS_FIRSTKEY64 /**/
2277 /*#define HAS_NEXTKEY64 /**/
2279 /* USE_DYNAMIC_LOADING:
2280 * This symbol, if defined, indicates that dynamic loading of
2281 * some sort is available.
2283 #define USE_DYNAMIC_LOADING /**/
2286 * This symbol, if defined, tells that fflush(NULL) does flush
2287 * all pending stdio output.
2290 * This symbol, if defined, tells that to flush
2291 * all pending stdio output one must loop through all
2292 * the stdio file handles stored in an array and fflush them.
2293 * Note that if fflushNULL is defined, fflushall will not
2294 * even be probed for and will be left undefined.
2296 #define FFLUSH_NULL /**/
2297 /*#define FFLUSH_ALL /**/
2300 * This symbol contains the type of the prefix structure element
2301 * in the <db.h> header file. In older versions of DB, it was
2302 * int, while in newer ones it is u_int32_t.
2305 * This symbol contains the type of the prefix structure element
2306 * in the <db.h> header file. In older versions of DB, it was
2307 * int, while in newer ones it is size_t.
2309 #define DB_Hash_t int /**/
2310 #define DB_Prefix_t int /**/
2313 * This symbol, if defined, indicates to the C program that it should
2314 * include <inttypes.h>.
2317 * This symbol will defined if the C compiler supports int64_t.
2318 * Usually the <inttypes.h> needs to be included, but sometimes
2319 * <sys/types.h> is enough.
2321 /*#define I_INTTYPES /**/
2322 /*#define HAS_INT64_T /**/
2325 * This symbol, if defined, indicates that <mntent.h> exists and
2326 * should be included.
2328 /*#define I_MNTENT /**/
2331 * This symbol, if defined, indicates to the C program that it should
2332 * include <netinet/tcp.h>.
2334 /*#define I_NETINET_TCP /**/
2337 * This symbol, if defined, indicates that <poll.h> exists and
2338 * should be included.
2340 /*#define I_POLL /**/
2343 * This symbol, if defined, indicates that <shadow.h> exists and
2344 * should be included.
2346 /*#define I_SHADOW /**/
2349 * This symbol, if defined, indicates that <socks.h> exists and
2350 * should be included.
2352 /*#define I_SOCKS /**/
2355 * This symbol, if defined, indicates that <sys/mman.h> exists and
2356 * should be included.
2358 /*#define I_SYS_MMAN /**/
2361 * This symbol, if defined, indicates that <sys/mount.h> exists and
2362 * should be included.
2364 /*#define I_SYS_MOUNT /**/
2367 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2368 * should be included.
2370 /*#define I_SYS_STATVFS /**/
2373 * This symbol, if defined, indicates that the fstat64 routine is
2374 * available to stat files (fds) larger than 2 gigabytes.
2377 * This symbol, if defined, indicates that the ftruncate64 routine is
2378 * available to tell files larger than 2 gigabytes.
2381 * This symbol, if defined, indicates that the lseek64 routine is
2382 * available to seek files larger than 2 gigabytes.
2385 * This symbol, if defined, indicates that the lstat64 routine is
2386 * available to stat files (symlinks) larger than 2 gigabytes.
2389 * This symbol, if defined, indicates that the open64 routine is
2390 * available to open files larger than 2 gigabytes.
2393 * This symbol, if defined, indicates that the opendir64 routine is
2394 * available to opendir files larger than 2 gigabytes.
2397 * This symbol, if defined, indicates that the readdir64 routine is
2398 * available to readdir files larger than 2 gigabytes.
2401 * This symbol, if defined, indicates that the seekdir64 routine is
2402 * available to seekdir files larger than 2 gigabytes.
2405 * This symbol, if defined, indicates that the stat64 routine is
2406 * available to stat files larger than 2 gigabytes.
2409 * This symbol, if defined, indicates that the telldir64 routine is
2410 * available to telldir files larger than 2 gigabytes.
2413 * This symbol, if defined, indicates that the truncate64 routine is
2414 * available to truncate files larger than 2 gigabytes.
2417 * This symbol will be defined if the C compiler supports off64_t.
2419 /* HAS_STRUCT_DIRENT64:
2420 * This symbol will be defined if the C compiler supports struct dirent64.
2422 /*#define HAS_FSTAT64 /**/
2423 /*#define HAS_FTRUNCATE64 /**/
2424 /*#define HAS_LSEEK64 /**/
2425 /*#define HAS_LSTAT64 /**/
2426 /*#define HAS_OPEN64 /**/
2427 /*#define HAS_OPENDIR64 /**/
2428 /*#define HAS_READDIR64 /**/
2429 /*#define HAS_SEEKDIR64 /**/
2430 /*#define HAS_STAT64 /**/
2431 /*#define HAS_TELLDIR64 /**/
2432 /*#define HAS_TRUNCATE64 /**/
2433 /*#define HAS_OFF64_T /**/
2434 /*#define HAS_STRUCT_DIRENT64 /**/
2437 * This symbol holds the minimum number of bits operated by select.
2438 * That is, if you do select(n, ...), how many bits at least will be
2439 * cleared in the masks if some activity is detected. Usually this
2440 * is either n or 32*ceil(n/32), especially many little-endians do
2441 * the latter. This is only useful if you have select(), naturally.
2443 #define SELECT_MIN_BITS 32 /**/
2446 * This variable contains the string to put in front of a perl
2447 * script to make sure (one hopes) that it runs with perl and not
2450 #define STARTPERL "#!perl" /**/
2453 * This symbol, if defined, indicates that the fgetpos64 routine is
2454 * available to getpos files larger than 2 gigabytes.
2457 * This symbol, if defined, indicates that the fopen64 routine is
2458 * available to open files larger than 2 gigabytes.
2461 * This symbol, if defined, indicates that the freopen64 routine is
2462 * available to reopen files larger than 2 gigabytes.
2465 * This symbol, if defined, indicates that the fseek64 routine is
2466 * available to seek files larger than 2 gigabytes.
2469 * This symbol, if defined, indicates that the fseeko64 routine is
2470 * available to seek files larger than 2 gigabytes.
2473 * This symbol, if defined, indicates that the fsetpos64 routine is
2474 * available to setpos files larger than 2 gigabytes.
2477 * This symbol, if defined, indicates that the ftell64 routine is
2478 * available to tell files larger than 2 gigabytes.
2481 * This symbol, if defined, indicates that the ftello64 routine is
2482 * available to tell files larger than 2 gigabytes.
2485 * This symbol, if defined, indicates that the tmpfile64 routine is
2486 * available to tmpfile files larger than 2 gigabytes.
2488 /*#define HAS_FGETPOS64 /**/
2489 /*#define HAS_FOPEN64 /**/
2490 /*#define HAS_FREOPEN64 /**/
2491 /*#define HAS_FSEEK64 /**/
2492 /*#define HAS_FSEEKO64 /**/
2493 /*#define HAS_FSETPOS64 /**/
2494 /*#define HAS_FTELL64 /**/
2495 /*#define HAS_FTELLO64 /**/
2496 /*#define HAS_TMPFILE64 /**/
2498 /* HAS_STDIO_STREAM_ARRAY:
2499 * This symbol, if defined, tells that there is an array
2500 * holding the stdio streams.
2502 /* STDIO_STREAM_ARRAY:
2503 * This symbol tells the name of the array holding the stdio streams.
2504 * Usual values include _iob, __iob, and __sF.
2506 /*#define HAS_STDIO_STREAM_ARRAY /**/
2507 #define STDIO_STREAM_ARRAY undef
2510 * This symbol, if defined, indicates that 64-bit interfaces should
2511 * be used when available. If not defined, the native default interfaces
2512 * will be used (be they 32 or 64 bits).
2514 /*#define USE_64_BITS /**/
2517 * This symbol, if defined, indicates that Perl should
2518 * be built to use multiplicity.
2520 /*#define MULTIPLICITY /**/
2523 * This symbol, if defined, indicates that the PerlIO abstraction should
2524 * be used throughout. If not defined, stdio should be
2525 * used in a fully backward compatible manner.
2527 /*#define USE_PERLIO /**/
2530 * This symbol, if defined, indicates that Perl should
2531 * be built to use socks.
2533 /*#define USE_SOCKS /**/
2535 /* HAS_DRAND48_PROTO:
2536 * This symbol, if defined, indicates that the system provides
2537 * a prototype for the drand48() function. Otherwise, it is up
2538 * to the program to supply one. A good guess is
2539 * extern double drand48 _((void));
2541 /*#define HAS_DRAND48_PROTO /**/
2543 /* HAS_GETHOST_PROTOS:
2544 * This symbol, if defined, indicates that <netdb.h> includes
2545 * prototypes for gethostent(), gethostbyname(), and
2546 * gethostbyaddr(). 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_GETHOST_PROTOS /**/
2551 /* HAS_GETNET_PROTOS:
2552 * This symbol, if defined, indicates that <netdb.h> includes
2553 * prototypes for getnetent(), getnetbyname(), and
2554 * getnetbyaddr(). 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_GETNET_PROTOS /**/
2559 /* HAS_GETPROTO_PROTOS:
2560 * This symbol, if defined, indicates that <netdb.h> includes
2561 * prototypes for getprotoent(), getprotobyname(), and
2562 * getprotobyaddr(). 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_GETPROTO_PROTOS /**/
2567 /* HAS_GETSERV_PROTOS:
2568 * This symbol, if defined, indicates that <netdb.h> includes
2569 * prototypes for getservent(), getservbyname(), and
2570 * getservbyaddr(). Otherwise, it is up to the program to guess
2571 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2573 #define HAS_GETSERV_PROTOS /**/
2576 * This symbol holds the type used for the 1st argument
2577 * to gethostbyaddr().
2580 * This symbol holds the type used for the 2nd argument
2581 * to gethostbyaddr().
2584 * This symbol holds the type used for the argument to
2588 * This symbol holds the type used for the 1st argument to
2591 #define Netdb_host_t char * /**/
2592 #define Netdb_hlen_t int /**/
2593 #define Netdb_name_t char * /**/
2594 #define Netdb_net_t long /**/
2597 * This symbol holds the type used for the 2nd, 3rd, and 4th
2598 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2599 * is defined, and 'int *' otherwise. This is only useful if you
2600 * have select(), of course.
2602 #define Select_fd_set_t Perl_fd_set * /**/
2605 * This symbol holds a string representing the architecture name.
2606 * It may be used to construct an architecture-dependant pathname
2607 * where library files may be held under a private library, for
2610 #define ARCHNAME "MSWin32-x86" /**/
2612 /* OLD_PTHREAD_CREATE_JOINABLE:
2613 * This symbol, if defined, indicates how to create pthread
2614 * in joinable (aka undetached) state. NOTE: not defined
2615 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2616 * (the new version of the constant).
2617 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2620 /*#define OLD_PTHREAD_CREATE_JOINABLE /**/
2622 /* HAS_PTHREAD_YIELD:
2623 * This symbol, if defined, indicates that the pthread_yield
2624 * routine is available to yield the execution of the current
2625 * thread. sched_yield is preferable to pthread_yield.
2628 * This symbol defines the way to yield the execution of
2629 * the current thread. Known ways are sched_yield,
2630 * pthread_yield, and pthread_yield with NULL.
2633 * This symbol, if defined, indicates that the sched_yield
2634 * routine is available to yield the execution of the current
2635 * thread. sched_yield is preferable to pthread_yield.
2637 /*#define HAS_PTHREAD_YIELD /**/
2638 #define SCHED_YIELD /**/
2639 /*#define HAS_SCHED_YIELD /**/
2642 * This symbol, if defined, indicates to the C program that it should
2643 * include <mach/cthreads.h>.
2645 /*#define I_MACH_CTHREADS /**/
2648 * This symbol, if defined, indicates that Perl should
2649 * be built to use threads.
2651 /* OLD_PTHREADS_API:
2652 * This symbol, if defined, indicates that Perl should
2653 * be built to use the old draft POSIX threads API.
2655 /*#define USE_THREADS /**/
2656 /*#define OLD_PTHREADS_API /**/
2659 * This symbol holds the type returned by time(). It can be long,
2660 * or time_t on BSD sites (in which case <sys/types.h> should be
2663 #define Time_t time_t /* Time type */
2666 * This symbol, if defined, indicates that the times() routine exists.
2667 * Note that this became obsolete on some systems (SUNOS), which now
2668 * use getrusage(). It may be necessary to include <sys/times.h>.
2670 #define HAS_TIMES /**/
2673 * This symbol holds the type used to declare file positions in libc.
2674 * It can be fpos_t, long, uint, etc... It may be necessary to include
2675 * <sys/types.h> to get any typedef'ed information.
2677 #define Fpos_t fpos_t /* File position type */
2680 * This symbol holds the return type of getgid() and the type of
2681 * argument to setrgid() and related functions. Typically,
2682 * it is the type of group ids in the kernel. It can be int, ushort,
2683 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2684 * any typedef'ed information.
2686 #define Gid_t gid_t /* Type for getgid(), etc... */
2689 * This symbol holds the type used to declare offsets in the kernel.
2690 * It can be int, long, off_t, etc... It may be necessary to include
2691 * <sys/types.h> to get any typedef'ed information.
2694 * This symbol holds the number of bytes used by the Off_t.
2696 #define Off_t off_t /* <offset> type */
2697 #define LSEEKSIZE 4 /* <offset> size */
2700 * This symbol holds the type used to declare file modes
2701 * for systems calls. It is usually mode_t, but may be
2702 * int or unsigned short. It may be necessary to include <sys/types.h>
2703 * to get any typedef'ed information.
2705 #define Mode_t mode_t /* file mode parameter for system calls */
2708 * This symbol holds the type used to declare process ids in the kernel.
2709 * It can be int, uint, pid_t, etc... It may be necessary to include
2710 * <sys/types.h> to get any typedef'ed information.
2712 #define Pid_t int /* PID type */
2715 * This symbol holds the type used to declare length parameters
2716 * for string functions. It is usually size_t, but may be
2717 * unsigned long, int, etc. It may be necessary to include
2718 * <sys/types.h> to get any typedef'ed information.
2720 #define Size_t size_t /* length paramater for string functions */
2723 * This symbol holds the type used to declare user ids in the kernel.
2724 * It can be int, ushort, uid_t, etc... It may be necessary to include
2725 * <sys/types.h> to get any typedef'ed information.
2727 #define Uid_t uid_t /* UID type */