2 * This file is mangled by fndvers (and perhaps other scripts) to produce
3 * the config.h for Plan 9. It was handwritten because the standard
4 * configuration scripts were written in a shell dialect incomprehensible
10 /* Configuration time: 21-Oct-1996 15:11
11 * Configured by: Luther Huffman, lutherh@stratcom.com
12 * Target system: Plan 9
16 * Mangled by Jarkko Hietaniemi 2003-02-02 based on Russ Cox'
17 * blood, sweat, and tears.
25 * This macro catenates 2 tokens together.
28 #define CAT2(a,b)a ## b
29 #define CAT3(a,b,c)a ## b ## c
30 #define CAT4(a,b,c,d)a ## b ## c ## d
31 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
33 #define STRINGIFY(a)StGiFy(a)
34 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
35 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
36 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
37 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
42 * This symbol contains the number of bytes required to align a
43 * double. Usual values are 2, 4 and 8.
45 #if (_P9P_OBJTYPE == 386) || (_P9P_OBJTYPE==power)
46 # define MEM_ALIGNBYTES 4 /* config-skip */
48 # if _P9P_OBJTYPE == 68020
49 # define MEM_ALIGNBYTES 2 /* config-skip */
51 # define MEM_ALIGNBYTES 8 /* config-skip */
56 * This symbol holds the path of the bin directory where the package will
57 * be installed. Program must be prepared to deal with ~name substitution.
60 * This symbol is the filename expanded version of the BIN symbol, for
61 * programs that do not want to deal with that at run-time.
63 #define BIN "/_P9P_OBJTYPE/bin" /* */
64 #define BIN_EXP "/_P9P_OBJTYPE/bin" /* */
67 * This symbol holds the complete pathname to the sed program.
69 #define LOC_SED "/bin/sed" /**/
72 * This symbol, if defined, indicates that the alarm routine is
75 #define HAS_ALARM /**/
78 * This symbol indicates the C compiler can check for function attributes,
79 * such as printf formats. This is normally only supported by GNU cc.
81 /*#define HASATTRIBUTE /* config-skip */
86 #define __attribute__(_arg_)
90 * This symbol is defined if the bcmp() routine is available to
91 * compare blocks of memory.
96 * This symbol is defined if the bcopy() routine is available to
97 * copy blocks of memory.
99 #define HAS_BCOPY /**/
102 * This symbol is defined if the bzero() routine is available to
103 * set a memory block to 0.
105 #define HAS_BZERO /**/
108 * This symbol, if defined, indicates that the chown routine is
111 #define HAS_CHOWN /**/
114 * This symbol, if defined, indicates that the chroot routine is
117 /*#define HAS_CHROOT / **/
120 * This symbol, if defined, indicates that the chsize routine is available
121 * to truncate files. You might need a -lx to get this routine.
123 /*#define HAS_CHSIZE / **/
126 * This symbol, if defined, indicates that this C compiler knows about
127 * the const type. There is no need to actually test for that symbol
128 * within your programs. The mere use of the "const" keyword will
129 * trigger the necessary tests.
131 #define HASCONST /**/
137 * This symbol, if defined, indicates that the cuserid routine is
138 * available to get character login names.
140 #define HAS_CUSERID /**/
143 * This symbol, if defined, indicates that this system's <float.h>
144 * or <limits.h> defines the symbol DBL_DIG, which is the number
145 * of significant digits in a double precision number. If this
146 * symbol is not defined, a guess of 15 is usually pretty good.
148 #define HAS_DBL_DIG /* */
151 * This symbol, if defined, indicates that the difftime routine is
154 #define HAS_DIFFTIME /**/
157 * This symbol, if defined, indicates that the dlerror routine is
158 * available to return a string describing the last error that
159 * occurred from a call to dlopen(), dlclose() or dlsym().
161 /*#define HAS_DLERROR / **/
164 * This symbol, if defined, indicates that the dup2 routine is
165 * available to duplicate file descriptors.
167 #define HAS_DUP2 /**/
170 * This symbol, if defined, indicates that the fchmod routine is available
171 * to change mode of opened files. If unavailable, use chmod().
173 #define HAS_FCHMOD /**/
176 * This symbol, if defined, indicates that the fchown routine is available
177 * to change ownership of opened files. If unavailable, use chown().
179 /*#define HAS_FCHOWN / **/
182 * This symbol, if defined, indicates to the C program that
183 * the fcntl() function exists.
185 #define HAS_FCNTL /**/
188 * This symbol, if defined, indicates that the fgetpos routine is
189 * available to get the file position indicator, similar to ftell().
191 #define HAS_FGETPOS /**/
194 * This symbol, if defined, indicates that the flock routine is
195 * available to do file locking.
197 /*#define HAS_FLOCK / **/
200 * This symbol, if defined, indicates that the fork routine is
203 #define HAS_FORK /**/
206 * This symbol, if defined, indicates that the fsetpos routine is
207 * available to set the file position indicator, similar to fseek().
209 #define HAS_FSETPOS /**/
212 * This symbol, if defined, indicates that the gettimeofday() system
213 * call is available for a sub-second accuracy clock. Usually, the file
214 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
215 * The type "Timeval" should be used to refer to "struct timeval".
217 #define HAS_GETTIMEOFDAY /**/
218 #ifdef HAS_GETTIMEOFDAY
219 #define Timeval struct timeval /* Structure used by gettimeofday() */ /* config-skip */
223 * This symbol, if defined, indicates that the getgroups() routine is
224 * available to get the list of process groups. If unavailable, multiple
225 * groups are probably not supported.
227 #define HAS_GETGROUPS /* config-skip */
230 * This symbol, if defined, indicates that the getlogin routine is
231 * available to get the login name.
233 #define HAS_GETLOGIN /**/
236 * This symbol, if defined, indicates to the C program that
237 * the getpgid(pid) function is available to get the
240 /*#define HAS_GETPGID / **/
243 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
244 * routine is available to get the current process group.
246 /*#define HAS_GETPGRP2 / **/
249 * This symbol, if defined, indicates that the getppid routine is
250 * available to get the parent process ID.
252 #define HAS_GETPPID /**/
255 * This symbol, if defined, indicates that the getpriority routine is
256 * available to get a process's priority.
258 /*#define HAS_GETPRIORITY / **/
261 * This symbol, if defined, indicates to the C program that the
262 * inet_aton() function is available to parse IP address "dotted-quad"
265 /*#define HAS_INET_ATON / **/
268 * This symbol, if defined, indicates that the killpg routine is available
269 * to kill process groups. If unavailable, you probably should use kill
270 * with a negative process number.
272 /*#define HAS_KILLPG / **/
275 * This symbol, if defined, indicates that the link routine is
276 * available to create hard links.
278 /* #define HAS_LINK /**/
281 * This symbol, if defined, indicates that the localeconv routine is
282 * available for numeric and monetary formatting conventions.
284 #define HAS_LOCALECONV /**/
287 * This symbol, if defined, indicates that the lockf routine is
288 * available to do file locking.
290 /*#define HAS_LOCKF / **/
293 * This symbol, if defined, indicates that the lstat routine is
294 * available to do file stats on symbolic links.
296 /*#define HAS_LSTAT /**/
299 * This symbol, if defined, indicates that the mblen routine is available
300 * to find the number of bytes in a multibye character.
302 #define HAS_MBLEN /**/
305 * This symbol, if defined, indicates that the mbstowcs routine is
306 * available to covert a multibyte string into a wide character string.
308 #define HAS_MBSTOWCS /**/
311 * This symbol, if defined, indicates that the mbtowc routine is available
312 * to covert a multibyte to a wide character.
314 #define HAS_MBTOWC /**/
317 * This symbol, if defined, indicates that the memcmp routine is available
318 * to compare blocks of memory.
320 #define HAS_MEMCMP /**/
323 * This symbol, if defined, indicates that the memcpy routine is available
324 * to copy blocks of memory.
326 #define HAS_MEMCPY /**/
329 * This symbol, if defined, indicates that the memmove routine is available
330 * to copy potentially overlapping blocks of memory. This should be used
331 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
334 #define HAS_MEMMOVE /**/
337 * This symbol, if defined, indicates that the memset routine is available
338 * to set blocks of memory.
340 #define HAS_MEMSET /**/
343 * This symbol, if defined, indicates that the mkdir routine is available
344 * to create directories. Otherwise you should fork off a new process to
347 #define HAS_MKDIR /**/
350 * This symbol, if defined, indicates that the mkfifo routine is
351 * available to create FIFOs. Otherwise, mknod should be able to
352 * do it for you. However, if mkfifo is there, mknod might require
353 * super-user privileges which mkfifo will not.
355 #define HAS_MKFIFO /**/
358 * This symbol, if defined, indicates that the mktime routine is
361 #define HAS_MKTIME /**/
364 * This symbol, if defined, indicates that the msync system call is
365 * available to synchronize a mapped file.
367 /*#define HAS_MSYNC / **/
370 * This symbol, if defined, indicates that the munmap system call is
371 * available to unmap a region, usually mapped by mmap().
373 /*#define HAS_MUNMAP / **/
376 * This symbol, if defined, indicates that the nice routine is
379 /*#define HAS_NICE / **/
382 * This symbol, if defined, indicates that pathconf() is available
383 * to determine file-system related limits and options associated
384 * with a given filename.
387 * This symbol, if defined, indicates that pathconf() is available
388 * to determine file-system related limits and options associated
389 * with a given open file descriptor.
391 #define HAS_PATHCONF /**/
392 #define HAS_FPATHCONF /**/
395 * This symbol, if defined, indicates that the pause routine is
396 * available to suspend a process until a signal is received.
398 #define HAS_PAUSE /**/
401 * This symbol, if defined, indicates that the pipe routine is
402 * available to create an inter-process channel.
404 #define HAS_PIPE /**/
407 * This symbol, if defined, indicates that the poll routine is
408 * available to poll active file descriptors. You may safely
409 * include <poll.h> when this symbol is defined.
411 /*#define HAS_POLL / **/
414 * This symbol, if defined, indicates that the readdir routine is
415 * available to read directory entries. You may have to include
416 * <dirent.h>. See I_DIRENT.
418 #define HAS_READDIR /**/
421 * This symbol, if defined, indicates that the seekdir routine is
422 * available. You may have to include <dirent.h>. See I_DIRENT.
424 /*#define HAS_SEEKDIR / **/
427 * This symbol, if defined, indicates that the telldir routine is
428 * available. You may have to include <dirent.h>. See I_DIRENT.
430 /*#define HAS_TELLDIR / **/
433 * This symbol, if defined, indicates that the rewinddir routine is
434 * available. You may have to include <dirent.h>. See I_DIRENT.
436 #define HAS_REWINDDIR /**/
439 * This symbol, if defined, indicates that the readlink routine is
440 * available to read the value of a symbolic link.
442 /*#define HAS_READLINK /**/
445 * This symbol, if defined, indicates that the rename routine is available
446 * to rename files. Otherwise you should do the unlink(), link(), unlink()
449 #define HAS_RENAME /**/
452 * This symbol, if defined, indicates that the rmdir routine is
453 * available to remove directories. Otherwise you should fork off a
454 * new process to exec /bin/rmdir.
456 #define HAS_RMDIR /**/
459 * This symbol, if defined, indicates that the select routine is
460 * available to select active file descriptors. If the timeout field
461 * is used, <sys/time.h> may need to be included.
463 #define HAS_SELECT /* config-skip */
466 * This symbol, if defined, indicates that the setegid routine is available
467 * to change the effective gid of the current program.
469 /*#define HAS_SETEGID / **/
472 * This symbol, if defined, indicates that the seteuid routine is available
473 * to change the effective uid of the current program.
475 /*#define HAS_SETEUID / **/
478 * This symbol, if defined, indicates that the setlinebuf routine is
479 * available to change stderr or stdout from block-buffered or unbuffered
480 * to a line-buffered mode.
482 #define HAS_SETLINEBUF /**/
485 * This symbol, if defined, indicates that the setlocale routine is
486 * available to handle locale-specific ctype implementations.
488 #define HAS_SETLOCALE /**/
491 * This symbol, if defined, indicates that the setpgid(pid, gpid)
492 * routine is available to set process group ID.
494 #define HAS_SETPGID /**/
497 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
498 * routine is available to set the current process group.
500 /*#define HAS_SETPGRP2 / **/
503 * This symbol, if defined, indicates that the setpriority routine is
504 * available to set a process's priority.
506 /*#define HAS_SETPRIORITY / **/
509 * This symbol, if defined, indicates that the setregid routine is
510 * available to change the real and effective gid of the current
514 * This symbol, if defined, indicates that the setresgid routine is
515 * available to change the real, effective and saved gid of the current
518 /*#define HAS_SETREGID / **/
519 /*#define HAS_SETRESGID / **/
522 * This symbol, if defined, indicates that the setreuid routine is
523 * available to change the real and effective uid of the current
527 * This symbol, if defined, indicates that the setresuid routine is
528 * available to change the real, effective and saved uid of the current
531 /*#define HAS_SETREUID / **/
532 /*#define HAS_SETRESUID / **/
535 * This symbol, if defined, indicates that the setrgid routine is available
536 * to change the real gid of the current program.
538 /*#define HAS_SETRGID / **/
541 * This symbol, if defined, indicates that the setruid routine is available
542 * to change the real uid of the current program.
544 /*#define HAS_SETRUID / **/
547 * This symbol, if defined, indicates that the setsid routine is
548 * available to set the process group ID.
550 #define HAS_SETSID /**/
553 * This symbol is defined to indicate that the strchr()/strrchr()
554 * functions are available for string searching. If not, try the
555 * index()/rindex() pair.
558 * This symbol is defined to indicate that the index()/rindex()
559 * functions are available for string searching.
561 #define HAS_STRCHR /**/
562 /*#define HAS_INDEX / **/
565 * This symbol, if defined, indicates that the strcoll routine is
566 * available to compare strings using collating information.
568 #define HAS_STRCOLL /**/
571 * This symbol, if defined, indicates that this C compiler knows how
572 * to copy structures. If undefined, you'll need to use a block copy
573 * routine of some sort instead.
575 #define USE_STRUCT_COPY /**/
578 * This symbol, if defined, indicates that the strtod routine is
579 * available to provide better numeric string conversion than atof().
581 #define HAS_STRTOD /**/
584 * This symbol, if defined, indicates that the strtol routine is available
585 * to provide better numeric string conversion than atoi() and friends.
587 #define HAS_STRTOL /**/
590 * This symbol, if defined, indicates that the strxfrm() routine is
591 * available to transform strings.
593 #define HAS_STRXFRM /**/
596 * This symbol, if defined, indicates that the symlink routine is available
597 * to create symbolic links.
599 /*#define HAS_SYMLINK /**/
602 * This symbol, if defined, indicates that the syscall routine is
603 * available to call arbitrary system calls. If undefined, that's tough.
605 /*#define HAS_SYSCALL / **/
608 * This symbol, if defined, indicates that sysconf() is available
609 * to determine system related limits and options.
611 #define HAS_SYSCONF /**/
614 * This symbol, if defined, indicates that the system routine is
615 * available to issue a shell command.
617 #define HAS_SYSTEM /**/
620 * This symbol, if defined, indicates that the tcgetpgrp routine is
621 * available to get foreground process group ID.
623 #define HAS_TCGETPGRP /**/
626 * This symbol, if defined, indicates that the tcsetpgrp routine is
627 * available to set foreground process group ID.
629 #define HAS_TCSETPGRP /**/
632 * This symbol, if defined, indicates that the truncate routine is
633 * available to truncate files.
635 /*#define HAS_TRUNCATE / **/
638 * This symbol, if defined, indicates that the tzname[] array is
639 * available to access timezone names.
641 #define HAS_TZNAME /**/
644 * This symbol, if defined, indicates that the umask routine is
645 * available to set and get the value of the file creation mask.
647 #define HAS_UMASK /**/
650 * This symbol, if defined, indicates that the usleep routine is
651 * available to let the process sleep on a sub-second accuracy.
653 /*#define HAS_USLEEP / **/
656 * This symbol, if defined, indicates that this C compiler knows about
657 * the volatile declaration.
659 #define HASVOLATILE /**/
661 #define volatile /* config-skip */
665 * This symbol, if defined, indicates that wait4() exists.
667 /*#define HAS_WAIT4 / **/
670 * This symbol, if defined, indicates that the waitpid routine is
671 * available to wait for child process.
673 #define HAS_WAITPID /**/
676 * This symbol, if defined, indicates that the wcstombs routine is
677 * available to convert wide character strings to multibyte strings.
679 #define HAS_WCSTOMBS /**/
682 * This symbol, if defined, indicates that the wctomb routine is available
683 * to covert a wide character to a multibyte.
685 #define HAS_WCTOMB /**/
688 * This symbol, if defined, indicates to the C program that it should
689 * include <arpa/inet.h> to get inet_addr and friends declarations.
691 #define I_ARPA_INET /**/
694 * This symbol, if defined, indicates that <dbm.h> exists and should
698 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
699 * should be included.
701 /*#define I_DBM / **/
702 /*#define I_RPCSVC_DBM / **/
705 * This symbol, if defined, indicates to the C program that it should
706 * include <dirent.h>. Using this symbol also triggers the definition
707 * of the Direntry_t define which ends up being 'struct dirent' or
708 * 'struct direct' depending on the availability of <dirent.h>.
711 * This symbol, if defined, indicates to the C program that the length
712 * of directory entry names is provided by a d_namlen field. Otherwise
713 * you need to do strlen() on the d_name field.
716 * This symbol is set to 'struct direct' or 'struct dirent' depending on
717 * whether dirent is available or not. You should use this pseudo type to
718 * portably declare your directory entries.
720 #define I_DIRENT /**/
721 /*#define DIRNAMLEN / **/
722 #define Direntry_t struct dirent
725 * This symbol, if defined, indicates that <dlfcn.h> exists and should
728 /*#define I_DLFCN / **/
731 * This manifest constant tells the C program to include <fcntl.h>.
736 * This symbol, if defined, indicates to the C program that it should
737 * include <float.h> to get definition of symbols like DBL_MAX or
738 * DBL_MIN, i.e. machine dependent floating point values.
743 * This symbol, if defined, indicates to the C program that it should
744 * include <limits.h> to get definition of symbols like WORD_BIT or
745 * LONG_MAX, i.e. machine dependant limitations.
747 #define I_LIMITS /**/
750 * This symbol, if defined, indicates to the C program that it should
751 * include <locale.h>.
753 #define I_LOCALE /**/
756 * This symbol, if defined, indicates to the C program that it should
762 * This symbol, if defined, indicates to the C program that it should
763 * include <memory.h>.
765 /*#define I_MEMORY / **/
768 * This symbol, if defined, indicates that <net/errno.h> exists and
769 * should be included.
771 /*#define I_NET_ERRNO /* config-skip */
774 * This symbol, if defined, indicates to the C program that it should
775 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
777 #define I_NETINET_IN /* config-skip */
780 * This symbol, if defined, indicates to the C program that it should
783 /*#define I_SFIO / **/
786 * This symbol, if defined, indicates that <stddef.h> exists and should
789 #define I_STDDEF /**/
792 * This symbol, if defined, indicates that <stdlib.h> exists and should
795 #define I_STDLIB /**/
798 * This symbol, if defined, indicates to the C program that it should
799 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
801 #define I_STRING /**/
804 * This symbol, if defined, indicates to the C program that it should
805 * include <sys/dir.h>.
807 /*#define I_SYS_DIR / **/
810 * This symbol, if defined, indicates to the C program that it should
811 * include <sys/file.h> to get definition of R_OK and friends.
813 /*#define I_SYS_FILE / **/
816 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
817 * be included. Otherwise, include <sgtty.h> or <termio.h>.
820 * This symbol, if defined, indicates the <sys/sockio.h> should be included
821 * to get socket ioctl options, like SIOCATMARK.
823 #define I_SYS_IOCTL /**/
824 /*#define I_SYS_SOCKIO / **/
827 * This symbol, if defined, indicates to the C program that it should
828 * include <sys/ndir.h>.
830 /*#define I_SYS_NDIR / **/
833 * This symbol, if defined, indicates to the C program that it should
834 * include <sys/param.h>.
836 #define I_SYS_PARAM /**/
839 * This symbol, if defined, indicates to the C program that it should
840 * include <sys/resource.h>.
842 #define I_SYS_RESOURCE /**/
844 /* Plan 9: file position in Plan 9 is <select.h> */
846 * This symbol, if defined, indicates to the C program that it should
847 * include <sys/select.h> in order to get definition of struct timeval.
849 #define I_SYS_SELECT /**/
852 * This symbol, if defined, indicates to the C program that it should
853 * include <sys/stat.h>.
855 #define I_SYS_STAT /**/
858 * This symbol, if defined, indicates to the C program that it should
859 * include <sys/times.h>.
861 #define I_SYS_TIMES /**/
864 * This symbol, if defined, indicates to the C program that it should
865 * include <sys/types.h>.
867 #define I_SYS_TYPES /**/
870 * This symbol, if defined, indicates to the C program that it should
871 * include <sys/un.h> to get UNIX domain socket definitions.
873 #define I_SYS_UN /**/
876 * This symbol, if defined, indicates to the C program that it should
877 * include <sys/wait.h>.
879 #define I_SYS_WAIT /**/
882 * This symbol, if defined, indicates that the program should include
883 * <termio.h> rather than <sgtty.h>. There are also differences in
884 * the ioctl() calls that depend on the value of this symbol.
887 * This symbol, if defined, indicates that the program should include
888 * the POSIX termios.h rather than sgtty.h or termio.h.
889 * There are also differences in the ioctl() calls that depend on the
890 * value of this symbol.
893 * This symbol, if defined, indicates that the program should include
894 * <sgtty.h> rather than <termio.h>. There are also differences in
895 * the ioctl() calls that depend on the value of this symbol.
897 /*#define I_TERMIO / **/
898 #define I_TERMIOS /**/
899 /*#define I_SGTTY / **/
902 * This symbol, if defined, indicates to the C program that it should
903 * include <unistd.h>.
905 #define I_UNISTD /**/
908 * This symbol, if defined, indicates to the C program that it should
914 * This symbol, if defined, indicates to the C program that it should
915 * include <values.h> to get definition of symbols like MINFLOAT or
916 * MAXLONG, i.e. machine dependant limitations. Probably, you
917 * should use <limits.h> instead, if it is available.
919 /*#define I_VALUES / **/
922 * This symbol, if defined, indicates to the C program that it should
925 /*#define I_VFORK / **/
928 * This symbol contains the value of sizeof(int) so that the C
929 * preprocessor can make decisions based on it.
932 * This symbol contains the value of sizeof(long) so that the C
933 * preprocessor can make decisions based on it.
936 * This symbol contains the value of sizeof(short) so that the C
937 * preprocessor can make decisions based on it.
939 #define INTSIZE 4 /**/
940 #define LONGSIZE 4 /**/
941 #define SHORTSIZE 2 /**/
944 * This symbol, if defined, signifies that the build
945 * process will produce some binary files that are going to be
946 * used in a cross-platform environment. This is the case for
947 * example with the NeXT "fat" binaries that contain executables
950 /*#define MULTIARCH / **/
953 * This symbol, if defined, tells that there's a 64-bit integer type,
954 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
955 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
957 #define HAS_QUAD /**/
959 # define Quad_t long long /**/
960 # define Uquad_t unsigned long long /**/
961 # define QUADKIND 3 /**/
962 # define QUAD_IS_INT 1
963 # define QUAD_IS_LONG 2
964 # define QUAD_IS_LONG_LONG 3
965 # define QUAD_IS_INT64_T 4
969 * This symbol, if defined, indicates that the accessx routine is
970 * available to do extended access checks.
972 /*#define HAS_ACCESSX / **/
975 * This symbol, if defined, indicates that the eaccess routine is
976 * available to do extended access checks.
978 /*#define HAS_EACCESS / **/
981 * This symbol, if defined, indicates to the C program that it should
982 * include <sys/access.h>.
984 /*#define I_SYS_ACCESS / **/
987 * This symbol, if defined, indicates to the C program that it should
988 * include <sys/security.h>.
990 /*#define I_SYS_SECURITY / **/
993 * This symbol contains the name of the operating system, as determined
994 * by Configure. You shouldn't rely on it too much; the specific
995 * feature tests from Configure are generally more reliable.
998 * This symbol contains the version of the operating system, as determined
999 * by Configure. You shouldn't rely on it too much; the specific
1000 * feature tests from Configure are generally more reliable.
1002 #define OSNAME "plan9" /**/
1003 #define OSVERS "1" /**/
1006 * This symbol, if defined, indicates that the program is running under the
1007 * Plan 9 operating system.
1012 * This symbol contains the number of bytes required to align a
1013 * double, or a long double when applicable. Usual values are 2,
1014 * 4 and 8. The default is eight, for safety.
1016 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1017 # define MEM_ALIGNBYTES 8
1019 #define MEM_ALIGNBYTES 4
1023 * This variable, if defined, holds the name of the directory in
1024 * which the user wants to put architecture-dependent public
1025 * library files for perl. It is most often a local directory
1026 * such as /usr/local/lib. Programs using this variable must be
1027 * prepared to deal with filename expansion. If ARCHLIB is the
1028 * same as PRIVLIB, it is not defined, since presumably the
1029 * program already searches PRIVLIB.
1032 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1033 * in programs that are not prepared to deal with ~ expansion at run-time.
1035 #define ARCHLIB_EXP "/_P9P_OBJTYPE/lib/perl/_P9P_VERSION"
1036 #define ARCHLIB "/_P9P_OBJTYPE/lib/perl/_P9P_VERSION"
1039 * This symbol holds a string representing the architecture name.
1040 * It may be used to construct an architecture-dependant pathname
1041 * where library files may be held under a private library, for
1044 #define ARCHNAME "plan9__P9P_OBJTYPE" /**/
1047 * This symbol, if defined, indicates that the atolf routine is
1048 * available to convert strings into long doubles.
1050 /*#define HAS_ATOLF / **/
1053 * This symbol, if defined, indicates that the atoll routine is
1054 * available to convert strings into long longs.
1056 #define HAS_ATOLL /**/
1059 * This symbol holds the path of the bin directory where the package will
1060 * be installed. Program must be prepared to deal with ~name substitution.
1063 * This symbol is the filename expanded version of the BIN symbol, for
1064 * programs that do not want to deal with that at run-time.
1066 #define BIN "/usr/bin" /**/
1067 #define BIN_EXP "/usr/bin" /**/
1070 * This symbol holds the hexadecimal constant defined in byteorder,
1071 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
1072 * If the compiler supports cross-compiling or multiple-architecture
1073 * binaries (eg. on NeXT systems), use compiler-defined macros to
1074 * determine the byte order.
1075 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1076 * Binaries (MAB) on either big endian or little endian machines.
1077 * The endian-ness is available at compile-time. This only matters
1078 * for perl, where the config.h can be generated and installed on
1079 * one system, and used by a different architecture to build an
1080 * extension. Older versions of NeXT that might not have
1081 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1082 * so the default case (for NeXT) is big endian to catch them.
1083 * This might matter for NeXT 3.0.
1085 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1086 # ifdef __LITTLE_ENDIAN__
1088 # define BYTEORDER 0x1234 /* config-skip */
1091 # define BYTEORDER 0x12345678 /* config-skip */
1095 # ifdef __BIG_ENDIAN__
1097 # define BYTEORDER 0x4321
1100 # define BYTEORDER 0x87654321
1105 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1106 # define BYTEORDER 0x4321
1109 #define BYTEORDER 0x1234 /* large digits for MSB */
1113 * This macro catenates 2 tokens together.
1116 * This macro surrounds its token with double quotes.
1119 #define CAT2(a,b) a/**/b
1120 #define STRINGIFY(a) "a"
1121 /* If you can get stringification with catify, tell me how! */
1124 #define PeRl_CaTiFy(a, b) a ## b
1125 #define PeRl_StGiFy(a) #a
1126 /* the additional level of indirection enables these macros to be
1127 * used as arguments to other macros. See K&R 2nd ed., page 231. */
1128 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1129 #define StGiFy(a) PeRl_StGiFy(a)
1130 #define STRINGIFY(a) PeRl_StGiFy(a)
1132 #if 42 != 1 && 42 != 42
1133 # include "Bletch: How does this C preprocessor catenate tokens?"
1137 * This symbol contains the first part of the string which will invoke
1138 * the C preprocessor on the standard input and produce to standard
1139 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1140 * call a wrapper. See CPPRUN.
1143 * This symbol contains the second part of the string which will invoke
1144 * the C preprocessor on the standard input and produce to standard
1145 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1146 * to specify standard input, otherwise the value is "".
1149 * This symbol contains the string which will invoke a C preprocessor on
1150 * the standard input and produce to standard output. It needs to end
1151 * with CPPLAST, after all other preprocessor flags have been specified.
1152 * The main difference with CPPSTDIN is that this program will never be a
1153 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1154 * available directly to the user. Note that it may well be different from
1155 * the preprocessor used to compile the C program.
1158 * This symbol is intended to be used along with CPPRUN in the same manner
1159 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1161 #define CPPSTDIN "cppstdin"
1163 #define CPPRUN "/bin/cpp"
1167 * This symbol, if defined, indicates that the _fwalk system call is
1168 * available to apply a function to all the file handles.
1170 /*#define HAS__FWALK / **/
1173 * This manifest constant lets the C program know that the access()
1174 * system call is available to check for accessibility using real UID/GID.
1175 * (always present on UNIX.)
1177 #define HAS_ACCESS /**/
1180 * This symbol, if defined, indicates that the asctime_r routine
1181 * is available to asctime re-entrantly.
1184 * This symbol encodes the prototype of asctime_r.
1185 * It is zero if d_asctime_r is undef, and one of the
1186 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1189 /*#define HAS_ASCTIME_R / **/
1190 #define ASCTIME_R_PROTO 0 /**/
1193 * This symbol is defined if the C compiler can cast negative
1194 * or large floating point numbers to 32-bit ints.
1196 /*#define CASTI32 / **/
1199 * This symbol is defined if the C compiler can cast negative
1200 * numbers to unsigned longs, ints and shorts.
1203 * This symbol contains flags that say what difficulties the compiler
1204 * has casting odd floating values to unsigned long:
1206 * 1 = couldn't cast < 0
1207 * 2 = couldn't cast >= 0x80000000
1208 * 4 = couldn't cast in argument expression list
1210 /*#define CASTNEGFLOAT /* config-skip */
1211 #if _P9P_OBJTYPE == 386
1212 # define CASTFLAGS 3 /**/ /* config-skip */
1214 # define CASTFLAGS 0 /**/ /* config-skip */
1218 * This symbol, if defined, indicates that the class routine is
1219 * available to classify doubles. Available for example in AIX.
1220 * The returned values are defined in <float.h> and are:
1222 * FP_PLUS_NORM Positive normalized, nonzero
1223 * FP_MINUS_NORM Negative normalized, nonzero
1224 * FP_PLUS_DENORM Positive denormalized, nonzero
1225 * FP_MINUS_DENORM Negative denormalized, nonzero
1227 * FP_MINUS_ZERO -0.0
1230 * FP_NANS Signaling Not a Number (NaNS)
1231 * FP_NANQ Quiet Not a Number (NaNQ)
1233 /*#define HAS_CLASS / **/
1236 * This symbol, if defined, indicates that the closedir() routine
1237 * does not return a value.
1239 /*#define VOID_CLOSEDIR / **/
1241 /* HAS_STRUCT_CMSGHDR:
1242 * This symbol, if defined, indicates that the struct cmsghdr
1245 /*#define HAS_STRUCT_CMSGHDR / **/
1248 * This symbol, if defined, indicates that the crypt_r routine
1249 * is available to crypt re-entrantly.
1252 * This symbol encodes the prototype of crypt_r.
1253 * It is zero if d_crypt_r is undef, and one of the
1254 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1257 /*#define HAS_CRYPT_R / **/
1258 #define CRYPT_R_PROTO 0 /**/
1261 * This symbol, if defined, indicates that the C-shell exists.
1264 * This symbol, if defined, contains the full pathname of csh.
1266 /*#define HAS_CSH / **/
1268 #define CSH "csh" /**/
1272 * This symbol, if defined, indicates that the ctime_r routine
1273 * is available to ctime re-entrantly.
1276 * This symbol encodes the prototype of ctime_r.
1277 * It is zero if d_ctime_r is undef, and one of the
1278 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1281 /*#define HAS_CTIME_R / **/
1282 #define CTIME_R_PROTO 0 /**/
1284 /* DLSYM_NEEDS_UNDERSCORE:
1285 * This symbol, if defined, indicates that we need to prepend an
1286 * underscore to the symbol name before calling dlsym(). This only
1287 * makes sense if you *have* dlsym, which we will presume is the
1288 * case if you're using dl_dlopen.xs.
1290 /*#define DLSYM_NEEDS_UNDERSCORE / **/
1293 * This symbol, if defined, indicates that the drand48_r routine
1294 * is available to drand48 re-entrantly.
1297 * This symbol encodes the prototype of drand48_r.
1298 * It is zero if d_drand48_r is undef, and one of the
1299 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1302 /*#define HAS_DRAND48_R / **/
1303 #define DRAND48_R_PROTO 0 /**/
1305 /* HAS_DRAND48_PROTO:
1306 * This symbol, if defined, indicates that the system provides
1307 * a prototype for the drand48() function. Otherwise, it is up
1308 * to the program to supply one. A good guess is
1309 * extern double drand48(void);
1311 /*#define HAS_DRAND48_PROTO / **/
1314 * This symbol, if defined, indicates that the getgrent routine is
1315 * available for finalizing sequential access of the group database.
1317 #define HAS_ENDGRENT /**/
1320 * This symbol, if defined, indicates that the endgrent_r routine
1321 * is available to endgrent re-entrantly.
1323 /* ENDGRENT_R_PROTO:
1324 * This symbol encodes the prototype of endgrent_r.
1325 * It is zero if d_endgrent_r is undef, and one of the
1326 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1329 /*#define HAS_ENDGRENT_R / **/
1330 #define ENDGRENT_R_PROTO 0 /**/
1333 * This symbol, if defined, indicates that the endhostent() routine is
1334 * available to close whatever was being used for host queries.
1336 #define HAS_ENDHOSTENT /**/
1339 * This symbol, if defined, indicates that the endnetent() routine is
1340 * available to close whatever was being used for network queries.
1342 /*#define HAS_ENDNETENT / **/
1345 * This symbol, if defined, indicates that the endprotoent() routine is
1346 * available to close whatever was being used for protocol queries.
1348 /*#define HAS_ENDPROTOENT / **/
1351 * This symbol, if defined, indicates that the getgrent routine is
1352 * available for finalizing sequential access of the passwd database.
1354 #define HAS_ENDPWENT /**/
1357 * This symbol, if defined, indicates that the endpwent_r routine
1358 * is available to endpwent re-entrantly.
1360 /* ENDPWENT_R_PROTO:
1361 * This symbol encodes the prototype of endpwent_r.
1362 * It is zero if d_endpwent_r is undef, and one of the
1363 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1366 /*#define HAS_ENDPWENT_R / **/
1367 #define ENDPWENT_R_PROTO 0 /**/
1370 * This symbol, if defined, indicates that the endservent() routine is
1371 * available to close whatever was being used for service queries.
1373 /*#define HAS_ENDSERVENT / **/
1376 * This symbol, if defined, indicates that the fchdir routine is
1377 * available to change directory using a file descriptor.
1379 /*#define HAS_FCHDIR / **/
1382 * This symbol, if defined, indicates that fcntl() can be used
1383 * for file locking. Normally on Unix systems this is defined.
1384 * It may be undefined on VMS.
1386 /*#define FCNTL_CAN_LOCK / **/
1389 * This symbol, when defined, indicates presence of the fd_set typedef
1392 /*#define HAS_FD_SET / **/
1395 * This symbol, if defined, indicates that the finite routine is
1396 * available to check whether a double is finite (non-infinity non-NaN).
1398 /*#define HAS_FINITE / **/
1401 * This symbol, if defined, indicates that the finitel routine is
1402 * available to check whether a long double is finite
1403 * (non-infinity non-NaN).
1405 /*#define HAS_FINITEL / **/
1408 * This symbol, if defined, indicates that the system supports filenames
1409 * longer than 14 characters.
1411 #define FLEXFILENAMES /**/
1414 * This symbol, if defined, indicates that the fp_class routine is
1415 * available to classify doubles. Available for example in Digital UNIX.
1416 * The returned values are defined in <math.h> and are:
1418 * FP_SNAN Signaling NaN (Not-a-Number)
1419 * FP_QNAN Quiet NaN (Not-a-Number)
1420 * FP_POS_INF +infinity
1421 * FP_NEG_INF -infinity
1422 * FP_POS_NORM Positive normalized
1423 * FP_NEG_NORM Negative normalized
1424 * FP_POS_DENORM Positive denormalized
1425 * FP_NEG_DENORM Negative denormalized
1426 * FP_POS_ZERO +0.0 (positive zero)
1427 * FP_NEG_ZERO -0.0 (negative zero)
1429 /*#define HAS_FP_CLASS / **/
1432 * This symbol, if defined, indicates that the fpclass routine is
1433 * available to classify doubles. Available for example in Solaris/SVR4.
1434 * The returned values are defined in <ieeefp.h> and are:
1436 * FP_SNAN signaling NaN
1438 * FP_NINF negative infinity
1439 * FP_PINF positive infinity
1440 * FP_NDENORM negative denormalized non-zero
1441 * FP_PDENORM positive denormalized non-zero
1442 * FP_NZERO negative zero
1443 * FP_PZERO positive zero
1444 * FP_NNORM negative normalized non-zero
1445 * FP_PNORM positive normalized non-zero
1447 /*#define HAS_FPCLASS / **/
1450 * This symbol, if defined, indicates that the fpclassify routine is
1451 * available to classify doubles. Available for example in HP-UX.
1452 * The returned values are defined in <math.h> and are
1454 * FP_NORMAL Normalized
1456 * FP_INFINITE Infinity
1457 * FP_SUBNORMAL Denormalized
1461 /*#define HAS_FPCLASSIFY / **/
1464 * This symbol will be defined if the C compiler supports fpos64_t.
1466 /*#define HAS_FPOS64_T / **/
1469 * This symbol, if defined, indicates that the frexpl routine is
1470 * available to break a long double floating-point number into
1471 * a normalized fraction and an integral power of 2.
1473 /*#define HAS_FREXPL / **/
1475 /* HAS_STRUCT_FS_DATA:
1476 * This symbol, if defined, indicates that the struct fs_data
1477 * to do statfs() is supported.
1479 /*#define HAS_STRUCT_FS_DATA / **/
1482 * This symbol, if defined, indicates that the fseeko routine is
1483 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1485 /*#define HAS_FSEEKO / **/
1488 * This symbol, if defined, indicates that the fstatfs routine is
1489 * available to stat filesystems by file descriptors.
1491 /*#define HAS_FSTATFS / **/
1494 * This symbol, if defined, indicates that the fsync routine is
1495 * available to write a file's modified data and attributes to
1496 * permanent storage.
1498 #define HAS_FSYNC /**/
1501 * This symbol, if defined, indicates that the ftello routine is
1502 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1504 /*#define HAS_FTELLO / **/
1507 * This preprocessor macro is defined to convert a floating point
1508 * number to a string without a trailing decimal point. This
1509 * emulates the behavior of sprintf("%g"), but is sometimes much more
1510 * efficient. If gconvert() is not available, but gcvt() drops the
1511 * trailing decimal point, then gcvt() is used. If all else fails,
1512 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1513 * macro are: value, number of digits, whether trailing zeros should
1514 * be retained, and the output buffer.
1515 * The usual values are:
1516 * d_Gconvert='gconvert((x),(n),(t),(b))'
1517 * d_Gconvert='gcvt((x),(n),(b))'
1518 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1519 * The last two assume trailing zeros should not be kept.
1521 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1524 * This symbol, if defined, indicates that the getcwd routine is
1525 * available to get the current working directory.
1527 #define HAS_GETCWD /**/
1530 * This symbol, if defined, indicates that the getespwnam system call is
1531 * available to retrieve enchanced (shadow) password entries by name.
1533 /*#define HAS_GETESPWNAM / **/
1536 * This symbol, if defined, indicates that the getfsstat routine is
1537 * available to stat filesystems in bulk.
1539 /*#define HAS_GETFSSTAT / **/
1542 * This symbol, if defined, indicates that the getgrent routine is
1543 * available for sequential access of the group database.
1545 #define HAS_GETGRENT /**/
1548 * This symbol, if defined, indicates that the getgrent_r routine
1549 * is available to getgrent re-entrantly.
1551 /* GETGRENT_R_PROTO:
1552 * This symbol encodes the prototype of getgrent_r.
1553 * It is zero if d_getgrent_r is undef, and one of the
1554 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1557 /*#define HAS_GETGRENT_R / **/
1558 #define GETGRENT_R_PROTO 0 /**/
1561 * This symbol, if defined, indicates that the getgrgid_r routine
1562 * is available to getgrgid re-entrantly.
1564 /* GETGRGID_R_PROTO:
1565 * This symbol encodes the prototype of getgrgid_r.
1566 * It is zero if d_getgrgid_r is undef, and one of the
1567 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1570 /*#define HAS_GETGRGID_R / **/
1571 #define GETGRGID_R_PROTO 0 /**/
1574 * This symbol, if defined, indicates that the getgrnam_r routine
1575 * is available to getgrnam re-entrantly.
1577 /* GETGRNAM_R_PROTO:
1578 * This symbol encodes the prototype of getgrnam_r.
1579 * It is zero if d_getgrnam_r is undef, and one of the
1580 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1583 /*#define HAS_GETGRNAM_R / **/
1584 #define GETGRNAM_R_PROTO 0 /**/
1586 /* HAS_GETHOSTBYADDR:
1587 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1588 * available to look up hosts by their IP addresses.
1590 #define HAS_GETHOSTBYADDR /**/
1592 /* HAS_GETHOSTBYNAME:
1593 * This symbol, if defined, indicates that the gethostbyname() routine is
1594 * available to look up host names in some data base or other.
1596 #define HAS_GETHOSTBYNAME /**/
1599 * This symbol, if defined, indicates that the gethostent() routine is
1600 * available to look up host names in some data base or another.
1602 /*#define HAS_GETHOSTENT / **/
1605 * This symbol, if defined, indicates that the C program may use the
1606 * gethostname() routine to derive the host name. See also HAS_UNAME
1610 * This symbol, if defined, indicates that the C program may use the
1611 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1615 * This symbol, if defined, indicates the command to feed to the
1616 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1617 * and HAS_UNAME. Note that the command uses a fully qualified path,
1618 * so that it is safe even if used by a process with super-user
1622 * This symbol, if defined, indicates that the C program may use the
1623 * contents of PHOSTNAME as a command to feed to the popen() routine
1624 * to derive the host name.
1626 #define HAS_GETHOSTNAME /**/
1627 #define HAS_UNAME /**/
1628 /*#define HAS_PHOSTNAME / **/
1629 #ifdef HAS_PHOSTNAME
1630 #define PHOSTNAME "/bin/uname -n" /* How to get the host name */
1633 /* HAS_GETHOST_PROTOS:
1634 * This symbol, if defined, indicates that <netdb.h> includes
1635 * prototypes for gethostent(), gethostbyname(), and
1636 * gethostbyaddr(). Otherwise, it is up to the program to guess
1637 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1639 /*#define HAS_GETHOST_PROTOS / **/
1642 * This symbol, if defined, indicates that the getitimer routine is
1643 * available to return interval timers.
1645 /*#define HAS_GETITIMER / **/
1648 * This symbol, if defined, indicates that the getlogin_r routine
1649 * is available to getlogin re-entrantly.
1651 /* GETLOGIN_R_PROTO:
1652 * This symbol encodes the prototype of getlogin_r.
1653 * It is zero if d_getlogin_r is undef, and one of the
1654 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1657 /*#define HAS_GETLOGIN_R / **/
1658 #define GETLOGIN_R_PROTO 0 /**/
1661 * This symbol, if defined, indicates that the getmnt routine is
1662 * available to get filesystem mount info by filename.
1664 /*#define HAS_GETMNT / **/
1667 * This symbol, if defined, indicates that the getmntent routine is
1668 * available to iterate through mounted file systems to get their info.
1670 /*#define HAS_GETMNTENT / **/
1672 /* HAS_GETNETBYADDR:
1673 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1674 * available to look up networks by their IP addresses.
1676 /*#define HAS_GETNETBYADDR / **/
1678 /* HAS_GETNETBYNAME:
1679 * This symbol, if defined, indicates that the getnetbyname() routine is
1680 * available to look up networks by their names.
1682 /*#define HAS_GETNETBYNAME / **/
1685 * This symbol, if defined, indicates that the getnetent() routine is
1686 * available to look up network names in some data base or another.
1688 /*#define HAS_GETNETENT / **/
1690 /* HAS_GETNET_PROTOS:
1691 * This symbol, if defined, indicates that <netdb.h> includes
1692 * prototypes for getnetent(), getnetbyname(), and
1693 * getnetbyaddr(). Otherwise, it is up to the program to guess
1694 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1696 /*#define HAS_GETNET_PROTOS / **/
1699 * This symbol, if defined, indicates that the getpagesize system call
1700 * is available to get system page size, which is the granularity of
1701 * many memory management calls.
1703 /*#define HAS_GETPAGESIZE / **/
1706 * This symbol, if defined, indicates that the getprotoent() routine is
1707 * available to look up protocols in some data base or another.
1709 /*#define HAS_GETPROTOENT / **/
1712 * This symbol, if defined, indicates that the getpgrp routine is
1713 * available to get the current process group.
1716 * This symbol, if defined, indicates that getpgrp needs one
1717 * arguments whereas USG one needs none.
1719 #define HAS_GETPGRP /**/
1720 /*#define USE_BSD_GETPGRP / **/
1722 /* HAS_GETPROTOBYNAME:
1723 * This symbol, if defined, indicates that the getprotobyname()
1724 * routine is available to look up protocols by their name.
1726 /* HAS_GETPROTOBYNUMBER:
1727 * This symbol, if defined, indicates that the getprotobynumber()
1728 * routine is available to look up protocols by their number.
1730 #define HAS_GETPROTOBYNAME /**/
1731 /*#define HAS_GETPROTOBYNUMBER / **/
1733 /* HAS_GETPROTO_PROTOS:
1734 * This symbol, if defined, indicates that <netdb.h> includes
1735 * prototypes for getprotoent(), getprotobyname(), and
1736 * getprotobyaddr(). Otherwise, it is up to the program to guess
1737 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1739 /*#define HAS_GETPROTO_PROTOS / **/
1742 * This symbol, if defined, indicates that the getprpwnam system call is
1743 * available to retrieve protected (shadow) password entries by name.
1745 /*#define HAS_GETPRPWNAM / **/
1748 * This symbol, if defined, indicates that the getpwent routine is
1749 * available for sequential access of the passwd database.
1750 * If this is not available, the older getpw() function may be available.
1752 #define HAS_GETPWENT /**/
1755 * This symbol, if defined, indicates that the getpwent_r routine
1756 * is available to getpwent re-entrantly.
1758 /* GETPWENT_R_PROTO:
1759 * This symbol encodes the prototype of getpwent_r.
1760 * It is zero if d_getpwent_r is undef, and one of the
1761 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1764 /*#define HAS_GETPWENT_R / **/
1765 #define GETPWENT_R_PROTO 0 /**/
1768 * This symbol, if defined, indicates that the getpwnam_r routine
1769 * is available to getpwnam re-entrantly.
1771 /* GETPWNAM_R_PROTO:
1772 * This symbol encodes the prototype of getpwnam_r.
1773 * It is zero if d_getpwnam_r is undef, and one of the
1774 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1777 /*#define HAS_GETPWNAM_R / **/
1778 #define GETPWNAM_R_PROTO 0 /**/
1781 * This symbol, if defined, indicates that the getpwuid_r routine
1782 * is available to getpwuid re-entrantly.
1784 /* GETPWUID_R_PROTO:
1785 * This symbol encodes the prototype of getpwuid_r.
1786 * It is zero if d_getpwuid_r is undef, and one of the
1787 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1790 /*#define HAS_GETPWUID_R / **/
1791 #define GETPWUID_R_PROTO 0 /**/
1794 * This symbol, if defined, indicates that the getservent() routine is
1795 * available to look up network services in some data base or another.
1797 /*#define HAS_GETSERVENT / **/
1799 /* HAS_GETSERV_PROTOS:
1800 * This symbol, if defined, indicates that <netdb.h> includes
1801 * prototypes for getservent(), getservbyname(), and
1802 * getservbyaddr(). Otherwise, it is up to the program to guess
1803 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1805 /*#define HAS_GETSERV_PROTOS / **/
1808 * This symbol, if defined, indicates that the getspnam system call is
1809 * available to retrieve SysV shadow password entries by name.
1811 /*#define HAS_GETSPNAM / **/
1814 * This symbol, if defined, indicates that the getspnam_r routine
1815 * is available to getspnam re-entrantly.
1817 /* GETSPNAM_R_PROTO:
1818 * This symbol encodes the prototype of getspnam_r.
1819 * It is zero if d_getspnam_r is undef, and one of the
1820 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1823 /*#define HAS_GETSPNAM_R / **/
1824 #define GETSPNAM_R_PROTO 0 /**/
1826 /* HAS_GETSERVBYNAME:
1827 * This symbol, if defined, indicates that the getservbyname()
1828 * routine is available to look up services by their name.
1830 /* HAS_GETSERVBYPORT:
1831 * This symbol, if defined, indicates that the getservbyport()
1832 * routine is available to look up services by their port.
1834 #define HAS_GETSERVBYNAME /**/
1835 /*#define HAS_GETSERVBYPORT / **/
1838 * This symbol, if defined, indicates that the gmtime_r routine
1839 * is available to gmtime re-entrantly.
1842 * This symbol encodes the prototype of gmtime_r.
1843 * It is zero if d_gmtime_r is undef, and one of the
1844 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1847 /*#define HAS_GMTIME_R / **/
1848 #define GMTIME_R_PROTO 0 /**/
1851 * This symbol, if defined, indicates to the C program that
1852 * the GNU C library is being used. A better check is to use
1853 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1855 /*#define HAS_GNULIBC / **/
1856 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1857 # define _GNU_SOURCE
1860 * This symbol, if defined, indicates that the hasmntopt routine is
1861 * available to query the mount options of file systems.
1863 /*#define HAS_HASMNTOPT / **/
1866 * This symbol, if defined, indicates that the htonl() routine (and
1867 * friends htons() ntohl() ntohs()) are available to do network
1868 * order byte swapping.
1871 * This symbol, if defined, indicates that the htons() routine (and
1872 * friends htonl() ntohl() ntohs()) are available to do network
1873 * order byte swapping.
1876 * This symbol, if defined, indicates that the ntohl() routine (and
1877 * friends htonl() htons() ntohs()) are available to do network
1878 * order byte swapping.
1881 * This symbol, if defined, indicates that the ntohs() routine (and
1882 * friends htonl() htons() ntohl()) are available to do network
1883 * order byte swapping.
1885 #define HAS_HTONL /**/
1886 #define HAS_HTONS /**/
1887 #define HAS_NTOHL /**/
1888 #define HAS_NTOHS /**/
1891 * This symbol will defined if the C compiler supports int64_t.
1892 * Usually the <inttypes.h> needs to be included, but sometimes
1893 * <sys/types.h> is enough.
1895 #define HAS_INT64_T /**/
1898 * This manifest constant lets the C program know that isascii
1901 /*#define HAS_ISASCII / **/
1904 * This symbol, if defined, indicates that the isfinite routine is
1905 * available to check whether a double is finite (non-infinity non-NaN).
1907 /*#define HAS_ISFINITE / **/
1910 * This symbol, if defined, indicates that the isinf routine is
1911 * available to check whether a double is an infinity.
1913 /*#define HAS_ISINF / **/
1916 * This symbol, if defined, indicates that the isnan routine is
1917 * available to check whether a double is a NaN.
1919 /*#define HAS_ISNAN / **/
1922 * This symbol, if defined, indicates that the isnanl routine is
1923 * available to check whether a long double is a NaN.
1925 /*#define HAS_ISNANL / **/
1928 * This symbol, if defined, indicates that the lchown routine is
1929 * available to operate on a symbolic link (instead of following the
1932 /*#define HAS_LCHOWN / **/
1935 * This symbol, if defined, indicates that this system's <float.h>
1936 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1937 * of significant digits in a long double precision number. Unlike
1938 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1940 #define HAS_LDBL_DIG /* */
1943 * This symbol, if defined, indicates that the localtime_r routine
1944 * is available to localtime re-entrantly.
1946 /* LOCALTIME_R_PROTO:
1947 * This symbol encodes the prototype of localtime_r.
1948 * It is zero if d_localtime_r is undef, and one of the
1949 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1952 /*#define HAS_LOCALTIME_R / **/
1953 #define LOCALTIME_R_PROTO 0 /**/
1956 * This symbol will be defined if the C compiler supports long
1960 * This symbol contains the size of a long double, so that the
1961 * C preprocessor can make decisions based on it. It is only
1962 * defined if the system supports long doubles.
1964 #define HAS_LONG_DOUBLE /**/
1965 #ifdef HAS_LONG_DOUBLE
1966 #define LONG_DOUBLESIZE 8 /**/
1970 * This symbol will be defined if the C compiler supports long long.
1973 * This symbol contains the size of a long long, so that the
1974 * C preprocessor can make decisions based on it. It is only
1975 * defined if the system supports long long.
1977 #define HAS_LONG_LONG /**/
1978 #ifdef HAS_LONG_LONG
1979 #define LONGLONGSIZE 8 /**/
1983 * This symbol, if defined, indicates that the system provides
1984 * a prototype for the lseek() function. Otherwise, it is up
1985 * to the program to supply one. A good guess is
1986 * extern off_t lseek(int, off_t, int);
1988 /*#define HAS_LSEEK_PROTO / **/
1991 * This symbol, if defined, indicates that the madvise system call is
1992 * available to map a file into memory.
1994 /*#define HAS_MADVISE / **/
1997 * This symbol, if defined, indicates that the memchr routine is available
1998 * to locate characters within a C string.
2000 #define HAS_MEMCHR /**/
2003 * This symbol, if defined, indicates that the mkdtemp routine is
2004 * available to exclusively create a uniquely named temporary directory.
2006 /*#define HAS_MKDTEMP / **/
2009 * This symbol, if defined, indicates that the mkstemp routine is
2010 * available to exclusively create and open a uniquely named
2013 /*#define HAS_MKSTEMP / **/
2016 * This symbol, if defined, indicates that the mkstemps routine is
2017 * available to excluslvely create and open a uniquely named
2018 * (with a suffix) temporary file.
2020 /*#define HAS_MKSTEMPS / **/
2023 * This symbol, if defined, indicates that the mmap system call is
2024 * available to map a file into memory.
2027 * This symbol holds the return type of the mmap() system call
2028 * (and simultaneously the type of the first argument).
2029 * Usually set to 'void *' or 'cadd_t'.
2031 /*#define HAS_MMAP / **/
2032 #define Mmap_t void * /**/
2035 * This symbol, if defined, indicates that the modfl routine is
2036 * available to split a long double x into a fractional part f and
2037 * an integer part i such that |f| < 1.0 and (f + i) = x.
2039 /* HAS_MODFL_POW32_BUG:
2040 * This symbol, if defined, indicates that the modfl routine is
2041 * broken for long doubles >= pow(2, 32).
2042 * For example from 4294967303.150000 one would get 4294967302.000000
2043 * and 1.150000. The bug has been seen in certain versions of glibc,
2044 * release 2.2.2 is known to be okay.
2046 /*#define HAS_MODFL / **/
2047 /*#define HAS_MODFL_POW32_BUG / **/
2050 * This symbol, if defined, indicates that the mprotect system call is
2051 * available to modify the access protection of a memory mapped file.
2053 /*#define HAS_MPROTECT / **/
2056 * This symbol, if defined, indicates that the entire msg*(2) library is
2057 * supported (IPC mechanism based on message queues).
2059 /*#define HAS_MSG / **/
2061 /* HAS_STRUCT_MSGHDR:
2062 * This symbol, if defined, indicates that the struct msghdr
2065 /*#define HAS_STRUCT_MSGHDR / **/
2068 * This symbol will be defined if the C compiler supports off64_t.
2070 /*#define HAS_OFF64_T / **/
2073 * This manifest constant lets the C program know that the three
2074 * argument form of open(2) is available.
2076 #define HAS_OPEN3 /**/
2078 /* OLD_PTHREAD_CREATE_JOINABLE:
2079 * This symbol, if defined, indicates how to create pthread
2080 * in joinable (aka undetached) state. NOTE: not defined
2081 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2082 * (the new version of the constant).
2083 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2086 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
2088 /* HAS_PTHREAD_YIELD:
2089 * This symbol, if defined, indicates that the pthread_yield
2090 * routine is available to yield the execution of the current
2091 * thread. sched_yield is preferable to pthread_yield.
2094 * This symbol defines the way to yield the execution of
2095 * the current thread. Known ways are sched_yield,
2096 * pthread_yield, and pthread_yield with NULL.
2099 * This symbol, if defined, indicates that the sched_yield
2100 * routine is available to yield the execution of the current
2101 * thread. sched_yield is preferable to pthread_yield.
2103 /*#define HAS_PTHREAD_YIELD / **/
2104 #define SCHED_YIELD undef /**/
2105 /*#define HAS_SCHED_YIELD / **/
2108 * This symbol, if defined, indicates that the random_r routine
2109 * is available to random re-entrantly.
2112 * This symbol encodes the prototype of random_r.
2113 * It is zero if d_random_r is undef, and one of the
2114 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2117 /*#define HAS_RANDOM_R / **/
2118 #define RANDOM_R_PROTO 0 /**/
2121 * This symbol, if defined, indicates that the readdir_r routine
2122 * is available to readdir re-entrantly.
2125 * This symbol encodes the prototype of readdir_r.
2126 * It is zero if d_readdir_r is undef, and one of the
2127 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2130 /*#define HAS_READDIR_R / **/
2131 #define READDIR_R_PROTO 0 /**/
2134 * This symbol, if defined, indicates that the readv routine is
2135 * available to do gather reads. You will also need <sys/uio.h>
2136 * and there I_SYSUIO.
2138 #define HAS_READV /**/
2141 * This symbol, if defined, indicates that the recvmsg routine is
2142 * available to send structured socket messages.
2144 /*#define HAS_RECVMSG / **/
2147 * This symbol, if defined, indicates that the bcopy routine is available
2148 * to copy potentially overlapping memory blocks. Normally, you should
2149 * probably use memmove() or memcpy(). If neither is defined, roll your
2152 /*#define HAS_SAFE_BCOPY / **/
2155 * This symbol, if defined, indicates that the memcpy routine is available
2156 * to copy potentially overlapping memory blocks. If you need to
2157 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2158 * use memmove() instead, if available.
2160 /*#define HAS_SAFE_MEMCPY / **/
2163 * This symbol, if defined, indicates that the memcmp routine is available
2164 * and can be used to compare relative magnitudes of chars with their high
2165 * bits set. If it is not defined, roll your own version.
2167 #define HAS_SANE_MEMCMP /**/
2170 * This symbol, if defined, indicates that the system provides
2171 * a prototype for the sbrk() function. Otherwise, it is up
2172 * to the program to supply one. Good guesses are
2173 * extern void* sbrk(int);
2174 * extern void* sbrk(size_t);
2176 /*#define HAS_SBRK_PROTO / **/
2179 * This symbol, if defined, indicates that the entire sem*(2) library is
2182 /*#define HAS_SEM / **/
2185 * This symbol, if defined, indicates that the sendmsg routine is
2186 * available to send structured socket messages.
2188 /*#define HAS_SENDMSG / **/
2191 * This symbol, if defined, indicates that the setgrent routine is
2192 * available for initializing sequential access of the group database.
2194 #define HAS_SETGRENT /**/
2197 * This symbol, if defined, indicates that the setgrent_r routine
2198 * is available to setgrent re-entrantly.
2200 /* SETGRENT_R_PROTO:
2201 * This symbol encodes the prototype of setgrent_r.
2202 * It is zero if d_setgrent_r is undef, and one of the
2203 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2206 /*#define HAS_SETGRENT_R / **/
2207 #define SETGRENT_R_PROTO 0 /**/
2210 * This symbol, if defined, indicates that the setgroups() routine is
2211 * available to set the list of process groups. If unavailable, multiple
2212 * groups are probably not supported.
2214 /*#define HAS_SETGROUPS /* config-skip */
2217 * This symbol, if defined, indicates that the sethostent() routine is
2220 /*#define HAS_SETHOSTENT / **/
2223 * This symbol, if defined, indicates that the setitimer routine is
2224 * available to set interval timers.
2226 /*#define HAS_SETITIMER / **/
2229 * This symbol, if defined, indicates that the setnetent() routine is
2232 /*#define HAS_SETNETENT / **/
2235 * This symbol, if defined, indicates that the setprotoent() routine is
2238 /*#define HAS_SETPROTOENT / **/
2241 * This symbol, if defined, indicates that the setpgrp routine is
2242 * available to set the current process group.
2245 * This symbol, if defined, indicates that setpgrp needs two
2246 * arguments whereas USG one needs none. See also HAS_SETPGID
2247 * for a POSIX interface.
2249 /*#define HAS_SETPGRP / **/
2250 /*#define USE_BSD_SETPGRP / **/
2252 /* HAS_SETPROCTITLE:
2253 * This symbol, if defined, indicates that the setproctitle routine is
2254 * available to set process title.
2256 /*#define HAS_SETPROCTITLE / **/
2259 * This symbol, if defined, indicates that the setpwent routine is
2260 * available for initializing sequential access of the passwd database.
2262 #define HAS_SETPWENT /**/
2265 * This symbol, if defined, indicates that the setpwent_r routine
2266 * is available to setpwent re-entrantly.
2268 /* SETPWENT_R_PROTO:
2269 * This symbol encodes the prototype of setpwent_r.
2270 * It is zero if d_setpwent_r is undef, and one of the
2271 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2274 /*#define HAS_SETPWENT_R / **/
2275 #define SETPWENT_R_PROTO 0 /**/
2278 * This symbol, if defined, indicates that the setservent() routine is
2281 /*#define HAS_SETSERVENT / **/
2284 * This symbol, if defined, indicates that the setvbuf routine is
2285 * available to change buffering on an open stdio stream.
2286 * to a line-buffered mode.
2288 #define HAS_SETVBUF /**/
2291 * This symbol, if defined, indicates that sfio should
2294 /*#define USE_SFIO / **/
2297 * This symbol, if defined, indicates that the entire shm*(2) library is
2300 /*#define HAS_SHM / **/
2303 * This symbol, if defined, indicates that Vr4's sigaction() routine
2306 #define HAS_SIGACTION /**/
2309 * This variable indicates to the C program that the sigsetjmp()
2310 * routine is available to save the calling process's registers
2311 * and stack environment for later use by siglongjmp(), and
2312 * to optionally save the process's signal mask. See
2313 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2316 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2319 * This macro is used in the same way as sigsetjmp(), but will invoke
2320 * traditional setjmp() if sigsetjmp isn't available.
2321 * See HAS_SIGSETJMP.
2324 * This macro is used in the same way as siglongjmp(), but will invoke
2325 * traditional longjmp() if siglongjmp isn't available.
2326 * See HAS_SIGSETJMP.
2328 #define HAS_SIGSETJMP /* config-skip */
2329 #ifdef HAS_SIGSETJMP
2330 #define Sigjmp_buf sigjmp_buf /* config-skip */
2331 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) /* config-skip */
2332 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) /* config-skip */
2334 #define Sigjmp_buf jmp_buf
2335 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2336 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2340 * This symbol, if defined, indicates that the BSD socket interface is
2344 * This symbol, if defined, indicates that the BSD socketpair() call is
2348 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2349 * Checking just with #ifdef might not be enough because this symbol
2350 * has been known to be an enum.
2352 /* HAS_MSG_DONTROUTE:
2353 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2354 * Checking just with #ifdef might not be enough because this symbol
2355 * has been known to be an enum.
2358 * This symbol, if defined, indicates that the MSG_OOB is supported.
2359 * Checking just with #ifdef might not be enough because this symbol
2360 * has been known to be an enum.
2363 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2364 * Checking just with #ifdef might not be enough because this symbol
2365 * has been known to be an enum.
2368 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2369 * Checking just with #ifdef might not be enough because this symbol
2370 * has been known to be an enum.
2373 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2374 * Checking just with #ifdef might not be enough because this symbol
2375 * has been known to be an enum.
2377 #define HAS_SOCKET /**/
2378 #define HAS_SOCKETPAIR /**/
2379 /*#define HAS_MSG_CTRUNC / **/
2380 /*#define HAS_MSG_DONTROUTE / **/
2381 /*#define HAS_MSG_OOB / **/
2382 /*#define HAS_MSG_PEEK / **/
2383 /*#define HAS_MSG_PROXY / **/
2384 /*#define HAS_SCM_RIGHTS / **/
2387 * This symbol, if defined, indicates that the socks5_init routine is
2388 * available to initialize SOCKS 5.
2390 /*#define HAS_SOCKS5_INIT / **/
2393 * This symbol, if defined, indicates that the sqrtl routine is
2394 * available to do long double square roots.
2396 /*#define HAS_SQRTL / **/
2399 * This symbol, if defined, indicates that the srand48_r routine
2400 * is available to srand48 re-entrantly.
2403 * This symbol encodes the prototype of srand48_r.
2404 * It is zero if d_srand48_r is undef, and one of the
2405 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2408 /*#define HAS_SRAND48_R / **/
2409 #define SRAND48_R_PROTO 0 /**/
2412 * This symbol, if defined, indicates that the srandom_r routine
2413 * is available to srandom re-entrantly.
2416 * This symbol encodes the prototype of srandom_r.
2417 * It is zero if d_srandom_r is undef, and one of the
2418 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2421 /*#define HAS_SRANDOM_R / **/
2422 #define SRANDOM_R_PROTO 0 /**/
2425 * This symbol is defined if this system has a stat structure declaring
2426 * st_blksize and st_blocks.
2428 #ifndef USE_STAT_BLOCKS
2429 /*#define USE_STAT_BLOCKS / **/
2432 /* HAS_STRUCT_STATFS_F_FLAGS:
2433 * This symbol, if defined, indicates that the struct statfs
2434 * does have the f_flags member containing the mount flags of
2435 * the filesystem containing the file.
2436 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2437 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2438 * have statfs() and struct statfs, they have ustat() and getmnt()
2439 * with struct ustat and struct fs_data.
2441 /*#define HAS_STRUCT_STATFS_F_FLAGS / **/
2443 /* HAS_STRUCT_STATFS:
2444 * This symbol, if defined, indicates that the struct statfs
2445 * to do statfs() is supported.
2447 /*#define HAS_STRUCT_STATFS / **/
2450 * This symbol, if defined, indicates that the fstatvfs routine is
2451 * available to stat filesystems by file descriptors.
2453 /*#define HAS_FSTATVFS / **/
2456 * This symbol is defined if the _ptr and _cnt fields (or similar)
2457 * of the stdio FILE structure can be used to access the stdio buffer
2458 * for a file handle. If this is defined, then the FILE_ptr(fp)
2459 * and FILE_cnt(fp) macros will also be defined and should be used
2460 * to access these fields.
2463 * This macro is used to access the _ptr field (or equivalent) of the
2464 * FILE structure pointed to by its argument. This macro will always be
2465 * defined if USE_STDIO_PTR is defined.
2467 /* STDIO_PTR_LVALUE:
2468 * This symbol is defined if the FILE_ptr macro can be used as an
2472 * This macro is used to access the _cnt field (or equivalent) of the
2473 * FILE structure pointed to by its argument. This macro will always be
2474 * defined if USE_STDIO_PTR is defined.
2476 /* STDIO_CNT_LVALUE:
2477 * This symbol is defined if the FILE_cnt macro can be used as an
2480 /* STDIO_PTR_LVAL_SETS_CNT:
2481 * This symbol is defined if using the FILE_ptr macro as an lvalue
2482 * to increase the pointer by n has the side effect of decreasing the
2483 * value of File_cnt(fp) by n.
2485 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2486 * This symbol is defined if using the FILE_ptr macro as an lvalue
2487 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2489 /*#define USE_STDIO_PTR / **/
2490 #ifdef USE_STDIO_PTR
2491 #define FILE_ptr(fp) ((fp)->_ptr)
2492 /*#define STDIO_PTR_LVALUE / **/
2493 #define FILE_cnt(fp) ((fp)->_cnt)
2494 /*#define STDIO_CNT_LVALUE / **/
2495 /*#define STDIO_PTR_LVAL_SETS_CNT / **/
2496 /*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/
2500 * This symbol is defined if the _base field (or similar) of the
2501 * stdio FILE structure can be used to access the stdio buffer for
2502 * a file handle. If this is defined, then the FILE_base(fp) macro
2503 * will also be defined and should be used to access this field.
2504 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2505 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2506 * will never be defined unless USE_STDIO_PTR is.
2509 * This macro is used to access the _base field (or equivalent) of the
2510 * FILE structure pointed to by its argument. This macro will always be
2511 * defined if USE_STDIO_BASE is defined.
2514 * This macro is used to determine the number of bytes in the I/O
2515 * buffer pointed to by _base field (or equivalent) of the FILE
2516 * structure pointed to its argument. This macro will always be defined
2517 * if USE_STDIO_BASE is defined.
2519 /*#define USE_STDIO_BASE / **/
2520 #ifdef USE_STDIO_BASE
2521 #define FILE_base(fp) ((fp)->_base)
2522 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
2526 * This symbol, if defined, indicates that the strerror routine is
2527 * available to translate error numbers to strings. See the writeup
2528 * of Strerror() in this file before you try to define your own.
2531 * This symbol, if defined, indicates that the sys_errlist array is
2532 * available to translate error numbers to strings. The extern int
2533 * sys_nerr gives the size of that table.
2536 * This preprocessor symbol is defined as a macro if strerror() is
2537 * not available to translate error numbers to strings but sys_errlist[]
2540 #define HAS_STRERROR /**/
2541 #define HAS_SYS_ERRLIST /**/
2542 #define Strerror(e) strerror(e)
2545 * This symbol, if defined, indicates that the strerror_r routine
2546 * is available to strerror re-entrantly.
2548 /* STRERROR_R_PROTO:
2549 * This symbol encodes the prototype of strerror_r.
2550 * It is zero if d_strerror_r is undef, and one of the
2551 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2554 /*#define HAS_STRERROR_R / **/
2555 #define STRERROR_R_PROTO 0 /**/
2558 * This symbol, if defined, indicates that the strtold routine is
2559 * available to convert strings to long doubles.
2561 /*#define HAS_STRTOLD / **/
2564 * This symbol, if defined, indicates that the strtoll routine is
2565 * available to convert strings to long longs.
2567 /*#define HAS_STRTOLL / **/
2570 * This symbol, if defined, indicates that the strtoq routine is
2571 * available to convert strings to long longs (quads).
2573 /*#define HAS_STRTOQ / **/
2576 * This symbol, if defined, indicates that the strtoul routine is
2577 * available to provide conversion of strings to unsigned long.
2579 #define HAS_STRTOUL /**/
2582 * This symbol, if defined, indicates that the strtoull routine is
2583 * available to convert strings to unsigned long longs.
2585 /*#define HAS_STRTOULL / **/
2588 * This symbol, if defined, indicates that the strtouq routine is
2589 * available to convert strings to unsigned long longs (quads).
2591 /*#define HAS_STRTOUQ / **/
2593 /* HAS_TELLDIR_PROTO:
2594 * This symbol, if defined, indicates that the system provides
2595 * a prototype for the telldir() function. Otherwise, it is up
2596 * to the program to supply one. A good guess is
2597 * extern long telldir(DIR*);
2599 /*#define HAS_TELLDIR_PROTO / **/
2602 * This symbol, if defined, indicates that the time() routine exists.
2605 * This symbol holds the type returned by time(). It can be long,
2606 * or time_t on BSD sites (in which case <sys/types.h> should be
2609 #define HAS_TIME /**/
2610 #define Time_t time_t /* Time type */
2613 * This symbol, if defined, indicates that the times() routine exists.
2614 * Note that this became obsolete on some systems (SUNOS), which now
2615 * use getrusage(). It may be necessary to include <sys/times.h>.
2617 #define HAS_TIMES /**/
2620 * This symbol, if defined, indicates that the tmpnam_r routine
2621 * is available to tmpnam re-entrantly.
2624 * This symbol encodes the prototype of tmpnam_r.
2625 * It is zero if d_tmpnam_r is undef, and one of the
2626 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2629 /*#define HAS_TMPNAM_R / **/
2630 #define TMPNAM_R_PROTO 0 /**/
2633 * This symbol, if defined, indicates that the ualarm routine is
2634 * available to do alarms with microsecond granularity.
2636 /*#define HAS_UALARM / **/
2639 * This symbol, if defined, indicates that the union semun is
2640 * defined by including <sys/sem.h>. If not, the user code
2641 * probably needs to define it as:
2644 * struct semid_ds *buf;
2645 * unsigned short *array;
2648 /* USE_SEMCTL_SEMUN:
2649 * This symbol, if defined, indicates that union semun is
2650 * used for semctl IPC_STAT.
2652 /* USE_SEMCTL_SEMID_DS:
2653 * This symbol, if defined, indicates that struct semid_ds * is
2654 * used for semctl IPC_STAT.
2656 /*#define HAS_UNION_SEMUN / **/
2657 /*#define USE_SEMCTL_SEMUN / **/
2658 /*#define USE_SEMCTL_SEMID_DS / **/
2661 * This symbol, if defined, indicates that the unordered routine is
2662 * available to check whether two doubles are unordered
2663 * (effectively: whether either of them is NaN)
2665 /*#define HAS_UNORDERED / **/
2668 * This symbol, if defined, indicates that the ustat system call is
2669 * available to query file system statistics by dev_t.
2671 /*#define HAS_USTAT / **/
2674 * This symbol, if defined, indicates that vfork() exists.
2676 /*#define HAS_VFORK / **/
2679 * This symbol's value is either "void" or "int", corresponding to the
2680 * appropriate return type of a signal handler. Thus, you can declare
2681 * a signal handler using "Signal_t (*handler)()", and define the
2682 * handler using "Signal_t handler(sig)".
2684 #define Signal_t void /* Signal handler's return type */
2687 * This symbol, if defined, indicates that the vprintf routine is available
2688 * to printf with a pointer to an argument list. If unavailable, you
2689 * may need to write your own, probably in terms of _doprnt().
2691 /* USE_CHAR_VSPRINTF:
2692 * This symbol is defined if this system has vsprintf() returning type
2693 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2694 * is up to the package author to declare vsprintf correctly based on the
2697 #define HAS_VPRINTF /**/
2698 #define USE_CHAR_VSPRINTF /**/
2701 * This symbol, if defined, indicates that the writev routine is
2702 * available to do scatter writes.
2704 #define HAS_WRITEV /**/
2706 /* USE_DYNAMIC_LOADING:
2707 * This symbol, if defined, indicates that dynamic loading of
2708 * some sort is available.
2710 /*#define USE_DYNAMIC_LOADING / **/
2713 * This symbol contains the size of a double, so that the C preprocessor
2714 * can make decisions based on it.
2716 #define DOUBLESIZE 8 /**/
2719 * This symbol, if defined, indicates that this system uses
2722 /*#define EBCDIC / **/
2725 * This symbol, if defined, tells that fflush(NULL) does flush
2726 * all pending stdio output.
2729 * This symbol, if defined, tells that to flush
2730 * all pending stdio output one must loop through all
2731 * the stdio file handles stored in an array and fflush them.
2732 * Note that if fflushNULL is defined, fflushall will not
2733 * even be probed for and will be left undefined.
2735 #define FFLUSH_NULL /**/
2736 /*#define FFLUSH_ALL / **/
2739 * This symbol holds the type used to declare file positions in libc.
2740 * It can be fpos_t, long, uint, etc... It may be necessary to include
2741 * <sys/types.h> to get any typedef'ed information.
2743 #define Fpos_t fpos_t /* File position type */
2746 * This symbol defines the format string used for printing a Gid_t.
2748 #define Gid_t_f "hd" /**/
2751 * This symbol holds the signedess of a Gid_t.
2752 * 1 for unsigned, -1 for signed.
2754 #define Gid_t_sign -1 /* GID sign */
2757 * This symbol holds the size of a Gid_t in bytes.
2759 #define Gid_t_size 2 /* GID size */
2762 * This symbol holds the return type of getgid() and the type of
2763 * argument to setrgid() and related functions. Typically,
2764 * it is the type of group ids in the kernel. It can be int, ushort,
2765 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2766 * any typedef'ed information.
2768 #define Gid_t gid_t /* Type for getgid(), etc... */ /* config-skip */
2771 * This symbol holds the type used for the second argument to
2772 * getgroups() and setgroups(). Usually, this is the same as
2773 * gidtype (gid_t) , but sometimes it isn't.
2774 * It can be int, ushort, gid_t, etc...
2775 * It may be necessary to include <sys/types.h> to get any
2776 * typedef'ed information. This is only required if you have
2777 * getgroups() or setgroups()..
2779 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2780 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2784 * This symbol contains the type of the prefix structure element
2785 * in the <db.h> header file. In older versions of DB, it was
2786 * int, while in newer ones it is u_int32_t.
2789 * This symbol contains the type of the prefix structure element
2790 * in the <db.h> header file. In older versions of DB, it was
2791 * int, while in newer ones it is size_t.
2793 /* DB_VERSION_MAJOR_CFG:
2794 * This symbol, if defined, defines the major version number of
2795 * Berkeley DB found in the <db.h> header when Perl was configured.
2797 /* DB_VERSION_MINOR_CFG:
2798 * This symbol, if defined, defines the minor version number of
2799 * Berkeley DB found in the <db.h> header when Perl was configured.
2800 * For DB version 1 this is always 0.
2802 /* DB_VERSION_PATCH_CFG:
2803 * This symbol, if defined, defines the patch version number of
2804 * Berkeley DB found in the <db.h> header when Perl was configured.
2805 * For DB version 1 this is always 0.
2807 #define DB_Hash_t u_int32_t /**/
2808 #define DB_Prefix_t size_t /**/
2809 #define DB_VERSION_MAJOR_CFG /**/
2810 #define DB_VERSION_MINOR_CFG /**/
2811 #define DB_VERSION_PATCH_CFG /**/
2814 * This symbol, if defined, indicates that <fp_class.h> exists and
2815 * should be included.
2817 /*#define I_FP_CLASS / **/
2820 * This symbol, if defined, indicates to the C program that it should
2824 * This symbol, if defined, indicates to the C program that struct group
2825 * in <grp.h> contains gr_passwd.
2828 /*#define GRPASSWD / **/
2831 * This symbol, if defined, indicates that <ieeefp.h> exists and
2832 * should be included.
2834 /*#define I_IEEEFP / **/
2837 * This symbol, if defined, indicates to the C program that it should
2838 * include <inttypes.h>.
2840 #define I_INTTYPES /**/
2843 * This symbol, if defined, indicates that <libutil.h> exists and
2844 * should be included.
2846 /*#define I_LIBUTIL / **/
2849 * This symbol, if defined, indicates to the C program that it should
2850 * include <mach/cthreads.h>.
2852 /*#define I_MACH_CTHREADS / **/
2855 * This symbol, if defined, indicates that <mntent.h> exists and
2856 * should be included.
2858 /*#define I_MNTENT / **/
2861 * This symbol, if defined, indicates that <netdb.h> exists and
2862 * should be included.
2864 #define I_NETDB /**/
2867 * This symbol, if defined, indicates to the C program that it should
2868 * include <netinet/tcp.h>.
2870 #define I_NETINET_TCP /**/
2873 * This symbol, if defined, indicates that <poll.h> exists and
2874 * should be included.
2876 /*#define I_POLL / **/
2879 * This symbol, if defined, indicates that <prot.h> exists and
2880 * should be included.
2882 /*#define I_PROT / **/
2885 * This symbol, if defined, indicates to the C program that it should
2886 * include <pthread.h>.
2888 /*#define I_PTHREAD / **/
2891 * This symbol, if defined, indicates to the C program that it should
2895 * This symbol, if defined, indicates to the C program that struct passwd
2896 * contains pw_quota.
2899 * This symbol, if defined, indicates to the C program that struct passwd
2903 * This symbol, if defined, indicates to the C program that struct passwd
2904 * contains pw_change.
2907 * This symbol, if defined, indicates to the C program that struct passwd
2908 * contains pw_class.
2911 * This symbol, if defined, indicates to the C program that struct passwd
2912 * contains pw_expire.
2915 * This symbol, if defined, indicates to the C program that struct passwd
2916 * contains pw_comment.
2919 * This symbol, if defined, indicates to the C program that struct passwd
2920 * contains pw_gecos.
2923 * This symbol, if defined, indicates to the C program that struct passwd
2924 * contains pw_passwd.
2927 /*#define PWQUOTA / **/
2928 /*#define PWAGE / **/
2929 /*#define PWCHANGE / **/
2930 /*#define PWCLASS / **/
2931 /*#define PWEXPIRE / **/
2932 /*#define PWCOMMENT / **/
2933 /*#define PWGECOS / **/
2934 /*#define PWPASSWD / **/
2937 * This symbol, if defined, indicates that <shadow.h> exists and
2938 * should be included.
2940 /*#define I_SHADOW / **/
2943 * This symbol, if defined, indicates that <socks.h> exists and
2944 * should be included.
2946 /*#define I_SOCKS / **/
2949 * This symbol, if defined, indicates that <sunmath.h> exists and
2950 * should be included.
2952 /*#define I_SUNMATH / **/
2955 * This symbol, if defined, indicates that <syslog.h> exists and
2956 * should be included.
2958 /*#define I_SYSLOG / **/
2961 * This symbol, if defined, indicates that <sys/mode.h> exists and
2962 * should be included.
2964 /*#define I_SYSMODE / **/
2967 * This symbol, if defined, indicates that <sys/mount.h> exists and
2968 * should be included.
2970 /*#define I_SYS_MOUNT / **/
2973 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2975 /*#define I_SYS_STATFS / **/
2978 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2979 * should be included.
2981 /*#define I_SYS_STATVFS / **/
2984 * This symbol, if defined, indicates that <sys/uio.h> exists and
2985 * should be included.
2987 #define I_SYSUIO /**/
2990 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2991 * should be included.
2993 #define I_SYSUTSNAME /**/
2996 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2997 * should be included.
2999 /*#define I_SYS_VFS / **/
3001 /* Plan 9: P9 has both <time.h> and <sys/time.h> */
3003 * This symbol, if defined, indicates to the C program that it should
3007 * This symbol, if defined, indicates to the C program that it should
3008 * include <sys/time.h>.
3010 #define I_SYS_TIME /**/
3013 /* I_SYS_TIME_KERNEL:
3014 * This symbol, if defined, indicates to the C program that it should
3015 * include <sys/time.h> with KERNEL defined.
3018 * This symbol, if defined, indicates to the C program that
3019 * the struct tm has a tm_zone field.
3022 /*#define I_SYS_TIME / **/
3023 /*#define I_SYS_TIME_KERNEL / **/
3024 /*#define HAS_TM_TM_ZONE / **/
3027 * This symbol, if defined, indicates that <ustat.h> exists and
3028 * should be included.
3030 /*#define I_USTAT / **/
3032 /* PERL_INC_VERSION_LIST:
3033 * This variable specifies the list of subdirectories in over
3034 * which perl.c:incpush() and lib/lib.pm will automatically
3035 * search when adding directories to @INC, in a format suitable
3036 * for a C initialization string. See the inc_version_list entry
3037 * in Porting/Glossary for more details.
3039 #define PERL_INC_VERSION_LIST 0 /**/
3041 /* INSTALL_USR_BIN_PERL:
3042 * This symbol, if defined, indicates that Perl is to be installed
3043 * also as /usr/bin/perl.
3045 /*#define INSTALL_USR_BIN_PERL / **/
3048 * This symbol, if defined, contains the string used by stdio to
3049 * format long doubles (format 'f') for output.
3052 * This symbol, if defined, contains the string used by stdio to
3053 * format long doubles (format 'g') for output.
3056 * This symbol, if defined, contains the string used by stdio to
3057 * format long doubles (format 'e') for output.
3060 * This symbol, if defined, contains the string used by stdio to
3061 * format long doubles (format 'f') for input.
3063 #define PERL_PRIfldbl "f" /**/
3064 #define PERL_PRIgldbl "g" /**/
3065 #define PERL_PRIeldbl "e" /**/
3066 #define PERL_SCNfldbl "f" /**/
3069 * This symbol holds the type used to declare offsets in the kernel.
3070 * It can be int, long, off_t, etc... It may be necessary to include
3071 * <sys/types.h> to get any typedef'ed information.
3074 * This symbol holds the number of bytes used by the Off_t.
3077 * This symbol holds the number of bytes used by the Off_t.
3079 #define Off_t off_t /* <offset> type */
3080 #define LSEEKSIZE 8 /* <offset> size */
3081 #define Off_t_size 8 /* <offset> size */
3084 * This variable contains the return type of free(). It is usually
3085 * void, but occasionally int.
3088 * This symbol is the type of pointer returned by malloc and realloc.
3090 #define Malloc_t void * /**/
3091 #define Free_t void /**/
3094 * This symbol, if defined, indicates that we're using our own malloc.
3096 #define MYMALLOC /**/
3099 * This symbol holds the type used to declare file modes
3100 * for systems calls. It is usually mode_t, but may be
3101 * int or unsigned short. It may be necessary to include <sys/types.h>
3102 * to get any typedef'ed information.
3104 #define Mode_t mode_t /* file mode parameter for system calls */
3107 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3108 * non-blocking I/O for the file descriptor. Note that there is no way
3109 * back, i.e. you cannot turn it blocking again this way. If you wish to
3110 * alternatively switch between blocking and non-blocking, use the
3111 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3114 * This symbol holds the errno error code set by read() when no data was
3115 * present on the non-blocking file descriptor.
3118 * This symbol holds the return code from read() when no data is present
3119 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3120 * not defined, then you can't distinguish between no data and EOF by
3121 * issuing a read(). You'll have to find another way to tell for sure!
3124 * This symbol, if defined, indicates to the C program that a read() on
3125 * a non-blocking file descriptor will return 0 on EOF, and not the value
3126 * held in RD_NODATA (-1 usually, in that case!).
3128 #define VAL_O_NONBLOCK O_NONBLOCK
3129 #define VAL_EAGAIN EAGAIN
3130 #define RD_NODATA -1
3131 #define EOF_NONBLOCK
3134 * This symbol, if defined, indicates that the system stores
3135 * the variable argument list datatype, va_list, in a format
3136 * that cannot be copied by simple assignment, so that some
3137 * other means must be used when copying is required.
3138 * As such systems vary in their provision (or non-provision)
3139 * of copying mechanisms, handy.h defines a platform-
3140 * independent macro, Perl_va_copy(src, dst), to do the job.
3142 /*#define NEED_VA_COPY / **/
3145 * This symbol holds the type used for the 1st argument
3146 * to gethostbyaddr().
3149 * This symbol holds the type used for the 2nd argument
3150 * to gethostbyaddr().
3153 * This symbol holds the type used for the argument to
3157 * This symbol holds the type used for the 1st argument to
3160 #define Netdb_host_t char * /**/
3161 #define Netdb_hlen_t size_t /**/
3162 #define Netdb_name_t char * /**/
3163 #define Netdb_net_t long /**/
3165 /* PERL_OTHERLIBDIRS:
3166 * This variable contains a colon-separated set of paths for the perl
3167 * binary to search for additional library files or modules.
3168 * These directories will be tacked to the end of @INC.
3169 * Perl will automatically search below each path for version-
3170 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3173 /*#define PERL_OTHERLIBDIRS " " / **/
3176 * This symbol defines the C type used for Perl's IV.
3179 * This symbol defines the C type used for Perl's UV.
3182 * This symbol defines the C type used for Perl's I8.
3185 * This symbol defines the C type used for Perl's U8.
3188 * This symbol defines the C type used for Perl's I16.
3191 * This symbol defines the C type used for Perl's U16.
3194 * This symbol defines the C type used for Perl's I32.
3197 * This symbol defines the C type used for Perl's U32.
3200 * This symbol defines the C type used for Perl's I64.
3203 * This symbol defines the C type used for Perl's U64.
3206 * This symbol defines the C type used for Perl's NV.
3209 * This symbol contains the sizeof(IV).
3212 * This symbol contains the sizeof(UV).
3215 * This symbol contains the sizeof(I8).
3218 * This symbol contains the sizeof(U8).
3221 * This symbol contains the sizeof(I16).
3224 * This symbol contains the sizeof(U16).
3227 * This symbol contains the sizeof(I32).
3230 * This symbol contains the sizeof(U32).
3233 * This symbol contains the sizeof(I64).
3236 * This symbol contains the sizeof(U64).
3239 * This symbol contains the sizeof(NV).
3242 * This symbol, if defined, indicates that a variable of type NVTYPE
3243 * can preserve all the bits of a variable of type UVTYPE.
3245 /* NV_PRESERVES_UV_BITS:
3246 * This symbol contains the number of bits a variable of type NVTYPE
3247 * can preserve of a variable of type UVTYPE.
3249 #define IVTYPE long /**/
3250 #define UVTYPE unsigned long /**/
3251 #define I8TYPE char /**/
3252 #define U8TYPE unsigned char /**/
3253 #define I16TYPE short /**/
3254 #define U16TYPE unsigned short /**/
3255 #define I32TYPE long /**/
3256 #define U32TYPE unsigned long /**/
3258 #define I64TYPE long long /**/
3259 #define U64TYPE unsigned long long /**/
3261 #define NVTYPE double /**/
3262 #define IVSIZE 4 /**/
3263 #define UVSIZE 4 /**/
3264 #define I8SIZE 1 /**/
3265 #define U8SIZE 1 /**/
3266 #define I16SIZE 2 /**/
3267 #define U16SIZE 2 /**/
3268 #define I32SIZE 4 /**/
3269 #define U32SIZE 4 /**/
3271 #define I64SIZE 8 /**/
3272 #define U64SIZE 8 /**/
3274 #define NVSIZE 8 /**/
3275 /*#define NV_PRESERVES_UV
3276 #define NV_PRESERVES_UV_BITS 31
3279 * This symbol defines the format string used for printing a Perl IV
3280 * as a signed decimal integer.
3283 * This symbol defines the format string used for printing a Perl UV
3284 * as an unsigned decimal integer.
3287 * This symbol defines the format string used for printing a Perl UV
3288 * as an unsigned octal integer.
3291 * This symbol defines the format string used for printing a Perl UV
3292 * as an unsigned hexadecimal integer in lowercase abcdef.
3295 * This symbol defines the format string used for printing a Perl UV
3296 * as an unsigned hexadecimal integer in uppercase ABCDEF.
3299 * This symbol defines the format string used for printing a Perl NV
3300 * using %e-ish floating point format.
3303 * This symbol defines the format string used for printing a Perl NV
3304 * using %f-ish floating point format.
3307 * This symbol defines the format string used for printing a Perl NV
3308 * using %g-ish floating point format.
3310 #define IVdf "ld" /**/
3311 #define UVuf "lu" /**/
3312 #define UVof "lo" /**/
3313 #define UVxf "lx" /**/
3314 #define UVXf "lX" /**/
3315 #define NVef "e" /**/
3316 #define NVff "f" /**/
3317 #define NVgf "g" /**/
3320 * This symbol holds the type used to declare process ids in the kernel.
3321 * It can be int, uint, pid_t, etc... It may be necessary to include
3322 * <sys/types.h> to get any typedef'ed information.
3324 #define Pid_t pid_t /* PID type */
3327 * This symbol contains the name of the private library for this package.
3328 * The library is private in the sense that it needn't be in anyone's
3329 * execution path, but it should be accessible by the world. The program
3330 * should be prepared to do ~ expansion.
3333 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3334 * in programs that are not prepared to deal with ~ expansion at run-time.
3336 #define PRIVLIB "/sys/lib/perl/5.8.0" /**/
3337 #define PRIVLIB_EXP "/sys/lib/perl/5.8.0" /**/
3340 * This symbol contains the size of a pointer, so that the C preprocessor
3341 * can make decisions based on it. It will be sizeof(void *) if
3342 * the compiler supports (void *); otherwise it will be
3345 #define PTRSIZE 4 /**/
3348 * This macro is to be used to generate uniformly distributed
3349 * random numbers over the range [0., 1.[. You may have to supply
3350 * an 'extern double drand48();' in your program since SunOS 4.1.3
3351 * doesn't provide you with anything relevant in its headers.
3352 * See HAS_DRAND48_PROTO.
3355 * This symbol defines the type of the argument of the
3356 * random seed function.
3359 * This symbol defines the macro to be used in seeding the
3360 * random number generator (see Drand01).
3363 * This symbol indicates how many bits are produced by the
3364 * function used to generate normalized random numbers.
3365 * Values include 15, 16, 31, and 48.
3367 #define Drand01() (rand() / (double) ((unsigned long)1 << 15)) /**/
3368 #define Rand_seed_t unsigned /**/
3369 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
3370 #define RANDBITS 15 /**/
3373 * This symbol holds the minimum number of bits operated by select.
3374 * That is, if you do select(n, ...), how many bits at least will be
3375 * cleared in the masks if some activity is detected. Usually this
3376 * is either n or 32*ceil(n/32), especially many little-endians do
3377 * the latter. This is only useful if you have select(), naturally.
3379 #define SELECT_MIN_BITS 32 /**/
3382 * This symbol holds the type used for the 2nd, 3rd, and 4th
3383 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3384 * is defined, and 'int *' otherwise. This is only useful if you
3385 * have select(), of course.
3387 #define Select_fd_set_t fd_set* /**/
3390 * This symbol contains a list of signal names in order of
3391 * signal number. This is intended
3392 * to be used as a static array initialization, like this:
3393 * char *sig_name[] = { SIG_NAME };
3394 * The signals in the list are separated with commas, and each signal
3395 * is surrounded by double quotes. There is no leading SIG in the signal
3396 * name, i.e. SIGQUIT is known as "QUIT".
3397 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3398 * etc., where nn is the actual signal number (e.g. NUM37).
3399 * The signal number for sig_name[i] is stored in sig_num[i].
3400 * The last element is 0 to terminate the list with a NULL. This
3401 * corresponds to the 0 at the end of the sig_num list.
3404 * This symbol contains a list of signal numbers, in the same order as the
3405 * SIG_NAME list. It is suitable for static array initialization, as in:
3406 * int sig_num[] = { SIG_NUM };
3407 * The signals in the list are separated with commas, and the indices
3408 * within that list and the SIG_NAME list match, so it's easy to compute
3409 * the signal name from a number or vice versa at the price of a small
3410 * dynamic linear lookup.
3411 * Duplicates are allowed, but are moved to the end of the list.
3412 * The signal number corresponding to sig_name[i] is sig_number[i].
3413 * if (i < NSIG) then sig_number[i] == i.
3414 * The last element is 0, corresponding to the 0 at the end of
3415 * the sig_name list.
3418 * This variable contains the number of elements of the sig_name
3419 * and sig_num arrays, excluding the final NULL entry.
3421 #define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "ABRT", "FPE", "KILL", "SEGV", "PIPE", "ALRM", "TERM", "USR1", "USR2", "BUS", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "NUM21", "NUM22", "NUM23", "NUM24", "NUM25", "NUM26", "NUM27", "NUM28", "NUM29", "NUM30", "NUM31", "NUM32", "NUM33", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", 0 /**/
3422 #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, 0 /**/
3423 #define SIG_SIZE 50 /**/
3426 * This symbol contains the name of the private library for this package.
3427 * The library is private in the sense that it needn't be in anyone's
3428 * execution path, but it should be accessible by the world. The program
3429 * should be prepared to do ~ expansion.
3430 * The standard distribution will put nothing in this directory.
3431 * After perl has been installed, users may install their own local
3432 * architecture-dependent modules in this directory with
3433 * MakeMaker Makefile.PL
3434 * or equivalent. See INSTALL for details.
3437 * This symbol contains the ~name expanded version of SITEARCH, to be used
3438 * in programs that are not prepared to deal with ~ expansion at run-time.
3440 #define SITEARCH_EXP "/_P9P_OBJTYPE/lib/perl/_P9P_VERSION/site_perl" /* */
3441 #define SITEARCH "/_P9P_OBJTYPE/lib/perl/_P9P_VERSION/site_perl" /* */
3445 * This symbol contains the name of the private library for this package.
3446 * The library is private in the sense that it needn't be in anyone's
3447 * execution path, but it should be accessible by the world. The program
3448 * should be prepared to do ~ expansion.
3449 * The standard distribution will put nothing in this directory.
3450 * After perl has been installed, users may install their own local
3451 * architecture-independent modules in this directory with
3452 * MakeMaker Makefile.PL
3453 * or equivalent. See INSTALL for details.
3456 * This symbol contains the ~name expanded version of SITELIB, to be used
3457 * in programs that are not prepared to deal with ~ expansion at run-time.
3460 * This define is SITELIB_EXP with any trailing version-specific component
3461 * removed. The elements in inc_version_list (inc_version_list.U) can
3462 * be tacked onto this variable to generate a list of directories to search.
3464 #define SITELIB "/sys/lib/perl/5.8.0/site_perl" /**/
3465 #define SITELIB_EXP "/sys/lib/perl/5.8.0/site_perl" /**/
3466 #define SITELIB_STEM "/sys/lib/perl/5.8.0/site_perl" /**/
3469 * This symbol holds the size of a Size_t in bytes.
3471 #define Size_t_size 4 /* */
3474 * This symbol holds the type used to declare length parameters
3475 * for string functions. It is usually size_t, but may be
3476 * unsigned long, int, etc. It may be necessary to include
3477 * <sys/types.h> to get any typedef'ed information.
3479 #define Size_t size_t /* length paramater for string functions */
3482 * This symbol holds the type used for the size argument of
3483 * various socket calls (just the base type, not the pointer-to).
3485 #define Sock_size_t int /**/
3488 * This symbol holds the type used by functions that return
3489 * a count of bytes or an error condition. It must be a signed type.
3490 * It is usually ssize_t, but may be long or int, etc.
3491 * It may be necessary to include <sys/types.h> or <unistd.h>
3492 * to get any typedef'ed information.
3493 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3495 #define SSize_t ssize_t /* signed count of bytes */
3498 * This variable contains the string to put in front of a perl
3499 * script to make sure (one hopes) that it runs with perl and not
3502 #define STARTPERL "#!/bin/perl" /**/
3505 * This symbol is defined to be the type of char used in stdio.h.
3506 * It has the values "unsigned char" or "char".
3508 #define STDCHAR char /**/
3510 /* HAS_STDIO_STREAM_ARRAY:
3511 * This symbol, if defined, tells that there is an array
3512 * holding the stdio streams.
3514 /* STDIO_STREAM_ARRAY:
3515 * This symbol tells the name of the array holding the stdio streams.
3516 * Usual values include _iob, __iob, and __sF.
3518 /*#define HAS_STDIO_STREAM_ARRAY / **/
3519 #define STDIO_STREAM_ARRAY
3522 * This symbol defines the format string used for printing a Uid_t.
3524 #define Uid_t_f "hd" /**/
3527 * This symbol holds the signedess of a Uid_t.
3528 * 1 for unsigned, -1 for signed.
3530 #define Uid_t_sign -1 /* UID sign */
3533 * This symbol holds the size of a Uid_t in bytes.
3535 #define Uid_t_size 2 /* UID size */
3538 * This symbol holds the type used to declare user ids in the kernel.
3539 * It can be int, ushort, uid_t, etc... It may be necessary to include
3540 * <sys/types.h> to get any typedef'ed information.
3542 #define Uid_t uid_t /* UID type */
3545 * This symbol, if defined, indicates that 64-bit integers should
3546 * be used when available. If not defined, the native integers
3547 * will be employed (be they 32 or 64 bits). The minimal possible
3548 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3549 * This may mean using for example "long longs", while your memory
3550 * may still be limited to 2 gigabytes.
3553 * This symbol, if defined, indicates that 64-bit integers should
3554 * be used when available. If not defined, the native integers
3555 * will be used (be they 32 or 64 bits). The maximal possible
3556 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3557 * be able to use more than 2 gigabytes of memory. This mode is
3558 * even more binary incompatible than USE_64_BIT_INT. You may not
3559 * be able to run the resulting executable in a 32-bit CPU at all or
3560 * you may need at least to reboot your OS to 64-bit mode.
3562 #ifndef USE_64_BIT_INT
3563 /*#define USE_64_BIT_INT / **/
3566 #ifndef USE_64_BIT_ALL
3567 /*#define USE_64_BIT_ALL / **/
3571 * This symbol, if defined, indicates that large file support
3572 * should be used when available.
3574 #ifndef USE_LARGE_FILES
3575 #define USE_LARGE_FILES /**/
3579 * This symbol, if defined, indicates that long doubles should
3580 * be used when available.
3582 #ifndef USE_LONG_DOUBLE
3583 /*#define USE_LONG_DOUBLE / **/
3587 * This symbol, if defined, indicates that 64-bit interfaces and
3588 * long doubles should be used when available.
3590 #ifndef USE_MORE_BITS
3591 /*#define USE_MORE_BITS / **/
3595 * This symbol, if defined, indicates that Perl should
3596 * be built to use multiplicity.
3598 #ifndef MULTIPLICITY
3599 /*#define MULTIPLICITY / **/
3603 * This symbol, if defined, indicates that the PerlIO abstraction should
3604 * be used throughout. If not defined, stdio should be
3605 * used in a fully backward compatible manner.
3608 #define USE_PERLIO /**/
3612 * This symbol, if defined, indicates that Perl should
3613 * be built to use socks.
3616 /*#define USE_SOCKS / **/
3620 * This symbol, if defined, indicates that Perl should be built to
3621 * use the interpreter-based threading implementation.
3624 * This symbol, if defined, indicates that Perl should be built to
3625 * use the 5.005-based threading implementation.
3627 /* OLD_PTHREADS_API:
3628 * This symbol, if defined, indicates that Perl should
3629 * be built to use the old draft POSIX threads API.
3631 /* USE_REENTRANT_API:
3632 * This symbol, if defined, indicates that Perl should
3633 * try to use the various _r versions of library functions.
3634 * This is extremely experimental.
3636 /*#define USE_5005THREADS / **/
3637 /*#define USE_ITHREADS / **/
3638 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3639 #define USE_THREADS /* until src is revised*/
3641 /*#define OLD_PTHREADS_API / **/
3642 /*#define USE_REENTRANT_API / **/
3645 * If defined, this symbol contains the name of a private library.
3646 * The library is private in the sense that it needn't be in anyone's
3647 * execution path, but it should be accessible by the world.
3648 * It may have a ~ on the front.
3649 * The standard distribution will put nothing in this directory.
3650 * Vendors who distribute perl may wish to place their own
3651 * architecture-dependent modules and extensions in this directory with
3652 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3653 * or equivalent. See INSTALL for details.
3655 /* PERL_VENDORARCH_EXP:
3656 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3657 * in programs that are not prepared to deal with ~ expansion at run-time.
3659 /*#define PERL_VENDORARCH "" / **/
3660 /*#define PERL_VENDORARCH_EXP "" / **/
3662 /* PERL_VENDORLIB_EXP:
3663 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3664 * in programs that are not prepared to deal with ~ expansion at run-time.
3666 /* PERL_VENDORLIB_STEM:
3667 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3668 * removed. The elements in inc_version_list (inc_version_list.U) can
3669 * be tacked onto this variable to generate a list of directories to search.
3671 /*#define PERL_VENDORLIB_EXP "" / **/
3672 /*#define PERL_VENDORLIB_STEM "" / **/
3675 * This symbol indicates how much support of the void type is given by this
3676 * compiler. What various bits mean:
3678 * 1 = supports declaration of void
3679 * 2 = supports arrays of pointers to functions returning void
3680 * 4 = supports comparisons between pointers to void functions and
3681 * addresses of void functions
3682 * 8 = suports declaration of generic void pointers
3684 * The package designer should define VOIDUSED to indicate the requirements
3685 * of the package. This can be done either by #defining VOIDUSED before
3686 * including config.h, or by defining defvoidused in Myinit.U. If the
3687 * latter approach is taken, only those flags will be tested. If the
3688 * level of void support necessary is not present, defines void to int.
3693 #define VOIDFLAGS 15
3694 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3695 #define void int /* is void to be avoided? */
3696 #define M_VOID /* Xenix strikes again */
3699 /* PERL_XS_APIVERSION:
3700 * This variable contains the version of the oldest perl binary
3701 * compatible with the present perl. perl.c:incpush() and
3702 * lib/lib.pm will automatically search in /sys/lib/perl/5.8.0/site_perl/386 for older
3703 * directories across major versions back to xs_apiversion.
3704 * This is only useful if you have a perl library directory tree
3705 * structured like the default one.
3706 * See INSTALL for how this works.
3707 * The versioned site_perl directory was introduced in 5.005,
3708 * so that is the lowest possible value.
3709 * Since this can depend on compile time options
3710 * it is set by Configure. Other non-default sources
3711 * of potential incompatibility, such as multiplicity, threads,
3712 * debugging, 64bits, sfio, etc., are not checked for currently,
3713 * though in principle we could go snooping around in old
3716 /* PERL_PM_APIVERSION:
3717 * This variable contains the version of the oldest perl
3718 * compatible with the present perl. (That is, pure perl modules
3719 * written for pm_apiversion will still work for the current
3720 * version). perl.c:incpush() and lib/lib.pm will automatically
3721 * search in /sys/lib/perl/5.8.0/site_perl for older directories across major versions
3722 * back to pm_apiversion. This is only useful if you have a perl
3723 * library directory tree structured like the default one. The
3724 * versioned site_perl library was introduced in 5.005, so that's
3725 * the default setting for this variable. It's hard to imagine
3726 * it changing before Perl6. It is included here for symmetry
3727 * with xs_apiveprsion -- the searching algorithms will
3728 * (presumably) be similar.
3729 * See the INSTALL file for how this works.
3731 #define PERL_XS_APIVERSION "5.8.0"
3732 #define PERL_PM_APIVERSION "5.005"
3735 * This symbol, if defined, indicates that the crypt routine is available
3736 * to encrypt passwords and the like.
3738 /*#define HAS_CRYPT / **/
3740 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
3741 * This symbol, if defined, indicates that the bug that prevents
3742 * setuid scripts from being secure is not present in this kernel.
3745 * This symbol, if defined, indicates that the C program should
3746 * check the script that it is executing for setuid/setgid bits, and
3747 * attempt to emulate setuid/setgid on systems that have disabled
3748 * setuid #! scripts because the kernel can't do it securely.
3749 * It is up to the package designer to make sure that this emulation
3750 * is done securely. Among other things, it should do an fstat on
3751 * the script it just opened to make sure it really is a setuid/setgid
3752 * script, it should make sure the arguments passed correspond exactly
3753 * to the argument on the #! line, and it should not trust any
3754 * subprocesses to which it must pass the filename rather than the
3755 * file descriptor of the script to be executed.
3757 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
3758 /*#define DOSUID / **/
3761 * This symbol holds the return type of the shmat() system call.
3762 * Usually set to 'void *' or 'char *'.
3764 /* HAS_SHMAT_PROTOTYPE:
3765 * This symbol, if defined, indicates that the sys/shm.h includes
3766 * a prototype for shmat(). Otherwise, it is up to the program to
3767 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
3768 * but not always right so it should be emitted by the program only
3769 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
3771 #define Shmat_t /* config-skip */
3772 /*#define HAS_SHMAT_PROTOTYPE / **/
3775 * This symbol, if defined, indicates that <ndbm.h> exists and should
3778 /*#define I_NDBM / **/
3781 * This symbol, if defined, indicates that <stdarg.h> exists and should
3785 * This symbol, if defined, indicates to the C program that it should
3786 * include <varargs.h>.
3788 #define I_STDARG /**/
3789 /*#define I_VARARGS / **/
3792 * If defined, this macro indicates that the C compiler can handle
3793 * function prototypes.
3796 * This macro is used to declare function parameters for folks who want
3797 * to make declarations with prototypes using a different style than
3798 * the above macros. Use double parentheses. For example:
3800 * int main _((int argc, char *argv[]));
3802 #define CAN_PROTOTYPE /**/
3803 #ifdef CAN_PROTOTYPE
3804 #define _(args) args
3810 * This symbol contains the full pathname to the shell used on this
3811 * on this system to execute Bourne shell scripts. Usually, this will be
3812 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3813 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3816 #define SH_PATH "/bin/sh" /* config-skip */
3818 /* USE_CROSS_COMPILE:
3819 * This symbol, if defined, indicates that Perl is being cross-compiled.
3822 * This symbol, if defined, indicates the target architecture
3823 * Perl has been cross-compiled to. Undefined if not a cross-compile.
3825 #ifndef USE_CROSS_COMPILE
3826 /*#define USE_CROSS_COMPILE / **/
3827 #define PERL_TARGETARCH "" /**/
3830 /* HAS_DBMINIT_PROTO:
3831 * This symbol, if defined, indicates that the system provides
3832 * a prototype for the dbminit() function. Otherwise, it is up
3833 * to the program to supply one. A good guess is
3834 * extern int dbminit(char *);
3836 /*#define HAS_DBMINIT_PROTO / **/
3839 * This manifest constant lets the C program know that dirfd
3842 /*#define HAS_DIRFD / **/
3845 * This symbol, if defined, indicates that the system provides
3846 * a prototype for the flock() function. Otherwise, it is up
3847 * to the program to supply one. A good guess is
3848 * extern int flock(int, int);
3850 /*#define HAS_FLOCK_PROTO / **/
3853 * This symbol, if defined, indicates that the fpclassl routine is
3854 * available to classify long doubles. Available for example in IRIX.
3855 * The returned values are defined in <ieeefp.h> and are:
3857 * FP_SNAN signaling NaN
3859 * FP_NINF negative infinity
3860 * FP_PINF positive infinity
3861 * FP_NDENORM negative denormalized non-zero
3862 * FP_PDENORM positive denormalized non-zero
3863 * FP_NZERO negative zero
3864 * FP_PZERO positive zero
3865 * FP_NNORM negative normalized non-zero
3866 * FP_PNORM positive normalized non-zero
3868 /*#define HAS_FPCLASSL / **/
3871 * This symbol, if defined, indicates that the nl_langinfo routine is
3872 * available to return local data. You will also need <langinfo.h>
3873 * and therefore I_LANGINFO.
3875 /*#define HAS_NL_LANGINFO / **/
3878 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3879 * to the absolute pathname of the executing program.
3881 /* PROCSELFEXE_PATH:
3882 * If HAS_PROCSELFEXE is defined this symbol is the filename
3883 * of the symbolic link pointing to the absolute pathname of
3884 * the executing program.
3886 /*#define HAS_PROCSELFEXE / **/
3887 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3888 #define PROCSELFEXE_PATH /**/
3892 * This symbol, if defined, indicates that the sigprocmask
3893 * system call is available to examine or change the signal mask
3894 * of the calling process.
3896 #define HAS_SIGPROCMASK /**/
3899 * This symbol, if defined, indicates that the sockatmark routine is
3900 * available to test whether a socket is at the out-of-band mark.
3902 /*#define HAS_SOCKATMARK / **/
3904 /* HAS_SOCKATMARK_PROTO:
3905 * This symbol, if defined, indicates that the system provides
3906 * a prototype for the sockatmark() function. Otherwise, it is up
3907 * to the program to supply one. A good guess is
3908 * extern int sockatmark(int);
3910 /*#define HAS_SOCKATMARK_PROTO / **/
3912 /* HAS_SETRESGID_PROTO:
3913 * This symbol, if defined, indicates that the system provides
3914 * a prototype for the setresgid() function. Otherwise, it is up
3915 * to the program to supply one. Good guesses are
3916 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3918 /*#define HAS_SETRESGID_PROTO / **/
3920 /* HAS_SETRESUID_PROTO:
3921 * This symbol, if defined, indicates that the system provides
3922 * a prototype for the setresuid() function. Otherwise, it is up
3923 * to the program to supply one. Good guesses are
3924 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3926 /*#define HAS_SETRESUID_PROTO / **/
3929 * This symbol, if defined, indicates that the strftime routine is
3930 * available to do time formatting.
3932 #define HAS_STRFTIME /**/
3934 /* HAS_SYSCALL_PROTO:
3935 * This symbol, if defined, indicates that the system provides
3936 * a prototype for the syscall() function. Otherwise, it is up
3937 * to the program to supply one. Good guesses are
3938 * extern int syscall(int, ...);
3939 * extern int syscall(long, ...);
3941 /*#define HAS_SYSCALL_PROTO / **/
3943 /* U32_ALIGNMENT_REQUIRED:
3944 * This symbol, if defined, indicates that you must access
3945 * character data through U32-aligned pointers.
3947 #ifndef U32_ALIGNMENT_REQUIRED
3948 #define U32_ALIGNMENT_REQUIRED /**/
3951 /* HAS_USLEEP_PROTO:
3952 * This symbol, if defined, indicates that the system provides
3953 * a prototype for the usleep() function. Otherwise, it is up
3954 * to the program to supply one. A good guess is
3955 * extern int usleep(useconds_t);
3957 /*#define HAS_USLEEP_PROTO / **/
3960 * This symbol, if defined, indicates that <crypt.h> exists and
3961 * should be included.
3963 /*#define I_CRYPT / **/
3966 * This symbol, if defined, indicates that <fp.h> exists and
3967 * should be included.
3969 /*#define I_FP / **/
3972 * This symbol, if defined, indicates that <langinfo.h> exists and
3973 * should be included.
3975 /*#define I_LANGINFO / **/
3978 * This symbol, if defined, indicates that the ctermid_r routine
3979 * is available to ctermid re-entrantly.
3982 * This symbol encodes the prototype of ctermid_r.
3983 * It is zero if d_ctermid_r is undef, and one of the
3984 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
3987 /*#define HAS_CTERMID_R / **/
3988 #define CTERMID_R_PROTO 0 /**/
3990 /* HAS_ENDHOSTENT_R:
3991 * This symbol, if defined, indicates that the endhostent_r routine
3992 * is available to endhostent re-entrantly.
3994 /* ENDHOSTENT_R_PROTO:
3995 * This symbol encodes the prototype of endhostent_r.
3996 * It is zero if d_endhostent_r is undef, and one of the
3997 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
4000 /*#define HAS_ENDHOSTENT_R / **/
4001 #define ENDHOSTENT_R_PROTO 0 /**/
4004 * This symbol, if defined, indicates that the endnetent_r routine
4005 * is available to endnetent re-entrantly.
4007 /* ENDNETENT_R_PROTO:
4008 * This symbol encodes the prototype of endnetent_r.
4009 * It is zero if d_endnetent_r is undef, and one of the
4010 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
4013 /*#define HAS_ENDNETENT_R / **/
4014 #define ENDNETENT_R_PROTO 0 /**/
4016 /* HAS_ENDPROTOENT_R:
4017 * This symbol, if defined, indicates that the endprotoent_r routine
4018 * is available to endprotoent re-entrantly.
4020 /* ENDPROTOENT_R_PROTO:
4021 * This symbol encodes the prototype of endprotoent_r.
4022 * It is zero if d_endprotoent_r is undef, and one of the
4023 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
4026 /*#define HAS_ENDPROTOENT_R / **/
4027 #define ENDPROTOENT_R_PROTO 0 /**/
4029 /* HAS_ENDSERVENT_R:
4030 * This symbol, if defined, indicates that the endservent_r routine
4031 * is available to endservent re-entrantly.
4033 /* ENDSERVENT_R_PROTO:
4034 * This symbol encodes the prototype of endservent_r.
4035 * It is zero if d_endservent_r is undef, and one of the
4036 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
4039 /*#define HAS_ENDSERVENT_R / **/
4040 #define ENDSERVENT_R_PROTO 0 /**/
4042 /* HAS_GETHOSTBYADDR_R:
4043 * This symbol, if defined, indicates that the gethostbyaddr_r routine
4044 * is available to gethostbyaddr re-entrantly.
4046 /* GETHOSTBYADDR_R_PROTO:
4047 * This symbol encodes the prototype of gethostbyaddr_r.
4048 * It is zero if d_gethostbyaddr_r is undef, and one of the
4049 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
4052 /*#define HAS_GETHOSTBYADDR_R / **/
4053 #define GETHOSTBYADDR_R_PROTO 0 /**/
4055 /* HAS_GETHOSTBYNAME_R:
4056 * This symbol, if defined, indicates that the gethostbyname_r routine
4057 * is available to gethostbyname re-entrantly.
4059 /* GETHOSTBYNAME_R_PROTO:
4060 * This symbol encodes the prototype of gethostbyname_r.
4061 * It is zero if d_gethostbyname_r is undef, and one of the
4062 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
4065 /*#define HAS_GETHOSTBYNAME_R / **/
4066 #define GETHOSTBYNAME_R_PROTO 0 /**/
4068 /* HAS_GETHOSTENT_R:
4069 * This symbol, if defined, indicates that the gethostent_r routine
4070 * is available to gethostent re-entrantly.
4072 /* GETHOSTENT_R_PROTO:
4073 * This symbol encodes the prototype of gethostent_r.
4074 * It is zero if d_gethostent_r is undef, and one of the
4075 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
4078 /*#define HAS_GETHOSTENT_R /* config-skip */
4079 #define GETHOSTENT_R_PROTO 0 /**/
4081 /* HAS_GETNETBYADDR_R:
4082 * This symbol, if defined, indicates that the getnetbyaddr_r routine
4083 * is available to getnetbyaddr re-entrantly.
4085 /* GETNETBYADDR_R_PROTO:
4086 * This symbol encodes the prototype of getnetbyaddr_r.
4087 * It is zero if d_getnetbyaddr_r is undef, and one of the
4088 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
4091 /*#define HAS_GETNETBYADDR_R / **/
4092 #define GETNETBYADDR_R_PROTO 0 /**/
4094 /* HAS_GETNETBYNAME_R:
4095 * This symbol, if defined, indicates that the getnetbyname_r routine
4096 * is available to getnetbyname re-entrantly.
4098 /* GETNETBYNAME_R_PROTO:
4099 * This symbol encodes the prototype of getnetbyname_r.
4100 * It is zero if d_getnetbyname_r is undef, and one of the
4101 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
4104 /*#define HAS_GETNETBYNAME_R / **/
4105 #define GETNETBYNAME_R_PROTO 0 /**/
4108 * This symbol, if defined, indicates that the getnetent_r routine
4109 * is available to getnetent re-entrantly.
4111 /* GETNETENT_R_PROTO:
4112 * This symbol encodes the prototype of getnetent_r.
4113 * It is zero if d_getnetent_r is undef, and one of the
4114 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
4117 /*#define HAS_GETNETENT_R / **/
4118 #define GETNETENT_R_PROTO 0 /**/
4120 /* HAS_GETPROTOBYNAME_R:
4121 * This symbol, if defined, indicates that the getprotobyname_r routine
4122 * is available to getprotobyname re-entrantly.
4124 /* GETPROTOBYNAME_R_PROTO:
4125 * This symbol encodes the prototype of getprotobyname_r.
4126 * It is zero if d_getprotobyname_r is undef, and one of the
4127 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
4130 /*#define HAS_GETPROTOBYNAME_R / **/
4131 #define GETPROTOBYNAME_R_PROTO 0 /**/
4133 /* HAS_GETPROTOBYNUMBER_R:
4134 * This symbol, if defined, indicates that the getprotobynumber_r routine
4135 * is available to getprotobynumber re-entrantly.
4137 /* GETPROTOBYNUMBER_R_PROTO:
4138 * This symbol encodes the prototype of getprotobynumber_r.
4139 * It is zero if d_getprotobynumber_r is undef, and one of the
4140 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
4143 /*#define HAS_GETPROTOBYNUMBER_R / **/
4144 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
4146 /* HAS_GETPROTOENT_R:
4147 * This symbol, if defined, indicates that the getprotoent_r routine
4148 * is available to getprotoent re-entrantly.
4150 /* GETPROTOENT_R_PROTO:
4151 * This symbol encodes the prototype of getprotoent_r.
4152 * It is zero if d_getprotoent_r is undef, and one of the
4153 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
4156 /*#define HAS_GETPROTOENT_R / **/
4157 #define GETPROTOENT_R_PROTO 0 /**/
4159 /* HAS_GETSERVBYNAME_R:
4160 * This symbol, if defined, indicates that the getservbyname_r routine
4161 * is available to getservbyname re-entrantly.
4163 /* GETSERVBYNAME_R_PROTO:
4164 * This symbol encodes the prototype of getservbyname_r.
4165 * It is zero if d_getservbyname_r is undef, and one of the
4166 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
4169 /*#define HAS_GETSERVBYNAME_R / **/
4170 #define GETSERVBYNAME_R_PROTO 0 /**/
4172 /* HAS_GETSERVBYPORT_R:
4173 * This symbol, if defined, indicates that the getservbyport_r routine
4174 * is available to getservbyport re-entrantly.
4176 /* GETSERVBYPORT_R_PROTO:
4177 * This symbol encodes the prototype of getservbyport_r.
4178 * It is zero if d_getservbyport_r is undef, and one of the
4179 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
4182 /*#define HAS_GETSERVBYPORT_R / **/
4183 #define GETSERVBYPORT_R_PROTO 0 /**/
4185 /* HAS_GETSERVENT_R:
4186 * This symbol, if defined, indicates that the getservent_r routine
4187 * is available to getservent re-entrantly.
4189 /* GETSERVENT_R_PROTO:
4190 * This symbol encodes the prototype of getservent_r.
4191 * It is zero if d_getservent_r is undef, and one of the
4192 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
4195 /*#define HAS_GETSERVENT_R / **/
4196 #define GETSERVENT_R_PROTO 0 /**/
4198 /* HAS_PTHREAD_ATFORK:
4199 * This symbol, if defined, indicates that the pthread_atfork routine
4200 * is available setup fork handlers.
4202 /*#define HAS_PTHREAD_ATFORK / **/
4205 * This symbol, if defined, indicates that the readdir64_r routine
4206 * is available to readdir64 re-entrantly.
4208 /* READDIR64_R_PROTO:
4209 * This symbol encodes the prototype of readdir64_r.
4210 * It is zero if d_readdir64_r is undef, and one of the
4211 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
4214 /*#define HAS_READDIR64_R / **/
4215 #define READDIR64_R_PROTO 0 /**/
4217 /* HAS_SETHOSTENT_R:
4218 * This symbol, if defined, indicates that the sethostent_r routine
4219 * is available to sethostent re-entrantly.
4221 /* SETHOSTENT_R_PROTO:
4222 * This symbol encodes the prototype of sethostent_r.
4223 * It is zero if d_sethostent_r is undef, and one of the
4224 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
4227 /*#define HAS_SETHOSTENT_R / **/
4228 #define SETHOSTENT_R_PROTO 0 /**/
4231 * This symbol, if defined, indicates that the setlocale_r routine
4232 * is available to setlocale re-entrantly.
4234 /* SETLOCALE_R_PROTO:
4235 * This symbol encodes the prototype of setlocale_r.
4236 * It is zero if d_setlocale_r is undef, and one of the
4237 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
4240 /*#define HAS_SETLOCALE_R / **/
4241 #define SETLOCALE_R_PROTO 0 /**/
4244 * This symbol, if defined, indicates that the setnetent_r routine
4245 * is available to setnetent re-entrantly.
4247 /* SETNETENT_R_PROTO:
4248 * This symbol encodes the prototype of setnetent_r.
4249 * It is zero if d_setnetent_r is undef, and one of the
4250 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
4253 /*#define HAS_SETNETENT_R / **/
4254 #define SETNETENT_R_PROTO 0 /**/
4256 /* HAS_SETPROTOENT_R:
4257 * This symbol, if defined, indicates that the setprotoent_r routine
4258 * is available to setprotoent re-entrantly.
4260 /* SETPROTOENT_R_PROTO:
4261 * This symbol encodes the prototype of setprotoent_r.
4262 * It is zero if d_setprotoent_r is undef, and one of the
4263 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
4266 /*#define HAS_SETPROTOENT_R / **/
4267 #define SETPROTOENT_R_PROTO 0 /**/
4269 /* HAS_SETSERVENT_R:
4270 * This symbol, if defined, indicates that the setservent_r routine
4271 * is available to setservent re-entrantly.
4273 /* SETSERVENT_R_PROTO:
4274 * This symbol encodes the prototype of setservent_r.
4275 * It is zero if d_setservent_r is undef, and one of the
4276 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
4279 /*#define HAS_SETSERVENT_R / **/
4280 #define SETSERVENT_R_PROTO 0 /**/
4283 * This symbol, if defined, indicates that the ttyname_r routine
4284 * is available to ttyname re-entrantly.
4287 * This symbol encodes the prototype of ttyname_r.
4288 * It is zero if d_ttyname_r is undef, and one of the
4289 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
4292 /*#define HAS_TTYNAME_R / **/
4293 #define TTYNAME_R_PROTO 0 /**/