2 * This file was produced by running the config_h.SH script, which
3 * gets its values from uconfig.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 uconfig.sh and rerun config_h.SH.
10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
18 * Target system : unknown
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.
86 /*#define HASCONST / **/
92 * This symbol, if defined, indicates that the cuserid routine is
93 * available to get character login names.
95 /*#define HAS_CUSERID / **/
98 * This symbol, if defined, indicates that this system's <float.h>
99 * or <limits.h> defines the symbol DBL_DIG, which is the number
100 * of significant digits in a double precision number. If this
101 * symbol is not defined, a guess of 15 is usually pretty good.
103 /*#define HAS_DBL_DIG / * */
106 * This symbol, if defined, indicates that the difftime routine is
109 /*#define HAS_DIFFTIME / **/
112 * This symbol, if defined, indicates that the dlerror routine is
113 * available to return a string describing the last error that
114 * occurred from a call to dlopen(), dlclose() or dlsym().
116 /*#define HAS_DLERROR / **/
119 * This symbol, if defined, indicates that the dup2 routine is
120 * available to duplicate file descriptors.
122 /*#define HAS_DUP2 / **/
125 * This symbol, if defined, indicates that the fchmod routine is available
126 * to change mode of opened files. If unavailable, use chmod().
128 /*#define HAS_FCHMOD / **/
131 * This symbol, if defined, indicates that the fchown routine is available
132 * to change ownership of opened files. If unavailable, use chown().
134 /*#define HAS_FCHOWN / **/
137 * This symbol, if defined, indicates to the C program that
138 * the fcntl() function exists.
140 /*#define HAS_FCNTL / **/
143 * This symbol, if defined, indicates that the fgetpos routine is
144 * available to get the file position indicator, similar to ftell().
146 /*#define HAS_FGETPOS / **/
149 * This symbol, if defined, indicates that the flock routine is
150 * available to do file locking.
152 /*#define HAS_FLOCK / **/
155 * This symbol, if defined, indicates that the fork routine is
158 #define HAS_FORK /**/
161 * This symbol, if defined, indicates that the fsetpos routine is
162 * available to set the file position indicator, similar to fseek().
164 /*#define HAS_FSETPOS / **/
167 * This symbol, if defined, indicates that the gettimeofday() system
168 * call is available for a sub-second accuracy clock. Usually, the file
169 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
170 * The type "Timeval" should be used to refer to "struct timeval".
172 /*#define HAS_GETTIMEOFDAY / **/
173 #ifdef HAS_GETTIMEOFDAY
174 #define Timeval struct timeval /* Structure used by gettimeofday() */
178 * This symbol, if defined, indicates that the getgroups() routine is
179 * available to get the list of process groups. If unavailable, multiple
180 * groups are probably not supported.
182 /*#define HAS_GETGROUPS / **/
185 * This symbol, if defined, indicates that the getlogin routine is
186 * available to get the login name.
188 /*#define HAS_GETLOGIN / **/
191 * This symbol, if defined, indicates to the C program that
192 * the getpgid(pid) function is available to get the
195 /*#define HAS_GETPGID / **/
198 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
199 * routine is available to get the current process group.
201 /*#define HAS_GETPGRP2 / **/
204 * This symbol, if defined, indicates that the getppid routine is
205 * available to get the parent process ID.
207 /*#define HAS_GETPPID / **/
210 * This symbol, if defined, indicates that the getpriority routine is
211 * available to get a process's priority.
213 /*#define HAS_GETPRIORITY / **/
216 * This symbol, if defined, indicates to the C program that the
217 * inet_aton() function is available to parse IP address "dotted-quad"
220 /*#define HAS_INET_ATON / **/
223 * This symbol, if defined, indicates that the killpg routine is available
224 * to kill process groups. If unavailable, you probably should use kill
225 * with a negative process number.
227 /*#define HAS_KILLPG / **/
230 * This symbol, if defined, indicates that the link routine is
231 * available to create hard links.
233 /*#define HAS_LINK / **/
236 * This symbol, if defined, indicates that the localeconv routine is
237 * available for numeric and monetary formatting conventions.
239 /*#define HAS_LOCALECONV / **/
242 * This symbol, if defined, indicates that the lockf routine is
243 * available to do file locking.
245 /*#define HAS_LOCKF / **/
248 * This symbol, if defined, indicates that the lstat routine is
249 * available to do file stats on symbolic links.
251 /*#define HAS_LSTAT / **/
254 * This symbol, if defined, indicates that the mblen routine is available
255 * to find the number of bytes in a multibye character.
257 /*#define HAS_MBLEN / **/
260 * This symbol, if defined, indicates that the mbstowcs routine is
261 * available to covert a multibyte string into a wide character string.
263 /*#define HAS_MBSTOWCS / **/
266 * This symbol, if defined, indicates that the mbtowc routine is available
267 * to covert a multibyte to a wide character.
269 /*#define HAS_MBTOWC / **/
272 * This symbol, if defined, indicates that the memcmp routine is available
273 * to compare blocks of memory.
275 /*#define HAS_MEMCMP / **/
278 * This symbol, if defined, indicates that the memcpy routine is available
279 * to copy blocks of memory.
281 /*#define HAS_MEMCPY / **/
284 * This symbol, if defined, indicates that the memmove routine is available
285 * to copy potentially overlapping blocks of memory. This should be used
286 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
289 /*#define HAS_MEMMOVE / **/
292 * This symbol, if defined, indicates that the memset routine is available
293 * to set blocks of memory.
295 /*#define HAS_MEMSET / **/
298 * This symbol, if defined, indicates that the mkdir routine is available
299 * to create directories. Otherwise you should fork off a new process to
302 /*#define HAS_MKDIR / **/
305 * This symbol, if defined, indicates that the mkfifo routine is
306 * available to create FIFOs. Otherwise, mknod should be able to
307 * do it for you. However, if mkfifo is there, mknod might require
308 * super-user privileges which mkfifo will not.
310 /*#define HAS_MKFIFO / **/
313 * This symbol, if defined, indicates that the mktime routine is
316 /*#define HAS_MKTIME / **/
319 * This symbol, if defined, indicates that the msync system call is
320 * available to synchronize a mapped file.
322 /*#define HAS_MSYNC / **/
325 * This symbol, if defined, indicates that the munmap system call is
326 * available to unmap a region, usually mapped by mmap().
328 /*#define HAS_MUNMAP / **/
331 * This symbol, if defined, indicates that the nice routine is
334 /*#define HAS_NICE / **/
337 * This symbol, if defined, indicates that pathconf() is available
338 * to determine file-system related limits and options associated
339 * with a given filename.
342 * This symbol, if defined, indicates that pathconf() is available
343 * to determine file-system related limits and options associated
344 * with a given open file descriptor.
346 /*#define HAS_PATHCONF / **/
347 /*#define HAS_FPATHCONF / **/
350 * This symbol, if defined, indicates that the pause routine is
351 * available to suspend a process until a signal is received.
353 /*#define HAS_PAUSE / **/
356 * This symbol, if defined, indicates that the pipe routine is
357 * available to create an inter-process channel.
359 /*#define HAS_PIPE / **/
362 * This symbol, if defined, indicates that the poll routine is
363 * available to poll active file descriptors. You may safely
364 * include <poll.h> when this symbol is defined.
366 /*#define HAS_POLL / **/
369 * This symbol, if defined, indicates that the readdir routine is
370 * available to read directory entries. You may have to include
371 * <dirent.h>. See I_DIRENT.
373 /*#define HAS_READDIR / **/
376 * This symbol, if defined, indicates that the seekdir routine is
377 * available. You may have to include <dirent.h>. See I_DIRENT.
379 /*#define HAS_SEEKDIR / **/
382 * This symbol, if defined, indicates that the telldir routine is
383 * available. You may have to include <dirent.h>. See I_DIRENT.
385 /*#define HAS_TELLDIR / **/
388 * This symbol, if defined, indicates that the rewinddir routine is
389 * available. You may have to include <dirent.h>. See I_DIRENT.
391 /*#define HAS_REWINDDIR / **/
394 * This symbol, if defined, indicates that the readlink routine is
395 * available to read the value of a symbolic link.
397 /*#define HAS_READLINK / **/
400 * This symbol, if defined, indicates that the rename routine is available
401 * to rename files. Otherwise you should do the unlink(), link(), unlink()
404 /*#define HAS_RENAME / **/
407 * This symbol, if defined, indicates that the rmdir routine is
408 * available to remove directories. Otherwise you should fork off a
409 * new process to exec /bin/rmdir.
411 /*#define HAS_RMDIR / **/
414 * This symbol, if defined, indicates that the select routine is
415 * available to select active file descriptors. If the timeout field
416 * is used, <sys/time.h> may need to be included.
418 /*#define HAS_SELECT / **/
421 * This symbol, if defined, indicates that the setegid routine is available
422 * to change the effective gid of the current program.
424 /*#define HAS_SETEGID / **/
427 * This symbol, if defined, indicates that the seteuid routine is available
428 * to change the effective uid of the current program.
430 /*#define HAS_SETEUID / **/
433 * This symbol, if defined, indicates that the setlinebuf routine is
434 * available to change stderr or stdout from block-buffered or unbuffered
435 * to a line-buffered mode.
437 /*#define HAS_SETLINEBUF / **/
440 * This symbol, if defined, indicates that the setlocale routine is
441 * available to handle locale-specific ctype implementations.
443 /*#define HAS_SETLOCALE / **/
446 * This symbol, if defined, indicates that the setpgid(pid, gpid)
447 * routine is available to set process group ID.
449 /*#define HAS_SETPGID / **/
452 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
453 * routine is available to set the current process group.
455 /*#define HAS_SETPGRP2 / **/
458 * This symbol, if defined, indicates that the setpriority routine is
459 * available to set a process's priority.
461 /*#define HAS_SETPRIORITY / **/
464 * This symbol, if defined, indicates that the setregid routine is
465 * available to change the real and effective gid of the current
469 * This symbol, if defined, indicates that the setresgid routine is
470 * available to change the real, effective and saved gid of the current
473 /*#define HAS_SETREGID / **/
474 /*#define HAS_SETRESGID / **/
477 * This symbol, if defined, indicates that the setreuid routine is
478 * available to change the real and effective uid of the current
482 * This symbol, if defined, indicates that the setresuid routine is
483 * available to change the real, effective and saved uid of the current
486 /*#define HAS_SETREUID / **/
487 /*#define HAS_SETRESUID / **/
490 * This symbol, if defined, indicates that the setrgid routine is available
491 * to change the real gid of the current program.
493 /*#define HAS_SETRGID / **/
496 * This symbol, if defined, indicates that the setruid routine is available
497 * to change the real uid of the current program.
499 /*#define HAS_SETRUID / **/
502 * This symbol, if defined, indicates that the setsid routine is
503 * available to set the process group ID.
505 /*#define HAS_SETSID / **/
508 * This symbol holds the return type of the shmat() system call.
509 * Usually set to 'void *' or 'char *'.
511 /* HAS_SHMAT_PROTOTYPE:
512 * This symbol, if defined, indicates that the sys/shm.h includes
513 * a prototype for shmat(). Otherwise, it is up to the program to
514 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
515 * but not always right so it should be emitted by the program only
516 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
518 #define Shmat_t void * /**/
519 /*#define HAS_SHMAT_PROTOTYPE / **/
522 * This symbol is defined to indicate that the strchr()/strrchr()
523 * functions are available for string searching. If not, try the
524 * index()/rindex() pair.
527 * This symbol is defined to indicate that the index()/rindex()
528 * functions are available for string searching.
530 /*#define HAS_STRCHR / **/
531 /*#define HAS_INDEX / **/
534 * This symbol, if defined, indicates that the strcoll routine is
535 * available to compare strings using collating information.
537 /*#define HAS_STRCOLL / **/
540 * This symbol, if defined, indicates that this C compiler knows how
541 * to copy structures. If undefined, you'll need to use a block copy
542 * routine of some sort instead.
544 /*#define USE_STRUCT_COPY / **/
547 * This symbol, if defined, indicates that the strtod routine is
548 * available to provide better numeric string conversion than atof().
550 /*#define HAS_STRTOD / **/
553 * This symbol, if defined, indicates that the strtol routine is available
554 * to provide better numeric string conversion than atoi() and friends.
556 /*#define HAS_STRTOL / **/
559 * This symbol, if defined, indicates that the strxfrm() routine is
560 * available to transform strings.
562 /*#define HAS_STRXFRM / **/
565 * This symbol, if defined, indicates that the symlink routine is available
566 * to create symbolic links.
568 /*#define HAS_SYMLINK / **/
571 * This symbol, if defined, indicates that the syscall routine is
572 * available to call arbitrary system calls. If undefined, that's tough.
574 /*#define HAS_SYSCALL / **/
577 * This symbol, if defined, indicates that sysconf() is available
578 * to determine system related limits and options.
580 /*#define HAS_SYSCONF / **/
583 * This symbol, if defined, indicates that the system routine is
584 * available to issue a shell command.
586 /*#define HAS_SYSTEM / **/
589 * This symbol, if defined, indicates that the tcgetpgrp routine is
590 * available to get foreground process group ID.
592 /*#define HAS_TCGETPGRP / **/
595 * This symbol, if defined, indicates that the tcsetpgrp routine is
596 * available to set foreground process group ID.
598 /*#define HAS_TCSETPGRP / **/
601 * This symbol, if defined, indicates that the truncate routine is
602 * available to truncate files.
604 /*#define HAS_TRUNCATE / **/
607 * This symbol, if defined, indicates that the tzname[] array is
608 * available to access timezone names.
610 /*#define HAS_TZNAME / **/
613 * This symbol, if defined, indicates that the umask routine is
614 * available to set and get the value of the file creation mask.
616 /*#define HAS_UMASK / **/
619 * This symbol, if defined, indicates that the usleep routine is
620 * available to let the process sleep on a sub-second accuracy.
622 /*#define HAS_USLEEP / **/
625 * This symbol, if defined, indicates that this C compiler knows about
626 * the volatile declaration.
628 /*#define HASVOLATILE / **/
634 * This symbol, if defined, indicates that wait4() exists.
636 /*#define HAS_WAIT4 / **/
639 * This symbol, if defined, indicates that the waitpid routine is
640 * available to wait for child process.
642 /*#define HAS_WAITPID / **/
645 * This symbol, if defined, indicates that the wcstombs routine is
646 * available to convert wide character strings to multibyte strings.
648 /*#define HAS_WCSTOMBS / **/
651 * This symbol, if defined, indicates that the wctomb routine is available
652 * to covert a wide character to a multibyte.
654 /*#define HAS_WCTOMB / **/
657 * This symbol, if defined, indicates to the C program that it should
658 * include <arpa/inet.h> to get inet_addr and friends declarations.
660 /*#define I_ARPA_INET / **/
663 * This symbol, if defined, indicates that <dbm.h> exists and should
667 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
668 * should be included.
670 /*#define I_DBM / **/
671 /*#define I_RPCSVC_DBM / **/
674 * This symbol, if defined, indicates to the C program that it should
675 * include <dirent.h>. Using this symbol also triggers the definition
676 * of the Direntry_t define which ends up being 'struct dirent' or
677 * 'struct direct' depending on the availability of <dirent.h>.
680 * This symbol, if defined, indicates to the C program that the length
681 * of directory entry names is provided by a d_namlen field. Otherwise
682 * you need to do strlen() on the d_name field.
685 * This symbol is set to 'struct direct' or 'struct dirent' depending on
686 * whether dirent is available or not. You should use this pseudo type to
687 * portably declare your directory entries.
689 /*#define I_DIRENT / **/
690 /*#define DIRNAMLEN / **/
691 #define Direntry_t struct dirent
694 * This symbol, if defined, indicates that <dlfcn.h> exists and should
697 /*#define I_DLFCN / **/
700 * This manifest constant tells the C program to include <fcntl.h>.
702 /*#define I_FCNTL / **/
705 * This symbol, if defined, indicates to the C program that it should
706 * include <float.h> to get definition of symbols like DBL_MAX or
707 * DBL_MIN, i.e. machine dependent floating point values.
709 /*#define I_FLOAT / **/
712 * This symbol, if defined, indicates to the C program that it should
713 * include <limits.h> to get definition of symbols like WORD_BIT or
714 * LONG_MAX, i.e. machine dependant limitations.
716 /*#define I_LIMITS / **/
719 * This symbol, if defined, indicates to the C program that it should
720 * include <locale.h>.
722 /*#define I_LOCALE / **/
725 * This symbol, if defined, indicates to the C program that it should
731 * This symbol, if defined, indicates to the C program that it should
732 * include <memory.h>.
734 /*#define I_MEMORY / **/
737 * This symbol, if defined, indicates that <ndbm.h> exists and should
740 /*#define I_NDBM / **/
743 * This symbol, if defined, indicates that <net/errno.h> exists and
744 * should be included.
746 /*#define I_NET_ERRNO / **/
749 * This symbol, if defined, indicates to the C program that it should
750 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
752 /*#define I_NETINET_IN / **/
755 * This symbol, if defined, indicates to the C program that it should
758 /*#define I_SFIO / **/
761 * This symbol, if defined, indicates that <stddef.h> exists and should
764 /*#define I_STDDEF / **/
767 * This symbol, if defined, indicates that <stdlib.h> exists and should
770 /*#define I_STDLIB / **/
773 * This symbol, if defined, indicates to the C program that it should
774 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
776 #define I_STRING /**/
779 * This symbol, if defined, indicates to the C program that it should
780 * include <sys/dir.h>.
782 /*#define I_SYS_DIR / **/
785 * This symbol, if defined, indicates to the C program that it should
786 * include <sys/file.h> to get definition of R_OK and friends.
788 /*#define I_SYS_FILE / **/
791 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
792 * be included. Otherwise, include <sgtty.h> or <termio.h>.
795 * This symbol, if defined, indicates the <sys/sockio.h> should be included
796 * to get socket ioctl options, like SIOCATMARK.
798 /*#define I_SYS_IOCTL / **/
799 /*#define I_SYS_SOCKIO / **/
802 * This symbol, if defined, indicates to the C program that it should
803 * include <sys/ndir.h>.
805 /*#define I_SYS_NDIR / **/
808 * This symbol, if defined, indicates to the C program that it should
809 * include <sys/param.h>.
811 /*#define I_SYS_PARAM / **/
814 * This symbol, if defined, indicates to the C program that it should
815 * include <sys/resource.h>.
817 /*#define I_SYS_RESOURCE / **/
820 * This symbol, if defined, indicates to the C program that it should
821 * include <sys/select.h> in order to get definition of struct timeval.
823 /*#define I_SYS_SELECT / **/
826 * This symbol, if defined, indicates to the C program that it should
827 * include <sys/stat.h>.
829 #define I_SYS_STAT /**/
832 * This symbol, if defined, indicates to the C program that it should
833 * include <sys/times.h>.
835 /*#define I_SYS_TIMES / **/
838 * This symbol, if defined, indicates to the C program that it should
839 * include <sys/types.h>.
841 /*#define I_SYS_TYPES / **/
844 * This symbol, if defined, indicates to the C program that it should
845 * include <sys/un.h> to get UNIX domain socket definitions.
847 /*#define I_SYS_UN / **/
850 * This symbol, if defined, indicates to the C program that it should
851 * include <sys/wait.h>.
853 /*#define I_SYS_WAIT / **/
856 * This symbol, if defined, indicates that the program should include
857 * <termio.h> rather than <sgtty.h>. There are also differences in
858 * the ioctl() calls that depend on the value of this symbol.
861 * This symbol, if defined, indicates that the program should include
862 * the POSIX termios.h rather than sgtty.h or termio.h.
863 * There are also differences in the ioctl() calls that depend on the
864 * value of this symbol.
867 * This symbol, if defined, indicates that the program should include
868 * <sgtty.h> rather than <termio.h>. There are also differences in
869 * the ioctl() calls that depend on the value of this symbol.
871 /*#define I_TERMIO / **/
872 /*#define I_TERMIOS / **/
873 /*#define I_SGTTY / **/
876 * This symbol, if defined, indicates to the C program that it should
877 * include <unistd.h>.
879 /*#define I_UNISTD / **/
882 * This symbol, if defined, indicates to the C program that it should
885 /*#define I_UTIME / **/
888 * This symbol, if defined, indicates to the C program that it should
889 * include <values.h> to get definition of symbols like MINFLOAT or
890 * MAXLONG, i.e. machine dependant limitations. Probably, you
891 * should use <limits.h> instead, if it is available.
893 /*#define I_VALUES / **/
896 * This symbol, if defined, indicates to the C program that it should
899 /*#define I_VFORK / **/
902 * If defined, this macro indicates that the C compiler can handle
903 * function prototypes.
906 * This macro is used to declare function parameters for folks who want
907 * to make declarations with prototypes using a different style than
908 * the above macros. Use double parentheses. For example:
910 * int main _((int argc, char *argv[]));
912 /*#define CAN_PROTOTYPE / **/
920 * This symbol contains the value of sizeof(int) so that the C
921 * preprocessor can make decisions based on it.
924 * This symbol contains the value of sizeof(long) so that the C
925 * preprocessor can make decisions based on it.
928 * This symbol contains the value of sizeof(short) so that the C
929 * preprocessor can make decisions based on it.
931 #define INTSIZE 4 /**/
932 #define LONGSIZE 4 /**/
933 #define SHORTSIZE 2 /**/
936 * This symbol, if defined, signifies that the build
937 * process will produce some binary files that are going to be
938 * used in a cross-platform environment. This is the case for
939 * example with the NeXT "fat" binaries that contain executables
942 /*#define MULTIARCH / **/
945 * This symbol, if defined, tells that there's a 64-bit integer type,
946 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
947 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
949 /*#define HAS_QUAD / **/
951 # define Quad_t int64_t /**/
952 # define Uquad_t uint64_t /**/
953 # define QUADKIND 4 /**/
954 # define QUAD_IS_INT 1
955 # define QUAD_IS_LONG 2
956 # define QUAD_IS_LONG_LONG 3
957 # define QUAD_IS_INT64_T 4
961 * This symbol, if defined, indicates that the accessx routine is
962 * available to do extended access checks.
964 /*#define HAS_ACCESSX / **/
967 * This symbol, if defined, indicates that the eaccess routine is
968 * available to do extended access checks.
970 /*#define HAS_EACCESS / **/
973 * This symbol, if defined, indicates to the C program that it should
974 * include <sys/access.h>.
976 /*#define I_SYS_ACCESS / **/
979 * This symbol, if defined, indicates to the C program that it should
980 * include <sys/security.h>.
982 /*#define I_SYS_SECURITY / **/
985 * This symbol contains the name of the operating system, as determined
986 * by Configure. You shouldn't rely on it too much; the specific
987 * feature tests from Configure are generally more reliable.
990 * This symbol contains the version of the operating system, as determined
991 * by Configure. You shouldn't rely on it too much; the specific
992 * feature tests from Configure are generally more reliable.
994 #define OSNAME "unknown" /**/
995 #define OSVERS "" /**/
998 * This symbol contains the number of bytes required to align a
999 * double, or a long double when applicable. Usual values are 2,
1000 * 4 and 8. The default is eight, for safety.
1002 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1003 # define MEM_ALIGNBYTES 8
1005 #define MEM_ALIGNBYTES 4
1009 * This variable, if defined, holds the name of the directory in
1010 * which the user wants to put architecture-dependent public
1011 * library files for . It is most often a local directory
1012 * such as /usr/local/lib. Programs using this variable must be
1013 * prepared to deal with filename expansion. If ARCHLIB is the
1014 * same as PRIVLIB, it is not defined, since presumably the
1015 * program already searches PRIVLIB.
1018 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1019 * in programs that are not prepared to deal with ~ expansion at run-time.
1021 /*#define ARCHLIB "/usr/local/lib/perl5/5.7/unknown" / **/
1022 /*#define ARCHLIB_EXP "/usr/local/lib/perl5/5.7/unknown" / **/
1025 * This symbol holds a string representing the architecture name.
1026 * It may be used to construct an architecture-dependant pathname
1027 * where library files may be held under a private library, for
1030 #define ARCHNAME "unknown" /**/
1033 * This symbol, if defined, indicates that the atolf routine is
1034 * available to convert strings into long doubles.
1036 /*#define HAS_ATOLF / **/
1039 * This symbol, if defined, indicates that the atoll routine is
1040 * available to convert strings into long longs.
1042 /*#define HAS_ATOLL / **/
1045 * This symbol holds the path of the bin directory where the package will
1046 * be installed. Program must be prepared to deal with ~name substitution.
1049 * This symbol is the filename expanded version of the BIN symbol, for
1050 * programs that do not want to deal with that at run-time.
1052 #define BIN "/usr/local/bin" /**/
1053 #define BIN_EXP "" /**/
1055 /* PERL_BINCOMPAT_5005:
1056 * This symbol, if defined, indicates that this version of Perl should be
1057 * binary-compatible with Perl 5.005. This is impossible for builds
1058 * that use features like threads and multiplicity it is always
1059 * for those versions.
1061 /*#define PERL_BINCOMPAT_5005 / **/
1064 * This symbol holds the hexadecimal constant defined in byteorder,
1065 * i.e. 0x1234 or 0x4321, etc...
1066 * If the compiler supports cross-compiling or multiple-architecture
1067 * binaries (eg. on NeXT systems), use compiler-defined macros to
1068 * determine the byte order.
1069 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1070 * Binaries (MAB) on either big endian or little endian machines.
1071 * The endian-ness is available at compile-time. This only matters
1072 * for perl, where the config.h can be generated and installed on
1073 * one system, and used by a different architecture to build an
1074 * extension. Older versions of NeXT that might not have
1075 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1076 * so the default case (for NeXT) is big endian to catch them.
1077 * This might matter for NeXT 3.0.
1079 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1080 # ifdef __LITTLE_ENDIAN__
1082 # define BYTEORDER 0x1234
1085 # define BYTEORDER 0x12345678
1089 # ifdef __BIG_ENDIAN__
1091 # define BYTEORDER 0x4321
1094 # define BYTEORDER 0x87654321
1099 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1100 # define BYTEORDER 0x4321
1103 #define BYTEORDER 0x1234 /* large digits for MSB */
1107 * This macro catenates 2 tokens together.
1110 * This macro surrounds its token with double quotes.
1113 #define CAT2(a,b) a/**/b
1114 #define STRINGIFY(a) "a"
1115 /* If you can get stringification with catify, tell me how! */
1118 #define PeRl_CaTiFy(a, b) a ## b
1119 #define PeRl_StGiFy(a) #a
1120 /* the additional level of indirection enables these macros to be
1121 * used as arguments to other macros. See K&R 2nd ed., page 231. */
1122 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1123 #define StGiFy(a) PeRl_StGiFy(a)
1124 #define STRINGIFY(a) PeRl_StGiFy(a)
1126 #if 42 != 1 && 42 != 42
1127 # include "Bletch: How does this C preprocessor catenate tokens?"
1131 * This symbol contains the first part of the string which will invoke
1132 * the C preprocessor on the standard input and produce to standard
1133 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1134 * call a wrapper. See CPPRUN.
1137 * This symbol contains the second part of the string which will invoke
1138 * the C preprocessor on the standard input and produce to standard
1139 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1140 * to specify standard input, otherwise the value is "".
1143 * This symbol contains the string which will invoke a C preprocessor on
1144 * the standard input and produce to standard output. It needs to end
1145 * with CPPLAST, after all other preprocessor flags have been specified.
1146 * The main difference with CPPSTDIN is that this program will never be a
1147 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1148 * available directly to the user. Note that it may well be different from
1149 * the preprocessor used to compile the C program.
1152 * This symbol is intended to be used along with CPPRUN in the same manner
1153 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1161 * This symbol, if defined, indicates that the _fwalk system call is
1162 * available to apply a function to all the file handles.
1164 /*#define HAS__FWALK / **/
1167 * This manifest constant lets the C program know that the access()
1168 * system call is available to check for accessibility using real UID/GID.
1169 * (always present on UNIX.)
1171 /*#define HAS_ACCESS / **/
1174 * This symbol is defined if the C compiler can cast negative
1175 * or large floating point numbers to 32-bit ints.
1177 /*#define CASTI32 / **/
1180 * This symbol is defined if the C compiler can cast negative
1181 * numbers to unsigned longs, ints and shorts.
1184 * This symbol contains flags that say what difficulties the compiler
1185 * has casting odd floating values to unsigned long:
1187 * 1 = couldn't cast < 0
1188 * 2 = couldn't cast >= 0x80000000
1189 * 4 = couldn't cast in argument expression list
1191 /*#define CASTNEGFLOAT / **/
1192 #define CASTFLAGS 0 /**/
1195 * This symbol, if defined, indicates that the class routine is
1196 * available to classify doubles. Available for example in AIX.
1197 * The returned values are defined in <float.h> and are:
1199 * FP_PLUS_NORM Positive normalized, nonzero
1200 * FP_MINUS_NORM Negative normalized, nonzero
1201 * FP_PLUS_DENORM Positive denormalized, nonzero
1202 * FP_MINUS_DENORM Negative denormalized, nonzero
1204 * FP_MINUS_ZERO -0.0
1207 * FP_NANS Signaling Not a Number (NaNS)
1208 * FP_NANQ Quiet Not a Number (NaNQ)
1210 /*#define HAS_CLASS / **/
1213 * This symbol, if defined, indicates that the closedir() routine
1214 * does not return a value.
1216 /*#define VOID_CLOSEDIR / **/
1218 /* HAS_STRUCT_CMSGHDR:
1219 * This symbol, if defined, indicates that the struct cmsghdr
1222 /*#define HAS_STRUCT_CMSGHDR / **/
1225 * This symbol, if defined, indicates that the C-shell exists.
1228 * This symbol, if defined, contains the full pathname of csh.
1230 /*#define HAS_CSH / **/
1235 /* DLSYM_NEEDS_UNDERSCORE:
1236 * This symbol, if defined, indicates that we need to prepend an
1237 * underscore to the symbol name before calling dlsym(). This only
1238 * makes sense if you *have* dlsym, which we will presume is the
1239 * case if you're using dl_dlopen.xs.
1241 /*#define DLSYM_NEEDS_UNDERSCORE / **/
1243 /* HAS_DRAND48_PROTO:
1244 * This symbol, if defined, indicates that the system provides
1245 * a prototype for the drand48() function. Otherwise, it is up
1246 * to the program to supply one. A good guess is
1247 * extern double drand48 _((void));
1249 /*#define HAS_DRAND48_PROTO / **/
1252 * This symbol, if defined, indicates that the getgrent routine is
1253 * available for finalizing sequential access of the group database.
1255 /*#define HAS_ENDGRENT / **/
1258 * This symbol, if defined, indicates that the endhostent() routine is
1259 * available to close whatever was being used for host queries.
1261 /*#define HAS_ENDHOSTENT / **/
1264 * This symbol, if defined, indicates that the endnetent() routine is
1265 * available to close whatever was being used for network queries.
1267 /*#define HAS_ENDNETENT / **/
1270 * This symbol, if defined, indicates that the endprotoent() routine is
1271 * available to close whatever was being used for protocol queries.
1273 /*#define HAS_ENDPROTOENT / **/
1276 * This symbol, if defined, indicates that the getgrent routine is
1277 * available for finalizing sequential access of the passwd database.
1279 /*#define HAS_ENDPWENT / **/
1282 * This symbol, if defined, indicates that the endservent() routine is
1283 * available to close whatever was being used for service queries.
1285 /*#define HAS_ENDSERVENT / **/
1288 * This symbol, if defined, indicates that the fchdir routine is
1289 * available to change directory using a file descriptor.
1291 /*#define HAS_FCHDIR / **/
1294 * This symbol, if defined, indicates that fcntl() can be used
1295 * for file locking. Normally on Unix systems this is defined.
1296 * It may be undefined on VMS.
1298 /*#define FCNTL_CAN_LOCK / **/
1301 * This symbol, when defined, indicates presence of the fd_set typedef
1304 /*#define HAS_FD_SET / **/
1307 * This symbol, if defined, indicates that the finite routine is
1308 * available to check whether a double is finite (non-infinity non-NaN).
1310 /*#define HAS_FINITE / **/
1313 * This symbol, if defined, indicates that the finitel routine is
1314 * available to check whether a long double is finite
1315 * (non-infinity non-NaN).
1317 /*#define HAS_FINITEL / **/
1320 * This symbol, if defined, indicates that the system supports filenames
1321 * longer than 14 characters.
1323 /*#define FLEXFILENAMES / **/
1326 * This symbol, if defined, indicates that the fp_class routine is
1327 * available to classify doubles. Available for example in Digital UNIX.
1328 * The returned values are defined in <math.h> and are:
1330 * FP_SNAN Signaling NaN (Not-a-Number)
1331 * FP_QNAN Quiet NaN (Not-a-Number)
1332 * FP_POS_INF +infinity
1333 * FP_NEG_INF -infinity
1334 * FP_POS_NORM Positive normalized
1335 * FP_NEG_NORM Negative normalized
1336 * FP_POS_DENORM Positive denormalized
1337 * FP_NEG_DENORM Negative denormalized
1338 * FP_POS_ZERO +0.0 (positive zero)
1339 * FP_NEG_ZERO -0.0 (negative zero)
1341 /*#define HAS_FP_CLASS / **/
1344 * This symbol, if defined, indicates that the fpclass routine is
1345 * available to classify doubles. Available for example in Solaris/SVR4.
1346 * The returned values are defined in <ieeefp.h> and are:
1348 * FP_SNAN signaling NaN
1350 * FP_NINF negative infinity
1351 * FP_PINF positive infinity
1352 * FP_NDENORM negative denormalized non-zero
1353 * FP_PDENORM positive denormalized non-zero
1354 * FP_NZERO negative zero
1355 * FP_PZERO positive zero
1356 * FP_NNORM negative normalized non-zero
1357 * FP_PNORM positive normalized non-zero
1359 /*#define HAS_FPCLASS / **/
1362 * This symbol, if defined, indicates that the fpclassify routine is
1363 * available to classify doubles. Available for example in HP-UX.
1364 * The returned values are defined in <math.h> and are
1366 * FP_NORMAL Normalized
1368 * FP_INFINITE Infinity
1369 * FP_SUBNORMAL Denormalized
1373 /*#define HAS_FPCLASSIFY / **/
1376 * This symbol will be defined if the C compiler supports fpos64_t.
1378 /*#define HAS_FPOS64_T / **/
1381 * This symbol, if defined, indicates that the frexpl routine is
1382 * available to break a long double floating-point number into
1383 * a normalized fraction and an integral power of 2.
1385 /*#define HAS_FREXPL / **/
1387 /* HAS_STRUCT_FS_DATA:
1388 * This symbol, if defined, indicates that the struct fs_data
1389 * to do statfs() is supported.
1391 /*#define HAS_STRUCT_FS_DATA / **/
1394 * This symbol, if defined, indicates that the fseeko routine is
1395 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1397 /*#define HAS_FSEEKO / **/
1400 * This symbol, if defined, indicates that the fstatfs routine is
1401 * available to stat filesystems by file descriptors.
1403 /*#define HAS_FSTATFS / **/
1406 * This symbol, if defined, indicates that the fsync routine is
1407 * available to write a file's modified data and attributes to
1408 * permanent storage.
1410 /*#define HAS_FSYNC / **/
1413 * This symbol, if defined, indicates that the ftello routine is
1414 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1416 /*#define HAS_FTELLO / **/
1419 * This preprocessor macro is defined to convert a floating point
1420 * number to a string without a trailing decimal point. This
1421 * emulates the behavior of sprintf("%g"), but is sometimes much more
1422 * efficient. If gconvert() is not available, but gcvt() drops the
1423 * trailing decimal point, then gcvt() is used. If all else fails,
1424 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1425 * macro are: value, number of digits, whether trailing zeros should
1426 * be retained, and the output buffer.
1427 * Possible values are:
1428 * d_Gconvert='gconvert((x),(n),(t),(b))'
1429 * d_Gconvert='gcvt((x),(n),(b))'
1430 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1431 * The last two assume trailing zeros should not be kept.
1433 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1436 * This symbol, if defined, indicates that the getcwd routine is
1437 * available to get the current working directory.
1439 /*#define HAS_GETCWD / **/
1442 * This symbol, if defined, indicates that the getespwnam system call is
1443 * available to retrieve enchanced (shadow) password entries by name.
1445 /*#define HAS_GETESPWNAM / **/
1448 * This symbol, if defined, indicates that the getfsstat routine is
1449 * available to stat filesystems in bulk.
1451 /*#define HAS_GETFSSTAT / **/
1454 * This symbol, if defined, indicates that the getgrent routine is
1455 * available for sequential access of the group database.
1457 /*#define HAS_GETGRENT / **/
1459 /* HAS_GETHOSTBYADDR:
1460 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1461 * available to look up hosts by their IP addresses.
1463 /*#define HAS_GETHOSTBYADDR / **/
1465 /* HAS_GETHOSTBYNAME:
1466 * This symbol, if defined, indicates that the gethostbyname() routine is
1467 * available to look up host names in some data base or other.
1469 /*#define HAS_GETHOSTBYNAME / **/
1472 * This symbol, if defined, indicates that the gethostent() routine is
1473 * available to look up host names in some data base or another.
1475 /*#define HAS_GETHOSTENT / **/
1478 * This symbol, if defined, indicates that the C program may use the
1479 * gethostname() routine to derive the host name. See also HAS_UNAME
1483 * This symbol, if defined, indicates that the C program may use the
1484 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1488 * This symbol, if defined, indicates the command to feed to the
1489 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1490 * and HAS_UNAME. Note that the command uses a fully qualified path,
1491 * so that it is safe even if used by a process with super-user
1495 * This symbol, if defined, indicates that the C program may use the
1496 * contents of PHOSTNAME as a command to feed to the popen() routine
1497 * to derive the host name.
1499 /*#define HAS_GETHOSTNAME / **/
1500 /*#define HAS_UNAME / **/
1501 /*#define HAS_PHOSTNAME / **/
1502 #ifdef HAS_PHOSTNAME
1503 #define PHOSTNAME "" /* How to get the host name */
1506 /* HAS_GETHOST_PROTOS:
1507 * This symbol, if defined, indicates that <netdb.h> includes
1508 * prototypes for gethostent(), gethostbyname(), and
1509 * gethostbyaddr(). Otherwise, it is up to the program to guess
1510 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1512 /*#define HAS_GETHOST_PROTOS / **/
1515 * This symbol, if defined, indicates that the getitimer routine is
1516 * available to return interval timers.
1518 /*#define HAS_GETITIMER / **/
1521 * This symbol, if defined, indicates that the getmnt routine is
1522 * available to get filesystem mount info by filename.
1524 /*#define HAS_GETMNT / **/
1527 * This symbol, if defined, indicates that the getmntent routine is
1528 * available to iterate through mounted file systems to get their info.
1530 /*#define HAS_GETMNTENT / **/
1532 /* HAS_GETNETBYADDR:
1533 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1534 * available to look up networks by their IP addresses.
1536 /*#define HAS_GETNETBYADDR / **/
1538 /* HAS_GETNETBYNAME:
1539 * This symbol, if defined, indicates that the getnetbyname() routine is
1540 * available to look up networks by their names.
1542 /*#define HAS_GETNETBYNAME / **/
1545 * This symbol, if defined, indicates that the getnetent() routine is
1546 * available to look up network names in some data base or another.
1548 /*#define HAS_GETNETENT / **/
1550 /* HAS_GETNET_PROTOS:
1551 * This symbol, if defined, indicates that <netdb.h> includes
1552 * prototypes for getnetent(), getnetbyname(), and
1553 * getnetbyaddr(). Otherwise, it is up to the program to guess
1554 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1556 /*#define HAS_GETNET_PROTOS / **/
1559 * This symbol, if defined, indicates that the getpagesize system call
1560 * is available to get system page size, which is the granularity of
1561 * many memory management calls.
1563 /*#define HAS_GETPAGESIZE / **/
1566 * This symbol, if defined, indicates that the getprotoent() routine is
1567 * available to look up protocols in some data base or another.
1569 /*#define HAS_GETPROTOENT / **/
1572 * This symbol, if defined, indicates that the getpgrp routine is
1573 * available to get the current process group.
1576 * This symbol, if defined, indicates that getpgrp needs one
1577 * arguments whereas USG one needs none.
1579 /*#define HAS_GETPGRP / **/
1580 /*#define USE_BSD_GETPGRP / **/
1582 /* HAS_GETPROTOBYNAME:
1583 * This symbol, if defined, indicates that the getprotobyname()
1584 * routine is available to look up protocols by their name.
1586 /* HAS_GETPROTOBYNUMBER:
1587 * This symbol, if defined, indicates that the getprotobynumber()
1588 * routine is available to look up protocols by their number.
1590 /*#define HAS_GETPROTOBYNAME / **/
1591 /*#define HAS_GETPROTOBYNUMBER / **/
1593 /* HAS_GETPROTO_PROTOS:
1594 * This symbol, if defined, indicates that <netdb.h> includes
1595 * prototypes for getprotoent(), getprotobyname(), and
1596 * getprotobyaddr(). Otherwise, it is up to the program to guess
1597 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1599 /*#define HAS_GETPROTO_PROTOS / **/
1602 * This symbol, if defined, indicates that the getprpwnam system call is
1603 * available to retrieve protected (shadow) password entries by name.
1605 /*#define HAS_GETPRPWNAM / **/
1608 * This symbol, if defined, indicates that the getpwent routine is
1609 * available for sequential access of the passwd database.
1610 * If this is not available, the older getpw() function may be available.
1612 /*#define HAS_GETPWENT / **/
1615 * This symbol, if defined, indicates that the getservent() routine is
1616 * available to look up network services in some data base or another.
1618 /*#define HAS_GETSERVENT / **/
1620 /* HAS_GETSERV_PROTOS:
1621 * This symbol, if defined, indicates that <netdb.h> includes
1622 * prototypes for getservent(), getservbyname(), and
1623 * getservbyaddr(). Otherwise, it is up to the program to guess
1624 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1626 /*#define HAS_GETSERV_PROTOS / **/
1629 * This symbol, if defined, indicates that the getspnam system call is
1630 * available to retrieve SysV shadow password entries by name.
1632 /*#define HAS_GETSPNAM / **/
1634 /* HAS_GETSERVBYNAME:
1635 * This symbol, if defined, indicates that the getservbyname()
1636 * routine is available to look up services by their name.
1638 /* HAS_GETSERVBYPORT:
1639 * This symbol, if defined, indicates that the getservbyport()
1640 * routine is available to look up services by their port.
1642 /*#define HAS_GETSERVBYNAME / **/
1643 /*#define HAS_GETSERVBYPORT / **/
1646 * This symbol, if defined, indicates to the C program that
1647 * the GNU C library is being used.
1649 /*#define HAS_GNULIBC / **/
1650 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1651 # define _GNU_SOURCE
1654 * This symbol, if defined, indicates that the hasmntopt routine is
1655 * available to query the mount options of file systems.
1657 /*#define HAS_HASMNTOPT / **/
1660 * This symbol, if defined, indicates that the htonl() routine (and
1661 * friends htons() ntohl() ntohs()) are available to do network
1662 * order byte swapping.
1665 * This symbol, if defined, indicates that the htons() routine (and
1666 * friends htonl() ntohl() ntohs()) are available to do network
1667 * order byte swapping.
1670 * This symbol, if defined, indicates that the ntohl() routine (and
1671 * friends htonl() htons() ntohs()) are available to do network
1672 * order byte swapping.
1675 * This symbol, if defined, indicates that the ntohs() routine (and
1676 * friends htonl() htons() ntohl()) are available to do network
1677 * order byte swapping.
1679 /*#define HAS_HTONL / **/
1680 /*#define HAS_HTONS / **/
1681 /*#define HAS_NTOHL / **/
1682 /*#define HAS_NTOHS / **/
1685 * This symbol will defined if the C compiler supports int64_t.
1686 * Usually the <inttypes.h> needs to be included, but sometimes
1687 * <sys/types.h> is enough.
1689 /*#define HAS_INT64_T / **/
1692 * This manifest constant lets the C program know that isascii
1695 /*#define HAS_ISASCII / **/
1698 * This symbol, if defined, indicates that the isfinite routine is
1699 * available to check whether a double is finite (non-infinity non-NaN).
1701 /*#define HAS_ISFINITE / **/
1704 * This symbol, if defined, indicates that the isinf routine is
1705 * available to check whether a double is an infinity.
1707 /*#define HAS_ISINF / **/
1710 * This symbol, if defined, indicates that the isnan routine is
1711 * available to check whether a double is a NaN.
1713 /*#define HAS_ISNAN / **/
1716 * This symbol, if defined, indicates that the isnanl routine is
1717 * available to check whether a long double is a NaN.
1719 /*#define HAS_ISNANL / **/
1722 * This symbol, if defined, indicates that the lchown routine is
1723 * available to operate on a symbolic link (instead of following the
1726 /*#define HAS_LCHOWN / **/
1729 * This symbol, if defined, indicates that this system's <float.h>
1730 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1731 * of significant digits in a long double precision number. Unlike
1732 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1734 /*#define HAS_LDBL_DIG / * */
1737 * This symbol will be defined if the C compiler supports long
1741 * This symbol contains the size of a long double, so that the
1742 * C preprocessor can make decisions based on it. It is only
1743 * defined if the system supports long doubles.
1745 /*#define HAS_LONG_DOUBLE / **/
1746 #ifdef HAS_LONG_DOUBLE
1747 #define LONG_DOUBLESIZE 8 /**/
1751 * This symbol will be defined if the C compiler supports long long.
1754 * This symbol contains the size of a long long, so that the
1755 * C preprocessor can make decisions based on it. It is only
1756 * defined if the system supports long long.
1758 /*#define HAS_LONG_LONG / **/
1759 #ifdef HAS_LONG_LONG
1760 #define LONGLONGSIZE 8 /**/
1764 * This symbol, if defined, indicates that the system provides
1765 * a prototype for the lseek() function. Otherwise, it is up
1766 * to the program to supply one. A good guess is
1767 * extern off_t lseek(int, off_t, int);
1769 /*#define HAS_LSEEK_PROTO / **/
1772 * This symbol, if defined, indicates that the madvise system call is
1773 * available to map a file into memory.
1775 /*#define HAS_MADVISE / **/
1778 * This symbol, if defined, indicates that the memchr routine is available
1779 * to locate characters within a C string.
1781 /*#define HAS_MEMCHR / **/
1784 * This symbol, if defined, indicates that the mkdtemp routine is
1785 * available to exclusively create a uniquely named temporary directory.
1787 /*#define HAS_MKDTEMP / **/
1790 * This symbol, if defined, indicates that the mkstemp routine is
1791 * available to exclusively create and open a uniquely named
1794 /*#define HAS_MKSTEMP / **/
1797 * This symbol, if defined, indicates that the mkstemps routine is
1798 * available to excluslvely create and open a uniquely named
1799 * (with a suffix) temporary file.
1801 /*#define HAS_MKSTEMPS / **/
1804 * This symbol, if defined, indicates that the mmap system call is
1805 * available to map a file into memory.
1808 * This symbol holds the return type of the mmap() system call
1809 * (and simultaneously the type of the first argument).
1810 * Usually set to 'void *' or 'cadd_t'.
1812 /*#define HAS_MMAP / **/
1816 * This symbol, if defined, indicates that the modfl routine is
1817 * available to split a long double x into a fractional part f and
1818 * an integer part i such that |f| < 1.0 and (f + i) = x.
1820 /* HAS_MODFL_POW32_BUG:
1821 * This symbol, if defined, indicates that the modfl routine is
1822 * broken for long doubles >= pow(2, 32).
1823 * For example from 4294967303.150000 one would get 4294967302.000000
1824 * and 1.150000. The bug has been seen in certain versions of glibc,
1825 * release 2.2.2 is known to be okay.
1827 /*#define HAS_MODFL / **/
1828 /*#define HAS_MODFL_POW32_BUG / **/
1831 * This symbol, if defined, indicates that the mprotect system call is
1832 * available to modify the access protection of a memory mapped file.
1834 /*#define HAS_MPROTECT / **/
1837 * This symbol, if defined, indicates that the entire msg*(2) library is
1838 * supported (IPC mechanism based on message queues).
1840 /*#define HAS_MSG / **/
1842 /* HAS_STRUCT_MSGHDR:
1843 * This symbol, if defined, indicates that the struct msghdr
1846 /*#define HAS_STRUCT_MSGHDR / **/
1849 * This symbol will be defined if the C compiler supports off64_t.
1851 /*#define HAS_OFF64_T / **/
1854 * This manifest constant lets the C program know that the three
1855 * argument form of open(2) is available.
1857 /*#define HAS_OPEN3 / **/
1859 /* OLD_PTHREAD_CREATE_JOINABLE:
1860 * This symbol, if defined, indicates how to create pthread
1861 * in joinable (aka undetached) state. NOTE: not defined
1862 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1863 * (the new version of the constant).
1864 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1867 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
1869 /* HAS_PTHREAD_YIELD:
1870 * This symbol, if defined, indicates that the pthread_yield
1871 * routine is available to yield the execution of the current
1872 * thread. sched_yield is preferable to pthread_yield.
1875 * This symbol defines the way to yield the execution of
1876 * the current thread. Known ways are sched_yield,
1877 * pthread_yield, and pthread_yield with NULL.
1880 * This symbol, if defined, indicates that the sched_yield
1881 * routine is available to yield the execution of the current
1882 * thread. sched_yield is preferable to pthread_yield.
1884 /*#define HAS_PTHREAD_YIELD / **/
1885 #define SCHED_YIELD sched_yield() /**/
1886 /*#define HAS_SCHED_YIELD / **/
1889 * This symbol, if defined, indicates that the readv routine is
1890 * available to do gather reads. You will also need <sys/uio.h>
1891 * and there I_SYSUIO.
1893 /*#define HAS_READV / **/
1896 * This symbol, if defined, indicates that the recvmsg routine is
1897 * available to send structured socket messages.
1899 /*#define HAS_RECVMSG / **/
1902 * This symbol, if defined, indicates that the bcopy routine is available
1903 * to copy potentially overlapping memory blocks. Normally, you should
1904 * probably use memmove() or memcpy(). If neither is defined, roll your
1907 /*#define HAS_SAFE_BCOPY / **/
1910 * This symbol, if defined, indicates that the memcpy routine is available
1911 * to copy potentially overlapping memory blocks. If you need to
1912 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
1913 * use memmove() instead, if available.
1915 /*#define HAS_SAFE_MEMCPY / **/
1918 * This symbol, if defined, indicates that the memcmp routine is available
1919 * and can be used to compare relative magnitudes of chars with their high
1920 * bits set. If it is not defined, roll your own version.
1922 /*#define HAS_SANE_MEMCMP / **/
1925 * This symbol, if defined, indicates that the system provides
1926 * a prototype for the sbrk() function. Otherwise, it is up
1927 * to the program to supply one. Good guesses are
1928 * extern void* sbrk _((int));
1929 * extern void* sbrk _((size_t));
1931 /*#define HAS_SBRK_PROTO / **/
1934 * This symbol, if defined, indicates that the entire sem*(2) library is
1937 /*#define HAS_SEM / **/
1940 * This symbol, if defined, indicates that the sendmsg routine is
1941 * available to send structured socket messages.
1943 /*#define HAS_SENDMSG / **/
1946 * This symbol, if defined, indicates that the setgrent routine is
1947 * available for initializing sequential access of the group database.
1949 /*#define HAS_SETGRENT / **/
1952 * This symbol, if defined, indicates that the setgroups() routine is
1953 * available to set the list of process groups. If unavailable, multiple
1954 * groups are probably not supported.
1956 /*#define HAS_SETGROUPS / **/
1959 * This symbol, if defined, indicates that the sethostent() routine is
1962 /*#define HAS_SETHOSTENT / **/
1965 * This symbol, if defined, indicates that the setitimer routine is
1966 * available to set interval timers.
1968 /*#define HAS_SETITIMER / **/
1971 * This symbol, if defined, indicates that the setnetent() routine is
1974 /*#define HAS_SETNETENT / **/
1977 * This symbol, if defined, indicates that the setprotoent() routine is
1980 /*#define HAS_SETPROTOENT / **/
1983 * This symbol, if defined, indicates that the setpgrp routine is
1984 * available to set the current process group.
1987 * This symbol, if defined, indicates that setpgrp needs two
1988 * arguments whereas USG one needs none. See also HAS_SETPGID
1989 * for a POSIX interface.
1991 /*#define HAS_SETPGRP / **/
1992 /*#define USE_BSD_SETPGRP / **/
1994 /* HAS_SETPROCTITLE:
1995 * This symbol, if defined, indicates that the setproctitle routine is
1996 * available to set process title.
1998 /*#define HAS_SETPROCTITLE / **/
2001 * This symbol, if defined, indicates that the setpwent routine is
2002 * available for initializing sequential access of the passwd database.
2004 /*#define HAS_SETPWENT / **/
2007 * This symbol, if defined, indicates that the setservent() routine is
2010 /*#define HAS_SETSERVENT / **/
2013 * This symbol, if defined, indicates that the setvbuf routine is
2014 * available to change buffering on an open stdio stream.
2015 * to a line-buffered mode.
2017 /*#define HAS_SETVBUF / **/
2020 * This symbol, if defined, indicates that sfio should
2023 /*#define USE_SFIO / **/
2026 * This symbol, if defined, indicates that the entire shm*(2) library is
2029 /*#define HAS_SHM / **/
2032 * This symbol, if defined, indicates that Vr4's sigaction() routine
2035 /*#define HAS_SIGACTION / **/
2038 * This variable indicates to the C program that the sigsetjmp()
2039 * routine is available to save the calling process's registers
2040 * and stack environment for later use by siglongjmp(), and
2041 * to optionally save the process's signal mask. See
2042 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2045 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2048 * This macro is used in the same way as sigsetjmp(), but will invoke
2049 * traditional setjmp() if sigsetjmp isn't available.
2050 * See HAS_SIGSETJMP.
2053 * This macro is used in the same way as siglongjmp(), but will invoke
2054 * traditional longjmp() if siglongjmp isn't available.
2055 * See HAS_SIGSETJMP.
2057 /*#define HAS_SIGSETJMP / **/
2058 #ifdef HAS_SIGSETJMP
2059 #define Sigjmp_buf sigjmp_buf
2060 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2061 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2063 #define Sigjmp_buf jmp_buf
2064 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2065 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2069 * This symbol, if defined, indicates that the BSD socket interface is
2073 * This symbol, if defined, indicates that the BSD socketpair() call is
2077 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2078 * Checking just with #ifdef might not be enough because this symbol
2079 * has been known to be an enum.
2081 /* HAS_MSG_DONTROUTE:
2082 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2083 * Checking just with #ifdef might not be enough because this symbol
2084 * has been known to be an enum.
2087 * This symbol, if defined, indicates that the MSG_OOB is supported.
2088 * Checking just with #ifdef might not be enough because this symbol
2089 * has been known to be an enum.
2092 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2093 * Checking just with #ifdef might not be enough because this symbol
2094 * has been known to be an enum.
2097 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2098 * Checking just with #ifdef might not be enough because this symbol
2099 * has been known to be an enum.
2102 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2103 * Checking just with #ifdef might not be enough because this symbol
2104 * has been known to be an enum.
2106 /*#define HAS_SOCKET / **/
2107 /*#define HAS_SOCKETPAIR / **/
2108 /*#define HAS_MSG_CTRUNC / **/
2109 /*#define HAS_MSG_DONTROUTE / **/
2110 /*#define HAS_MSG_OOB / **/
2111 /*#define HAS_MSG_PEEK / **/
2112 /*#define HAS_MSG_PROXY / **/
2113 /*#define HAS_SCM_RIGHTS / **/
2116 * This symbol, if defined, indicates that the socks5_init routine is
2117 * available to initialize SOCKS 5.
2119 /*#define HAS_SOCKS5_INIT / **/
2122 * This symbol, if defined, indicates that the sqrtl routine is
2123 * available to do long double square roots.
2125 /*#define HAS_SQRTL / **/
2128 * This symbol is defined if this system has a stat structure declaring
2129 * st_blksize and st_blocks.
2131 #ifndef USE_STAT_BLOCKS
2132 /*#define USE_STAT_BLOCKS / **/
2135 /* HAS_STRUCT_STATFS_F_FLAGS:
2136 * This symbol, if defined, indicates that the struct statfs
2137 * does have the f_flags member containing the mount flags of
2138 * the filesystem containing the file.
2139 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2140 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2141 * have statfs() and struct statfs, they have ustat() and getmnt()
2142 * with struct ustat and struct fs_data.
2144 /*#define HAS_STRUCT_STATFS_F_FLAGS / **/
2146 /* HAS_STRUCT_STATFS:
2147 * This symbol, if defined, indicates that the struct statfs
2148 * to do statfs() is supported.
2150 /*#define HAS_STRUCT_STATFS / **/
2153 * This symbol, if defined, indicates that the fstatvfs routine is
2154 * available to stat filesystems by file descriptors.
2156 /*#define HAS_FSTATVFS / **/
2159 * This symbol is defined if the _ptr and _cnt fields (or similar)
2160 * of the stdio FILE structure can be used to access the stdio buffer
2161 * for a file handle. If this is defined, then the FILE_ptr(fp)
2162 * and FILE_cnt(fp) macros will also be defined and should be used
2163 * to access these fields.
2166 * This macro is used to access the _ptr field (or equivalent) of the
2167 * FILE structure pointed to by its argument. This macro will always be
2168 * defined if USE_STDIO_PTR is defined.
2170 /* STDIO_PTR_LVALUE:
2171 * This symbol is defined if the FILE_ptr macro can be used as an
2175 * This macro is used to access the _cnt field (or equivalent) of the
2176 * FILE structure pointed to by its argument. This macro will always be
2177 * defined if USE_STDIO_PTR is defined.
2179 /* STDIO_CNT_LVALUE:
2180 * This symbol is defined if the FILE_cnt macro can be used as an
2183 /* STDIO_PTR_LVAL_SETS_CNT:
2184 * This symbol is defined if using the FILE_ptr macro as an lvalue
2185 * to increase the pointer by n has the side effect of decreasing the
2186 * value of File_cnt(fp) by n.
2188 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2189 * This symbol is defined if using the FILE_ptr macro as an lvalue
2190 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2192 /*#define USE_STDIO_PTR / **/
2193 #ifdef USE_STDIO_PTR
2194 #define FILE_ptr(fp) ((fp)->_IO_read_ptr)
2195 /*#define STDIO_PTR_LVALUE / **/
2196 #define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)
2197 /*#define STDIO_CNT_LVALUE / **/
2198 /*#define STDIO_PTR_LVAL_SETS_CNT / **/
2199 /*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/
2203 * This symbol is defined if the _base field (or similar) of the
2204 * stdio FILE structure can be used to access the stdio buffer for
2205 * a file handle. If this is defined, then the FILE_base(fp) macro
2206 * will also be defined and should be used to access this field.
2207 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2208 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2209 * will never be defined unless USE_STDIO_PTR is.
2212 * This macro is used to access the _base field (or equivalent) of the
2213 * FILE structure pointed to by its argument. This macro will always be
2214 * defined if USE_STDIO_BASE is defined.
2217 * This macro is used to determine the number of bytes in the I/O
2218 * buffer pointed to by _base field (or equivalent) of the FILE
2219 * structure pointed to its argument. This macro will always be defined
2220 * if USE_STDIO_BASE is defined.
2222 /*#define USE_STDIO_BASE / **/
2223 #ifdef USE_STDIO_BASE
2224 #define FILE_base(fp) ((fp)->_IO_read_base)
2225 #define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base)
2229 * This symbol, if defined, indicates that the strerror routine is
2230 * available to translate error numbers to strings. See the writeup
2231 * of Strerror() in this file before you try to define your own.
2234 * This symbol, if defined, indicates that the sys_errlist array is
2235 * available to translate error numbers to strings. The extern int
2236 * sys_nerr gives the size of that table.
2239 * This preprocessor symbol is defined as a macro if strerror() is
2240 * not available to translate error numbers to strings but sys_errlist[]
2243 /*#define HAS_STRERROR / **/
2244 /*#define HAS_SYS_ERRLIST / **/
2245 #define Strerror(e) strerror(e)
2248 * This symbol, if defined, indicates that the strtold routine is
2249 * available to convert strings to long doubles.
2251 /*#define HAS_STRTOLD / **/
2254 * This symbol, if defined, indicates that the strtoll routine is
2255 * available to convert strings to long longs.
2257 /*#define HAS_STRTOLL / **/
2260 * This symbol, if defined, indicates that the strtoq routine is
2261 * available to convert strings to long longs (quads).
2263 /*#define HAS_STRTOQ / **/
2266 * This symbol, if defined, indicates that the strtoul routine is
2267 * available to provide conversion of strings to unsigned long.
2269 /*#define HAS_STRTOUL / **/
2272 * This symbol, if defined, indicates that the strtoull routine is
2273 * available to convert strings to unsigned long longs.
2275 /*#define HAS_STRTOULL / **/
2278 * This symbol, if defined, indicates that the strtouq routine is
2279 * available to convert strings to unsigned long longs (quads).
2281 /*#define HAS_STRTOUQ / **/
2283 /* HAS_TELLDIR_PROTO:
2284 * This symbol, if defined, indicates that the system provides
2285 * a prototype for the telldir() function. Otherwise, it is up
2286 * to the program to supply one. A good guess is
2287 * extern long telldir _((DIR*));
2289 /*#define HAS_TELLDIR_PROTO / **/
2292 * This symbol holds the type returned by time(). It can be long,
2293 * or time_t on BSD sites (in which case <sys/types.h> should be
2296 #define Time_t int /* Time type */
2299 * This symbol, if defined, indicates that the times() routine exists.
2300 * Note that this became obsolete on some systems (SUNOS), which now
2301 * use getrusage(). It may be necessary to include <sys/times.h>.
2303 /*#define HAS_TIMES / **/
2306 * This symbol, if defined, indicates that the ualarm routine is
2307 * available to do alarms with microsecond granularity.
2309 /*#define HAS_UALARM / **/
2312 * This symbol, if defined, indicates that the union semun is
2313 * defined by including <sys/sem.h>. If not, the user code
2314 * probably needs to define it as:
2317 * struct semid_ds *buf;
2318 * unsigned short *array;
2321 /* USE_SEMCTL_SEMUN:
2322 * This symbol, if defined, indicates that union semun is
2323 * used for semctl IPC_STAT.
2325 /* USE_SEMCTL_SEMID_DS:
2326 * This symbol, if defined, indicates that struct semid_ds * is
2327 * used for semctl IPC_STAT.
2329 /*#define HAS_UNION_SEMUN / **/
2330 /*#define USE_SEMCTL_SEMUN / **/
2331 /*#define USE_SEMCTL_SEMID_DS / **/
2334 * This symbol, if defined, indicates that the unordered routine is
2335 * available to check whether two doubles are unordered
2336 * (effectively: whether either of them is NaN)
2338 /*#define HAS_UNORDERED / **/
2341 * This symbol, if defined, indicates that the ustat system call is
2342 * available to query file system statistics by dev_t.
2344 /*#define HAS_USTAT / **/
2347 * This symbol, if defined, indicates that vfork() exists.
2349 /*#define HAS_VFORK / **/
2352 * This symbol's value is either "void" or "int", corresponding to the
2353 * appropriate return type of a signal handler. Thus, you can declare
2354 * a signal handler using "Signal_t (*handler)()", and define the
2355 * handler using "Signal_t handler(sig)".
2357 #define Signal_t int /* Signal handler's return type */
2360 * This symbol, if defined, indicates that the vprintf routine is available
2361 * to printf with a pointer to an argument list. If unavailable, you
2362 * may need to write your own, probably in terms of _doprnt().
2364 /* USE_CHAR_VSPRINTF:
2365 * This symbol is defined if this system has vsprintf() returning type
2366 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2367 * is up to the package author to declare vsprintf correctly based on the
2370 #define HAS_VPRINTF /**/
2371 /*#define USE_CHAR_VSPRINTF / **/
2374 * This symbol, if defined, indicates that the writev routine is
2375 * available to do scatter writes.
2377 /*#define HAS_WRITEV / **/
2379 /* USE_DYNAMIC_LOADING:
2380 * This symbol, if defined, indicates that dynamic loading of
2381 * some sort is available.
2383 /*#define USE_DYNAMIC_LOADING / **/
2386 * This symbol contains the size of a double, so that the C preprocessor
2387 * can make decisions based on it.
2389 #define DOUBLESIZE 8 /**/
2392 * This symbol, if defined, indicates that this system uses
2395 /*#define EBCDIC / **/
2398 * This symbol, if defined, tells that fflush(NULL) does flush
2399 * all pending stdio output.
2402 * This symbol, if defined, tells that to flush
2403 * all pending stdio output one must loop through all
2404 * the stdio file handles stored in an array and fflush them.
2405 * Note that if fflushNULL is defined, fflushall will not
2406 * even be probed for and will be left undefined.
2408 /*#define FFLUSH_NULL / **/
2409 /*#define FFLUSH_ALL / **/
2412 * This symbol holds the type used to declare file positions in libc.
2413 * It can be fpos_t, long, uint, etc... It may be necessary to include
2414 * <sys/types.h> to get any typedef'ed information.
2416 #define Fpos_t int /* File position type */
2419 * This symbol defines the format string used for printing a Gid_t.
2421 #define Gid_t_f "lu" /**/
2424 * This symbol holds the signedess of a Gid_t.
2425 * 1 for unsigned, -1 for signed.
2427 #define Gid_t_sign 1 /* GID sign */
2430 * This symbol holds the size of a Gid_t in bytes.
2432 #define Gid_t_size 4 /* GID size */
2435 * This symbol holds the return type of getgid() and the type of
2436 * argument to setrgid() and related functions. Typically,
2437 * it is the type of group ids in the kernel. It can be int, ushort,
2438 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2439 * any typedef'ed information.
2441 #define Gid_t int /* Type for getgid(), etc... */
2444 * This symbol holds the type used for the second argument to
2445 * getgroups() and setgroups(). Usually, this is the same as
2446 * gidtype (gid_t) , but sometimes it isn't.
2447 * It can be int, ushort, gid_t, etc...
2448 * It may be necessary to include <sys/types.h> to get any
2449 * typedef'ed information. This is only required if you have
2450 * getgroups() or setgroups()..
2452 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2453 #define Groups_t int /* Type for 2nd arg to [sg]etgroups() */
2457 * This symbol contains the type of the prefix structure element
2458 * in the <db.h> header file. In older versions of DB, it was
2459 * int, while in newer ones it is u_int32_t.
2462 * This symbol contains the type of the prefix structure element
2463 * in the <db.h> header file. In older versions of DB, it was
2464 * int, while in newer ones it is size_t.
2466 /* DB_VERSION_MAJOR_CFG:
2467 * This symbol, if defined, defines the major version number of
2468 * Berkeley DB found in the <db.h> header when Perl was configured.
2470 /* DB_VERSION_MINOR_CFG:
2471 * This symbol, if defined, defines the minor version number of
2472 * Berkeley DB found in the <db.h> header when Perl was configured.
2473 * For DB version 1 this is always 0.
2475 /* DB_VERSION_PATCH_CFG:
2476 * This symbol, if defined, defines the patch version number of
2477 * Berkeley DB found in the <db.h> header when Perl was configured.
2478 * For DB version 1 this is always 0.
2480 #define DB_Hash_t u_int32_t /**/
2481 #define DB_Prefix_t size_t /**/
2482 #define DB_VERSION_MAJOR_CFG /**/
2483 #define DB_VERSION_MINOR_CFG /**/
2484 #define DB_VERSION_PATCH_CFG /**/
2487 * This symbol, if defined, indicates that <fp_class.h> exists and
2488 * should be included.
2490 /*#define I_FP_CLASS / **/
2493 * This symbol, if defined, indicates to the C program that it should
2497 * This symbol, if defined, indicates to the C program that struct group
2498 * in <grp.h> contains gr_passwd.
2500 /*#define I_GRP / **/
2501 /*#define GRPASSWD / **/
2504 * This symbol, if defined, indicates that <ieeefp.h> exists and
2505 * should be included.
2507 /*#define I_IEEEFP / **/
2510 * This symbol, if defined, indicates to the C program that it should
2511 * include <inttypes.h>.
2513 /*#define I_INTTYPES / **/
2516 * This symbol, if defined, indicates that <libutil.h> exists and
2517 * should be included.
2519 /*#define I_LIBUTIL / **/
2522 * This symbol, if defined, indicates to the C program that it should
2523 * include <mach/cthreads.h>.
2525 /*#define I_MACH_CTHREADS / **/
2528 * This symbol, if defined, indicates that <mntent.h> exists and
2529 * should be included.
2531 /*#define I_MNTENT / **/
2534 * This symbol, if defined, indicates that <netdb.h> exists and
2535 * should be included.
2537 /*#define I_NETDB / **/
2540 * This symbol, if defined, indicates to the C program that it should
2541 * include <netinet/tcp.h>.
2543 /*#define I_NETINET_TCP / **/
2546 * This symbol, if defined, indicates that <poll.h> exists and
2547 * should be included.
2549 /*#define I_POLL / **/
2552 * This symbol, if defined, indicates that <prot.h> exists and
2553 * should be included.
2555 /*#define I_PROT / **/
2558 * This symbol, if defined, indicates to the C program that it should
2559 * include <pthread.h>.
2561 /*#define I_PTHREAD / **/
2564 * This symbol, if defined, indicates to the C program that it should
2568 * This symbol, if defined, indicates to the C program that struct passwd
2569 * contains pw_quota.
2572 * This symbol, if defined, indicates to the C program that struct passwd
2576 * This symbol, if defined, indicates to the C program that struct passwd
2577 * contains pw_change.
2580 * This symbol, if defined, indicates to the C program that struct passwd
2581 * contains pw_class.
2584 * This symbol, if defined, indicates to the C program that struct passwd
2585 * contains pw_expire.
2588 * This symbol, if defined, indicates to the C program that struct passwd
2589 * contains pw_comment.
2592 * This symbol, if defined, indicates to the C program that struct passwd
2593 * contains pw_gecos.
2596 * This symbol, if defined, indicates to the C program that struct passwd
2597 * contains pw_passwd.
2599 /*#define I_PWD / **/
2600 /*#define PWQUOTA / **/
2601 /*#define PWAGE / **/
2602 /*#define PWCHANGE / **/
2603 /*#define PWCLASS / **/
2604 /*#define PWEXPIRE / **/
2605 /*#define PWCOMMENT / **/
2606 /*#define PWGECOS / **/
2607 /*#define PWPASSWD / **/
2610 * This symbol, if defined, indicates that <shadow.h> exists and
2611 * should be included.
2613 /*#define I_SHADOW / **/
2616 * This symbol, if defined, indicates that <socks.h> exists and
2617 * should be included.
2619 /*#define I_SOCKS / **/
2622 * This symbol, if defined, indicates that <sunmath.h> exists and
2623 * should be included.
2625 /*#define I_SUNMATH / **/
2628 * This symbol, if defined, indicates that <syslog.h> exists and
2629 * should be included.
2631 /*#define I_SYSLOG / **/
2634 * This symbol, if defined, indicates that <sys/mode.h> exists and
2635 * should be included.
2637 /*#define I_SYSMODE / **/
2640 * This symbol, if defined, indicates that <sys/mount.h> exists and
2641 * should be included.
2643 /*#define I_SYS_MOUNT / **/
2646 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2648 /*#define I_SYS_STATFS / **/
2651 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2652 * should be included.
2654 /*#define I_SYS_STATVFS / **/
2657 * This symbol, if defined, indicates that <sys/uio.h> exists and
2658 * should be included.
2660 /*#define I_SYSUIO / **/
2663 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2664 * should be included.
2666 /*#define I_SYSUTSNAME / **/
2669 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2670 * should be included.
2672 /*#define I_SYS_VFS / **/
2675 * This symbol, if defined, indicates to the C program that it should
2679 * This symbol, if defined, indicates to the C program that it should
2680 * include <sys/time.h>.
2682 /* I_SYS_TIME_KERNEL:
2683 * This symbol, if defined, indicates to the C program that it should
2684 * include <sys/time.h> with KERNEL defined.
2687 /*#define I_SYS_TIME / **/
2688 /*#define I_SYS_TIME_KERNEL / **/
2691 * This symbol, if defined, indicates that <ustat.h> exists and
2692 * should be included.
2694 /*#define I_USTAT / **/
2696 /* PERL_INC_VERSION_LIST:
2697 * This variable specifies the list of subdirectories in over
2698 * which perl.c:incpush() and lib/lib.pm will automatically
2699 * search when adding directories to @INC, in a format suitable
2700 * for a C initialization string. See the inc_version_list entry
2701 * in Porting/Glossary for more details.
2703 #define PERL_INC_VERSION_LIST NULL /**/
2705 /* INSTALL_USR_BIN_PERL:
2706 * This symbol, if defined, indicates that Perl is to be installed
2707 * also as /usr/bin/perl.
2709 /*#define INSTALL_USR_BIN_PERL / **/
2712 * This symbol, if defined, contains the string used by stdio to
2713 * format long doubles (format 'f') for output.
2716 * This symbol, if defined, contains the string used by stdio to
2717 * format long doubles (format 'g') for output.
2720 * This symbol, if defined, contains the string used by stdio to
2721 * format long doubles (format 'e') for output.
2724 * This symbol, if defined, contains the string used by stdio to
2725 * format long doubles (format 'f') for input.
2727 /*#define PERL_PRIfldbl "llf" / **/
2728 /*#define PERL_PRIgldbl "llg" / **/
2729 /*#define PERL_PRIeldbl "lle" / **/
2730 /*#define PERL_SCNfldbl "llf" / **/
2733 * This symbol holds the type used to declare offsets in the kernel.
2734 * It can be int, long, off_t, etc... It may be necessary to include
2735 * <sys/types.h> to get any typedef'ed information.
2738 * This symbol holds the number of bytes used by the Off_t.
2741 * This symbol holds the number of bytes used by the Off_t.
2743 #define Off_t int /* <offset> type */
2744 #define LSEEKSIZE 4 /* <offset> size */
2745 #define Off_t_size 4 /* <offset> size */
2748 * This variable contains the return type of free(). It is usually
2749 * void, but occasionally int.
2752 * This symbol is the type of pointer returned by malloc and realloc.
2754 #define Malloc_t void * /**/
2755 #define Free_t int /**/
2758 * This symbol, if defined, indicates that we're using our own malloc.
2760 /*#define MYMALLOC / **/
2763 * This symbol holds the type used to declare file modes
2764 * for systems calls. It is usually mode_t, but may be
2765 * int or unsigned short. It may be necessary to include <sys/types.h>
2766 * to get any typedef'ed information.
2768 #define Mode_t int /* file mode parameter for system calls */
2771 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2772 * non-blocking I/O for the file descriptor. Note that there is no way
2773 * back, i.e. you cannot turn it blocking again this way. If you wish to
2774 * alternatively switch between blocking and non-blocking, use the
2775 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2778 * This symbol holds the errno error code set by read() when no data was
2779 * present on the non-blocking file descriptor.
2782 * This symbol holds the return code from read() when no data is present
2783 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2784 * not defined, then you can't distinguish between no data and EOF by
2785 * issuing a read(). You'll have to find another way to tell for sure!
2788 * This symbol, if defined, indicates to the C program that a read() on
2789 * a non-blocking file descriptor will return 0 on EOF, and not the value
2790 * held in RD_NODATA (-1 usually, in that case!).
2792 #define VAL_O_NONBLOCK O_NONBLOCK
2793 #define VAL_EAGAIN EAGAIN
2794 #define RD_NODATA -1
2798 * This symbol, if defined, indicates that the system stores
2799 * the variable argument list datatype, va_list, in a format
2800 * that cannot be copied by simple assignment, so that some
2801 * other means must be used when copying is required.
2802 * As such systems vary in their provision (or non-provision)
2803 * of copying mechanisms, handy.h defines a platform-
2804 * independent macro, Perl_va_copy(src, dst), to do the job.
2806 /*#define NEED_VA_COPY / **/
2809 * This symbol holds the type used for the 1st argument
2810 * to gethostbyaddr().
2813 * This symbol holds the type used for the 2nd argument
2814 * to gethostbyaddr().
2817 * This symbol holds the type used for the argument to
2821 * This symbol holds the type used for the 1st argument to
2824 #define Netdb_host_t const char * /**/
2825 #define Netdb_hlen_t int /**/
2826 #define Netdb_name_t const char * /**/
2827 #define Netdb_net_t unsigned long /**/
2829 /* PERL_OTHERLIBDIRS:
2830 * This variable contains a colon-separated set of paths for the perl
2831 * binary to search for additional library files or modules.
2832 * These directories will be tacked to the end of @INC.
2833 * Perl will automatically search below each path for version-
2834 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2837 /*#define PERL_OTHERLIBDIRS "" / **/
2840 * This symbol defines the C type used for Perl's IV.
2843 * This symbol defines the C type used for Perl's UV.
2846 * This symbol defines the C type used for Perl's I8.
2849 * This symbol defines the C type used for Perl's U8.
2852 * This symbol defines the C type used for Perl's I16.
2855 * This symbol defines the C type used for Perl's U16.
2858 * This symbol defines the C type used for Perl's I32.
2861 * This symbol defines the C type used for Perl's U32.
2864 * This symbol defines the C type used for Perl's I64.
2867 * This symbol defines the C type used for Perl's U64.
2870 * This symbol defines the C type used for Perl's NV.
2873 * This symbol contains the sizeof(IV).
2876 * This symbol contains the sizeof(UV).
2879 * This symbol contains the sizeof(I8).
2882 * This symbol contains the sizeof(U8).
2885 * This symbol contains the sizeof(I16).
2888 * This symbol contains the sizeof(U16).
2891 * This symbol contains the sizeof(I32).
2894 * This symbol contains the sizeof(U32).
2897 * This symbol contains the sizeof(I64).
2900 * This symbol contains the sizeof(U64).
2903 * This symbol contains the sizeof(NV).
2906 * This symbol, if defined, indicates that a variable of type NVTYPE
2907 * can preserve all the bits of a variable of type UVTYPE.
2909 /* NV_PRESERVES_UV_BITS:
2910 * This symbol contains the number of bits a variable of type NVTYPE
2911 * can preserve of a variable of type UVTYPE.
2913 #define IVTYPE long /**/
2914 #define UVTYPE unsigned long /**/
2915 #define I8TYPE char /**/
2916 #define U8TYPE unsigned char /**/
2917 #define I16TYPE short /**/
2918 #define U16TYPE unsigned short /**/
2919 #define I32TYPE long /**/
2920 #define U32TYPE unsigned long /**/
2922 #define I64TYPE int64_t /**/
2923 #define U64TYPE uint64_t /**/
2925 #define NVTYPE double /**/
2926 #define IVSIZE 4 /**/
2927 #define UVSIZE 4 /**/
2928 #define I8SIZE 1 /**/
2929 #define U8SIZE 1 /**/
2930 #define I16SIZE 2 /**/
2931 #define U16SIZE 2 /**/
2932 #define I32SIZE 4 /**/
2933 #define U32SIZE 4 /**/
2935 #define I64SIZE 8 /**/
2936 #define U64SIZE 8 /**/
2938 #define NVSIZE 8 /**/
2939 #undef NV_PRESERVES_UV
2940 #define NV_PRESERVES_UV_BITS 0
2943 * This symbol defines the format string used for printing a Perl IV
2944 * as a signed decimal integer.
2947 * This symbol defines the format string used for printing a Perl UV
2948 * as an unsigned decimal integer.
2951 * This symbol defines the format string used for printing a Perl UV
2952 * as an unsigned octal integer.
2955 * This symbol defines the format string used for printing a Perl UV
2956 * as an unsigned hexadecimal integer in lowercase abcdef.
2959 * This symbol defines the format string used for printing a Perl UV
2960 * as an unsigned hexadecimal integer in uppercase ABCDEF.
2963 * This symbol defines the format string used for printing a Perl NV
2964 * using %e-ish floating point format.
2967 * This symbol defines the format string used for printing a Perl NV
2968 * using %f-ish floating point format.
2971 * This symbol defines the format string used for printing a Perl NV
2972 * using %g-ish floating point format.
2974 #define IVdf "ld" /**/
2975 #define UVuf "lu" /**/
2976 #define UVof "lo" /**/
2977 #define UVxf "lx" /**/
2978 #define UVXf "lX" /**/
2979 #define NVef "e" /**/
2980 #define NVff "f" /**/
2981 #define NVgf "g" /**/
2984 * This symbol holds the type used to declare process ids in the kernel.
2985 * It can be int, uint, pid_t, etc... It may be necessary to include
2986 * <sys/types.h> to get any typedef'ed information.
2988 #define Pid_t int /* PID type */
2991 * This symbol contains the name of the private library for this package.
2992 * The library is private in the sense that it needn't be in anyone's
2993 * execution path, but it should be accessible by the world. The program
2994 * should be prepared to do ~ expansion.
2997 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2998 * in programs that are not prepared to deal with ~ expansion at run-time.
3000 #define PRIVLIB "/usr/local/lib/perl5/5.7" /**/
3001 #define PRIVLIB_EXP "/usr/local/lib/perl5/5.7" /**/
3004 * This symbol contains the size of a pointer, so that the C preprocessor
3005 * can make decisions based on it. It will be sizeof(void *) if
3006 * the compiler supports (void *); otherwise it will be
3009 #define PTRSIZE 4 /**/
3012 * This macro is to be used to generate uniformly distributed
3013 * random numbers over the range [0., 1.[. You may have to supply
3014 * an 'extern double drand48();' in your program since SunOS 4.1.3
3015 * doesn't provide you with anything relevant in its headers.
3016 * See HAS_DRAND48_PROTO.
3019 * This symbol defines the type of the argument of the
3020 * random seed function.
3023 * This symbol defines the macro to be used in seeding the
3024 * random number generator (see Drand01).
3027 * This symbol indicates how many bits are produced by the
3028 * function used to generate normalized random numbers.
3029 * Values include 15, 16, 31, and 48.
3031 #define Drand01() ((rand() & 0x7FFF) / (double) ((unsigned long)1 << 15)) /**/
3032 #define Rand_seed_t int /**/
3033 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
3034 #define RANDBITS 48 /**/
3037 * This symbol holds the minimum number of bits operated by select.
3038 * That is, if you do select(n, ...), how many bits at least will be
3039 * cleared in the masks if some activity is detected. Usually this
3040 * is either n or 32*ceil(n/32), especially many little-endians do
3041 * the latter. This is only useful if you have select(), naturally.
3043 #define SELECT_MIN_BITS 32 /**/
3046 * This symbol holds the type used for the 2nd, 3rd, and 4th
3047 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3048 * is defined, and 'int *' otherwise. This is only useful if you
3049 * have select(), of course.
3051 #define Select_fd_set_t int /**/
3054 * This symbol contains a list of signal names in order of
3055 * signal number. This is intended
3056 * to be used as a static array initialization, like this:
3057 * char *sig_name[] = { SIG_NAME };
3058 * The signals in the list are separated with commas, and each signal
3059 * is surrounded by double quotes. There is no leading SIG in the signal
3060 * name, i.e. SIGQUIT is known as "QUIT".
3061 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3062 * etc., where nn is the actual signal number (e.g. NUM37).
3063 * The signal number for sig_name[i] is stored in sig_num[i].
3064 * The last element is 0 to terminate the list with a NULL. This
3065 * corresponds to the 0 at the end of the sig_num list.
3068 * This symbol contains a list of signal numbers, in the same order as the
3069 * SIG_NAME list. It is suitable for static array initialization, as in:
3070 * int sig_num[] = { SIG_NUM };
3071 * The signals in the list are separated with commas, and the indices
3072 * within that list and the SIG_NAME list match, so it's easy to compute
3073 * the signal name from a number or vice versa at the price of a small
3074 * dynamic linear lookup.
3075 * Duplicates are allowed, but are moved to the end of the list.
3076 * The signal number corresponding to sig_name[i] is sig_number[i].
3077 * if (i < NSIG) then sig_number[i] == i.
3078 * The last element is 0, corresponding to the 0 at the end of
3079 * the sig_name list.
3082 * This variable contains the number of elements of the sig_name
3083 * and sig_num arrays, excluding the final NULL entry.
3085 #define SIG_NAME 0 /**/
3086 #define SIG_NUM 0 /**/
3087 #define SIG_SIZE 1 /**/
3090 * This symbol contains the name of the private library for this package.
3091 * The library is private in the sense that it needn't be in anyone's
3092 * execution path, but it should be accessible by the world. The program
3093 * should be prepared to do ~ expansion.
3094 * The standard distribution will put nothing in this directory.
3095 * After perl has been installed, users may install their own local
3096 * architecture-dependent modules in this directory with
3097 * MakeMaker Makefile.PL
3098 * or equivalent. See INSTALL for details.
3101 * This symbol contains the ~name expanded version of SITEARCH, to be used
3102 * in programs that are not prepared to deal with ~ expansion at run-time.
3104 #define SITEARCH "" /**/
3105 #define SITEARCH_EXP "" /**/
3108 * This symbol contains the name of the private library for this package.
3109 * The library is private in the sense that it needn't be in anyone's
3110 * execution path, but it should be accessible by the world. The program
3111 * should be prepared to do ~ expansion.
3112 * The standard distribution will put nothing in this directory.
3113 * After perl has been installed, users may install their own local
3114 * architecture-independent modules in this directory with
3115 * MakeMaker Makefile.PL
3116 * or equivalent. See INSTALL for details.
3119 * This symbol contains the ~name expanded version of SITELIB, to be used
3120 * in programs that are not prepared to deal with ~ expansion at run-time.
3123 * This define is SITELIB_EXP with any trailing version-specific component
3124 * removed. The elements in inc_version_list (inc_version_list.U) can
3125 * be tacked onto this variable to generate a list of directories to search.
3127 #define SITELIB "" /**/
3128 #define SITELIB_EXP "" /**/
3129 #define SITELIB_STEM "" /**/
3132 * This symbol holds the size of a Size_t in bytes.
3134 #define Size_t_size 4 /* */
3137 * This symbol holds the type used to declare length parameters
3138 * for string functions. It is usually size_t, but may be
3139 * unsigned long, int, etc. It may be necessary to include
3140 * <sys/types.h> to get any typedef'ed information.
3142 #define Size_t int /* length paramater for string functions */
3145 * This symbol holds the type used for the size argument of
3146 * various socket calls (just the base type, not the pointer-to).
3148 #define Sock_size_t int /**/
3151 * This symbol holds the type used by functions that return
3152 * a count of bytes or an error condition. It must be a signed type.
3153 * It is usually ssize_t, but may be long or int, etc.
3154 * It may be necessary to include <sys/types.h> or <unistd.h>
3155 * to get any typedef'ed information.
3156 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3158 #define SSize_t int /* signed count of bytes */
3161 * This variable contains the string to put in front of a perl
3162 * script to make sure (one hopes) that it runs with perl and not
3165 #define STARTPERL "" /**/
3168 * This symbol is defined to be the type of char used in stdio.h.
3169 * It has the values "unsigned char" or "char".
3171 #define STDCHAR char /**/
3173 /* HAS_STDIO_STREAM_ARRAY:
3174 * This symbol, if defined, tells that there is an array
3175 * holding the stdio streams.
3177 /* STDIO_STREAM_ARRAY:
3178 * This symbol tells the name of the array holding the stdio streams.
3179 * Usual values include _iob, __iob, and __sF.
3181 /*#define HAS_STDIO_STREAM_ARRAY / **/
3182 #define STDIO_STREAM_ARRAY
3185 * This symbol defines the format string used for printing a Uid_t.
3187 #define Uid_t_f "lu" /**/
3190 * This symbol holds the signedess of a Uid_t.
3191 * 1 for unsigned, -1 for signed.
3193 #define Uid_t_sign 1 /* UID sign */
3196 * This symbol holds the size of a Uid_t in bytes.
3198 #define Uid_t_size 4 /* UID size */
3201 * This symbol holds the type used to declare user ids in the kernel.
3202 * It can be int, ushort, uid_t, etc... It may be necessary to include
3203 * <sys/types.h> to get any typedef'ed information.
3205 #define Uid_t int /* UID type */
3208 * This symbol, if defined, indicates that 64-bit integers should
3209 * be used when available. If not defined, the native integers
3210 * will be employed (be they 32 or 64 bits). The minimal possible
3211 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3212 * This may mean using for example "long longs", while your memory
3213 * may still be limited to 2 gigabytes.
3216 * This symbol, if defined, indicates that 64-bit integers should
3217 * be used when available. If not defined, the native integers
3218 * will be used (be they 32 or 64 bits). The maximal possible
3219 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3220 * be able to use more than 2 gigabytes of memory. This mode is
3221 * even more binary incompatible than USE_64_BIT_INT. You may not
3222 * be able to run the resulting executable in a 32-bit CPU at all or
3223 * you may need at least to reboot your OS to 64-bit mode.
3225 #ifndef USE_64_BIT_INT
3226 /*#define USE_64_BIT_INT / **/
3229 #ifndef USE_64_BIT_ALL
3230 /*#define USE_64_BIT_ALL / **/
3234 * This symbol, if defined, indicates that large file support
3235 * should be used when available.
3237 #ifndef USE_LARGE_FILES
3238 /*#define USE_LARGE_FILES / **/
3242 * This symbol, if defined, indicates that long doubles should
3243 * be used when available.
3245 #ifndef USE_LONG_DOUBLE
3246 /*#define USE_LONG_DOUBLE / **/
3250 * This symbol, if defined, indicates that 64-bit interfaces and
3251 * long doubles should be used when available.
3253 #ifndef USE_MORE_BITS
3254 /*#define USE_MORE_BITS / **/
3258 * This symbol, if defined, indicates that Perl should
3259 * be built to use multiplicity.
3261 #ifndef MULTIPLICITY
3262 /*#define MULTIPLICITY / **/
3266 * This symbol, if defined, indicates that the PerlIO abstraction should
3267 * be used throughout. If not defined, stdio should be
3268 * used in a fully backward compatible manner.
3271 /*#define USE_PERLIO / **/
3275 * This symbol, if defined, indicates that Perl should
3276 * be built to use socks.
3279 /*#define USE_SOCKS / **/
3283 * This symbol, if defined, indicates that Perl should be built to
3284 * use the interpreter-based threading implementation.
3287 * This symbol, if defined, indicates that Perl should be built to
3288 * use the 5.005-based threading implementation.
3290 /* OLD_PTHREADS_API:
3291 * This symbol, if defined, indicates that Perl should
3292 * be built to use the old draft POSIX threads API.
3294 /* USE_REENTRANT_API:
3295 * This symbol, if defined, indicates that Perl should
3296 * try to use the various _r versions of library functions.
3297 * This is extremely experimental.
3299 /*#define USE_5005THREADS / **/
3300 /*#define USE_ITHREADS / **/
3301 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3302 #define USE_THREADS /* until src is revised*/
3304 /*#define OLD_PTHREADS_API / **/
3305 /*#define USE_REENTRANT_API / **/
3308 * If defined, this symbol contains the name of a private library.
3309 * The library is private in the sense that it needn't be in anyone's
3310 * execution path, but it should be accessible by the world.
3311 * It may have a ~ on the front.
3312 * The standard distribution will put nothing in this directory.
3313 * Vendors who distribute perl may wish to place their own
3314 * architecture-dependent modules and extensions in this directory with
3315 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3316 * or equivalent. See INSTALL for details.
3318 /* PERL_VENDORARCH_EXP:
3319 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3320 * in programs that are not prepared to deal with ~ expansion at run-time.
3322 /*#define PERL_VENDORARCH "" / **/
3323 /*#define PERL_VENDORARCH_EXP "" / **/
3325 /* PERL_VENDORLIB_EXP:
3326 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3327 * in programs that are not prepared to deal with ~ expansion at run-time.
3329 /* PERL_VENDORLIB_STEM:
3330 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3331 * removed. The elements in inc_version_list (inc_version_list.U) can
3332 * be tacked onto this variable to generate a list of directories to search.
3334 /*#define PERL_VENDORLIB_EXP "" / **/
3335 /*#define PERL_VENDORLIB_STEM "" / **/
3338 * This symbol indicates how much support of the void type is given by this
3339 * compiler. What various bits mean:
3341 * 1 = supports declaration of void
3342 * 2 = supports arrays of pointers to functions returning void
3343 * 4 = supports comparisons between pointers to void functions and
3344 * addresses of void functions
3345 * 8 = suports declaration of generic void pointers
3347 * The package designer should define VOIDUSED to indicate the requirements
3348 * of the package. This can be done either by #defining VOIDUSED before
3349 * including config.h, or by defining defvoidused in Myinit.U. If the
3350 * latter approach is taken, only those flags will be tested. If the
3351 * level of void support necessary is not present, defines void to int.
3357 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3358 #define void int /* is void to be avoided? */
3359 #define M_VOID /* Xenix strikes again */
3362 /* PERL_XS_APIVERSION:
3363 * This variable contains the version of the oldest perl binary
3364 * compatible with the present perl. perl.c:incpush() and
3365 * lib/lib.pm will automatically search in for older
3366 * directories across major versions back to xs_apiversion.
3367 * This is only useful if you have a perl library directory tree
3368 * structured like the default one.
3369 * See INSTALL for how this works.
3370 * The versioned site_perl directory was introduced in 5.005,
3371 * so that is the lowest possible value.
3372 * Since this can depend on compile time options (such as
3373 * bincompat) it is set by Configure. Other non-default sources
3374 * of potential incompatibility, such as multiplicity, threads,
3375 * debugging, 64bits, sfio, etc., are not checked for currently,
3376 * though in principle we could go snooping around in old
3379 /* PERL_PM_APIVERSION:
3380 * This variable contains the version of the oldest perl
3381 * compatible with the present perl. (That is, pure perl modules
3382 * written for pm_apiversion will still work for the current
3383 * version). perl.c:incpush() and lib/lib.pm will automatically
3384 * search in for older directories across major versions
3385 * back to pm_apiversion. This is only useful if you have a perl
3386 * library directory tree structured like the default one. The
3387 * versioned site_perl library was introduced in 5.005, so that's
3388 * the default setting for this variable. It's hard to imagine
3389 * it changing before Perl6. It is included here for symmetry
3390 * with xs_apiveprsion -- the searching algorithms will
3391 * (presumably) be similar.
3392 * See the INSTALL file for how this works.
3394 #define PERL_XS_APIVERSION "5.005"
3395 #define PERL_PM_APIVERSION "5.005"
3398 * This symbol, if defined, indicates that the crypt routine is available
3399 * to encrypt passwords and the like.
3401 /*#define HAS_CRYPT / **/
3403 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
3404 * This symbol, if defined, indicates that the bug that prevents
3405 * setuid scripts from being secure is not present in this kernel.
3408 * This symbol, if defined, indicates that the C program should
3409 * check the script that it is executing for setuid/setgid bits, and
3410 * attempt to emulate setuid/setgid on systems that have disabled
3411 * setuid #! scripts because the kernel can't do it securely.
3412 * It is up to the package designer to make sure that this emulation
3413 * is done securely. Among other things, it should do an fstat on
3414 * the script it just opened to make sure it really is a setuid/setgid
3415 * script, it should make sure the arguments passed correspond exactly
3416 * to the argument on the #! line, and it should not trust any
3417 * subprocesses to which it must pass the filename rather than the
3418 * file descriptor of the script to be executed.
3420 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
3421 /*#define DOSUID / **/
3424 * This symbol, if defined, indicates that <stdarg.h> exists and should
3428 * This symbol, if defined, indicates to the C program that it should
3429 * include <varargs.h>.
3431 #define I_STDARG /**/
3432 /*#define I_VARARGS / **/
3435 * This symbol contains the full pathname to the shell used on this
3436 * on this system to execute Bourne shell scripts. Usually, this will be
3437 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3438 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3441 #define SH_PATH "" /**/
3443 /* USE_CROSS_COMPILE:
3444 * This symbol, if defined, indicates that Perl is being cross-compiled.
3447 * This symbol, if defined, indicates the target architecture
3448 * Perl has been cross-compiled to. Undefined if not a cross-compile.
3450 #ifndef USE_CROSS_COMPILE
3451 /*#define USE_CROSS_COMPILE / **/
3452 #define PERL_TARGETARCH "" /**/
3455 /* HAS_DBMINIT_PROTO:
3456 * This symbol, if defined, indicates that the system provides
3457 * a prototype for the dbminit() function. Otherwise, it is up
3458 * to the program to supply one. A good guess is
3459 * extern int dbminit(char *);
3461 /*#define HAS_DBMINIT_PROTO / **/
3464 * This manifest constant lets the C program know that dirfd
3467 /*#define HAS_DIRFD / **/
3470 * This symbol, if defined, indicates that the system provides
3471 * a prototype for the flock() function. Otherwise, it is up
3472 * to the program to supply one. A good guess is
3473 * extern int flock(int, int);
3475 /*#define HAS_FLOCK_PROTO / **/
3478 * This symbol, if defined, indicates that the fpclassl routine is
3479 * available to classify long doubles. Available for example in IRIX.
3480 * The returned values are defined in <ieeefp.h> and are:
3482 * FP_SNAN signaling NaN
3484 * FP_NINF negative infinity
3485 * FP_PINF positive infinity
3486 * FP_NDENORM negative denormalized non-zero
3487 * FP_PDENORM positive denormalized non-zero
3488 * FP_NZERO negative zero
3489 * FP_PZERO positive zero
3490 * FP_NNORM negative normalized non-zero
3491 * FP_PNORM positive normalized non-zero
3493 /*#define HAS_FPCLASSL / **/
3496 * This symbol, if defined, indicates that the nl_langinfo routine is
3497 * available to return local data. You will also need <langinfo.h>
3498 * and therefore I_LANGINFO.
3500 /*#define HAS_NL_LANGINFO / **/
3503 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3504 * to the absolute pathname of the executing program.
3506 /* PROCSELFEXE_PATH:
3507 * If HAS_PROCSELFEXE is defined this symbol is the filename
3508 * of the symbolic link pointing to the absolute pathname of
3509 * the executing program.
3511 /*#define HAS_PROCSELFEXE / **/
3512 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3513 #define PROCSELFEXE_PATH /**/
3517 * This symbol, if defined, indicates that the sigprocmask
3518 * system call is available to examine or change the signal mask
3519 * of the calling process.
3521 /*#define HAS_SIGPROCMASK / **/
3524 * This symbol, if defined, indicates that the sockatmark routine is
3525 * available to test whether a socket is at the out-of-band mark.
3527 /*#define HAS_SOCKATMARK / **/
3529 /* HAS_SOCKATMARK_PROTO:
3530 * This symbol, if defined, indicates that the system provides
3531 * a prototype for the sockatmark() function. Otherwise, it is up
3532 * to the program to supply one. A good guess is
3533 * extern int sockatmark _((int));
3535 /*#define HAS_SOCKATMARK_PROTO / **/
3537 /* HAS_SETRESGID_PROTO:
3538 * This symbol, if defined, indicates that the system provides
3539 * a prototype for the setresgid() function. Otherwise, it is up
3540 * to the program to supply one. Good guesses are
3541 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3543 /*#define HAS_SETRESGID_PROTO / **/
3545 /* HAS_SETRESUID_PROTO:
3546 * This symbol, if defined, indicates that the system provides
3547 * a prototype for the setresuid() function. Otherwise, it is up
3548 * to the program to supply one. Good guesses are
3549 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3551 /*#define HAS_SETRESUID_PROTO / **/
3554 * This symbol, if defined, indicates that the strftime routine is
3555 * available to do time formatting.
3557 /*#define HAS_STRFTIME / **/
3559 /* HAS_SYSCALL_PROTO:
3560 * This symbol, if defined, indicates that the system provides
3561 * a prototype for the syscall() function. Otherwise, it is up
3562 * to the program to supply one. Good guesses are
3563 * extern int syscall(int, ...);
3564 * extern int syscall(long, ...);
3566 /*#define HAS_SYSCALL_PROTO / **/
3568 /* U32_ALIGNMENT_REQUIRED:
3569 * This symbol, if defined, indicates that you must access
3570 * character data through U32-aligned pointers.
3572 #define U32_ALIGNMENT_REQUIRED /**/
3574 /* HAS_USLEEP_PROTO:
3575 * This symbol, if defined, indicates that the system provides
3576 * a prototype for the usleep() function. Otherwise, it is up
3577 * to the program to supply one. A good guess is
3578 * extern int usleep(useconds_t);
3580 /*#define HAS_USLEEP_PROTO / **/
3583 * This symbol, if defined, indicates that <fp.h> exists and
3584 * should be included.
3586 /*#define I_FP / **/
3589 * This symbol, if defined, indicates that <langinfo.h> exists and
3590 * should be included.
3592 /*#define I_LANGINFO / **/
3594 /* HAS_PTHREAD_ATFORK:
3595 * This symbol, if defined, indicates that the pthread_atfork routine
3596 * is available setup fork handlers.
3598 /*#define HAS_PTHREAD_ATFORK / **/