3 # THIS IS A GENERATED FILE
6 # See Porting/config_h.pl
8 : Set up for generating config_h.SH
10 '') CONFIG_SH=config.sh;;
13 '') CONFIG_H=config.h;;
15 case $PERL_CONFIG_SH in
17 if test -f $CONFIG_SH; then TOP=.;
18 elif test -f ../$CONFIG_SH; then TOP=..;
19 elif test -f ../../$CONFIG_SH; then TOP=../..;
20 elif test -f ../../../$CONFIG_SH; then TOP=../../..;
21 elif test -f ../../../../$CONFIG_SH; then TOP=../../../..;
23 echo "Can't find $CONFIG_SH."; exit 1
29 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
32 already-done) echo "Not re-extracting config.h" ;;
34 echo "Extracting $CONFIG_H (with variable substitutions)"
35 sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
36 /* This file was produced by running the config_h.SH script, which
37 * gets its values from $CONFIG_SH, which is generally produced by
40 * Feel free to modify any of this as the need arises. Note, however,
41 * that running config_h.SH again will wipe out any changes you've made.
42 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
45 /* Package name : $package
46 * Source directory : $src
47 * Configuration time: $cf_time
48 * Configured by : $cf_by
49 * Target system : $myuname
56 * This symbol holds the complete pathname to the sed program.
58 #define LOC_SED "$full_sed" /**/
61 * This symbol, if defined, indicates that the alarm routine is
64 #$d_alarm HAS_ALARM /**/
67 * This symbol is defined if the bcmp() routine is available to
68 * compare blocks of memory.
70 #$d_bcmp HAS_BCMP /**/
73 * This symbol is defined if the bcopy() routine is available to
74 * copy blocks of memory.
76 #$d_bcopy HAS_BCOPY /**/
79 * This symbol is defined if the bzero() routine is available to
80 * set a memory block to 0.
82 #$d_bzero HAS_BZERO /**/
85 * This symbol, if defined, indicates that the chown routine is
88 #$d_chown HAS_CHOWN /**/
91 * This symbol, if defined, indicates that the chroot routine is
94 #$d_chroot HAS_CHROOT /**/
97 * This symbol, if defined, indicates that the chsize routine is available
98 * to truncate files. You might need a -lx to get this routine.
100 #$d_chsize HAS_CHSIZE /**/
103 * This symbol, if defined, indicates that the crypt routine is available
104 * to encrypt passwords and the like.
106 #$d_crypt HAS_CRYPT /**/
109 * This symbol, if defined, indicates that the ctermid routine is
110 * available to generate filename for terminal.
112 #$d_ctermid HAS_CTERMID /**/
115 * This symbol, if defined, indicates that the cuserid routine is
116 * available to get character login names.
118 #$d_cuserid HAS_CUSERID /**/
121 * This symbol, if defined, indicates that this system's <float.h>
122 * or <limits.h> defines the symbol DBL_DIG, which is the number
123 * of significant digits in a double precision number. If this
124 * symbol is not defined, a guess of 15 is usually pretty good.
126 #$d_dbl_dig HAS_DBL_DIG /**/
129 * This symbol, if defined, indicates that the difftime routine is
132 #$d_difftime HAS_DIFFTIME /**/
135 * This symbol, if defined, indicates that the dlerror routine is
136 * available to return a string describing the last error that
137 * occurred from a call to dlopen(), dlclose() or dlsym().
139 #$d_dlerror HAS_DLERROR /**/
142 * This symbol, if defined, indicates that the dup2 routine is
143 * available to duplicate file descriptors.
145 #$d_dup2 HAS_DUP2 /**/
148 * This symbol, if defined, indicates that the fchmod routine is available
149 * to change mode of opened files. If unavailable, use chmod().
151 #$d_fchmod HAS_FCHMOD /**/
154 * This symbol, if defined, indicates that the fchown routine is available
155 * to change ownership of opened files. If unavailable, use chown().
157 #$d_fchown HAS_FCHOWN /**/
160 * This symbol, if defined, indicates to the C program that
161 * the fcntl() function exists.
163 #$d_fcntl HAS_FCNTL /**/
166 * This symbol, if defined, indicates that the fgetpos routine is
167 * available to get the file position indicator, similar to ftell().
169 #$d_fgetpos HAS_FGETPOS /**/
172 * This symbol, if defined, indicates that the flock routine is
173 * available to do file locking.
175 #$d_flock HAS_FLOCK /**/
178 * This symbol, if defined, indicates that the fork routine is
181 #$d_fork HAS_FORK /**/
184 * This symbol, if defined, indicates that the fsetpos routine is
185 * available to set the file position indicator, similar to fseek().
187 #$d_fsetpos HAS_FSETPOS /**/
190 * This symbol, if defined, indicates that the gettimeofday() system
191 * call is available for a sub-second accuracy clock. Usually, the file
192 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
193 * The type "Timeval" should be used to refer to "struct timeval".
195 #$d_gettimeod HAS_GETTIMEOFDAY /**/
196 #ifdef HAS_GETTIMEOFDAY
197 #define Timeval struct timeval /* Structure used by gettimeofday() */
201 * This symbol, if defined, indicates that the getgroups() routine is
202 * available to get the list of process groups. If unavailable, multiple
203 * groups are probably not supported.
205 #$d_getgrps HAS_GETGROUPS /**/
208 * This symbol, if defined, indicates that the getlogin routine is
209 * available to get the login name.
211 #$d_getlogin HAS_GETLOGIN /**/
214 * This symbol, if defined, indicates to the C program that
215 * the getpgid(pid) function is available to get the
218 #$d_getpgid HAS_GETPGID /**/
221 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
222 * routine is available to get the current process group.
224 #$d_getpgrp2 HAS_GETPGRP2 /**/
227 * This symbol, if defined, indicates that the getppid routine is
228 * available to get the parent process ID.
230 #$d_getppid HAS_GETPPID /**/
233 * This symbol, if defined, indicates that the getpriority routine is
234 * available to get a process's priority.
236 #$d_getprior HAS_GETPRIORITY /**/
239 * This symbol, if defined, indicates to the C program that the
240 * inet_aton() function is available to parse IP address "dotted-quad"
243 #$d_inetaton HAS_INET_ATON /**/
246 * This symbol, if defined, indicates that the killpg routine is available
247 * to kill process groups. If unavailable, you probably should use kill
248 * with a negative process number.
250 #$d_killpg HAS_KILLPG /**/
253 * This symbol, if defined, indicates that the link routine is
254 * available to create hard links.
256 #$d_link HAS_LINK /**/
259 * This symbol, if defined, indicates that the localeconv routine is
260 * available for numeric and monetary formatting conventions.
262 #$d_locconv HAS_LOCALECONV /**/
264 /* HAS_LC_MONETARY_2008:
265 * This symbol, if defined, indicates that the localeconv routine is
266 * available and has the additional members added in POSIX 1003.1-2008.
268 #$d_lc_monetary_2008 HAS_LC_MONETARY_2008 /**/
271 * This symbol, if defined, indicates that the lockf routine is
272 * available to do file locking.
274 #$d_lockf HAS_LOCKF /**/
277 * This symbol, if defined, indicates that the lstat routine is
278 * available to do file stats on symbolic links.
280 #$d_lstat HAS_LSTAT /**/
283 * This symbol, if defined, indicates that the mblen routine is available
284 * to find the number of bytes in a multibye character.
286 #$d_mblen HAS_MBLEN /**/
289 * This symbol, if defined, indicates that the mbstowcs routine is
290 * available to convert a multibyte string into a wide character string.
292 #$d_mbstowcs HAS_MBSTOWCS /**/
295 * This symbol, if defined, indicates that the mbtowc routine is available
296 * to convert a multibyte to a wide character.
298 #$d_mbtowc HAS_MBTOWC /**/
301 * This symbol, if defined, indicates that the memcmp routine is available
302 * to compare blocks of memory.
304 #$d_memcmp HAS_MEMCMP /**/
307 * This symbol, if defined, indicates that the memcpy routine is available
308 * to copy blocks of memory.
310 #$d_memcpy HAS_MEMCPY /**/
313 * This symbol, if defined, indicates that the memmove routine is available
314 * to copy potentially overlapping blocks of memory. This should be used
315 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
318 #$d_memmove HAS_MEMMOVE /**/
321 * This symbol, if defined, indicates that the memset routine is available
322 * to set blocks of memory.
324 #$d_memset HAS_MEMSET /**/
327 * This symbol, if defined, indicates that the mkdir routine is available
328 * to create directories. Otherwise you should fork off a new process to
331 #$d_mkdir HAS_MKDIR /**/
334 * This symbol, if defined, indicates that the mkfifo routine is
335 * available to create FIFOs. Otherwise, mknod should be able to
336 * do it for you. However, if mkfifo is there, mknod might require
337 * super-user privileges which mkfifo will not.
339 #$d_mkfifo HAS_MKFIFO /**/
342 * This symbol, if defined, indicates that the mktime routine is
345 #$d_mktime HAS_MKTIME /**/
348 * This symbol, if defined, indicates that the msync system call is
349 * available to synchronize a mapped file.
351 #$d_msync HAS_MSYNC /**/
354 * This symbol, if defined, indicates that the munmap system call is
355 * available to unmap a region, usually mapped by mmap().
357 #$d_munmap HAS_MUNMAP /**/
360 * This symbol, if defined, indicates that the nan routine is
361 * available to generate NaN.
366 * This symbol, if defined, indicates that the nextafter routine is
367 * available to return the integral value closest to (according to
368 the current rounding mode) to x.
370 #$d_nearbyint HAS_NEARBYINT /**/
373 * This symbol, if defined, indicates that the nextafter routine is
374 * available to return the next machine representable long double from
377 #$d_nextafter HAS_NEXTAFTER /**/
380 * This symbol, if defined, indicates that the nexttoward routine is
381 * available to return the next machine representable long double from
384 #$d_nexttoward HAS_NEXTTOWARD /**/
387 * This symbol, if defined, indicates that the nice routine is
390 #$d_nice HAS_NICE /**/
393 * This symbol, if defined, indicates that pathconf() is available
394 * to determine file-system related limits and options associated
395 * with a given filename.
398 * This symbol, if defined, indicates that pathconf() is available
399 * to determine file-system related limits and options associated
400 * with a given open file descriptor.
402 #$d_pathconf HAS_PATHCONF /**/
403 #$d_fpathconf HAS_FPATHCONF /**/
406 * This symbol, if defined, indicates that the pause routine is
407 * available to suspend a process until a signal is received.
409 #$d_pause HAS_PAUSE /**/
412 * This symbol, if defined, indicates that the pipe routine is
413 * available to create an inter-process channel.
415 #$d_pipe HAS_PIPE /**/
418 * This symbol, if defined, indicates that the poll routine is
419 * available to poll active file descriptors. Please check I_POLL and
420 * I_SYS_POLL to know which header should be included as well.
422 #$d_poll HAS_POLL /**/
425 * This symbol, if defined, indicates that the readdir routine is
426 * available to read directory entries. You may have to include
427 * <dirent.h>. See I_DIRENT.
429 #$d_readdir HAS_READDIR /**/
432 * This symbol, if defined, indicates that the seekdir routine is
433 * available. You may have to include <dirent.h>. See I_DIRENT.
435 #$d_seekdir HAS_SEEKDIR /**/
438 * This symbol, if defined, indicates that the telldir routine is
439 * available. You may have to include <dirent.h>. See I_DIRENT.
441 #$d_telldir HAS_TELLDIR /**/
444 * This symbol, if defined, indicates that the rewinddir routine is
445 * available. You may have to include <dirent.h>. See I_DIRENT.
447 #$d_rewinddir HAS_REWINDDIR /**/
450 * This symbol, if defined, indicates that the readlink routine is
451 * available to read the value of a symbolic link.
453 #$d_readlink HAS_READLINK /**/
456 * This symbol, if defined, indicates that the remainder routine is available.
458 #$d_remainder HAS_REMAINDER /**/
461 * This symbol, if defined, indicates that the remquo routine is available.
463 #$d_remquo HAS_REMQUO /**/
466 * This symbol, if defined, indicates that the rename routine is available
467 * to rename files. Otherwise you should do the unlink(), link(), unlink()
470 #$d_rename HAS_RENAME /**/
473 * This symbol, if defined, indicates that the rint routine is available
474 * to return the nearest integral value to x as double using the current
477 #$d_rint HAS_RINT /**/
480 * This symbol, if defined, indicates that the rmdir routine is
481 * available to remove directories. Otherwise you should fork off a
482 * new process to exec /bin/rmdir.
484 #$d_rmdir HAS_RMDIR /**/
487 * This symbol, if defined, indicates that the round routine is available.
489 #$d_round HAS_ROUND /**/
492 * This symbol, if defined, indicates that the select routine is
493 * available to select active file descriptors. If the timeout field
494 * is used, <sys/time.h> may need to be included.
496 #$d_select HAS_SELECT /**/
499 * This symbol, if defined, indicates that the setegid routine is available
500 * to change the effective gid of the current program.
502 #$d_setegid HAS_SETEGID /**/
505 * This symbol, if defined, indicates that the seteuid routine is available
506 * to change the effective uid of the current program.
508 #$d_seteuid HAS_SETEUID /**/
511 * This symbol, if defined, indicates that the setgroups() routine is
512 * available to set the list of process groups. If unavailable, multiple
513 * groups are probably not supported.
515 #$d_setgrps HAS_SETGROUPS /**/
518 * This symbol, if defined, indicates that the setlinebuf routine is
519 * available to change stderr or stdout from block-buffered or unbuffered
520 * to a line-buffered mode.
522 #$d_setlinebuf HAS_SETLINEBUF /**/
525 * This symbol, if defined, indicates that the setlocale routine is
526 * available to handle locale-specific ctype implementations.
528 #$d_setlocale HAS_SETLOCALE /**/
531 * This symbol, if defined, indicates that the setpgid(pid, gpid)
532 * routine is available to set process group ID.
534 #$d_setpgid HAS_SETPGID /**/
537 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
538 * routine is available to set the current process group.
540 #$d_setpgrp2 HAS_SETPGRP2 /**/
543 * This symbol, if defined, indicates that the setpriority routine is
544 * available to set a process's priority.
546 #$d_setprior HAS_SETPRIORITY /**/
549 * This symbol, if defined, indicates that the setregid routine is
550 * available to change the real and effective gid of the current
554 * This symbol, if defined, indicates that the setresgid routine is
555 * available to change the real, effective and saved gid of the current
558 #$d_setregid HAS_SETREGID /**/
559 #$d_setresgid HAS_SETRESGID /**/
562 * This symbol, if defined, indicates that the setreuid routine is
563 * available to change the real and effective uid of the current
567 * This symbol, if defined, indicates that the setresuid routine is
568 * available to change the real, effective and saved uid of the current
571 #$d_setreuid HAS_SETREUID /**/
572 #$d_setresuid HAS_SETRESUID /**/
575 * This symbol, if defined, indicates that the setrgid routine is available
576 * to change the real gid of the current program.
578 #$d_setrgid HAS_SETRGID /**/
581 * This symbol, if defined, indicates that the setruid routine is available
582 * to change the real uid of the current program.
584 #$d_setruid HAS_SETRUID /**/
587 * This symbol, if defined, indicates that the setsid routine is
588 * available to set the process group ID.
590 #$d_setsid HAS_SETSID /**/
593 * This symbol is defined to indicate that the strchr()/strrchr()
594 * functions are available for string searching. If not, try the
595 * index()/rindex() pair.
598 * This symbol is defined to indicate that the index()/rindex()
599 * functions are available for string searching.
601 #$d_strchr HAS_STRCHR /**/
602 #$d_index HAS_INDEX /**/
605 * This symbol, if defined, indicates that the strcoll routine is
606 * available to compare strings using collating information.
608 #$d_strcoll HAS_STRCOLL /**/
611 * This symbol, if defined, indicates that the strtod routine is
612 * available to provide better numeric string conversion than atof().
614 #$d_strtod HAS_STRTOD /**/
617 * This symbol, if defined, indicates that the strtol routine is available
618 * to provide better numeric string conversion than atoi() and friends.
620 #$d_strtol HAS_STRTOL /**/
623 * This symbol, if defined, indicates that the strxfrm() routine is
624 * available to transform strings.
626 #$d_strxfrm HAS_STRXFRM /**/
629 * This symbol, if defined, indicates that the symlink routine is available
630 * to create symbolic links.
632 #$d_symlink HAS_SYMLINK /**/
635 * This symbol, if defined, indicates that the syscall routine is
636 * available to call arbitrary system calls. If undefined, that's tough.
638 #$d_syscall HAS_SYSCALL /**/
641 * This symbol, if defined, indicates that sysconf() is available
642 * to determine system related limits and options.
644 #$d_sysconf HAS_SYSCONF /**/
647 * This symbol, if defined, indicates that the system routine is
648 * available to issue a shell command.
650 #$d_system HAS_SYSTEM /**/
653 * This symbol, if defined, indicates that the tcgetpgrp routine is
654 * available to get foreground process group ID.
656 #$d_tcgetpgrp HAS_TCGETPGRP /**/
659 * This symbol, if defined, indicates that the tcsetpgrp routine is
660 * available to set foreground process group ID.
662 #$d_tcsetpgrp HAS_TCSETPGRP /**/
665 * This symbol, if defined, indicates that the lgamma routine is
666 * available to do the gamma function. See also HAS_LGAMMA.
668 #$d_tgamma HAS_TGAMMA /**/
671 * This symbol, if defined, indicates that the truncate routine is
672 * available to truncate files.
674 #$d_truncate HAS_TRUNCATE /**/
677 * This symbol, if defined, indicates that the tzname[] array is
678 * available to access timezone names.
680 #$d_tzname HAS_TZNAME /**/
683 * This symbol, if defined, indicates that the umask routine is
684 * available to set and get the value of the file creation mask.
686 #$d_umask HAS_UMASK /**/
689 * This symbol, if defined, indicates that the usleep routine is
690 * available to let the process sleep on a sub-second accuracy.
692 #$d_usleep HAS_USLEEP /**/
695 * This symbol, if defined, indicates that wait4() exists.
697 #$d_wait4 HAS_WAIT4 /**/
700 * This symbol, if defined, indicates that the waitpid routine is
701 * available to wait for child process.
703 #$d_waitpid HAS_WAITPID /**/
706 * This symbol, if defined, indicates that the wcstombs routine is
707 * available to convert wide character strings to multibyte strings.
709 #$d_wcstombs HAS_WCSTOMBS /**/
712 * This symbol, if defined, indicates that the wctomb routine is available
713 * to convert a wide character to a multibyte.
715 #$d_wctomb HAS_WCTOMB /**/
718 * This symbol holds the type used for the second argument to
719 * getgroups() and setgroups(). Usually, this is the same as
720 * gidtype (gid_t) , but sometimes it isn't.
721 * It can be int, ushort, gid_t, etc...
722 * It may be necessary to include <sys/types.h> to get any
723 * typedef'ed information. This is only required if you have
724 * getgroups() or setgroups()..
726 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
727 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
731 * This symbol, if defined, indicates to the C program that it should
732 * include <arpa/inet.h> to get inet_addr and friends declarations.
734 #$i_arpainet I_ARPA_INET /**/
737 * This symbol, if defined, indicates that <dbm.h> exists and should
741 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
742 * should be included.
745 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
748 * This symbol, if defined, indicates that <dlfcn.h> exists and should
751 #$i_dlfcn I_DLFCN /**/
754 * This manifest constant tells the C program to include <fcntl.h>.
756 #$i_fcntl I_FCNTL /**/
759 * This symbol, if defined, indicates to the C program that it should
760 * include <float.h> to get definition of symbols like DBL_MAX or
761 * DBL_MIN, i.e. machine dependent floating point values.
763 #$i_float I_FLOAT /**/
766 * This symbol, if defined, indicates that <gdbm.h> exists and should
772 * This symbol, if defined, indicates to the C program that it should
773 * include <limits.h> to get definition of symbols like WORD_BIT or
774 * LONG_MAX, i.e. machine dependant limitations.
776 #$i_limits I_LIMITS /**/
779 * This symbol, if defined, indicates to the C program that it should
780 * include <locale.h>.
782 #$i_locale I_LOCALE /**/
785 * This symbol, if defined, indicates to the C program that it should
791 * This symbol, if defined, indicates to the C program that it should
792 * include <memory.h>.
794 #$i_memory I_MEMORY /**/
797 * This symbol, if defined, indicates to the C program that it should
798 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
800 #$i_niin I_NETINET_IN /**/
803 * This symbol, if defined, indicates that <stddef.h> exists and should
806 #$i_stddef I_STDDEF /**/
809 * This symbol, if defined, indicates that <stdlib.h> exists and should
812 #$i_stdlib I_STDLIB /**/
815 * This symbol, if defined, indicates to the C program that it should
816 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
818 #$i_string I_STRING /**/
821 * This symbol, if defined, indicates to the C program that it should
822 * include <sys/dir.h>.
824 #$i_sysdir I_SYS_DIR /**/
827 * This symbol, if defined, indicates to the C program that it should
828 * include <sys/file.h> to get definition of R_OK and friends.
830 #$i_sysfile I_SYS_FILE /**/
833 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
834 * be included. Otherwise, include <sgtty.h> or <termio.h>.
837 * This symbol, if defined, indicates the <sys/sockio.h> should be included
838 * to get socket ioctl options, like SIOCATMARK.
840 #$i_sysioctl I_SYS_IOCTL /**/
841 #$i_syssockio I_SYS_SOCKIO /**/
844 * This symbol, if defined, indicates to the C program that it should
845 * include <sys/ndir.h>.
847 #$i_sysndir I_SYS_NDIR /**/
850 * This symbol, if defined, indicates to the C program that it should
851 * include <sys/param.h>.
853 #$i_sysparam I_SYS_PARAM /**/
856 * This symbol, if defined, indicates that the program may include
857 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
858 * to only include <poll.h>.
860 #$i_syspoll I_SYS_POLL /**/
863 * This symbol, if defined, indicates to the C program that it should
864 * include <sys/resource.h>.
866 #$i_sysresrc I_SYS_RESOURCE /**/
869 * This symbol, if defined, indicates to the C program that it should
870 * include <sys/select.h> in order to get definition of struct timeval.
872 #$i_sysselct I_SYS_SELECT /**/
875 * This symbol, if defined, indicates to the C program that it should
876 * include <sys/stat.h>.
878 #$i_sysstat I_SYS_STAT /**/
881 * This symbol, if defined, indicates to the C program that it should
882 * include <sys/times.h>.
884 #$i_systimes I_SYS_TIMES /**/
887 * This symbol, if defined, indicates to the C program that it should
888 * include <sys/types.h>.
890 #$i_systypes I_SYS_TYPES /**/
893 * This symbol, if defined, indicates to the C program that it should
894 * include <sys/un.h> to get UNIX domain socket definitions.
896 #$i_sysun I_SYS_UN /**/
899 * This symbol, if defined, indicates to the C program that it should
900 * include <sys/wait.h>.
902 #$i_syswait I_SYS_WAIT /**/
905 * This symbol, if defined, indicates to the C program that it should
906 * include <unistd.h>.
908 #$i_unistd I_UNISTD /**/
911 * This symbol, if defined, indicates to the C program that it should
914 #$i_utime I_UTIME /**/
917 * This symbol, if defined, indicates to the C program that it should
918 * include <values.h> to get definition of symbols like MINFLOAT or
919 * MAXLONG, i.e. machine dependant limitations. Probably, you
920 * should use <limits.h> instead, if it is available.
922 #$i_values I_VALUES /**/
925 * This symbol, if defined, indicates to the C program that it should
928 #$i_vfork I_VFORK /**/
931 * This variable is defined on systems supporting prototype declaration
932 * of functions with a variable number of arguments.
935 * This macro is used to declare function parameters in prototypes for
936 * functions with a variable number of parameters. Use double parentheses.
939 * int printf _V((char *fmt, ...));
941 * Remember to use the plain simple _() macro when declaring a function
942 * with no variable number of arguments, since it might be possible to
943 * have a non-effect _V() macro and still get prototypes via _().
945 #$vaproto CAN_VAPROTO /**/
947 #define _V(args) args
953 * This symbol contains the name of the operating system, as determined
954 * by Configure. You shouldn't rely on it too much; the specific
955 * feature tests from Configure are generally more reliable.
958 * This symbol contains the version of the operating system, as determined
959 * by Configure. You shouldn't rely on it too much; the specific
960 * feature tests from Configure are generally more reliable.
962 #define OSNAME "$osname" /**/
963 #define OSVERS "$osvers" /**/
966 * This symbol, if defined, signifies that the build
967 * process will produce some binary files that are going to be
968 * used in a cross-platform environment. This is the case for
969 * example with the NeXT "fat" binaries that contain executables
972 #$multiarch MULTIARCH /**/
975 * This symbol contains the number of bytes required to align a
976 * double, or a long double when applicable. Usual values are 2,
977 * 4 and 8. The default is eight, for safety. For cross-compiling
978 * or multiarch support, Configure will set a minimum of 8.
980 #define MEM_ALIGNBYTES $alignbytes
983 * This variable, if defined, holds the name of the directory in
984 * which the user wants to put architecture-dependent public
985 * library files for $package. It is most often a local directory
986 * such as /usr/local/lib. Programs using this variable must be
987 * prepared to deal with filename expansion. If ARCHLIB is the
988 * same as PRIVLIB, it is not defined, since presumably the
989 * program already searches PRIVLIB.
992 * This symbol contains the ~name expanded version of ARCHLIB, to be used
993 * in programs that are not prepared to deal with ~ expansion at run-time.
995 #$d_archlib ARCHLIB "$archlib" /**/
996 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
999 * This symbol holds a string representing the architecture name.
1000 * It may be used to construct an architecture-dependant pathname
1001 * where library files may be held under a private library, for
1004 #define ARCHNAME "$archname" /**/
1007 * This symbol holds the path of the bin directory where the package will
1008 * be installed. Program must be prepared to deal with ~name substitution.
1011 * This symbol is the filename expanded version of the BIN symbol, for
1012 * programs that do not want to deal with that at run-time.
1014 /* PERL_RELOCATABLE_INC:
1015 * This symbol, if defined, indicates that we'd like to relocate entries
1016 * in @INC at run time based on the location of the perl binary.
1018 #define BIN "$bin" /**/
1019 #define BIN_EXP "$binexp" /**/
1020 #define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
1023 * This symbol contains the value of sizeof(int) so that the C
1024 * preprocessor can make decisions based on it.
1027 * This symbol contains the value of sizeof(long) so that the C
1028 * preprocessor can make decisions based on it.
1031 * This symbol contains the value of sizeof(short) so that the C
1032 * preprocessor can make decisions based on it.
1034 #define INTSIZE $intsize /**/
1035 #define LONGSIZE $longsize /**/
1036 #define SHORTSIZE $shortsize /**/
1039 * This symbol holds the hexadecimal constant defined in byteorder,
1040 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
1041 * If the compiler supports cross-compiling or multiple-architecture
1042 * binaries, use compiler-defined macros to
1043 * determine the byte order.
1045 #if defined(MULTIARCH)
1046 # ifdef __LITTLE_ENDIAN__
1048 # define BYTEORDER 0x1234
1051 # define BYTEORDER 0x12345678
1055 # ifdef __BIG_ENDIAN__
1057 # define BYTEORDER 0x4321
1060 # define BYTEORDER 0x87654321
1066 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1070 * This symbol contains the size of a char, so that the C preprocessor
1071 * can make decisions based on it.
1073 #define CHARBITS $charbits /**/
1076 * This macro concatenates 2 tokens together.
1079 * This macro surrounds its token with double quotes.
1082 #define CAT2(a,b) a/**/b
1083 #define STRINGIFY(a) "a"
1085 #if $cpp_stuff == 42
1086 #define PeRl_CaTiFy(a, b) a ## b
1087 #define PeRl_StGiFy(a) #a
1088 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1089 #define StGiFy(a) PeRl_StGiFy(a)
1090 #define STRINGIFY(a) PeRl_StGiFy(a)
1092 #if $cpp_stuff != 1 && $cpp_stuff != 42
1093 #include "Bletch: How does this C preprocessor concatenate tokens?"
1097 * This symbol contains the first part of the string which will invoke
1098 * the C preprocessor on the standard input and produce to standard
1099 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1100 * call a wrapper. See CPPRUN.
1103 * This symbol contains the second part of the string which will invoke
1104 * the C preprocessor on the standard input and produce to standard
1105 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1106 * to specify standard input, otherwise the value is "".
1109 * This symbol contains the string which will invoke a C preprocessor on
1110 * the standard input and produce to standard output. It needs to end
1111 * with CPPLAST, after all other preprocessor flags have been specified.
1112 * The main difference with CPPSTDIN is that this program will never be a
1113 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1114 * available directly to the user. Note that it may well be different from
1115 * the preprocessor used to compile the C program.
1118 * This symbol is intended to be used along with CPPRUN in the same manner
1119 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1121 #define CPPSTDIN "$cppstdin"
1122 #define CPPMINUS "$cppminus"
1123 #define CPPRUN "$cpprun"
1124 #define CPPLAST "$cpplast"
1127 * This manifest constant lets the C program know that the access()
1128 * system call is available to check for accessibility using real UID/GID.
1129 * (always present on UNIX.)
1131 #$d_access HAS_ACCESS /**/
1134 * This symbol, if defined, indicates that the accessx routine is
1135 * available to do extended access checks.
1137 #$d_accessx HAS_ACCESSX /**/
1140 * This symbol, if defined, indicates that the asctime_r routine
1141 * is available to asctime re-entrantly.
1144 * This symbol encodes the prototype of asctime_r.
1145 * It is zero if d_asctime_r is undef, and one of the
1146 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1149 #$d_asctime_r HAS_ASCTIME_R /**/
1150 #define ASCTIME_R_PROTO $asctime_r_proto /**/
1152 /* HASATTRIBUTE_FORMAT:
1153 * Can we handle GCC attribute for checking printf-style formats
1155 /* PRINTF_FORMAT_NULL_OK:
1156 * Allows __printf__ format to be null when checking printf-style
1158 /* HASATTRIBUTE_MALLOC:
1159 * Can we handle GCC attribute for malloc-style functions.
1161 /* HASATTRIBUTE_NONNULL:
1162 * Can we handle GCC attribute for nonnull function parms.
1164 /* HASATTRIBUTE_NORETURN:
1165 * Can we handle GCC attribute for functions that do not return
1167 /* HASATTRIBUTE_PURE:
1168 * Can we handle GCC attribute for pure functions
1170 /* HASATTRIBUTE_UNUSED:
1171 * Can we handle GCC attribute for unused variables and arguments
1173 /* HASATTRIBUTE_DEPRECATED:
1174 * Can we handle GCC attribute for marking deprecated APIs
1176 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1177 * Can we handle GCC attribute for warning on unused results
1179 #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/
1180 #$d_attribute_format HASATTRIBUTE_FORMAT /**/
1181 #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
1182 #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1183 #$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1184 #$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1185 #$d_attribute_pure HASATTRIBUTE_PURE /**/
1186 #$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1187 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1190 * This symbol, if defined, indicates that the backtrace() routine is
1191 * available to get a stack trace. The <execinfo.h> header must be
1192 * included to use this routine.
1194 #$d_backtrace HAS_BACKTRACE /**/
1197 * This symbol is defined if the C compiler can cast negative
1198 * or large floating point numbers to 32-bit ints.
1200 #$d_casti32 CASTI32 /**/
1203 * This symbol is defined if the C compiler can cast negative
1204 * numbers to unsigned longs, ints and shorts.
1207 * This symbol contains flags that say what difficulties the compiler
1208 * has casting odd floating values to unsigned long:
1210 * 1 = couldn't cast < 0
1211 * 2 = couldn't cast >= 0x80000000
1212 * 4 = couldn't cast in argument expression list
1214 #$d_castneg CASTNEGFLOAT /**/
1215 #define CASTFLAGS $castflags /**/
1218 * This symbol, if defined, indicates that the closedir() routine
1219 * does not return a value.
1221 #$d_void_closedir VOID_CLOSEDIR /**/
1224 * This symbol, if defined, indicates that this C compiler knows about
1225 * the const type. There is no need to actually test for that symbol
1226 * within your programs. The mere use of the "const" keyword will
1227 * trigger the necessary tests.
1229 #$d_const HASCONST /**/
1235 * This symbol, if defined, indicates that the crypt_r routine
1236 * is available to crypt re-entrantly.
1239 * This symbol encodes the prototype of crypt_r.
1240 * It is zero if d_crypt_r is undef, and one of the
1241 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1244 #$d_crypt_r HAS_CRYPT_R /**/
1245 #define CRYPT_R_PROTO $crypt_r_proto /**/
1248 * This symbol, if defined, indicates that the C-shell exists.
1251 * This symbol, if defined, contains the full pathname of csh.
1253 #$d_csh HAS_CSH /**/
1255 #define CSH "$full_csh" /**/
1259 * This symbol, if defined, indicates that the ctermid_r routine
1260 * is available to ctermid re-entrantly.
1263 * This symbol encodes the prototype of ctermid_r.
1264 * It is zero if d_ctermid_r is undef, and one of the
1265 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1268 #$d_ctermid_r HAS_CTERMID_R /**/
1269 #define CTERMID_R_PROTO $ctermid_r_proto /**/
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 #$d_ctime_r HAS_CTIME_R /**/
1282 #define CTIME_R_PROTO $ctime_r_proto /**/
1285 * This symbol, if defined, indicates that the dladdr() routine is
1286 * available to query dynamic linker information for an address.
1287 * The <dlfcn.h> header must be included to use this routine.
1289 #$d_dladdr HAS_DLADDR /**/
1291 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1292 * This symbol, if defined, indicates that the bug that prevents
1293 * setuid scripts from being secure is not present in this kernel.
1296 * This symbol, if defined, indicates that the C program should
1297 * check the script that it is executing for setuid/setgid bits, and
1298 * attempt to emulate setuid/setgid on systems that have disabled
1299 * setuid #! scripts because the kernel can't do it securely.
1300 * It is up to the package designer to make sure that this emulation
1301 * is done securely. Among other things, it should do an fstat on
1302 * the script it just opened to make sure it really is a setuid/setgid
1303 * script, it should make sure the arguments passed correspond exactly
1304 * to the argument on the #! line, and it should not trust any
1305 * subprocesses to which it must pass the filename rather than the
1306 * file descriptor of the script to be executed.
1308 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1309 #$d_dosuid DOSUID /**/
1312 * This symbol, if defined, indicates that the drand48_r routine
1313 * is available to drand48 re-entrantly.
1316 * This symbol encodes the prototype of drand48_r.
1317 * It is zero if d_drand48_r is undef, and one of the
1318 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1321 #$d_drand48_r HAS_DRAND48_R /**/
1322 #define DRAND48_R_PROTO $drand48_r_proto /**/
1324 /* HAS_DRAND48_PROTO:
1325 * This symbol, if defined, indicates that the system provides
1326 * a prototype for the drand48() function. Otherwise, it is up
1327 * to the program to supply one. A good guess is
1328 * extern double drand48(void);
1330 #$d_drand48proto HAS_DRAND48_PROTO /**/
1333 * This symbol, if defined, indicates that the eaccess routine is
1334 * available to do extended access checks.
1336 #$d_eaccess HAS_EACCESS /**/
1339 * This symbol, if defined, indicates that the getgrent routine is
1340 * available for finalizing sequential access of the group database.
1342 #$d_endgrent HAS_ENDGRENT /**/
1345 * This symbol, if defined, indicates that the endgrent_r routine
1346 * is available to endgrent re-entrantly.
1348 /* ENDGRENT_R_PROTO:
1349 * This symbol encodes the prototype of endgrent_r.
1350 * It is zero if d_endgrent_r is undef, and one of the
1351 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1354 #$d_endgrent_r HAS_ENDGRENT_R /**/
1355 #define ENDGRENT_R_PROTO $endgrent_r_proto /**/
1358 * This symbol, if defined, indicates that the endhostent() routine is
1359 * available to close whatever was being used for host queries.
1361 #$d_endhent HAS_ENDHOSTENT /**/
1363 /* HAS_ENDHOSTENT_R:
1364 * This symbol, if defined, indicates that the endhostent_r routine
1365 * is available to endhostent re-entrantly.
1367 /* ENDHOSTENT_R_PROTO:
1368 * This symbol encodes the prototype of endhostent_r.
1369 * It is zero if d_endhostent_r is undef, and one of the
1370 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1373 #$d_endhostent_r HAS_ENDHOSTENT_R /**/
1374 #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
1377 * This symbol, if defined, indicates that the endnetent() routine is
1378 * available to close whatever was being used for network queries.
1380 #$d_endnent HAS_ENDNETENT /**/
1383 * This symbol, if defined, indicates that the endnetent_r routine
1384 * is available to endnetent re-entrantly.
1386 /* ENDNETENT_R_PROTO:
1387 * This symbol encodes the prototype of endnetent_r.
1388 * It is zero if d_endnetent_r is undef, and one of the
1389 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1392 #$d_endnetent_r HAS_ENDNETENT_R /**/
1393 #define ENDNETENT_R_PROTO $endnetent_r_proto /**/
1396 * This symbol, if defined, indicates that the endprotoent() routine is
1397 * available to close whatever was being used for protocol queries.
1399 #$d_endpent HAS_ENDPROTOENT /**/
1401 /* HAS_ENDPROTOENT_R:
1402 * This symbol, if defined, indicates that the endprotoent_r routine
1403 * is available to endprotoent re-entrantly.
1405 /* ENDPROTOENT_R_PROTO:
1406 * This symbol encodes the prototype of endprotoent_r.
1407 * It is zero if d_endprotoent_r is undef, and one of the
1408 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1411 #$d_endprotoent_r HAS_ENDPROTOENT_R /**/
1412 #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
1415 * This symbol, if defined, indicates that the getgrent routine is
1416 * available for finalizing sequential access of the passwd database.
1418 #$d_endpwent HAS_ENDPWENT /**/
1421 * This symbol, if defined, indicates that the endpwent_r routine
1422 * is available to endpwent re-entrantly.
1424 /* ENDPWENT_R_PROTO:
1425 * This symbol encodes the prototype of endpwent_r.
1426 * It is zero if d_endpwent_r is undef, and one of the
1427 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1430 #$d_endpwent_r HAS_ENDPWENT_R /**/
1431 #define ENDPWENT_R_PROTO $endpwent_r_proto /**/
1434 * This symbol, if defined, indicates that the endservent() routine is
1435 * available to close whatever was being used for service queries.
1437 #$d_endsent HAS_ENDSERVENT /**/
1439 /* HAS_ENDSERVENT_R:
1440 * This symbol, if defined, indicates that the endservent_r routine
1441 * is available to endservent re-entrantly.
1443 /* ENDSERVENT_R_PROTO:
1444 * This symbol encodes the prototype of endservent_r.
1445 * It is zero if d_endservent_r is undef, and one of the
1446 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1449 #$d_endservent_r HAS_ENDSERVENT_R /**/
1450 #define ENDSERVENT_R_PROTO $endservent_r_proto /**/
1453 * This symbol, when defined, indicates presence of the fd_set typedef
1456 #$d_fd_set HAS_FD_SET /**/
1459 * This symbol, if defined, indicates that the system supports filenames
1460 * longer than 14 characters.
1462 #$d_flexfnam FLEXFILENAMES /**/
1465 * This preprocessor macro is defined to convert a floating point
1466 * number to a string without a trailing decimal point. This
1467 * emulates the behavior of sprintf("%g"), but is sometimes much more
1468 * efficient. If gconvert() is not available, but gcvt() drops the
1469 * trailing decimal point, then gcvt() is used. If all else fails,
1470 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1471 * macro are: value, number of digits, whether trailing zeros should
1472 * be retained, and the output buffer.
1473 * The usual values are:
1474 * d_Gconvert='gconvert((x),(n),(t),(b))'
1475 * d_Gconvert='gcvt((x),(n),(b))'
1476 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1477 * The last two assume trailing zeros should not be kept.
1479 #define Gconvert(x,n,t,b) $d_Gconvert
1482 * This symbol, if defined, indicates that the getgrent routine is
1483 * available for sequential access of the group database.
1485 #$d_getgrent HAS_GETGRENT /**/
1488 * This symbol, if defined, indicates that the getgrent_r routine
1489 * is available to getgrent re-entrantly.
1491 /* GETGRENT_R_PROTO:
1492 * This symbol encodes the prototype of getgrent_r.
1493 * It is zero if d_getgrent_r is undef, and one of the
1494 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1497 #$d_getgrent_r HAS_GETGRENT_R /**/
1498 #define GETGRENT_R_PROTO $getgrent_r_proto /**/
1501 * This symbol, if defined, indicates that the getgrgid_r routine
1502 * is available to getgrgid re-entrantly.
1504 /* GETGRGID_R_PROTO:
1505 * This symbol encodes the prototype of getgrgid_r.
1506 * It is zero if d_getgrgid_r is undef, and one of the
1507 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1510 #$d_getgrgid_r HAS_GETGRGID_R /**/
1511 #define GETGRGID_R_PROTO $getgrgid_r_proto /**/
1514 * This symbol, if defined, indicates that the getgrnam_r routine
1515 * is available to getgrnam re-entrantly.
1517 /* GETGRNAM_R_PROTO:
1518 * This symbol encodes the prototype of getgrnam_r.
1519 * It is zero if d_getgrnam_r is undef, and one of the
1520 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1523 #$d_getgrnam_r HAS_GETGRNAM_R /**/
1524 #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
1526 /* HAS_GETHOSTBYADDR:
1527 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1528 * available to look up hosts by their IP addresses.
1530 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1532 /* HAS_GETHOSTBYNAME:
1533 * This symbol, if defined, indicates that the gethostbyname() routine is
1534 * available to look up host names in some data base or other.
1536 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1539 * This symbol, if defined, indicates that the gethostent() routine is
1540 * available to look up host names in some data base or another.
1542 #$d_gethent HAS_GETHOSTENT /**/
1545 * This symbol, if defined, indicates that the C program may use the
1546 * gethostname() routine to derive the host name. See also HAS_UNAME
1550 * This symbol, if defined, indicates that the C program may use the
1551 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1555 * This symbol, if defined, indicates the command to feed to the
1556 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1557 * and HAS_UNAME. Note that the command uses a fully qualified path,
1558 * so that it is safe even if used by a process with super-user
1562 * This symbol, if defined, indicates that the C program may use the
1563 * contents of PHOSTNAME as a command to feed to the popen() routine
1564 * to derive the host name.
1566 #$d_gethname HAS_GETHOSTNAME /**/
1567 #$d_uname HAS_UNAME /**/
1568 #$d_phostname HAS_PHOSTNAME /**/
1569 #ifdef HAS_PHOSTNAME
1570 #define PHOSTNAME "$aphostname" /* How to get the host name */
1573 /* HAS_GETHOSTBYADDR_R:
1574 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1575 * is available to gethostbyaddr re-entrantly.
1577 /* GETHOSTBYADDR_R_PROTO:
1578 * This symbol encodes the prototype of gethostbyaddr_r.
1579 * It is zero if d_gethostbyaddr_r is undef, and one of the
1580 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1583 #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
1584 #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
1586 /* HAS_GETHOSTBYNAME_R:
1587 * This symbol, if defined, indicates that the gethostbyname_r routine
1588 * is available to gethostbyname re-entrantly.
1590 /* GETHOSTBYNAME_R_PROTO:
1591 * This symbol encodes the prototype of gethostbyname_r.
1592 * It is zero if d_gethostbyname_r is undef, and one of the
1593 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1596 #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
1597 #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
1599 /* HAS_GETHOSTENT_R:
1600 * This symbol, if defined, indicates that the gethostent_r routine
1601 * is available to gethostent re-entrantly.
1603 /* GETHOSTENT_R_PROTO:
1604 * This symbol encodes the prototype of gethostent_r.
1605 * It is zero if d_gethostent_r is undef, and one of the
1606 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1609 #$d_gethostent_r HAS_GETHOSTENT_R /**/
1610 #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
1612 /* HAS_GETHOST_PROTOS:
1613 * This symbol, if defined, indicates that <netdb.h> includes
1614 * prototypes for gethostent(), gethostbyname(), and
1615 * gethostbyaddr(). Otherwise, it is up to the program to guess
1616 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1618 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
1621 * This symbol, if defined, indicates that the getlogin_r routine
1622 * is available to getlogin re-entrantly.
1624 /* GETLOGIN_R_PROTO:
1625 * This symbol encodes the prototype of getlogin_r.
1626 * It is zero if d_getlogin_r is undef, and one of the
1627 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1630 #$d_getlogin_r HAS_GETLOGIN_R /**/
1631 #define GETLOGIN_R_PROTO $getlogin_r_proto /**/
1633 /* HAS_GETNETBYADDR:
1634 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1635 * available to look up networks by their IP addresses.
1637 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1639 /* HAS_GETNETBYNAME:
1640 * This symbol, if defined, indicates that the getnetbyname() routine is
1641 * available to look up networks by their names.
1643 #$d_getnbyname HAS_GETNETBYNAME /**/
1646 * This symbol, if defined, indicates that the getnetent() routine is
1647 * available to look up network names in some data base or another.
1649 #$d_getnent HAS_GETNETENT /**/
1651 /* HAS_GETNETBYADDR_R:
1652 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1653 * is available to getnetbyaddr re-entrantly.
1655 /* GETNETBYADDR_R_PROTO:
1656 * This symbol encodes the prototype of getnetbyaddr_r.
1657 * It is zero if d_getnetbyaddr_r is undef, and one of the
1658 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1661 #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
1662 #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
1664 /* HAS_GETNETBYNAME_R:
1665 * This symbol, if defined, indicates that the getnetbyname_r routine
1666 * is available to getnetbyname re-entrantly.
1668 /* GETNETBYNAME_R_PROTO:
1669 * This symbol encodes the prototype of getnetbyname_r.
1670 * It is zero if d_getnetbyname_r is undef, and one of the
1671 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1674 #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
1675 #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
1678 * This symbol, if defined, indicates that the getnetent_r routine
1679 * is available to getnetent re-entrantly.
1681 /* GETNETENT_R_PROTO:
1682 * This symbol encodes the prototype of getnetent_r.
1683 * It is zero if d_getnetent_r is undef, and one of the
1684 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1687 #$d_getnetent_r HAS_GETNETENT_R /**/
1688 #define GETNETENT_R_PROTO $getnetent_r_proto /**/
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 #$d_getnetprotos 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 #$d_getpagsz 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 #$d_getpent 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 #$d_getpgrp HAS_GETPGRP /**/
1720 #$d_bsdgetpgrp 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 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1731 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1733 /* HAS_GETPROTOBYNAME_R:
1734 * This symbol, if defined, indicates that the getprotobyname_r routine
1735 * is available to getprotobyname re-entrantly.
1737 /* GETPROTOBYNAME_R_PROTO:
1738 * This symbol encodes the prototype of getprotobyname_r.
1739 * It is zero if d_getprotobyname_r is undef, and one of the
1740 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1743 #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
1744 #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
1746 /* HAS_GETPROTOBYNUMBER_R:
1747 * This symbol, if defined, indicates that the getprotobynumber_r routine
1748 * is available to getprotobynumber re-entrantly.
1750 /* GETPROTOBYNUMBER_R_PROTO:
1751 * This symbol encodes the prototype of getprotobynumber_r.
1752 * It is zero if d_getprotobynumber_r is undef, and one of the
1753 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1756 #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
1757 #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
1759 /* HAS_GETPROTOENT_R:
1760 * This symbol, if defined, indicates that the getprotoent_r routine
1761 * is available to getprotoent re-entrantly.
1763 /* GETPROTOENT_R_PROTO:
1764 * This symbol encodes the prototype of getprotoent_r.
1765 * It is zero if d_getprotoent_r is undef, and one of the
1766 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1769 #$d_getprotoent_r HAS_GETPROTOENT_R /**/
1770 #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
1772 /* HAS_GETPROTO_PROTOS:
1773 * This symbol, if defined, indicates that <netdb.h> includes
1774 * prototypes for getprotoent(), getprotobyname(), and
1775 * getprotobyaddr(). Otherwise, it is up to the program to guess
1776 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1778 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1781 * This symbol, if defined, indicates that the getpwent routine is
1782 * available for sequential access of the passwd database.
1783 * If this is not available, the older getpw() function may be available.
1785 #$d_getpwent HAS_GETPWENT /**/
1788 * This symbol, if defined, indicates that the getpwent_r routine
1789 * is available to getpwent re-entrantly.
1791 /* GETPWENT_R_PROTO:
1792 * This symbol encodes the prototype of getpwent_r.
1793 * It is zero if d_getpwent_r is undef, and one of the
1794 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1797 #$d_getpwent_r HAS_GETPWENT_R /**/
1798 #define GETPWENT_R_PROTO $getpwent_r_proto /**/
1801 * This symbol, if defined, indicates that the getpwnam_r routine
1802 * is available to getpwnam re-entrantly.
1804 /* GETPWNAM_R_PROTO:
1805 * This symbol encodes the prototype of getpwnam_r.
1806 * It is zero if d_getpwnam_r is undef, and one of the
1807 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1810 #$d_getpwnam_r HAS_GETPWNAM_R /**/
1811 #define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
1814 * This symbol, if defined, indicates that the getpwuid_r routine
1815 * is available to getpwuid re-entrantly.
1817 /* GETPWUID_R_PROTO:
1818 * This symbol encodes the prototype of getpwuid_r.
1819 * It is zero if d_getpwuid_r is undef, and one of the
1820 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1823 #$d_getpwuid_r HAS_GETPWUID_R /**/
1824 #define GETPWUID_R_PROTO $getpwuid_r_proto /**/
1827 * This symbol, if defined, indicates that the getservent() routine is
1828 * available to look up network services in some data base or another.
1830 #$d_getsent HAS_GETSERVENT /**/
1832 /* HAS_GETSERVBYNAME_R:
1833 * This symbol, if defined, indicates that the getservbyname_r routine
1834 * is available to getservbyname re-entrantly.
1836 /* GETSERVBYNAME_R_PROTO:
1837 * This symbol encodes the prototype of getservbyname_r.
1838 * It is zero if d_getservbyname_r is undef, and one of the
1839 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1842 #$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
1843 #define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
1845 /* HAS_GETSERVBYPORT_R:
1846 * This symbol, if defined, indicates that the getservbyport_r routine
1847 * is available to getservbyport re-entrantly.
1849 /* GETSERVBYPORT_R_PROTO:
1850 * This symbol encodes the prototype of getservbyport_r.
1851 * It is zero if d_getservbyport_r is undef, and one of the
1852 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1855 #$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
1856 #define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
1858 /* HAS_GETSERVENT_R:
1859 * This symbol, if defined, indicates that the getservent_r routine
1860 * is available to getservent re-entrantly.
1862 /* GETSERVENT_R_PROTO:
1863 * This symbol encodes the prototype of getservent_r.
1864 * It is zero if d_getservent_r is undef, and one of the
1865 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1868 #$d_getservent_r HAS_GETSERVENT_R /**/
1869 #define GETSERVENT_R_PROTO $getservent_r_proto /**/
1871 /* HAS_GETSERV_PROTOS:
1872 * This symbol, if defined, indicates that <netdb.h> includes
1873 * prototypes for getservent(), getservbyname(), and
1874 * getservbyaddr(). Otherwise, it is up to the program to guess
1875 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1877 #$d_getservprotos HAS_GETSERV_PROTOS /**/
1880 * This symbol, if defined, indicates that the getspnam_r routine
1881 * is available to getspnam re-entrantly.
1883 /* GETSPNAM_R_PROTO:
1884 * This symbol encodes the prototype of getspnam_r.
1885 * It is zero if d_getspnam_r is undef, and one of the
1886 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1889 #$d_getspnam_r HAS_GETSPNAM_R /**/
1890 #define GETSPNAM_R_PROTO $getspnam_r_proto /**/
1892 /* HAS_GETSERVBYNAME:
1893 * This symbol, if defined, indicates that the getservbyname()
1894 * routine is available to look up services by their name.
1896 /* HAS_GETSERVBYPORT:
1897 * This symbol, if defined, indicates that the getservbyport()
1898 * routine is available to look up services by their port.
1900 #$d_getsbyname HAS_GETSERVBYNAME /**/
1901 #$d_getsbyport HAS_GETSERVBYPORT /**/
1904 * This symbol, if defined, indicates that the gmtime_r routine
1905 * is available to gmtime re-entrantly.
1908 * This symbol encodes the prototype of gmtime_r.
1909 * It is zero if d_gmtime_r is undef, and one of the
1910 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1913 #$d_gmtime_r HAS_GMTIME_R /**/
1914 #define GMTIME_R_PROTO $gmtime_r_proto /**/
1917 * This symbol, if defined, indicates to the C program that
1918 * the GNU C library is being used. A better check is to use
1919 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1921 #$d_gnulibc HAS_GNULIBC /**/
1922 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1923 # define _GNU_SOURCE
1927 * This symbol, if defined, indicates that the htonl() routine (and
1928 * friends htons() ntohl() ntohs()) are available to do network
1929 * order byte swapping.
1932 * This symbol, if defined, indicates that the htons() routine (and
1933 * friends htonl() ntohl() ntohs()) are available to do network
1934 * order byte swapping.
1937 * This symbol, if defined, indicates that the ntohl() routine (and
1938 * friends htonl() htons() ntohs()) are available to do network
1939 * order byte swapping.
1942 * This symbol, if defined, indicates that the ntohs() routine (and
1943 * friends htonl() htons() ntohl()) are available to do network
1944 * order byte swapping.
1946 #$d_htonl HAS_HTONL /**/
1947 #$d_htonl HAS_HTONS /**/
1948 #$d_htonl HAS_NTOHL /**/
1949 #$d_htonl HAS_NTOHS /**/
1952 * This manifest constant lets the C program know that isascii
1955 #$d_isascii HAS_ISASCII /**/
1958 * This symbol, if defined, indicates that the lchown routine is
1959 * available to operate on a symbolic link (instead of following the
1962 #$d_lchown HAS_LCHOWN /**/
1965 * This symbol, if defined, indicates that the localtime_r routine
1966 * is available to localtime re-entrantly.
1968 /* LOCALTIME_R_NEEDS_TZSET:
1969 * Many libc's localtime_r implementations do not call tzset,
1970 * making them differ from localtime(), and making timezone
1971 * changes using \$ENV{TZ} without explicitly calling tzset
1972 * impossible. This symbol makes us call tzset before localtime_r
1974 #$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
1975 #ifdef LOCALTIME_R_NEEDS_TZSET
1976 #define L_R_TZSET tzset(),
1981 /* LOCALTIME_R_PROTO:
1982 * This symbol encodes the prototype of localtime_r.
1983 * It is zero if d_localtime_r is undef, and one of the
1984 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1987 #$d_localtime_r HAS_LOCALTIME_R /**/
1988 #define LOCALTIME_R_PROTO $localtime_r_proto /**/
1991 * This symbol will be defined if the C compiler supports long
1995 * This symbol contains the size of a long double, so that the
1996 * C preprocessor can make decisions based on it. It is only
1997 * defined if the system supports long doubles.
2000 * This symbol, if defined, indicates that the ldexpl routine is
2001 * available to shift a long double floating-point number
2002 * by an integral power of 2.
2005 * LONG_DOUBLEKIND will be one of
2006 * LONG_DOUBLE_IS_DOUBLE
2007 * LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
2008 * LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
2009 * LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN
2010 * LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN
2011 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN
2012 * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN
2013 * LONG_DOUBLE_IS_UNKNOWN_FORMAT
2014 * It is only defined if the system supports long doubles.
2016 #$d_ldexpl HAS_LDEXPL /**/
2017 #$d_longdbl HAS_LONG_DOUBLE /**/
2018 #ifdef HAS_LONG_DOUBLE
2019 #define LONG_DOUBLESIZE $longdblsize /**/
2020 #define LONG_DOUBLEKIND $longdblkind /**/
2021 #define LONG_DOUBLE_IS_DOUBLE 0
2022 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 1
2023 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 2
2024 #define LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN 3
2025 #define LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN 4
2026 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN 5
2027 #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN 6
2028 #define LONG_DOUBLE_IS_UNKNOWN_FORMAT -1
2032 * This symbol will be defined if the C compiler supports long long.
2035 * This symbol contains the size of a long long, so that the
2036 * C preprocessor can make decisions based on it. It is only
2037 * defined if the system supports long long.
2039 #$d_longlong HAS_LONG_LONG /**/
2040 #ifdef HAS_LONG_LONG
2041 #define LONGLONGSIZE $longlongsize /**/
2045 * This symbol, if defined, indicates that the system provides
2046 * a prototype for the lseek() function. Otherwise, it is up
2047 * to the program to supply one. A good guess is
2048 * extern off_t lseek(int, off_t, int);
2050 #$d_lseekproto HAS_LSEEK_PROTO /**/
2053 * This symbol, if defined, indicates that the memchr routine is available
2054 * to locate characters within a C string.
2056 #$d_memchr HAS_MEMCHR /**/
2059 * This symbol, if defined, indicates that the mkstemp routine is
2060 * available to exclusively create and open a uniquely named
2063 #$d_mkstemp HAS_MKSTEMP /**/
2066 * This symbol, if defined, indicates that the mmap system call is
2067 * available to map a file into memory.
2070 * This symbol holds the return type of the mmap() system call
2071 * (and simultaneously the type of the first argument).
2072 * Usually set to 'void *' or 'caddr_t'.
2074 #$d_mmap HAS_MMAP /**/
2075 #define Mmap_t $mmaptype /**/
2078 * This symbol, if defined, indicates that the entire msg*(2) library is
2079 * supported (IPC mechanism based on message queues).
2081 #$d_msg HAS_MSG /**/
2084 * This manifest constant lets the C program know that the three
2085 * argument form of open(2) is available.
2087 #$d_open3 HAS_OPEN3 /**/
2089 /* OLD_PTHREAD_CREATE_JOINABLE:
2090 * This symbol, if defined, indicates how to create pthread
2091 * in joinable (aka undetached) state. NOTE: not defined
2092 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2093 * (the new version of the constant).
2094 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2097 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
2099 /* HAS_PTHREAD_ATFORK:
2100 * This symbol, if defined, indicates that the pthread_atfork routine
2101 * is available to setup fork handlers.
2103 #$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
2105 /* HAS_PTHREAD_YIELD:
2106 * This symbol, if defined, indicates that the pthread_yield
2107 * routine is available to yield the execution of the current
2108 * thread. sched_yield is preferable to pthread_yield.
2111 * This symbol defines the way to yield the execution of
2112 * the current thread. Known ways are sched_yield,
2113 * pthread_yield, and pthread_yield with NULL.
2116 * This symbol, if defined, indicates that the sched_yield
2117 * routine is available to yield the execution of the current
2118 * thread. sched_yield is preferable to pthread_yield.
2120 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
2121 #define SCHED_YIELD $sched_yield /**/
2122 #$d_sched_yield HAS_SCHED_YIELD /**/
2125 * This symbol, if defined, indicates that the random_r routine
2126 * is available to random re-entrantly.
2129 * This symbol encodes the prototype of random_r.
2130 * It is zero if d_random_r is undef, and one of the
2131 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2134 #$d_random_r HAS_RANDOM_R /**/
2135 #define RANDOM_R_PROTO $random_r_proto /**/
2138 * This symbol, if defined, indicates that the readdir64_r routine
2139 * is available to readdir64 re-entrantly.
2141 /* READDIR64_R_PROTO:
2142 * This symbol encodes the prototype of readdir64_r.
2143 * It is zero if d_readdir64_r is undef, and one of the
2144 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
2147 #$d_readdir64_r HAS_READDIR64_R /**/
2148 #define READDIR64_R_PROTO $readdir64_r_proto /**/
2151 * This symbol, if defined, indicates that the readdir_r routine
2152 * is available to readdir re-entrantly.
2155 * This symbol encodes the prototype of readdir_r.
2156 * It is zero if d_readdir_r is undef, and one of the
2157 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2160 #$d_readdir_r HAS_READDIR_R /**/
2161 #define READDIR_R_PROTO $readdir_r_proto /**/
2164 * This symbol, if defined, indicates that the bcopy routine is available
2165 * to copy potentially overlapping memory blocks. Normally, you should
2166 * probably use memmove() or memcpy(). If neither is defined, roll your
2169 #$d_safebcpy HAS_SAFE_BCOPY /**/
2172 * This symbol, if defined, indicates that the memcpy routine is available
2173 * to copy potentially overlapping memory blocks. If you need to
2174 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2175 * use memmove() instead, if available.
2177 #$d_safemcpy HAS_SAFE_MEMCPY /**/
2180 * This symbol, if defined, indicates that the memcmp routine is available
2181 * and can be used to compare relative magnitudes of chars with their high
2182 * bits set. If it is not defined, roll your own version.
2184 #$d_sanemcmp HAS_SANE_MEMCMP /**/
2187 * This symbol, if defined, indicates that the entire sem*(2) library is
2190 #$d_sem HAS_SEM /**/
2193 * This symbol, if defined, indicates that the setgrent routine is
2194 * available for initializing sequential access of the group database.
2196 #$d_setgrent HAS_SETGRENT /**/
2199 * This symbol, if defined, indicates that the setgrent_r routine
2200 * is available to setgrent re-entrantly.
2202 /* SETGRENT_R_PROTO:
2203 * This symbol encodes the prototype of setgrent_r.
2204 * It is zero if d_setgrent_r is undef, and one of the
2205 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2208 #$d_setgrent_r HAS_SETGRENT_R /**/
2209 #define SETGRENT_R_PROTO $setgrent_r_proto /**/
2212 * This symbol, if defined, indicates that the sethostent() routine is
2215 #$d_sethent HAS_SETHOSTENT /**/
2217 /* HAS_SETHOSTENT_R:
2218 * This symbol, if defined, indicates that the sethostent_r routine
2219 * is available to sethostent re-entrantly.
2221 /* SETHOSTENT_R_PROTO:
2222 * This symbol encodes the prototype of sethostent_r.
2223 * It is zero if d_sethostent_r is undef, and one of the
2224 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
2227 #$d_sethostent_r HAS_SETHOSTENT_R /**/
2228 #define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
2231 * This symbol, if defined, indicates that the setlocale_r routine
2232 * is available to setlocale re-entrantly.
2234 /* SETLOCALE_R_PROTO:
2235 * This symbol encodes the prototype of setlocale_r.
2236 * It is zero if d_setlocale_r is undef, and one of the
2237 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
2240 #$d_setlocale_r HAS_SETLOCALE_R /**/
2241 #define SETLOCALE_R_PROTO $setlocale_r_proto /**/
2244 * This symbol, if defined, indicates that the setnetent() routine is
2247 #$d_setnent HAS_SETNETENT /**/
2250 * This symbol, if defined, indicates that the setnetent_r routine
2251 * is available to setnetent re-entrantly.
2253 /* SETNETENT_R_PROTO:
2254 * This symbol encodes the prototype of setnetent_r.
2255 * It is zero if d_setnetent_r is undef, and one of the
2256 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2259 #$d_setnetent_r HAS_SETNETENT_R /**/
2260 #define SETNETENT_R_PROTO $setnetent_r_proto /**/
2263 * This symbol, if defined, indicates that the setprotoent() routine is
2266 #$d_setpent HAS_SETPROTOENT /**/
2269 * This symbol, if defined, indicates that the setpgrp routine is
2270 * available to set the current process group.
2273 * This symbol, if defined, indicates that setpgrp needs two
2274 * arguments whereas USG one needs none. See also HAS_SETPGID
2275 * for a POSIX interface.
2277 #$d_setpgrp HAS_SETPGRP /**/
2278 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2280 /* HAS_SETPROTOENT_R:
2281 * This symbol, if defined, indicates that the setprotoent_r routine
2282 * is available to setprotoent re-entrantly.
2284 /* SETPROTOENT_R_PROTO:
2285 * This symbol encodes the prototype of setprotoent_r.
2286 * It is zero if d_setprotoent_r is undef, and one of the
2287 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2290 #$d_setprotoent_r HAS_SETPROTOENT_R /**/
2291 #define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
2294 * This symbol, if defined, indicates that the setpwent routine is
2295 * available for initializing sequential access of the passwd database.
2297 #$d_setpwent HAS_SETPWENT /**/
2300 * This symbol, if defined, indicates that the setpwent_r routine
2301 * is available to setpwent re-entrantly.
2303 /* SETPWENT_R_PROTO:
2304 * This symbol encodes the prototype of setpwent_r.
2305 * It is zero if d_setpwent_r is undef, and one of the
2306 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2309 #$d_setpwent_r HAS_SETPWENT_R /**/
2310 #define SETPWENT_R_PROTO $setpwent_r_proto /**/
2313 * This symbol, if defined, indicates that the setservent() routine is
2316 #$d_setsent HAS_SETSERVENT /**/
2318 /* HAS_SETSERVENT_R:
2319 * This symbol, if defined, indicates that the setservent_r routine
2320 * is available to setservent re-entrantly.
2322 /* SETSERVENT_R_PROTO:
2323 * This symbol encodes the prototype of setservent_r.
2324 * It is zero if d_setservent_r is undef, and one of the
2325 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2328 #$d_setservent_r HAS_SETSERVENT_R /**/
2329 #define SETSERVENT_R_PROTO $setservent_r_proto /**/
2332 * This symbol, if defined, indicates that the setvbuf routine is
2333 * available to change buffering on an open stdio stream.
2334 * to a line-buffered mode.
2336 #$d_setvbuf HAS_SETVBUF /**/
2339 * This symbol, if defined, indicates that the entire shm*(2) library is
2342 #$d_shm HAS_SHM /**/
2345 * This symbol holds the return type of the shmat() system call.
2346 * Usually set to 'void *' or 'char *'.
2348 /* HAS_SHMAT_PROTOTYPE:
2349 * This symbol, if defined, indicates that the sys/shm.h includes
2350 * a prototype for shmat(). Otherwise, it is up to the program to
2351 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2352 * but not always right so it should be emitted by the program only
2353 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2355 #define Shmat_t $shmattype /**/
2356 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2359 * This symbol, if defined, indicates that Vr4's sigaction() routine
2362 #$d_sigaction HAS_SIGACTION /**/
2365 * This variable indicates to the C program that the sigsetjmp()
2366 * routine is available to save the calling process's registers
2367 * and stack environment for later use by siglongjmp(), and
2368 * to optionally save the process's signal mask. See
2369 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2372 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2375 * This macro is used in the same way as sigsetjmp(), but will invoke
2376 * traditional setjmp() if sigsetjmp isn't available.
2377 * See HAS_SIGSETJMP.
2380 * This macro is used in the same way as siglongjmp(), but will invoke
2381 * traditional longjmp() if siglongjmp isn't available.
2382 * See HAS_SIGSETJMP.
2384 #$d_sigsetjmp HAS_SIGSETJMP /**/
2385 #ifdef HAS_SIGSETJMP
2386 #define Sigjmp_buf sigjmp_buf
2387 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2388 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2390 #define Sigjmp_buf jmp_buf
2391 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2392 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2396 * This symbol, if defined, indicates that the BSD socket interface is
2400 * This symbol, if defined, indicates that the BSD socketpair() call is
2404 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2405 * Checking just with #ifdef might not be enough because this symbol
2406 * has been known to be an enum.
2408 /* HAS_MSG_DONTROUTE:
2409 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2410 * Checking just with #ifdef might not be enough because this symbol
2411 * has been known to be an enum.
2414 * This symbol, if defined, indicates that the MSG_OOB is supported.
2415 * Checking just with #ifdef might not be enough because this symbol
2416 * has been known to be an enum.
2419 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2420 * Checking just with #ifdef might not be enough because this symbol
2421 * has been known to be an enum.
2424 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2425 * Checking just with #ifdef might not be enough because this symbol
2426 * has been known to be an enum.
2429 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2430 * Checking just with #ifdef might not be enough because this symbol
2431 * has been known to be an enum.
2433 /* HAS_SOCKADDR_SA_LEN:
2434 * This symbol, if defined, indicates that the struct sockaddr
2435 * structure has a member called sa_len, indicating the length of
2438 /* HAS_SOCKADDR_IN6:
2439 * This symbol, if defined, indicates the availability of
2440 * struct sockaddr_in6;
2442 /* HAS_SIN6_SCOPE_ID:
2443 * This symbol, if defined, indicates that the struct sockaddr_in6
2444 * structure has a member called sin6_scope_id.
2447 * This symbol, if defined, indicates the availability of
2450 /* HAS_IP_MREQ_SOURCE:
2451 * This symbol, if defined, indicates the availability of
2452 * struct ip_mreq_source;
2455 * This symbol, if defined, indicates the availability of
2458 /* HAS_IPV6_MREQ_SOURCE:
2459 * This symbol, if defined, indicates the availability of
2460 * struct ipv6_mreq_source;
2462 #$d_socket HAS_SOCKET /**/
2463 #$d_sockpair HAS_SOCKETPAIR /**/
2464 #$d_sockaddr_sa_len HAS_SOCKADDR_SA_LEN /**/
2465 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2466 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2467 #$d_msg_oob HAS_MSG_OOB /**/
2468 #$d_msg_peek HAS_MSG_PEEK /**/
2469 #$d_msg_proxy HAS_MSG_PROXY /**/
2470 #$d_scm_rights HAS_SCM_RIGHTS /**/
2471 #$d_sockaddr_in6 HAS_SOCKADDR_IN6 /**/
2472 #$d_sin6_scope_id HAS_SIN6_SCOPE_ID /**/
2473 #$d_ip_mreq HAS_IP_MREQ /**/
2474 #$d_ip_mreq_source HAS_IP_MREQ_SOURCE /**/
2475 #$d_ipv6_mreq HAS_IPV6_MREQ /**/
2476 #$d_ipv6_mreq_source HAS_IPV6_MREQ_SOURCE /**/
2479 * This symbol, if defined, indicates that the srand48_r routine
2480 * is available to srand48 re-entrantly.
2483 * This symbol encodes the prototype of srand48_r.
2484 * It is zero if d_srand48_r is undef, and one of the
2485 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2488 #$d_srand48_r HAS_SRAND48_R /**/
2489 #define SRAND48_R_PROTO $srand48_r_proto /**/
2492 * This symbol, if defined, indicates that the srandom_r routine
2493 * is available to srandom re-entrantly.
2496 * This symbol encodes the prototype of srandom_r.
2497 * It is zero if d_srandom_r is undef, and one of the
2498 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2501 #$d_srandom_r HAS_SRANDOM_R /**/
2502 #define SRANDOM_R_PROTO $srandom_r_proto /**/
2505 * This symbol is defined if this system has a stat structure declaring
2506 * st_blksize and st_blocks.
2508 #ifndef USE_STAT_BLOCKS
2509 #$d_statblks USE_STAT_BLOCKS /**/
2512 /* HAS_STATIC_INLINE:
2513 * This symbol, if defined, indicates that the C compiler supports
2514 * C99-style static inline. That is, the function can't be called
2515 * from another translation unit.
2517 /* PERL_STATIC_INLINE:
2518 * This symbol gives the best-guess incantation to use for static
2519 * inline functions. If HAS_STATIC_INLINE is defined, this will
2520 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
2521 * this will give a plain 'static'. It will always be defined
2522 * to something that gives static linkage.
2523 * Possibilities include
2524 * static inline (c99)
2525 * static __inline__ (gcc -ansi)
2526 * static __inline (MSVC)
2527 * static _inline (older MSVC)
2528 * static (c89 compilers)
2530 #$d_static_inline HAS_STATIC_INLINE /**/
2531 #define PERL_STATIC_INLINE $perl_static_inline /**/
2534 * This symbol is defined if the _ptr and _cnt fields (or similar)
2535 * of the stdio FILE structure can be used to access the stdio buffer
2536 * for a file handle. If this is defined, then the FILE_ptr(fp)
2537 * and FILE_cnt(fp) macros will also be defined and should be used
2538 * to access these fields.
2541 * This macro is used to access the _ptr field (or equivalent) of the
2542 * FILE structure pointed to by its argument. This macro will always be
2543 * defined if USE_STDIO_PTR is defined.
2545 /* STDIO_PTR_LVALUE:
2546 * This symbol is defined if the FILE_ptr macro can be used as an
2550 * This macro is used to access the _cnt field (or equivalent) of the
2551 * FILE structure pointed to by its argument. This macro will always be
2552 * defined if USE_STDIO_PTR is defined.
2554 /* STDIO_CNT_LVALUE:
2555 * This symbol is defined if the FILE_cnt macro can be used as an
2558 /* STDIO_PTR_LVAL_SETS_CNT:
2559 * This symbol is defined if using the FILE_ptr macro as an lvalue
2560 * to increase the pointer by n has the side effect of decreasing the
2561 * value of File_cnt(fp) by n.
2563 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2564 * This symbol is defined if using the FILE_ptr macro as an lvalue
2565 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2567 #$d_stdstdio USE_STDIO_PTR /**/
2568 #ifdef USE_STDIO_PTR
2569 #define FILE_ptr(fp) $stdio_ptr
2570 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
2571 #define FILE_cnt(fp) $stdio_cnt
2572 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
2573 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
2574 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
2578 * This symbol is defined if the _base field (or similar) of the
2579 * stdio FILE structure can be used to access the stdio buffer for
2580 * a file handle. If this is defined, then the FILE_base(fp) macro
2581 * will also be defined and should be used to access this field.
2582 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2583 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2584 * will never be defined unless USE_STDIO_PTR is.
2587 * This macro is used to access the _base field (or equivalent) of the
2588 * FILE structure pointed to by its argument. This macro will always be
2589 * defined if USE_STDIO_BASE is defined.
2592 * This macro is used to determine the number of bytes in the I/O
2593 * buffer pointed to by _base field (or equivalent) of the FILE
2594 * structure pointed to its argument. This macro will always be defined
2595 * if USE_STDIO_BASE is defined.
2597 #$d_stdiobase USE_STDIO_BASE /**/
2598 #ifdef USE_STDIO_BASE
2599 #define FILE_base(fp) $stdio_base
2600 #define FILE_bufsiz(fp) $stdio_bufsiz
2604 * This symbol, if defined, indicates that this C compiler knows how
2605 * to copy structures. If undefined, you'll need to use a block copy
2606 * routine of some sort instead.
2608 #$d_strctcpy USE_STRUCT_COPY /**/
2611 * This symbol, if defined, indicates that the strerror routine is
2612 * available to translate error numbers to strings. See the writeup
2613 * of Strerror() in this file before you try to define your own.
2616 * This symbol, if defined, indicates that the sys_errlist array is
2617 * available to translate error numbers to strings. The extern int
2618 * sys_nerr gives the size of that table.
2621 * This preprocessor symbol is defined as a macro if strerror() is
2622 * not available to translate error numbers to strings but sys_errlist[]
2625 #$d_strerror HAS_STRERROR /**/
2626 #$d_syserrlst HAS_SYS_ERRLIST /**/
2627 #define Strerror(e) $d_strerrm
2630 * This symbol, if defined, indicates that the strerror_r routine
2631 * is available to strerror re-entrantly.
2633 /* STRERROR_R_PROTO:
2634 * This symbol encodes the prototype of strerror_r.
2635 * It is zero if d_strerror_r is undef, and one of the
2636 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2639 #$d_strerror_r HAS_STRERROR_R /**/
2640 #define STRERROR_R_PROTO $strerror_r_proto /**/
2643 * This symbol, if defined, indicates that the strtoul routine is
2644 * available to provide conversion of strings to unsigned long.
2646 #$d_strtoul HAS_STRTOUL /**/
2649 * This symbol, if defined, indicates that the time() routine exists.
2652 * This symbol holds the type returned by time(). It can be long,
2653 * or time_t on BSD sites (in which case <sys/types.h> should be
2656 #$d_time HAS_TIME /**/
2657 #define Time_t $timetype /* Time type */
2660 * This symbol, if defined, indicates that the times() routine exists.
2661 * Note that this became obsolete on some systems (SUNOS), which now
2662 * use getrusage(). It may be necessary to include <sys/times.h>.
2664 #$d_times HAS_TIMES /**/
2667 * This symbol, if defined, indicates that the tmpnam_r routine
2668 * is available to tmpnam re-entrantly.
2671 * This symbol encodes the prototype of tmpnam_r.
2672 * It is zero if d_tmpnam_r is undef, and one of the
2673 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2676 #$d_tmpnam_r HAS_TMPNAM_R /**/
2677 #define TMPNAM_R_PROTO $tmpnam_r_proto /**/
2680 * This symbol, if defined, indicates that the ttyname_r routine
2681 * is available to ttyname re-entrantly.
2684 * This symbol encodes the prototype of ttyname_r.
2685 * It is zero if d_ttyname_r is undef, and one of the
2686 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2689 #$d_ttyname_r HAS_TTYNAME_R /**/
2690 #define TTYNAME_R_PROTO $ttyname_r_proto /**/
2693 * This symbol, if defined, indicates that the union semun is
2694 * defined by including <sys/sem.h>. If not, the user code
2695 * probably needs to define it as:
2698 * struct semid_ds *buf;
2699 * unsigned short *array;
2702 /* USE_SEMCTL_SEMUN:
2703 * This symbol, if defined, indicates that union semun is
2704 * used for semctl IPC_STAT.
2706 /* USE_SEMCTL_SEMID_DS:
2707 * This symbol, if defined, indicates that struct semid_ds * is
2708 * used for semctl IPC_STAT.
2710 #$d_union_semun HAS_UNION_SEMUN /**/
2711 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2712 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2715 * This symbol, if defined, indicates that vfork() exists.
2717 #$d_vfork HAS_VFORK /**/
2720 * This symbol, if defined, indicates that an emulation of the
2721 * fork routine is available.
2723 #$d_pseudofork HAS_PSEUDOFORK /**/
2726 * This symbol's value is either "void" or "int", corresponding to the
2727 * appropriate return type of a signal handler. Thus, you can declare
2728 * a signal handler using "Signal_t (*handler)()", and define the
2729 * handler using "Signal_t handler(sig)".
2731 #define Signal_t $signal_t /* Signal handler's return type */
2734 * This symbol, if defined, indicates that this C compiler knows about
2735 * the volatile declaration.
2737 #$d_volatile HASVOLATILE /**/
2743 * This symbol, if defined, indicates that the vprintf routine is available
2744 * to printf with a pointer to an argument list. If unavailable, you
2745 * may need to write your own, probably in terms of _doprnt().
2747 /* USE_CHAR_VSPRINTF:
2748 * This symbol is defined if this system has vsprintf() returning type
2749 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2750 * is up to the package author to declare vsprintf correctly based on the
2753 #$d_vprintf HAS_VPRINTF /**/
2754 #$d_charvspr USE_CHAR_VSPRINTF /**/
2757 * This symbol contains the size of a double, so that the C preprocessor
2758 * can make decisions based on it.
2760 #define DOUBLESIZE $doublesize /**/
2763 * DOUBLEKIND will be one of
2764 * DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN
2765 * DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN
2766 * DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN
2767 * DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN
2768 * DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
2769 * DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
2770 * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE
2771 * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE
2772 * DOUBLE_IS_UNKNOWN_FORMAT
2774 #define DOUBLEKIND $doublekind /**/
2775 #define DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN 1
2776 #define DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN 2
2777 #define DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN 3
2778 #define DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN 4
2779 #define DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 5
2780 #define DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 6
2781 #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE 7
2782 #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE 8
2783 #define DOUBLE_IS_UNKNOWN_FORMAT -1
2786 * This symbol, if defined, indicates that this system uses
2789 #$ebcdic EBCDIC /**/
2792 * This symbol holds the type used to declare file positions in libc.
2793 * It can be fpos_t, long, uint, etc... It may be necessary to include
2794 * <sys/types.h> to get any typedef'ed information.
2796 #define Fpos_t $fpostype /* File position type */
2799 * This symbol defines the format string used for printing a Gid_t.
2801 #define Gid_t_f $gidformat /**/
2804 * This symbol holds the signedness of a Gid_t.
2805 * 1 for unsigned, -1 for signed.
2807 #define Gid_t_sign $gidsign /* GID sign */
2810 * This symbol holds the size of a Gid_t in bytes.
2812 #define Gid_t_size $gidsize /* GID size */
2815 * This symbol holds the return type of getgid() and the type of
2816 * argument to setrgid() and related functions. Typically,
2817 * it is the type of group ids in the kernel. It can be int, ushort,
2818 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2819 * any typedef'ed information.
2821 #define Gid_t $gidtype /* Type for getgid(), etc... */
2824 * This symbol, if defined, indicates to the C program that it should
2825 * include <dirent.h>. Using this symbol also triggers the definition
2826 * of the Direntry_t define which ends up being 'struct dirent' or
2827 * 'struct direct' depending on the availability of <dirent.h>.
2830 * This symbol, if defined, indicates to the C program that the length
2831 * of directory entry names is provided by a d_namlen field. Otherwise
2832 * you need to do strlen() on the d_name field.
2835 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2836 * whether dirent is available or not. You should use this pseudo type to
2837 * portably declare your directory entries.
2839 #$i_dirent I_DIRENT /**/
2840 #$d_dirnamlen DIRNAMLEN /**/
2841 #define Direntry_t $direntrytype
2844 * This symbol, if defined, indicates to the C program that it should
2845 * include <execinfo.h> for backtrace() support.
2847 #$i_execinfo I_EXECINFO /**/
2850 * This symbol, if defined, indicates to the C program that it should
2854 * This symbol, if defined, indicates to the C program that struct group
2855 * in <grp.h> contains gr_passwd.
2858 #$d_grpasswd GRPASSWD /**/
2861 * This symbol, if defined, indicates to the C program that it should
2862 * include <mach/cthreads.h>.
2864 #$i_machcthr I_MACH_CTHREADS /**/
2867 * This symbol, if defined, indicates that <ndbm.h> exists and should
2871 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2872 * be included. This was the location of the ndbm.h compatibility file
2876 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2877 * be included. This is the location of the ndbm.h compatibility file
2880 /* NDBM_H_USES_PROTOTYPES:
2881 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2882 * prototypes instead of K&R style function declarations without any
2883 * parameter information. While ANSI C prototypes are supported in C++,
2884 * K&R style function declarations will yield errors.
2886 /* GDBMNDBM_H_USES_PROTOTYPES:
2887 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2888 * prototypes instead of K&R style function declarations without any
2889 * parameter information. While ANSI C prototypes are supported in C++,
2890 * K&R style function declarations will yield errors.
2892 /* GDBM_NDBM_H_USES_PROTOTYPES:
2893 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2894 * prototypes instead of K&R style function declarations without any
2895 * parameter information. While ANSI C prototypes are supported in C++,
2896 * K&R style function declarations will yield errors.
2898 #$i_ndbm I_NDBM /**/
2899 #$i_gdbmndbm I_GDBMNDBM /**/
2900 #$i_gdbm_ndbm I_GDBM_NDBM /**/
2901 #$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
2902 #$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
2903 #$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
2906 * This symbol, if defined, indicates that <netdb.h> exists and
2907 * should be included.
2909 #$i_netdb I_NETDB /**/
2912 * This symbol, if defined, indicates that <net/errno.h> exists and
2913 * should be included.
2915 #$i_neterrno I_NET_ERRNO /**/
2918 * This symbol, if defined, indicates to the C program that it should
2919 * include <pthread.h>.
2921 #$i_pthread I_PTHREAD /**/
2924 * This symbol, if defined, indicates to the C program that it should
2928 * This symbol, if defined, indicates to the C program that struct passwd
2929 * contains pw_quota.
2932 * This symbol, if defined, indicates to the C program that struct passwd
2936 * This symbol, if defined, indicates to the C program that struct passwd
2937 * contains pw_change.
2940 * This symbol, if defined, indicates to the C program that struct passwd
2941 * contains pw_class.
2944 * This symbol, if defined, indicates to the C program that struct passwd
2945 * contains pw_expire.
2948 * This symbol, if defined, indicates to the C program that struct passwd
2949 * contains pw_comment.
2952 * This symbol, if defined, indicates to the C program that struct passwd
2953 * contains pw_gecos.
2956 * This symbol, if defined, indicates to the C program that struct passwd
2957 * contains pw_passwd.
2960 #$d_pwquota PWQUOTA /**/
2961 #$d_pwage PWAGE /**/
2962 #$d_pwchange PWCHANGE /**/
2963 #$d_pwclass PWCLASS /**/
2964 #$d_pwexpire PWEXPIRE /**/
2965 #$d_pwcomment PWCOMMENT /**/
2966 #$d_pwgecos PWGECOS /**/
2967 #$d_pwpasswd PWPASSWD /**/
2970 * This symbol, if defined, indicates to the C program that it should
2971 * include <quadmath.h>.
2973 #$i_quadmath I_QUADMATH /**/
2976 * This symbol, if defined, indicates to the C program that it should
2977 * include <sys/access.h>.
2979 #$i_sysaccess I_SYS_ACCESS /**/
2982 * This symbol, if defined, indicates to the C program that it should
2983 * include <sys/security.h>.
2985 #$i_syssecrt I_SYS_SECURITY /**/
2988 * This symbol, if defined, indicates that <sys/uio.h> exists and
2989 * should be included.
2991 #$i_sysuio I_SYSUIO /**/
2994 * This symbol, if defined, indicates that the program should include
2995 * <termio.h> rather than <sgtty.h>. There are also differences in
2996 * the ioctl() calls that depend on the value of this symbol.
2999 * This symbol, if defined, indicates that the program should include
3000 * the POSIX termios.h rather than sgtty.h or termio.h.
3001 * There are also differences in the ioctl() calls that depend on the
3002 * value of this symbol.
3005 * This symbol, if defined, indicates that the program should include
3006 * <sgtty.h> rather than <termio.h>. There are also differences in
3007 * the ioctl() calls that depend on the value of this symbol.
3009 #$i_termio I_TERMIO /**/
3010 #$i_termios I_TERMIOS /**/
3011 #$i_sgtty I_SGTTY /**/
3014 * This symbol, if defined, indicates to the C program that it should
3018 * This symbol, if defined, indicates to the C program that it should
3019 * include <sys/time.h>.
3021 /* I_SYS_TIME_KERNEL:
3022 * This symbol, if defined, indicates to the C program that it should
3023 * include <sys/time.h> with KERNEL defined.
3026 * This symbol, if defined, indicates to the C program that
3027 * the struct tm has a tm_zone field.
3029 /* HAS_TM_TM_GMTOFF:
3030 * This symbol, if defined, indicates to the C program that
3031 * the struct tm has a tm_gmtoff field.
3033 #$i_time I_TIME /**/
3034 #$i_systime I_SYS_TIME /**/
3035 #$i_systimek I_SYS_TIME_KERNEL /**/
3036 #$d_tm_tm_zone HAS_TM_TM_ZONE /**/
3037 #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
3040 * This symbol, if defined, indicates that <stdarg.h> exists and should
3044 * This symbol, if defined, indicates to the C program that it should
3045 * include <varargs.h>.
3047 #$i_stdarg I_STDARG /**/
3048 #$i_varargs I_VARARGS /**/
3050 /* PERL_INC_VERSION_LIST:
3051 * This variable specifies the list of subdirectories in over
3052 * which perl.c:incpush() and lib/lib.pm will automatically
3053 * search when adding directories to @INC, in a format suitable
3054 * for a C initialization string. See the inc_version_list entry
3055 * in Porting/Glossary for more details.
3057 #$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
3059 /* INSTALL_USR_BIN_PERL:
3060 * This symbol, if defined, indicates that Perl is to be installed
3061 * also as /usr/bin/perl.
3063 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
3066 * This symbol holds the type used to declare offsets in the kernel.
3067 * It can be int, long, off_t, etc... It may be necessary to include
3068 * <sys/types.h> to get any typedef'ed information.
3071 * This symbol holds the number of bytes used by the Off_t.
3074 * This symbol holds the number of bytes used by the Off_t.
3076 #define Off_t $lseektype /* <offset> type */
3077 #define LSEEKSIZE $lseeksize /* <offset> size */
3078 #define Off_t_size $lseeksize /* <offset> size */
3081 * This variable contains the return type of free(). It is usually
3082 * void, but occasionally int.
3085 * This symbol is the type of pointer returned by malloc and realloc.
3087 #define Malloc_t $malloctype /**/
3088 #define Free_t $freetype /**/
3090 /* PERL_MALLOC_WRAP:
3091 * This symbol, if defined, indicates that we'd like malloc wrap checks.
3093 #$usemallocwrap PERL_MALLOC_WRAP /**/
3096 * This symbol, if defined, indicates that we're using our own malloc.
3098 #$d_mymalloc MYMALLOC /**/
3101 * This symbol holds the type used to declare file modes
3102 * for systems calls. It is usually mode_t, but may be
3103 * int or unsigned short. It may be necessary to include <sys/types.h>
3104 * to get any typedef'ed information.
3106 #define Mode_t $modetype /* file mode parameter for system calls */
3109 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3110 * non-blocking I/O for the file descriptor. Note that there is no way
3111 * back, i.e. you cannot turn it blocking again this way. If you wish to
3112 * alternatively switch between blocking and non-blocking, use the
3113 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3116 * This symbol holds the errno error code set by read() when no data was
3117 * present on the non-blocking file descriptor.
3120 * This symbol holds the return code from read() when no data is present
3121 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3122 * not defined, then you can't distinguish between no data and EOF by
3123 * issuing a read(). You'll have to find another way to tell for sure!
3126 * This symbol, if defined, indicates to the C program that a read() on
3127 * a non-blocking file descriptor will return 0 on EOF, and not the value
3128 * held in RD_NODATA (-1 usually, in that case!).
3130 #define VAL_O_NONBLOCK $o_nonblock
3131 #define VAL_EAGAIN $eagain
3132 #define RD_NODATA $rd_nodata
3133 #$d_eofnblk EOF_NONBLOCK
3136 * This symbol holds the type used for the 1st argument
3137 * to gethostbyaddr().
3140 * This symbol holds the type used for the 2nd argument
3141 * to gethostbyaddr().
3144 * This symbol holds the type used for the argument to
3148 * This symbol holds the type used for the 1st argument to
3151 #define Netdb_host_t $netdb_host_type /**/
3152 #define Netdb_hlen_t $netdb_hlen_type /**/
3153 #define Netdb_name_t $netdb_name_type /**/
3154 #define Netdb_net_t $netdb_net_type /**/
3156 /* PERL_OTHERLIBDIRS:
3157 * This variable contains a colon-separated set of paths for the perl
3158 * binary to search for additional library files or modules.
3159 * These directories will be tacked to the end of @INC.
3160 * Perl will automatically search below each path for version-
3161 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3164 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
3167 * This symbol holds the type used to declare process ids in the kernel.
3168 * It can be int, uint, pid_t, etc... It may be necessary to include
3169 * <sys/types.h> to get any typedef'ed information.
3171 #define Pid_t $pidtype /* PID type */
3174 * This symbol contains the name of the private library for this package.
3175 * The library is private in the sense that it needn't be in anyone's
3176 * execution path, but it should be accessible by the world. The program
3177 * should be prepared to do ~ expansion.
3180 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3181 * in programs that are not prepared to deal with ~ expansion at run-time.
3183 #define PRIVLIB "$privlib" /**/
3184 #define PRIVLIB_EXP "$privlibexp" /**/
3187 * If defined, this macro indicates that the C compiler can handle
3188 * function prototypes.
3191 * This macro is used to declare function parameters for folks who want
3192 * to make declarations with prototypes using a different style than
3193 * the above macros. Use double parentheses. For example:
3195 * int main _((int argc, char *argv[]));
3197 #$prototype CAN_PROTOTYPE /**/
3198 #ifdef CAN_PROTOTYPE
3199 #define _(args) args
3205 * This symbol contains the size of a pointer, so that the C preprocessor
3206 * can make decisions based on it. It will be sizeof(void *) if
3207 * the compiler supports (void *); otherwise it will be
3210 #define PTRSIZE $ptrsize /**/
3213 * This symbol, if defined, tells that there's a 64-bit integer type,
3214 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
3215 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
3216 * or QUAD_IS___INT64.
3218 #$d_quad HAS_QUAD /**/
3220 # define Quad_t $quadtype /**/
3221 # define Uquad_t $uquadtype /**/
3222 # define QUADKIND $quadkind /**/
3223 # define QUAD_IS_INT 1
3224 # define QUAD_IS_LONG 2
3225 # define QUAD_IS_LONG_LONG 3
3226 # define QUAD_IS_INT64_T 4
3227 # define QUAD_IS___INT64 5
3231 * This macro is to be used to generate uniformly distributed
3232 * random numbers over the range [0., 1.[. You may have to supply
3233 * an 'extern double drand48();' in your program since SunOS 4.1.3
3234 * doesn't provide you with anything relevant in its headers.
3235 * See HAS_DRAND48_PROTO.
3238 * This symbol defines the type of the argument of the
3239 * random seed function.
3242 * This symbol defines the macro to be used in seeding the
3243 * random number generator (see Drand01).
3246 * This symbol indicates how many bits are produced by the
3247 * function used to generate normalized random numbers.
3248 * Values include 15, 16, 31, and 48.
3250 #define Drand01() $drand01 /**/
3251 #define Rand_seed_t $randseedtype /**/
3252 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3253 #define RANDBITS $randbits /**/
3256 * This symbol holds the type used for the 2nd, 3rd, and 4th
3257 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3258 * is defined, and 'int *' otherwise. This is only useful if you
3259 * have select(), of course.
3261 #define Select_fd_set_t $selecttype /**/
3264 * This symbol contains the full pathname to the shell used on this
3265 * on this system to execute Bourne shell scripts. Usually, this will be
3266 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3267 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3270 #define SH_PATH "$targetsh" /**/
3273 * This symbol contains a list of signal names in order of
3274 * signal number. This is intended
3275 * to be used as a static array initialization, like this:
3276 * char *sig_name[] = { SIG_NAME };
3277 * The signals in the list are separated with commas, and each signal
3278 * is surrounded by double quotes. There is no leading SIG in the signal
3279 * name, i.e. SIGQUIT is known as "QUIT".
3280 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3281 * etc., where nn is the actual signal number (e.g. NUM37).
3282 * The signal number for sig_name[i] is stored in sig_num[i].
3283 * The last element is 0 to terminate the list with a NULL. This
3284 * corresponds to the 0 at the end of the sig_name_init list.
3285 * Note that this variable is initialized from the sig_name_init,
3286 * not from sig_name (which is unused).
3289 * This symbol contains a list of signal numbers, in the same order as the
3290 * SIG_NAME list. It is suitable for static array initialization, as in:
3291 * int sig_num[] = { SIG_NUM };
3292 * The signals in the list are separated with commas, and the indices
3293 * within that list and the SIG_NAME list match, so it's easy to compute
3294 * the signal name from a number or vice versa at the price of a small
3295 * dynamic linear lookup.
3296 * Duplicates are allowed, but are moved to the end of the list.
3297 * The signal number corresponding to sig_name[i] is sig_number[i].
3298 * if (i < NSIG) then sig_number[i] == i.
3299 * The last element is 0, corresponding to the 0 at the end of
3300 * the sig_name_init list.
3301 * Note that this variable is initialized from the sig_num_init,
3302 * not from sig_num (which is unused).
3305 * This variable contains the number of elements of the SIG_NAME
3306 * and SIG_NUM arrays, excluding the final NULL entry.
3308 #define SIG_NAME $sig_name_init /**/
3309 #define SIG_NUM $sig_num_init /**/
3310 #define SIG_SIZE $sig_size /**/
3313 * This symbol contains the name of the private library for this package.
3314 * The library is private in the sense that it needn't be in anyone's
3315 * execution path, but it should be accessible by the world. The program
3316 * should be prepared to do ~ expansion.
3317 * The standard distribution will put nothing in this directory.
3318 * After perl has been installed, users may install their own local
3319 * architecture-dependent modules in this directory with
3320 * MakeMaker Makefile.PL
3321 * or equivalent. See INSTALL for details.
3324 * This symbol contains the ~name expanded version of SITEARCH, to be used
3325 * in programs that are not prepared to deal with ~ expansion at run-time.
3327 #$d_sitearch SITEARCH "$sitearch" /**/
3328 #$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
3331 * This symbol contains the name of the private library for this package.
3332 * The library is private in the sense that it needn't be in anyone's
3333 * execution path, but it should be accessible by the world. The program
3334 * should be prepared to do ~ expansion.
3335 * The standard distribution will put nothing in this directory.
3336 * After perl has been installed, users may install their own local
3337 * architecture-independent modules in this directory with
3338 * MakeMaker Makefile.PL
3339 * or equivalent. See INSTALL for details.
3342 * This symbol contains the ~name expanded version of SITELIB, to be used
3343 * in programs that are not prepared to deal with ~ expansion at run-time.
3346 * This define is SITELIB_EXP with any trailing version-specific component
3347 * removed. The elements in inc_version_list (inc_version_list.U) can
3348 * be tacked onto this variable to generate a list of directories to search.
3350 #define SITELIB "$sitelib" /**/
3351 #define SITELIB_EXP "$sitelibexp" /**/
3352 #define SITELIB_STEM "$sitelib_stem" /**/
3355 * This symbol holds the size of a Size_t in bytes.
3357 #define Size_t_size $sizesize /**/
3360 * This symbol holds the type used to declare length parameters
3361 * for string functions. It is usually size_t, but may be
3362 * unsigned long, int, etc. It may be necessary to include
3363 * <sys/types.h> to get any typedef'ed information.
3365 #define Size_t $sizetype /* length parameter for string functions */
3368 * This symbol holds the type used for the size argument of
3369 * various socket calls (just the base type, not the pointer-to).
3371 #define Sock_size_t $socksizetype /**/
3374 * This symbol holds the type used by functions that return
3375 * a count of bytes or an error condition. It must be a signed type.
3376 * It is usually ssize_t, but may be long or int, etc.
3377 * It may be necessary to include <sys/types.h> or <unistd.h>
3378 * to get any typedef'ed information.
3379 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3381 #define SSize_t $ssizetype /* signed count of bytes */
3384 * This symbol is defined to be the type of char used in stdio.h.
3385 * It has the values "unsigned char" or "char".
3387 #define STDCHAR $stdchar /**/
3390 * This symbol defines the format string used for printing a Uid_t.
3392 #define Uid_t_f $uidformat /**/
3395 * This symbol holds the signedness of a Uid_t.
3396 * 1 for unsigned, -1 for signed.
3398 #define Uid_t_sign $uidsign /* UID sign */
3401 * This symbol holds the size of a Uid_t in bytes.
3403 #define Uid_t_size $uidsize /* UID size */
3406 * This symbol holds the type used to declare user ids in the kernel.
3407 * It can be int, ushort, uid_t, etc... It may be necessary to include
3408 * <sys/types.h> to get any typedef'ed information.
3410 #define Uid_t $uidtype /* UID type */
3413 * This symbol, if defined, indicates that Perl should be built to
3414 * use the interpreter-based threading implementation.
3417 * This symbol, if defined, indicates that Perl should be built to
3418 * use the 5.005-based threading implementation.
3419 * Only valid up to 5.8.x.
3421 /* OLD_PTHREADS_API:
3422 * This symbol, if defined, indicates that Perl should
3423 * be built to use the old draft POSIX threads API.
3425 /* USE_REENTRANT_API:
3426 * This symbol, if defined, indicates that Perl should
3427 * try to use the various _r versions of library functions.
3428 * This is extremely experimental.
3430 #$use5005threads USE_5005THREADS /**/
3431 #$useithreads USE_ITHREADS /**/
3432 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3433 #define USE_THREADS /* until src is revised*/
3435 #$d_oldpthreads OLD_PTHREADS_API /**/
3436 #$usereentrant USE_REENTRANT_API /**/
3439 * If defined, this symbol contains the name of a private library.
3440 * The library is private in the sense that it needn't be in anyone's
3441 * execution path, but it should be accessible by the world.
3442 * It may have a ~ on the front.
3443 * The standard distribution will put nothing in this directory.
3444 * Vendors who distribute perl may wish to place their own
3445 * architecture-dependent modules and extensions in this directory with
3446 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3447 * or equivalent. See INSTALL for details.
3449 /* PERL_VENDORARCH_EXP:
3450 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3451 * in programs that are not prepared to deal with ~ expansion at run-time.
3453 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
3454 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
3456 /* PERL_VENDORLIB_EXP:
3457 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3458 * in programs that are not prepared to deal with ~ expansion at run-time.
3460 /* PERL_VENDORLIB_STEM:
3461 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3462 * removed. The elements in inc_version_list (inc_version_list.U) can
3463 * be tacked onto this variable to generate a list of directories to search.
3465 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
3466 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
3468 /* USE_CROSS_COMPILE:
3469 * This symbol, if defined, indicates that Perl is being cross-compiled.
3472 * This symbol, if defined, indicates the target architecture
3473 * Perl has been cross-compiled to. Undefined if not a cross-compile.
3475 #ifndef USE_CROSS_COMPILE
3476 #$usecrosscompile USE_CROSS_COMPILE /**/
3477 #define PERL_TARGETARCH "$targetarch" /**/
3481 * This symbol, if defined, indicates that Perl was configured with
3482 * -Dusedevel, to enable development features. This should not be
3483 * done for production builds.
3485 #$usedevel PERL_USE_DEVEL /**/
3488 * This symbol, if defined, indicates that the atolf routine is
3489 * available to convert strings into long doubles.
3491 #$d_atolf HAS_ATOLF /**/
3494 * This symbol, if defined, indicates that the atoll routine is
3495 * available to convert strings into long longs.
3497 #$d_atoll HAS_ATOLL /**/
3500 * This symbol, if defined, indicates that the _fwalk system call is
3501 * available to apply a function to all the file handles.
3503 #$d__fwalk HAS__FWALK /**/
3506 * This symbol, if defined, indicates that the acosh routine is
3507 * available to do the inverse hyperbolic cosine function.
3509 #$d_acosh HAS_ACOSH /**/
3512 * This symbol, if defined, indicates that the asinh routine is
3513 * available to do the inverse hyperbolic sine function.
3515 #$d_asinh HAS_ASINH /**/
3518 * This symbol, if defined, indicates that the atanh routine is
3519 * available to do the inverse hyperbolic tangent function.
3521 #$d_atanh HAS_ATANH /**/
3524 * This symbol, if defined, indicates that the cbrt routine is
3525 * available to do the cubic root function.
3527 #$d_cbrt HAS_CBRT /**/
3530 * This symbol, if defined, indicates that the copysign routine is
3531 * available to do the copysign function.
3533 #$d_copysign HAS_COPYSIGN /**/
3536 * This symbol, if defined, indicates that the erf routine is
3537 * available to do the error function.
3539 #$d_erf HAS_ERF /**/
3542 * This symbol, if defined, indicates that the erfc routine is
3543 * available to do the complementary error function.
3545 #$d_erfc HAS_ERFC /**/
3548 * This symbol, if defined, indicates that the exp2 routine is
3549 * available to do the 2**x function.
3551 #$d_exp2 HAS_EXP2 /**/
3554 * This symbol, if defined, indicates that the expm1 routine is
3555 * available to do the exp(x) - 1 when x is near 1.
3557 #$d_expm1 HAS_EXPM1 /**/
3560 * This symbol, if defined, indicates that the fma routine is
3561 * available to do the multiply-add function.
3563 #$d_fma HAS_FMA /**/
3566 * This symbol, if defined, indicates that the fdim routine is
3567 * available to do the positive difference function.
3569 #$d_fdim HAS_FDIM /**/
3572 * This symbol, if defined, indicates that the fma routine is
3573 * available to do the maximum function.
3575 #$d_fmax HAS_FMAX /**/
3578 * This symbol, if defined, indicates that the fma routine is
3579 * available to do the minimum function.
3581 #$d_fmin HAS_FMIN /**/
3584 * This symbol, if defined, indicates that the aintl routine is
3585 * available. If copysignl is also present we can emulate modfl.
3587 #$d_aintl HAS_AINTL /**/
3589 /* HAS_BUILTIN_CHOOSE_EXPR:
3590 * Can we handle GCC builtin for compile-time ternary-like expressions
3592 /* HAS_BUILTIN_EXPECT:
3593 * Can we handle GCC builtin for telling that certain values are more
3596 #$d_builtin_expect HAS_BUILTIN_EXPECT /**/
3597 #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
3599 /* HAS_C99_VARIADIC_MACROS:
3600 * If defined, the compiler supports C99 variadic macros.
3602 #$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
3605 * This symbol, if defined, indicates that the class routine is
3606 * available to classify doubles. Available for example in AIX.
3607 * The returned values are defined in <float.h> and are:
3609 * FP_PLUS_NORM Positive normalized, nonzero
3610 * FP_MINUS_NORM Negative normalized, nonzero
3611 * FP_PLUS_DENORM Positive denormalized, nonzero
3612 * FP_MINUS_DENORM Negative denormalized, nonzero
3614 * FP_MINUS_ZERO -0.0
3617 * FP_NANS Signaling Not a Number (NaNS)
3618 * FP_NANQ Quiet Not a Number (NaNQ)
3620 #$d_class HAS_CLASS /**/
3623 * This symbol, if defined, indicates that the clearenv () routine is
3624 * available for use.
3626 #$d_clearenv HAS_CLEARENV /**/
3628 /* HAS_STRUCT_CMSGHDR:
3629 * This symbol, if defined, indicates that the struct cmsghdr
3632 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
3635 * This symbol, if defined, indicates that the copysignl routine is
3636 * available. If aintl is also present we can emulate modfl.
3638 #$d_copysignl HAS_COPYSIGNL /**/
3641 * This symbol, if defined, indicates that a C++ compiler was
3642 * used to compiled Perl and will be used to compile extensions.
3644 #$d_cplusplus USE_CPLUSPLUS /**/
3646 /* HAS_DBMINIT_PROTO:
3647 * This symbol, if defined, indicates that the system provides
3648 * a prototype for the dbminit() function. Otherwise, it is up
3649 * to the program to supply one. A good guess is
3650 * extern int dbminit(char *);
3652 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
3655 * This symbol, if defined, indicates that the the DIR* dirstream
3656 * structure contains a member variable named dd_fd.
3658 #$d_dir_dd_fd HAS_DIR_DD_FD /**/
3661 * This manifest constant lets the C program know that dirfd
3664 #$d_dirfd HAS_DIRFD /**/
3666 /* DLSYM_NEEDS_UNDERSCORE:
3667 * This symbol, if defined, indicates that we need to prepend an
3668 * underscore to the symbol name before calling dlsym(). This only
3669 * makes sense if you *have* dlsym, which we will presume is the
3670 * case if you're using dl_dlopen.xs.
3672 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
3675 * This symbol, if defined, indicates that the "fast stdio"
3676 * is available to manipulate the stdio buffers directly.
3678 #$d_faststdio HAS_FAST_STDIO /**/
3681 * This symbol, if defined, indicates that the fchdir routine is
3682 * available to change directory using a file descriptor.
3684 #$d_fchdir HAS_FCHDIR /**/
3687 * This symbol, if defined, indicates that fcntl() can be used
3688 * for file locking. Normally on Unix systems this is defined.
3689 * It may be undefined on VMS.
3691 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
3694 * This symbol, if defined, indicates that the fegetround routine is
3695 * available to return the macro corresponding to the current rounding
3698 #$d_fegetround HAS_FEGETROUND /**/
3701 * This symbol, if defined, indicates that the finite routine is
3702 * available to check whether a double is finite (non-infinity non-NaN).
3704 #$d_finite HAS_FINITE /**/
3707 * This symbol, if defined, indicates that the finitel routine is
3708 * available to check whether a long double is finite
3709 * (non-infinity non-NaN).
3711 #$d_finitel HAS_FINITEL /**/
3714 * This symbol, if defined, indicates that the system provides
3715 * a prototype for the flock() function. Otherwise, it is up
3716 * to the program to supply one. A good guess is
3717 * extern int flock(int, int);
3719 #$d_flockproto HAS_FLOCK_PROTO /**/
3722 * This symbol, if defined, indicates that the fp_class routine is
3723 * available to classify doubles. Available for example in Digital UNIX.
3724 * The returned values are defined in <math.h> and are:
3726 * FP_SNAN Signaling NaN (Not-a-Number)
3727 * FP_QNAN Quiet NaN (Not-a-Number)
3728 * FP_POS_INF +infinity
3729 * FP_NEG_INF -infinity
3730 * FP_POS_NORM Positive normalized
3731 * FP_NEG_NORM Negative normalized
3732 * FP_POS_DENORM Positive denormalized
3733 * FP_NEG_DENORM Negative denormalized
3734 * FP_POS_ZERO +0.0 (positive zero)
3735 * FP_NEG_ZERO -0.0 (negative zero)
3737 #$d_fp_class HAS_FP_CLASS /**/
3740 * This symbol, if defined, indicates that the fp_classl routine is
3741 * available to classify long doubles. Available for example in
3742 * Digital UNIX. See for possible values HAS_FP_CLASS.
3744 #$d_fp_classl HAS_FP_CLASSL /**/
3747 * This symbol, if defined, indicates that the fpclass routine is
3748 * available to classify doubles. Available for example in Solaris/SVR4.
3749 * The returned values are defined in <ieeefp.h> and are:
3751 * FP_SNAN signaling NaN
3753 * FP_NINF negative infinity
3754 * FP_PINF positive infinity
3755 * FP_NDENORM negative denormalized non-zero
3756 * FP_PDENORM positive denormalized non-zero
3757 * FP_NZERO negative zero
3758 * FP_PZERO positive zero
3759 * FP_NNORM negative normalized non-zero
3760 * FP_PNORM positive normalized non-zero
3762 #$d_fpclass HAS_FPCLASS /**/
3765 * This symbol, if defined, indicates that the fpclassify routine is
3766 * available to classify doubles. Available for example in HP-UX.
3767 * The returned values are defined in <math.h> and are
3769 * FP_NORMAL Normalized
3771 * FP_INFINITE Infinity
3772 * FP_SUBNORMAL Denormalized
3777 * This symbol, if defined, indicates that the fp_classify routine is
3778 * available to classify doubles. The values are defined in <math.h>
3780 * FP_NORMAL Normalized
3782 * FP_INFINITE Infinity
3783 * FP_SUBNORMAL Denormalized
3787 #$d_fpclassify HAS_FPCLASSIFY /**/
3788 #$d_fp_classify HAS_FP_CLASSIFY /**/
3791 * This symbol, if defined, indicates that the fpclassl routine is
3792 * available to classify long doubles. Available for example in IRIX.
3793 * The returned values are defined in <ieeefp.h> and are:
3795 * FP_SNAN signaling NaN
3797 * FP_NINF negative infinity
3798 * FP_PINF positive infinity
3799 * FP_NDENORM negative denormalized non-zero
3800 * FP_PDENORM positive denormalized non-zero
3801 * FP_NZERO negative zero
3802 * FP_PZERO positive zero
3803 * FP_NNORM negative normalized non-zero
3804 * FP_PNORM positive normalized non-zero
3806 #$d_fpclassl HAS_FPCLASSL /**/
3809 * This symbol, if defined, indicates that the fpgetround routine is
3810 * available to get the floating point rounding mode.
3812 #$d_fpgetround HAS_FPGETROUND /**/
3815 * This symbol will be defined if the C compiler supports fpos64_t.
3817 #$d_fpos64_t HAS_FPOS64_T /**/
3820 * This symbol, if defined, indicates that the frexpl routine is
3821 * available to break a long double floating-point number into
3822 * a normalized fraction and an integral power of 2.
3824 #$d_frexpl HAS_FREXPL /**/
3826 /* HAS_STRUCT_FS_DATA:
3827 * This symbol, if defined, indicates that the struct fs_data
3828 * to do statfs() is supported.
3830 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
3833 * This symbol, if defined, indicates that the fseeko routine is
3834 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3836 #$d_fseeko HAS_FSEEKO /**/
3839 * This symbol, if defined, indicates that the fstatfs routine is
3840 * available to stat filesystems by file descriptors.
3842 #$d_fstatfs HAS_FSTATFS /**/
3845 * This symbol, if defined, indicates that the fsync routine is
3846 * available to write a file's modified data and attributes to
3847 * permanent storage.
3849 #$d_fsync HAS_FSYNC /**/
3852 * This symbol, if defined, indicates that the ftello routine is
3853 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3855 #$d_ftello HAS_FTELLO /**/
3858 * This symbol, if defined, indicates that the futimes routine is
3859 * available to change file descriptor time stamps with struct timevals.
3861 #$d_futimes HAS_FUTIMES /**/
3864 * This symbol, if defined, indicates that the getaddrinfo() function
3865 * is available for use.
3867 #$d_getaddrinfo HAS_GETADDRINFO /**/
3870 * This symbol, if defined, indicates that the getcwd routine is
3871 * available to get the current working directory.
3873 #$d_getcwd HAS_GETCWD /**/
3876 * This symbol, if defined, indicates that the getespwnam system call is
3877 * available to retrieve enhanced (shadow) password entries by name.
3879 #$d_getespwnam HAS_GETESPWNAM /**/
3882 * This symbol, if defined, indicates that the getfsstat routine is
3883 * available to stat filesystems in bulk.
3885 #$d_getfsstat HAS_GETFSSTAT /**/
3888 * This symbol, if defined, indicates that the getitimer routine is
3889 * available to return interval timers.
3891 #$d_getitimer HAS_GETITIMER /**/
3894 * This symbol, if defined, indicates that the getmnt routine is
3895 * available to get filesystem mount info by filename.
3897 #$d_getmnt HAS_GETMNT /**/
3900 * This symbol, if defined, indicates that the getmntent routine is
3901 * available to iterate through mounted file systems to get their info.
3903 #$d_getmntent HAS_GETMNTENT /**/
3906 * This symbol, if defined, indicates that the getnameinfo() function
3907 * is available for use.
3909 #$d_getnameinfo HAS_GETNAMEINFO /**/
3912 * This symbol, if defined, indicates that the getprpwnam system call is
3913 * available to retrieve protected (shadow) password entries by name.
3915 #$d_getprpwnam HAS_GETPRPWNAM /**/
3918 * This symbol, if defined, indicates that the getspnam system call is
3919 * available to retrieve SysV shadow password entries by name.
3921 #$d_getspnam HAS_GETSPNAM /**/
3924 * This symbol, if defined, indicates that the hasmntopt routine is
3925 * available to query the mount options of file systems.
3927 #$d_hasmntopt HAS_HASMNTOPT /**/
3930 * This symbol, if defined, indicates that the hypot routine is
3931 * available to do the hypotenuse function.
3933 #$d_hypot HAS_HYPOT /**/
3936 * This symbol, if defined, indicates that the ilogb routine is
3939 #$d_ilogb HAS_ILOGB /**/
3942 * This symbol, if defined, indicates that the ilogbl routine is
3943 * available. If scalbnl is also present we can emulate frexpl.
3945 #$d_ilogbl HAS_ILOGBL /**/
3948 * This symbol, if defined, indicates that the inet_ntop() function
3949 * is available to parse IPv4 and IPv6 strings.
3951 #$d_inetntop HAS_INETNTOP /**/
3954 * This symbol, if defined, indicates that the inet_pton() function
3955 * is available to parse IPv4 and IPv6 strings.
3957 #$d_inetpton HAS_INETPTON /**/
3960 * This symbol will defined if the C compiler supports int64_t.
3961 * Usually the <inttypes.h> needs to be included, but sometimes
3962 * <sys/types.h> is enough.
3964 #$d_int64_t HAS_INT64_T /**/
3967 * This manifest constant lets the C program know that isblank
3970 #$d_isblank HAS_ISBLANK /**/
3973 * This symbol, if defined, indicates that the isfinite routine is
3974 * available to check whether a double is finite (non-infinity non-NaN).
3976 #$d_isfinite HAS_ISFINITE /**/
3979 * This symbol, if defined, indicates that the isfinitel routine is
3980 * available to check whether a long double is finite.
3981 * (non-infinity non-NaN).
3983 #$d_isfinitel HAS_ISFINITEL /**/
3986 * This symbol, if defined, indicates that the isinf routine is
3987 * available to check whether a double is an infinity.
3989 #$d_isinf HAS_ISINF /**/
3992 * This symbol, if defined, indicates that the isinfl routine is
3993 * available to check whether a long double is an infinity.
3995 #$d_isinfl HAS_ISINFL /**/
3998 * This symbol, if defined, indicates that the isnan routine is
3999 * available to check whether a double is a NaN.
4001 #$d_isnan HAS_ISNAN /**/
4004 * This symbol, if defined, indicates that the isnanl routine is
4005 * available to check whether a long double is a NaN.
4007 #$d_isnanl HAS_ISNANL /**/
4010 * This symbol, if defined, indicates that the isnormal routine is
4011 * available to check whether a double is normal (non-zero normalized).
4013 #$d_isnormal HAS_ISNORMAL /**/
4016 * This symbol, if defined, indicates to the C program that the
4017 * j0() function is available for Bessel functions of the first
4018 * kind of the order zero, for doubles.
4021 * This symbol, if defined, indicates to the C program that the
4022 * j0l() function is available for Bessel functions of the first
4023 * kind of the order zero, for long doubles.
4026 #$d_j0l HAS_J0L /**/
4029 * This symbol, if defined, indicates that this system's <float.h>
4030 * or <limits.h> defines the symbol LDBL_DIG, which is the number
4031 * of significant digits in a long double precision number. Unlike
4032 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
4034 #$d_ldbl_dig HAS_LDBL_DIG /* */
4037 * This symbol, if defined, indicates that the lgamma routine is
4038 * available to do the log gamma function. See also HAS_TGAMMA and
4041 #$d_lgamma HAS_LGAMMA /**/
4044 * This symbol, if defined, indicates that the lgamma_r routine is
4045 * available to do the log gamma function without using the global
4048 #$d_lgamma_r HAS_LGAMMA_R /**/
4050 /* LIBM_LIB_VERSION:
4051 * This symbol, if defined, indicates that libm exports _LIB_VERSION
4052 * and that math.h defines the enum to manipulate it.
4054 #$d_libm_lib_version LIBM_LIB_VERSION /**/
4057 * This symbol, if defined, indicates that the llrint routine is
4058 * available to return the closest long long value according to
4059 * the current rounding mode.
4061 #$d_llrint HAS_LLRINT /**/
4064 * This symbol, if defined, indicates that the llround routine is
4065 * available to return the nearest long long value.
4067 #$d_llround HAS_LLROUND /**/
4070 * This symbol, if defined, indicates that the lgamma routine is
4071 * available to do the log1p function.
4073 #$d_log1p HAS_LOG1P /**/
4076 * This symbol, if defined, indicates that the lgamma routine is
4077 * available to do the log2 function.
4079 #$d_log2 HAS_LOG2 /**/
4082 * This symbol, if defined, indicates that the lgamma routine is
4083 * available to do the logb function.
4085 #$d_logb HAS_LOGB /**/
4088 * This symbol, if defined, indicates that the lrint routine is
4089 * available to return the closest integral value according to
4090 * the current rounding mode.
4092 #$d_lrint HAS_LRINT /**/
4095 * This symbol, if defined, indicates that the lround routine is
4096 * available to return the nearest integral value.
4098 #$d_lround HAS_LROUND /**/
4101 * This symbol, if defined, indicates that the madvise system call is
4102 * available to map a file into memory.
4104 #$d_madvise HAS_MADVISE /**/
4107 * This symbol, if defined, indicates that the malloc_size
4108 * routine is available for use.
4110 #$d_malloc_size HAS_MALLOC_SIZE /**/
4112 /* HAS_MALLOC_GOOD_SIZE:
4113 * This symbol, if defined, indicates that the malloc_good_size
4114 * routine is available for use.
4116 #$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
4119 * This symbol, if defined, indicates that the mkdtemp routine is
4120 * available to exclusively create a uniquely named temporary directory.
4122 #$d_mkdtemp HAS_MKDTEMP /**/
4125 * This symbol, if defined, indicates that the mkstemps routine is
4126 * available to exclusively create and open a uniquely named
4127 * (with a suffix) temporary file.
4129 #$d_mkstemps HAS_MKSTEMPS /**/
4132 * This symbol, if defined, indicates that the modfl routine is
4133 * available to split a long double x into a fractional part f and
4134 * an integer part i such that |f| < 1.0 and (f + i) = x.
4137 * This symbol, if defined, indicates that the system provides
4138 * a prototype for the modfl() function. Otherwise, it is up
4139 * to the program to supply one.
4141 /* HAS_MODFL_POW32_BUG:
4142 * This symbol, if defined, indicates that the modfl routine is
4143 * broken for long doubles >= pow(2, 32).
4144 * For example from 4294967303.150000 one would get 4294967302.000000
4145 * and 1.150000. The bug has been seen in certain versions of glibc,
4146 * release 2.2.2 is known to be okay.
4148 #$d_modfl HAS_MODFL /**/
4149 #$d_modflproto HAS_MODFL_PROTO /**/
4150 #$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
4153 * This symbol, if defined, indicates that the mprotect system call is
4154 * available to modify the access protection of a memory mapped file.
4156 #$d_mprotect HAS_MPROTECT /**/
4158 /* HAS_STRUCT_MSGHDR:
4159 * This symbol, if defined, indicates that the struct msghdr
4162 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
4165 * This symbol, if defined, indicates that the nl_langinfo routine is
4166 * available to return local data. You will also need <langinfo.h>
4167 * and therefore I_LANGINFO.
4169 #$d_nl_langinfo HAS_NL_LANGINFO /**/
4172 * This symbol will be defined if the C compiler supports off64_t.
4174 #$d_off64_t HAS_OFF64_T /**/
4177 * This symbol, if defined, indicates that the prctl routine is
4178 * available to set process title.
4179 * Note that there are at least two prctl variants: Linux and Irix.
4180 * While they are somewhat similar, they are incompatible.
4182 /* HAS_PRCTL_SET_NAME:
4183 * This symbol, if defined, indicates that the prctl routine is
4184 * available to set process title and supports PR_SET_NAME.
4186 #$d_prctl HAS_PRCTL /**/
4187 #$d_prctl_set_name HAS_PRCTL_SET_NAME /**/
4190 * This symbol is defined if PROCSELFEXE_PATH is a symlink
4191 * to the absolute pathname of the executing program.
4193 /* PROCSELFEXE_PATH:
4194 * If HAS_PROCSELFEXE is defined this symbol is the filename
4195 * of the symbolic link pointing to the absolute pathname of
4196 * the executing program.
4198 #$d_procselfexe HAS_PROCSELFEXE /**/
4199 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
4200 #define PROCSELFEXE_PATH $procselfexe /**/
4203 /* HAS_PTHREAD_ATTR_SETSCOPE:
4204 * This symbol, if defined, indicates that the pthread_attr_setscope
4205 * system call is available to set the contention scope attribute of
4206 * a thread attribute object.
4208 #$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
4211 * This symbol will be defined if the C compiler supports ptrdiff_t.
4213 #$d_ptrdiff_t HAS_PTRDIFF_T /**/
4216 * This symbol, if defined, indicates that the readv routine is
4217 * available to do gather reads. You will also need <sys/uio.h>
4218 * and there I_SYSUIO.
4220 #$d_readv HAS_READV /**/
4223 * This symbol, if defined, indicates that the recvmsg routine is
4224 * available to send structured socket messages.
4226 #$d_recvmsg HAS_RECVMSG /**/
4229 * This symbol, if defined, indicates that the system provides
4230 * a prototype for the sbrk() function. Otherwise, it is up
4231 * to the program to supply one. Good guesses are
4232 * extern void* sbrk(int);
4233 * extern void* sbrk(size_t);
4235 #$d_sbrkproto HAS_SBRK_PROTO /**/
4238 * This symbol, if defined, indicates that the scalbn routine is available.
4240 #$d_scalbn HAS_SCALBN /**/
4243 * This symbol, if defined, indicates that the scalbnl routine is
4244 * available. If ilogbl is also present we can emulate frexpl.
4246 #$d_scalbnl HAS_SCALBNL /**/
4249 * This symbol, if defined, indicates that the sendmsg routine is
4250 * available to send structured socket messages.
4252 #$d_sendmsg HAS_SENDMSG /**/
4255 * This symbol, if defined, indicates that the setitimer routine is
4256 * available to set interval timers.
4258 #$d_setitimer HAS_SETITIMER /**/
4260 /* HAS_SETPROCTITLE:
4261 * This symbol, if defined, indicates that the setproctitle routine is
4262 * available to set process title.
4264 #$d_setproctitle HAS_SETPROCTITLE /**/
4267 * This symbol, if defined, indicates that the signbit routine is
4268 * available to check if the given number has the sign bit set.
4269 * This should include correct testing of -0.0. This will only be set
4270 * if the signbit() routine is safe to use with the NV type used internally
4271 * in perl. Users should call Perl_signbit(), which will be #defined to
4272 * the system's signbit() function or macro if this symbol is defined.
4274 #$d_signbit HAS_SIGNBIT /**/
4277 * This symbol, if defined, indicates that the sigprocmask
4278 * system call is available to examine or change the signal mask
4279 * of the calling process.
4281 #$d_sigprocmask HAS_SIGPROCMASK /**/
4283 /* USE_SITECUSTOMIZE:
4284 * This symbol, if defined, indicates that sitecustomize should
4287 #ifndef USE_SITECUSTOMIZE
4288 #$usesitecustomize USE_SITECUSTOMIZE /**/
4292 * This symbol, if defined, indicates that the snprintf () library
4293 * function is available for use.
4296 * This symbol, if defined, indicates that the vsnprintf () library
4297 * function is available for use.
4299 #$d_snprintf HAS_SNPRINTF /**/
4300 #$d_vsnprintf HAS_VSNPRINTF /**/
4303 * This symbol, if defined, indicates that the sockatmark routine is
4304 * available to test whether a socket is at the out-of-band mark.
4306 #$d_sockatmark HAS_SOCKATMARK /**/
4308 /* HAS_SOCKATMARK_PROTO:
4309 * This symbol, if defined, indicates that the system provides
4310 * a prototype for the sockatmark() function. Otherwise, it is up
4311 * to the program to supply one. A good guess is
4312 * extern int sockatmark(int);
4314 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
4317 * This symbol, if defined, indicates that the socks5_init routine is
4318 * available to initialize SOCKS 5.
4320 #$d_socks5_init HAS_SOCKS5_INIT /**/
4322 /* SPRINTF_RETURNS_STRLEN:
4323 * This variable defines whether sprintf returns the length of the string
4324 * (as per the ANSI spec). Some C libraries retain compatibility with
4325 * pre-ANSI C and return a pointer to the passed in buffer; for these
4326 * this variable will be undef.
4328 #$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
4331 * This symbol, if defined, indicates that the sqrtl routine is
4332 * available to do long double square roots.
4334 #$d_sqrtl HAS_SQRTL /**/
4336 /* HAS_SETRESGID_PROTO:
4337 * This symbol, if defined, indicates that the system provides
4338 * a prototype for the setresgid() function. Otherwise, it is up
4339 * to the program to supply one. Good guesses are
4340 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
4342 #$d_sresgproto HAS_SETRESGID_PROTO /**/
4344 /* HAS_SETRESUID_PROTO:
4345 * This symbol, if defined, indicates that the system provides
4346 * a prototype for the setresuid() function. Otherwise, it is up
4347 * to the program to supply one. Good guesses are
4348 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
4350 #$d_sresuproto HAS_SETRESUID_PROTO /**/
4352 /* HAS_STRUCT_STATFS_F_FLAGS:
4353 * This symbol, if defined, indicates that the struct statfs
4354 * does have the f_flags member containing the mount flags of
4355 * the filesystem containing the file.
4356 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
4357 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
4358 * have statfs() and struct statfs, they have ustat() and getmnt()
4359 * with struct ustat and struct fs_data.
4361 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
4363 /* HAS_STRUCT_STATFS:
4364 * This symbol, if defined, indicates that the struct statfs
4365 * to do statfs() is supported.
4367 #$d_statfs_s HAS_STRUCT_STATFS /**/
4370 * This symbol, if defined, indicates that the fstatvfs routine is
4371 * available to stat filesystems by file descriptors.
4373 #$d_fstatvfs HAS_FSTATVFS /**/
4376 * This symbol, if defined, indicates that the strftime routine is
4377 * available to do time formatting.
4379 #$d_strftime HAS_STRFTIME /**/
4382 * This symbol, if defined, indicates that the strlcat () routine is
4383 * available to do string concatenation.
4385 #$d_strlcat HAS_STRLCAT /**/
4388 * This symbol, if defined, indicates that the strlcpy () routine is
4389 * available to do string copying.
4391 #$d_strlcpy HAS_STRLCPY /**/
4394 * This symbol, if defined, indicates that the strtold routine is
4395 * available to convert strings to long doubles.
4397 #$d_strtold HAS_STRTOLD /**/
4400 * This symbol, if defined, indicates that the strtoll routine is
4401 * available to convert strings to long longs.
4403 #$d_strtoll HAS_STRTOLL /**/
4406 * This symbol, if defined, indicates that the strtoq routine is
4407 * available to convert strings to long longs (quads).
4409 #$d_strtoq HAS_STRTOQ /**/
4412 * This symbol, if defined, indicates that the strtoull routine is
4413 * available to convert strings to unsigned long longs.
4415 #$d_strtoull HAS_STRTOULL /**/
4418 * This symbol, if defined, indicates that the strtouq routine is
4419 * available to convert strings to unsigned long longs (quads).
4421 #$d_strtouq HAS_STRTOUQ /**/
4423 /* HAS_SYSCALL_PROTO:
4424 * This symbol, if defined, indicates that the system provides
4425 * a prototype for the syscall() function. Otherwise, it is up
4426 * to the program to supply one. Good guesses are
4427 * extern int syscall(int, ...);
4428 * extern int syscall(long, ...);
4430 #$d_syscallproto HAS_SYSCALL_PROTO /**/
4432 /* HAS_TELLDIR_PROTO:
4433 * This symbol, if defined, indicates that the system provides
4434 * a prototype for the telldir() function. Otherwise, it is up
4435 * to the program to supply one. A good guess is
4436 * extern long telldir(DIR*);
4438 #$d_telldirproto HAS_TELLDIR_PROTO /**/
4441 * This symbol, if defined, indicates that the ctime64 () routine is
4442 * available to do the 64bit variant of ctime ()
4445 * This symbol, if defined, indicates that the localtime64 () routine is
4446 * available to do the 64bit variant of localtime ()
4449 * This symbol, if defined, indicates that the gmtime64 () routine is
4450 * available to do the 64bit variant of gmtime ()
4453 * This symbol, if defined, indicates that the mktime64 () routine is
4454 * available to do the 64bit variant of mktime ()
4457 * This symbol, if defined, indicates that the difftime64 () routine is
4458 * available to do the 64bit variant of difftime ()
4461 * This symbol, if defined, indicates that the asctime64 () routine is
4462 * available to do the 64bit variant of asctime ()
4464 #$d_ctime64 HAS_CTIME64 /**/
4465 #$d_localtime64 HAS_LOCALTIME64 /**/
4466 #$d_gmtime64 HAS_GMTIME64 /**/
4467 #$d_mktime64 HAS_MKTIME64 /**/
4468 #$d_difftime64 HAS_DIFFTIME64 /**/
4469 #$d_asctime64 HAS_ASCTIME64 /**/
4472 * This symbol, if defined, indicates that the timegm routine is
4473 * available to do the opposite of gmtime ()
4475 #$d_timegm HAS_TIMEGM /**/
4478 * This symbol, if defined, indicates that the trunc routine is available.
4480 #$d_trunc HAS_TRUNC /**/
4483 * This symbol, if defined, indicates that the truncl routine is
4484 * available. If copysignl is also present we can emulate modfl.
4486 #$d_truncl HAS_TRUNCL /**/
4488 /* U32_ALIGNMENT_REQUIRED:
4489 * This symbol, if defined, indicates that you must access
4490 * character data through U32-aligned pointers.
4492 #ifndef U32_ALIGNMENT_REQUIRED
4493 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
4497 * This symbol, if defined, indicates that the ualarm routine is
4498 * available to do alarms with microsecond granularity.
4500 #$d_ualarm HAS_UALARM /**/
4503 * This symbol, if defined, indicates that the unordered routine is
4504 * available to check whether two doubles are unordered
4505 * (effectively: whether either of them is NaN)
4507 #$d_unordered HAS_UNORDERED /**/
4510 * This symbol, if defined, indicates that the unsetenv () routine is
4511 * available for use.
4513 #$d_unsetenv HAS_UNSETENV /**/
4515 /* HAS_USLEEP_PROTO:
4516 * This symbol, if defined, indicates that the system provides
4517 * a prototype for the usleep() function. Otherwise, it is up
4518 * to the program to supply one. A good guess is
4519 * extern int usleep(useconds_t);
4521 #$d_usleepproto HAS_USLEEP_PROTO /**/
4524 * This symbol, if defined, indicates that the ustat system call is
4525 * available to query file system statistics by dev_t.
4527 #$d_ustat HAS_USTAT /**/
4530 * This symbol, if defined, indicates that the wcscmp routine is
4531 * available to compare two wide character strings.
4533 #$d_wcscmp HAS_WCSCMP /**/
4536 * This symbol, if defined, indicates that the wcsxfrm routine is
4537 * available to tranform a wide character string for wcscmp().
4539 #$d_wcsxfrm HAS_WCSXFRM /**/
4542 * This symbol, if defined, indicates that the writev routine is
4543 * available to do scatter writes.
4545 #$d_writev HAS_WRITEV /**/
4547 /* USE_DYNAMIC_LOADING:
4548 * This symbol, if defined, indicates that dynamic loading of
4549 * some sort is available.
4551 #$usedl USE_DYNAMIC_LOADING /**/
4554 * This symbol, if defined, tells that fflush(NULL) correctly
4555 * flushes all pending stdio output without side effects. In
4556 * particular, on some platforms calling fflush(NULL) *still*
4557 * corrupts STDIN if it is a pipe.
4560 * This symbol, if defined, tells that to flush
4561 * all pending stdio output one must loop through all
4562 * the stdio file handles stored in an array and fflush them.
4563 * Note that if fflushNULL is defined, fflushall will not
4564 * even be probed for and will be left undefined.
4566 #$fflushNULL FFLUSH_NULL /**/
4567 #$fflushall FFLUSH_ALL /**/
4570 * This symbol, if defined, indicates that <assert.h> exists and
4571 * could be included by the C program to get the assert() macro.
4573 #$i_assert I_ASSERT /**/
4576 * This symbol, if defined, indicates that <bfd.h> exists and
4582 * This symbol, if defined, indicates that <crypt.h> exists and
4583 * should be included.
4585 #$i_crypt I_CRYPT /**/
4588 * This symbol contains the type of the prefix structure element
4589 * in the <db.h> header file. In older versions of DB, it was
4590 * int, while in newer ones it is u_int32_t.
4593 * This symbol contains the type of the prefix structure element
4594 * in the <db.h> header file. In older versions of DB, it was
4595 * int, while in newer ones it is size_t.
4597 /* DB_VERSION_MAJOR_CFG:
4598 * This symbol, if defined, defines the major version number of
4599 * Berkeley DB found in the <db.h> header when Perl was configured.
4601 /* DB_VERSION_MINOR_CFG:
4602 * This symbol, if defined, defines the minor version number of
4603 * Berkeley DB found in the <db.h> header when Perl was configured.
4604 * For DB version 1 this is always 0.
4606 /* DB_VERSION_PATCH_CFG:
4607 * This symbol, if defined, defines the patch version number of
4608 * Berkeley DB found in the <db.h> header when Perl was configured.
4609 * For DB version 1 this is always 0.
4611 #define DB_Hash_t $db_hashtype /**/
4612 #define DB_Prefix_t $db_prefixtype /**/
4613 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
4614 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
4615 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
4618 * This symbol, if defined, indicates to the C program that it should
4619 * include <fenv.h> to get the floating point environment definitions.
4621 #$i_fenv I_FENV /**/
4624 * This symbol, if defined, indicates that <fp.h> exists and
4625 * should be included.
4630 * This symbol, if defined, indicates that <fp_class.h> exists and
4631 * should be included.
4633 #$i_fp_class I_FP_CLASS /**/
4636 * This symbol, if defined, indicates that <ieeefp.h> exists and
4637 * should be included.
4639 #$i_ieeefp I_IEEEFP /**/
4642 * This symbol, if defined, indicates to the C program that it should
4643 * include <inttypes.h>.
4645 #$i_inttypes I_INTTYPES /**/
4648 * This symbol, if defined, indicates that <langinfo.h> exists and
4649 * should be included.
4651 #$i_langinfo I_LANGINFO /**/
4654 * This symbol, if defined, indicates that <libutil.h> exists and
4655 * should be included.
4657 #$i_libutil I_LIBUTIL /**/
4660 * This symbol, if defined, indicates to the C program that it should
4661 * include <malloc/malloc.h>.
4663 #$i_mallocmalloc I_MALLOCMALLOC /**/
4666 * This symbol, if defined, indicates that <mntent.h> exists and
4667 * should be included.
4669 #$i_mntent I_MNTENT /**/
4672 * This symbol, if defined, indicates to the C program that it should
4673 * include <netinet/tcp.h>.
4675 #$i_netinettcp I_NETINET_TCP /**/
4678 * This symbol, if defined, indicates that <poll.h> exists and
4679 * should be included. (see also HAS_POLL)
4681 #$i_poll I_POLL /**/
4684 * This symbol, if defined, indicates that <prot.h> exists and
4685 * should be included.
4687 #$i_prot I_PROT /**/
4690 * This symbol, if defined, indicates that <shadow.h> exists and
4691 * should be included.
4693 #$i_shadow I_SHADOW /**/
4696 * This symbol, if defined, indicates that <socks.h> exists and
4697 * should be included.
4699 #$i_socks I_SOCKS /**/
4702 * This symbol, if defined, indicates that <stdbool.h> exists and
4705 #$i_stdbool I_STDBOOL /**/
4708 * This symbol, if defined, indicates that <stdint.h> exists and
4709 * should be included.
4711 #$i_stdint I_STDINT /**/
4714 * This symbol, if defined, indicates that <sunmath.h> exists and
4715 * should be included.
4717 #$i_sunmath I_SUNMATH /**/
4720 * This symbol, if defined, indicates that <syslog.h> exists and
4721 * should be included.
4723 #$i_syslog I_SYSLOG /**/
4726 * This symbol, if defined, indicates that <sys/mode.h> exists and
4727 * should be included.
4729 #$i_sysmode I_SYSMODE /**/
4732 * This symbol, if defined, indicates that <sys/mount.h> exists and
4733 * should be included.
4735 #$i_sysmount I_SYS_MOUNT /**/
4738 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4740 #$i_sysstatfs I_SYS_STATFS /**/
4743 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4744 * should be included.
4746 #$i_sysstatvfs I_SYS_STATVFS /**/
4749 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4750 * should be included.
4752 #$i_sysutsname I_SYSUTSNAME /**/
4755 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4756 * should be included.
4758 #$i_sysvfs I_SYS_VFS /**/
4761 * This symbol, if defined, indicates that <ustat.h> exists and
4762 * should be included.
4764 #$i_ustat I_USTAT /**/
4767 * This symbol, if defined, contains the string used by stdio to
4768 * format long doubles (format 'f') for output.
4771 * This symbol, if defined, contains the string used by stdio to
4772 * format long doubles (format 'g') for output.
4775 * This symbol, if defined, contains the string used by stdio to
4776 * format long doubles (format 'e') for output.
4779 * This symbol, if defined, contains the string used by stdio to
4780 * format long doubles (format 'f') for input.
4782 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
4783 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
4784 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
4785 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
4788 * This symbol, if defined, indicates that the system stores
4789 * the variable argument list datatype, va_list, in a format
4790 * that cannot be copied by simple assignment, so that some
4791 * other means must be used when copying is required.
4792 * As such systems vary in their provision (or non-provision)
4793 * of copying mechanisms, handy.h defines a platform-
4794 * independent macro, Perl_va_copy(src, dst), to do the job.
4796 #$need_va_copy NEED_VA_COPY /**/
4799 * This symbol defines the C type used for Perl's IV.
4802 * This symbol defines the C type used for Perl's UV.
4805 * This symbol defines the C type used for Perl's I8.
4808 * This symbol defines the C type used for Perl's U8.
4811 * This symbol defines the C type used for Perl's I16.
4814 * This symbol defines the C type used for Perl's U16.
4817 * This symbol defines the C type used for Perl's I32.
4820 * This symbol defines the C type used for Perl's U32.
4823 * This symbol defines the C type used for Perl's I64.
4826 * This symbol defines the C type used for Perl's U64.
4829 * This symbol defines the C type used for Perl's NV.
4832 * This symbol contains the sizeof(IV).
4835 * This symbol contains the sizeof(UV).
4838 * This symbol contains the sizeof(I8).
4841 * This symbol contains the sizeof(U8).
4844 * This symbol contains the sizeof(I16).
4847 * This symbol contains the sizeof(U16).
4850 * This symbol contains the sizeof(I32).
4853 * This symbol contains the sizeof(U32).
4856 * This symbol contains the sizeof(I64).
4859 * This symbol contains the sizeof(U64).
4862 * This symbol contains the sizeof(NV).
4865 * This symbol, if defined, indicates that a variable of type NVTYPE
4866 * can preserve all the bits of a variable of type UVTYPE.
4868 /* NV_PRESERVES_UV_BITS:
4869 * This symbol contains the number of bits a variable of type NVTYPE
4870 * can preserve of a variable of type UVTYPE.
4872 /* NV_OVERFLOWS_INTEGERS_AT:
4873 * This symbol gives the largest integer value that NVs can hold. This
4874 * value + 1.0 cannot be stored accurately. It is expressed as constant
4875 * floating point expression to reduce the chance of decimal/binary
4876 * conversion issues. If it can not be determined, the value 0 is given.
4878 /* NV_ZERO_IS_ALLBITS_ZERO:
4879 * This symbol, if defined, indicates that a variable of type NVTYPE
4880 * stores 0.0 in memory as all bits zero.
4882 #define IVTYPE $ivtype /**/
4883 #define UVTYPE $uvtype /**/
4884 #define I8TYPE $i8type /**/
4885 #define U8TYPE $u8type /**/
4886 #define I16TYPE $i16type /**/
4887 #define U16TYPE $u16type /**/
4888 #define I32TYPE $i32type /**/
4889 #define U32TYPE $u32type /**/
4891 #define I64TYPE $i64type /**/
4892 #define U64TYPE $u64type /**/
4894 #define NVTYPE $nvtype /**/
4895 #define IVSIZE $ivsize /**/
4896 #define UVSIZE $uvsize /**/
4897 #define I8SIZE $i8size /**/
4898 #define U8SIZE $u8size /**/
4899 #define I16SIZE $i16size /**/
4900 #define U16SIZE $u16size /**/
4901 #define I32SIZE $i32size /**/
4902 #define U32SIZE $u32size /**/
4904 #define I64SIZE $i64size /**/
4905 #define U64SIZE $u64size /**/
4907 #define NVSIZE $nvsize /**/
4908 #$d_nv_preserves_uv NV_PRESERVES_UV
4909 #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4910 #define NV_OVERFLOWS_INTEGERS_AT $nv_overflows_integers_at
4911 #$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4914 # if BYTEORDER == 0x1234
4916 # define BYTEORDER 0x12345678
4918 # if BYTEORDER == 0x4321
4920 # define BYTEORDER 0x87654321
4927 * This symbol defines the format string used for printing a Perl IV
4928 * as a signed decimal integer.
4931 * This symbol defines the format string used for printing a Perl UV
4932 * as an unsigned decimal integer.
4935 * This symbol defines the format string used for printing a Perl UV
4936 * as an unsigned octal integer.
4939 * This symbol defines the format string used for printing a Perl UV
4940 * as an unsigned hexadecimal integer in lowercase abcdef.
4943 * This symbol defines the format string used for printing a Perl UV
4944 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4947 * This symbol defines the format string used for printing a Perl NV
4948 * using %e-ish floating point format.
4951 * This symbol defines the format string used for printing a Perl NV
4952 * using %f-ish floating point format.
4955 * This symbol defines the format string used for printing a Perl NV
4956 * using %g-ish floating point format.
4958 #define IVdf $ivdformat /**/
4959 #define UVuf $uvuformat /**/
4960 #define UVof $uvoformat /**/
4961 #define UVxf $uvxformat /**/
4962 #define UVXf $uvXUformat /**/
4963 #define NVef $nveformat /**/
4964 #define NVff $nvfformat /**/
4965 #define NVgf $nvgformat /**/
4968 * This symbol holds the minimum number of bits operated by select.
4969 * That is, if you do select(n, ...), how many bits at least will be
4970 * cleared in the masks if some activity is detected. Usually this
4971 * is either n or 32*ceil(n/32), especially many little-endians do
4972 * the latter. This is only useful if you have select(), naturally.
4974 #define SELECT_MIN_BITS $selectminbits /**/
4977 * This variable contains the size of struct stat's st_ino in bytes.
4980 * This symbol holds the signedness of struct stat's st_ino.
4981 * 1 for unsigned, -1 for signed.
4983 #define ST_INO_SIGN $st_ino_sign /* st_ino sign */
4984 #define ST_INO_SIZE $st_ino_size /* st_ino size */
4987 * This variable contains the string to put in front of a perl
4988 * script to make sure (one hopes) that it runs with perl and not
4991 #define STARTPERL "$startperl" /**/
4993 /* HAS_STDIO_STREAM_ARRAY:
4994 * This symbol, if defined, tells that there is an array
4995 * holding the stdio streams.
4997 /* STDIO_STREAM_ARRAY:
4998 * This symbol tells the name of the array holding the stdio streams.
4999 * Usual values include _iob, __iob, and __sF.
5001 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
5002 #ifdef HAS_STDIO_STREAM_ARRAY
5003 #define STDIO_STREAM_ARRAY $stdio_stream_array
5007 * This symbol contains the maximum value for the time_t offset that
5008 * the system function gmtime () accepts, and defaults to 0
5011 * This symbol contains the minimum value for the time_t offset that
5012 * the system function gmtime () accepts, and defaults to 0
5015 * This symbol contains the maximum value for the time_t offset that
5016 * the system function localtime () accepts, and defaults to 0
5019 * This symbol contains the minimum value for the time_t offset that
5020 * the system function localtime () accepts, and defaults to 0
5022 #define GMTIME_MAX $sGMTIME_max /**/
5023 #define GMTIME_MIN $sGMTIME_min /**/
5024 #define LOCALTIME_MAX $sLOCALTIME_max /**/
5025 #define LOCALTIME_MIN $sLOCALTIME_min /**/
5028 * This symbol, if defined, indicates that 64-bit integers should
5029 * be used when available. If not defined, the native integers
5030 * will be employed (be they 32 or 64 bits). The minimal possible
5031 * 64-bitness is used, just enough to get 64-bit integers into Perl.
5032 * This may mean using for example "long longs", while your memory
5033 * may still be limited to 2 gigabytes.
5036 * This symbol, if defined, indicates that 64-bit integers should
5037 * be used when available. If not defined, the native integers
5038 * will be used (be they 32 or 64 bits). The maximal possible
5039 * 64-bitness is employed: LP64 or ILP64, meaning that you will
5040 * be able to use more than 2 gigabytes of memory. This mode is
5041 * even more binary incompatible than USE_64_BIT_INT. You may not
5042 * be able to run the resulting executable in a 32-bit CPU at all or
5043 * you may need at least to reboot your OS to 64-bit mode.
5045 #ifndef USE_64_BIT_INT
5046 #$use64bitint USE_64_BIT_INT /**/
5048 #ifndef USE_64_BIT_ALL
5049 #$use64bitall USE_64_BIT_ALL /**/
5053 * This symbol, if defined, indicates that Perl should
5054 * be built with support for backtrace.
5056 #$usecbacktrace USE_CBACKTRACE /**/
5059 * This symbol, if defined, indicates that Perl should
5060 * be built with support for DTrace.
5062 #$usedtrace USE_DTRACE /**/
5065 * This symbol, if defined, indicates that Perl should
5066 * be built to use 'fast stdio'.
5067 * Defaults to define in Perls 5.8 and earlier, to undef later.
5069 #ifndef USE_FAST_STDIO
5070 #$usefaststdio USE_FAST_STDIO /**/
5073 /* USE_KERN_PROC_PATHNAME:
5074 * This symbol, if defined, indicates that we can use sysctl with
5075 * KERN_PROC_PATHNAME to get a full path for the executable, and hence
5076 * convert $^X to an absolute path.
5078 #$usekernprocpathname USE_KERN_PROC_PATHNAME /**/
5081 * This symbol, if defined, indicates that large file support
5082 * should be used when available.
5084 #ifndef USE_LARGE_FILES
5085 #$uselargefiles USE_LARGE_FILES /**/
5089 * This symbol, if defined, indicates that long doubles should
5090 * be used when available.
5092 #ifndef USE_LONG_DOUBLE
5093 #$uselongdouble USE_LONG_DOUBLE /**/
5097 * This symbol, if defined, indicates that the quadmath library should
5098 * be used when available.
5100 #ifndef USE_QUADMATH
5101 #$usequadmath USE_QUADMATH /**/
5105 * This symbol, if defined, indicates that 64-bit interfaces and
5106 * long doubles should be used when available.
5108 #ifndef USE_MORE_BITS
5109 #$usemorebits USE_MORE_BITS /**/
5113 * This symbol, if defined, indicates that Perl should
5114 * be built to use multiplicity.
5116 #ifndef MULTIPLICITY
5117 #$usemultiplicity MULTIPLICITY /**/
5120 /* USE_NSGETEXECUTABLEPATH:
5121 * This symbol, if defined, indicates that we can use _NSGetExecutablePath
5122 * and realpath to get a full path for the executable, and hence convert
5123 * $^X to an absolute path.
5125 #$usensgetexecutablepath USE_NSGETEXECUTABLEPATH /**/
5128 * This symbol, if defined, indicates that the PerlIO abstraction should
5129 * be used throughout. If not defined, stdio should be
5130 * used in a fully backward compatible manner.
5133 #$useperlio USE_PERLIO /**/
5137 * This symbol, if defined, indicates that Perl should
5138 * be built to use socks.
5141 #$usesocks USE_SOCKS /**/