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 is defined if the bcmp() routine is available to
37 * compare blocks of memory.
39 /*#define HAS_BCMP / **/
42 * This symbol is defined if the bcopy() routine is available to
43 * copy blocks of memory.
45 /*#define HAS_BCOPY / **/
48 * This symbol is defined if the bzero() routine is available to
49 * set a memory block to 0.
51 /*#define HAS_BZERO / **/
54 * This symbol, if defined, indicates that the chown routine is
57 /*#define HAS_CHOWN / **/
60 * This symbol, if defined, indicates that the chroot routine is
63 /*#define HAS_CHROOT / **/
66 * This symbol, if defined, indicates that the chsize routine is available
67 * to truncate files. You might need a -lx to get this routine.
69 /*#define HAS_CHSIZE / **/
72 * This symbol, if defined, indicates that this C compiler knows about
73 * the const type. There is no need to actually test for that symbol
74 * within your programs. The mere use of the "const" keyword will
75 * trigger the necessary tests.
77 /*#define HASCONST / **/
83 * This symbol, if defined, indicates that the cuserid routine is
84 * available to get character login names.
86 /*#define HAS_CUSERID / **/
89 * This symbol, if defined, indicates that this system's <float.h>
90 * or <limits.h> defines the symbol DBL_DIG, which is the number
91 * of significant digits in a double precision number. If this
92 * symbol is not defined, a guess of 15 is usually pretty good.
94 /*#define HAS_DBL_DIG / * */
97 * This symbol, if defined, indicates that the difftime routine is
100 /*#define HAS_DIFFTIME / **/
103 * This symbol, if defined, indicates that the dlerror routine is
104 * available to return a string describing the last error that
105 * occurred from a call to dlopen(), dlclose() or dlsym().
107 /*#define HAS_DLERROR / **/
110 * This symbol, if defined, indicates that the dup2 routine is
111 * available to duplicate file descriptors.
113 /*#define HAS_DUP2 / **/
116 * This symbol, if defined, indicates that the fchmod routine is available
117 * to change mode of opened files. If unavailable, use chmod().
119 /*#define HAS_FCHMOD / **/
122 * This symbol, if defined, indicates that the fchown routine is available
123 * to change ownership of opened files. If unavailable, use chown().
125 /*#define HAS_FCHOWN / **/
128 * This symbol, if defined, indicates to the C program that
129 * the fcntl() function exists.
131 /*#define HAS_FCNTL / **/
134 * This symbol, if defined, indicates that the fgetpos routine is
135 * available to get the file position indicator, similar to ftell().
137 /*#define HAS_FGETPOS / **/
140 * This symbol, if defined, indicates that the flock routine is
141 * available to do file locking.
143 /*#define HAS_FLOCK / **/
146 * This symbol, if defined, indicates that the fork routine is
149 #define HAS_FORK /**/
152 * This symbol, if defined, indicates that the fsetpos routine is
153 * available to set the file position indicator, similar to fseek().
155 /*#define HAS_FSETPOS / **/
158 * This symbol, if defined, indicates that the gettimeofday() system
159 * call is available for a sub-second accuracy clock. Usually, the file
160 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
161 * The type "Timeval" should be used to refer to "struct timeval".
163 /*#define HAS_GETTIMEOFDAY / **/
164 #ifdef HAS_GETTIMEOFDAY
165 #define Timeval struct timeval /* Structure used by gettimeofday() */
169 * This symbol, if defined, indicates that the getgroups() routine is
170 * available to get the list of process groups. If unavailable, multiple
171 * groups are probably not supported.
173 /*#define HAS_GETGROUPS / **/
176 * This symbol, if defined, indicates that the getlogin routine is
177 * available to get the login name.
179 /*#define HAS_GETLOGIN / **/
182 * This symbol, if defined, indicates to the C program that
183 * the getpgid(pid) function is available to get the
186 /*#define HAS_GETPGID / **/
189 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
190 * routine is available to get the current process group.
192 /*#define HAS_GETPGRP2 / **/
195 * This symbol, if defined, indicates that the getppid routine is
196 * available to get the parent process ID.
198 /*#define HAS_GETPPID / **/
201 * This symbol, if defined, indicates that the getpriority routine is
202 * available to get a process's priority.
204 /*#define HAS_GETPRIORITY / **/
207 * This symbol, if defined, indicates to the C program that the
208 * inet_aton() function is available to parse IP address "dotted-quad"
211 /*#define HAS_INET_ATON / **/
214 * This symbol, if defined, indicates that the killpg routine is available
215 * to kill process groups. If unavailable, you probably should use kill
216 * with a negative process number.
218 /*#define HAS_KILLPG / **/
221 * This symbol, if defined, indicates that the link routine is
222 * available to create hard links.
224 /*#define HAS_LINK / **/
227 * This symbol, if defined, indicates that the localeconv routine is
228 * available for numeric and monetary formatting conventions.
230 /*#define HAS_LOCALECONV / **/
233 * This symbol, if defined, indicates that the lockf routine is
234 * available to do file locking.
236 /*#define HAS_LOCKF / **/
239 * This symbol, if defined, indicates that the lstat routine is
240 * available to do file stats on symbolic links.
242 /*#define HAS_LSTAT / **/
245 * This symbol, if defined, indicates that the mblen routine is available
246 * to find the number of bytes in a multibye character.
248 /*#define HAS_MBLEN / **/
251 * This symbol, if defined, indicates that the mbstowcs routine is
252 * available to covert a multibyte string into a wide character string.
254 /*#define HAS_MBSTOWCS / **/
257 * This symbol, if defined, indicates that the mbtowc routine is available
258 * to covert a multibyte to a wide character.
260 /*#define HAS_MBTOWC / **/
263 * This symbol, if defined, indicates that the memcmp routine is available
264 * to compare blocks of memory.
266 #define HAS_MEMCMP /**/
269 * This symbol, if defined, indicates that the memcpy routine is available
270 * to copy blocks of memory.
272 #define HAS_MEMCPY /**/
275 * This symbol, if defined, indicates that the memmove routine is available
276 * to copy potentially overlapping blocks of memory. This should be used
277 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
280 /*#define HAS_MEMMOVE / **/
283 * This symbol, if defined, indicates that the memset routine is available
284 * to set blocks of memory.
286 /*#define HAS_MEMSET / **/
289 * This symbol, if defined, indicates that the mkdir routine is available
290 * to create directories. Otherwise you should fork off a new process to
293 /*#define HAS_MKDIR / **/
296 * This symbol, if defined, indicates that the mkfifo routine is
297 * available to create FIFOs. Otherwise, mknod should be able to
298 * do it for you. However, if mkfifo is there, mknod might require
299 * super-user privileges which mkfifo will not.
301 /*#define HAS_MKFIFO / **/
304 * This symbol, if defined, indicates that the mktime routine is
307 /*#define HAS_MKTIME / **/
310 * This symbol, if defined, indicates that the msync system call is
311 * available to synchronize a mapped file.
313 /*#define HAS_MSYNC / **/
316 * This symbol, if defined, indicates that the munmap system call is
317 * available to unmap a region, usually mapped by mmap().
319 /*#define HAS_MUNMAP / **/
322 * This symbol, if defined, indicates that the nice routine is
325 /*#define HAS_NICE / **/
328 * This symbol, if defined, indicates that pathconf() is available
329 * to determine file-system related limits and options associated
330 * with a given filename.
333 * This symbol, if defined, indicates that pathconf() is available
334 * to determine file-system related limits and options associated
335 * with a given open file descriptor.
337 /*#define HAS_PATHCONF / **/
338 /*#define HAS_FPATHCONF / **/
341 * This symbol, if defined, indicates that the pause routine is
342 * available to suspend a process until a signal is received.
344 /*#define HAS_PAUSE / **/
347 * This symbol, if defined, indicates that the pipe routine is
348 * available to create an inter-process channel.
350 /*#define HAS_PIPE / **/
353 * This symbol, if defined, indicates that the poll routine is
354 * available to poll active file descriptors. You may safely
355 * include <poll.h> when this symbol is defined.
357 /*#define HAS_POLL / **/
360 * This symbol, if defined, indicates that the readdir routine is
361 * available to read directory entries. You may have to include
362 * <dirent.h>. See I_DIRENT.
364 #define HAS_READDIR /**/
367 * This symbol, if defined, indicates that the seekdir routine is
368 * available. You may have to include <dirent.h>. See I_DIRENT.
370 /*#define HAS_SEEKDIR / **/
373 * This symbol, if defined, indicates that the telldir routine is
374 * available. You may have to include <dirent.h>. See I_DIRENT.
376 /*#define HAS_TELLDIR / **/
379 * This symbol, if defined, indicates that the rewinddir routine is
380 * available. You may have to include <dirent.h>. See I_DIRENT.
382 /*#define HAS_REWINDDIR / **/
385 * This symbol, if defined, indicates that the readlink routine is
386 * available to read the value of a symbolic link.
388 /*#define HAS_READLINK / **/
391 * This symbol, if defined, indicates that the rename routine is available
392 * to rename files. Otherwise you should do the unlink(), link(), unlink()
395 #define HAS_RENAME /**/
398 * This symbol, if defined, indicates that the rmdir routine is
399 * available to remove directories. Otherwise you should fork off a
400 * new process to exec /bin/rmdir.
402 /*#define HAS_RMDIR / **/
405 * This symbol, if defined, indicates that the select routine is
406 * available to select active file descriptors. If the timeout field
407 * is used, <sys/time.h> may need to be included.
409 /*#define HAS_SELECT / **/
412 * This symbol, if defined, indicates that the setegid routine is available
413 * to change the effective gid of the current program.
415 /*#define HAS_SETEGID / **/
418 * This symbol, if defined, indicates that the seteuid routine is available
419 * to change the effective uid of the current program.
421 /*#define HAS_SETEUID / **/
424 * This symbol, if defined, indicates that the setlinebuf routine is
425 * available to change stderr or stdout from block-buffered or unbuffered
426 * to a line-buffered mode.
428 /*#define HAS_SETLINEBUF / **/
431 * This symbol, if defined, indicates that the setlocale routine is
432 * available to handle locale-specific ctype implementations.
434 /*#define HAS_SETLOCALE / **/
437 * This symbol, if defined, indicates that the setpgid(pid, gpid)
438 * routine is available to set process group ID.
440 /*#define HAS_SETPGID / **/
443 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
444 * routine is available to set the current process group.
446 /*#define HAS_SETPGRP2 / **/
449 * This symbol, if defined, indicates that the setpriority routine is
450 * available to set a process's priority.
452 /*#define HAS_SETPRIORITY / **/
455 * This symbol, if defined, indicates that the setregid routine is
456 * available to change the real and effective gid of the current
460 * This symbol, if defined, indicates that the setresgid routine is
461 * available to change the real, effective and saved gid of the current
464 /*#define HAS_SETREGID / **/
465 /*#define HAS_SETRESGID / **/
468 * This symbol, if defined, indicates that the setreuid routine is
469 * available to change the real and effective uid of the current
473 * This symbol, if defined, indicates that the setresuid routine is
474 * available to change the real, effective and saved uid of the current
477 /*#define HAS_SETREUID / **/
478 /*#define HAS_SETRESUID / **/
481 * This symbol, if defined, indicates that the setrgid routine is available
482 * to change the real gid of the current program.
484 /*#define HAS_SETRGID / **/
487 * This symbol, if defined, indicates that the setruid routine is available
488 * to change the real uid of the current program.
490 /*#define HAS_SETRUID / **/
493 * This symbol, if defined, indicates that the setsid routine is
494 * available to set the process group ID.
496 /*#define HAS_SETSID / **/
499 * This symbol is defined to indicate that the strchr()/strrchr()
500 * functions are available for string searching. If not, try the
501 * index()/rindex() pair.
504 * This symbol is defined to indicate that the index()/rindex()
505 * functions are available for string searching.
507 /*#define HAS_STRCHR / **/
508 /*#define HAS_INDEX / **/
511 * This symbol, if defined, indicates that the strcoll routine is
512 * available to compare strings using collating information.
514 /*#define HAS_STRCOLL / **/
517 * This symbol, if defined, indicates that this C compiler knows how
518 * to copy structures. If undefined, you'll need to use a block copy
519 * routine of some sort instead.
521 /*#define USE_STRUCT_COPY / **/
524 * This symbol, if defined, indicates that the strtod routine is
525 * available to provide better numeric string conversion than atof().
527 /*#define HAS_STRTOD / **/
530 * This symbol, if defined, indicates that the strtol routine is available
531 * to provide better numeric string conversion than atoi() and friends.
533 /*#define HAS_STRTOL / **/
536 * This symbol, if defined, indicates that the strxfrm() routine is
537 * available to transform strings.
539 /*#define HAS_STRXFRM / **/
542 * This symbol, if defined, indicates that the symlink routine is available
543 * to create symbolic links.
545 /*#define HAS_SYMLINK / **/
548 * This symbol, if defined, indicates that the syscall routine is
549 * available to call arbitrary system calls. If undefined, that's tough.
551 /*#define HAS_SYSCALL / **/
554 * This symbol, if defined, indicates that sysconf() is available
555 * to determine system related limits and options.
557 /*#define HAS_SYSCONF / **/
560 * This symbol, if defined, indicates that the system routine is
561 * available to issue a shell command.
563 /*#define HAS_SYSTEM / **/
566 * This symbol, if defined, indicates that the tcgetpgrp routine is
567 * available to get foreground process group ID.
569 /*#define HAS_TCGETPGRP / **/
572 * This symbol, if defined, indicates that the tcsetpgrp routine is
573 * available to set foreground process group ID.
575 /*#define HAS_TCSETPGRP / **/
578 * This symbol, if defined, indicates that the truncate routine is
579 * available to truncate files.
581 /*#define HAS_TRUNCATE / **/
584 * This symbol, if defined, indicates that the tzname[] array is
585 * available to access timezone names.
587 /*#define HAS_TZNAME / **/
590 * This symbol, if defined, indicates that the umask routine is
591 * available to set and get the value of the file creation mask.
593 /*#define HAS_UMASK / **/
596 * This symbol, if defined, indicates that the usleep routine is
597 * available to let the process sleep on a sub-second accuracy.
599 /*#define HAS_USLEEP / **/
602 * This symbol, if defined, indicates that this C compiler knows about
603 * the volatile declaration.
605 /*#define HASVOLATILE / **/
611 * This symbol, if defined, indicates that wait4() exists.
613 /*#define HAS_WAIT4 / **/
616 * This symbol, if defined, indicates that the waitpid routine is
617 * available to wait for child process.
619 /*#define HAS_WAITPID / **/
622 * This symbol, if defined, indicates that the wcstombs routine is
623 * available to convert wide character strings to multibyte strings.
625 /*#define HAS_WCSTOMBS / **/
628 * This symbol, if defined, indicates that the wctomb routine is available
629 * to covert a wide character to a multibyte.
631 /*#define HAS_WCTOMB / **/
634 * This symbol, if defined, indicates to the C program that it should
635 * include <arpa/inet.h> to get inet_addr and friends declarations.
637 /*#define I_ARPA_INET / **/
640 * This symbol, if defined, indicates that <dbm.h> exists and should
644 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
645 * should be included.
647 /*#define I_DBM / **/
648 /*#define I_RPCSVC_DBM / **/
651 * This symbol, if defined, indicates to the C program that it should
652 * include <dirent.h>. Using this symbol also triggers the definition
653 * of the Direntry_t define which ends up being 'struct dirent' or
654 * 'struct direct' depending on the availability of <dirent.h>.
657 * This symbol, if defined, indicates to the C program that the length
658 * of directory entry names is provided by a d_namlen field. Otherwise
659 * you need to do strlen() on the d_name field.
662 * This symbol is set to 'struct direct' or 'struct dirent' depending on
663 * whether dirent is available or not. You should use this pseudo type to
664 * portably declare your directory entries.
666 #define I_DIRENT /**/
667 /*#define DIRNAMLEN / **/
668 #define Direntry_t struct dirent
671 * This symbol, if defined, indicates that <dlfcn.h> exists and should
674 /*#define I_DLFCN / **/
677 * This manifest constant tells the C program to include <fcntl.h>.
679 /*#define I_FCNTL / **/
682 * This symbol, if defined, indicates to the C program that it should
683 * include <float.h> to get definition of symbols like DBL_MAX or
684 * DBL_MIN, i.e. machine dependent floating point values.
686 /*#define I_FLOAT / **/
689 * This symbol, if defined, indicates to the C program that it should
690 * include <limits.h> to get definition of symbols like WORD_BIT or
691 * LONG_MAX, i.e. machine dependant limitations.
693 /*#define I_LIMITS / **/
696 * This symbol, if defined, indicates to the C program that it should
697 * include <locale.h>.
699 /*#define I_LOCALE / **/
702 * This symbol, if defined, indicates to the C program that it should
708 * This symbol, if defined, indicates to the C program that it should
709 * include <memory.h>.
711 /*#define I_MEMORY / **/
714 * This symbol, if defined, indicates that <net/errno.h> exists and
715 * should be included.
717 /*#define I_NET_ERRNO / **/
720 * This symbol, if defined, indicates to the C program that it should
721 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
723 /*#define I_NETINET_IN / **/
726 * This symbol, if defined, indicates to the C program that it should
729 /*#define I_SFIO / **/
732 * This symbol, if defined, indicates that <stddef.h> exists and should
735 /*#define I_STDDEF / **/
738 * This symbol, if defined, indicates that <stdlib.h> exists and should
741 #define I_STDLIB /**/
744 * This symbol, if defined, indicates to the C program that it should
745 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
747 #define I_STRING /**/
750 * This symbol, if defined, indicates to the C program that it should
751 * include <sys/dir.h>.
753 /*#define I_SYS_DIR / **/
756 * This symbol, if defined, indicates to the C program that it should
757 * include <sys/file.h> to get definition of R_OK and friends.
759 /*#define I_SYS_FILE / **/
762 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
763 * be included. Otherwise, include <sgtty.h> or <termio.h>.
766 * This symbol, if defined, indicates the <sys/sockio.h> should be included
767 * to get socket ioctl options, like SIOCATMARK.
769 /*#define I_SYS_IOCTL / **/
770 /*#define I_SYS_SOCKIO / **/
773 * This symbol, if defined, indicates to the C program that it should
774 * include <sys/ndir.h>.
776 /*#define I_SYS_NDIR / **/
779 * This symbol, if defined, indicates to the C program that it should
780 * include <sys/param.h>.
782 /*#define I_SYS_PARAM / **/
785 * This symbol, if defined, indicates to the C program that it should
786 * include <sys/resource.h>.
788 /*#define I_SYS_RESOURCE / **/
791 * This symbol, if defined, indicates to the C program that it should
792 * include <sys/select.h> in order to get definition of struct timeval.
794 /*#define I_SYS_SELECT / **/
797 * This symbol, if defined, indicates to the C program that it should
798 * include <sys/stat.h>.
800 #define I_SYS_STAT /**/
803 * This symbol, if defined, indicates to the C program that it should
804 * include <sys/times.h>.
806 /*#define I_SYS_TIMES / **/
809 * This symbol, if defined, indicates to the C program that it should
810 * include <sys/types.h>.
812 /*#define I_SYS_TYPES / **/
815 * This symbol, if defined, indicates to the C program that it should
816 * include <sys/un.h> to get UNIX domain socket definitions.
818 /*#define I_SYS_UN / **/
821 * This symbol, if defined, indicates to the C program that it should
822 * include <sys/wait.h>.
824 /*#define I_SYS_WAIT / **/
827 * This symbol, if defined, indicates that the program should include
828 * <termio.h> rather than <sgtty.h>. There are also differences in
829 * the ioctl() calls that depend on the value of this symbol.
832 * This symbol, if defined, indicates that the program should include
833 * the POSIX termios.h rather than sgtty.h or termio.h.
834 * There are also differences in the ioctl() calls that depend on the
835 * value of this symbol.
838 * This symbol, if defined, indicates that the program should include
839 * <sgtty.h> rather than <termio.h>. There are also differences in
840 * the ioctl() calls that depend on the value of this symbol.
842 /*#define I_TERMIO / **/
843 /*#define I_TERMIOS / **/
844 /*#define I_SGTTY / **/
847 * This symbol, if defined, indicates to the C program that it should
848 * include <unistd.h>.
850 /*#define I_UNISTD / **/
853 * This symbol, if defined, indicates to the C program that it should
856 /*#define I_UTIME / **/
859 * This symbol, if defined, indicates to the C program that it should
860 * include <values.h> to get definition of symbols like MINFLOAT or
861 * MAXLONG, i.e. machine dependant limitations. Probably, you
862 * should use <limits.h> instead, if it is available.
864 /*#define I_VALUES / **/
867 * This symbol, if defined, indicates to the C program that it should
870 /*#define I_VFORK / **/
873 * This symbol, if defined, indicates that the accessx routine is
874 * available to do extended access checks.
876 /*#define HAS_ACCESSX / **/
879 * This symbol, if defined, indicates that the eaccess routine is
880 * available to do extended access checks.
882 /*#define HAS_EACCESS / **/
885 * This symbol, if defined, indicates to the C program that it should
886 * include <sys/access.h>.
888 /*#define I_SYS_ACCESS / **/
891 * This symbol, if defined, indicates to the C program that it should
892 * include <sys/security.h>.
894 /*#define I_SYS_SECURITY / **/
896 /* USE_CROSS_COMPILE:
897 * This symbol, if defined, indicates that Perl is being cross-compiled.
900 * This symbol, if defined, indicates the target architecture
901 * Perl has been cross-compiled to. Undefined if not a cross-compile.
903 #ifndef USE_CROSS_COMPILE
904 /*#define USE_CROSS_COMPILE / **/
905 #define PERL_TARGETARCH "" /**/
909 * This symbol contains the name of the operating system, as determined
910 * by Configure. You shouldn't rely on it too much; the specific
911 * feature tests from Configure are generally more reliable.
914 * This symbol contains the version of the operating system, as determined
915 * by Configure. You shouldn't rely on it too much; the specific
916 * feature tests from Configure are generally more reliable.
918 #define OSNAME "unknown" /**/
919 #define OSVERS "" /**/
922 * This symbol, if defined, signifies that the build
923 * process will produce some binary files that are going to be
924 * used in a cross-platform environment. This is the case for
925 * example with the NeXT "fat" binaries that contain executables
928 /*#define MULTIARCH / **/
931 * This symbol contains the number of bytes required to align a
932 * double, or a long double when applicable. Usual values are 2,
933 * 4 and 8. The default is eight, for safety.
935 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
936 # define MEM_ALIGNBYTES 8
938 #define MEM_ALIGNBYTES 4
942 * This variable, if defined, holds the name of the directory in
943 * which the user wants to put architecture-dependent public
944 * library files for . It is most often a local directory
945 * such as /usr/local/lib. Programs using this variable must be
946 * prepared to deal with filename expansion. If ARCHLIB is the
947 * same as PRIVLIB, it is not defined, since presumably the
948 * program already searches PRIVLIB.
951 * This symbol contains the ~name expanded version of ARCHLIB, to be used
952 * in programs that are not prepared to deal with ~ expansion at run-time.
954 /*#define ARCHLIB "/usr/local/lib/perl5/5.9/unknown" / **/
955 /*#define ARCHLIB_EXP "/usr/local/lib/perl5/5.9/unknown" / **/
958 * This symbol holds a string representing the architecture name.
959 * It may be used to construct an architecture-dependant pathname
960 * where library files may be held under a private library, for
963 #define ARCHNAME "unknown" /**/
966 * This symbol, if defined, indicates that the atolf routine is
967 * available to convert strings into long doubles.
969 /*#define HAS_ATOLF / **/
972 * This symbol, if defined, indicates that the atoll routine is
973 * available to convert strings into long longs.
975 /*#define HAS_ATOLL / **/
978 * This symbol holds the path of the bin directory where the package will
979 * be installed. Program must be prepared to deal with ~name substitution.
982 * This symbol is the filename expanded version of the BIN symbol, for
983 * programs that do not want to deal with that at run-time.
985 /* PERL_RELOCATABLE_INC:
986 * This symbol, if defined, indicates that we'd like to relocate entries
987 * in @INC at run time based on the location of the perl binary.
989 #define BIN "/usr/local/bin" /**/
990 #define BIN_EXP "" /**/
991 #define PERL_RELOCATABLE_INC "undef" /**/
994 * This symbol contains the value of sizeof(int) so that the C
995 * preprocessor can make decisions based on it.
998 * This symbol contains the value of sizeof(long) so that the C
999 * preprocessor can make decisions based on it.
1002 * This symbol contains the value of sizeof(short) so that the C
1003 * preprocessor can make decisions based on it.
1005 #define INTSIZE 4 /**/
1006 #define LONGSIZE 4 /**/
1007 #define SHORTSIZE 2 /**/
1010 * This symbol holds the hexadecimal constant defined in byteorder,
1011 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
1012 * If the compiler supports cross-compiling or multiple-architecture
1013 * binaries (eg. on NeXT systems), use compiler-defined macros to
1014 * determine the byte order.
1015 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1016 * Binaries (MAB) on either big endian or little endian machines.
1017 * The endian-ness is available at compile-time. This only matters
1018 * for perl, where the config.h can be generated and installed on
1019 * one system, and used by a different architecture to build an
1020 * extension. Older versions of NeXT that might not have
1021 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1022 * so the default case (for NeXT) is big endian to catch them.
1023 * This might matter for NeXT 3.0.
1025 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1026 # ifdef __LITTLE_ENDIAN__
1028 # define BYTEORDER 0x1234
1031 # define BYTEORDER 0x12345678
1035 # ifdef __BIG_ENDIAN__
1037 # define BYTEORDER 0x4321
1040 # define BYTEORDER 0x87654321
1045 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1046 # define BYTEORDER 0x4321
1049 #define BYTEORDER 0x1234 /* large digits for MSB */
1053 * This macro concatenates 2 tokens together.
1056 * This macro surrounds its token with double quotes.
1059 #define CAT2(a,b) a/**/b
1060 #define STRINGIFY(a) "a"
1061 /* If you can get stringification with catify, tell me how! */
1064 #define PeRl_CaTiFy(a, b) a ## b
1065 #define PeRl_StGiFy(a) #a
1066 /* the additional level of indirection enables these macros to be
1067 * used as arguments to other macros. See K&R 2nd ed., page 231. */
1068 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1069 #define StGiFy(a) PeRl_StGiFy(a)
1070 #define STRINGIFY(a) PeRl_StGiFy(a)
1072 #if 42 != 1 && 42 != 42
1073 # include "Bletch: How does this C preprocessor concatenate tokens?"
1077 * This symbol contains the first part of the string which will invoke
1078 * the C preprocessor on the standard input and produce to standard
1079 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1080 * call a wrapper. See CPPRUN.
1083 * This symbol contains the second part of the string which will invoke
1084 * the C preprocessor on the standard input and produce to standard
1085 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1086 * to specify standard input, otherwise the value is "".
1089 * This symbol contains the string which will invoke a C preprocessor on
1090 * the standard input and produce to standard output. It needs to end
1091 * with CPPLAST, after all other preprocessor flags have been specified.
1092 * The main difference with CPPSTDIN is that this program will never be a
1093 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1094 * available directly to the user. Note that it may well be different from
1095 * the preprocessor used to compile the C program.
1098 * This symbol is intended to be used along with CPPRUN in the same manner
1099 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1107 * This symbol, if defined, indicates that the _fwalk system call is
1108 * available to apply a function to all the file handles.
1110 /*#define HAS__FWALK / **/
1113 * This manifest constant lets the C program know that the access()
1114 * system call is available to check for accessibility using real UID/GID.
1115 * (always present on UNIX.)
1117 /*#define HAS_ACCESS / **/
1120 * This symbol, if defined, indicates that the aintl routine is
1121 * available. If copysignl is also present we can emulate modfl.
1123 /*#define HAS_AINTL / **/
1126 * This symbol, if defined, indicates that the asctime_r routine
1127 * is available to asctime re-entrantly.
1130 * This symbol encodes the prototype of asctime_r.
1131 * It is zero if d_asctime_r is undef, and one of the
1132 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1135 /*#define HAS_ASCTIME_R / **/
1136 #define ASCTIME_R_PROTO 0 /**/
1138 /* HASATTRIBUTE_FORMAT:
1139 * Can we handle GCC attribute for checking printf-style formats
1141 /* HASATTRIBUTE_MALLOC:
1142 * Can we handle GCC attribute for malloc-style functions.
1144 /* HASATTRIBUTE_NONNULL:
1145 * Can we handle GCC attribute for nonnull function parms.
1147 /* HASATTRIBUTE_NORETURN:
1148 * Can we handle GCC attribute for functions that do not return
1150 /* HASATTRIBUTE_PURE:
1151 * Can we handle GCC attribute for pure functions
1153 /* HASATTRIBUTE_UNUSED:
1154 * Can we handle GCC attribute for unused variables and arguments
1156 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1157 * Can we handle GCC attribute for warning on unused results
1159 /*#define HASATTRIBUTE_FORMAT / **/
1160 /*#define HASATTRIBUTE_NORETURN / **/
1161 /*#define HASATTRIBUTE_MALLOC / **/
1162 /*#define HASATTRIBUTE_NONNULL / **/
1163 /*#define HASATTRIBUTE_PURE / **/
1164 /*#define HASATTRIBUTE_UNUSED / **/
1165 /*#define HASATTRIBUTE_WARN_UNUSED_RESULT / **/
1167 /* HAS_BUILTIN_CHOOSE_EXPR:
1168 * Can we handle GCC builtin for compile-time ternary-like expressions
1170 /* HAS_BUILTIN_EXPECT:
1171 * Can we handle GCC builtin for telling that certain values are more
1174 /*#define HAS_BUILTIN_EXPECT / **/
1175 /*#define HAS_BUILTIN_CHOOSE_EXPR / **/
1178 * This symbol is defined if the C compiler can cast negative
1179 * or large floating point numbers to 32-bit ints.
1181 /*#define CASTI32 / **/
1184 * This symbol is defined if the C compiler can cast negative
1185 * numbers to unsigned longs, ints and shorts.
1188 * This symbol contains flags that say what difficulties the compiler
1189 * has casting odd floating values to unsigned long:
1191 * 1 = couldn't cast < 0
1192 * 2 = couldn't cast >= 0x80000000
1193 * 4 = couldn't cast in argument expression list
1195 /*#define CASTNEGFLOAT / **/
1196 #define CASTFLAGS 0 /**/
1199 * This symbol, if defined, indicates that the class routine is
1200 * available to classify doubles. Available for example in AIX.
1201 * The returned values are defined in <float.h> and are:
1203 * FP_PLUS_NORM Positive normalized, nonzero
1204 * FP_MINUS_NORM Negative normalized, nonzero
1205 * FP_PLUS_DENORM Positive denormalized, nonzero
1206 * FP_MINUS_DENORM Negative denormalized, nonzero
1208 * FP_MINUS_ZERO -0.0
1211 * FP_NANS Signaling Not a Number (NaNS)
1212 * FP_NANQ Quiet Not a Number (NaNQ)
1214 /*#define HAS_CLASS / **/
1217 * This symbol, if defined, indicates that the clearenv () routine is
1218 * available for use.
1220 /*#define HAS_CLEARENV / **/
1223 * This symbol, if defined, indicates that the closedir() routine
1224 * does not return a value.
1226 /*#define VOID_CLOSEDIR / **/
1228 /* HAS_STRUCT_CMSGHDR:
1229 * This symbol, if defined, indicates that the struct cmsghdr
1232 /*#define HAS_STRUCT_CMSGHDR / **/
1235 * This symbol, if defined, indicates that the copysignl routine is
1236 * available. If aintl is also present we can emulate modfl.
1238 /*#define HAS_COPYSIGNL / **/
1241 * This symbol, if defined, indicates that the crypt routine is available
1242 * to encrypt passwords and the like.
1244 /*#define HAS_CRYPT / **/
1247 * This symbol, if defined, indicates that the crypt_r routine
1248 * is available to crypt re-entrantly.
1251 * This symbol encodes the prototype of crypt_r.
1252 * It is zero if d_crypt_r is undef, and one of the
1253 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1256 /*#define HAS_CRYPT_R / **/
1257 #define CRYPT_R_PROTO 0 /**/
1260 * This symbol, if defined, indicates that the C-shell exists.
1263 * This symbol, if defined, contains the full pathname of csh.
1265 /*#define HAS_CSH / **/
1271 * This symbol, if defined, indicates that the ctermid_r routine
1272 * is available to ctermid re-entrantly.
1275 * This symbol encodes the prototype of ctermid_r.
1276 * It is zero if d_ctermid_r is undef, and one of the
1277 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1280 /*#define HAS_CTERMID_R / **/
1281 #define CTERMID_R_PROTO 0 /**/
1284 * This symbol, if defined, indicates that the ctime_r routine
1285 * is available to ctime re-entrantly.
1288 * This symbol encodes the prototype of ctime_r.
1289 * It is zero if d_ctime_r is undef, and one of the
1290 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1293 /*#define HAS_CTIME_R / **/
1294 #define CTIME_R_PROTO 0 /**/
1296 /* HAS_DBMINIT_PROTO:
1297 * This symbol, if defined, indicates that the system provides
1298 * a prototype for the dbminit() function. Otherwise, it is up
1299 * to the program to supply one. A good guess is
1300 * extern int dbminit(char *);
1302 /*#define HAS_DBMINIT_PROTO / **/
1305 * This manifest constant lets the C program know that dirfd
1308 /*#define HAS_DIRFD / **/
1310 /* DLSYM_NEEDS_UNDERSCORE:
1311 * This symbol, if defined, indicates that we need to prepend an
1312 * underscore to the symbol name before calling dlsym(). This only
1313 * makes sense if you *have* dlsym, which we will presume is the
1314 * case if you're using dl_dlopen.xs.
1316 /*#define DLSYM_NEEDS_UNDERSCORE / **/
1318 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1319 * This symbol, if defined, indicates that the bug that prevents
1320 * setuid scripts from being secure is not present in this kernel.
1323 * This symbol, if defined, indicates that the C program should
1324 * check the script that it is executing for setuid/setgid bits, and
1325 * attempt to emulate setuid/setgid on systems that have disabled
1326 * setuid #! scripts because the kernel can't do it securely.
1327 * It is up to the package designer to make sure that this emulation
1328 * is done securely. Among other things, it should do an fstat on
1329 * the script it just opened to make sure it really is a setuid/setgid
1330 * script, it should make sure the arguments passed correspond exactly
1331 * to the argument on the #! line, and it should not trust any
1332 * subprocesses to which it must pass the filename rather than the
1333 * file descriptor of the script to be executed.
1335 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
1336 /*#define DOSUID / **/
1339 * This symbol, if defined, indicates that the drand48_r routine
1340 * is available to drand48 re-entrantly.
1343 * This symbol encodes the prototype of drand48_r.
1344 * It is zero if d_drand48_r is undef, and one of the
1345 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1348 /*#define HAS_DRAND48_R / **/
1349 #define DRAND48_R_PROTO 0 /**/
1351 /* HAS_DRAND48_PROTO:
1352 * This symbol, if defined, indicates that the system provides
1353 * a prototype for the drand48() function. Otherwise, it is up
1354 * to the program to supply one. A good guess is
1355 * extern double drand48(void);
1357 /*#define HAS_DRAND48_PROTO / **/
1360 * This symbol, if defined, indicates that the getgrent routine is
1361 * available for finalizing sequential access of the group database.
1363 /*#define HAS_ENDGRENT / **/
1366 * This symbol, if defined, indicates that the endgrent_r routine
1367 * is available to endgrent re-entrantly.
1369 /* ENDGRENT_R_PROTO:
1370 * This symbol encodes the prototype of endgrent_r.
1371 * It is zero if d_endgrent_r is undef, and one of the
1372 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1375 /*#define HAS_ENDGRENT_R / **/
1376 #define ENDGRENT_R_PROTO 0 /**/
1379 * This symbol, if defined, indicates that the endhostent() routine is
1380 * available to close whatever was being used for host queries.
1382 /*#define HAS_ENDHOSTENT / **/
1384 /* HAS_ENDHOSTENT_R:
1385 * This symbol, if defined, indicates that the endhostent_r routine
1386 * is available to endhostent re-entrantly.
1388 /* ENDHOSTENT_R_PROTO:
1389 * This symbol encodes the prototype of endhostent_r.
1390 * It is zero if d_endhostent_r is undef, and one of the
1391 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1394 /*#define HAS_ENDHOSTENT_R / **/
1395 #define ENDHOSTENT_R_PROTO 0 /**/
1398 * This symbol, if defined, indicates that the endnetent() routine is
1399 * available to close whatever was being used for network queries.
1401 /*#define HAS_ENDNETENT / **/
1404 * This symbol, if defined, indicates that the endnetent_r routine
1405 * is available to endnetent re-entrantly.
1407 /* ENDNETENT_R_PROTO:
1408 * This symbol encodes the prototype of endnetent_r.
1409 * It is zero if d_endnetent_r is undef, and one of the
1410 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1413 /*#define HAS_ENDNETENT_R / **/
1414 #define ENDNETENT_R_PROTO 0 /**/
1417 * This symbol, if defined, indicates that the endprotoent() routine is
1418 * available to close whatever was being used for protocol queries.
1420 /*#define HAS_ENDPROTOENT / **/
1422 /* HAS_ENDPROTOENT_R:
1423 * This symbol, if defined, indicates that the endprotoent_r routine
1424 * is available to endprotoent re-entrantly.
1426 /* ENDPROTOENT_R_PROTO:
1427 * This symbol encodes the prototype of endprotoent_r.
1428 * It is zero if d_endprotoent_r is undef, and one of the
1429 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1432 /*#define HAS_ENDPROTOENT_R / **/
1433 #define ENDPROTOENT_R_PROTO 0 /**/
1436 * This symbol, if defined, indicates that the getgrent routine is
1437 * available for finalizing sequential access of the passwd database.
1439 /*#define HAS_ENDPWENT / **/
1442 * This symbol, if defined, indicates that the endpwent_r routine
1443 * is available to endpwent re-entrantly.
1445 /* ENDPWENT_R_PROTO:
1446 * This symbol encodes the prototype of endpwent_r.
1447 * It is zero if d_endpwent_r is undef, and one of the
1448 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1451 /*#define HAS_ENDPWENT_R / **/
1452 #define ENDPWENT_R_PROTO 0 /**/
1455 * This symbol, if defined, indicates that the endservent() routine is
1456 * available to close whatever was being used for service queries.
1458 /*#define HAS_ENDSERVENT / **/
1460 /* HAS_ENDSERVENT_R:
1461 * This symbol, if defined, indicates that the endservent_r routine
1462 * is available to endservent re-entrantly.
1464 /* ENDSERVENT_R_PROTO:
1465 * This symbol encodes the prototype of endservent_r.
1466 * It is zero if d_endservent_r is undef, and one of the
1467 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1470 /*#define HAS_ENDSERVENT_R / **/
1471 #define ENDSERVENT_R_PROTO 0 /**/
1474 * This symbol, if defined, indicates that the "fast stdio"
1475 * is available to manipulate the stdio buffers directly.
1477 /*#define HAS_FAST_STDIO / **/
1480 * This symbol, if defined, indicates that the fchdir routine is
1481 * available to change directory using a file descriptor.
1483 /*#define HAS_FCHDIR / **/
1486 * This symbol, if defined, indicates that fcntl() can be used
1487 * for file locking. Normally on Unix systems this is defined.
1488 * It may be undefined on VMS.
1490 /*#define FCNTL_CAN_LOCK / **/
1493 * This symbol, when defined, indicates presence of the fd_set typedef
1496 /*#define HAS_FD_SET / **/
1499 * This symbol, if defined, indicates that the finite routine is
1500 * available to check whether a double is finite (non-infinity non-NaN).
1502 /*#define HAS_FINITE / **/
1505 * This symbol, if defined, indicates that the finitel routine is
1506 * available to check whether a long double is finite
1507 * (non-infinity non-NaN).
1509 /*#define HAS_FINITEL / **/
1512 * This symbol, if defined, indicates that the system supports filenames
1513 * longer than 14 characters.
1515 /*#define FLEXFILENAMES / **/
1518 * This symbol, if defined, indicates that the system provides
1519 * a prototype for the flock() function. Otherwise, it is up
1520 * to the program to supply one. A good guess is
1521 * extern int flock(int, int);
1523 /*#define HAS_FLOCK_PROTO / **/
1526 * This symbol, if defined, indicates that the fp_class routine is
1527 * available to classify doubles. Available for example in Digital UNIX.
1528 * The returned values are defined in <math.h> and are:
1530 * FP_SNAN Signaling NaN (Not-a-Number)
1531 * FP_QNAN Quiet NaN (Not-a-Number)
1532 * FP_POS_INF +infinity
1533 * FP_NEG_INF -infinity
1534 * FP_POS_NORM Positive normalized
1535 * FP_NEG_NORM Negative normalized
1536 * FP_POS_DENORM Positive denormalized
1537 * FP_NEG_DENORM Negative denormalized
1538 * FP_POS_ZERO +0.0 (positive zero)
1539 * FP_NEG_ZERO -0.0 (negative zero)
1541 /*#define HAS_FP_CLASS / **/
1544 * This symbol, if defined, indicates that the fpclass routine is
1545 * available to classify doubles. Available for example in Solaris/SVR4.
1546 * The returned values are defined in <ieeefp.h> and are:
1548 * FP_SNAN signaling NaN
1550 * FP_NINF negative infinity
1551 * FP_PINF positive infinity
1552 * FP_NDENORM negative denormalized non-zero
1553 * FP_PDENORM positive denormalized non-zero
1554 * FP_NZERO negative zero
1555 * FP_PZERO positive zero
1556 * FP_NNORM negative normalized non-zero
1557 * FP_PNORM positive normalized non-zero
1559 /*#define HAS_FPCLASS / **/
1562 * This symbol, if defined, indicates that the fpclassify routine is
1563 * available to classify doubles. Available for example in HP-UX.
1564 * The returned values are defined in <math.h> and are
1566 * FP_NORMAL Normalized
1568 * FP_INFINITE Infinity
1569 * FP_SUBNORMAL Denormalized
1573 /*#define HAS_FPCLASSIFY / **/
1576 * This symbol, if defined, indicates that the fpclassl routine is
1577 * available to classify long doubles. Available for example in IRIX.
1578 * The returned values are defined in <ieeefp.h> and are:
1580 * FP_SNAN signaling NaN
1582 * FP_NINF negative infinity
1583 * FP_PINF positive infinity
1584 * FP_NDENORM negative denormalized non-zero
1585 * FP_PDENORM positive denormalized non-zero
1586 * FP_NZERO negative zero
1587 * FP_PZERO positive zero
1588 * FP_NNORM negative normalized non-zero
1589 * FP_PNORM positive normalized non-zero
1591 /*#define HAS_FPCLASSL / **/
1594 * This symbol will be defined if the C compiler supports fpos64_t.
1596 /*#define HAS_FPOS64_T / **/
1599 * This symbol, if defined, indicates that the frexpl routine is
1600 * available to break a long double floating-point number into
1601 * a normalized fraction and an integral power of 2.
1603 /*#define HAS_FREXPL / **/
1605 /* HAS_STRUCT_FS_DATA:
1606 * This symbol, if defined, indicates that the struct fs_data
1607 * to do statfs() is supported.
1609 /*#define HAS_STRUCT_FS_DATA / **/
1612 * This symbol, if defined, indicates that the fseeko routine is
1613 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1615 /*#define HAS_FSEEKO / **/
1618 * This symbol, if defined, indicates that the fstatfs routine is
1619 * available to stat filesystems by file descriptors.
1621 /*#define HAS_FSTATFS / **/
1624 * This symbol, if defined, indicates that the fsync routine is
1625 * available to write a file's modified data and attributes to
1626 * permanent storage.
1628 /*#define HAS_FSYNC / **/
1631 * This symbol, if defined, indicates that the ftello routine is
1632 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1634 /*#define HAS_FTELLO / **/
1637 * This symbol, if defined, indicates that the futimes routine is
1638 * available to change file descriptor time stamps with struct timevals.
1640 /*#define HAS_FUTIMES / **/
1643 * This preprocessor macro is defined to convert a floating point
1644 * number to a string without a trailing decimal point. This
1645 * emulates the behavior of sprintf("%g"), but is sometimes much more
1646 * efficient. If gconvert() is not available, but gcvt() drops the
1647 * trailing decimal point, then gcvt() is used. If all else fails,
1648 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1649 * macro are: value, number of digits, whether trailing zeros should
1650 * be retained, and the output buffer.
1651 * The usual values are:
1652 * d_Gconvert='gconvert((x),(n),(t),(b))'
1653 * d_Gconvert='gcvt((x),(n),(b))'
1654 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1655 * The last two assume trailing zeros should not be kept.
1657 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1660 * This symbol, if defined, indicates that the getcwd routine is
1661 * available to get the current working directory.
1663 /*#define HAS_GETCWD / **/
1666 * This symbol, if defined, indicates that the getespwnam system call is
1667 * available to retrieve enchanced (shadow) password entries by name.
1669 /*#define HAS_GETESPWNAM / **/
1672 * This symbol, if defined, indicates that the getfsstat routine is
1673 * available to stat filesystems in bulk.
1675 /*#define HAS_GETFSSTAT / **/
1678 * This symbol, if defined, indicates that the getgrent routine is
1679 * available for sequential access of the group database.
1681 /*#define HAS_GETGRENT / **/
1684 * This symbol, if defined, indicates that the getgrent_r routine
1685 * is available to getgrent re-entrantly.
1687 /* GETGRENT_R_PROTO:
1688 * This symbol encodes the prototype of getgrent_r.
1689 * It is zero if d_getgrent_r is undef, and one of the
1690 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1693 /*#define HAS_GETGRENT_R / **/
1694 #define GETGRENT_R_PROTO 0 /**/
1697 * This symbol, if defined, indicates that the getgrgid_r routine
1698 * is available to getgrgid re-entrantly.
1700 /* GETGRGID_R_PROTO:
1701 * This symbol encodes the prototype of getgrgid_r.
1702 * It is zero if d_getgrgid_r is undef, and one of the
1703 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1706 /*#define HAS_GETGRGID_R / **/
1707 #define GETGRGID_R_PROTO 0 /**/
1710 * This symbol, if defined, indicates that the getgrnam_r routine
1711 * is available to getgrnam re-entrantly.
1713 /* GETGRNAM_R_PROTO:
1714 * This symbol encodes the prototype of getgrnam_r.
1715 * It is zero if d_getgrnam_r is undef, and one of the
1716 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1719 /*#define HAS_GETGRNAM_R / **/
1720 #define GETGRNAM_R_PROTO 0 /**/
1722 /* HAS_GETHOSTBYADDR:
1723 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1724 * available to look up hosts by their IP addresses.
1726 /*#define HAS_GETHOSTBYADDR / **/
1728 /* HAS_GETHOSTBYNAME:
1729 * This symbol, if defined, indicates that the gethostbyname() routine is
1730 * available to look up host names in some data base or other.
1732 /*#define HAS_GETHOSTBYNAME / **/
1735 * This symbol, if defined, indicates that the gethostent() routine is
1736 * available to look up host names in some data base or another.
1738 /*#define HAS_GETHOSTENT / **/
1741 * This symbol, if defined, indicates that the C program may use the
1742 * gethostname() routine to derive the host name. See also HAS_UNAME
1746 * This symbol, if defined, indicates that the C program may use the
1747 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1751 * This symbol, if defined, indicates the command to feed to the
1752 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1753 * and HAS_UNAME. Note that the command uses a fully qualified path,
1754 * so that it is safe even if used by a process with super-user
1758 * This symbol, if defined, indicates that the C program may use the
1759 * contents of PHOSTNAME as a command to feed to the popen() routine
1760 * to derive the host name.
1762 /*#define HAS_GETHOSTNAME / **/
1763 /*#define HAS_UNAME / **/
1764 /*#define HAS_PHOSTNAME / **/
1765 #ifdef HAS_PHOSTNAME
1766 #define PHOSTNAME "" /* How to get the host name */
1769 /* HAS_GETHOSTBYADDR_R:
1770 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1771 * is available to gethostbyaddr re-entrantly.
1773 /* GETHOSTBYADDR_R_PROTO:
1774 * This symbol encodes the prototype of gethostbyaddr_r.
1775 * It is zero if d_gethostbyaddr_r is undef, and one of the
1776 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1779 /*#define HAS_GETHOSTBYADDR_R / **/
1780 #define GETHOSTBYADDR_R_PROTO 0 /**/
1782 /* HAS_GETHOSTBYNAME_R:
1783 * This symbol, if defined, indicates that the gethostbyname_r routine
1784 * is available to gethostbyname re-entrantly.
1786 /* GETHOSTBYNAME_R_PROTO:
1787 * This symbol encodes the prototype of gethostbyname_r.
1788 * It is zero if d_gethostbyname_r is undef, and one of the
1789 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1792 /*#define HAS_GETHOSTBYNAME_R / **/
1793 #define GETHOSTBYNAME_R_PROTO 0 /**/
1795 /* HAS_GETHOSTENT_R:
1796 * This symbol, if defined, indicates that the gethostent_r routine
1797 * is available to gethostent re-entrantly.
1799 /* GETHOSTENT_R_PROTO:
1800 * This symbol encodes the prototype of gethostent_r.
1801 * It is zero if d_gethostent_r is undef, and one of the
1802 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1805 /*#define HAS_GETHOSTENT_R / **/
1806 #define GETHOSTENT_R_PROTO 0 /**/
1808 /* HAS_GETHOST_PROTOS:
1809 * This symbol, if defined, indicates that <netdb.h> includes
1810 * prototypes for gethostent(), gethostbyname(), and
1811 * gethostbyaddr(). Otherwise, it is up to the program to guess
1812 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1814 /*#define HAS_GETHOST_PROTOS / **/
1817 * This symbol, if defined, indicates that the getitimer routine is
1818 * available to return interval timers.
1820 /*#define HAS_GETITIMER / **/
1823 * This symbol, if defined, indicates that the getlogin_r routine
1824 * is available to getlogin re-entrantly.
1826 /* GETLOGIN_R_PROTO:
1827 * This symbol encodes the prototype of getlogin_r.
1828 * It is zero if d_getlogin_r is undef, and one of the
1829 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1832 /*#define HAS_GETLOGIN_R / **/
1833 #define GETLOGIN_R_PROTO 0 /**/
1836 * This symbol, if defined, indicates that the getmnt routine is
1837 * available to get filesystem mount info by filename.
1839 /*#define HAS_GETMNT / **/
1842 * This symbol, if defined, indicates that the getmntent routine is
1843 * available to iterate through mounted file systems to get their info.
1845 /*#define HAS_GETMNTENT / **/
1847 /* HAS_GETNETBYADDR:
1848 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1849 * available to look up networks by their IP addresses.
1851 /*#define HAS_GETNETBYADDR / **/
1853 /* HAS_GETNETBYNAME:
1854 * This symbol, if defined, indicates that the getnetbyname() routine is
1855 * available to look up networks by their names.
1857 /*#define HAS_GETNETBYNAME / **/
1860 * This symbol, if defined, indicates that the getnetent() routine is
1861 * available to look up network names in some data base or another.
1863 /*#define HAS_GETNETENT / **/
1865 /* HAS_GETNETBYADDR_R:
1866 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1867 * is available to getnetbyaddr re-entrantly.
1869 /* GETNETBYADDR_R_PROTO:
1870 * This symbol encodes the prototype of getnetbyaddr_r.
1871 * It is zero if d_getnetbyaddr_r is undef, and one of the
1872 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1875 /*#define HAS_GETNETBYADDR_R / **/
1876 #define GETNETBYADDR_R_PROTO 0 /**/
1878 /* HAS_GETNETBYNAME_R:
1879 * This symbol, if defined, indicates that the getnetbyname_r routine
1880 * is available to getnetbyname re-entrantly.
1882 /* GETNETBYNAME_R_PROTO:
1883 * This symbol encodes the prototype of getnetbyname_r.
1884 * It is zero if d_getnetbyname_r is undef, and one of the
1885 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1888 /*#define HAS_GETNETBYNAME_R / **/
1889 #define GETNETBYNAME_R_PROTO 0 /**/
1892 * This symbol, if defined, indicates that the getnetent_r routine
1893 * is available to getnetent re-entrantly.
1895 /* GETNETENT_R_PROTO:
1896 * This symbol encodes the prototype of getnetent_r.
1897 * It is zero if d_getnetent_r is undef, and one of the
1898 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1901 /*#define HAS_GETNETENT_R / **/
1902 #define GETNETENT_R_PROTO 0 /**/
1904 /* HAS_GETNET_PROTOS:
1905 * This symbol, if defined, indicates that <netdb.h> includes
1906 * prototypes for getnetent(), getnetbyname(), and
1907 * getnetbyaddr(). Otherwise, it is up to the program to guess
1908 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1910 /*#define HAS_GETNET_PROTOS / **/
1913 * This symbol, if defined, indicates that the getpagesize system call
1914 * is available to get system page size, which is the granularity of
1915 * many memory management calls.
1917 /*#define HAS_GETPAGESIZE / **/
1920 * This symbol, if defined, indicates that the getprotoent() routine is
1921 * available to look up protocols in some data base or another.
1923 /*#define HAS_GETPROTOENT / **/
1926 * This symbol, if defined, indicates that the getpgrp routine is
1927 * available to get the current process group.
1930 * This symbol, if defined, indicates that getpgrp needs one
1931 * arguments whereas USG one needs none.
1933 /*#define HAS_GETPGRP / **/
1934 /*#define USE_BSD_GETPGRP / **/
1936 /* HAS_GETPROTOBYNAME:
1937 * This symbol, if defined, indicates that the getprotobyname()
1938 * routine is available to look up protocols by their name.
1940 /* HAS_GETPROTOBYNUMBER:
1941 * This symbol, if defined, indicates that the getprotobynumber()
1942 * routine is available to look up protocols by their number.
1944 /*#define HAS_GETPROTOBYNAME / **/
1945 /*#define HAS_GETPROTOBYNUMBER / **/
1947 /* HAS_GETPROTOBYNAME_R:
1948 * This symbol, if defined, indicates that the getprotobyname_r routine
1949 * is available to getprotobyname re-entrantly.
1951 /* GETPROTOBYNAME_R_PROTO:
1952 * This symbol encodes the prototype of getprotobyname_r.
1953 * It is zero if d_getprotobyname_r is undef, and one of the
1954 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1957 /*#define HAS_GETPROTOBYNAME_R / **/
1958 #define GETPROTOBYNAME_R_PROTO 0 /**/
1960 /* HAS_GETPROTOBYNUMBER_R:
1961 * This symbol, if defined, indicates that the getprotobynumber_r routine
1962 * is available to getprotobynumber re-entrantly.
1964 /* GETPROTOBYNUMBER_R_PROTO:
1965 * This symbol encodes the prototype of getprotobynumber_r.
1966 * It is zero if d_getprotobynumber_r is undef, and one of the
1967 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1970 /*#define HAS_GETPROTOBYNUMBER_R / **/
1971 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
1973 /* HAS_GETPROTOENT_R:
1974 * This symbol, if defined, indicates that the getprotoent_r routine
1975 * is available to getprotoent re-entrantly.
1977 /* GETPROTOENT_R_PROTO:
1978 * This symbol encodes the prototype of getprotoent_r.
1979 * It is zero if d_getprotoent_r is undef, and one of the
1980 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1983 /*#define HAS_GETPROTOENT_R / **/
1984 #define GETPROTOENT_R_PROTO 0 /**/
1986 /* HAS_GETPROTO_PROTOS:
1987 * This symbol, if defined, indicates that <netdb.h> includes
1988 * prototypes for getprotoent(), getprotobyname(), and
1989 * getprotobyaddr(). Otherwise, it is up to the program to guess
1990 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1992 /*#define HAS_GETPROTO_PROTOS / **/
1995 * This symbol, if defined, indicates that the getprpwnam system call is
1996 * available to retrieve protected (shadow) password entries by name.
1998 /*#define HAS_GETPRPWNAM / **/
2001 * This symbol, if defined, indicates that the getpwent routine is
2002 * available for sequential access of the passwd database.
2003 * If this is not available, the older getpw() function may be available.
2005 /*#define HAS_GETPWENT / **/
2008 * This symbol, if defined, indicates that the getpwent_r routine
2009 * is available to getpwent re-entrantly.
2011 /* GETPWENT_R_PROTO:
2012 * This symbol encodes the prototype of getpwent_r.
2013 * It is zero if d_getpwent_r is undef, and one of the
2014 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
2017 /*#define HAS_GETPWENT_R / **/
2018 #define GETPWENT_R_PROTO 0 /**/
2021 * This symbol, if defined, indicates that the getpwnam_r routine
2022 * is available to getpwnam re-entrantly.
2024 /* GETPWNAM_R_PROTO:
2025 * This symbol encodes the prototype of getpwnam_r.
2026 * It is zero if d_getpwnam_r is undef, and one of the
2027 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
2030 /*#define HAS_GETPWNAM_R / **/
2031 #define GETPWNAM_R_PROTO 0 /**/
2034 * This symbol, if defined, indicates that the getpwuid_r routine
2035 * is available to getpwuid re-entrantly.
2037 /* GETPWUID_R_PROTO:
2038 * This symbol encodes the prototype of getpwuid_r.
2039 * It is zero if d_getpwuid_r is undef, and one of the
2040 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
2043 /*#define HAS_GETPWUID_R / **/
2044 #define GETPWUID_R_PROTO 0 /**/
2047 * This symbol, if defined, indicates that the getservent() routine is
2048 * available to look up network services in some data base or another.
2050 /*#define HAS_GETSERVENT / **/
2052 /* HAS_GETSERVBYNAME_R:
2053 * This symbol, if defined, indicates that the getservbyname_r routine
2054 * is available to getservbyname re-entrantly.
2056 /* GETSERVBYNAME_R_PROTO:
2057 * This symbol encodes the prototype of getservbyname_r.
2058 * It is zero if d_getservbyname_r is undef, and one of the
2059 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
2062 /*#define HAS_GETSERVBYNAME_R / **/
2063 #define GETSERVBYNAME_R_PROTO 0 /**/
2065 /* HAS_GETSERVBYPORT_R:
2066 * This symbol, if defined, indicates that the getservbyport_r routine
2067 * is available to getservbyport re-entrantly.
2069 /* GETSERVBYPORT_R_PROTO:
2070 * This symbol encodes the prototype of getservbyport_r.
2071 * It is zero if d_getservbyport_r is undef, and one of the
2072 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
2075 /*#define HAS_GETSERVBYPORT_R / **/
2076 #define GETSERVBYPORT_R_PROTO 0 /**/
2078 /* HAS_GETSERVENT_R:
2079 * This symbol, if defined, indicates that the getservent_r routine
2080 * is available to getservent re-entrantly.
2082 /* GETSERVENT_R_PROTO:
2083 * This symbol encodes the prototype of getservent_r.
2084 * It is zero if d_getservent_r is undef, and one of the
2085 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
2088 /*#define HAS_GETSERVENT_R / **/
2089 #define GETSERVENT_R_PROTO 0 /**/
2091 /* HAS_GETSERV_PROTOS:
2092 * This symbol, if defined, indicates that <netdb.h> includes
2093 * prototypes for getservent(), getservbyname(), and
2094 * getservbyaddr(). Otherwise, it is up to the program to guess
2095 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2097 /*#define HAS_GETSERV_PROTOS / **/
2100 * This symbol, if defined, indicates that the getspnam system call is
2101 * available to retrieve SysV shadow password entries by name.
2103 /*#define HAS_GETSPNAM / **/
2106 * This symbol, if defined, indicates that the getspnam_r routine
2107 * is available to getspnam re-entrantly.
2109 /* GETSPNAM_R_PROTO:
2110 * This symbol encodes the prototype of getspnam_r.
2111 * It is zero if d_getspnam_r is undef, and one of the
2112 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
2115 /*#define HAS_GETSPNAM_R / **/
2116 #define GETSPNAM_R_PROTO 0 /**/
2118 /* HAS_GETSERVBYNAME:
2119 * This symbol, if defined, indicates that the getservbyname()
2120 * routine is available to look up services by their name.
2122 /* HAS_GETSERVBYPORT:
2123 * This symbol, if defined, indicates that the getservbyport()
2124 * routine is available to look up services by their port.
2126 /*#define HAS_GETSERVBYNAME / **/
2127 /*#define HAS_GETSERVBYPORT / **/
2130 * This symbol, if defined, indicates that the gmtime_r routine
2131 * is available to gmtime re-entrantly.
2134 * This symbol encodes the prototype of gmtime_r.
2135 * It is zero if d_gmtime_r is undef, and one of the
2136 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
2139 /*#define HAS_GMTIME_R / **/
2140 #define GMTIME_R_PROTO 0 /**/
2143 * This symbol, if defined, indicates to the C program that
2144 * the GNU C library is being used. A better check is to use
2145 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
2147 /*#define HAS_GNULIBC / **/
2148 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
2149 # define _GNU_SOURCE
2152 * This symbol, if defined, indicates that the hasmntopt routine is
2153 * available to query the mount options of file systems.
2155 /*#define HAS_HASMNTOPT / **/
2158 * This symbol, if defined, indicates that the htonl() routine (and
2159 * friends htons() ntohl() ntohs()) are available to do network
2160 * order byte swapping.
2163 * This symbol, if defined, indicates that the htons() routine (and
2164 * friends htonl() ntohl() ntohs()) are available to do network
2165 * order byte swapping.
2168 * This symbol, if defined, indicates that the ntohl() routine (and
2169 * friends htonl() htons() ntohs()) are available to do network
2170 * order byte swapping.
2173 * This symbol, if defined, indicates that the ntohs() routine (and
2174 * friends htonl() htons() ntohl()) are available to do network
2175 * order byte swapping.
2177 /*#define HAS_HTONL / **/
2178 /*#define HAS_HTONS / **/
2179 /*#define HAS_NTOHL / **/
2180 /*#define HAS_NTOHS / **/
2183 * This symbol, if defined, indicates that the ilogbl routine is
2184 * available. If scalbnl is also present we can emulate frexpl.
2186 /*#define HAS_ILOGBL / **/
2189 * This symbol will defined if the C compiler supports int64_t.
2190 * Usually the <inttypes.h> needs to be included, but sometimes
2191 * <sys/types.h> is enough.
2193 /*#define HAS_INT64_T / **/
2196 * This manifest constant lets the C program know that isascii
2199 /*#define HAS_ISASCII / **/
2202 * This symbol, if defined, indicates that the isfinite routine is
2203 * available to check whether a double is finite (non-infinity non-NaN).
2205 /*#define HAS_ISFINITE / **/
2208 * This symbol, if defined, indicates that the isinf routine is
2209 * available to check whether a double is an infinity.
2211 /*#define HAS_ISINF / **/
2214 * This symbol, if defined, indicates that the isnan routine is
2215 * available to check whether a double is a NaN.
2217 /*#define HAS_ISNAN / **/
2220 * This symbol, if defined, indicates that the isnanl routine is
2221 * available to check whether a long double is a NaN.
2223 /*#define HAS_ISNANL / **/
2226 * This symbol, if defined, indicates that the lchown routine is
2227 * available to operate on a symbolic link (instead of following the
2230 /*#define HAS_LCHOWN / **/
2233 * This symbol, if defined, indicates that this system's <float.h>
2234 * or <limits.h> defines the symbol LDBL_DIG, which is the number
2235 * of significant digits in a long double precision number. Unlike
2236 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
2238 /*#define HAS_LDBL_DIG / * */
2240 /* LIBM_LIB_VERSION:
2241 * This symbol, if defined, indicates that libm exports _LIB_VERSION
2242 * and that math.h defines the enum to manipulate it.
2244 /*#define LIBM_LIB_VERSION / **/
2247 * This symbol, if defined, indicates that the localtime_r routine
2248 * is available to localtime re-entrantly.
2250 /* LOCALTIME_R_PROTO:
2251 * This symbol encodes the prototype of localtime_r.
2252 * It is zero if d_localtime_r is undef, and one of the
2253 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
2256 /*#define HAS_LOCALTIME_R / **/
2257 #define LOCALTIME_R_PROTO 0 /**/
2260 * This symbol will be defined if the C compiler supports long
2264 * This symbol contains the size of a long double, so that the
2265 * C preprocessor can make decisions based on it. It is only
2266 * defined if the system supports long doubles.
2268 /*#define HAS_LONG_DOUBLE / **/
2269 #ifdef HAS_LONG_DOUBLE
2270 #define LONG_DOUBLESIZE 8 /**/
2274 * This symbol will be defined if the C compiler supports long long.
2277 * This symbol contains the size of a long long, so that the
2278 * C preprocessor can make decisions based on it. It is only
2279 * defined if the system supports long long.
2281 /*#define HAS_LONG_LONG / **/
2282 #ifdef HAS_LONG_LONG
2283 #define LONGLONGSIZE 8 /**/
2287 * This symbol, if defined, indicates that the system provides
2288 * a prototype for the lseek() function. Otherwise, it is up
2289 * to the program to supply one. A good guess is
2290 * extern off_t lseek(int, off_t, int);
2292 /*#define HAS_LSEEK_PROTO / **/
2295 * This symbol, if defined, indicates that the madvise system call is
2296 * available to map a file into memory.
2298 /*#define HAS_MADVISE / **/
2301 * This symbol, if defined, indicates that the malloc_size
2302 * routine is available for use.
2304 /*#define HAS_MALLOC_SIZE / **/
2306 /* HAS_MALLOC_GOOD_SIZE:
2307 * This symbol, if defined, indicates that the malloc_good_size
2308 * routine is available for use.
2310 /*#define HAS_MALLOC_GOOD_SIZE / **/
2313 * This symbol, if defined, indicates that the memchr routine is available
2314 * to locate characters within a C string.
2316 #define HAS_MEMCHR /**/
2319 * This symbol, if defined, indicates that the mkdtemp routine is
2320 * available to exclusively create a uniquely named temporary directory.
2322 /*#define HAS_MKDTEMP / **/
2325 * This symbol, if defined, indicates that the mkstemp routine is
2326 * available to exclusively create and open a uniquely named
2329 /*#define HAS_MKSTEMP / **/
2332 * This symbol, if defined, indicates that the mkstemps routine is
2333 * available to excluslvely create and open a uniquely named
2334 * (with a suffix) temporary file.
2336 /*#define HAS_MKSTEMPS / **/
2339 * This symbol, if defined, indicates that the mmap system call is
2340 * available to map a file into memory.
2343 * This symbol holds the return type of the mmap() system call
2344 * (and simultaneously the type of the first argument).
2345 * Usually set to 'void *' or 'cadd_t'.
2347 /*#define HAS_MMAP / **/
2351 * This symbol, if defined, indicates that the modfl routine is
2352 * available to split a long double x into a fractional part f and
2353 * an integer part i such that |f| < 1.0 and (f + i) = x.
2356 * This symbol, if defined, indicates that the system provides
2357 * a prototype for the modfl() function. Otherwise, it is up
2358 * to the program to supply one.
2360 /* HAS_MODFL_POW32_BUG:
2361 * This symbol, if defined, indicates that the modfl routine is
2362 * broken for long doubles >= pow(2, 32).
2363 * For example from 4294967303.150000 one would get 4294967302.000000
2364 * and 1.150000. The bug has been seen in certain versions of glibc,
2365 * release 2.2.2 is known to be okay.
2367 /*#define HAS_MODFL / **/
2368 /*#define HAS_MODFL_PROTO / **/
2369 /*#define HAS_MODFL_POW32_BUG / **/
2372 * This symbol, if defined, indicates that the mprotect system call is
2373 * available to modify the access protection of a memory mapped file.
2375 /*#define HAS_MPROTECT / **/
2378 * This symbol, if defined, indicates that the entire msg*(2) library is
2379 * supported (IPC mechanism based on message queues).
2381 /*#define HAS_MSG / **/
2383 /* HAS_STRUCT_MSGHDR:
2384 * This symbol, if defined, indicates that the struct msghdr
2387 /*#define HAS_STRUCT_MSGHDR / **/
2390 * This symbol, if defined, indicates that the nl_langinfo routine is
2391 * available to return local data. You will also need <langinfo.h>
2392 * and therefore I_LANGINFO.
2394 /*#define HAS_NL_LANGINFO / **/
2397 * This symbol will be defined if the C compiler supports off64_t.
2399 /*#define HAS_OFF64_T / **/
2402 * This manifest constant lets the C program know that the three
2403 * argument form of open(2) is available.
2405 /*#define HAS_OPEN3 / **/
2408 * This symbol is defined if PROCSELFEXE_PATH is a symlink
2409 * to the absolute pathname of the executing program.
2411 /* PROCSELFEXE_PATH:
2412 * If HAS_PROCSELFEXE is defined this symbol is the filename
2413 * of the symbolic link pointing to the absolute pathname of
2414 * the executing program.
2416 /*#define HAS_PROCSELFEXE / **/
2417 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
2418 #define PROCSELFEXE_PATH /**/
2421 /* OLD_PTHREAD_CREATE_JOINABLE:
2422 * This symbol, if defined, indicates how to create pthread
2423 * in joinable (aka undetached) state. NOTE: not defined
2424 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2425 * (the new version of the constant).
2426 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2429 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
2431 /* HAS_PTHREAD_ATFORK:
2432 * This symbol, if defined, indicates that the pthread_atfork routine
2433 * is available to setup fork handlers.
2435 /*#define HAS_PTHREAD_ATFORK / **/
2437 /* HAS_PTHREAD_ATTR_SETSCOPE:
2438 * This symbol, if defined, indicates that the pthread_attr_setscope
2439 * system call is available to set the contention scope attribute of
2440 * a thread attribute object.
2442 /*#define HAS_PTHREAD_ATTR_SETSCOPE / **/
2444 /* HAS_PTHREAD_YIELD:
2445 * This symbol, if defined, indicates that the pthread_yield
2446 * routine is available to yield the execution of the current
2447 * thread. sched_yield is preferable to pthread_yield.
2450 * This symbol defines the way to yield the execution of
2451 * the current thread. Known ways are sched_yield,
2452 * pthread_yield, and pthread_yield with NULL.
2455 * This symbol, if defined, indicates that the sched_yield
2456 * routine is available to yield the execution of the current
2457 * thread. sched_yield is preferable to pthread_yield.
2459 /*#define HAS_PTHREAD_YIELD / **/
2460 #define SCHED_YIELD sched_yield() /**/
2461 /*#define HAS_SCHED_YIELD / **/
2464 * This symbol, if defined, indicates that the random_r routine
2465 * is available to random re-entrantly.
2468 * This symbol encodes the prototype of random_r.
2469 * It is zero if d_random_r is undef, and one of the
2470 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2473 /*#define HAS_RANDOM_R / **/
2474 #define RANDOM_R_PROTO 0 /**/
2477 * This symbol, if defined, indicates that the readdir64_r routine
2478 * is available to readdir64 re-entrantly.
2480 /* READDIR64_R_PROTO:
2481 * This symbol encodes the prototype of readdir64_r.
2482 * It is zero if d_readdir64_r is undef, and one of the
2483 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
2486 /*#define HAS_READDIR64_R / **/
2487 #define READDIR64_R_PROTO 0 /**/
2490 * This symbol, if defined, indicates that the readdir_r routine
2491 * is available to readdir re-entrantly.
2494 * This symbol encodes the prototype of readdir_r.
2495 * It is zero if d_readdir_r is undef, and one of the
2496 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2499 /*#define HAS_READDIR_R / **/
2500 #define READDIR_R_PROTO 0 /**/
2503 * This symbol, if defined, indicates that the readv routine is
2504 * available to do gather reads. You will also need <sys/uio.h>
2505 * and there I_SYSUIO.
2507 /*#define HAS_READV / **/
2510 * This symbol, if defined, indicates that the recvmsg routine is
2511 * available to send structured socket messages.
2513 /*#define HAS_RECVMSG / **/
2516 * This symbol, if defined, indicates that the bcopy routine is available
2517 * to copy potentially overlapping memory blocks. Normally, you should
2518 * probably use memmove() or memcpy(). If neither is defined, roll your
2521 /*#define HAS_SAFE_BCOPY / **/
2524 * This symbol, if defined, indicates that the memcpy routine is available
2525 * to copy potentially overlapping memory blocks. If you need to
2526 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2527 * use memmove() instead, if available.
2529 /*#define HAS_SAFE_MEMCPY / **/
2532 * This symbol, if defined, indicates that the memcmp routine is available
2533 * and can be used to compare relative magnitudes of chars with their high
2534 * bits set. If it is not defined, roll your own version.
2536 /*#define HAS_SANE_MEMCMP / **/
2539 * This symbol, if defined, indicates that the system provides
2540 * a prototype for the sbrk() function. Otherwise, it is up
2541 * to the program to supply one. Good guesses are
2542 * extern void* sbrk(int);
2543 * extern void* sbrk(size_t);
2545 /*#define HAS_SBRK_PROTO / **/
2548 * This symbol, if defined, indicates that the scalbnl routine is
2549 * available. If ilogbl is also present we can emulate frexpl.
2551 /*#define HAS_SCALBNL / **/
2554 * This symbol, if defined, indicates that the entire sem*(2) library is
2557 /*#define HAS_SEM / **/
2560 * This symbol, if defined, indicates that the sendmsg routine is
2561 * available to send structured socket messages.
2563 /*#define HAS_SENDMSG / **/
2566 * This symbol, if defined, indicates that the setgrent routine is
2567 * available for initializing sequential access of the group database.
2569 /*#define HAS_SETGRENT / **/
2572 * This symbol, if defined, indicates that the setgrent_r routine
2573 * is available to setgrent re-entrantly.
2575 /* SETGRENT_R_PROTO:
2576 * This symbol encodes the prototype of setgrent_r.
2577 * It is zero if d_setgrent_r is undef, and one of the
2578 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2581 /*#define HAS_SETGRENT_R / **/
2582 #define SETGRENT_R_PROTO 0 /**/
2585 * This symbol, if defined, indicates that the setgroups() routine is
2586 * available to set the list of process groups. If unavailable, multiple
2587 * groups are probably not supported.
2589 /*#define HAS_SETGROUPS / **/
2592 * This symbol, if defined, indicates that the sethostent() routine is
2595 /*#define HAS_SETHOSTENT / **/
2597 /* HAS_SETHOSTENT_R:
2598 * This symbol, if defined, indicates that the sethostent_r routine
2599 * is available to sethostent re-entrantly.
2601 /* SETHOSTENT_R_PROTO:
2602 * This symbol encodes the prototype of sethostent_r.
2603 * It is zero if d_sethostent_r is undef, and one of the
2604 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
2607 /*#define HAS_SETHOSTENT_R / **/
2608 #define SETHOSTENT_R_PROTO 0 /**/
2611 * This symbol, if defined, indicates that the setitimer routine is
2612 * available to set interval timers.
2614 /*#define HAS_SETITIMER / **/
2617 * This symbol, if defined, indicates that the setlocale_r routine
2618 * is available to setlocale re-entrantly.
2620 /* SETLOCALE_R_PROTO:
2621 * This symbol encodes the prototype of setlocale_r.
2622 * It is zero if d_setlocale_r is undef, and one of the
2623 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
2626 /*#define HAS_SETLOCALE_R / **/
2627 #define SETLOCALE_R_PROTO 0 /**/
2630 * This symbol, if defined, indicates that the setnetent() routine is
2633 /*#define HAS_SETNETENT / **/
2636 * This symbol, if defined, indicates that the setnetent_r routine
2637 * is available to setnetent re-entrantly.
2639 /* SETNETENT_R_PROTO:
2640 * This symbol encodes the prototype of setnetent_r.
2641 * It is zero if d_setnetent_r is undef, and one of the
2642 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2645 /*#define HAS_SETNETENT_R / **/
2646 #define SETNETENT_R_PROTO 0 /**/
2649 * This symbol, if defined, indicates that the setprotoent() routine is
2652 /*#define HAS_SETPROTOENT / **/
2655 * This symbol, if defined, indicates that the setpgrp routine is
2656 * available to set the current process group.
2659 * This symbol, if defined, indicates that setpgrp needs two
2660 * arguments whereas USG one needs none. See also HAS_SETPGID
2661 * for a POSIX interface.
2663 /*#define HAS_SETPGRP / **/
2664 /*#define USE_BSD_SETPGRP / **/
2666 /* HAS_SETPROCTITLE:
2667 * This symbol, if defined, indicates that the setproctitle routine is
2668 * available to set process title.
2670 /*#define HAS_SETPROCTITLE / **/
2672 /* HAS_SETPROTOENT_R:
2673 * This symbol, if defined, indicates that the setprotoent_r routine
2674 * is available to setprotoent re-entrantly.
2676 /* SETPROTOENT_R_PROTO:
2677 * This symbol encodes the prototype of setprotoent_r.
2678 * It is zero if d_setprotoent_r is undef, and one of the
2679 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2682 /*#define HAS_SETPROTOENT_R / **/
2683 #define SETPROTOENT_R_PROTO 0 /**/
2686 * This symbol, if defined, indicates that the setpwent routine is
2687 * available for initializing sequential access of the passwd database.
2689 /*#define HAS_SETPWENT / **/
2692 * This symbol, if defined, indicates that the setpwent_r routine
2693 * is available to setpwent re-entrantly.
2695 /* SETPWENT_R_PROTO:
2696 * This symbol encodes the prototype of setpwent_r.
2697 * It is zero if d_setpwent_r is undef, and one of the
2698 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2701 /*#define HAS_SETPWENT_R / **/
2702 #define SETPWENT_R_PROTO 0 /**/
2705 * This symbol, if defined, indicates that the setservent() routine is
2708 /*#define HAS_SETSERVENT / **/
2710 /* HAS_SETSERVENT_R:
2711 * This symbol, if defined, indicates that the setservent_r routine
2712 * is available to setservent re-entrantly.
2714 /* SETSERVENT_R_PROTO:
2715 * This symbol encodes the prototype of setservent_r.
2716 * It is zero if d_setservent_r is undef, and one of the
2717 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2720 /*#define HAS_SETSERVENT_R / **/
2721 #define SETSERVENT_R_PROTO 0 /**/
2724 * This symbol, if defined, indicates that the setvbuf routine is
2725 * available to change buffering on an open stdio stream.
2726 * to a line-buffered mode.
2728 /*#define HAS_SETVBUF / **/
2731 * This symbol, if defined, indicates that sfio should
2734 /*#define USE_SFIO / **/
2737 * This symbol, if defined, indicates that the entire shm*(2) library is
2740 /*#define HAS_SHM / **/
2743 * This symbol holds the return type of the shmat() system call.
2744 * Usually set to 'void *' or 'char *'.
2746 /* HAS_SHMAT_PROTOTYPE:
2747 * This symbol, if defined, indicates that the sys/shm.h includes
2748 * a prototype for shmat(). Otherwise, it is up to the program to
2749 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2750 * but not always right so it should be emitted by the program only
2751 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2753 #define Shmat_t void * /**/
2754 /*#define HAS_SHMAT_PROTOTYPE / **/
2757 * This symbol, if defined, indicates that Vr4's sigaction() routine
2760 /*#define HAS_SIGACTION / **/
2763 * This symbol, if defined, indicates that the sigprocmask
2764 * system call is available to examine or change the signal mask
2765 * of the calling process.
2767 /*#define HAS_SIGPROCMASK / **/
2770 * This variable indicates to the C program that the sigsetjmp()
2771 * routine is available to save the calling process's registers
2772 * and stack environment for later use by siglongjmp(), and
2773 * to optionally save the process's signal mask. See
2774 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2777 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2780 * This macro is used in the same way as sigsetjmp(), but will invoke
2781 * traditional setjmp() if sigsetjmp isn't available.
2782 * See HAS_SIGSETJMP.
2785 * This macro is used in the same way as siglongjmp(), but will invoke
2786 * traditional longjmp() if siglongjmp isn't available.
2787 * See HAS_SIGSETJMP.
2789 /*#define HAS_SIGSETJMP / **/
2790 #ifdef HAS_SIGSETJMP
2791 #define Sigjmp_buf sigjmp_buf
2792 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2793 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2795 #define Sigjmp_buf jmp_buf
2796 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2797 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2800 /* USE_SITECUSTOMIZE:
2801 * This symbol, if defined, indicates that sitecustomize should
2804 #ifndef USE_SITECUSTOMIZE
2805 /*#define USE_SITECUSTOMIZE / **/
2809 * This symbol, if defined, indicates that the snprintf () library
2810 * function is available for use.
2813 * This symbol, if defined, indicates that the vsnprintf () library
2814 * function is available for use.
2816 /*#define HAS_SNPRINTF / **/
2817 /*#define HAS_VSNPRINTF / **/
2820 * This symbol, if defined, indicates that the sockatmark routine is
2821 * available to test whether a socket is at the out-of-band mark.
2823 /*#define HAS_SOCKATMARK / **/
2825 /* HAS_SOCKATMARK_PROTO:
2826 * This symbol, if defined, indicates that the system provides
2827 * a prototype for the sockatmark() function. Otherwise, it is up
2828 * to the program to supply one. A good guess is
2829 * extern int sockatmark(int);
2831 /*#define HAS_SOCKATMARK_PROTO / **/
2834 * This symbol, if defined, indicates that the BSD socket interface is
2838 * This symbol, if defined, indicates that the BSD socketpair() call is
2842 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2843 * Checking just with #ifdef might not be enough because this symbol
2844 * has been known to be an enum.
2846 /* HAS_MSG_DONTROUTE:
2847 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2848 * Checking just with #ifdef might not be enough because this symbol
2849 * has been known to be an enum.
2852 * This symbol, if defined, indicates that the MSG_OOB is supported.
2853 * Checking just with #ifdef might not be enough because this symbol
2854 * has been known to be an enum.
2857 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2858 * Checking just with #ifdef might not be enough because this symbol
2859 * has been known to be an enum.
2862 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2863 * Checking just with #ifdef might not be enough because this symbol
2864 * has been known to be an enum.
2867 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2868 * Checking just with #ifdef might not be enough because this symbol
2869 * has been known to be an enum.
2871 /*#define HAS_SOCKET / **/
2872 /*#define HAS_SOCKETPAIR / **/
2873 /*#define HAS_MSG_CTRUNC / **/
2874 /*#define HAS_MSG_DONTROUTE / **/
2875 /*#define HAS_MSG_OOB / **/
2876 /*#define HAS_MSG_PEEK / **/
2877 /*#define HAS_MSG_PROXY / **/
2878 /*#define HAS_SCM_RIGHTS / **/
2881 * This symbol, if defined, indicates that the socks5_init routine is
2882 * available to initialize SOCKS 5.
2884 /*#define HAS_SOCKS5_INIT / **/
2886 /* SPRINTF_RETURNS_STRLEN:
2887 * This variable defines whether sprintf returns the length of the string
2888 * (as per the ANSI spec). Some C libraries retain compatibility with
2889 * pre-ANSI C and return a pointer to the passed in buffer; for these
2890 * this variable will be undef.
2892 /*#define SPRINTF_RETURNS_STRLEN / **/
2895 * This symbol, if defined, indicates that the sqrtl routine is
2896 * available to do long double square roots.
2898 /*#define HAS_SQRTL / **/
2901 * This symbol, if defined, indicates that the srand48_r routine
2902 * is available to srand48 re-entrantly.
2905 * This symbol encodes the prototype of srand48_r.
2906 * It is zero if d_srand48_r is undef, and one of the
2907 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2910 /*#define HAS_SRAND48_R / **/
2911 #define SRAND48_R_PROTO 0 /**/
2914 * This symbol, if defined, indicates that the srandom_r routine
2915 * is available to srandom re-entrantly.
2918 * This symbol encodes the prototype of srandom_r.
2919 * It is zero if d_srandom_r is undef, and one of the
2920 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2923 /*#define HAS_SRANDOM_R / **/
2924 #define SRANDOM_R_PROTO 0 /**/
2926 /* HAS_SETRESGID_PROTO:
2927 * This symbol, if defined, indicates that the system provides
2928 * a prototype for the setresgid() function. Otherwise, it is up
2929 * to the program to supply one. Good guesses are
2930 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
2932 /*#define HAS_SETRESGID_PROTO / **/
2934 /* HAS_SETRESUID_PROTO:
2935 * This symbol, if defined, indicates that the system provides
2936 * a prototype for the setresuid() function. Otherwise, it is up
2937 * to the program to supply one. Good guesses are
2938 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
2940 /*#define HAS_SETRESUID_PROTO / **/
2943 * This symbol is defined if this system has a stat structure declaring
2944 * st_blksize and st_blocks.
2946 #ifndef USE_STAT_BLOCKS
2947 /*#define USE_STAT_BLOCKS / **/
2950 /* HAS_STRUCT_STATFS_F_FLAGS:
2951 * This symbol, if defined, indicates that the struct statfs
2952 * does have the f_flags member containing the mount flags of
2953 * the filesystem containing the file.
2954 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2955 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2956 * have statfs() and struct statfs, they have ustat() and getmnt()
2957 * with struct ustat and struct fs_data.
2959 /*#define HAS_STRUCT_STATFS_F_FLAGS / **/
2961 /* HAS_STRUCT_STATFS:
2962 * This symbol, if defined, indicates that the struct statfs
2963 * to do statfs() is supported.
2965 /*#define HAS_STRUCT_STATFS / **/
2968 * This symbol, if defined, indicates that the fstatvfs routine is
2969 * available to stat filesystems by file descriptors.
2971 /*#define HAS_FSTATVFS / **/
2974 * This symbol is defined if the _ptr and _cnt fields (or similar)
2975 * of the stdio FILE structure can be used to access the stdio buffer
2976 * for a file handle. If this is defined, then the FILE_ptr(fp)
2977 * and FILE_cnt(fp) macros will also be defined and should be used
2978 * to access these fields.
2981 * This macro is used to access the _ptr field (or equivalent) of the
2982 * FILE structure pointed to by its argument. This macro will always be
2983 * defined if USE_STDIO_PTR is defined.
2985 /* STDIO_PTR_LVALUE:
2986 * This symbol is defined if the FILE_ptr macro can be used as an
2990 * This macro is used to access the _cnt field (or equivalent) of the
2991 * FILE structure pointed to by its argument. This macro will always be
2992 * defined if USE_STDIO_PTR is defined.
2994 /* STDIO_CNT_LVALUE:
2995 * This symbol is defined if the FILE_cnt macro can be used as an
2998 /* STDIO_PTR_LVAL_SETS_CNT:
2999 * This symbol is defined if using the FILE_ptr macro as an lvalue
3000 * to increase the pointer by n has the side effect of decreasing the
3001 * value of File_cnt(fp) by n.
3003 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
3004 * This symbol is defined if using the FILE_ptr macro as an lvalue
3005 * to increase the pointer by n leaves File_cnt(fp) unchanged.
3007 /*#define USE_STDIO_PTR / **/
3008 #ifdef USE_STDIO_PTR
3009 #define FILE_ptr(fp) ((fp)->_IO_read_ptr)
3010 /*#define STDIO_PTR_LVALUE / **/
3011 #define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)
3012 /*#define STDIO_CNT_LVALUE / **/
3013 /*#define STDIO_PTR_LVAL_SETS_CNT / **/
3014 /*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/
3018 * This symbol is defined if the _base field (or similar) of the
3019 * stdio FILE structure can be used to access the stdio buffer for
3020 * a file handle. If this is defined, then the FILE_base(fp) macro
3021 * will also be defined and should be used to access this field.
3022 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
3023 * to determine the number of bytes in the buffer. USE_STDIO_BASE
3024 * will never be defined unless USE_STDIO_PTR is.
3027 * This macro is used to access the _base field (or equivalent) of the
3028 * FILE structure pointed to by its argument. This macro will always be
3029 * defined if USE_STDIO_BASE is defined.
3032 * This macro is used to determine the number of bytes in the I/O
3033 * buffer pointed to by _base field (or equivalent) of the FILE
3034 * structure pointed to its argument. This macro will always be defined
3035 * if USE_STDIO_BASE is defined.
3037 /*#define USE_STDIO_BASE / **/
3038 #ifdef USE_STDIO_BASE
3039 #define FILE_base(fp) ((fp)->_IO_read_base)
3040 #define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base)
3044 * This symbol, if defined, indicates that the strerror routine is
3045 * available to translate error numbers to strings. See the writeup
3046 * of Strerror() in this file before you try to define your own.
3049 * This symbol, if defined, indicates that the sys_errlist array is
3050 * available to translate error numbers to strings. The extern int
3051 * sys_nerr gives the size of that table.
3054 * This preprocessor symbol is defined as a macro if strerror() is
3055 * not available to translate error numbers to strings but sys_errlist[]
3058 /*#define HAS_STRERROR / **/
3059 /*#define HAS_SYS_ERRLIST / **/
3060 #define Strerror(e) strerror(e)
3063 * This symbol, if defined, indicates that the strerror_r routine
3064 * is available to strerror re-entrantly.
3066 /* STRERROR_R_PROTO:
3067 * This symbol encodes the prototype of strerror_r.
3068 * It is zero if d_strerror_r is undef, and one of the
3069 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
3072 /*#define HAS_STRERROR_R / **/
3073 #define STRERROR_R_PROTO 0 /**/
3076 * This symbol, if defined, indicates that the strftime routine is
3077 * available to do time formatting.
3079 /*#define HAS_STRFTIME / **/
3082 * This symbol, if defined, indicates that the strlcat () routine is
3083 * available to do string concatenation.
3085 /*#define HAS_STRLCAT / **/
3088 * This symbol, if defined, indicates that the strlcpy () routine is
3089 * available to do string copying.
3091 /*#define HAS_STRLCPY / **/
3094 * This symbol, if defined, indicates that the strtold routine is
3095 * available to convert strings to long doubles.
3097 /*#define HAS_STRTOLD / **/
3100 * This symbol, if defined, indicates that the strtoll routine is
3101 * available to convert strings to long longs.
3103 /*#define HAS_STRTOLL / **/
3106 * This symbol, if defined, indicates that the strtoq routine is
3107 * available to convert strings to long longs (quads).
3109 /*#define HAS_STRTOQ / **/
3112 * This symbol, if defined, indicates that the strtoul routine is
3113 * available to provide conversion of strings to unsigned long.
3115 #define HAS_STRTOUL /**/
3118 * This symbol, if defined, indicates that the strtoull routine is
3119 * available to convert strings to unsigned long longs.
3121 /*#define HAS_STRTOULL / **/
3124 * This symbol, if defined, indicates that the strtouq routine is
3125 * available to convert strings to unsigned long longs (quads).
3127 /*#define HAS_STRTOUQ / **/
3129 /* HAS_SYSCALL_PROTO:
3130 * This symbol, if defined, indicates that the system provides
3131 * a prototype for the syscall() function. Otherwise, it is up
3132 * to the program to supply one. Good guesses are
3133 * extern int syscall(int, ...);
3134 * extern int syscall(long, ...);
3136 /*#define HAS_SYSCALL_PROTO / **/
3138 /* HAS_TELLDIR_PROTO:
3139 * This symbol, if defined, indicates that the system provides
3140 * a prototype for the telldir() function. Otherwise, it is up
3141 * to the program to supply one. A good guess is
3142 * extern long telldir(DIR*);
3144 /*#define HAS_TELLDIR_PROTO / **/
3147 * This symbol, if defined, indicates that the time() routine exists.
3150 * This symbol holds the type returned by time(). It can be long,
3151 * or time_t on BSD sites (in which case <sys/types.h> should be
3154 #define HAS_TIME /**/
3155 #define Time_t time_t /* Time type */
3158 * This symbol, if defined, indicates that the times() routine exists.
3159 * Note that this became obsolete on some systems (SUNOS), which now
3160 * use getrusage(). It may be necessary to include <sys/times.h>.
3162 /*#define HAS_TIMES / **/
3165 * This symbol, if defined, indicates that the tmpnam_r routine
3166 * is available to tmpnam re-entrantly.
3169 * This symbol encodes the prototype of tmpnam_r.
3170 * It is zero if d_tmpnam_r is undef, and one of the
3171 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
3174 /*#define HAS_TMPNAM_R / **/
3175 #define TMPNAM_R_PROTO 0 /**/
3178 * This symbol, if defined, indicates that the ttyname_r routine
3179 * is available to ttyname re-entrantly.
3182 * This symbol encodes the prototype of ttyname_r.
3183 * It is zero if d_ttyname_r is undef, and one of the
3184 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
3187 /*#define HAS_TTYNAME_R / **/
3188 #define TTYNAME_R_PROTO 0 /**/
3190 /* U32_ALIGNMENT_REQUIRED:
3191 * This symbol, if defined, indicates that you must access
3192 * character data through U32-aligned pointers.
3194 #ifndef U32_ALIGNMENT_REQUIRED
3195 #define U32_ALIGNMENT_REQUIRED /**/
3199 * This symbol, if defined, indicates that the ualarm routine is
3200 * available to do alarms with microsecond granularity.
3202 /*#define HAS_UALARM / **/
3205 * This symbol, if defined, indicates that the union semun is
3206 * defined by including <sys/sem.h>. If not, the user code
3207 * probably needs to define it as:
3210 * struct semid_ds *buf;
3211 * unsigned short *array;
3214 /* USE_SEMCTL_SEMUN:
3215 * This symbol, if defined, indicates that union semun is
3216 * used for semctl IPC_STAT.
3218 /* USE_SEMCTL_SEMID_DS:
3219 * This symbol, if defined, indicates that struct semid_ds * is
3220 * used for semctl IPC_STAT.
3222 /*#define HAS_UNION_SEMUN / **/
3223 /*#define USE_SEMCTL_SEMUN / **/
3224 /*#define USE_SEMCTL_SEMID_DS / **/
3227 * This symbol, if defined, indicates that the unordered routine is
3228 * available to check whether two doubles are unordered
3229 * (effectively: whether either of them is NaN)
3231 /*#define HAS_UNORDERED / **/
3234 * This symbol, if defined, indicates that the unsetenv () routine is
3235 * available for use.
3237 /*#define HAS_UNSETENV / **/
3239 /* HAS_USLEEP_PROTO:
3240 * This symbol, if defined, indicates that the system provides
3241 * a prototype for the usleep() function. Otherwise, it is up
3242 * to the program to supply one. A good guess is
3243 * extern int usleep(useconds_t);
3245 /*#define HAS_USLEEP_PROTO / **/
3248 * This symbol, if defined, indicates that the ustat system call is
3249 * available to query file system statistics by dev_t.
3251 /*#define HAS_USTAT / **/
3254 * This symbol, if defined, indicates that vfork() exists.
3256 /*#define HAS_VFORK / **/
3259 * This symbol's value is either "void" or "int", corresponding to the
3260 * appropriate return type of a signal handler. Thus, you can declare
3261 * a signal handler using "Signal_t (*handler)()", and define the
3262 * handler using "Signal_t handler(sig)".
3264 #define Signal_t int /* Signal handler's return type */
3267 * This symbol, if defined, indicates that the vprintf routine is available
3268 * to printf with a pointer to an argument list. If unavailable, you
3269 * may need to write your own, probably in terms of _doprnt().
3271 /* USE_CHAR_VSPRINTF:
3272 * This symbol is defined if this system has vsprintf() returning type
3273 * (char*). The trend seems to be to declare it as "int vsprintf()". It
3274 * is up to the package author to declare vsprintf correctly based on the
3277 #define HAS_VPRINTF /**/
3278 /*#define USE_CHAR_VSPRINTF / **/
3281 * This symbol, if defined, indicates that the writev routine is
3282 * available to do scatter writes.
3284 /*#define HAS_WRITEV / **/
3286 /* USE_DYNAMIC_LOADING:
3287 * This symbol, if defined, indicates that dynamic loading of
3288 * some sort is available.
3290 /*#define USE_DYNAMIC_LOADING / **/
3293 * This symbol contains the size of a double, so that the C preprocessor
3294 * can make decisions based on it.
3296 #define DOUBLESIZE 8 /**/
3299 * This symbol, if defined, indicates that this system uses
3302 /*#define EBCDIC / **/
3305 * This symbol, if defined, tells that fflush(NULL) does flush
3306 * all pending stdio output.
3309 * This symbol, if defined, tells that to flush
3310 * all pending stdio output one must loop through all
3311 * the stdio file handles stored in an array and fflush them.
3312 * Note that if fflushNULL is defined, fflushall will not
3313 * even be probed for and will be left undefined.
3315 /*#define FFLUSH_NULL / **/
3316 /*#define FFLUSH_ALL / **/
3319 * This symbol holds the type used to declare file positions in libc.
3320 * It can be fpos_t, long, uint, etc... It may be necessary to include
3321 * <sys/types.h> to get any typedef'ed information.
3323 #define Fpos_t int /* File position type */
3326 * This symbol defines the format string used for printing a Gid_t.
3328 #define Gid_t_f "lu" /**/
3331 * This symbol holds the signedess of a Gid_t.
3332 * 1 for unsigned, -1 for signed.
3334 #define Gid_t_sign 1 /* GID sign */
3337 * This symbol holds the size of a Gid_t in bytes.
3339 #define Gid_t_size 4 /* GID size */
3342 * This symbol holds the return type of getgid() and the type of
3343 * argument to setrgid() and related functions. Typically,
3344 * it is the type of group ids in the kernel. It can be int, ushort,
3345 * gid_t, etc... It may be necessary to include <sys/types.h> to get
3346 * any typedef'ed information.
3348 #define Gid_t int /* Type for getgid(), etc... */
3351 * This symbol holds the type used for the second argument to
3352 * getgroups() and setgroups(). Usually, this is the same as
3353 * gidtype (gid_t) , but sometimes it isn't.
3354 * It can be int, ushort, gid_t, etc...
3355 * It may be necessary to include <sys/types.h> to get any
3356 * typedef'ed information. This is only required if you have
3357 * getgroups() or setgroups()..
3359 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
3360 #define Groups_t int /* Type for 2nd arg to [sg]etgroups() */
3364 * This symbol, if defined, indicates that <crypt.h> exists and
3365 * should be included.
3367 /*#define I_CRYPT / **/
3370 * This symbol contains the type of the prefix structure element
3371 * in the <db.h> header file. In older versions of DB, it was
3372 * int, while in newer ones it is u_int32_t.
3375 * This symbol contains the type of the prefix structure element
3376 * in the <db.h> header file. In older versions of DB, it was
3377 * int, while in newer ones it is size_t.
3379 /* DB_VERSION_MAJOR_CFG:
3380 * This symbol, if defined, defines the major version number of
3381 * Berkeley DB found in the <db.h> header when Perl was configured.
3383 /* DB_VERSION_MINOR_CFG:
3384 * This symbol, if defined, defines the minor version number of
3385 * Berkeley DB found in the <db.h> header when Perl was configured.
3386 * For DB version 1 this is always 0.
3388 /* DB_VERSION_PATCH_CFG:
3389 * This symbol, if defined, defines the patch version number of
3390 * Berkeley DB found in the <db.h> header when Perl was configured.
3391 * For DB version 1 this is always 0.
3393 #define DB_Hash_t u_int32_t /**/
3394 #define DB_Prefix_t size_t /**/
3395 #define DB_VERSION_MAJOR_CFG /**/
3396 #define DB_VERSION_MINOR_CFG /**/
3397 #define DB_VERSION_PATCH_CFG /**/
3400 * This symbol, if defined, indicates that <fp.h> exists and
3401 * should be included.
3403 /*#define I_FP / **/
3406 * This symbol, if defined, indicates that <fp_class.h> exists and
3407 * should be included.
3409 /*#define I_FP_CLASS / **/
3412 * This symbol, if defined, indicates to the C program that it should
3416 * This symbol, if defined, indicates to the C program that struct group
3417 * in <grp.h> contains gr_passwd.
3419 /*#define I_GRP / **/
3420 /*#define GRPASSWD / **/
3423 * This symbol, if defined, indicates that <ieeefp.h> exists and
3424 * should be included.
3426 /*#define I_IEEEFP / **/
3429 * This symbol, if defined, indicates to the C program that it should
3430 * include <inttypes.h>.
3432 /*#define I_INTTYPES / **/
3435 * This symbol, if defined, indicates that <langinfo.h> exists and
3436 * should be included.
3438 /*#define I_LANGINFO / **/
3441 * This symbol, if defined, indicates that <libutil.h> exists and
3442 * should be included.
3444 /*#define I_LIBUTIL / **/
3447 * This symbol, if defined, indicates to the C program that it should
3448 * include <mach/cthreads.h>.
3450 /*#define I_MACH_CTHREADS / **/
3453 * This symbol, if defined, indicates that <mntent.h> exists and
3454 * should be included.
3456 /*#define I_MNTENT / **/
3459 * This symbol, if defined, indicates that <ndbm.h> exists and should
3462 /*#define I_NDBM / **/
3465 * This symbol, if defined, indicates that <netdb.h> exists and
3466 * should be included.
3468 /*#define I_NETDB / **/
3471 * This symbol, if defined, indicates to the C program that it should
3472 * include <netinet/tcp.h>.
3474 /*#define I_NETINET_TCP / **/
3477 * This symbol, if defined, indicates that <poll.h> exists and
3478 * should be included.
3480 /*#define I_POLL / **/
3483 * This symbol, if defined, indicates that <prot.h> exists and
3484 * should be included.
3486 /*#define I_PROT / **/
3489 * This symbol, if defined, indicates to the C program that it should
3490 * include <pthread.h>.
3492 /*#define I_PTHREAD / **/
3495 * This symbol, if defined, indicates to the C program that it should
3499 * This symbol, if defined, indicates to the C program that struct passwd
3500 * contains pw_quota.
3503 * This symbol, if defined, indicates to the C program that struct passwd
3507 * This symbol, if defined, indicates to the C program that struct passwd
3508 * contains pw_change.
3511 * This symbol, if defined, indicates to the C program that struct passwd
3512 * contains pw_class.
3515 * This symbol, if defined, indicates to the C program that struct passwd
3516 * contains pw_expire.
3519 * This symbol, if defined, indicates to the C program that struct passwd
3520 * contains pw_comment.
3523 * This symbol, if defined, indicates to the C program that struct passwd
3524 * contains pw_gecos.
3527 * This symbol, if defined, indicates to the C program that struct passwd
3528 * contains pw_passwd.
3530 /*#define I_PWD / **/
3531 /*#define PWQUOTA / **/
3532 /*#define PWAGE / **/
3533 /*#define PWCHANGE / **/
3534 /*#define PWCLASS / **/
3535 /*#define PWEXPIRE / **/
3536 /*#define PWCOMMENT / **/
3537 /*#define PWGECOS / **/
3538 /*#define PWPASSWD / **/
3541 * This symbol, if defined, indicates that <shadow.h> exists and
3542 * should be included.
3544 /*#define I_SHADOW / **/
3547 * This symbol, if defined, indicates that <socks.h> exists and
3548 * should be included.
3550 /*#define I_SOCKS / **/
3553 * This symbol, if defined, indicates that <sunmath.h> exists and
3554 * should be included.
3556 /*#define I_SUNMATH / **/
3559 * This symbol, if defined, indicates that <syslog.h> exists and
3560 * should be included.
3562 /*#define I_SYSLOG / **/
3565 * This symbol, if defined, indicates that <sys/mode.h> exists and
3566 * should be included.
3568 /*#define I_SYSMODE / **/
3571 * This symbol, if defined, indicates that <sys/mount.h> exists and
3572 * should be included.
3574 /*#define I_SYS_MOUNT / **/
3577 * This symbol, if defined, indicates that <sys/statfs.h> exists.
3579 /*#define I_SYS_STATFS / **/
3582 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
3583 * should be included.
3585 /*#define I_SYS_STATVFS / **/
3588 * This symbol, if defined, indicates that <sys/uio.h> exists and
3589 * should be included.
3591 /*#define I_SYSUIO / **/
3594 * This symbol, if defined, indicates that <sys/utsname.h> exists and
3595 * should be included.
3597 /*#define I_SYSUTSNAME / **/
3600 * This symbol, if defined, indicates that <sys/vfs.h> exists and
3601 * should be included.
3603 /*#define I_SYS_VFS / **/
3606 * This symbol, if defined, indicates to the C program that it should
3610 * This symbol, if defined, indicates to the C program that it should
3611 * include <sys/time.h>.
3613 /* I_SYS_TIME_KERNEL:
3614 * This symbol, if defined, indicates to the C program that it should
3615 * include <sys/time.h> with KERNEL defined.
3618 * This symbol, if defined, indicates to the C program that
3619 * the struct tm has a tm_zone field.
3621 /* HAS_TM_TM_GMTOFF:
3622 * This symbol, if defined, indicates to the C program that
3623 * the struct tm has a tm_gmtoff field.
3626 /*#define I_SYS_TIME / **/
3627 /*#define I_SYS_TIME_KERNEL / **/
3628 /*#define HAS_TM_TM_ZONE / **/
3629 /*#define HAS_TM_TM_GMTOFF / **/
3632 * This symbol, if defined, indicates that <ustat.h> exists and
3633 * should be included.
3635 /*#define I_USTAT / **/
3638 * This symbol, if defined, indicates that <stdarg.h> exists and should
3642 * This symbol, if defined, indicates to the C program that it should
3643 * include <varargs.h>.
3645 #define I_STDARG /**/
3646 /*#define I_VARARGS / **/
3648 /* PERL_INC_VERSION_LIST:
3649 * This variable specifies the list of subdirectories in over
3650 * which perl.c:incpush() and lib/lib.pm will automatically
3651 * search when adding directories to @INC, in a format suitable
3652 * for a C initialization string. See the inc_version_list entry
3653 * in Porting/Glossary for more details.
3655 /*#define PERL_INC_VERSION_LIST NULL / **/
3657 /* INSTALL_USR_BIN_PERL:
3658 * This symbol, if defined, indicates that Perl is to be installed
3659 * also as /usr/bin/perl.
3661 /*#define INSTALL_USR_BIN_PERL / **/
3664 * This symbol, if defined, contains the string used by stdio to
3665 * format long doubles (format 'f') for output.
3668 * This symbol, if defined, contains the string used by stdio to
3669 * format long doubles (format 'g') for output.
3672 * This symbol, if defined, contains the string used by stdio to
3673 * format long doubles (format 'e') for output.
3676 * This symbol, if defined, contains the string used by stdio to
3677 * format long doubles (format 'f') for input.
3679 /*#define PERL_PRIfldbl "llf" / **/
3680 /*#define PERL_PRIgldbl "llg" / **/
3681 /*#define PERL_PRIeldbl "lle" / **/
3682 /*#define PERL_SCNfldbl "llf" / **/
3685 * This symbol holds the type used to declare offsets in the kernel.
3686 * It can be int, long, off_t, etc... It may be necessary to include
3687 * <sys/types.h> to get any typedef'ed information.
3690 * This symbol holds the number of bytes used by the Off_t.
3693 * This symbol holds the number of bytes used by the Off_t.
3695 #define Off_t int /* <offset> type */
3696 #define LSEEKSIZE 4 /* <offset> size */
3697 #define Off_t_size 4 /* <offset> size */
3700 * This symbol, if defined, indicates that the Misc Attribution
3701 * Declaration code should be conditionally compiled.
3703 /*#define PERL_MAD / **/
3706 * This variable contains the return type of free(). It is usually
3707 * void, but occasionally int.
3710 * This symbol is the type of pointer returned by malloc and realloc.
3712 #define Malloc_t void * /**/
3713 #define Free_t int /**/
3715 /* PERL_MALLOC_WRAP:
3716 * This symbol, if defined, indicates that we'd like malloc wrap checks.
3718 /*#define PERL_MALLOC_WRAP / **/
3721 * This symbol, if defined, indicates that we're using our own malloc.
3723 /*#define MYMALLOC / **/
3726 * This symbol holds the type used to declare file modes
3727 * for systems calls. It is usually mode_t, but may be
3728 * int or unsigned short. It may be necessary to include <sys/types.h>
3729 * to get any typedef'ed information.
3731 #define Mode_t int /* file mode parameter for system calls */
3734 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3735 * non-blocking I/O for the file descriptor. Note that there is no way
3736 * back, i.e. you cannot turn it blocking again this way. If you wish to
3737 * alternatively switch between blocking and non-blocking, use the
3738 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3741 * This symbol holds the errno error code set by read() when no data was
3742 * present on the non-blocking file descriptor.
3745 * This symbol holds the return code from read() when no data is present
3746 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3747 * not defined, then you can't distinguish between no data and EOF by
3748 * issuing a read(). You'll have to find another way to tell for sure!
3751 * This symbol, if defined, indicates to the C program that a read() on
3752 * a non-blocking file descriptor will return 0 on EOF, and not the value
3753 * held in RD_NODATA (-1 usually, in that case!).
3755 #define VAL_O_NONBLOCK O_NONBLOCK
3756 #define VAL_EAGAIN EAGAIN
3757 #define RD_NODATA -1
3761 * This symbol, if defined, indicates that the system stores
3762 * the variable argument list datatype, va_list, in a format
3763 * that cannot be copied by simple assignment, so that some
3764 * other means must be used when copying is required.
3765 * As such systems vary in their provision (or non-provision)
3766 * of copying mechanisms, handy.h defines a platform-
3767 * independent macro, Perl_va_copy(src, dst), to do the job.
3769 /*#define NEED_VA_COPY / **/
3772 * This symbol holds the type used for the 1st argument
3773 * to gethostbyaddr().
3776 * This symbol holds the type used for the 2nd argument
3777 * to gethostbyaddr().
3780 * This symbol holds the type used for the argument to
3784 * This symbol holds the type used for the 1st argument to
3787 #define Netdb_host_t const char * /**/
3788 #define Netdb_hlen_t int /**/
3789 #define Netdb_name_t const char * /**/
3790 #define Netdb_net_t unsigned long /**/
3792 /* PERL_OTHERLIBDIRS:
3793 * This variable contains a colon-separated set of paths for the perl
3794 * binary to search for additional library files or modules.
3795 * These directories will be tacked to the end of @INC.
3796 * Perl will automatically search below each path for version-
3797 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3800 /*#define PERL_OTHERLIBDIRS "" / **/
3803 * This symbol, if defined, tells that there's a 64-bit integer type,
3804 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
3805 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
3807 /*#define HAS_QUAD / **/
3809 # define Quad_t int64_t /**/
3810 # define Uquad_t uint64_t /**/
3811 # define QUADKIND 4 /**/
3812 # define QUAD_IS_INT 1
3813 # define QUAD_IS_LONG 2
3814 # define QUAD_IS_LONG_LONG 3
3815 # define QUAD_IS_INT64_T 4
3819 * This symbol defines the C type used for Perl's IV.
3822 * This symbol defines the C type used for Perl's UV.
3825 * This symbol defines the C type used for Perl's I8.
3828 * This symbol defines the C type used for Perl's U8.
3831 * This symbol defines the C type used for Perl's I16.
3834 * This symbol defines the C type used for Perl's U16.
3837 * This symbol defines the C type used for Perl's I32.
3840 * This symbol defines the C type used for Perl's U32.
3843 * This symbol defines the C type used for Perl's I64.
3846 * This symbol defines the C type used for Perl's U64.
3849 * This symbol defines the C type used for Perl's NV.
3852 * This symbol contains the sizeof(IV).
3855 * This symbol contains the sizeof(UV).
3858 * This symbol contains the sizeof(I8).
3861 * This symbol contains the sizeof(U8).
3864 * This symbol contains the sizeof(I16).
3867 * This symbol contains the sizeof(U16).
3870 * This symbol contains the sizeof(I32).
3873 * This symbol contains the sizeof(U32).
3876 * This symbol contains the sizeof(I64).
3879 * This symbol contains the sizeof(U64).
3882 * This symbol contains the sizeof(NV).
3885 * This symbol, if defined, indicates that a variable of type NVTYPE
3886 * can preserve all the bits of a variable of type UVTYPE.
3888 /* NV_PRESERVES_UV_BITS:
3889 * This symbol contains the number of bits a variable of type NVTYPE
3890 * can preserve of a variable of type UVTYPE.
3892 /* NV_ZERO_IS_ALLBITS_ZERO:
3893 * This symbol, if defined, indicates that a variable of type NVTYPE
3894 * stores 0.0 in memory as all bits zero.
3896 #define IVTYPE long /**/
3897 #define UVTYPE unsigned long /**/
3898 #define I8TYPE char /**/
3899 #define U8TYPE unsigned char /**/
3900 #define I16TYPE short /**/
3901 #define U16TYPE unsigned short /**/
3902 #define I32TYPE long /**/
3903 #define U32TYPE unsigned long /**/
3905 #define I64TYPE int64_t /**/
3906 #define U64TYPE uint64_t /**/
3908 #define NVTYPE double /**/
3909 #define IVSIZE 4 /**/
3910 #define UVSIZE 4 /**/
3911 #define I8SIZE 1 /**/
3912 #define U8SIZE 1 /**/
3913 #define I16SIZE 2 /**/
3914 #define U16SIZE 2 /**/
3915 #define I32SIZE 4 /**/
3916 #define U32SIZE 4 /**/
3918 #define I64SIZE 8 /**/
3919 #define U64SIZE 8 /**/
3921 #define NVSIZE 8 /**/
3922 #undef NV_PRESERVES_UV
3923 #define NV_PRESERVES_UV_BITS 0
3924 #undef NV_ZERO_IS_ALLBITS_ZERO
3927 # if BYTEORDER == 0x1234
3929 # define BYTEORDER 0x12345678
3931 # if BYTEORDER == 0x4321
3933 # define BYTEORDER 0x87654321
3940 * This symbol defines the format string used for printing a Perl IV
3941 * as a signed decimal integer.
3944 * This symbol defines the format string used for printing a Perl UV
3945 * as an unsigned decimal integer.
3948 * This symbol defines the format string used for printing a Perl UV
3949 * as an unsigned octal integer.
3952 * This symbol defines the format string used for printing a Perl UV
3953 * as an unsigned hexadecimal integer in lowercase abcdef.
3956 * This symbol defines the format string used for printing a Perl UV
3957 * as an unsigned hexadecimal integer in uppercase ABCDEF.
3960 * This symbol defines the format string used for printing a Perl NV
3961 * using %e-ish floating point format.
3964 * This symbol defines the format string used for printing a Perl NV
3965 * using %f-ish floating point format.
3968 * This symbol defines the format string used for printing a Perl NV
3969 * using %g-ish floating point format.
3971 #define IVdf "ld" /**/
3972 #define UVuf "lu" /**/
3973 #define UVof "lo" /**/
3974 #define UVxf "lx" /**/
3975 #define UVXf "lX" /**/
3976 #define NVef "e" /**/
3977 #define NVff "f" /**/
3978 #define NVgf "g" /**/
3981 * This symbol holds the type used to declare process ids in the kernel.
3982 * It can be int, uint, pid_t, etc... It may be necessary to include
3983 * <sys/types.h> to get any typedef'ed information.
3985 #define Pid_t int /* PID type */
3988 * This symbol contains the name of the private library for this package.
3989 * The library is private in the sense that it needn't be in anyone's
3990 * execution path, but it should be accessible by the world. The program
3991 * should be prepared to do ~ expansion.
3994 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3995 * in programs that are not prepared to deal with ~ expansion at run-time.
3997 #define PRIVLIB "/usr/local/lib/perl5/5.9" /**/
3998 #define PRIVLIB_EXP "/usr/local/lib/perl5/5.9" /**/
4001 * If defined, this macro indicates that the C compiler can handle
4002 * function prototypes.
4005 * This macro is used to declare function parameters for folks who want
4006 * to make declarations with prototypes using a different style than
4007 * the above macros. Use double parentheses. For example:
4009 * int main _((int argc, char *argv[]));
4011 /*#define CAN_PROTOTYPE / **/
4012 #ifdef CAN_PROTOTYPE
4013 #define _(args) args
4019 * This symbol contains the size of a pointer, so that the C preprocessor
4020 * can make decisions based on it. It will be sizeof(void *) if
4021 * the compiler supports (void *); otherwise it will be
4024 #define PTRSIZE 4 /**/
4027 * This macro is to be used to generate uniformly distributed
4028 * random numbers over the range [0., 1.[. You may have to supply
4029 * an 'extern double drand48();' in your program since SunOS 4.1.3
4030 * doesn't provide you with anything relevant in its headers.
4031 * See HAS_DRAND48_PROTO.
4034 * This symbol defines the type of the argument of the
4035 * random seed function.
4038 * This symbol defines the macro to be used in seeding the
4039 * random number generator (see Drand01).
4042 * This symbol indicates how many bits are produced by the
4043 * function used to generate normalized random numbers.
4044 * Values include 15, 16, 31, and 48.
4046 #define Drand01() ((rand() & 0x7FFF) / (double) ((unsigned long)1 << 15)) /**/
4047 #define Rand_seed_t int /**/
4048 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
4049 #define RANDBITS 48 /**/
4052 * This symbol holds the minimum number of bits operated by select.
4053 * That is, if you do select(n, ...), how many bits at least will be
4054 * cleared in the masks if some activity is detected. Usually this
4055 * is either n or 32*ceil(n/32), especially many little-endians do
4056 * the latter. This is only useful if you have select(), naturally.
4058 #define SELECT_MIN_BITS 32 /**/
4061 * This symbol holds the type used for the 2nd, 3rd, and 4th
4062 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
4063 * is defined, and 'int *' otherwise. This is only useful if you
4064 * have select(), of course.
4066 #define Select_fd_set_t int /**/
4069 * This symbol contains the full pathname to the shell used on this
4070 * on this system to execute Bourne shell scripts. Usually, this will be
4071 * /bin/sh, though it's possible that some systems will have /bin/ksh,
4072 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
4075 #define SH_PATH "" /**/
4078 * This symbol contains a list of signal names in order of
4079 * signal number. This is intended
4080 * to be used as a static array initialization, like this:
4081 * char *sig_name[] = { SIG_NAME };
4082 * The signals in the list are separated with commas, and each signal
4083 * is surrounded by double quotes. There is no leading SIG in the signal
4084 * name, i.e. SIGQUIT is known as "QUIT".
4085 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
4086 * etc., where nn is the actual signal number (e.g. NUM37).
4087 * The signal number for sig_name[i] is stored in sig_num[i].
4088 * The last element is 0 to terminate the list with a NULL. This
4089 * corresponds to the 0 at the end of the sig_name_init list.
4090 * Note that this variable is initialized from the sig_name_init,
4091 * not from sig_name (which is unused).
4094 * This symbol contains a list of signal numbers, in the same order as the
4095 * SIG_NAME list. It is suitable for static array initialization, as in:
4096 * int sig_num[] = { SIG_NUM };
4097 * The signals in the list are separated with commas, and the indices
4098 * within that list and the SIG_NAME list match, so it's easy to compute
4099 * the signal name from a number or vice versa at the price of a small
4100 * dynamic linear lookup.
4101 * Duplicates are allowed, but are moved to the end of the list.
4102 * The signal number corresponding to sig_name[i] is sig_number[i].
4103 * if (i < NSIG) then sig_number[i] == i.
4104 * The last element is 0, corresponding to the 0 at the end of
4105 * the sig_name_init list.
4106 * Note that this variable is initialized from the sig_num_init,
4107 * not from sig_num (which is unused).
4110 * This variable contains the number of elements of the SIG_NAME
4111 * and SIG_NUM arrays, excluding the final NULL entry.
4113 #define SIG_NAME 0 /**/
4114 #define SIG_NUM 0 /**/
4115 #define SIG_SIZE 1 /**/
4118 * This symbol contains the name of the private library for this package.
4119 * The library is private in the sense that it needn't be in anyone's
4120 * execution path, but it should be accessible by the world. The program
4121 * should be prepared to do ~ expansion.
4122 * The standard distribution will put nothing in this directory.
4123 * After perl has been installed, users may install their own local
4124 * architecture-dependent modules in this directory with
4125 * MakeMaker Makefile.PL
4126 * or equivalent. See INSTALL for details.
4129 * This symbol contains the ~name expanded version of SITEARCH, to be used
4130 * in programs that are not prepared to deal with ~ expansion at run-time.
4132 /*#define SITEARCH "" / **/
4133 /*#define SITEARCH_EXP "" / **/
4136 * This symbol contains the name of the private library for this package.
4137 * The library is private in the sense that it needn't be in anyone's
4138 * execution path, but it should be accessible by the world. The program
4139 * should be prepared to do ~ expansion.
4140 * The standard distribution will put nothing in this directory.
4141 * After perl has been installed, users may install their own local
4142 * architecture-independent modules in this directory with
4143 * MakeMaker Makefile.PL
4144 * or equivalent. See INSTALL for details.
4147 * This symbol contains the ~name expanded version of SITELIB, to be used
4148 * in programs that are not prepared to deal with ~ expansion at run-time.
4151 * This define is SITELIB_EXP with any trailing version-specific component
4152 * removed. The elements in inc_version_list (inc_version_list.U) can
4153 * be tacked onto this variable to generate a list of directories to search.
4155 #define SITELIB "" /**/
4156 #define SITELIB_EXP "" /**/
4157 #define SITELIB_STEM "" /**/
4160 * This symbol holds the size of a Size_t in bytes.
4162 #define Size_t_size 4 /* */
4165 * This symbol holds the type used to declare length parameters
4166 * for string functions. It is usually size_t, but may be
4167 * unsigned long, int, etc. It may be necessary to include
4168 * <sys/types.h> to get any typedef'ed information.
4170 #define Size_t size_t /* length paramater for string functions */
4173 * This symbol holds the type used for the size argument of
4174 * various socket calls (just the base type, not the pointer-to).
4176 #define Sock_size_t int /**/
4179 * This symbol holds the type used by functions that return
4180 * a count of bytes or an error condition. It must be a signed type.
4181 * It is usually ssize_t, but may be long or int, etc.
4182 * It may be necessary to include <sys/types.h> or <unistd.h>
4183 * to get any typedef'ed information.
4184 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
4186 #define SSize_t int /* signed count of bytes */
4189 * This variable contains the string to put in front of a perl
4190 * script to make sure (one hopes) that it runs with perl and not
4193 #define STARTPERL "" /**/
4196 * This symbol is defined to be the type of char used in stdio.h.
4197 * It has the values "unsigned char" or "char".
4199 #define STDCHAR char /**/
4201 /* HAS_STDIO_STREAM_ARRAY:
4202 * This symbol, if defined, tells that there is an array
4203 * holding the stdio streams.
4205 /* STDIO_STREAM_ARRAY:
4206 * This symbol tells the name of the array holding the stdio streams.
4207 * Usual values include _iob, __iob, and __sF.
4209 /*#define HAS_STDIO_STREAM_ARRAY / **/
4210 #define STDIO_STREAM_ARRAY
4213 * This symbol defines the format string used for printing a Uid_t.
4215 #define Uid_t_f "lu" /**/
4218 * This symbol holds the signedess of a Uid_t.
4219 * 1 for unsigned, -1 for signed.
4221 #define Uid_t_sign 1 /* UID sign */
4224 * This symbol holds the size of a Uid_t in bytes.
4226 #define Uid_t_size 4 /* UID size */
4229 * This symbol holds the type used to declare user ids in the kernel.
4230 * It can be int, ushort, uid_t, etc... It may be necessary to include
4231 * <sys/types.h> to get any typedef'ed information.
4233 #define Uid_t int /* UID type */
4236 * This symbol, if defined, indicates that 64-bit integers should
4237 * be used when available. If not defined, the native integers
4238 * will be employed (be they 32 or 64 bits). The minimal possible
4239 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4240 * This may mean using for example "long longs", while your memory
4241 * may still be limited to 2 gigabytes.
4244 * This symbol, if defined, indicates that 64-bit integers should
4245 * be used when available. If not defined, the native integers
4246 * will be used (be they 32 or 64 bits). The maximal possible
4247 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4248 * be able to use more than 2 gigabytes of memory. This mode is
4249 * even more binary incompatible than USE_64_BIT_INT. You may not
4250 * be able to run the resulting executable in a 32-bit CPU at all or
4251 * you may need at least to reboot your OS to 64-bit mode.
4253 #ifndef USE_64_BIT_INT
4254 /*#define USE_64_BIT_INT / **/
4257 #ifndef USE_64_BIT_ALL
4258 /*#define USE_64_BIT_ALL / **/
4262 * This symbol, if defined, indicates that Perl should
4263 * be built to use 'fast stdio'.
4264 * Defaults to define in Perls 5.8 and earlier, to undef later.
4266 #ifndef USE_FAST_STDIO
4267 /*#define USE_FAST_STDIO / **/
4271 * This symbol, if defined, indicates that large file support
4272 * should be used when available.
4274 #ifndef USE_LARGE_FILES
4275 /*#define USE_LARGE_FILES / **/
4279 * This symbol, if defined, indicates that long doubles should
4280 * be used when available.
4282 #ifndef USE_LONG_DOUBLE
4283 /*#define USE_LONG_DOUBLE / **/
4287 * This symbol, if defined, indicates that 64-bit interfaces and
4288 * long doubles should be used when available.
4290 #ifndef USE_MORE_BITS
4291 /*#define USE_MORE_BITS / **/
4295 * This symbol, if defined, indicates that Perl should
4296 * be built to use multiplicity.
4298 #ifndef MULTIPLICITY
4299 /*#define MULTIPLICITY / **/
4303 * This symbol, if defined, indicates that the PerlIO abstraction should
4304 * be used throughout. If not defined, stdio should be
4305 * used in a fully backward compatible manner.
4308 /*#define USE_PERLIO / **/
4312 * This symbol, if defined, indicates that Perl should
4313 * be built to use socks.
4316 /*#define USE_SOCKS / **/
4320 * This symbol, if defined, indicates that Perl should be built to
4321 * use the interpreter-based threading implementation.
4324 * This symbol, if defined, indicates that Perl should be built to
4325 * use the 5.005-based threading implementation.
4327 /* OLD_PTHREADS_API:
4328 * This symbol, if defined, indicates that Perl should
4329 * be built to use the old draft POSIX threads API.
4331 /* USE_REENTRANT_API:
4332 * This symbol, if defined, indicates that Perl should
4333 * try to use the various _r versions of library functions.
4334 * This is extremely experimental.
4336 /*#define USE_5005THREADS / **/
4337 /*#define USE_ITHREADS / **/
4338 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
4339 #define USE_THREADS /* until src is revised*/
4341 /*#define OLD_PTHREADS_API / **/
4342 /*#define USE_REENTRANT_API / **/
4345 * If defined, this symbol contains the name of a private library.
4346 * The library is private in the sense that it needn't be in anyone's
4347 * execution path, but it should be accessible by the world.
4348 * It may have a ~ on the front.
4349 * The standard distribution will put nothing in this directory.
4350 * Vendors who distribute perl may wish to place their own
4351 * architecture-dependent modules and extensions in this directory with
4352 * MakeMaker Makefile.PL INSTALLDIRS=vendor
4353 * or equivalent. See INSTALL for details.
4355 /* PERL_VENDORARCH_EXP:
4356 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
4357 * in programs that are not prepared to deal with ~ expansion at run-time.
4359 /*#define PERL_VENDORARCH "" / **/
4360 /*#define PERL_VENDORARCH_EXP "" / **/
4362 /* PERL_VENDORLIB_EXP:
4363 * This symbol contains the ~name expanded version of VENDORLIB, to be used
4364 * in programs that are not prepared to deal with ~ expansion at run-time.
4366 /* PERL_VENDORLIB_STEM:
4367 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
4368 * removed. The elements in inc_version_list (inc_version_list.U) can
4369 * be tacked onto this variable to generate a list of directories to search.
4371 /*#define PERL_VENDORLIB_EXP "" / **/
4372 /*#define PERL_VENDORLIB_STEM "" / **/
4375 * This symbol indicates how much support of the void type is given by this
4376 * compiler. What various bits mean:
4378 * 1 = supports declaration of void
4379 * 2 = supports arrays of pointers to functions returning void
4380 * 4 = supports comparisons between pointers to void functions and
4381 * addresses of void functions
4382 * 8 = suports declaration of generic void pointers
4384 * The package designer should define VOIDUSED to indicate the requirements
4385 * of the package. This can be done either by #defining VOIDUSED before
4386 * including config.h, or by defining defvoidused in Myinit.U. If the
4387 * latter approach is taken, only those flags will be tested. If the
4388 * level of void support necessary is not present, defines void to int.
4394 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
4395 #define void int /* is void to be avoided? */
4396 #define M_VOID /* Xenix strikes again */