1 /* This file (config_H) is a sample config.h file. If you are unable
2 to successfully run Configure, copy this file to config.h and
3 edit it to suit your system.
6 * This file was produced by running the config_h.SH script, which
7 * gets its values from config.sh, which is generally produced by
10 * Feel free to modify any of this as the need arises. Note, however,
11 * that running config_h.SH again will wipe out any changes you've made.
12 * For a more permanent change edit config.sh and rerun config_h.SH.
14 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
18 * Package name : perl5
19 * Source directory : .
20 * Configuration time: Mon Apr 10 18:30:53 CEST 2006
21 * Configured by : yourname
22 * Target system : linux pc09 2.6.13-15.8-default #1 tue feb 7 11:07:24 utc 2006 i686 i686 i386 gnulinux
29 * This symbol holds the complete pathname to the sed program.
31 #define LOC_SED "/usr/bin/sed" /**/
34 * This symbol, if defined, indicates that the alarm routine is
37 #define HAS_ALARM /**/
40 * This symbol is defined if the bcmp() routine is available to
41 * compare blocks of memory.
46 * This symbol is defined if the bcopy() routine is available to
47 * copy blocks of memory.
49 #define HAS_BCOPY /**/
52 * This symbol is defined if the bzero() routine is available to
53 * set a memory block to 0.
55 #define HAS_BZERO /**/
58 * This symbol, if defined, indicates that the chown routine is
61 #define HAS_CHOWN /**/
64 * This symbol, if defined, indicates that the chroot routine is
67 #define HAS_CHROOT /**/
70 * This symbol, if defined, indicates that the chsize routine is available
71 * to truncate files. You might need a -lx to get this routine.
73 /*#define HAS_CHSIZE / **/
76 * This symbol, if defined, indicates that this C compiler knows about
77 * the const type. There is no need to actually test for that symbol
78 * within your programs. The mere use of the "const" keyword will
79 * trigger the necessary tests.
87 * This symbol, if defined, indicates that the cuserid routine is
88 * available to get character login names.
90 #define HAS_CUSERID /**/
93 * This symbol, if defined, indicates that this system's <float.h>
94 * or <limits.h> defines the symbol DBL_DIG, which is the number
95 * of significant digits in a double precision number. If this
96 * symbol is not defined, a guess of 15 is usually pretty good.
98 #define HAS_DBL_DIG /* */
101 * This symbol, if defined, indicates that the difftime routine is
104 #define HAS_DIFFTIME /**/
107 * This symbol, if defined, indicates that the dlerror routine is
108 * available to return a string describing the last error that
109 * occurred from a call to dlopen(), dlclose() or dlsym().
111 #define HAS_DLERROR /**/
114 * This symbol, if defined, indicates that the dup2 routine is
115 * available to duplicate file descriptors.
117 #define HAS_DUP2 /**/
120 * This symbol, if defined, indicates that the fchmod routine is available
121 * to change mode of opened files. If unavailable, use chmod().
123 #define HAS_FCHMOD /**/
126 * This symbol, if defined, indicates that the fchown routine is available
127 * to change ownership of opened files. If unavailable, use chown().
129 #define HAS_FCHOWN /**/
132 * This symbol, if defined, indicates to the C program that
133 * the fcntl() function exists.
135 #define HAS_FCNTL /**/
138 * This symbol, if defined, indicates that the fgetpos routine is
139 * available to get the file position indicator, similar to ftell().
141 #define HAS_FGETPOS /**/
144 * This symbol, if defined, indicates that the flock routine is
145 * available to do file locking.
147 #define HAS_FLOCK /**/
150 * This symbol, if defined, indicates that the fork routine is
153 #define HAS_FORK /**/
156 * This symbol, if defined, indicates that the fsetpos routine is
157 * available to set the file position indicator, similar to fseek().
159 #define HAS_FSETPOS /**/
162 * This symbol, if defined, indicates that the gettimeofday() system
163 * call is available for a sub-second accuracy clock. Usually, the file
164 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
165 * The type "Timeval" should be used to refer to "struct timeval".
167 #define HAS_GETTIMEOFDAY /**/
168 #ifdef HAS_GETTIMEOFDAY
169 #define Timeval struct timeval /* Structure used by gettimeofday() */
173 * This symbol, if defined, indicates that the getgroups() routine is
174 * available to get the list of process groups. If unavailable, multiple
175 * groups are probably not supported.
177 #define HAS_GETGROUPS /**/
180 * This symbol, if defined, indicates that the getlogin routine is
181 * available to get the login name.
183 #define HAS_GETLOGIN /**/
186 * This symbol, if defined, indicates to the C program that
187 * the getpgid(pid) function is available to get the
190 #define HAS_GETPGID /**/
193 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
194 * routine is available to get the current process group.
196 /*#define HAS_GETPGRP2 / **/
199 * This symbol, if defined, indicates that the getppid routine is
200 * available to get the parent process ID.
202 #define HAS_GETPPID /**/
205 * This symbol, if defined, indicates that the getpriority routine is
206 * available to get a process's priority.
208 #define HAS_GETPRIORITY /**/
211 * This symbol, if defined, indicates to the C program that the
212 * inet_aton() function is available to parse IP address "dotted-quad"
215 #define HAS_INET_ATON /**/
218 * This symbol, if defined, indicates that the killpg routine is available
219 * to kill process groups. If unavailable, you probably should use kill
220 * with a negative process number.
222 #define HAS_KILLPG /**/
225 * This symbol, if defined, indicates that the link routine is
226 * available to create hard links.
228 #define HAS_LINK /**/
231 * This symbol, if defined, indicates that the localeconv routine is
232 * available for numeric and monetary formatting conventions.
234 #define HAS_LOCALECONV /**/
237 * This symbol, if defined, indicates that the lockf routine is
238 * available to do file locking.
240 #define HAS_LOCKF /**/
243 * This symbol, if defined, indicates that the lstat routine is
244 * available to do file stats on symbolic links.
246 #define HAS_LSTAT /**/
249 * This symbol, if defined, indicates that the mblen routine is available
250 * to find the number of bytes in a multibye character.
252 #define HAS_MBLEN /**/
255 * This symbol, if defined, indicates that the mbstowcs routine is
256 * available to covert a multibyte string into a wide character string.
258 #define HAS_MBSTOWCS /**/
261 * This symbol, if defined, indicates that the mbtowc routine is available
262 * to covert a multibyte to a wide character.
264 #define HAS_MBTOWC /**/
267 * This symbol, if defined, indicates that the memcmp routine is available
268 * to compare blocks of memory.
270 #define HAS_MEMCMP /**/
273 * This symbol, if defined, indicates that the memcpy routine is available
274 * to copy blocks of memory.
276 #define HAS_MEMCPY /**/
279 * This symbol, if defined, indicates that the memmove routine is available
280 * to copy potentially overlapping blocks of memory. This should be used
281 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
284 #define HAS_MEMMOVE /**/
287 * This symbol, if defined, indicates that the memset routine is available
288 * to set blocks of memory.
290 #define HAS_MEMSET /**/
293 * This symbol, if defined, indicates that the mkdir routine is available
294 * to create directories. Otherwise you should fork off a new process to
297 #define HAS_MKDIR /**/
300 * This symbol, if defined, indicates that the mkfifo routine is
301 * available to create FIFOs. Otherwise, mknod should be able to
302 * do it for you. However, if mkfifo is there, mknod might require
303 * super-user privileges which mkfifo will not.
305 #define HAS_MKFIFO /**/
308 * This symbol, if defined, indicates that the mktime routine is
311 #define HAS_MKTIME /**/
314 * This symbol, if defined, indicates that the msync system call is
315 * available to synchronize a mapped file.
317 #define HAS_MSYNC /**/
320 * This symbol, if defined, indicates that the munmap system call is
321 * available to unmap a region, usually mapped by mmap().
323 #define HAS_MUNMAP /**/
326 * This symbol, if defined, indicates that the nice routine is
329 #define HAS_NICE /**/
332 * This symbol, if defined, indicates that pathconf() is available
333 * to determine file-system related limits and options associated
334 * with a given filename.
337 * This symbol, if defined, indicates that pathconf() is available
338 * to determine file-system related limits and options associated
339 * with a given open file descriptor.
341 #define HAS_PATHCONF /**/
342 #define HAS_FPATHCONF /**/
345 * This symbol, if defined, indicates that the pause routine is
346 * available to suspend a process until a signal is received.
348 #define HAS_PAUSE /**/
351 * This symbol, if defined, indicates that the pipe routine is
352 * available to create an inter-process channel.
354 #define HAS_PIPE /**/
357 * This symbol, if defined, indicates that the poll routine is
358 * available to poll active file descriptors. You may safely
359 * include <poll.h> when this symbol is defined.
361 #define HAS_POLL /**/
364 * This symbol, if defined, indicates that the readdir routine is
365 * available to read directory entries. You may have to include
366 * <dirent.h>. See I_DIRENT.
368 #define HAS_READDIR /**/
371 * This symbol, if defined, indicates that the seekdir routine is
372 * available. You may have to include <dirent.h>. See I_DIRENT.
374 #define HAS_SEEKDIR /**/
377 * This symbol, if defined, indicates that the telldir routine is
378 * available. You may have to include <dirent.h>. See I_DIRENT.
380 #define HAS_TELLDIR /**/
383 * This symbol, if defined, indicates that the rewinddir routine is
384 * available. You may have to include <dirent.h>. See I_DIRENT.
386 #define HAS_REWINDDIR /**/
389 * This symbol, if defined, indicates that the readlink routine is
390 * available to read the value of a symbolic link.
392 #define HAS_READLINK /**/
395 * This symbol, if defined, indicates that the rename routine is available
396 * to rename files. Otherwise you should do the unlink(), link(), unlink()
399 #define HAS_RENAME /**/
402 * This symbol, if defined, indicates that the rmdir routine is
403 * available to remove directories. Otherwise you should fork off a
404 * new process to exec /bin/rmdir.
406 #define HAS_RMDIR /**/
409 * This symbol, if defined, indicates that the select routine is
410 * available to select active file descriptors. If the timeout field
411 * is used, <sys/time.h> may need to be included.
413 #define HAS_SELECT /**/
416 * This symbol, if defined, indicates that the setegid routine is available
417 * to change the effective gid of the current program.
419 #define HAS_SETEGID /**/
422 * This symbol, if defined, indicates that the seteuid routine is available
423 * to change the effective uid of the current program.
425 #define HAS_SETEUID /**/
428 * This symbol, if defined, indicates that the setlinebuf routine is
429 * available to change stderr or stdout from block-buffered or unbuffered
430 * to a line-buffered mode.
432 #define HAS_SETLINEBUF /**/
435 * This symbol, if defined, indicates that the setlocale routine is
436 * available to handle locale-specific ctype implementations.
438 #define HAS_SETLOCALE /**/
441 * This symbol, if defined, indicates that the setpgid(pid, gpid)
442 * routine is available to set process group ID.
444 #define HAS_SETPGID /**/
447 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
448 * routine is available to set the current process group.
450 /*#define HAS_SETPGRP2 / **/
453 * This symbol, if defined, indicates that the setpriority routine is
454 * available to set a process's priority.
456 #define HAS_SETPRIORITY /**/
459 * This symbol, if defined, indicates that the setregid routine is
460 * available to change the real and effective gid of the current
464 * This symbol, if defined, indicates that the setresgid routine is
465 * available to change the real, effective and saved gid of the current
468 #define HAS_SETREGID /**/
469 #define HAS_SETRESGID /**/
472 * This symbol, if defined, indicates that the setreuid routine is
473 * available to change the real and effective uid of the current
477 * This symbol, if defined, indicates that the setresuid routine is
478 * available to change the real, effective and saved uid of the current
481 #define HAS_SETREUID /**/
482 #define HAS_SETRESUID /**/
485 * This symbol, if defined, indicates that the setrgid routine is available
486 * to change the real gid of the current program.
488 /*#define HAS_SETRGID / **/
491 * This symbol, if defined, indicates that the setruid routine is available
492 * to change the real uid of the current program.
494 /*#define HAS_SETRUID / **/
497 * This symbol, if defined, indicates that the setsid routine is
498 * available to set the process group ID.
500 #define HAS_SETSID /**/
503 * This symbol is defined to indicate that the strchr()/strrchr()
504 * functions are available for string searching. If not, try the
505 * index()/rindex() pair.
508 * This symbol is defined to indicate that the index()/rindex()
509 * functions are available for string searching.
511 #define HAS_STRCHR /**/
512 /*#define HAS_INDEX / **/
515 * This symbol, if defined, indicates that the strcoll routine is
516 * available to compare strings using collating information.
518 #define HAS_STRCOLL /**/
521 * This symbol, if defined, indicates that this C compiler knows how
522 * to copy structures. If undefined, you'll need to use a block copy
523 * routine of some sort instead.
525 #define USE_STRUCT_COPY /**/
528 * This symbol, if defined, indicates that the strtod routine is
529 * available to provide better numeric string conversion than atof().
531 #define HAS_STRTOD /**/
534 * This symbol, if defined, indicates that the strtol routine is available
535 * to provide better numeric string conversion than atoi() and friends.
537 #define HAS_STRTOL /**/
540 * This symbol, if defined, indicates that the strxfrm() routine is
541 * available to transform strings.
543 #define HAS_STRXFRM /**/
546 * This symbol, if defined, indicates that the symlink routine is available
547 * to create symbolic links.
549 #define HAS_SYMLINK /**/
552 * This symbol, if defined, indicates that the syscall routine is
553 * available to call arbitrary system calls. If undefined, that's tough.
555 #define HAS_SYSCALL /**/
558 * This symbol, if defined, indicates that sysconf() is available
559 * to determine system related limits and options.
561 #define HAS_SYSCONF /**/
564 * This symbol, if defined, indicates that the system routine is
565 * available to issue a shell command.
567 #define HAS_SYSTEM /**/
570 * This symbol, if defined, indicates that the tcgetpgrp routine is
571 * available to get foreground process group ID.
573 #define HAS_TCGETPGRP /**/
576 * This symbol, if defined, indicates that the tcsetpgrp routine is
577 * available to set foreground process group ID.
579 #define HAS_TCSETPGRP /**/
582 * This symbol, if defined, indicates that the truncate routine is
583 * available to truncate files.
585 #define HAS_TRUNCATE /**/
588 * This symbol, if defined, indicates that the tzname[] array is
589 * available to access timezone names.
591 #define HAS_TZNAME /**/
594 * This symbol, if defined, indicates that the umask routine is
595 * available to set and get the value of the file creation mask.
597 #define HAS_UMASK /**/
600 * This symbol, if defined, indicates that the usleep routine is
601 * available to let the process sleep on a sub-second accuracy.
603 #define HAS_USLEEP /**/
606 * This symbol, if defined, indicates that this C compiler knows about
607 * the volatile declaration.
609 #define HASVOLATILE /**/
615 * This symbol, if defined, indicates that wait4() exists.
617 #define HAS_WAIT4 /**/
620 * This symbol, if defined, indicates that the waitpid routine is
621 * available to wait for child process.
623 #define HAS_WAITPID /**/
626 * This symbol, if defined, indicates that the wcstombs routine is
627 * available to convert wide character strings to multibyte strings.
629 #define HAS_WCSTOMBS /**/
632 * This symbol, if defined, indicates that the wctomb routine is available
633 * to covert a wide character to a multibyte.
635 #define HAS_WCTOMB /**/
638 * This symbol, if defined, indicates to the C program that it should
639 * include <arpa/inet.h> to get inet_addr and friends declarations.
641 #define I_ARPA_INET /**/
644 * This symbol, if defined, indicates to the C program that it could
645 * include <assert.h> to get the assert() macro.
647 #define I_ASSERT /**/
650 * This symbol, if defined, indicates that <dbm.h> exists and should
654 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
655 * should be included.
657 /*#define I_DBM / **/
658 /*#define I_RPCSVC_DBM / **/
661 * This symbol, if defined, indicates to the C program that it should
662 * include <dirent.h>. Using this symbol also triggers the definition
663 * of the Direntry_t define which ends up being 'struct dirent' or
664 * 'struct direct' depending on the availability of <dirent.h>.
667 * This symbol, if defined, indicates to the C program that the length
668 * of directory entry names is provided by a d_namlen field. Otherwise
669 * you need to do strlen() on the d_name field.
672 * This symbol is set to 'struct direct' or 'struct dirent' depending on
673 * whether dirent is available or not. You should use this pseudo type to
674 * portably declare your directory entries.
676 #define I_DIRENT /**/
677 /*#define DIRNAMLEN / **/
678 #define Direntry_t struct dirent
681 * This symbol, if defined, indicates that <dlfcn.h> exists and should
687 * This manifest constant tells the C program to include <fcntl.h>.
689 /*#define I_FCNTL / **/
692 * This symbol, if defined, indicates to the C program that it should
693 * include <float.h> to get definition of symbols like DBL_MAX or
694 * DBL_MIN, i.e. machine dependent floating point values.
699 * This symbol, if defined, indicates to the C program that it should
700 * include <limits.h> to get definition of symbols like WORD_BIT or
701 * LONG_MAX, i.e. machine dependant limitations.
703 #define I_LIMITS /**/
706 * This symbol, if defined, indicates to the C program that it should
707 * include <locale.h>.
709 #define I_LOCALE /**/
712 * This symbol, if defined, indicates to the C program that it should
718 * This symbol, if defined, indicates to the C program that it should
719 * include <memory.h>.
721 /*#define I_MEMORY / **/
724 * This symbol, if defined, indicates that <net/errno.h> exists and
725 * should be included.
727 /*#define I_NET_ERRNO / **/
730 * This symbol, if defined, indicates to the C program that it should
731 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
733 #define I_NETINET_IN /**/
736 * This symbol, if defined, indicates to the C program that it should
739 /*#define I_SFIO / **/
742 * This symbol, if defined, indicates that <stddef.h> exists and should
745 #define I_STDDEF /**/
748 * This symbol, if defined, indicates that <stdlib.h> exists and should
751 #define I_STDLIB /**/
754 * This symbol, if defined, indicates to the C program that it should
755 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
757 #define I_STRING /**/
760 * This symbol, if defined, indicates to the C program that it should
761 * include <sys/dir.h>.
763 #define I_SYS_DIR /**/
766 * This symbol, if defined, indicates to the C program that it should
767 * include <sys/file.h> to get definition of R_OK and friends.
769 #define I_SYS_FILE /**/
772 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
773 * be included. Otherwise, include <sgtty.h> or <termio.h>.
776 * This symbol, if defined, indicates the <sys/sockio.h> should be included
777 * to get socket ioctl options, like SIOCATMARK.
779 #define I_SYS_IOCTL /**/
780 /*#define I_SYS_SOCKIO / **/
783 * This symbol, if defined, indicates to the C program that it should
784 * include <sys/ndir.h>.
786 /*#define I_SYS_NDIR / **/
789 * This symbol, if defined, indicates to the C program that it should
790 * include <sys/param.h>.
792 #define I_SYS_PARAM /**/
795 * This symbol, if defined, indicates to the C program that it should
796 * include <sys/resource.h>.
798 #define I_SYS_RESOURCE /**/
801 * This symbol, if defined, indicates to the C program that it should
802 * include <sys/select.h> in order to get definition of struct timeval.
804 #define I_SYS_SELECT /**/
807 * This symbol, if defined, indicates to the C program that it should
808 * include <sys/stat.h>.
810 #define I_SYS_STAT /**/
813 * This symbol, if defined, indicates to the C program that it should
814 * include <sys/times.h>.
816 #define I_SYS_TIMES /**/
819 * This symbol, if defined, indicates to the C program that it should
820 * include <sys/types.h>.
822 #define I_SYS_TYPES /**/
825 * This symbol, if defined, indicates to the C program that it should
826 * include <sys/un.h> to get UNIX domain socket definitions.
828 #define I_SYS_UN /**/
831 * This symbol, if defined, indicates to the C program that it should
832 * include <sys/wait.h>.
834 #define I_SYS_WAIT /**/
837 * This symbol, if defined, indicates that the program should include
838 * <termio.h> rather than <sgtty.h>. There are also differences in
839 * the ioctl() calls that depend on the value of this symbol.
842 * This symbol, if defined, indicates that the program should include
843 * the POSIX termios.h rather than sgtty.h or termio.h.
844 * There are also differences in the ioctl() calls that depend on the
845 * value of this symbol.
848 * This symbol, if defined, indicates that the program should include
849 * <sgtty.h> rather than <termio.h>. There are also differences in
850 * the ioctl() calls that depend on the value of this symbol.
852 /*#define I_TERMIO / **/
853 #define I_TERMIOS /**/
854 /*#define I_SGTTY / **/
857 * This symbol, if defined, indicates to the C program that it should
858 * include <unistd.h>.
860 #define I_UNISTD /**/
863 * This symbol, if defined, indicates to the C program that it should
869 * This symbol, if defined, indicates to the C program that it should
870 * include <values.h> to get definition of symbols like MINFLOAT or
871 * MAXLONG, i.e. machine dependant limitations. Probably, you
872 * should use <limits.h> instead, if it is available.
874 #define I_VALUES /**/
877 * This symbol, if defined, indicates to the C program that it should
880 /*#define I_VFORK / **/
883 * This symbol, if defined, indicates that the accessx routine is
884 * available to do extended access checks.
886 /*#define HAS_ACCESSX / **/
889 * This symbol, if defined, indicates that the eaccess routine is
890 * available to do extended access checks.
892 /*#define HAS_EACCESS / **/
895 * This symbol, if defined, indicates to the C program that it should
896 * include <sys/access.h>.
898 /*#define I_SYS_ACCESS / **/
901 * This symbol, if defined, indicates to the C program that it should
902 * include <sys/security.h>.
904 /*#define I_SYS_SECURITY / **/
907 * This symbol contains the name of the operating system, as determined
908 * by Configure. You shouldn't rely on it too much; the specific
909 * feature tests from Configure are generally more reliable.
912 * This symbol contains the version of the operating system, as determined
913 * by Configure. You shouldn't rely on it too much; the specific
914 * feature tests from Configure are generally more reliable.
916 #define OSNAME "linux" /**/
917 #define OSVERS "2.6.13-15.8-default" /**/
919 /* USE_CROSS_COMPILE:
920 * This symbol, if defined, indicates that Perl is being cross-compiled.
923 * This symbol, if defined, indicates the target architecture
924 * Perl has been cross-compiled to. Undefined if not a cross-compile.
926 #ifndef USE_CROSS_COMPILE
927 /*#define USE_CROSS_COMPILE / **/
928 #define PERL_TARGETARCH "" /**/
932 * This symbol, if defined, signifies that the build
933 * process will produce some binary files that are going to be
934 * used in a cross-platform environment. This is the case for
935 * example with the NeXT "fat" binaries that contain executables
938 /*#define MULTIARCH / **/
941 * This symbol contains the number of bytes required to align a
942 * double, or a long double when applicable. Usual values are 2,
943 * 4 and 8. The default is eight, for safety.
945 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
946 # define MEM_ALIGNBYTES 8
948 #define MEM_ALIGNBYTES 4
952 * This variable, if defined, holds the name of the directory in
953 * which the user wants to put architecture-dependent public
954 * library files for perl5. It is most often a local directory
955 * such as /usr/local/lib. Programs using this variable must be
956 * prepared to deal with filename expansion. If ARCHLIB is the
957 * same as PRIVLIB, it is not defined, since presumably the
958 * program already searches PRIVLIB.
961 * This symbol contains the ~name expanded version of ARCHLIB, to be used
962 * in programs that are not prepared to deal with ~ expansion at run-time.
964 #define ARCHLIB "/opt/perl/lib/5.10.0/i686-linux" /**/
965 #define ARCHLIB_EXP "/opt/perl/lib/5.10.0/i686-linux" /**/
968 * This symbol holds a string representing the architecture name.
969 * It may be used to construct an architecture-dependant pathname
970 * where library files may be held under a private library, for
973 #define ARCHNAME "i686-linux" /**/
976 * This symbol, if defined, indicates that the atolf routine is
977 * available to convert strings into long doubles.
979 /*#define HAS_ATOLF / **/
982 * This symbol, if defined, indicates that the atoll routine is
983 * available to convert strings into long longs.
985 #define HAS_ATOLL /**/
988 * This symbol holds the path of the bin directory where the package will
989 * be installed. Program must be prepared to deal with ~name substitution.
992 * This symbol is the filename expanded version of the BIN symbol, for
993 * programs that do not want to deal with that at run-time.
995 /* PERL_RELOCATABLE_INC:
996 * This symbol, if defined, indicates that we'd like to relocate entries
997 * in @INC at run time based on the location of the perl binary.
999 #define BIN "/opt/perl/bin" /**/
1000 #define BIN_EXP "/opt/perl/bin" /**/
1001 #define PERL_RELOCATABLE_INC "undef" /**/
1004 * This symbol contains the value of sizeof(int) so that the C
1005 * preprocessor can make decisions based on it.
1008 * This symbol contains the value of sizeof(long) so that the C
1009 * preprocessor can make decisions based on it.
1012 * This symbol contains the value of sizeof(short) so that the C
1013 * preprocessor can make decisions based on it.
1015 #define INTSIZE 4 /**/
1016 #define LONGSIZE 4 /**/
1017 #define SHORTSIZE 2 /**/
1020 * This symbol holds the hexadecimal constant defined in byteorder,
1021 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
1022 * If the compiler supports cross-compiling or multiple-architecture
1023 * binaries (eg. on NeXT systems), use compiler-defined macros to
1024 * determine the byte order.
1025 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1026 * Binaries (MAB) on either big endian or little endian machines.
1027 * The endian-ness is available at compile-time. This only matters
1028 * for perl, where the config.h can be generated and installed on
1029 * one system, and used by a different architecture to build an
1030 * extension. Older versions of NeXT that might not have
1031 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1032 * so the default case (for NeXT) is big endian to catch them.
1033 * This might matter for NeXT 3.0.
1035 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1036 # ifdef __LITTLE_ENDIAN__
1038 # define BYTEORDER 0x1234
1041 # define BYTEORDER 0x12345678
1045 # ifdef __BIG_ENDIAN__
1047 # define BYTEORDER 0x4321
1050 # define BYTEORDER 0x87654321
1055 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1056 # define BYTEORDER 0x4321
1059 #define BYTEORDER 0x1234 /* large digits for MSB */
1063 * This macro concatenates 2 tokens together.
1066 * This macro surrounds its token with double quotes.
1069 #define CAT2(a,b) a/**/b
1070 #define STRINGIFY(a) "a"
1071 /* If you can get stringification with catify, tell me how! */
1074 #define PeRl_CaTiFy(a, b) a ## b
1075 #define PeRl_StGiFy(a) #a
1076 /* the additional level of indirection enables these macros to be
1077 * used as arguments to other macros. See K&R 2nd ed., page 231. */
1078 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1079 #define StGiFy(a) PeRl_StGiFy(a)
1080 #define STRINGIFY(a) PeRl_StGiFy(a)
1082 #if 42 != 1 && 42 != 42
1083 # include "Bletch: How does this C preprocessor concatenate tokens?"
1087 * This symbol contains the first part of the string which will invoke
1088 * the C preprocessor on the standard input and produce to standard
1089 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1090 * call a wrapper. See CPPRUN.
1093 * This symbol contains the second part of the string which will invoke
1094 * the C preprocessor on the standard input and produce to standard
1095 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1096 * to specify standard input, otherwise the value is "".
1099 * This symbol contains the string which will invoke a C preprocessor on
1100 * the standard input and produce to standard output. It needs to end
1101 * with CPPLAST, after all other preprocessor flags have been specified.
1102 * The main difference with CPPSTDIN is that this program will never be a
1103 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1104 * available directly to the user. Note that it may well be different from
1105 * the preprocessor used to compile the C program.
1108 * This symbol is intended to be used along with CPPRUN in the same manner
1109 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1111 #define CPPSTDIN "cc -E"
1112 #define CPPMINUS "-"
1113 #define CPPRUN "cc -E"
1117 * This symbol, if defined, indicates that the _fwalk system call is
1118 * available to apply a function to all the file handles.
1120 /*#define HAS__FWALK / **/
1123 * This manifest constant lets the C program know that the access()
1124 * system call is available to check for accessibility using real UID/GID.
1125 * (always present on UNIX.)
1127 #define HAS_ACCESS /**/
1130 * This symbol, if defined, indicates that the asctime_r routine
1131 * is available to asctime re-entrantly.
1134 * This symbol encodes the prototype of asctime_r.
1135 * It is zero if d_asctime_r is undef, and one of the
1136 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1139 /*#define HAS_ASCTIME_R / **/
1140 #define ASCTIME_R_PROTO 0 /**/
1143 * This symbol is defined if the C compiler can cast negative
1144 * or large floating point numbers to 32-bit ints.
1146 /*#define CASTI32 / **/
1149 * This symbol is defined if the C compiler can cast negative
1150 * numbers to unsigned longs, ints and shorts.
1153 * This symbol contains flags that say what difficulties the compiler
1154 * has casting odd floating values to unsigned long:
1156 * 1 = couldn't cast < 0
1157 * 2 = couldn't cast >= 0x80000000
1158 * 4 = couldn't cast in argument expression list
1160 #define CASTNEGFLOAT /**/
1161 #define CASTFLAGS 0 /**/
1164 * This symbol, if defined, indicates that the class routine is
1165 * available to classify doubles. Available for example in AIX.
1166 * The returned values are defined in <float.h> and are:
1168 * FP_PLUS_NORM Positive normalized, nonzero
1169 * FP_MINUS_NORM Negative normalized, nonzero
1170 * FP_PLUS_DENORM Positive denormalized, nonzero
1171 * FP_MINUS_DENORM Negative denormalized, nonzero
1173 * FP_MINUS_ZERO -0.0
1176 * FP_NANS Signaling Not a Number (NaNS)
1177 * FP_NANQ Quiet Not a Number (NaNQ)
1179 /*#define HAS_CLASS / **/
1182 * This symbol, if defined, indicates that the closedir() routine
1183 * does not return a value.
1185 /*#define VOID_CLOSEDIR / **/
1187 /* HAS_STRUCT_CMSGHDR:
1188 * This symbol, if defined, indicates that the struct cmsghdr
1191 #define HAS_STRUCT_CMSGHDR /**/
1194 * This symbol, if defined, indicates that the crypt_r routine
1195 * is available to crypt re-entrantly.
1198 * This symbol encodes the prototype of crypt_r.
1199 * It is zero if d_crypt_r is undef, and one of the
1200 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1203 /*#define HAS_CRYPT_R / **/
1204 #define CRYPT_R_PROTO 0 /**/
1207 * This symbol, if defined, indicates that the C-shell exists.
1210 * This symbol, if defined, contains the full pathname of csh.
1212 #define HAS_CSH /**/
1214 #define CSH "/usr/bin/csh" /**/
1218 * This symbol, if defined, indicates that the ctime_r routine
1219 * is available to ctime re-entrantly.
1222 * This symbol encodes the prototype of ctime_r.
1223 * It is zero if d_ctime_r is undef, and one of the
1224 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1227 /*#define HAS_CTIME_R / **/
1228 #define CTIME_R_PROTO 0 /**/
1230 /* DLSYM_NEEDS_UNDERSCORE:
1231 * This symbol, if defined, indicates that we need to prepend an
1232 * underscore to the symbol name before calling dlsym(). This only
1233 * makes sense if you *have* dlsym, which we will presume is the
1234 * case if you're using dl_dlopen.xs.
1236 /*#define DLSYM_NEEDS_UNDERSCORE / **/
1239 * This symbol, if defined, indicates that the drand48_r routine
1240 * is available to drand48 re-entrantly.
1243 * This symbol encodes the prototype of drand48_r.
1244 * It is zero if d_drand48_r is undef, and one of the
1245 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1248 /*#define HAS_DRAND48_R / **/
1249 #define DRAND48_R_PROTO 0 /**/
1251 /* HAS_DRAND48_PROTO:
1252 * This symbol, if defined, indicates that the system provides
1253 * a prototype for the drand48() function. Otherwise, it is up
1254 * to the program to supply one. A good guess is
1255 * extern double drand48(void);
1257 #define HAS_DRAND48_PROTO /**/
1260 * This symbol, if defined, indicates that the getgrent routine is
1261 * available for finalizing sequential access of the group database.
1263 #define HAS_ENDGRENT /**/
1266 * This symbol, if defined, indicates that the endgrent_r routine
1267 * is available to endgrent re-entrantly.
1269 /* ENDGRENT_R_PROTO:
1270 * This symbol encodes the prototype of endgrent_r.
1271 * It is zero if d_endgrent_r is undef, and one of the
1272 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1275 /*#define HAS_ENDGRENT_R / **/
1276 #define ENDGRENT_R_PROTO 0 /**/
1279 * This symbol, if defined, indicates that the endhostent() routine is
1280 * available to close whatever was being used for host queries.
1282 #define HAS_ENDHOSTENT /**/
1285 * This symbol, if defined, indicates that the endnetent() routine is
1286 * available to close whatever was being used for network queries.
1288 #define HAS_ENDNETENT /**/
1291 * This symbol, if defined, indicates that the endprotoent() routine is
1292 * available to close whatever was being used for protocol queries.
1294 #define HAS_ENDPROTOENT /**/
1297 * This symbol, if defined, indicates that the getgrent routine is
1298 * available for finalizing sequential access of the passwd database.
1300 #define HAS_ENDPWENT /**/
1303 * This symbol, if defined, indicates that the endpwent_r routine
1304 * is available to endpwent re-entrantly.
1306 /* ENDPWENT_R_PROTO:
1307 * This symbol encodes the prototype of endpwent_r.
1308 * It is zero if d_endpwent_r is undef, and one of the
1309 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1312 /*#define HAS_ENDPWENT_R / **/
1313 #define ENDPWENT_R_PROTO 0 /**/
1316 * This symbol, if defined, indicates that the endservent() routine is
1317 * available to close whatever was being used for service queries.
1319 #define HAS_ENDSERVENT /**/
1322 * This symbol, if defined, indicates that the fchdir routine is
1323 * available to change directory using a file descriptor.
1325 #define HAS_FCHDIR /**/
1328 * This symbol, if defined, indicates that fcntl() can be used
1329 * for file locking. Normally on Unix systems this is defined.
1330 * It may be undefined on VMS.
1332 #define FCNTL_CAN_LOCK /**/
1335 * This symbol, when defined, indicates presence of the fd_set typedef
1338 #define HAS_FD_SET /**/
1341 * This symbol, if defined, indicates that the finite routine is
1342 * available to check whether a double is finite (non-infinity non-NaN).
1344 #define HAS_FINITE /**/
1347 * This symbol, if defined, indicates that the finitel routine is
1348 * available to check whether a long double is finite
1349 * (non-infinity non-NaN).
1351 #define HAS_FINITEL /**/
1354 * This symbol, if defined, indicates that the system supports filenames
1355 * longer than 14 characters.
1357 #define FLEXFILENAMES /**/
1360 * This symbol, if defined, indicates that the fp_class routine is
1361 * available to classify doubles. Available for example in Digital UNIX.
1362 * The returned values are defined in <math.h> and are:
1364 * FP_SNAN Signaling NaN (Not-a-Number)
1365 * FP_QNAN Quiet NaN (Not-a-Number)
1366 * FP_POS_INF +infinity
1367 * FP_NEG_INF -infinity
1368 * FP_POS_NORM Positive normalized
1369 * FP_NEG_NORM Negative normalized
1370 * FP_POS_DENORM Positive denormalized
1371 * FP_NEG_DENORM Negative denormalized
1372 * FP_POS_ZERO +0.0 (positive zero)
1373 * FP_NEG_ZERO -0.0 (negative zero)
1375 /*#define HAS_FP_CLASS / **/
1378 * This symbol, if defined, indicates that the fpclass routine is
1379 * available to classify doubles. Available for example in Solaris/SVR4.
1380 * The returned values are defined in <ieeefp.h> and are:
1382 * FP_SNAN signaling NaN
1384 * FP_NINF negative infinity
1385 * FP_PINF positive infinity
1386 * FP_NDENORM negative denormalized non-zero
1387 * FP_PDENORM positive denormalized non-zero
1388 * FP_NZERO negative zero
1389 * FP_PZERO positive zero
1390 * FP_NNORM negative normalized non-zero
1391 * FP_PNORM positive normalized non-zero
1393 /*#define HAS_FPCLASS / **/
1396 * This symbol, if defined, indicates that the fpclassify routine is
1397 * available to classify doubles. Available for example in HP-UX.
1398 * The returned values are defined in <math.h> and are
1400 * FP_NORMAL Normalized
1402 * FP_INFINITE Infinity
1403 * FP_SUBNORMAL Denormalized
1407 /*#define HAS_FPCLASSIFY / **/
1410 * This symbol will be defined if the C compiler supports fpos64_t.
1412 /*#define HAS_FPOS64_T / **/
1415 * This symbol, if defined, indicates that the frexpl routine is
1416 * available to break a long double floating-point number into
1417 * a normalized fraction and an integral power of 2.
1419 #define HAS_FREXPL /**/
1421 /* HAS_STRUCT_FS_DATA:
1422 * This symbol, if defined, indicates that the struct fs_data
1423 * to do statfs() is supported.
1425 /*#define HAS_STRUCT_FS_DATA / **/
1428 * This symbol, if defined, indicates that the fseeko routine is
1429 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1431 #define HAS_FSEEKO /**/
1434 * This symbol, if defined, indicates that the fstatfs routine is
1435 * available to stat filesystems by file descriptors.
1437 #define HAS_FSTATFS /**/
1440 * This symbol, if defined, indicates that the fsync routine is
1441 * available to write a file's modified data and attributes to
1442 * permanent storage.
1444 #define HAS_FSYNC /**/
1447 * This symbol, if defined, indicates that the ftello routine is
1448 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1450 #define HAS_FTELLO /**/
1453 * This symbol, if defined, indicates that the futimes routine is
1454 * available to change file descriptor time stamps with struct timevals.
1456 #define HAS_FUTIMES /**/
1459 * This preprocessor macro is defined to convert a floating point
1460 * number to a string without a trailing decimal point. This
1461 * emulates the behavior of sprintf("%g"), but is sometimes much more
1462 * efficient. If gconvert() is not available, but gcvt() drops the
1463 * trailing decimal point, then gcvt() is used. If all else fails,
1464 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1465 * macro are: value, number of digits, whether trailing zeros should
1466 * be retained, and the output buffer.
1467 * The usual values are:
1468 * d_Gconvert='gconvert((x),(n),(t),(b))'
1469 * d_Gconvert='gcvt((x),(n),(b))'
1470 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1471 * The last two assume trailing zeros should not be kept.
1473 #define Gconvert(x,n,t,b) gcvt((x),(n),(b))
1476 * This symbol, if defined, indicates that the getcwd routine is
1477 * available to get the current working directory.
1479 #define HAS_GETCWD /**/
1482 * This symbol, if defined, indicates that the getespwnam system call is
1483 * available to retrieve enchanced (shadow) password entries by name.
1485 /*#define HAS_GETESPWNAM / **/
1488 * This symbol, if defined, indicates that the getfsstat routine is
1489 * available to stat filesystems in bulk.
1491 /*#define HAS_GETFSSTAT / **/
1494 * This symbol, if defined, indicates that the getgrent routine is
1495 * available for sequential access of the group database.
1497 #define HAS_GETGRENT /**/
1500 * This symbol, if defined, indicates that the getgrent_r routine
1501 * is available to getgrent re-entrantly.
1503 /* GETGRENT_R_PROTO:
1504 * This symbol encodes the prototype of getgrent_r.
1505 * It is zero if d_getgrent_r is undef, and one of the
1506 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1509 /*#define HAS_GETGRENT_R / **/
1510 #define GETGRENT_R_PROTO 0 /**/
1513 * This symbol, if defined, indicates that the getgrgid_r routine
1514 * is available to getgrgid re-entrantly.
1516 /* GETGRGID_R_PROTO:
1517 * This symbol encodes the prototype of getgrgid_r.
1518 * It is zero if d_getgrgid_r is undef, and one of the
1519 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1522 /*#define HAS_GETGRGID_R / **/
1523 #define GETGRGID_R_PROTO 0 /**/
1526 * This symbol, if defined, indicates that the getgrnam_r routine
1527 * is available to getgrnam re-entrantly.
1529 /* GETGRNAM_R_PROTO:
1530 * This symbol encodes the prototype of getgrnam_r.
1531 * It is zero if d_getgrnam_r is undef, and one of the
1532 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1535 /*#define HAS_GETGRNAM_R / **/
1536 #define GETGRNAM_R_PROTO 0 /**/
1538 /* HAS_GETHOSTBYADDR:
1539 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1540 * available to look up hosts by their IP addresses.
1542 #define HAS_GETHOSTBYADDR /**/
1544 /* HAS_GETHOSTBYNAME:
1545 * This symbol, if defined, indicates that the gethostbyname() routine is
1546 * available to look up host names in some data base or other.
1548 #define HAS_GETHOSTBYNAME /**/
1551 * This symbol, if defined, indicates that the gethostent() routine is
1552 * available to look up host names in some data base or another.
1554 #define HAS_GETHOSTENT /**/
1557 * This symbol, if defined, indicates that the C program may use the
1558 * gethostname() routine to derive the host name. See also HAS_UNAME
1562 * This symbol, if defined, indicates that the C program may use the
1563 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1567 * This symbol, if defined, indicates the command to feed to the
1568 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1569 * and HAS_UNAME. Note that the command uses a fully qualified path,
1570 * so that it is safe even if used by a process with super-user
1574 * This symbol, if defined, indicates that the C program may use the
1575 * contents of PHOSTNAME as a command to feed to the popen() routine
1576 * to derive the host name.
1578 #define HAS_GETHOSTNAME /**/
1579 #define HAS_UNAME /**/
1580 /*#define HAS_PHOSTNAME / **/
1581 #ifdef HAS_PHOSTNAME
1582 #define PHOSTNAME "" /* How to get the host name */
1585 /* HAS_GETHOST_PROTOS:
1586 * This symbol, if defined, indicates that <netdb.h> includes
1587 * prototypes for gethostent(), gethostbyname(), and
1588 * gethostbyaddr(). Otherwise, it is up to the program to guess
1589 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1591 #define HAS_GETHOST_PROTOS /**/
1594 * This symbol, if defined, indicates that the getitimer routine is
1595 * available to return interval timers.
1597 #define HAS_GETITIMER /**/
1600 * This symbol, if defined, indicates that the getlogin_r routine
1601 * is available to getlogin re-entrantly.
1603 /* GETLOGIN_R_PROTO:
1604 * This symbol encodes the prototype of getlogin_r.
1605 * It is zero if d_getlogin_r is undef, and one of the
1606 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1609 /*#define HAS_GETLOGIN_R / **/
1610 #define GETLOGIN_R_PROTO 0 /**/
1613 * This symbol, if defined, indicates that the getmnt routine is
1614 * available to get filesystem mount info by filename.
1616 /*#define HAS_GETMNT / **/
1619 * This symbol, if defined, indicates that the getmntent routine is
1620 * available to iterate through mounted file systems to get their info.
1622 #define HAS_GETMNTENT /**/
1624 /* HAS_GETNETBYADDR:
1625 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1626 * available to look up networks by their IP addresses.
1628 #define HAS_GETNETBYADDR /**/
1630 /* HAS_GETNETBYNAME:
1631 * This symbol, if defined, indicates that the getnetbyname() routine is
1632 * available to look up networks by their names.
1634 #define HAS_GETNETBYNAME /**/
1637 * This symbol, if defined, indicates that the getnetent() routine is
1638 * available to look up network names in some data base or another.
1640 #define HAS_GETNETENT /**/
1642 /* HAS_GETNET_PROTOS:
1643 * This symbol, if defined, indicates that <netdb.h> includes
1644 * prototypes for getnetent(), getnetbyname(), and
1645 * getnetbyaddr(). Otherwise, it is up to the program to guess
1646 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1648 #define HAS_GETNET_PROTOS /**/
1651 * This symbol, if defined, indicates that the getpagesize system call
1652 * is available to get system page size, which is the granularity of
1653 * many memory management calls.
1655 #define HAS_GETPAGESIZE /**/
1658 * This symbol, if defined, indicates that the getprotoent() routine is
1659 * available to look up protocols in some data base or another.
1661 #define HAS_GETPROTOENT /**/
1664 * This symbol, if defined, indicates that the getpgrp routine is
1665 * available to get the current process group.
1668 * This symbol, if defined, indicates that getpgrp needs one
1669 * arguments whereas USG one needs none.
1671 #define HAS_GETPGRP /**/
1672 /*#define USE_BSD_GETPGRP / **/
1674 /* HAS_GETPROTOBYNAME:
1675 * This symbol, if defined, indicates that the getprotobyname()
1676 * routine is available to look up protocols by their name.
1678 /* HAS_GETPROTOBYNUMBER:
1679 * This symbol, if defined, indicates that the getprotobynumber()
1680 * routine is available to look up protocols by their number.
1682 #define HAS_GETPROTOBYNAME /**/
1683 #define HAS_GETPROTOBYNUMBER /**/
1685 /* HAS_GETPROTO_PROTOS:
1686 * This symbol, if defined, indicates that <netdb.h> includes
1687 * prototypes for getprotoent(), getprotobyname(), and
1688 * getprotobyaddr(). Otherwise, it is up to the program to guess
1689 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1691 #define HAS_GETPROTO_PROTOS /**/
1694 * This symbol, if defined, indicates that the getprpwnam system call is
1695 * available to retrieve protected (shadow) password entries by name.
1697 /*#define HAS_GETPRPWNAM / **/
1700 * This symbol, if defined, indicates that the getpwent routine is
1701 * available for sequential access of the passwd database.
1702 * If this is not available, the older getpw() function may be available.
1704 #define HAS_GETPWENT /**/
1707 * This symbol, if defined, indicates that the getpwent_r routine
1708 * is available to getpwent re-entrantly.
1710 /* GETPWENT_R_PROTO:
1711 * This symbol encodes the prototype of getpwent_r.
1712 * It is zero if d_getpwent_r is undef, and one of the
1713 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1716 /*#define HAS_GETPWENT_R / **/
1717 #define GETPWENT_R_PROTO 0 /**/
1720 * This symbol, if defined, indicates that the getpwnam_r routine
1721 * is available to getpwnam re-entrantly.
1723 /* GETPWNAM_R_PROTO:
1724 * This symbol encodes the prototype of getpwnam_r.
1725 * It is zero if d_getpwnam_r is undef, and one of the
1726 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1729 /*#define HAS_GETPWNAM_R / **/
1730 #define GETPWNAM_R_PROTO 0 /**/
1733 * This symbol, if defined, indicates that the getpwuid_r routine
1734 * is available to getpwuid re-entrantly.
1736 /* GETPWUID_R_PROTO:
1737 * This symbol encodes the prototype of getpwuid_r.
1738 * It is zero if d_getpwuid_r is undef, and one of the
1739 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1742 /*#define HAS_GETPWUID_R / **/
1743 #define GETPWUID_R_PROTO 0 /**/
1746 * This symbol, if defined, indicates that the getservent() routine is
1747 * available to look up network services in some data base or another.
1749 #define HAS_GETSERVENT /**/
1751 /* HAS_GETSERV_PROTOS:
1752 * This symbol, if defined, indicates that <netdb.h> includes
1753 * prototypes for getservent(), getservbyname(), and
1754 * getservbyaddr(). Otherwise, it is up to the program to guess
1755 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1757 #define HAS_GETSERV_PROTOS /**/
1760 * This symbol, if defined, indicates that the getspnam system call is
1761 * available to retrieve SysV shadow password entries by name.
1763 #define HAS_GETSPNAM /**/
1766 * This symbol, if defined, indicates that the getspnam_r routine
1767 * is available to getspnam re-entrantly.
1769 /* GETSPNAM_R_PROTO:
1770 * This symbol encodes the prototype of getspnam_r.
1771 * It is zero if d_getspnam_r is undef, and one of the
1772 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1775 /*#define HAS_GETSPNAM_R / **/
1776 #define GETSPNAM_R_PROTO 0 /**/
1778 /* HAS_GETSERVBYNAME:
1779 * This symbol, if defined, indicates that the getservbyname()
1780 * routine is available to look up services by their name.
1782 /* HAS_GETSERVBYPORT:
1783 * This symbol, if defined, indicates that the getservbyport()
1784 * routine is available to look up services by their port.
1786 #define HAS_GETSERVBYNAME /**/
1787 #define HAS_GETSERVBYPORT /**/
1790 * This symbol, if defined, indicates that the gmtime_r routine
1791 * is available to gmtime re-entrantly.
1794 * This symbol encodes the prototype of gmtime_r.
1795 * It is zero if d_gmtime_r is undef, and one of the
1796 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1799 /*#define HAS_GMTIME_R / **/
1800 #define GMTIME_R_PROTO 0 /**/
1803 * This symbol, if defined, indicates to the C program that
1804 * the GNU C library is being used. A better check is to use
1805 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1807 #define HAS_GNULIBC /**/
1808 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1809 # define _GNU_SOURCE
1812 * This symbol, if defined, indicates that the hasmntopt routine is
1813 * available to query the mount options of file systems.
1815 #define HAS_HASMNTOPT /**/
1818 * This symbol, if defined, indicates that the htonl() routine (and
1819 * friends htons() ntohl() ntohs()) are available to do network
1820 * order byte swapping.
1823 * This symbol, if defined, indicates that the htons() routine (and
1824 * friends htonl() ntohl() ntohs()) are available to do network
1825 * order byte swapping.
1828 * This symbol, if defined, indicates that the ntohl() routine (and
1829 * friends htonl() htons() ntohs()) are available to do network
1830 * order byte swapping.
1833 * This symbol, if defined, indicates that the ntohs() routine (and
1834 * friends htonl() htons() ntohl()) are available to do network
1835 * order byte swapping.
1837 #define HAS_HTONL /**/
1838 #define HAS_HTONS /**/
1839 #define HAS_NTOHL /**/
1840 #define HAS_NTOHS /**/
1843 * This symbol will defined if the C compiler supports int64_t.
1844 * Usually the <inttypes.h> needs to be included, but sometimes
1845 * <sys/types.h> is enough.
1847 #define HAS_INT64_T /**/
1850 * This manifest constant lets the C program know that isascii
1853 #define HAS_ISASCII /**/
1856 * This symbol, if defined, indicates that the isfinite routine is
1857 * available to check whether a double is finite (non-infinity non-NaN).
1859 /*#define HAS_ISFINITE / **/
1862 * This symbol, if defined, indicates that the isinf routine is
1863 * available to check whether a double is an infinity.
1865 #define HAS_ISINF /**/
1868 * This symbol, if defined, indicates that the isnan routine is
1869 * available to check whether a double is a NaN.
1871 #define HAS_ISNAN /**/
1874 * This symbol, if defined, indicates that the isnanl routine is
1875 * available to check whether a long double is a NaN.
1877 #define HAS_ISNANL /**/
1880 * This symbol, if defined, indicates that the lchown routine is
1881 * available to operate on a symbolic link (instead of following the
1884 #define HAS_LCHOWN /**/
1887 * This symbol, if defined, indicates that this system's <float.h>
1888 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1889 * of significant digits in a long double precision number. Unlike
1890 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1892 #define HAS_LDBL_DIG /* */
1895 * This symbol, if defined, indicates that the localtime_r routine
1896 * is available to localtime re-entrantly.
1898 /* LOCALTIME_R_NEEDS_TZSET:
1899 * Many libc's localtime_r implementations do not call tzset,
1900 * making them differ from localtime(), and making timezone
1901 * changes using $ENV{TZ} without explicitly calling tzset
1902 * impossible. This symbol makes us call tzset before localtime_r
1904 /* LOCALTIME_R_PROTO:
1905 * This symbol encodes the prototype of localtime_r.
1906 * It is zero if d_localtime_r is undef, and one of the
1907 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1910 /*#define HAS_LOCALTIME_R / **/
1911 /*#define LOCALTIME_R_NEEDS_TZSET / **/
1912 #define LOCALTIME_R_PROTO 0 /**/
1915 * This symbol will be defined if the C compiler supports long
1919 * This symbol contains the size of a long double, so that the
1920 * C preprocessor can make decisions based on it. It is only
1921 * defined if the system supports long doubles.
1923 #define HAS_LONG_DOUBLE /**/
1924 #ifdef HAS_LONG_DOUBLE
1925 #define LONG_DOUBLESIZE 12 /**/
1929 * This symbol will be defined if the C compiler supports long long.
1932 * This symbol contains the size of a long long, so that the
1933 * C preprocessor can make decisions based on it. It is only
1934 * defined if the system supports long long.
1936 #define HAS_LONG_LONG /**/
1937 #ifdef HAS_LONG_LONG
1938 #define LONGLONGSIZE 8 /**/
1942 * This symbol, if defined, indicates that the system provides
1943 * a prototype for the lseek() function. Otherwise, it is up
1944 * to the program to supply one. A good guess is
1945 * extern off_t lseek(int, off_t, int);
1947 #define HAS_LSEEK_PROTO /**/
1950 * This symbol, if defined, indicates that the madvise system call is
1951 * available to map a file into memory.
1953 #define HAS_MADVISE /**/
1956 * This symbol, if defined, indicates that the malloc_size
1957 * routine is available for use.
1959 /*#define HAS_MALLOC_SIZE / **/
1961 /* HAS_MALLOC_GOOD_SIZE:
1962 * This symbol, if defined, indicates that the malloc_good_size
1963 * routine is available for use.
1965 /*#define HAS_MALLOC_GOOD_SIZE / **/
1968 * This symbol, if defined, indicates that the memchr routine is available
1969 * to locate characters within a C string.
1971 #define HAS_MEMCHR /**/
1974 * This symbol, if defined, indicates that the mkdtemp routine is
1975 * available to exclusively create a uniquely named temporary directory.
1977 #define HAS_MKDTEMP /**/
1980 * This symbol, if defined, indicates that the mkstemp routine is
1981 * available to exclusively create and open a uniquely named
1984 #define HAS_MKSTEMP /**/
1987 * This symbol, if defined, indicates that the mkstemps routine is
1988 * available to excluslvely create and open a uniquely named
1989 * (with a suffix) temporary file.
1991 /*#define HAS_MKSTEMPS / **/
1994 * This symbol, if defined, indicates that the mmap system call is
1995 * available to map a file into memory.
1998 * This symbol holds the return type of the mmap() system call
1999 * (and simultaneously the type of the first argument).
2000 * Usually set to 'void *' or 'cadd_t'.
2002 #define HAS_MMAP /**/
2003 #define Mmap_t void * /**/
2006 * This symbol, if defined, indicates that the modfl routine is
2007 * available to split a long double x into a fractional part f and
2008 * an integer part i such that |f| < 1.0 and (f + i) = x.
2011 * This symbol, if defined, indicates that the system provides
2012 * a prototype for the modfl() function. Otherwise, it is up
2013 * to the program to supply one.
2015 /* HAS_MODFL_POW32_BUG:
2016 * This symbol, if defined, indicates that the modfl routine is
2017 * broken for long doubles >= pow(2, 32).
2018 * For example from 4294967303.150000 one would get 4294967302.000000
2019 * and 1.150000. The bug has been seen in certain versions of glibc,
2020 * release 2.2.2 is known to be okay.
2022 #define HAS_MODFL /**/
2023 #define HAS_MODFL_PROTO /**/
2024 /*#define HAS_MODFL_POW32_BUG / **/
2027 * This symbol, if defined, indicates that the mprotect system call is
2028 * available to modify the access protection of a memory mapped file.
2030 #define HAS_MPROTECT /**/
2033 * This symbol, if defined, indicates that the entire msg*(2) library is
2034 * supported (IPC mechanism based on message queues).
2036 #define HAS_MSG /**/
2038 /* HAS_STRUCT_MSGHDR:
2039 * This symbol, if defined, indicates that the struct msghdr
2042 #define HAS_STRUCT_MSGHDR /**/
2045 * This symbol will be defined if the C compiler supports off64_t.
2047 /*#define HAS_OFF64_T / **/
2050 * This manifest constant lets the C program know that the three
2051 * argument form of open(2) is available.
2053 #define HAS_OPEN3 /**/
2055 /* OLD_PTHREAD_CREATE_JOINABLE:
2056 * This symbol, if defined, indicates how to create pthread
2057 * in joinable (aka undetached) state. NOTE: not defined
2058 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2059 * (the new version of the constant).
2060 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2063 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
2065 /* HAS_PTHREAD_YIELD:
2066 * This symbol, if defined, indicates that the pthread_yield
2067 * routine is available to yield the execution of the current
2068 * thread. sched_yield is preferable to pthread_yield.
2071 * This symbol defines the way to yield the execution of
2072 * the current thread. Known ways are sched_yield,
2073 * pthread_yield, and pthread_yield with NULL.
2076 * This symbol, if defined, indicates that the sched_yield
2077 * routine is available to yield the execution of the current
2078 * thread. sched_yield is preferable to pthread_yield.
2080 #define HAS_PTHREAD_YIELD /**/
2081 #define SCHED_YIELD sched_yield() /**/
2082 #define HAS_SCHED_YIELD /**/
2085 * This symbol, if defined, indicates that the random_r routine
2086 * is available to random re-entrantly.
2089 * This symbol encodes the prototype of random_r.
2090 * It is zero if d_random_r is undef, and one of the
2091 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2094 /*#define HAS_RANDOM_R / **/
2095 #define RANDOM_R_PROTO 0 /**/
2098 * This symbol, if defined, indicates that the readdir_r routine
2099 * is available to readdir re-entrantly.
2102 * This symbol encodes the prototype of readdir_r.
2103 * It is zero if d_readdir_r is undef, and one of the
2104 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2107 /*#define HAS_READDIR_R / **/
2108 #define READDIR_R_PROTO 0 /**/
2111 * This symbol, if defined, indicates that the readv routine is
2112 * available to do gather reads. You will also need <sys/uio.h>
2113 * and there I_SYSUIO.
2115 #define HAS_READV /**/
2118 * This symbol, if defined, indicates that the recvmsg routine is
2119 * available to send structured socket messages.
2121 #define HAS_RECVMSG /**/
2124 * This symbol, if defined, indicates that the bcopy routine is available
2125 * to copy potentially overlapping memory blocks. Normally, you should
2126 * probably use memmove() or memcpy(). If neither is defined, roll your
2129 /*#define HAS_SAFE_BCOPY / **/
2132 * This symbol, if defined, indicates that the memcpy routine is available
2133 * to copy potentially overlapping memory blocks. If you need to
2134 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2135 * use memmove() instead, if available.
2137 /*#define HAS_SAFE_MEMCPY / **/
2140 * This symbol, if defined, indicates that the memcmp routine is available
2141 * and can be used to compare relative magnitudes of chars with their high
2142 * bits set. If it is not defined, roll your own version.
2144 #define HAS_SANE_MEMCMP /**/
2147 * This symbol, if defined, indicates that the system provides
2148 * a prototype for the sbrk() function. Otherwise, it is up
2149 * to the program to supply one. Good guesses are
2150 * extern void* sbrk(int);
2151 * extern void* sbrk(size_t);
2153 #define HAS_SBRK_PROTO /**/
2156 * This symbol, if defined, indicates that the entire sem*(2) library is
2159 #define HAS_SEM /**/
2162 * This symbol, if defined, indicates that the sendmsg routine is
2163 * available to send structured socket messages.
2165 #define HAS_SENDMSG /**/
2168 * This symbol, if defined, indicates that the setgrent routine is
2169 * available for initializing sequential access of the group database.
2171 #define HAS_SETGRENT /**/
2174 * This symbol, if defined, indicates that the setgrent_r routine
2175 * is available to setgrent re-entrantly.
2177 /* SETGRENT_R_PROTO:
2178 * This symbol encodes the prototype of setgrent_r.
2179 * It is zero if d_setgrent_r is undef, and one of the
2180 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2183 /*#define HAS_SETGRENT_R / **/
2184 #define SETGRENT_R_PROTO 0 /**/
2187 * This symbol, if defined, indicates that the setgroups() routine is
2188 * available to set the list of process groups. If unavailable, multiple
2189 * groups are probably not supported.
2191 #define HAS_SETGROUPS /**/
2194 * This symbol, if defined, indicates that the sethostent() routine is
2197 #define HAS_SETHOSTENT /**/
2200 * This symbol, if defined, indicates that the setitimer routine is
2201 * available to set interval timers.
2203 #define HAS_SETITIMER /**/
2206 * This symbol, if defined, indicates that the setnetent() routine is
2209 #define HAS_SETNETENT /**/
2212 * This symbol, if defined, indicates that the setprotoent() routine is
2215 #define HAS_SETPROTOENT /**/
2218 * This symbol, if defined, indicates that the setpgrp routine is
2219 * available to set the current process group.
2222 * This symbol, if defined, indicates that setpgrp needs two
2223 * arguments whereas USG one needs none. See also HAS_SETPGID
2224 * for a POSIX interface.
2226 #define HAS_SETPGRP /**/
2227 /*#define USE_BSD_SETPGRP / **/
2229 /* HAS_SETPROCTITLE:
2230 * This symbol, if defined, indicates that the setproctitle routine is
2231 * available to set process title.
2233 /*#define HAS_SETPROCTITLE / **/
2236 * This symbol, if defined, indicates that the setpwent routine is
2237 * available for initializing sequential access of the passwd database.
2239 #define HAS_SETPWENT /**/
2242 * This symbol, if defined, indicates that the setpwent_r routine
2243 * is available to setpwent re-entrantly.
2245 /* SETPWENT_R_PROTO:
2246 * This symbol encodes the prototype of setpwent_r.
2247 * It is zero if d_setpwent_r is undef, and one of the
2248 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2251 /*#define HAS_SETPWENT_R / **/
2252 #define SETPWENT_R_PROTO 0 /**/
2255 * This symbol, if defined, indicates that the setservent() routine is
2258 #define HAS_SETSERVENT /**/
2261 * This symbol, if defined, indicates that the setvbuf routine is
2262 * available to change buffering on an open stdio stream.
2263 * to a line-buffered mode.
2265 #define HAS_SETVBUF /**/
2268 * This symbol, if defined, indicates that sfio should
2271 /*#define USE_SFIO / **/
2274 * This symbol, if defined, indicates that the entire shm*(2) library is
2277 #define HAS_SHM /**/
2280 * This symbol, if defined, indicates that Vr4's sigaction() routine
2283 #define HAS_SIGACTION /**/
2286 * This variable indicates to the C program that the sigsetjmp()
2287 * routine is available to save the calling process's registers
2288 * and stack environment for later use by siglongjmp(), and
2289 * to optionally save the process's signal mask. See
2290 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2293 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2296 * This macro is used in the same way as sigsetjmp(), but will invoke
2297 * traditional setjmp() if sigsetjmp isn't available.
2298 * See HAS_SIGSETJMP.
2301 * This macro is used in the same way as siglongjmp(), but will invoke
2302 * traditional longjmp() if siglongjmp isn't available.
2303 * See HAS_SIGSETJMP.
2305 #define HAS_SIGSETJMP /**/
2306 #ifdef HAS_SIGSETJMP
2307 #define Sigjmp_buf sigjmp_buf
2308 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2309 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2311 #define Sigjmp_buf jmp_buf
2312 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2313 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2316 /* USE_SITECUSTOMIZE:
2317 * This symbol, if defined, indicates that sitecustomize should
2320 #ifndef USE_SITECUSTOMIZE
2321 /*#define USE_SITECUSTOMIZE / **/
2325 * This symbol, if defined, indicates that the snprintf () library
2326 * function is available for use.
2329 * This symbol, if defined, indicates that the vsnprintf () library
2330 * function is available for use.
2332 #define HAS_SNPRINTF /**/
2333 #define HAS_VSNPRINTF /**/
2336 * This symbol, if defined, indicates that the BSD socket interface is
2340 * This symbol, if defined, indicates that the BSD socketpair() call is
2344 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2345 * Checking just with #ifdef might not be enough because this symbol
2346 * has been known to be an enum.
2348 /* HAS_MSG_DONTROUTE:
2349 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2350 * Checking just with #ifdef might not be enough because this symbol
2351 * has been known to be an enum.
2354 * This symbol, if defined, indicates that the MSG_OOB is supported.
2355 * Checking just with #ifdef might not be enough because this symbol
2356 * has been known to be an enum.
2359 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2360 * Checking just with #ifdef might not be enough because this symbol
2361 * has been known to be an enum.
2364 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2365 * Checking just with #ifdef might not be enough because this symbol
2366 * has been known to be an enum.
2369 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2370 * Checking just with #ifdef might not be enough because this symbol
2371 * has been known to be an enum.
2373 #define HAS_SOCKET /**/
2374 #define HAS_SOCKETPAIR /**/
2375 #define HAS_MSG_CTRUNC /**/
2376 #define HAS_MSG_DONTROUTE /**/
2377 #define HAS_MSG_OOB /**/
2378 #define HAS_MSG_PEEK /**/
2379 #define HAS_MSG_PROXY /**/
2380 #define HAS_SCM_RIGHTS /**/
2383 * This symbol, if defined, indicates that the socks5_init routine is
2384 * available to initialize SOCKS 5.
2386 /*#define HAS_SOCKS5_INIT / **/
2389 * This symbol, if defined, indicates that the sqrtl routine is
2390 * available to do long double square roots.
2392 #define HAS_SQRTL /**/
2395 * This symbol, if defined, indicates that the srand48_r routine
2396 * is available to srand48 re-entrantly.
2399 * This symbol encodes the prototype of srand48_r.
2400 * It is zero if d_srand48_r is undef, and one of the
2401 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2404 /*#define HAS_SRAND48_R / **/
2405 #define SRAND48_R_PROTO 0 /**/
2408 * This symbol, if defined, indicates that the srandom_r routine
2409 * is available to srandom re-entrantly.
2412 * This symbol encodes the prototype of srandom_r.
2413 * It is zero if d_srandom_r is undef, and one of the
2414 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2417 /*#define HAS_SRANDOM_R / **/
2418 #define SRANDOM_R_PROTO 0 /**/
2421 * This symbol is defined if this system has a stat structure declaring
2422 * st_blksize and st_blocks.
2424 #ifndef USE_STAT_BLOCKS
2425 #define USE_STAT_BLOCKS /**/
2428 /* HAS_STRUCT_STATFS_F_FLAGS:
2429 * This symbol, if defined, indicates that the struct statfs
2430 * does have the f_flags member containing the mount flags of
2431 * the filesystem containing the file.
2432 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2433 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2434 * have statfs() and struct statfs, they have ustat() and getmnt()
2435 * with struct ustat and struct fs_data.
2437 /*#define HAS_STRUCT_STATFS_F_FLAGS / **/
2439 /* HAS_STRUCT_STATFS:
2440 * This symbol, if defined, indicates that the struct statfs
2441 * to do statfs() is supported.
2443 #define HAS_STRUCT_STATFS /**/
2446 * This symbol, if defined, indicates that the fstatvfs routine is
2447 * available to stat filesystems by file descriptors.
2449 #define HAS_FSTATVFS /**/
2452 * This symbol is defined if the _ptr and _cnt fields (or similar)
2453 * of the stdio FILE structure can be used to access the stdio buffer
2454 * for a file handle. If this is defined, then the FILE_ptr(fp)
2455 * and FILE_cnt(fp) macros will also be defined and should be used
2456 * to access these fields.
2459 * This macro is used to access the _ptr field (or equivalent) of the
2460 * FILE structure pointed to by its argument. This macro will always be
2461 * defined if USE_STDIO_PTR is defined.
2463 /* STDIO_PTR_LVALUE:
2464 * This symbol is defined if the FILE_ptr macro can be used as an
2468 * This macro is used to access the _cnt field (or equivalent) of the
2469 * FILE structure pointed to by its argument. This macro will always be
2470 * defined if USE_STDIO_PTR is defined.
2472 /* STDIO_CNT_LVALUE:
2473 * This symbol is defined if the FILE_cnt macro can be used as an
2476 /* STDIO_PTR_LVAL_SETS_CNT:
2477 * This symbol is defined if using the FILE_ptr macro as an lvalue
2478 * to increase the pointer by n has the side effect of decreasing the
2479 * value of File_cnt(fp) by n.
2481 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2482 * This symbol is defined if using the FILE_ptr macro as an lvalue
2483 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2485 /*#define USE_STDIO_PTR / **/
2486 #ifdef USE_STDIO_PTR
2487 #define FILE_ptr(fp) ((fp)->_IO_read_ptr)
2488 /*#define STDIO_PTR_LVALUE / **/
2489 #define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)
2490 /*#define STDIO_CNT_LVALUE / **/
2491 /*#define STDIO_PTR_LVAL_SETS_CNT / **/
2492 /*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/
2496 * This symbol is defined if the _base field (or similar) of the
2497 * stdio FILE structure can be used to access the stdio buffer for
2498 * a file handle. If this is defined, then the FILE_base(fp) macro
2499 * will also be defined and should be used to access this field.
2500 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2501 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2502 * will never be defined unless USE_STDIO_PTR is.
2505 * This macro is used to access the _base field (or equivalent) of the
2506 * FILE structure pointed to by its argument. This macro will always be
2507 * defined if USE_STDIO_BASE is defined.
2510 * This macro is used to determine the number of bytes in the I/O
2511 * buffer pointed to by _base field (or equivalent) of the FILE
2512 * structure pointed to its argument. This macro will always be defined
2513 * if USE_STDIO_BASE is defined.
2515 /*#define USE_STDIO_BASE / **/
2516 #ifdef USE_STDIO_BASE
2517 #define FILE_base(fp) ((fp)->_IO_read_base)
2518 #define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base)
2522 * This symbol, if defined, indicates that the strerror routine is
2523 * available to translate error numbers to strings. See the writeup
2524 * of Strerror() in this file before you try to define your own.
2527 * This symbol, if defined, indicates that the sys_errlist array is
2528 * available to translate error numbers to strings. The extern int
2529 * sys_nerr gives the size of that table.
2532 * This preprocessor symbol is defined as a macro if strerror() is
2533 * not available to translate error numbers to strings but sys_errlist[]
2536 #define HAS_STRERROR /**/
2537 #define HAS_SYS_ERRLIST /**/
2538 #define Strerror(e) strerror(e)
2541 * This symbol, if defined, indicates that the strerror_r routine
2542 * is available to strerror re-entrantly.
2544 /* STRERROR_R_PROTO:
2545 * This symbol encodes the prototype of strerror_r.
2546 * It is zero if d_strerror_r is undef, and one of the
2547 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2550 /*#define HAS_STRERROR_R / **/
2551 #define STRERROR_R_PROTO 0 /**/
2554 * This symbol, if defined, indicates that the strtold routine is
2555 * available to convert strings to long doubles.
2557 #define HAS_STRTOLD /**/
2560 * This symbol, if defined, indicates that the strtoll routine is
2561 * available to convert strings to long longs.
2563 #define HAS_STRTOLL /**/
2566 * This symbol, if defined, indicates that the strtoq routine is
2567 * available to convert strings to long longs (quads).
2569 #define HAS_STRTOQ /**/
2572 * This symbol, if defined, indicates that the strtoul routine is
2573 * available to provide conversion of strings to unsigned long.
2575 #define HAS_STRTOUL /**/
2578 * This symbol, if defined, indicates that the strtoull routine is
2579 * available to convert strings to unsigned long longs.
2581 #define HAS_STRTOULL /**/
2584 * This symbol, if defined, indicates that the strtouq routine is
2585 * available to convert strings to unsigned long longs (quads).
2587 #define HAS_STRTOUQ /**/
2589 /* HAS_TELLDIR_PROTO:
2590 * This symbol, if defined, indicates that the system provides
2591 * a prototype for the telldir() function. Otherwise, it is up
2592 * to the program to supply one. A good guess is
2593 * extern long telldir(DIR*);
2595 #define HAS_TELLDIR_PROTO /**/
2598 * This symbol, if defined, indicates that the time() routine exists.
2601 * This symbol holds the type returned by time(). It can be long,
2602 * or time_t on BSD sites (in which case <sys/types.h> should be
2605 #define HAS_TIME /**/
2606 #define Time_t time_t /* Time type */
2609 * This symbol, if defined, indicates that the times() routine exists.
2610 * Note that this became obsolete on some systems (SUNOS), which now
2611 * use getrusage(). It may be necessary to include <sys/times.h>.
2613 #define HAS_TIMES /**/
2616 * This symbol, if defined, indicates that the tmpnam_r routine
2617 * is available to tmpnam re-entrantly.
2620 * This symbol encodes the prototype of tmpnam_r.
2621 * It is zero if d_tmpnam_r is undef, and one of the
2622 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2625 /*#define HAS_TMPNAM_R / **/
2626 #define TMPNAM_R_PROTO 0 /**/
2629 * This symbol, if defined, indicates that the ualarm routine is
2630 * available to do alarms with microsecond granularity.
2632 #define HAS_UALARM /**/
2635 * This symbol, if defined, indicates that the union semun is
2636 * defined by including <sys/sem.h>. If not, the user code
2637 * probably needs to define it as:
2640 * struct semid_ds *buf;
2641 * unsigned short *array;
2644 /* USE_SEMCTL_SEMUN:
2645 * This symbol, if defined, indicates that union semun is
2646 * used for semctl IPC_STAT.
2648 /* USE_SEMCTL_SEMID_DS:
2649 * This symbol, if defined, indicates that struct semid_ds * is
2650 * used for semctl IPC_STAT.
2652 /*#define HAS_UNION_SEMUN / **/
2653 #define USE_SEMCTL_SEMUN /**/
2654 #define USE_SEMCTL_SEMID_DS /**/
2657 * This symbol, if defined, indicates that the unordered routine is
2658 * available to check whether two doubles are unordered
2659 * (effectively: whether either of them is NaN)
2661 /*#define HAS_UNORDERED / **/
2664 * This symbol, if defined, indicates that the unsetenv () routine is
2665 * available for use.
2667 #define HAS_UNSETENV /**/
2670 * This symbol, if defined, indicates that the ustat system call is
2671 * available to query file system statistics by dev_t.
2673 #define HAS_USTAT /**/
2676 * This symbol, if defined, indicates that vfork() exists.
2678 /*#define HAS_VFORK / **/
2681 * This symbol's value is either "void" or "int", corresponding to the
2682 * appropriate return type of a signal handler. Thus, you can declare
2683 * a signal handler using "Signal_t (*handler)()", and define the
2684 * handler using "Signal_t handler(sig)".
2686 #define Signal_t void /* Signal handler's return type */
2689 * This symbol, if defined, indicates that the vprintf routine is available
2690 * to printf with a pointer to an argument list. If unavailable, you
2691 * may need to write your own, probably in terms of _doprnt().
2693 /* USE_CHAR_VSPRINTF:
2694 * This symbol is defined if this system has vsprintf() returning type
2695 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2696 * is up to the package author to declare vsprintf correctly based on the
2699 #define HAS_VPRINTF /**/
2700 #define USE_CHAR_VSPRINTF /**/
2703 * This symbol, if defined, indicates that the writev routine is
2704 * available to do scatter writes.
2706 #define HAS_WRITEV /**/
2708 /* USE_DYNAMIC_LOADING:
2709 * This symbol, if defined, indicates that dynamic loading of
2710 * some sort is available.
2712 #define USE_DYNAMIC_LOADING /**/
2715 * This symbol contains the size of a double, so that the C preprocessor
2716 * can make decisions based on it.
2718 #define DOUBLESIZE 8 /**/
2721 * This symbol, if defined, indicates that this system uses
2724 /*#define EBCDIC / **/
2727 * This symbol, if defined, tells that fflush(NULL) does flush
2728 * all pending stdio output.
2731 * This symbol, if defined, tells that to flush
2732 * all pending stdio output one must loop through all
2733 * the stdio file handles stored in an array and fflush them.
2734 * Note that if fflushNULL is defined, fflushall will not
2735 * even be probed for and will be left undefined.
2737 #define FFLUSH_NULL /**/
2738 /*#define FFLUSH_ALL / **/
2741 * This symbol holds the type used to declare file positions in libc.
2742 * It can be fpos_t, long, uint, etc... It may be necessary to include
2743 * <sys/types.h> to get any typedef'ed information.
2745 #define Fpos_t fpos_t /* File position type */
2748 * This symbol defines the format string used for printing a Gid_t.
2750 #define Gid_t_f "lu" /**/
2753 * This symbol holds the signedess of a Gid_t.
2754 * 1 for unsigned, -1 for signed.
2756 #define Gid_t_sign 1 /* GID sign */
2759 * This symbol holds the size of a Gid_t in bytes.
2761 #define Gid_t_size 4 /* GID size */
2764 * This symbol holds the return type of getgid() and the type of
2765 * argument to setrgid() and related functions. Typically,
2766 * it is the type of group ids in the kernel. It can be int, ushort,
2767 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2768 * any typedef'ed information.
2770 #define Gid_t gid_t /* Type for getgid(), etc... */
2773 * This symbol holds the type used for the second argument to
2774 * getgroups() and setgroups(). Usually, this is the same as
2775 * gidtype (gid_t) , but sometimes it isn't.
2776 * It can be int, ushort, gid_t, etc...
2777 * It may be necessary to include <sys/types.h> to get any
2778 * typedef'ed information. This is only required if you have
2779 * getgroups() or setgroups()..
2781 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2782 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2786 * This symbol contains the type of the prefix structure element
2787 * in the <db.h> header file. In older versions of DB, it was
2788 * int, while in newer ones it is u_int32_t.
2791 * This symbol contains the type of the prefix structure element
2792 * in the <db.h> header file. In older versions of DB, it was
2793 * int, while in newer ones it is size_t.
2795 /* DB_VERSION_MAJOR_CFG:
2796 * This symbol, if defined, defines the major version number of
2797 * Berkeley DB found in the <db.h> header when Perl was configured.
2799 /* DB_VERSION_MINOR_CFG:
2800 * This symbol, if defined, defines the minor version number of
2801 * Berkeley DB found in the <db.h> header when Perl was configured.
2802 * For DB version 1 this is always 0.
2804 /* DB_VERSION_PATCH_CFG:
2805 * This symbol, if defined, defines the patch version number of
2806 * Berkeley DB found in the <db.h> header when Perl was configured.
2807 * For DB version 1 this is always 0.
2809 #define DB_Hash_t u_int32_t /**/
2810 #define DB_Prefix_t size_t /**/
2811 #define DB_VERSION_MAJOR_CFG 4 /**/
2812 #define DB_VERSION_MINOR_CFG 3 /**/
2813 #define DB_VERSION_PATCH_CFG 27 /**/
2816 * This symbol, if defined, indicates that <fp_class.h> exists and
2817 * should be included.
2819 /*#define I_FP_CLASS / **/
2822 * This symbol, if defined, indicates to the C program that it should
2826 * This symbol, if defined, indicates to the C program that struct group
2827 * in <grp.h> contains gr_passwd.
2830 #define GRPASSWD /**/
2833 * This symbol, if defined, indicates that <ieeefp.h> exists and
2834 * should be included.
2836 /*#define I_IEEEFP / **/
2839 * This symbol, if defined, indicates to the C program that it should
2840 * include <inttypes.h>.
2842 #define I_INTTYPES /**/
2845 * This symbol, if defined, indicates that <libutil.h> exists and
2846 * should be included.
2848 /*#define I_LIBUTIL / **/
2851 * This symbol, if defined, indicates to the C program that it should
2852 * include <mach/cthreads.h>.
2854 /*#define I_MACH_CTHREADS / **/
2857 * This symbol, if defined, indicates that <mntent.h> exists and
2858 * should be included.
2860 #define I_MNTENT /**/
2863 * This symbol, if defined, indicates that <netdb.h> exists and
2864 * should be included.
2866 #define I_NETDB /**/
2869 * This symbol, if defined, indicates to the C program that it should
2870 * include <netinet/tcp.h>.
2872 #define I_NETINET_TCP /**/
2875 * This symbol, if defined, indicates that <poll.h> exists and
2876 * should be included.
2881 * This symbol, if defined, indicates that <prot.h> exists and
2882 * should be included.
2884 /*#define I_PROT / **/
2887 * This symbol, if defined, indicates to the C program that it should
2888 * include <pthread.h>.
2890 #define I_PTHREAD /**/
2893 * This symbol, if defined, indicates to the C program that it should
2897 * This symbol, if defined, indicates to the C program that struct passwd
2898 * contains pw_quota.
2901 * This symbol, if defined, indicates to the C program that struct passwd
2905 * This symbol, if defined, indicates to the C program that struct passwd
2906 * contains pw_change.
2909 * This symbol, if defined, indicates to the C program that struct passwd
2910 * contains pw_class.
2913 * This symbol, if defined, indicates to the C program that struct passwd
2914 * contains pw_expire.
2917 * This symbol, if defined, indicates to the C program that struct passwd
2918 * contains pw_comment.
2921 * This symbol, if defined, indicates to the C program that struct passwd
2922 * contains pw_gecos.
2925 * This symbol, if defined, indicates to the C program that struct passwd
2926 * contains pw_passwd.
2929 /*#define PWQUOTA / **/
2930 /*#define PWAGE / **/
2931 /*#define PWCHANGE / **/
2932 /*#define PWCLASS / **/
2933 /*#define PWEXPIRE / **/
2934 /*#define PWCOMMENT / **/
2935 #define PWGECOS /**/
2936 #define PWPASSWD /**/
2939 * This symbol, if defined, indicates that <shadow.h> exists and
2940 * should be included.
2942 #define I_SHADOW /**/
2945 * This symbol, if defined, indicates that <socks.h> exists and
2946 * should be included.
2948 /*#define I_SOCKS / **/
2951 * This symbol, if defined, indicates that <sunmath.h> exists and
2952 * should be included.
2954 /*#define I_SUNMATH / **/
2957 * This symbol, if defined, indicates that <syslog.h> exists and
2958 * should be included.
2960 #define I_SYSLOG /**/
2963 * This symbol, if defined, indicates that <sys/mode.h> exists and
2964 * should be included.
2966 /*#define I_SYSMODE / **/
2969 * This symbol, if defined, indicates that <sys/mount.h> exists and
2970 * should be included.
2972 #define I_SYS_MOUNT /**/
2975 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2977 #define I_SYS_STATFS /**/
2980 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2981 * should be included.
2983 #define I_SYS_STATVFS /**/
2986 * This symbol, if defined, indicates that <sys/uio.h> exists and
2987 * should be included.
2989 #define I_SYSUIO /**/
2992 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2993 * should be included.
2995 #define I_SYSUTSNAME /**/
2998 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2999 * should be included.
3001 #define I_SYS_VFS /**/
3004 * This symbol, if defined, indicates to the C program that it should
3008 * This symbol, if defined, indicates to the C program that it should
3009 * include <sys/time.h>.
3011 /* I_SYS_TIME_KERNEL:
3012 * This symbol, if defined, indicates to the C program that it should
3013 * include <sys/time.h> with KERNEL defined.
3016 * This symbol, if defined, indicates to the C program that
3017 * the struct tm has a tm_zone field.
3019 /* HAS_TM_TM_GMTOFF:
3020 * This symbol, if defined, indicates to the C program that
3021 * the struct tm has a tm_gmtoff field.
3024 #define I_SYS_TIME /**/
3025 /*#define I_SYS_TIME_KERNEL / **/
3026 #define HAS_TM_TM_ZONE /**/
3027 #define HAS_TM_TM_GMTOFF /**/
3030 * This symbol, if defined, indicates that <ustat.h> exists and
3031 * should be included.
3033 #define I_USTAT /**/
3035 /* PERL_INC_VERSION_LIST:
3036 * This variable specifies the list of subdirectories in over
3037 * which perl.c:incpush() and lib/lib.pm will automatically
3038 * search when adding directories to @INC, in a format suitable
3039 * for a C initialization string. See the inc_version_list entry
3040 * in Porting/Glossary for more details.
3042 /*#define PERL_INC_VERSION_LIST 0 / **/
3044 /* INSTALL_USR_BIN_PERL:
3045 * This symbol, if defined, indicates that Perl is to be installed
3046 * also as /usr/bin/perl.
3048 /*#define INSTALL_USR_BIN_PERL / **/
3051 * This symbol, if defined, contains the string used by stdio to
3052 * format long doubles (format 'f') for output.
3055 * This symbol, if defined, contains the string used by stdio to
3056 * format long doubles (format 'g') for output.
3059 * This symbol, if defined, contains the string used by stdio to
3060 * format long doubles (format 'e') for output.
3063 * This symbol, if defined, contains the string used by stdio to
3064 * format long doubles (format 'f') for input.
3066 #define PERL_PRIfldbl "Lf" /**/
3067 #define PERL_PRIgldbl "Lg" /**/
3068 #define PERL_PRIeldbl "Le" /**/
3069 #define PERL_SCNfldbl "Lf" /**/
3072 * This symbol holds the type used to declare offsets in the kernel.
3073 * It can be int, long, off_t, etc... It may be necessary to include
3074 * <sys/types.h> to get any typedef'ed information.
3077 * This symbol holds the number of bytes used by the Off_t.
3080 * This symbol holds the number of bytes used by the Off_t.
3082 #define Off_t off_t /* <offset> type */
3083 #define LSEEKSIZE 8 /* <offset> size */
3084 #define Off_t_size 8 /* <offset> size */
3087 * This variable contains the return type of free(). It is usually
3088 * void, but occasionally int.
3091 * This symbol is the type of pointer returned by malloc and realloc.
3093 #define Malloc_t void * /**/
3094 #define Free_t void /**/
3096 /* PERL_MALLOC_WRAP:
3097 * This symbol, if defined, indicates that we'd like malloc wrap checks.
3099 #define PERL_MALLOC_WRAP /**/
3102 * This symbol, if defined, indicates that we're using our own malloc.
3104 /*#define MYMALLOC / **/
3107 * This symbol holds the type used to declare file modes
3108 * for systems calls. It is usually mode_t, but may be
3109 * int or unsigned short. It may be necessary to include <sys/types.h>
3110 * to get any typedef'ed information.
3112 #define Mode_t mode_t /* file mode parameter for system calls */
3115 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3116 * non-blocking I/O for the file descriptor. Note that there is no way
3117 * back, i.e. you cannot turn it blocking again this way. If you wish to
3118 * alternatively switch between blocking and non-blocking, use the
3119 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3122 * This symbol holds the errno error code set by read() when no data was
3123 * present on the non-blocking file descriptor.
3126 * This symbol holds the return code from read() when no data is present
3127 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3128 * not defined, then you can't distinguish between no data and EOF by
3129 * issuing a read(). You'll have to find another way to tell for sure!
3132 * This symbol, if defined, indicates to the C program that a read() on
3133 * a non-blocking file descriptor will return 0 on EOF, and not the value
3134 * held in RD_NODATA (-1 usually, in that case!).
3136 #define VAL_O_NONBLOCK O_NONBLOCK
3137 #define VAL_EAGAIN EAGAIN
3138 #define RD_NODATA -1
3139 #define EOF_NONBLOCK
3142 * This symbol, if defined, indicates that the system stores
3143 * the variable argument list datatype, va_list, in a format
3144 * that cannot be copied by simple assignment, so that some
3145 * other means must be used when copying is required.
3146 * As such systems vary in their provision (or non-provision)
3147 * of copying mechanisms, handy.h defines a platform-
3148 * independent macro, Perl_va_copy(src, dst), to do the job.
3150 /*#define NEED_VA_COPY / **/
3153 * This symbol holds the type used for the 1st argument
3154 * to gethostbyaddr().
3157 * This symbol holds the type used for the 2nd argument
3158 * to gethostbyaddr().
3161 * This symbol holds the type used for the argument to
3165 * This symbol holds the type used for the 1st argument to
3168 #define Netdb_host_t const void * /**/
3169 #define Netdb_hlen_t size_t /**/
3170 #define Netdb_name_t const char * /**/
3171 #define Netdb_net_t in_addr_t /**/
3173 /* PERL_OTHERLIBDIRS:
3174 * This variable contains a colon-separated set of paths for the perl
3175 * binary to search for additional library files or modules.
3176 * These directories will be tacked to the end of @INC.
3177 * Perl will automatically search below each path for version-
3178 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3181 /*#define PERL_OTHERLIBDIRS " " / **/
3184 * This symbol, if defined, tells that there's a 64-bit integer type,
3185 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
3186 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
3188 #define HAS_QUAD /**/
3190 # define Quad_t long long /**/
3191 # define Uquad_t unsigned long long /**/
3192 # define QUADKIND 3 /**/
3193 # define QUAD_IS_INT 1
3194 # define QUAD_IS_LONG 2
3195 # define QUAD_IS_LONG_LONG 3
3196 # define QUAD_IS_INT64_T 4
3200 * This symbol defines the C type used for Perl's IV.
3203 * This symbol defines the C type used for Perl's UV.
3206 * This symbol defines the C type used for Perl's I8.
3209 * This symbol defines the C type used for Perl's U8.
3212 * This symbol defines the C type used for Perl's I16.
3215 * This symbol defines the C type used for Perl's U16.
3218 * This symbol defines the C type used for Perl's I32.
3221 * This symbol defines the C type used for Perl's U32.
3224 * This symbol defines the C type used for Perl's I64.
3227 * This symbol defines the C type used for Perl's U64.
3230 * This symbol defines the C type used for Perl's NV.
3233 * This symbol contains the sizeof(IV).
3236 * This symbol contains the sizeof(UV).
3239 * This symbol contains the sizeof(I8).
3242 * This symbol contains the sizeof(U8).
3245 * This symbol contains the sizeof(I16).
3248 * This symbol contains the sizeof(U16).
3251 * This symbol contains the sizeof(I32).
3254 * This symbol contains the sizeof(U32).
3257 * This symbol contains the sizeof(I64).
3260 * This symbol contains the sizeof(U64).
3263 * This symbol contains the sizeof(NV).
3266 * This symbol, if defined, indicates that a variable of type NVTYPE
3267 * can preserve all the bits of a variable of type UVTYPE.
3269 /* NV_PRESERVES_UV_BITS:
3270 * This symbol contains the number of bits a variable of type NVTYPE
3271 * can preserve of a variable of type UVTYPE.
3273 /* NV_ZERO_IS_ALLBITS_ZERO:
3274 * This symbol, if defined, indicates that a variable of type NVTYPE
3275 * stores 0.0 in memory as all bits zero.
3277 #define IVTYPE long /**/
3278 #define UVTYPE unsigned long /**/
3279 #define I8TYPE char /**/
3280 #define U8TYPE unsigned char /**/
3281 #define I16TYPE short /**/
3282 #define U16TYPE unsigned short /**/
3283 #define I32TYPE long /**/
3284 #define U32TYPE unsigned long /**/
3286 #define I64TYPE long long /**/
3287 #define U64TYPE unsigned long long /**/
3289 #define NVTYPE double /**/
3290 #define IVSIZE 4 /**/
3291 #define UVSIZE 4 /**/
3292 #define I8SIZE 1 /**/
3293 #define U8SIZE 1 /**/
3294 #define I16SIZE 2 /**/
3295 #define U16SIZE 2 /**/
3296 #define I32SIZE 4 /**/
3297 #define U32SIZE 4 /**/
3299 #define I64SIZE 8 /**/
3300 #define U64SIZE 8 /**/
3302 #define NVSIZE 8 /**/
3303 #define NV_PRESERVES_UV
3304 #define NV_PRESERVES_UV_BITS 32
3305 #define NV_ZERO_IS_ALLBITS_ZERO
3308 # if BYTEORDER == 0x1234
3310 # define BYTEORDER 0x12345678
3312 # if BYTEORDER == 0x4321
3314 # define BYTEORDER 0x87654321
3321 * This symbol defines the format string used for printing a Perl IV
3322 * as a signed decimal integer.
3325 * This symbol defines the format string used for printing a Perl UV
3326 * as an unsigned decimal integer.
3329 * This symbol defines the format string used for printing a Perl UV
3330 * as an unsigned octal integer.
3333 * This symbol defines the format string used for printing a Perl UV
3334 * as an unsigned hexadecimal integer in lowercase abcdef.
3337 * This symbol defines the format string used for printing a Perl UV
3338 * as an unsigned hexadecimal integer in uppercase ABCDEF.
3341 * This symbol defines the format string used for printing a Perl NV
3342 * using %e-ish floating point format.
3345 * This symbol defines the format string used for printing a Perl NV
3346 * using %f-ish floating point format.
3349 * This symbol defines the format string used for printing a Perl NV
3350 * using %g-ish floating point format.
3352 #define IVdf "ld" /**/
3353 #define UVuf "lu" /**/
3354 #define UVof "lo" /**/
3355 #define UVxf "lx" /**/
3356 #define UVXf "lX" /**/
3357 #define NVef "e" /**/
3358 #define NVff "f" /**/
3359 #define NVgf "g" /**/
3362 * This symbol holds the type used to declare process ids in the kernel.
3363 * It can be int, uint, pid_t, etc... It may be necessary to include
3364 * <sys/types.h> to get any typedef'ed information.
3366 #define Pid_t pid_t /* PID type */
3369 * This symbol contains the name of the private library for this package.
3370 * The library is private in the sense that it needn't be in anyone's
3371 * execution path, but it should be accessible by the world. The program
3372 * should be prepared to do ~ expansion.
3375 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3376 * in programs that are not prepared to deal with ~ expansion at run-time.
3378 #define PRIVLIB "/opt/perl/lib/5.10.0" /**/
3379 #define PRIVLIB_EXP "/opt/perl/lib/5.10.0" /**/
3382 * This symbol contains the size of a pointer, so that the C preprocessor
3383 * can make decisions based on it. It will be sizeof(void *) if
3384 * the compiler supports (void *); otherwise it will be
3387 #define PTRSIZE 4 /**/
3390 * This macro is to be used to generate uniformly distributed
3391 * random numbers over the range [0., 1.[. You may have to supply
3392 * an 'extern double drand48();' in your program since SunOS 4.1.3
3393 * doesn't provide you with anything relevant in its headers.
3394 * See HAS_DRAND48_PROTO.
3397 * This symbol defines the type of the argument of the
3398 * random seed function.
3401 * This symbol defines the macro to be used in seeding the
3402 * random number generator (see Drand01).
3405 * This symbol indicates how many bits are produced by the
3406 * function used to generate normalized random numbers.
3407 * Values include 15, 16, 31, and 48.
3409 #define Drand01() drand48() /**/
3410 #define Rand_seed_t long /**/
3411 #define seedDrand01(x) srand48((Rand_seed_t)x) /**/
3412 #define RANDBITS 48 /**/
3415 * This symbol holds the minimum number of bits operated by select.
3416 * That is, if you do select(n, ...), how many bits at least will be
3417 * cleared in the masks if some activity is detected. Usually this
3418 * is either n or 32*ceil(n/32), especially many little-endians do
3419 * the latter. This is only useful if you have select(), naturally.
3421 #define SELECT_MIN_BITS 32 /**/
3424 * This symbol holds the type used for the 2nd, 3rd, and 4th
3425 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3426 * is defined, and 'int *' otherwise. This is only useful if you
3427 * have select(), of course.
3429 #define Select_fd_set_t fd_set * /**/
3432 * This symbol contains a list of signal names in order of
3433 * signal number. This is intended
3434 * to be used as a static array initialization, like this:
3435 * char *sig_name[] = { SIG_NAME };
3436 * The signals in the list are separated with commas, and each signal
3437 * is surrounded by double quotes. There is no leading SIG in the signal
3438 * name, i.e. SIGQUIT is known as "QUIT".
3439 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3440 * etc., where nn is the actual signal number (e.g. NUM37).
3441 * The signal number for sig_name[i] is stored in sig_num[i].
3442 * The last element is 0 to terminate the list with a NULL. This
3443 * corresponds to the 0 at the end of the sig_name_init list.
3444 * Note that this variable is initialized from the sig_name_init,
3445 * not from sig_name (which is unused).
3448 * This symbol contains a list of signal numbers, in the same order as the
3449 * SIG_NAME list. It is suitable for static array initialization, as in:
3450 * int sig_num[] = { SIG_NUM };
3451 * The signals in the list are separated with commas, and the indices
3452 * within that list and the SIG_NAME list match, so it's easy to compute
3453 * the signal name from a number or vice versa at the price of a small
3454 * dynamic linear lookup.
3455 * Duplicates are allowed, but are moved to the end of the list.
3456 * The signal number corresponding to sig_name[i] is sig_number[i].
3457 * if (i < NSIG) then sig_number[i] == i.
3458 * The last element is 0, corresponding to the 0 at the end of
3459 * the sig_name_init list.
3460 * Note that this variable is initialized from the sig_num_init,
3461 * not from sig_num (which is unused).
3464 * This variable contains the number of elements of the SIG_NAME
3465 * and SIG_NUM arrays, excluding the final NULL entry.
3467 #define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "RTMIN", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0 /**/
3468 #define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 17, 29, 31, 0 /**/
3469 #define SIG_SIZE 69 /**/
3472 * This symbol contains the name of the private library for this package.
3473 * The library is private in the sense that it needn't be in anyone's
3474 * execution path, but it should be accessible by the world. The program
3475 * should be prepared to do ~ expansion.
3476 * The standard distribution will put nothing in this directory.
3477 * After perl has been installed, users may install their own local
3478 * architecture-dependent modules in this directory with
3479 * MakeMaker Makefile.PL
3480 * or equivalent. See INSTALL for details.
3483 * This symbol contains the ~name expanded version of SITEARCH, to be used
3484 * in programs that are not prepared to deal with ~ expansion at run-time.
3486 #define SITEARCH "/opt/perl/lib/site_perl/5.10.0/i686-linux" /**/
3487 #define SITEARCH_EXP "/opt/perl/lib/site_perl/5.10.0/i686-linux" /**/
3490 * This symbol contains the name of the private library for this package.
3491 * The library is private in the sense that it needn't be in anyone's
3492 * execution path, but it should be accessible by the world. The program
3493 * should be prepared to do ~ expansion.
3494 * The standard distribution will put nothing in this directory.
3495 * After perl has been installed, users may install their own local
3496 * architecture-independent modules in this directory with
3497 * MakeMaker Makefile.PL
3498 * or equivalent. See INSTALL for details.
3501 * This symbol contains the ~name expanded version of SITELIB, to be used
3502 * in programs that are not prepared to deal with ~ expansion at run-time.
3505 * This define is SITELIB_EXP with any trailing version-specific component
3506 * removed. The elements in inc_version_list (inc_version_list.U) can
3507 * be tacked onto this variable to generate a list of directories to search.
3509 #define SITELIB "/opt/perl/lib/site_perl/5.10.0" /**/
3510 #define SITELIB_EXP "/opt/perl/lib/site_perl/5.10.0" /**/
3511 #define SITELIB_STEM "/opt/perl/lib/site_perl" /**/
3514 * This symbol holds the size of a Size_t in bytes.
3516 #define Size_t_size 4 /* */
3519 * This symbol holds the type used to declare length parameters
3520 * for string functions. It is usually size_t, but may be
3521 * unsigned long, int, etc. It may be necessary to include
3522 * <sys/types.h> to get any typedef'ed information.
3524 #define Size_t size_t /* length paramater for string functions */
3527 * This symbol holds the type used for the size argument of
3528 * various socket calls (just the base type, not the pointer-to).
3530 #define Sock_size_t socklen_t /**/
3533 * This symbol holds the type used by functions that return
3534 * a count of bytes or an error condition. It must be a signed type.
3535 * It is usually ssize_t, but may be long or int, etc.
3536 * It may be necessary to include <sys/types.h> or <unistd.h>
3537 * to get any typedef'ed information.
3538 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3540 #define SSize_t ssize_t /* signed count of bytes */
3543 * This variable contains the string to put in front of a perl
3544 * script to make sure (one hopes) that it runs with perl and not
3547 #define STARTPERL "#!/opt/perl/bin/perl5.10.0" /**/
3550 * This symbol is defined to be the type of char used in stdio.h.
3551 * It has the values "unsigned char" or "char".
3553 #define STDCHAR char /**/
3555 /* HAS_STDIO_STREAM_ARRAY:
3556 * This symbol, if defined, tells that there is an array
3557 * holding the stdio streams.
3559 /* STDIO_STREAM_ARRAY:
3560 * This symbol tells the name of the array holding the stdio streams.
3561 * Usual values include _iob, __iob, and __sF.
3563 /*#define HAS_STDIO_STREAM_ARRAY / **/
3564 #define STDIO_STREAM_ARRAY
3567 * This symbol defines the format string used for printing a Uid_t.
3569 #define Uid_t_f "lu" /**/
3572 * This symbol holds the signedess of a Uid_t.
3573 * 1 for unsigned, -1 for signed.
3575 #define Uid_t_sign 1 /* UID sign */
3578 * This symbol holds the size of a Uid_t in bytes.
3580 #define Uid_t_size 4 /* UID size */
3583 * This symbol holds the type used to declare user ids in the kernel.
3584 * It can be int, ushort, uid_t, etc... It may be necessary to include
3585 * <sys/types.h> to get any typedef'ed information.
3587 #define Uid_t uid_t /* UID type */
3590 * This symbol, if defined, indicates that 64-bit integers should
3591 * be used when available. If not defined, the native integers
3592 * will be employed (be they 32 or 64 bits). The minimal possible
3593 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3594 * This may mean using for example "long longs", while your memory
3595 * may still be limited to 2 gigabytes.
3598 * This symbol, if defined, indicates that 64-bit integers should
3599 * be used when available. If not defined, the native integers
3600 * will be used (be they 32 or 64 bits). The maximal possible
3601 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3602 * be able to use more than 2 gigabytes of memory. This mode is
3603 * even more binary incompatible than USE_64_BIT_INT. You may not
3604 * be able to run the resulting executable in a 32-bit CPU at all or
3605 * you may need at least to reboot your OS to 64-bit mode.
3607 #ifndef USE_64_BIT_INT
3608 /*#define USE_64_BIT_INT / **/
3611 #ifndef USE_64_BIT_ALL
3612 /*#define USE_64_BIT_ALL / **/
3616 * This symbol, if defined, indicates that large file support
3617 * should be used when available.
3619 #ifndef USE_LARGE_FILES
3620 #define USE_LARGE_FILES /**/
3624 * This symbol, if defined, indicates that long doubles should
3625 * be used when available.
3627 #ifndef USE_LONG_DOUBLE
3628 /*#define USE_LONG_DOUBLE / **/
3632 * This symbol, if defined, indicates that 64-bit interfaces and
3633 * long doubles should be used when available.
3635 #ifndef USE_MORE_BITS
3636 /*#define USE_MORE_BITS / **/
3640 * This symbol, if defined, indicates that Perl should
3641 * be built to use multiplicity.
3643 #ifndef MULTIPLICITY
3644 /*#define MULTIPLICITY / **/
3648 * This symbol, if defined, indicates that the PerlIO abstraction should
3649 * be used throughout. If not defined, stdio should be
3650 * used in a fully backward compatible manner.
3653 #define USE_PERLIO /**/
3657 * This symbol, if defined, indicates that Perl should
3658 * be built to use socks.
3661 /*#define USE_SOCKS / **/
3665 * This symbol, if defined, indicates that Perl should be built to
3666 * use the interpreter-based threading implementation.
3669 * This symbol, if defined, indicates that Perl should be built to
3670 * use the 5.005-based threading implementation.
3672 /* OLD_PTHREADS_API:
3673 * This symbol, if defined, indicates that Perl should
3674 * be built to use the old draft POSIX threads API.
3676 /* USE_REENTRANT_API:
3677 * This symbol, if defined, indicates that Perl should
3678 * try to use the various _r versions of library functions.
3679 * This is extremely experimental.
3681 /*#define USE_5005THREADS / **/
3682 /*#define USE_ITHREADS / **/
3683 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3684 #define USE_THREADS /* until src is revised*/
3686 /*#define OLD_PTHREADS_API / **/
3687 /*#define USE_REENTRANT_API / **/
3690 * If defined, this symbol contains the name of a private library.
3691 * The library is private in the sense that it needn't be in anyone's
3692 * execution path, but it should be accessible by the world.
3693 * It may have a ~ on the front.
3694 * The standard distribution will put nothing in this directory.
3695 * Vendors who distribute perl may wish to place their own
3696 * architecture-dependent modules and extensions in this directory with
3697 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3698 * or equivalent. See INSTALL for details.
3700 /* PERL_VENDORARCH_EXP:
3701 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3702 * in programs that are not prepared to deal with ~ expansion at run-time.
3704 /*#define PERL_VENDORARCH "" / **/
3705 /*#define PERL_VENDORARCH_EXP "" / **/
3707 /* PERL_VENDORLIB_EXP:
3708 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3709 * in programs that are not prepared to deal with ~ expansion at run-time.
3711 /* PERL_VENDORLIB_STEM:
3712 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3713 * removed. The elements in inc_version_list (inc_version_list.U) can
3714 * be tacked onto this variable to generate a list of directories to search.
3716 /*#define PERL_VENDORLIB_EXP "" / **/
3717 /*#define PERL_VENDORLIB_STEM "" / **/
3720 * This symbol indicates how much support of the void type is given by this
3721 * compiler. What various bits mean:
3723 * 1 = supports declaration of void
3724 * 2 = supports arrays of pointers to functions returning void
3725 * 4 = supports comparisons between pointers to void functions and
3726 * addresses of void functions
3727 * 8 = suports declaration of generic void pointers
3729 * The package designer should define VOIDUSED to indicate the requirements
3730 * of the package. This can be done either by #defining VOIDUSED before
3731 * including config.h, or by defining defvoidused in Myinit.U. If the
3732 * latter approach is taken, only those flags will be tested. If the
3733 * level of void support necessary is not present, defines void to int.
3738 #define VOIDFLAGS 15
3739 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3740 #define void int /* is void to be avoided? */
3741 #define M_VOID /* Xenix strikes again */
3744 /* HASATTRIBUTE_FORMAT:
3745 * Can we handle GCC attribute for checking printf-style formats
3747 /* HASATTRIBUTE_MALLOC:
3748 * Can we handle GCC attribute for malloc-style functions.
3750 /* HASATTRIBUTE_NONNULL:
3751 * Can we handle GCC attribute for nonnull function parms.
3753 /* HASATTRIBUTE_NORETURN:
3754 * Can we handle GCC attribute for functions that do not return
3756 /* HASATTRIBUTE_PURE:
3757 * Can we handle GCC attribute for pure functions
3759 /* HASATTRIBUTE_UNUSED:
3760 * Can we handle GCC attribute for unused variables and arguments
3762 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
3763 * Can we handle GCC attribute for warning on unused results
3765 #define HASATTRIBUTE_FORMAT /**/
3766 #define HASATTRIBUTE_NORETURN /**/
3767 #define HASATTRIBUTE_MALLOC /**/
3768 #define HASATTRIBUTE_NONNULL /**/
3769 #define HASATTRIBUTE_PURE /**/
3770 #define HASATTRIBUTE_UNUSED /**/
3771 #define HASATTRIBUTE_WARN_UNUSED_RESULT /**/
3774 * This symbol, if defined, indicates that the crypt routine is available
3775 * to encrypt passwords and the like.
3777 #define HAS_CRYPT /**/
3779 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
3780 * This symbol, if defined, indicates that the bug that prevents
3781 * setuid scripts from being secure is not present in this kernel.
3784 * This symbol, if defined, indicates that the C program should
3785 * check the script that it is executing for setuid/setgid bits, and
3786 * attempt to emulate setuid/setgid on systems that have disabled
3787 * setuid #! scripts because the kernel can't do it securely.
3788 * It is up to the package designer to make sure that this emulation
3789 * is done securely. Among other things, it should do an fstat on
3790 * the script it just opened to make sure it really is a setuid/setgid
3791 * script, it should make sure the arguments passed correspond exactly
3792 * to the argument on the #! line, and it should not trust any
3793 * subprocesses to which it must pass the filename rather than the
3794 * file descriptor of the script to be executed.
3796 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
3797 /*#define DOSUID / **/
3800 * This symbol holds the return type of the shmat() system call.
3801 * Usually set to 'void *' or 'char *'.
3803 /* HAS_SHMAT_PROTOTYPE:
3804 * This symbol, if defined, indicates that the sys/shm.h includes
3805 * a prototype for shmat(). Otherwise, it is up to the program to
3806 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
3807 * but not always right so it should be emitted by the program only
3808 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
3810 #define Shmat_t void * /**/
3811 #define HAS_SHMAT_PROTOTYPE /**/
3814 * This symbol, if defined, indicates that <ndbm.h> exists and should
3817 /*#define I_NDBM / **/
3820 * This symbol, if defined, indicates that <stdarg.h> exists and should
3824 * This symbol, if defined, indicates to the C program that it should
3825 * include <varargs.h>.
3827 #define I_STDARG /**/
3828 /*#define I_VARARGS / **/
3831 * If defined, this macro indicates that the C compiler can handle
3832 * function prototypes.
3835 * This macro is used to declare function parameters for folks who want
3836 * to make declarations with prototypes using a different style than
3837 * the above macros. Use double parentheses. For example:
3839 * int main _((int argc, char *argv[]));
3841 #define CAN_PROTOTYPE /**/
3842 #ifdef CAN_PROTOTYPE
3843 #define _(args) args
3849 * This symbol contains the full pathname to the shell used on this
3850 * on this system to execute Bourne shell scripts. Usually, this will be
3851 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3852 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3855 #define SH_PATH "/bin/sh" /**/
3858 * This symbol, if defined, indicates that the aintl routine is
3859 * available. If copysignl is also present we can emulate modfl.
3861 /*#define HAS_AINTL / **/
3863 /* HAS_BUILTIN_CHOOSE_EXPR:
3864 * Can we handle GCC builtin for compile-time ternary-like expressions
3866 /* HAS_BUILTIN_EXPECT:
3867 * Can we handle GCC builtin for telling that certain values are more
3870 /*#define HAS_BUILTIN_EXPECT / **/
3871 #define HAS_BUILTIN_CHOOSE_EXPR /**/
3874 * This symbol, if defined, indicates that the clearenv () routine is
3875 * available for use.
3877 #define HAS_CLEARENV /**/
3880 * This symbol, if defined, indicates that the copysignl routine is
3881 * available. If aintl is also present we can emulate modfl.
3883 #define HAS_COPYSIGNL /**/
3886 * This symbol, if defined, indicates that a C++ compiler was
3887 * used to compiled Perl and will be used to compile extensions.
3889 /*#define USE_CPLUSPLUS /**/
3891 /* HAS_DBMINIT_PROTO:
3892 * This symbol, if defined, indicates that the system provides
3893 * a prototype for the dbminit() function. Otherwise, it is up
3894 * to the program to supply one. A good guess is
3895 * extern int dbminit(char *);
3897 /*#define HAS_DBMINIT_PROTO / **/
3900 * This manifest constant lets the C program know that dirfd
3903 #define HAS_DIRFD /**/
3906 * This symbol, if defined, indicates that the "fast stdio"
3907 * is available to manipulate the stdio buffers directly.
3909 /*#define HAS_FAST_STDIO / **/
3912 * This symbol, if defined, indicates that the system provides
3913 * a prototype for the flock() function. Otherwise, it is up
3914 * to the program to supply one. A good guess is
3915 * extern int flock(int, int);
3917 #define HAS_FLOCK_PROTO /**/
3920 * This symbol, if defined, indicates that the fpclassl routine is
3921 * available to classify long doubles. Available for example in IRIX.
3922 * The returned values are defined in <ieeefp.h> and are:
3924 * FP_SNAN signaling NaN
3926 * FP_NINF negative infinity
3927 * FP_PINF positive infinity
3928 * FP_NDENORM negative denormalized non-zero
3929 * FP_PDENORM positive denormalized non-zero
3930 * FP_NZERO negative zero
3931 * FP_PZERO positive zero
3932 * FP_NNORM negative normalized non-zero
3933 * FP_PNORM positive normalized non-zero
3935 /*#define HAS_FPCLASSL / **/
3938 * This symbol, if defined, indicates that the ilogbl routine is
3939 * available. If scalbnl is also present we can emulate frexpl.
3941 #define HAS_ILOGBL /**/
3943 /* LIBM_LIB_VERSION:
3944 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3945 * and that math.h defines the enum to manipulate it.
3947 #define LIBM_LIB_VERSION /**/
3950 * This symbol, if defined, indicates that the nl_langinfo routine is
3951 * available to return local data. You will also need <langinfo.h>
3952 * and therefore I_LANGINFO.
3954 #define HAS_NL_LANGINFO /**/
3957 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3958 * to the absolute pathname of the executing program.
3960 /* PROCSELFEXE_PATH:
3961 * If HAS_PROCSELFEXE is defined this symbol is the filename
3962 * of the symbolic link pointing to the absolute pathname of
3963 * the executing program.
3965 #define HAS_PROCSELFEXE /**/
3966 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3967 #define PROCSELFEXE_PATH "/proc/self/exe" /**/
3970 /* HAS_PTHREAD_ATTR_SETSCOPE:
3971 * This symbol, if defined, indicates that the pthread_attr_setscope
3972 * system call is available to set the contention scope attribute of
3973 * a thread attribute object.
3975 #define HAS_PTHREAD_ATTR_SETSCOPE /**/
3978 * This symbol, if defined, indicates that the scalbnl routine is
3979 * available. If ilogbl is also present we can emulate frexpl.
3981 #define HAS_SCALBNL /**/
3984 * This symbol, if defined, indicates that the sigprocmask
3985 * system call is available to examine or change the signal mask
3986 * of the calling process.
3988 #define HAS_SIGPROCMASK /**/
3991 * This symbol, if defined, indicates that the sockatmark routine is
3992 * available to test whether a socket is at the out-of-band mark.
3994 #define HAS_SOCKATMARK /**/
3996 /* HAS_SOCKATMARK_PROTO:
3997 * This symbol, if defined, indicates that the system provides
3998 * a prototype for the sockatmark() function. Otherwise, it is up
3999 * to the program to supply one. A good guess is
4000 * extern int sockatmark(int);
4002 /*#define HAS_SOCKATMARK_PROTO / **/
4004 /* SPRINTF_RETURNS_STRLEN:
4005 * This variable defines whether sprintf returns the length of the string
4006 * (as per the ANSI spec). Some C libraries retain compatibility with
4007 * pre-ANSI C and return a pointer to the passed in buffer; for these
4008 * this variable will be undef.
4010 #define SPRINTF_RETURNS_STRLEN /**/
4012 /* HAS_SETRESGID_PROTO:
4013 * This symbol, if defined, indicates that the system provides
4014 * a prototype for the setresgid() function. Otherwise, it is up
4015 * to the program to supply one. Good guesses are
4016 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
4018 /*#define HAS_SETRESGID_PROTO / **/
4020 /* HAS_SETRESUID_PROTO:
4021 * This symbol, if defined, indicates that the system provides
4022 * a prototype for the setresuid() function. Otherwise, it is up
4023 * to the program to supply one. Good guesses are
4024 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
4026 /*#define HAS_SETRESUID_PROTO / **/
4029 * This symbol, if defined, indicates that the strftime routine is
4030 * available to do time formatting.
4032 #define HAS_STRFTIME /**/
4035 * This symbol, if defined, indicates that the strlcat () routine is
4036 * available to do string concatenation.
4038 /*#define HAS_STRLCAT / **/
4041 * This symbol, if defined, indicates that the strlcpy () routine is
4042 * available to do string copying.
4044 /*#define HAS_STRLCPY / **/
4046 /* HAS_SYSCALL_PROTO:
4047 * This symbol, if defined, indicates that the system provides
4048 * a prototype for the syscall() function. Otherwise, it is up
4049 * to the program to supply one. Good guesses are
4050 * extern int syscall(int, ...);
4051 * extern int syscall(long, ...);
4053 #define HAS_SYSCALL_PROTO /**/
4055 /* U32_ALIGNMENT_REQUIRED:
4056 * This symbol, if defined, indicates that you must access
4057 * character data through U32-aligned pointers.
4059 #ifndef U32_ALIGNMENT_REQUIRED
4060 /*#define U32_ALIGNMENT_REQUIRED / **/
4063 /* HAS_USLEEP_PROTO:
4064 * This symbol, if defined, indicates that the system provides
4065 * a prototype for the usleep() function. Otherwise, it is up
4066 * to the program to supply one. A good guess is
4067 * extern int usleep(useconds_t);
4069 #define HAS_USLEEP_PROTO /**/
4072 * This symbol, if defined, indicates that <crypt.h> exists and
4073 * should be included.
4075 #define I_CRYPT /**/
4078 * This symbol, if defined, indicates that <fp.h> exists and
4079 * should be included.
4081 /*#define I_FP / **/
4084 * This symbol, if defined, indicates that <langinfo.h> exists and
4085 * should be included.
4087 #define I_LANGINFO /**/
4090 * This symbol, if defined, indicates that the Misc Attribution
4091 * Declaration code should be conditionally compiled.
4093 /*#define PERL_MAD / **/
4096 * This symbol, if defined, indicates that Perl should
4097 * be built to use 'fast stdio'.
4098 * Defaults to define in Perls 5.8 and earlier, to undef later.
4100 #ifndef USE_FAST_STDIO
4101 /*#define USE_FAST_STDIO / **/
4105 * This symbol, if defined, indicates that the ctermid_r routine
4106 * is available to ctermid re-entrantly.
4109 * This symbol encodes the prototype of ctermid_r.
4110 * It is zero if d_ctermid_r is undef, and one of the
4111 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
4114 /*#define HAS_CTERMID_R / **/
4115 #define CTERMID_R_PROTO 0 /**/
4117 /* HAS_ENDHOSTENT_R:
4118 * This symbol, if defined, indicates that the endhostent_r routine
4119 * is available to endhostent re-entrantly.
4121 /* ENDHOSTENT_R_PROTO:
4122 * This symbol encodes the prototype of endhostent_r.
4123 * It is zero if d_endhostent_r is undef, and one of the
4124 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
4127 /*#define HAS_ENDHOSTENT_R / **/
4128 #define ENDHOSTENT_R_PROTO 0 /**/
4131 * This symbol, if defined, indicates that the endnetent_r routine
4132 * is available to endnetent re-entrantly.
4134 /* ENDNETENT_R_PROTO:
4135 * This symbol encodes the prototype of endnetent_r.
4136 * It is zero if d_endnetent_r is undef, and one of the
4137 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
4140 /*#define HAS_ENDNETENT_R / **/
4141 #define ENDNETENT_R_PROTO 0 /**/
4143 /* HAS_ENDPROTOENT_R:
4144 * This symbol, if defined, indicates that the endprotoent_r routine
4145 * is available to endprotoent re-entrantly.
4147 /* ENDPROTOENT_R_PROTO:
4148 * This symbol encodes the prototype of endprotoent_r.
4149 * It is zero if d_endprotoent_r is undef, and one of the
4150 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
4153 /*#define HAS_ENDPROTOENT_R / **/
4154 #define ENDPROTOENT_R_PROTO 0 /**/
4156 /* HAS_ENDSERVENT_R:
4157 * This symbol, if defined, indicates that the endservent_r routine
4158 * is available to endservent re-entrantly.
4160 /* ENDSERVENT_R_PROTO:
4161 * This symbol encodes the prototype of endservent_r.
4162 * It is zero if d_endservent_r is undef, and one of the
4163 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
4166 /*#define HAS_ENDSERVENT_R / **/
4167 #define ENDSERVENT_R_PROTO 0 /**/
4169 /* HAS_GETHOSTBYADDR_R:
4170 * This symbol, if defined, indicates that the gethostbyaddr_r routine
4171 * is available to gethostbyaddr re-entrantly.
4173 /* GETHOSTBYADDR_R_PROTO:
4174 * This symbol encodes the prototype of gethostbyaddr_r.
4175 * It is zero if d_gethostbyaddr_r is undef, and one of the
4176 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
4179 /*#define HAS_GETHOSTBYADDR_R / **/
4180 #define GETHOSTBYADDR_R_PROTO 0 /**/
4182 /* HAS_GETHOSTBYNAME_R:
4183 * This symbol, if defined, indicates that the gethostbyname_r routine
4184 * is available to gethostbyname re-entrantly.
4186 /* GETHOSTBYNAME_R_PROTO:
4187 * This symbol encodes the prototype of gethostbyname_r.
4188 * It is zero if d_gethostbyname_r is undef, and one of the
4189 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
4192 /*#define HAS_GETHOSTBYNAME_R / **/
4193 #define GETHOSTBYNAME_R_PROTO 0 /**/
4195 /* HAS_GETHOSTENT_R:
4196 * This symbol, if defined, indicates that the gethostent_r routine
4197 * is available to gethostent re-entrantly.
4199 /* GETHOSTENT_R_PROTO:
4200 * This symbol encodes the prototype of gethostent_r.
4201 * It is zero if d_gethostent_r is undef, and one of the
4202 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
4205 /*#define HAS_GETHOSTENT_R / **/
4206 #define GETHOSTENT_R_PROTO 0 /**/
4208 /* HAS_GETNETBYADDR_R:
4209 * This symbol, if defined, indicates that the getnetbyaddr_r routine
4210 * is available to getnetbyaddr re-entrantly.
4212 /* GETNETBYADDR_R_PROTO:
4213 * This symbol encodes the prototype of getnetbyaddr_r.
4214 * It is zero if d_getnetbyaddr_r is undef, and one of the
4215 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
4218 /*#define HAS_GETNETBYADDR_R / **/
4219 #define GETNETBYADDR_R_PROTO 0 /**/
4221 /* HAS_GETNETBYNAME_R:
4222 * This symbol, if defined, indicates that the getnetbyname_r routine
4223 * is available to getnetbyname re-entrantly.
4225 /* GETNETBYNAME_R_PROTO:
4226 * This symbol encodes the prototype of getnetbyname_r.
4227 * It is zero if d_getnetbyname_r is undef, and one of the
4228 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
4231 /*#define HAS_GETNETBYNAME_R / **/
4232 #define GETNETBYNAME_R_PROTO 0 /**/
4235 * This symbol, if defined, indicates that the getnetent_r routine
4236 * is available to getnetent re-entrantly.
4238 /* GETNETENT_R_PROTO:
4239 * This symbol encodes the prototype of getnetent_r.
4240 * It is zero if d_getnetent_r is undef, and one of the
4241 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
4244 /*#define HAS_GETNETENT_R / **/
4245 #define GETNETENT_R_PROTO 0 /**/
4247 /* HAS_GETPROTOBYNAME_R:
4248 * This symbol, if defined, indicates that the getprotobyname_r routine
4249 * is available to getprotobyname re-entrantly.
4251 /* GETPROTOBYNAME_R_PROTO:
4252 * This symbol encodes the prototype of getprotobyname_r.
4253 * It is zero if d_getprotobyname_r is undef, and one of the
4254 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
4257 /*#define HAS_GETPROTOBYNAME_R / **/
4258 #define GETPROTOBYNAME_R_PROTO 0 /**/
4260 /* HAS_GETPROTOBYNUMBER_R:
4261 * This symbol, if defined, indicates that the getprotobynumber_r routine
4262 * is available to getprotobynumber re-entrantly.
4264 /* GETPROTOBYNUMBER_R_PROTO:
4265 * This symbol encodes the prototype of getprotobynumber_r.
4266 * It is zero if d_getprotobynumber_r is undef, and one of the
4267 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
4270 /*#define HAS_GETPROTOBYNUMBER_R / **/
4271 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
4273 /* HAS_GETPROTOENT_R:
4274 * This symbol, if defined, indicates that the getprotoent_r routine
4275 * is available to getprotoent re-entrantly.
4277 /* GETPROTOENT_R_PROTO:
4278 * This symbol encodes the prototype of getprotoent_r.
4279 * It is zero if d_getprotoent_r is undef, and one of the
4280 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
4283 /*#define HAS_GETPROTOENT_R / **/
4284 #define GETPROTOENT_R_PROTO 0 /**/
4286 /* HAS_GETSERVBYNAME_R:
4287 * This symbol, if defined, indicates that the getservbyname_r routine
4288 * is available to getservbyname re-entrantly.
4290 /* GETSERVBYNAME_R_PROTO:
4291 * This symbol encodes the prototype of getservbyname_r.
4292 * It is zero if d_getservbyname_r is undef, and one of the
4293 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
4296 /*#define HAS_GETSERVBYNAME_R / **/
4297 #define GETSERVBYNAME_R_PROTO 0 /**/
4299 /* HAS_GETSERVBYPORT_R:
4300 * This symbol, if defined, indicates that the getservbyport_r routine
4301 * is available to getservbyport re-entrantly.
4303 /* GETSERVBYPORT_R_PROTO:
4304 * This symbol encodes the prototype of getservbyport_r.
4305 * It is zero if d_getservbyport_r is undef, and one of the
4306 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
4309 /*#define HAS_GETSERVBYPORT_R / **/
4310 #define GETSERVBYPORT_R_PROTO 0 /**/
4312 /* HAS_GETSERVENT_R:
4313 * This symbol, if defined, indicates that the getservent_r routine
4314 * is available to getservent re-entrantly.
4316 /* GETSERVENT_R_PROTO:
4317 * This symbol encodes the prototype of getservent_r.
4318 * It is zero if d_getservent_r is undef, and one of the
4319 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
4322 /*#define HAS_GETSERVENT_R / **/
4323 #define GETSERVENT_R_PROTO 0 /**/
4325 /* HAS_PTHREAD_ATFORK:
4326 * This symbol, if defined, indicates that the pthread_atfork routine
4327 * is available to setup fork handlers.
4329 /*#define HAS_PTHREAD_ATFORK / **/
4332 * This symbol, if defined, indicates that the readdir64_r routine
4333 * is available to readdir64 re-entrantly.
4335 /* READDIR64_R_PROTO:
4336 * This symbol encodes the prototype of readdir64_r.
4337 * It is zero if d_readdir64_r is undef, and one of the
4338 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
4341 /*#define HAS_READDIR64_R / **/
4342 #define READDIR64_R_PROTO 0 /**/
4344 /* HAS_SETHOSTENT_R:
4345 * This symbol, if defined, indicates that the sethostent_r routine
4346 * is available to sethostent re-entrantly.
4348 /* SETHOSTENT_R_PROTO:
4349 * This symbol encodes the prototype of sethostent_r.
4350 * It is zero if d_sethostent_r is undef, and one of the
4351 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
4354 /*#define HAS_SETHOSTENT_R / **/
4355 #define SETHOSTENT_R_PROTO 0 /**/
4358 * This symbol, if defined, indicates that the setlocale_r routine
4359 * is available to setlocale re-entrantly.
4361 /* SETLOCALE_R_PROTO:
4362 * This symbol encodes the prototype of setlocale_r.
4363 * It is zero if d_setlocale_r is undef, and one of the
4364 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
4367 /*#define HAS_SETLOCALE_R / **/
4368 #define SETLOCALE_R_PROTO 0 /**/
4371 * This symbol, if defined, indicates that the setnetent_r routine
4372 * is available to setnetent re-entrantly.
4374 /* SETNETENT_R_PROTO:
4375 * This symbol encodes the prototype of setnetent_r.
4376 * It is zero if d_setnetent_r is undef, and one of the
4377 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
4380 /*#define HAS_SETNETENT_R / **/
4381 #define SETNETENT_R_PROTO 0 /**/
4383 /* HAS_SETPROTOENT_R:
4384 * This symbol, if defined, indicates that the setprotoent_r routine
4385 * is available to setprotoent re-entrantly.
4387 /* SETPROTOENT_R_PROTO:
4388 * This symbol encodes the prototype of setprotoent_r.
4389 * It is zero if d_setprotoent_r is undef, and one of the
4390 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
4393 /*#define HAS_SETPROTOENT_R / **/
4394 #define SETPROTOENT_R_PROTO 0 /**/
4396 /* HAS_SETSERVENT_R:
4397 * This symbol, if defined, indicates that the setservent_r routine
4398 * is available to setservent re-entrantly.
4400 /* SETSERVENT_R_PROTO:
4401 * This symbol encodes the prototype of setservent_r.
4402 * It is zero if d_setservent_r is undef, and one of the
4403 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
4406 /*#define HAS_SETSERVENT_R / **/
4407 #define SETSERVENT_R_PROTO 0 /**/
4410 * This symbol, if defined, indicates that the ttyname_r routine
4411 * is available to ttyname re-entrantly.
4414 * This symbol encodes the prototype of ttyname_r.
4415 * It is zero if d_ttyname_r is undef, and one of the
4416 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
4419 /*#define HAS_TTYNAME_R / **/
4420 #define TTYNAME_R_PROTO 0 /**/