1 # THIS IS A GENERATED FILE
4 # See Porting/config_h.pl
6 : Set up for generating config_h.SH
8 '') CONFIG_SH=config.sh;;
11 '') CONFIG_H=config.h;;
13 case $PERL_CONFIG_SH in
15 if test -f $CONFIG_SH; then TOP=.;
16 elif test -f ../$CONFIG_SH; then TOP=..;
17 elif test -f ../../$CONFIG_SH; then TOP=../..;
18 elif test -f ../../../$CONFIG_SH; then TOP=../../..;
19 elif test -f ../../../../$CONFIG_SH; then TOP=../../../..;
21 echo "Can't find $CONFIG_SH."; exit 1
27 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
30 already-done) echo "Not re-extracting config.h" ;;
32 echo "Extracting $CONFIG_H (with variable substitutions)"
33 sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
35 * This file was produced by running the config_h.SH script, which
36 * gets its values from $CONFIG_SH, which is generally produced by
39 * Feel free to modify any of this as the need arises. Note, however,
40 * that running config_h.SH again will wipe out any changes you've made.
41 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
43 * \$Id: Config_h.U 1 2006-08-24 12:32:52Z rmanfredi $
47 * Package name : $package
48 * Source directory : $src
49 * Configuration time: $cf_time
50 * Configured by : $cf_by
51 * Target system : $myuname
58 * This symbol holds the complete pathname to the sed program.
60 #define LOC_SED "$full_sed" /**/
63 * This symbol, if defined, indicates that the alarm routine is
66 #$d_alarm HAS_ALARM /**/
69 * This symbol is defined if the bcmp() routine is available to
70 * compare blocks of memory.
72 #$d_bcmp HAS_BCMP /**/
75 * This symbol is defined if the bcopy() routine is available to
76 * copy blocks of memory.
78 #$d_bcopy HAS_BCOPY /**/
81 * This symbol is defined if the bzero() routine is available to
82 * set a memory block to 0.
84 #$d_bzero HAS_BZERO /**/
87 * This symbol, if defined, indicates that the chown routine is
90 #$d_chown HAS_CHOWN /**/
93 * This symbol, if defined, indicates that the chroot routine is
96 #$d_chroot HAS_CHROOT /**/
99 * This symbol, if defined, indicates that the chsize routine is available
100 * to truncate files. You might need a -lx to get this routine.
102 #$d_chsize HAS_CHSIZE /**/
105 * This symbol, if defined, indicates that the crypt routine is available
106 * to encrypt passwords and the like.
108 #$d_crypt HAS_CRYPT /**/
111 * This symbol, if defined, indicates that the ctermid routine is
112 * available to generate filename for terminal.
114 #$d_ctermid HAS_CTERMID /**/
117 * This symbol, if defined, indicates that the cuserid routine is
118 * available to get character login names.
120 #$d_cuserid HAS_CUSERID /**/
123 * This symbol, if defined, indicates that this system's <float.h>
124 * or <limits.h> defines the symbol DBL_DIG, which is the number
125 * of significant digits in a double precision number. If this
126 * symbol is not defined, a guess of 15 is usually pretty good.
128 #$d_dbl_dig HAS_DBL_DIG /* */
131 * This symbol, if defined, indicates that the difftime routine is
134 #$d_difftime HAS_DIFFTIME /**/
137 * This symbol, if defined, indicates that the dlerror routine is
138 * available to return a string describing the last error that
139 * occurred from a call to dlopen(), dlclose() or dlsym().
141 #$d_dlerror HAS_DLERROR /**/
143 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
144 * This symbol, if defined, indicates that the bug that prevents
145 * setuid scripts from being secure is not present in this kernel.
148 * This symbol, if defined, indicates that the C program should
149 * check the script that it is executing for setuid/setgid bits, and
150 * attempt to emulate setuid/setgid on systems that have disabled
151 * setuid #! scripts because the kernel can't do it securely.
152 * It is up to the package designer to make sure that this emulation
153 * is done securely. Among other things, it should do an fstat on
154 * the script it just opened to make sure it really is a setuid/setgid
155 * script, it should make sure the arguments passed correspond exactly
156 * to the argument on the #! line, and it should not trust any
157 * subprocesses to which it must pass the filename rather than the
158 * file descriptor of the script to be executed.
160 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
161 #$d_dosuid DOSUID /**/
164 * This symbol, if defined, indicates that the dup2 routine is
165 * available to duplicate file descriptors.
167 #$d_dup2 HAS_DUP2 /**/
170 * This symbol, if defined, indicates that the fchmod routine is available
171 * to change mode of opened files. If unavailable, use chmod().
173 #$d_fchmod HAS_FCHMOD /**/
176 * This symbol, if defined, indicates that the fchown routine is available
177 * to change ownership of opened files. If unavailable, use chown().
179 #$d_fchown HAS_FCHOWN /**/
182 * This symbol, if defined, indicates to the C program that
183 * the fcntl() function exists.
185 #$d_fcntl HAS_FCNTL /**/
188 * This symbol, if defined, indicates that the fgetpos routine is
189 * available to get the file position indicator, similar to ftell().
191 #$d_fgetpos HAS_FGETPOS /**/
194 * This symbol, if defined, indicates that the flock routine is
195 * available to do file locking.
197 #$d_flock HAS_FLOCK /**/
200 * This symbol, if defined, indicates that the fork routine is
203 #$d_fork HAS_FORK /**/
206 * This symbol, if defined, indicates that the fsetpos routine is
207 * available to set the file position indicator, similar to fseek().
209 #$d_fsetpos HAS_FSETPOS /**/
212 * This symbol, if defined, indicates that the gettimeofday() system
213 * call is available for a sub-second accuracy clock. Usually, the file
214 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
215 * The type "Timeval" should be used to refer to "struct timeval".
217 #$d_gettimeod HAS_GETTIMEOFDAY /**/
218 #ifdef HAS_GETTIMEOFDAY
219 #define Timeval struct timeval /* Structure used by gettimeofday() */
223 * This symbol, if defined, indicates that the getgroups() routine is
224 * available to get the list of process groups. If unavailable, multiple
225 * groups are probably not supported.
227 #$d_getgrps HAS_GETGROUPS /**/
230 * This symbol, if defined, indicates that the getlogin routine is
231 * available to get the login name.
233 #$d_getlogin HAS_GETLOGIN /**/
236 * This symbol, if defined, indicates to the C program that
237 * the getpgid(pid) function is available to get the
240 #$d_getpgid HAS_GETPGID /**/
243 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
244 * routine is available to get the current process group.
246 #$d_getpgrp2 HAS_GETPGRP2 /**/
249 * This symbol, if defined, indicates that the getppid routine is
250 * available to get the parent process ID.
252 #$d_getppid HAS_GETPPID /**/
255 * This symbol, if defined, indicates that the getpriority routine is
256 * available to get a process's priority.
258 #$d_getprior HAS_GETPRIORITY /**/
261 * This symbol, if defined, indicates to the C program that the
262 * inet_aton() function is available to parse IP address "dotted-quad"
265 #$d_inetaton HAS_INET_ATON /**/
268 * This symbol, if defined, indicates that the killpg routine is available
269 * to kill process groups. If unavailable, you probably should use kill
270 * with a negative process number.
272 #$d_killpg HAS_KILLPG /**/
275 * This symbol, if defined, indicates that the link routine is
276 * available to create hard links.
278 #$d_link HAS_LINK /**/
281 * This symbol, if defined, indicates that the localeconv routine is
282 * available for numeric and monetary formatting conventions.
284 #$d_locconv HAS_LOCALECONV /**/
287 * This symbol, if defined, indicates that the lockf routine is
288 * available to do file locking.
290 #$d_lockf HAS_LOCKF /**/
293 * This symbol, if defined, indicates that the lstat routine is
294 * available to do file stats on symbolic links.
296 #$d_lstat HAS_LSTAT /**/
299 * This symbol, if defined, indicates that the mblen routine is available
300 * to find the number of bytes in a multibye character.
302 #$d_mblen HAS_MBLEN /**/
305 * This symbol, if defined, indicates that the mbstowcs routine is
306 * available to covert a multibyte string into a wide character string.
308 #$d_mbstowcs HAS_MBSTOWCS /**/
311 * This symbol, if defined, indicates that the mbtowc routine is available
312 * to covert a multibyte to a wide character.
314 #$d_mbtowc HAS_MBTOWC /**/
317 * This symbol, if defined, indicates that the memcmp routine is available
318 * to compare blocks of memory.
320 #$d_memcmp HAS_MEMCMP /**/
323 * This symbol, if defined, indicates that the memcpy routine is available
324 * to copy blocks of memory.
326 #$d_memcpy HAS_MEMCPY /**/
329 * This symbol, if defined, indicates that the memmove routine is available
330 * to copy potentially overlapping blocks of memory. This should be used
331 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
334 #$d_memmove HAS_MEMMOVE /**/
337 * This symbol, if defined, indicates that the memset routine is available
338 * to set blocks of memory.
340 #$d_memset HAS_MEMSET /**/
343 * This symbol, if defined, indicates that the mkdir routine is available
344 * to create directories. Otherwise you should fork off a new process to
347 #$d_mkdir HAS_MKDIR /**/
350 * This symbol, if defined, indicates that the mkfifo routine is
351 * available to create FIFOs. Otherwise, mknod should be able to
352 * do it for you. However, if mkfifo is there, mknod might require
353 * super-user privileges which mkfifo will not.
355 #$d_mkfifo HAS_MKFIFO /**/
358 * This symbol, if defined, indicates that the mktime routine is
361 #$d_mktime HAS_MKTIME /**/
364 * This symbol, if defined, indicates that the msync system call is
365 * available to synchronize a mapped file.
367 #$d_msync HAS_MSYNC /**/
370 * This symbol, if defined, indicates that the munmap system call is
371 * available to unmap a region, usually mapped by mmap().
373 #$d_munmap HAS_MUNMAP /**/
376 * This symbol, if defined, indicates that the nice routine is
379 #$d_nice HAS_NICE /**/
382 * This symbol, if defined, indicates that pathconf() is available
383 * to determine file-system related limits and options associated
384 * with a given filename.
387 * This symbol, if defined, indicates that pathconf() is available
388 * to determine file-system related limits and options associated
389 * with a given open file descriptor.
391 #$d_pathconf HAS_PATHCONF /**/
392 #$d_fpathconf HAS_FPATHCONF /**/
395 * This symbol, if defined, indicates that the pause routine is
396 * available to suspend a process until a signal is received.
398 #$d_pause HAS_PAUSE /**/
401 * This symbol, if defined, indicates that the pipe routine is
402 * available to create an inter-process channel.
404 #$d_pipe HAS_PIPE /**/
407 * This symbol, if defined, indicates that the poll routine is
408 * available to poll active file descriptors. Please check I_POLL and
409 * I_SYS_POLL to know which header should be included as well.
411 #$d_poll HAS_POLL /**/
414 * This symbol, if defined, indicates that the readdir routine is
415 * available to read directory entries. You may have to include
416 * <dirent.h>. See I_DIRENT.
418 #$d_readdir HAS_READDIR /**/
421 * This symbol, if defined, indicates that the seekdir routine is
422 * available. You may have to include <dirent.h>. See I_DIRENT.
424 #$d_seekdir HAS_SEEKDIR /**/
427 * This symbol, if defined, indicates that the telldir routine is
428 * available. You may have to include <dirent.h>. See I_DIRENT.
430 #$d_telldir HAS_TELLDIR /**/
433 * This symbol, if defined, indicates that the rewinddir routine is
434 * available. You may have to include <dirent.h>. See I_DIRENT.
436 #$d_rewinddir HAS_REWINDDIR /**/
439 * This symbol, if defined, indicates that the readlink routine is
440 * available to read the value of a symbolic link.
442 #$d_readlink HAS_READLINK /**/
445 * This symbol, if defined, indicates that the rename routine is available
446 * to rename files. Otherwise you should do the unlink(), link(), unlink()
449 #$d_rename HAS_RENAME /**/
452 * This symbol, if defined, indicates that the rmdir routine is
453 * available to remove directories. Otherwise you should fork off a
454 * new process to exec /bin/rmdir.
456 #$d_rmdir HAS_RMDIR /**/
459 * This symbol, if defined, indicates that the select routine is
460 * available to select active file descriptors. If the timeout field
461 * is used, <sys/time.h> may need to be included.
463 #$d_select HAS_SELECT /**/
466 * This symbol, if defined, indicates that the setegid routine is available
467 * to change the effective gid of the current program.
469 #$d_setegid HAS_SETEGID /**/
472 * This symbol, if defined, indicates that the seteuid routine is available
473 * to change the effective uid of the current program.
475 #$d_seteuid HAS_SETEUID /**/
478 * This symbol, if defined, indicates that the setgroups() routine is
479 * available to set the list of process groups. If unavailable, multiple
480 * groups are probably not supported.
482 #$d_setgrps HAS_SETGROUPS /**/
485 * This symbol, if defined, indicates that the setlinebuf routine is
486 * available to change stderr or stdout from block-buffered or unbuffered
487 * to a line-buffered mode.
489 #$d_setlinebuf HAS_SETLINEBUF /**/
492 * This symbol, if defined, indicates that the setlocale routine is
493 * available to handle locale-specific ctype implementations.
495 #$d_setlocale HAS_SETLOCALE /**/
498 * This symbol, if defined, indicates that the setpgid(pid, gpid)
499 * routine is available to set process group ID.
501 #$d_setpgid HAS_SETPGID /**/
504 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
505 * routine is available to set the current process group.
507 #$d_setpgrp2 HAS_SETPGRP2 /**/
510 * This symbol, if defined, indicates that the setpriority routine is
511 * available to set a process's priority.
513 #$d_setprior HAS_SETPRIORITY /**/
516 * This symbol, if defined, indicates that the setregid routine is
517 * available to change the real and effective gid of the current
521 * This symbol, if defined, indicates that the setresgid routine is
522 * available to change the real, effective and saved gid of the current
525 #$d_setregid HAS_SETREGID /**/
526 #$d_setresgid HAS_SETRESGID /**/
529 * This symbol, if defined, indicates that the setreuid routine is
530 * available to change the real and effective uid of the current
534 * This symbol, if defined, indicates that the setresuid routine is
535 * available to change the real, effective and saved uid of the current
538 #$d_setreuid HAS_SETREUID /**/
539 #$d_setresuid HAS_SETRESUID /**/
542 * This symbol, if defined, indicates that the setrgid routine is available
543 * to change the real gid of the current program.
545 #$d_setrgid HAS_SETRGID /**/
548 * This symbol, if defined, indicates that the setruid routine is available
549 * to change the real uid of the current program.
551 #$d_setruid HAS_SETRUID /**/
554 * This symbol, if defined, indicates that the setsid routine is
555 * available to set the process group ID.
557 #$d_setsid HAS_SETSID /**/
560 * This symbol is defined to indicate that the strchr()/strrchr()
561 * functions are available for string searching. If not, try the
562 * index()/rindex() pair.
565 * This symbol is defined to indicate that the index()/rindex()
566 * functions are available for string searching.
568 #$d_strchr HAS_STRCHR /**/
569 #$d_index HAS_INDEX /**/
572 * This symbol, if defined, indicates that the strcoll routine is
573 * available to compare strings using collating information.
575 #$d_strcoll HAS_STRCOLL /**/
578 * This symbol, if defined, indicates that the strtod routine is
579 * available to provide better numeric string conversion than atof().
581 #$d_strtod HAS_STRTOD /**/
584 * This symbol, if defined, indicates that the strtol routine is available
585 * to provide better numeric string conversion than atoi() and friends.
587 #$d_strtol HAS_STRTOL /**/
590 * This symbol, if defined, indicates that the strxfrm() routine is
591 * available to transform strings.
593 #$d_strxfrm HAS_STRXFRM /**/
596 * This symbol, if defined, indicates that the symlink routine is available
597 * to create symbolic links.
599 #$d_symlink HAS_SYMLINK /**/
602 * This symbol, if defined, indicates that the syscall routine is
603 * available to call arbitrary system calls. If undefined, that's tough.
605 #$d_syscall HAS_SYSCALL /**/
608 * This symbol, if defined, indicates that sysconf() is available
609 * to determine system related limits and options.
611 #$d_sysconf HAS_SYSCONF /**/
614 * This symbol, if defined, indicates that the system routine is
615 * available to issue a shell command.
617 #$d_system HAS_SYSTEM /**/
620 * This symbol, if defined, indicates that the tcgetpgrp routine is
621 * available to get foreground process group ID.
623 #$d_tcgetpgrp HAS_TCGETPGRP /**/
626 * This symbol, if defined, indicates that the tcsetpgrp routine is
627 * available to set foreground process group ID.
629 #$d_tcsetpgrp HAS_TCSETPGRP /**/
632 * This symbol, if defined, indicates that the truncate routine is
633 * available to truncate files.
635 #$d_truncate HAS_TRUNCATE /**/
638 * This symbol, if defined, indicates that the tzname[] array is
639 * available to access timezone names.
641 #$d_tzname HAS_TZNAME /**/
644 * This symbol, if defined, indicates that the umask routine is
645 * available to set and get the value of the file creation mask.
647 #$d_umask HAS_UMASK /**/
650 * This symbol, if defined, indicates that the usleep routine is
651 * available to let the process sleep on a sub-second accuracy.
653 #$d_usleep HAS_USLEEP /**/
656 * This symbol, if defined, indicates that wait4() exists.
658 #$d_wait4 HAS_WAIT4 /**/
661 * This symbol, if defined, indicates that the waitpid routine is
662 * available to wait for child process.
664 #$d_waitpid HAS_WAITPID /**/
667 * This symbol, if defined, indicates that the wcstombs routine is
668 * available to convert wide character strings to multibyte strings.
670 #$d_wcstombs HAS_WCSTOMBS /**/
673 * This symbol, if defined, indicates that the wctomb routine is available
674 * to covert a wide character to a multibyte.
676 #$d_wctomb HAS_WCTOMB /**/
679 * This symbol holds the type used for the second argument to
680 * getgroups() and setgroups(). Usually, this is the same as
681 * gidtype (gid_t) , but sometimes it isn't.
682 * It can be int, ushort, gid_t, etc...
683 * It may be necessary to include <sys/types.h> to get any
684 * typedef'ed information. This is only required if you have
685 * getgroups() or setgroups()..
687 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
688 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
692 * This symbol, if defined, indicates to the C program that it should
693 * include <arpa/inet.h> to get inet_addr and friends declarations.
695 #$i_arpainet I_ARPA_INET /**/
698 * This symbol, if defined, indicates that <dbm.h> exists and should
702 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
703 * should be included.
706 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
709 * This symbol, if defined, indicates that <dlfcn.h> exists and should
712 #$i_dlfcn I_DLFCN /**/
715 * This manifest constant tells the C program to include <fcntl.h>.
717 #$i_fcntl I_FCNTL /**/
720 * This symbol, if defined, indicates to the C program that it should
721 * include <float.h> to get definition of symbols like DBL_MAX or
722 * DBL_MIN, i.e. machine dependent floating point values.
724 #$i_float I_FLOAT /**/
727 * This symbol, if defined, indicates that <gdbm.h> exists and should
733 * This symbol, if defined, indicates to the C program that it should
734 * include <limits.h> to get definition of symbols like WORD_BIT or
735 * LONG_MAX, i.e. machine dependant limitations.
737 #$i_limits I_LIMITS /**/
740 * This symbol, if defined, indicates to the C program that it should
741 * include <locale.h>.
743 #$i_locale I_LOCALE /**/
746 * This symbol, if defined, indicates to the C program that it should
752 * This symbol, if defined, indicates to the C program that it should
753 * include <memory.h>.
755 #$i_memory I_MEMORY /**/
758 * This symbol, if defined, indicates to the C program that it should
759 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
761 #$i_niin I_NETINET_IN /**/
764 * This symbol, if defined, indicates to the C program that it should
770 * This symbol, if defined, indicates that <stddef.h> exists and should
773 #$i_stddef I_STDDEF /**/
776 * This symbol, if defined, indicates that <stdlib.h> exists and should
779 #$i_stdlib I_STDLIB /**/
782 * This symbol, if defined, indicates to the C program that it should
783 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
785 #$i_string I_STRING /**/
788 * This symbol, if defined, indicates to the C program that it should
789 * include <sys/dir.h>.
791 #$i_sysdir I_SYS_DIR /**/
794 * This symbol, if defined, indicates to the C program that it should
795 * include <sys/file.h> to get definition of R_OK and friends.
797 #$i_sysfile I_SYS_FILE /**/
800 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
801 * be included. Otherwise, include <sgtty.h> or <termio.h>.
804 * This symbol, if defined, indicates the <sys/sockio.h> should be included
805 * to get socket ioctl options, like SIOCATMARK.
807 #$i_sysioctl I_SYS_IOCTL /**/
808 #$i_syssockio I_SYS_SOCKIO /**/
811 * This symbol, if defined, indicates to the C program that it should
812 * include <sys/ndir.h>.
814 #$i_sysndir I_SYS_NDIR /**/
817 * This symbol, if defined, indicates to the C program that it should
818 * include <sys/param.h>.
820 #$i_sysparam I_SYS_PARAM /**/
823 * This symbol, if defined, indicates that the program may include
824 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
825 * to only include <poll.h>.
827 #$i_syspoll I_SYS_POLL /**/
830 * This symbol, if defined, indicates to the C program that it should
831 * include <sys/resource.h>.
833 #$i_sysresrc I_SYS_RESOURCE /**/
836 * This symbol, if defined, indicates to the C program that it should
837 * include <sys/select.h> in order to get definition of struct timeval.
839 #$i_sysselct I_SYS_SELECT /**/
842 * This symbol, if defined, indicates to the C program that it should
843 * include <sys/stat.h>.
845 #$i_sysstat I_SYS_STAT /**/
848 * This symbol, if defined, indicates to the C program that it should
849 * include <sys/times.h>.
851 #$i_systimes I_SYS_TIMES /**/
854 * This symbol, if defined, indicates to the C program that it should
855 * include <sys/types.h>.
857 #$i_systypes I_SYS_TYPES /**/
860 * This symbol, if defined, indicates to the C program that it should
861 * include <sys/un.h> to get UNIX domain socket definitions.
863 #$i_sysun I_SYS_UN /**/
866 * This symbol, if defined, indicates to the C program that it should
867 * include <sys/wait.h>.
869 #$i_syswait I_SYS_WAIT /**/
872 * This symbol, if defined, indicates that the program should include
873 * <termio.h> rather than <sgtty.h>. There are also differences in
874 * the ioctl() calls that depend on the value of this symbol.
877 * This symbol, if defined, indicates that the program should include
878 * the POSIX termios.h rather than sgtty.h or termio.h.
879 * There are also differences in the ioctl() calls that depend on the
880 * value of this symbol.
883 * This symbol, if defined, indicates that the program should include
884 * <sgtty.h> rather than <termio.h>. There are also differences in
885 * the ioctl() calls that depend on the value of this symbol.
887 #$i_termio I_TERMIO /**/
888 #$i_termios I_TERMIOS /**/
889 #$i_sgtty I_SGTTY /**/
892 * This symbol, if defined, indicates to the C program that it should
893 * include <unistd.h>.
895 #$i_unistd I_UNISTD /**/
898 * This symbol, if defined, indicates to the C program that it should
901 #$i_utime I_UTIME /**/
904 * This symbol, if defined, indicates to the C program that it should
905 * include <values.h> to get definition of symbols like MINFLOAT or
906 * MAXLONG, i.e. machine dependant limitations. Probably, you
907 * should use <limits.h> instead, if it is available.
909 #$i_values I_VALUES /**/
912 * This symbol, if defined, indicates to the C program that it should
915 #$i_vfork I_VFORK /**/
918 * This symbol contains the value of sizeof(int) so that the C
919 * preprocessor can make decisions based on it.
922 * This symbol contains the value of sizeof(long) so that the C
923 * preprocessor can make decisions based on it.
926 * This symbol contains the value of sizeof(short) so that the C
927 * preprocessor can make decisions based on it.
929 #define INTSIZE $intsize /**/
930 #define LONGSIZE $longsize /**/
931 #define SHORTSIZE $shortsize /**/
934 * This symbol, if defined, signifies that the build
935 * process will produce some binary files that are going to be
936 * used in a cross-platform environment. This is the case for
937 * example with the NeXT "fat" binaries that contain executables
940 #$multiarch MULTIARCH /**/
943 * This symbol, if defined, tells that there's a 64-bit integer type,
944 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
945 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
947 #$d_quad HAS_QUAD /**/
949 # define Quad_t $quadtype /**/
950 # define Uquad_t $uquadtype /**/
951 # define QUADKIND $quadkind /**/
952 # define QUAD_IS_INT 1
953 # define QUAD_IS_LONG 2
954 # define QUAD_IS_LONG_LONG 3
955 # define QUAD_IS_INT64_T 4
959 * This symbol contains the name of the operating system, as determined
960 * by Configure. You shouldn't rely on it too much; the specific
961 * feature tests from Configure are generally more reliable.
964 * This symbol contains the version of the operating system, as determined
965 * by Configure. You shouldn't rely on it too much; the specific
966 * feature tests from Configure are generally more reliable.
968 #define OSNAME "$osname" /**/
969 #define OSVERS "$osvers" /**/
972 * This variable, if defined, holds the name of the directory in
973 * which the user wants to put architecture-dependent public
974 * library files for $package. It is most often a local directory
975 * such as /usr/local/lib. Programs using this variable must be
976 * prepared to deal with filename expansion. If ARCHLIB is the
977 * same as PRIVLIB, it is not defined, since presumably the
978 * program already searches PRIVLIB.
981 * This symbol contains the ~name expanded version of ARCHLIB, to be used
982 * in programs that are not prepared to deal with ~ expansion at run-time.
984 #$d_archlib ARCHLIB "$archlib" /**/
985 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
988 * This symbol holds a string representing the architecture name.
989 * It may be used to construct an architecture-dependant pathname
990 * where library files may be held under a private library, for
993 #define ARCHNAME "$archname" /**/
996 * This symbol holds the path of the bin directory where the package will
997 * be installed. Program must be prepared to deal with ~name substitution.
1000 * This symbol is the filename expanded version of the BIN symbol, for
1001 * programs that do not want to deal with that at run-time.
1003 /* PERL_RELOCATABLE_INC:
1004 * This symbol, if defined, indicates that we'd like to relocate entries
1005 * in @INC at run time based on the location of the perl binary.
1007 #define BIN "$bin" /**/
1008 #define BIN_EXP "$binexp" /**/
1009 #define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
1012 * This macro concatenates 2 tokens together.
1015 * This macro surrounds its token with double quotes.
1018 #define CAT2(a,b) a/**/b
1019 #define STRINGIFY(a) "a"
1021 #if $cpp_stuff == 42
1022 #define PeRl_CaTiFy(a, b) a ## b
1023 #define PeRl_StGiFy(a) #a
1024 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1025 #define StGiFy(a) PeRl_StGiFy(a)
1026 #define STRINGIFY(a) PeRl_StGiFy(a)
1028 #if $cpp_stuff != 1 && $cpp_stuff != 42
1029 #include "Bletch: How does this C preprocessor concatenate tokens?"
1033 * This symbol contains the first part of the string which will invoke
1034 * the C preprocessor on the standard input and produce to standard
1035 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1036 * call a wrapper. See CPPRUN.
1039 * This symbol contains the second part of the string which will invoke
1040 * the C preprocessor on the standard input and produce to standard
1041 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1042 * to specify standard input, otherwise the value is "".
1045 * This symbol contains the string which will invoke a C preprocessor on
1046 * the standard input and produce to standard output. It needs to end
1047 * with CPPLAST, after all other preprocessor flags have been specified.
1048 * The main difference with CPPSTDIN is that this program will never be a
1049 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1050 * available directly to the user. Note that it may well be different from
1051 * the preprocessor used to compile the C program.
1054 * This symbol is intended to be used along with CPPRUN in the same manner
1055 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1057 #define CPPSTDIN "$cppstdin"
1058 #define CPPMINUS "$cppminus"
1059 #define CPPRUN "$cpprun"
1060 #define CPPLAST "$cpplast"
1063 * This manifest constant lets the C program know that the access()
1064 * system call is available to check for accessibility using real UID/GID.
1065 * (always present on UNIX.)
1067 #$d_access HAS_ACCESS /**/
1070 * This symbol, if defined, indicates that the accessx routine is
1071 * available to do extended access checks.
1073 #$d_accessx HAS_ACCESSX /**/
1076 * This symbol, if defined, indicates that the asctime_r routine
1077 * is available to asctime re-entrantly.
1080 * This symbol encodes the prototype of asctime_r.
1081 * It is zero if d_asctime_r is undef, and one of the
1082 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1085 #$d_asctime_r HAS_ASCTIME_R /**/
1086 #define ASCTIME_R_PROTO $asctime_r_proto /**/
1088 /* HASATTRIBUTE_FORMAT:
1089 * Can we handle GCC attribute for checking printf-style formats
1091 /* PRINTF_FORMAT_NULL_OK:
1092 * Allows __printf__ format to be null when checking printf-style
1094 /* HASATTRIBUTE_MALLOC:
1095 * Can we handle GCC attribute for malloc-style functions.
1097 /* HASATTRIBUTE_NONNULL:
1098 * Can we handle GCC attribute for nonnull function parms.
1100 /* HASATTRIBUTE_NORETURN:
1101 * Can we handle GCC attribute for functions that do not return
1103 /* HASATTRIBUTE_PURE:
1104 * Can we handle GCC attribute for pure functions
1106 /* HASATTRIBUTE_UNUSED:
1107 * Can we handle GCC attribute for unused variables and arguments
1109 /* HASATTRIBUTE_DEPRECATED:
1110 * Can we handle GCC attribute for marking deprecated APIs
1112 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1113 * Can we handle GCC attribute for warning on unused results
1115 #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/
1116 #$d_attribute_format HASATTRIBUTE_FORMAT /**/
1117 #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
1118 #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1119 #$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1120 #$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1121 #$d_attribute_pure HASATTRIBUTE_PURE /**/
1122 #$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1123 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1126 * This symbol, if defined, indicates that this C compiler knows about
1127 * the const type. There is no need to actually test for that symbol
1128 * within your programs. The mere use of the "const" keyword will
1129 * trigger the necessary tests.
1131 #$d_const HASCONST /**/
1137 * This symbol, if defined, indicates that the crypt_r routine
1138 * is available to crypt re-entrantly.
1141 * This symbol encodes the prototype of crypt_r.
1142 * It is zero if d_crypt_r is undef, and one of the
1143 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1146 #$d_crypt_r HAS_CRYPT_R /**/
1147 #define CRYPT_R_PROTO $crypt_r_proto /**/
1150 * This symbol, if defined, indicates that the C-shell exists.
1153 * This symbol, if defined, contains the full pathname of csh.
1155 #$d_csh HAS_CSH /**/
1157 #define CSH "$full_csh" /**/
1161 * This symbol, if defined, indicates that the ctermid_r routine
1162 * is available to ctermid re-entrantly.
1165 * This symbol encodes the prototype of ctermid_r.
1166 * It is zero if d_ctermid_r is undef, and one of the
1167 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1170 #$d_ctermid_r HAS_CTERMID_R /**/
1171 #define CTERMID_R_PROTO $ctermid_r_proto /**/
1174 * This symbol, if defined, indicates that the ctime_r routine
1175 * is available to ctime re-entrantly.
1178 * This symbol encodes the prototype of ctime_r.
1179 * It is zero if d_ctime_r is undef, and one of the
1180 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1183 #$d_ctime_r HAS_CTIME_R /**/
1184 #define CTIME_R_PROTO $ctime_r_proto /**/
1187 * This symbol, if defined, indicates that the drand48_r routine
1188 * is available to drand48 re-entrantly.
1191 * This symbol encodes the prototype of drand48_r.
1192 * It is zero if d_drand48_r is undef, and one of the
1193 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1196 #$d_drand48_r HAS_DRAND48_R /**/
1197 #define DRAND48_R_PROTO $drand48_r_proto /**/
1199 /* HAS_DRAND48_PROTO:
1200 * This symbol, if defined, indicates that the system provides
1201 * a prototype for the drand48() function. Otherwise, it is up
1202 * to the program to supply one. A good guess is
1203 * extern double drand48(void);
1205 #$d_drand48proto HAS_DRAND48_PROTO /**/
1208 * This symbol, if defined, indicates that the eaccess routine is
1209 * available to do extended access checks.
1211 #$d_eaccess HAS_EACCESS /**/
1214 * This symbol, if defined, indicates that the getgrent routine is
1215 * available for finalizing sequential access of the group database.
1217 #$d_endgrent HAS_ENDGRENT /**/
1220 * This symbol, if defined, indicates that the endgrent_r routine
1221 * is available to endgrent re-entrantly.
1223 /* ENDGRENT_R_PROTO:
1224 * This symbol encodes the prototype of endgrent_r.
1225 * It is zero if d_endgrent_r is undef, and one of the
1226 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1229 #$d_endgrent_r HAS_ENDGRENT_R /**/
1230 #define ENDGRENT_R_PROTO $endgrent_r_proto /**/
1233 * This symbol, if defined, indicates that the endhostent() routine is
1234 * available to close whatever was being used for host queries.
1236 #$d_endhent HAS_ENDHOSTENT /**/
1238 /* HAS_ENDHOSTENT_R:
1239 * This symbol, if defined, indicates that the endhostent_r routine
1240 * is available to endhostent re-entrantly.
1242 /* ENDHOSTENT_R_PROTO:
1243 * This symbol encodes the prototype of endhostent_r.
1244 * It is zero if d_endhostent_r is undef, and one of the
1245 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1248 #$d_endhostent_r HAS_ENDHOSTENT_R /**/
1249 #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
1252 * This symbol, if defined, indicates that the endnetent() routine is
1253 * available to close whatever was being used for network queries.
1255 #$d_endnent HAS_ENDNETENT /**/
1258 * This symbol, if defined, indicates that the endnetent_r routine
1259 * is available to endnetent re-entrantly.
1261 /* ENDNETENT_R_PROTO:
1262 * This symbol encodes the prototype of endnetent_r.
1263 * It is zero if d_endnetent_r is undef, and one of the
1264 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1267 #$d_endnetent_r HAS_ENDNETENT_R /**/
1268 #define ENDNETENT_R_PROTO $endnetent_r_proto /**/
1271 * This symbol, if defined, indicates that the endprotoent() routine is
1272 * available to close whatever was being used for protocol queries.
1274 #$d_endpent HAS_ENDPROTOENT /**/
1276 /* HAS_ENDPROTOENT_R:
1277 * This symbol, if defined, indicates that the endprotoent_r routine
1278 * is available to endprotoent re-entrantly.
1280 /* ENDPROTOENT_R_PROTO:
1281 * This symbol encodes the prototype of endprotoent_r.
1282 * It is zero if d_endprotoent_r is undef, and one of the
1283 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1286 #$d_endprotoent_r HAS_ENDPROTOENT_R /**/
1287 #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
1290 * This symbol, if defined, indicates that the getgrent routine is
1291 * available for finalizing sequential access of the passwd database.
1293 #$d_endpwent HAS_ENDPWENT /**/
1296 * This symbol, if defined, indicates that the endpwent_r routine
1297 * is available to endpwent re-entrantly.
1299 /* ENDPWENT_R_PROTO:
1300 * This symbol encodes the prototype of endpwent_r.
1301 * It is zero if d_endpwent_r is undef, and one of the
1302 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1305 #$d_endpwent_r HAS_ENDPWENT_R /**/
1306 #define ENDPWENT_R_PROTO $endpwent_r_proto /**/
1309 * This symbol, if defined, indicates that the endservent() routine is
1310 * available to close whatever was being used for service queries.
1312 #$d_endsent HAS_ENDSERVENT /**/
1314 /* HAS_ENDSERVENT_R:
1315 * This symbol, if defined, indicates that the endservent_r routine
1316 * is available to endservent re-entrantly.
1318 /* ENDSERVENT_R_PROTO:
1319 * This symbol encodes the prototype of endservent_r.
1320 * It is zero if d_endservent_r is undef, and one of the
1321 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1324 #$d_endservent_r HAS_ENDSERVENT_R /**/
1325 #define ENDSERVENT_R_PROTO $endservent_r_proto /**/
1328 * This symbol, if defined, indicates that the system supports filenames
1329 * longer than 14 characters.
1331 #$d_flexfnam FLEXFILENAMES /**/
1334 * This symbol, if defined, indicates that the getgrent routine is
1335 * available for sequential access of the group database.
1337 #$d_getgrent HAS_GETGRENT /**/
1340 * This symbol, if defined, indicates that the getgrent_r routine
1341 * is available to getgrent re-entrantly.
1343 /* GETGRENT_R_PROTO:
1344 * This symbol encodes the prototype of getgrent_r.
1345 * It is zero if d_getgrent_r is undef, and one of the
1346 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1349 #$d_getgrent_r HAS_GETGRENT_R /**/
1350 #define GETGRENT_R_PROTO $getgrent_r_proto /**/
1353 * This symbol, if defined, indicates that the getgrgid_r routine
1354 * is available to getgrgid re-entrantly.
1356 /* GETGRGID_R_PROTO:
1357 * This symbol encodes the prototype of getgrgid_r.
1358 * It is zero if d_getgrgid_r is undef, and one of the
1359 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1362 #$d_getgrgid_r HAS_GETGRGID_R /**/
1363 #define GETGRGID_R_PROTO $getgrgid_r_proto /**/
1366 * This symbol, if defined, indicates that the getgrnam_r routine
1367 * is available to getgrnam re-entrantly.
1369 /* GETGRNAM_R_PROTO:
1370 * This symbol encodes the prototype of getgrnam_r.
1371 * It is zero if d_getgrnam_r is undef, and one of the
1372 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1375 #$d_getgrnam_r HAS_GETGRNAM_R /**/
1376 #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
1378 /* HAS_GETHOSTBYADDR:
1379 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1380 * available to look up hosts by their IP addresses.
1382 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1384 /* HAS_GETHOSTBYNAME:
1385 * This symbol, if defined, indicates that the gethostbyname() routine is
1386 * available to look up host names in some data base or other.
1388 #$d_gethbyname HAS_GETHOSTBYNAME /**/
1391 * This symbol, if defined, indicates that the gethostent() routine is
1392 * available to look up host names in some data base or another.
1394 #$d_gethent HAS_GETHOSTENT /**/
1397 * This symbol, if defined, indicates that the C program may use the
1398 * gethostname() routine to derive the host name. See also HAS_UNAME
1402 * This symbol, if defined, indicates that the C program may use the
1403 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1407 * This symbol, if defined, indicates the command to feed to the
1408 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1409 * and HAS_UNAME. Note that the command uses a fully qualified path,
1410 * so that it is safe even if used by a process with super-user
1414 * This symbol, if defined, indicates that the C program may use the
1415 * contents of PHOSTNAME as a command to feed to the popen() routine
1416 * to derive the host name.
1418 #$d_gethname HAS_GETHOSTNAME /**/
1419 #$d_uname HAS_UNAME /**/
1420 #$d_phostname HAS_PHOSTNAME /**/
1421 #ifdef HAS_PHOSTNAME
1422 #define PHOSTNAME "$aphostname" /* How to get the host name */
1425 /* HAS_GETHOSTBYADDR_R:
1426 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1427 * is available to gethostbyaddr re-entrantly.
1429 /* GETHOSTBYADDR_R_PROTO:
1430 * This symbol encodes the prototype of gethostbyaddr_r.
1431 * It is zero if d_gethostbyaddr_r is undef, and one of the
1432 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1435 #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
1436 #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
1438 /* HAS_GETHOSTBYNAME_R:
1439 * This symbol, if defined, indicates that the gethostbyname_r routine
1440 * is available to gethostbyname re-entrantly.
1442 /* GETHOSTBYNAME_R_PROTO:
1443 * This symbol encodes the prototype of gethostbyname_r.
1444 * It is zero if d_gethostbyname_r is undef, and one of the
1445 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1448 #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
1449 #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
1451 /* HAS_GETHOSTENT_R:
1452 * This symbol, if defined, indicates that the gethostent_r routine
1453 * is available to gethostent re-entrantly.
1455 /* GETHOSTENT_R_PROTO:
1456 * This symbol encodes the prototype of gethostent_r.
1457 * It is zero if d_gethostent_r is undef, and one of the
1458 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1461 #$d_gethostent_r HAS_GETHOSTENT_R /**/
1462 #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
1464 /* HAS_GETHOST_PROTOS:
1465 * This symbol, if defined, indicates that <netdb.h> includes
1466 * prototypes for gethostent(), gethostbyname(), and
1467 * gethostbyaddr(). Otherwise, it is up to the program to guess
1468 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1470 #$d_gethostprotos HAS_GETHOST_PROTOS /**/
1473 * This symbol, if defined, indicates that the getlogin_r routine
1474 * is available to getlogin re-entrantly.
1476 /* GETLOGIN_R_PROTO:
1477 * This symbol encodes the prototype of getlogin_r.
1478 * It is zero if d_getlogin_r is undef, and one of the
1479 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1482 #$d_getlogin_r HAS_GETLOGIN_R /**/
1483 #define GETLOGIN_R_PROTO $getlogin_r_proto /**/
1485 /* HAS_GETNETBYADDR:
1486 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1487 * available to look up networks by their IP addresses.
1489 #$d_getnbyaddr HAS_GETNETBYADDR /**/
1491 /* HAS_GETNETBYNAME:
1492 * This symbol, if defined, indicates that the getnetbyname() routine is
1493 * available to look up networks by their names.
1495 #$d_getnbyname HAS_GETNETBYNAME /**/
1498 * This symbol, if defined, indicates that the getnetent() routine is
1499 * available to look up network names in some data base or another.
1501 #$d_getnent HAS_GETNETENT /**/
1503 /* HAS_GETNETBYADDR_R:
1504 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1505 * is available to getnetbyaddr re-entrantly.
1507 /* GETNETBYADDR_R_PROTO:
1508 * This symbol encodes the prototype of getnetbyaddr_r.
1509 * It is zero if d_getnetbyaddr_r is undef, and one of the
1510 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1513 #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
1514 #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
1516 /* HAS_GETNETBYNAME_R:
1517 * This symbol, if defined, indicates that the getnetbyname_r routine
1518 * is available to getnetbyname re-entrantly.
1520 /* GETNETBYNAME_R_PROTO:
1521 * This symbol encodes the prototype of getnetbyname_r.
1522 * It is zero if d_getnetbyname_r is undef, and one of the
1523 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1526 #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
1527 #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
1530 * This symbol, if defined, indicates that the getnetent_r routine
1531 * is available to getnetent re-entrantly.
1533 /* GETNETENT_R_PROTO:
1534 * This symbol encodes the prototype of getnetent_r.
1535 * It is zero if d_getnetent_r is undef, and one of the
1536 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1539 #$d_getnetent_r HAS_GETNETENT_R /**/
1540 #define GETNETENT_R_PROTO $getnetent_r_proto /**/
1542 /* HAS_GETNET_PROTOS:
1543 * This symbol, if defined, indicates that <netdb.h> includes
1544 * prototypes for getnetent(), getnetbyname(), and
1545 * getnetbyaddr(). Otherwise, it is up to the program to guess
1546 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1548 #$d_getnetprotos HAS_GETNET_PROTOS /**/
1551 * This symbol, if defined, indicates that the getprotoent() routine is
1552 * available to look up protocols in some data base or another.
1554 #$d_getpent HAS_GETPROTOENT /**/
1557 * This symbol, if defined, indicates that the getpgrp routine is
1558 * available to get the current process group.
1561 * This symbol, if defined, indicates that getpgrp needs one
1562 * arguments whereas USG one needs none.
1564 #$d_getpgrp HAS_GETPGRP /**/
1565 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1567 /* HAS_GETPROTOBYNAME:
1568 * This symbol, if defined, indicates that the getprotobyname()
1569 * routine is available to look up protocols by their name.
1571 /* HAS_GETPROTOBYNUMBER:
1572 * This symbol, if defined, indicates that the getprotobynumber()
1573 * routine is available to look up protocols by their number.
1575 #$d_getpbyname HAS_GETPROTOBYNAME /**/
1576 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1578 /* HAS_GETPROTOBYNAME_R:
1579 * This symbol, if defined, indicates that the getprotobyname_r routine
1580 * is available to getprotobyname re-entrantly.
1582 /* GETPROTOBYNAME_R_PROTO:
1583 * This symbol encodes the prototype of getprotobyname_r.
1584 * It is zero if d_getprotobyname_r is undef, and one of the
1585 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1588 #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
1589 #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
1591 /* HAS_GETPROTOBYNUMBER_R:
1592 * This symbol, if defined, indicates that the getprotobynumber_r routine
1593 * is available to getprotobynumber re-entrantly.
1595 /* GETPROTOBYNUMBER_R_PROTO:
1596 * This symbol encodes the prototype of getprotobynumber_r.
1597 * It is zero if d_getprotobynumber_r is undef, and one of the
1598 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1601 #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
1602 #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
1604 /* HAS_GETPROTOENT_R:
1605 * This symbol, if defined, indicates that the getprotoent_r routine
1606 * is available to getprotoent re-entrantly.
1608 /* GETPROTOENT_R_PROTO:
1609 * This symbol encodes the prototype of getprotoent_r.
1610 * It is zero if d_getprotoent_r is undef, and one of the
1611 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1614 #$d_getprotoent_r HAS_GETPROTOENT_R /**/
1615 #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
1617 /* HAS_GETPROTO_PROTOS:
1618 * This symbol, if defined, indicates that <netdb.h> includes
1619 * prototypes for getprotoent(), getprotobyname(), and
1620 * getprotobyaddr(). Otherwise, it is up to the program to guess
1621 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1623 #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1626 * This symbol, if defined, indicates that the getpwent routine is
1627 * available for sequential access of the passwd database.
1628 * If this is not available, the older getpw() function may be available.
1630 #$d_getpwent HAS_GETPWENT /**/
1633 * This symbol, if defined, indicates that the getpwent_r routine
1634 * is available to getpwent re-entrantly.
1636 /* GETPWENT_R_PROTO:
1637 * This symbol encodes the prototype of getpwent_r.
1638 * It is zero if d_getpwent_r is undef, and one of the
1639 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1642 #$d_getpwent_r HAS_GETPWENT_R /**/
1643 #define GETPWENT_R_PROTO $getpwent_r_proto /**/
1646 * This symbol, if defined, indicates that the getpwnam_r routine
1647 * is available to getpwnam re-entrantly.
1649 /* GETPWNAM_R_PROTO:
1650 * This symbol encodes the prototype of getpwnam_r.
1651 * It is zero if d_getpwnam_r is undef, and one of the
1652 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1655 #$d_getpwnam_r HAS_GETPWNAM_R /**/
1656 #define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
1659 * This symbol, if defined, indicates that the getpwuid_r routine
1660 * is available to getpwuid re-entrantly.
1662 /* GETPWUID_R_PROTO:
1663 * This symbol encodes the prototype of getpwuid_r.
1664 * It is zero if d_getpwuid_r is undef, and one of the
1665 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1668 #$d_getpwuid_r HAS_GETPWUID_R /**/
1669 #define GETPWUID_R_PROTO $getpwuid_r_proto /**/
1672 * This symbol, if defined, indicates that the getservent() routine is
1673 * available to look up network services in some data base or another.
1675 #$d_getsent HAS_GETSERVENT /**/
1677 /* HAS_GETSERVBYNAME_R:
1678 * This symbol, if defined, indicates that the getservbyname_r routine
1679 * is available to getservbyname re-entrantly.
1681 /* GETSERVBYNAME_R_PROTO:
1682 * This symbol encodes the prototype of getservbyname_r.
1683 * It is zero if d_getservbyname_r is undef, and one of the
1684 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1687 #$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
1688 #define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
1690 /* HAS_GETSERVBYPORT_R:
1691 * This symbol, if defined, indicates that the getservbyport_r routine
1692 * is available to getservbyport re-entrantly.
1694 /* GETSERVBYPORT_R_PROTO:
1695 * This symbol encodes the prototype of getservbyport_r.
1696 * It is zero if d_getservbyport_r is undef, and one of the
1697 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1700 #$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
1701 #define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
1703 /* HAS_GETSERVENT_R:
1704 * This symbol, if defined, indicates that the getservent_r routine
1705 * is available to getservent re-entrantly.
1707 /* GETSERVENT_R_PROTO:
1708 * This symbol encodes the prototype of getservent_r.
1709 * It is zero if d_getservent_r is undef, and one of the
1710 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1713 #$d_getservent_r HAS_GETSERVENT_R /**/
1714 #define GETSERVENT_R_PROTO $getservent_r_proto /**/
1716 /* HAS_GETSERV_PROTOS:
1717 * This symbol, if defined, indicates that <netdb.h> includes
1718 * prototypes for getservent(), getservbyname(), and
1719 * getservbyaddr(). Otherwise, it is up to the program to guess
1720 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1722 #$d_getservprotos HAS_GETSERV_PROTOS /**/
1725 * This symbol, if defined, indicates that the getspnam_r routine
1726 * is available to getspnam re-entrantly.
1728 /* GETSPNAM_R_PROTO:
1729 * This symbol encodes the prototype of getspnam_r.
1730 * It is zero if d_getspnam_r is undef, and one of the
1731 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1734 #$d_getspnam_r HAS_GETSPNAM_R /**/
1735 #define GETSPNAM_R_PROTO $getspnam_r_proto /**/
1737 /* HAS_GETSERVBYNAME:
1738 * This symbol, if defined, indicates that the getservbyname()
1739 * routine is available to look up services by their name.
1741 /* HAS_GETSERVBYPORT:
1742 * This symbol, if defined, indicates that the getservbyport()
1743 * routine is available to look up services by their port.
1745 #$d_getsbyname HAS_GETSERVBYNAME /**/
1746 #$d_getsbyport HAS_GETSERVBYPORT /**/
1749 * This symbol, if defined, indicates that the gmtime_r routine
1750 * is available to gmtime re-entrantly.
1753 * This symbol encodes the prototype of gmtime_r.
1754 * It is zero if d_gmtime_r is undef, and one of the
1755 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1758 #$d_gmtime_r HAS_GMTIME_R /**/
1759 #define GMTIME_R_PROTO $gmtime_r_proto /**/
1762 * This symbol, if defined, indicates that the htonl() routine (and
1763 * friends htons() ntohl() ntohs()) are available to do network
1764 * order byte swapping.
1767 * This symbol, if defined, indicates that the htons() routine (and
1768 * friends htonl() ntohl() ntohs()) are available to do network
1769 * order byte swapping.
1772 * This symbol, if defined, indicates that the ntohl() routine (and
1773 * friends htonl() htons() ntohs()) are available to do network
1774 * order byte swapping.
1777 * This symbol, if defined, indicates that the ntohs() routine (and
1778 * friends htonl() htons() ntohl()) are available to do network
1779 * order byte swapping.
1781 #$d_htonl HAS_HTONL /**/
1782 #$d_htonl HAS_HTONS /**/
1783 #$d_htonl HAS_NTOHL /**/
1784 #$d_htonl HAS_NTOHS /**/
1787 * This symbol, if defined, indicates that the localtime_r routine
1788 * is available to localtime re-entrantly.
1790 /* LOCALTIME_R_NEEDS_TZSET:
1791 * Many libc's localtime_r implementations do not call tzset,
1792 * making them differ from localtime(), and making timezone
1793 * changes using \$ENV{TZ} without explicitly calling tzset
1794 * impossible. This symbol makes us call tzset before localtime_r
1796 #$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
1797 #ifdef LOCALTIME_R_NEEDS_TZSET
1798 #define L_R_TZSET tzset(),
1803 /* LOCALTIME_R_PROTO:
1804 * This symbol encodes the prototype of localtime_r.
1805 * It is zero if d_localtime_r is undef, and one of the
1806 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1809 #$d_localtime_r HAS_LOCALTIME_R /**/
1810 #define LOCALTIME_R_PROTO $localtime_r_proto /**/
1813 * This symbol will be defined if the C compiler supports long
1817 * This symbol contains the size of a long double, so that the
1818 * C preprocessor can make decisions based on it. It is only
1819 * defined if the system supports long doubles.
1821 #$d_longdbl HAS_LONG_DOUBLE /**/
1822 #ifdef HAS_LONG_DOUBLE
1823 #define LONG_DOUBLESIZE $longdblsize /**/
1827 * This symbol will be defined if the C compiler supports long long.
1830 * This symbol contains the size of a long long, so that the
1831 * C preprocessor can make decisions based on it. It is only
1832 * defined if the system supports long long.
1834 #$d_longlong HAS_LONG_LONG /**/
1835 #ifdef HAS_LONG_LONG
1836 #define LONGLONGSIZE $longlongsize /**/
1840 * This symbol, if defined, indicates that the system provides
1841 * a prototype for the lseek() function. Otherwise, it is up
1842 * to the program to supply one. A good guess is
1843 * extern off_t lseek(int, off_t, int);
1845 #$d_lseekproto HAS_LSEEK_PROTO /**/
1848 * This symbol, if defined, indicates that the memchr routine is available
1849 * to locate characters within a C string.
1851 #$d_memchr HAS_MEMCHR /**/
1854 * This symbol, if defined, indicates that the mkstemp routine is
1855 * available to exclusively create and open a uniquely named
1858 #$d_mkstemp HAS_MKSTEMP /**/
1861 * This symbol, if defined, indicates that the mmap system call is
1862 * available to map a file into memory.
1865 * This symbol holds the return type of the mmap() system call
1866 * (and simultaneously the type of the first argument).
1867 * Usually set to 'void *' or 'caddr_t'.
1869 #$d_mmap HAS_MMAP /**/
1870 #define Mmap_t $mmaptype /**/
1873 * This symbol, if defined, indicates that the entire msg*(2) library is
1874 * supported (IPC mechanism based on message queues).
1876 #$d_msg HAS_MSG /**/
1878 /* OLD_PTHREAD_CREATE_JOINABLE:
1879 * This symbol, if defined, indicates how to create pthread
1880 * in joinable (aka undetached) state. NOTE: not defined
1881 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1882 * (the new version of the constant).
1883 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1886 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
1888 /* HAS_PTHREAD_ATFORK:
1889 * This symbol, if defined, indicates that the pthread_atfork routine
1890 * is available to setup fork handlers.
1892 #$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
1894 /* HAS_PTHREAD_YIELD:
1895 * This symbol, if defined, indicates that the pthread_yield
1896 * routine is available to yield the execution of the current
1897 * thread. sched_yield is preferable to pthread_yield.
1900 * This symbol defines the way to yield the execution of
1901 * the current thread. Known ways are sched_yield,
1902 * pthread_yield, and pthread_yield with NULL.
1905 * This symbol, if defined, indicates that the sched_yield
1906 * routine is available to yield the execution of the current
1907 * thread. sched_yield is preferable to pthread_yield.
1909 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
1910 #define SCHED_YIELD $sched_yield /**/
1911 #$d_sched_yield HAS_SCHED_YIELD /**/
1914 * This symbol, if defined, indicates that the random_r routine
1915 * is available to random re-entrantly.
1918 * This symbol encodes the prototype of random_r.
1919 * It is zero if d_random_r is undef, and one of the
1920 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1923 #$d_random_r HAS_RANDOM_R /**/
1924 #define RANDOM_R_PROTO $random_r_proto /**/
1927 * This symbol, if defined, indicates that the readdir64_r routine
1928 * is available to readdir64 re-entrantly.
1930 /* READDIR64_R_PROTO:
1931 * This symbol encodes the prototype of readdir64_r.
1932 * It is zero if d_readdir64_r is undef, and one of the
1933 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
1936 #$d_readdir64_r HAS_READDIR64_R /**/
1937 #define READDIR64_R_PROTO $readdir64_r_proto /**/
1940 * This symbol, if defined, indicates that the readdir_r routine
1941 * is available to readdir re-entrantly.
1944 * This symbol encodes the prototype of readdir_r.
1945 * It is zero if d_readdir_r is undef, and one of the
1946 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
1949 #$d_readdir_r HAS_READDIR_R /**/
1950 #define READDIR_R_PROTO $readdir_r_proto /**/
1953 * This symbol, if defined, indicates that the entire sem*(2) library is
1956 #$d_sem HAS_SEM /**/
1959 * This symbol, if defined, indicates that the setgrent routine is
1960 * available for initializing sequential access of the group database.
1962 #$d_setgrent HAS_SETGRENT /**/
1965 * This symbol, if defined, indicates that the setgrent_r routine
1966 * is available to setgrent re-entrantly.
1968 /* SETGRENT_R_PROTO:
1969 * This symbol encodes the prototype of setgrent_r.
1970 * It is zero if d_setgrent_r is undef, and one of the
1971 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
1974 #$d_setgrent_r HAS_SETGRENT_R /**/
1975 #define SETGRENT_R_PROTO $setgrent_r_proto /**/
1978 * This symbol, if defined, indicates that the sethostent() routine is
1981 #$d_sethent HAS_SETHOSTENT /**/
1983 /* HAS_SETHOSTENT_R:
1984 * This symbol, if defined, indicates that the sethostent_r routine
1985 * is available to sethostent re-entrantly.
1987 /* SETHOSTENT_R_PROTO:
1988 * This symbol encodes the prototype of sethostent_r.
1989 * It is zero if d_sethostent_r is undef, and one of the
1990 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
1993 #$d_sethostent_r HAS_SETHOSTENT_R /**/
1994 #define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
1997 * This symbol, if defined, indicates that the setlocale_r routine
1998 * is available to setlocale re-entrantly.
2000 /* SETLOCALE_R_PROTO:
2001 * This symbol encodes the prototype of setlocale_r.
2002 * It is zero if d_setlocale_r is undef, and one of the
2003 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
2006 #$d_setlocale_r HAS_SETLOCALE_R /**/
2007 #define SETLOCALE_R_PROTO $setlocale_r_proto /**/
2010 * This symbol, if defined, indicates that the setnetent() routine is
2013 #$d_setnent HAS_SETNETENT /**/
2016 * This symbol, if defined, indicates that the setnetent_r routine
2017 * is available to setnetent re-entrantly.
2019 /* SETNETENT_R_PROTO:
2020 * This symbol encodes the prototype of setnetent_r.
2021 * It is zero if d_setnetent_r is undef, and one of the
2022 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2025 #$d_setnetent_r HAS_SETNETENT_R /**/
2026 #define SETNETENT_R_PROTO $setnetent_r_proto /**/
2029 * This symbol, if defined, indicates that the setprotoent() routine is
2032 #$d_setpent HAS_SETPROTOENT /**/
2035 * This symbol, if defined, indicates that the setpgrp routine is
2036 * available to set the current process group.
2039 * This symbol, if defined, indicates that setpgrp needs two
2040 * arguments whereas USG one needs none. See also HAS_SETPGID
2041 * for a POSIX interface.
2043 #$d_setpgrp HAS_SETPGRP /**/
2044 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2046 /* HAS_SETPROTOENT_R:
2047 * This symbol, if defined, indicates that the setprotoent_r routine
2048 * is available to setprotoent re-entrantly.
2050 /* SETPROTOENT_R_PROTO:
2051 * This symbol encodes the prototype of setprotoent_r.
2052 * It is zero if d_setprotoent_r is undef, and one of the
2053 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2056 #$d_setprotoent_r HAS_SETPROTOENT_R /**/
2057 #define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
2060 * This symbol, if defined, indicates that the setpwent routine is
2061 * available for initializing sequential access of the passwd database.
2063 #$d_setpwent HAS_SETPWENT /**/
2066 * This symbol, if defined, indicates that the setpwent_r routine
2067 * is available to setpwent re-entrantly.
2069 /* SETPWENT_R_PROTO:
2070 * This symbol encodes the prototype of setpwent_r.
2071 * It is zero if d_setpwent_r is undef, and one of the
2072 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2075 #$d_setpwent_r HAS_SETPWENT_R /**/
2076 #define SETPWENT_R_PROTO $setpwent_r_proto /**/
2079 * This symbol, if defined, indicates that the setservent() routine is
2082 #$d_setsent HAS_SETSERVENT /**/
2084 /* HAS_SETSERVENT_R:
2085 * This symbol, if defined, indicates that the setservent_r routine
2086 * is available to setservent re-entrantly.
2088 /* SETSERVENT_R_PROTO:
2089 * This symbol encodes the prototype of setservent_r.
2090 * It is zero if d_setservent_r is undef, and one of the
2091 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2094 #$d_setservent_r HAS_SETSERVENT_R /**/
2095 #define SETSERVENT_R_PROTO $setservent_r_proto /**/
2098 * This symbol, if defined, indicates that the setvbuf routine is
2099 * available to change buffering on an open stdio stream.
2100 * to a line-buffered mode.
2102 #$d_setvbuf HAS_SETVBUF /**/
2105 * This symbol, if defined, indicates that the entire shm*(2) library is
2108 #$d_shm HAS_SHM /**/
2111 * This symbol holds the return type of the shmat() system call.
2112 * Usually set to 'void *' or 'char *'.
2114 /* HAS_SHMAT_PROTOTYPE:
2115 * This symbol, if defined, indicates that the sys/shm.h includes
2116 * a prototype for shmat(). Otherwise, it is up to the program to
2117 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2118 * but not always right so it should be emitted by the program only
2119 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2121 #define Shmat_t $shmattype /**/
2122 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2125 * This symbol, if defined, indicates that the BSD socket interface is
2129 * This symbol, if defined, indicates that the BSD socketpair() call is
2133 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2134 * Checking just with #ifdef might not be enough because this symbol
2135 * has been known to be an enum.
2137 /* HAS_MSG_DONTROUTE:
2138 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2139 * Checking just with #ifdef might not be enough because this symbol
2140 * has been known to be an enum.
2143 * This symbol, if defined, indicates that the MSG_OOB is supported.
2144 * Checking just with #ifdef might not be enough because this symbol
2145 * has been known to be an enum.
2148 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2149 * Checking just with #ifdef might not be enough because this symbol
2150 * has been known to be an enum.
2153 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2154 * Checking just with #ifdef might not be enough because this symbol
2155 * has been known to be an enum.
2158 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2159 * Checking just with #ifdef might not be enough because this symbol
2160 * has been known to be an enum.
2162 #$d_socket HAS_SOCKET /**/
2163 #$d_sockpair HAS_SOCKETPAIR /**/
2164 #$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2165 #$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2166 #$d_msg_oob HAS_MSG_OOB /**/
2167 #$d_msg_peek HAS_MSG_PEEK /**/
2168 #$d_msg_proxy HAS_MSG_PROXY /**/
2169 #$d_scm_rights HAS_SCM_RIGHTS /**/
2172 * This symbol, if defined, indicates that the srand48_r routine
2173 * is available to srand48 re-entrantly.
2176 * This symbol encodes the prototype of srand48_r.
2177 * It is zero if d_srand48_r is undef, and one of the
2178 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2181 #$d_srand48_r HAS_SRAND48_R /**/
2182 #define SRAND48_R_PROTO $srand48_r_proto /**/
2185 * This symbol, if defined, indicates that the srandom_r routine
2186 * is available to srandom re-entrantly.
2189 * This symbol encodes the prototype of srandom_r.
2190 * It is zero if d_srandom_r is undef, and one of the
2191 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2194 #$d_srandom_r HAS_SRANDOM_R /**/
2195 #define SRANDOM_R_PROTO $srandom_r_proto /**/
2198 * This symbol is defined if this system has a stat structure declaring
2199 * st_blksize and st_blocks.
2201 #ifndef USE_STAT_BLOCKS
2202 #$d_statblks USE_STAT_BLOCKS /**/
2206 * This symbol, if defined, indicates that this C compiler knows how
2207 * to copy structures. If undefined, you'll need to use a block copy
2208 * routine of some sort instead.
2210 #$d_strctcpy USE_STRUCT_COPY /**/
2213 * This symbol, if defined, indicates that the strerror routine is
2214 * available to translate error numbers to strings. See the writeup
2215 * of Strerror() in this file before you try to define your own.
2218 * This symbol, if defined, indicates that the sys_errlist array is
2219 * available to translate error numbers to strings. The extern int
2220 * sys_nerr gives the size of that table.
2223 * This preprocessor symbol is defined as a macro if strerror() is
2224 * not available to translate error numbers to strings but sys_errlist[]
2227 #$d_strerror HAS_STRERROR /**/
2228 #$d_syserrlst HAS_SYS_ERRLIST /**/
2229 #define Strerror(e) $d_strerrm
2232 * This symbol, if defined, indicates that the strerror_r routine
2233 * is available to strerror re-entrantly.
2235 /* STRERROR_R_PROTO:
2236 * This symbol encodes the prototype of strerror_r.
2237 * It is zero if d_strerror_r is undef, and one of the
2238 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2241 #$d_strerror_r HAS_STRERROR_R /**/
2242 #define STRERROR_R_PROTO $strerror_r_proto /**/
2245 * This symbol, if defined, indicates that the strtoul routine is
2246 * available to provide conversion of strings to unsigned long.
2248 #$d_strtoul HAS_STRTOUL /**/
2251 * This symbol, if defined, indicates that the time() routine exists.
2254 * This symbol holds the type returned by time(). It can be long,
2255 * or time_t on BSD sites (in which case <sys/types.h> should be
2258 #$d_time HAS_TIME /**/
2259 #define Time_t $timetype /* Time type */
2262 * This symbol, if defined, indicates that the times() routine exists.
2263 * Note that this became obsolete on some systems (SUNOS), which now
2264 * use getrusage(). It may be necessary to include <sys/times.h>.
2266 #$d_times HAS_TIMES /**/
2269 * This symbol, if defined, indicates that the tmpnam_r routine
2270 * is available to tmpnam re-entrantly.
2273 * This symbol encodes the prototype of tmpnam_r.
2274 * It is zero if d_tmpnam_r is undef, and one of the
2275 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2278 #$d_tmpnam_r HAS_TMPNAM_R /**/
2279 #define TMPNAM_R_PROTO $tmpnam_r_proto /**/
2282 * This symbol, if defined, indicates that the ttyname_r routine
2283 * is available to ttyname re-entrantly.
2286 * This symbol encodes the prototype of ttyname_r.
2287 * It is zero if d_ttyname_r is undef, and one of the
2288 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2291 #$d_ttyname_r HAS_TTYNAME_R /**/
2292 #define TTYNAME_R_PROTO $ttyname_r_proto /**/
2295 * This symbol, if defined, indicates that the union semun is
2296 * defined by including <sys/sem.h>. If not, the user code
2297 * probably needs to define it as:
2300 * struct semid_ds *buf;
2301 * unsigned short *array;
2304 /* USE_SEMCTL_SEMUN:
2305 * This symbol, if defined, indicates that union semun is
2306 * used for semctl IPC_STAT.
2308 /* USE_SEMCTL_SEMID_DS:
2309 * This symbol, if defined, indicates that struct semid_ds * is
2310 * used for semctl IPC_STAT.
2312 #$d_union_semun HAS_UNION_SEMUN /**/
2313 #$d_semctl_semun USE_SEMCTL_SEMUN /**/
2314 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2317 * This symbol, if defined, indicates that vfork() exists.
2319 #$d_vfork HAS_VFORK /**/
2322 * This symbol, if defined, indicates that an emulation of the
2323 * fork routine is available.
2325 #$d_pseudofork HAS_PSEUDOFORK /**/
2328 * This symbol's value is either "void" or "int", corresponding to the
2329 * appropriate return type of a signal handler. Thus, you can declare
2330 * a signal handler using "Signal_t (*handler)()", and define the
2331 * handler using "Signal_t handler(sig)".
2333 #define Signal_t $signal_t /* Signal handler's return type */
2336 * This symbol, if defined, indicates that this C compiler knows about
2337 * the volatile declaration.
2339 #$d_volatile HASVOLATILE /**/
2345 * This symbol holds the type used to declare file positions in libc.
2346 * It can be fpos_t, long, uint, etc... It may be necessary to include
2347 * <sys/types.h> to get any typedef'ed information.
2349 #define Fpos_t $fpostype /* File position type */
2352 * This symbol defines the format string used for printing a Gid_t.
2354 #define Gid_t_f $gidformat /**/
2357 * This symbol holds the signedess of a Gid_t.
2358 * 1 for unsigned, -1 for signed.
2360 #define Gid_t_sign $gidsign /* GID sign */
2363 * This symbol holds the size of a Gid_t in bytes.
2365 #define Gid_t_size $gidsize /* GID size */
2368 * This symbol holds the return type of getgid() and the type of
2369 * argument to setrgid() and related functions. Typically,
2370 * it is the type of group ids in the kernel. It can be int, ushort,
2371 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2372 * any typedef'ed information.
2374 #define Gid_t $gidtype /* Type for getgid(), etc... */
2377 * This symbol, if defined, indicates to the C program that it should
2378 * include <dirent.h>. Using this symbol also triggers the definition
2379 * of the Direntry_t define which ends up being 'struct dirent' or
2380 * 'struct direct' depending on the availability of <dirent.h>.
2383 * This symbol, if defined, indicates to the C program that the length
2384 * of directory entry names is provided by a d_namlen field. Otherwise
2385 * you need to do strlen() on the d_name field.
2388 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2389 * whether dirent is available or not. You should use this pseudo type to
2390 * portably declare your directory entries.
2392 #$i_dirent I_DIRENT /**/
2393 #$d_dirnamlen DIRNAMLEN /**/
2394 #define Direntry_t $direntrytype
2397 * This symbol, if defined, indicates to the C program that it should
2401 * This symbol, if defined, indicates to the C program that struct group
2402 * in <grp.h> contains gr_passwd.
2405 #$d_grpasswd GRPASSWD /**/
2408 * This symbol, if defined, indicates to the C program that it should
2409 * include <mach/cthreads.h>.
2411 #$i_machcthr I_MACH_CTHREADS /**/
2414 * This symbol, if defined, indicates that <ndbm.h> exists and should
2418 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2419 * be included. This was the location of the ndbm.h compatibility file
2423 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2424 * be included. This is the location of the ndbm.h compatibility file
2427 /* NDBM_H_USES_PROTOTYPES:
2428 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2429 * prototypes instead of K&R style function declarations without any
2430 * parameter information. While ANSI C prototypes are supported in C++,
2431 * K&R style function declarations will yield errors.
2433 /* GDBMNDBM_H_USES_PROTOTYPES:
2434 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2435 * prototypes instead of K&R style function declarations without any
2436 * parameter information. While ANSI C prototypes are supported in C++,
2437 * K&R style function declarations will yield errors.
2439 /* GDBM_NDBM_H_USES_PROTOTYPES:
2440 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2441 * prototypes instead of K&R style function declarations without any
2442 * parameter information. While ANSI C prototypes are supported in C++,
2443 * K&R style function declarations will yield errors.
2445 #$i_ndbm I_NDBM /**/
2446 #$i_gdbmndbm I_GDBMNDBM /**/
2447 #$i_gdbm_ndbm I_GDBM_NDBM /**/
2448 #$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
2449 #$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
2450 #$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
2453 * This symbol, if defined, indicates that <netdb.h> exists and
2454 * should be included.
2456 #$i_netdb I_NETDB /**/
2459 * This symbol, if defined, indicates that <net/errno.h> exists and
2460 * should be included.
2462 #$i_neterrno I_NET_ERRNO /**/
2465 * This symbol, if defined, indicates to the C program that it should
2466 * include <pthread.h>.
2468 #$i_pthread I_PTHREAD /**/
2471 * This symbol, if defined, indicates to the C program that it should
2475 * This symbol, if defined, indicates to the C program that struct passwd
2476 * contains pw_quota.
2479 * This symbol, if defined, indicates to the C program that struct passwd
2483 * This symbol, if defined, indicates to the C program that struct passwd
2484 * contains pw_change.
2487 * This symbol, if defined, indicates to the C program that struct passwd
2488 * contains pw_class.
2491 * This symbol, if defined, indicates to the C program that struct passwd
2492 * contains pw_expire.
2495 * This symbol, if defined, indicates to the C program that struct passwd
2496 * contains pw_comment.
2499 * This symbol, if defined, indicates to the C program that struct passwd
2500 * contains pw_gecos.
2503 * This symbol, if defined, indicates to the C program that struct passwd
2504 * contains pw_passwd.
2507 #$d_pwquota PWQUOTA /**/
2508 #$d_pwage PWAGE /**/
2509 #$d_pwchange PWCHANGE /**/
2510 #$d_pwclass PWCLASS /**/
2511 #$d_pwexpire PWEXPIRE /**/
2512 #$d_pwcomment PWCOMMENT /**/
2513 #$d_pwgecos PWGECOS /**/
2514 #$d_pwpasswd PWPASSWD /**/
2517 * This symbol, if defined, indicates to the C program that it should
2518 * include <sys/access.h>.
2520 #$i_sysaccess I_SYS_ACCESS /**/
2523 * This symbol, if defined, indicates to the C program that it should
2524 * include <sys/security.h>.
2526 #$i_syssecrt I_SYS_SECURITY /**/
2529 * This symbol, if defined, indicates that <sys/uio.h> exists and
2530 * should be included.
2532 #$i_sysuio I_SYSUIO /**/
2535 * This symbol, if defined, indicates that <stdarg.h> exists and should
2539 * This symbol, if defined, indicates to the C program that it should
2540 * include <varargs.h>.
2542 #$i_stdarg I_STDARG /**/
2543 #$i_varargs I_VARARGS /**/
2545 /* PERL_INC_VERSION_LIST:
2546 * This variable specifies the list of subdirectories in over
2547 * which perl.c:incpush() and lib/lib.pm will automatically
2548 * search when adding directories to @INC, in a format suitable
2549 * for a C initialization string. See the inc_version_list entry
2550 * in Porting/Glossary for more details.
2552 #$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
2554 /* INSTALL_USR_BIN_PERL:
2555 * This symbol, if defined, indicates that Perl is to be installed
2556 * also as /usr/bin/perl.
2558 #$installusrbinperl INSTALL_USR_BIN_PERL /**/
2561 * This symbol holds the type used to declare offsets in the kernel.
2562 * It can be int, long, off_t, etc... It may be necessary to include
2563 * <sys/types.h> to get any typedef'ed information.
2566 * This symbol holds the number of bytes used by the Off_t.
2569 * This symbol holds the number of bytes used by the Off_t.
2571 #define Off_t $lseektype /* <offset> type */
2572 #define LSEEKSIZE $lseeksize /* <offset> size */
2573 #define Off_t_size $lseeksize /* <offset> size */
2576 * This variable contains the return type of free(). It is usually
2577 * void, but occasionally int.
2580 * This symbol is the type of pointer returned by malloc and realloc.
2582 #define Malloc_t $malloctype /**/
2583 #define Free_t $freetype /**/
2585 /* PERL_MALLOC_WRAP:
2586 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2588 #$usemallocwrap PERL_MALLOC_WRAP /**/
2591 * This symbol, if defined, indicates that we're using our own malloc.
2593 #$d_mymalloc MYMALLOC /**/
2596 * This symbol holds the type used to declare file modes
2597 * for systems calls. It is usually mode_t, but may be
2598 * int or unsigned short. It may be necessary to include <sys/types.h>
2599 * to get any typedef'ed information.
2601 #define Mode_t $modetype /* file mode parameter for system calls */
2604 * This symbol holds the type used for the 1st argument
2605 * to gethostbyaddr().
2608 * This symbol holds the type used for the 2nd argument
2609 * to gethostbyaddr().
2612 * This symbol holds the type used for the argument to
2616 * This symbol holds the type used for the 1st argument to
2619 #define Netdb_host_t $netdb_host_type /**/
2620 #define Netdb_hlen_t $netdb_hlen_type /**/
2621 #define Netdb_name_t $netdb_name_type /**/
2622 #define Netdb_net_t $netdb_net_type /**/
2624 /* PERL_OTHERLIBDIRS:
2625 * This variable contains a colon-separated set of paths for the perl
2626 * binary to search for additional library files or modules.
2627 * These directories will be tacked to the end of @INC.
2628 * Perl will automatically search below each path for version-
2629 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2632 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
2635 * This symbol holds the type used to declare process ids in the kernel.
2636 * It can be int, uint, pid_t, etc... It may be necessary to include
2637 * <sys/types.h> to get any typedef'ed information.
2639 #define Pid_t $pidtype /* PID type */
2642 * This symbol contains the name of the private library for this package.
2643 * The library is private in the sense that it needn't be in anyone's
2644 * execution path, but it should be accessible by the world. The program
2645 * should be prepared to do ~ expansion.
2648 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2649 * in programs that are not prepared to deal with ~ expansion at run-time.
2651 #define PRIVLIB "$privlib" /**/
2652 #define PRIVLIB_EXP "$privlibexp" /**/
2655 * If defined, this macro indicates that the C compiler can handle
2656 * function prototypes.
2659 * This macro is used to declare function parameters for folks who want
2660 * to make declarations with prototypes using a different style than
2661 * the above macros. Use double parentheses. For example:
2663 * int main _((int argc, char *argv[]));
2665 #$prototype CAN_PROTOTYPE /**/
2666 #ifdef CAN_PROTOTYPE
2667 #define _(args) args
2673 * This symbol holds the type used for the 2nd, 3rd, and 4th
2674 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2675 * is defined, and 'int *' otherwise. This is only useful if you
2676 * have select(), of course.
2678 #define Select_fd_set_t $selecttype /**/
2681 * This symbol contains the full pathname to the shell used on this
2682 * on this system to execute Bourne shell scripts. Usually, this will be
2683 * /bin/sh, though it's possible that some systems will have /bin/ksh,
2684 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
2687 #define SH_PATH "$sh" /**/
2690 * This symbol contains a list of signal names in order of
2691 * signal number. This is intended
2692 * to be used as a static array initialization, like this:
2693 * char *sig_name[] = { SIG_NAME };
2694 * The signals in the list are separated with commas, and each signal
2695 * is surrounded by double quotes. There is no leading SIG in the signal
2696 * name, i.e. SIGQUIT is known as "QUIT".
2697 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2698 * etc., where nn is the actual signal number (e.g. NUM37).
2699 * The signal number for sig_name[i] is stored in sig_num[i].
2700 * The last element is 0 to terminate the list with a NULL. This
2701 * corresponds to the 0 at the end of the sig_name_init list.
2702 * Note that this variable is initialized from the sig_name_init,
2703 * not from sig_name (which is unused).
2706 * This symbol contains a list of signal numbers, in the same order as the
2707 * SIG_NAME list. It is suitable for static array initialization, as in:
2708 * int sig_num[] = { SIG_NUM };
2709 * The signals in the list are separated with commas, and the indices
2710 * within that list and the SIG_NAME list match, so it's easy to compute
2711 * the signal name from a number or vice versa at the price of a small
2712 * dynamic linear lookup.
2713 * Duplicates are allowed, but are moved to the end of the list.
2714 * The signal number corresponding to sig_name[i] is sig_number[i].
2715 * if (i < NSIG) then sig_number[i] == i.
2716 * The last element is 0, corresponding to the 0 at the end of
2717 * the sig_name_init list.
2718 * Note that this variable is initialized from the sig_num_init,
2719 * not from sig_num (which is unused).
2722 * This variable contains the number of elements of the SIG_NAME
2723 * and SIG_NUM arrays, excluding the final NULL entry.
2725 #define SIG_NAME $sig_name_init /**/
2726 #define SIG_NUM $sig_num_init /**/
2727 #define SIG_SIZE $sig_size /**/
2730 * This symbol contains the name of the private library for this package.
2731 * The library is private in the sense that it needn't be in anyone's
2732 * execution path, but it should be accessible by the world. The program
2733 * should be prepared to do ~ expansion.
2734 * The standard distribution will put nothing in this directory.
2735 * After perl has been installed, users may install their own local
2736 * architecture-dependent modules in this directory with
2737 * MakeMaker Makefile.PL
2738 * or equivalent. See INSTALL for details.
2741 * This symbol contains the ~name expanded version of SITEARCH, to be used
2742 * in programs that are not prepared to deal with ~ expansion at run-time.
2744 #$d_sitearch SITEARCH "$sitearch" /**/
2745 #$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
2748 * This symbol contains the name of the private library for this package.
2749 * The library is private in the sense that it needn't be in anyone's
2750 * execution path, but it should be accessible by the world. The program
2751 * should be prepared to do ~ expansion.
2752 * The standard distribution will put nothing in this directory.
2753 * After perl has been installed, users may install their own local
2754 * architecture-independent modules in this directory with
2755 * MakeMaker Makefile.PL
2756 * or equivalent. See INSTALL for details.
2759 * This symbol contains the ~name expanded version of SITELIB, to be used
2760 * in programs that are not prepared to deal with ~ expansion at run-time.
2763 * This define is SITELIB_EXP with any trailing version-specific component
2764 * removed. The elements in inc_version_list (inc_version_list.U) can
2765 * be tacked onto this variable to generate a list of directories to search.
2767 #define SITELIB "$sitelib" /**/
2768 #define SITELIB_EXP "$sitelibexp" /**/
2769 #define SITELIB_STEM "$sitelib_stem" /**/
2772 * This symbol holds the size of a Size_t in bytes.
2774 #define Size_t_size $sizesize /* */
2777 * This symbol holds the type used to declare length parameters
2778 * for string functions. It is usually size_t, but may be
2779 * unsigned long, int, etc. It may be necessary to include
2780 * <sys/types.h> to get any typedef'ed information.
2782 #define Size_t $sizetype /* length paramater for string functions */
2785 * This symbol holds the type used for the size argument of
2786 * various socket calls (just the base type, not the pointer-to).
2788 #define Sock_size_t $socksizetype /**/
2791 * This symbol is defined to be the type of char used in stdio.h.
2792 * It has the values "unsigned char" or "char".
2794 #define STDCHAR $stdchar /**/
2797 * This symbol defines the format string used for printing a Uid_t.
2799 #define Uid_t_f $uidformat /**/
2802 * This symbol holds the signedess of a Uid_t.
2803 * 1 for unsigned, -1 for signed.
2805 #define Uid_t_sign $uidsign /* UID sign */
2808 * This symbol holds the size of a Uid_t in bytes.
2810 #define Uid_t_size $uidsize /* UID size */
2813 * This symbol holds the type used to declare user ids in the kernel.
2814 * It can be int, ushort, uid_t, etc... It may be necessary to include
2815 * <sys/types.h> to get any typedef'ed information.
2817 #define Uid_t $uidtype /* UID type */
2820 * This symbol, if defined, indicates that Perl should be built to
2821 * use the interpreter-based threading implementation.
2824 * This symbol, if defined, indicates that Perl should be built to
2825 * use the 5.005-based threading implementation.
2826 * Only valid up to 5.8.x.
2828 /* OLD_PTHREADS_API:
2829 * This symbol, if defined, indicates that Perl should
2830 * be built to use the old draft POSIX threads API.
2832 /* USE_REENTRANT_API:
2833 * This symbol, if defined, indicates that Perl should
2834 * try to use the various _r versions of library functions.
2835 * This is extremely experimental.
2837 #$use5005threads USE_5005THREADS /**/
2838 #$useithreads USE_ITHREADS /**/
2839 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2840 #define USE_THREADS /* until src is revised*/
2842 #$d_oldpthreads OLD_PTHREADS_API /**/
2843 #$usereentrant USE_REENTRANT_API /**/
2846 * If defined, this symbol contains the name of a private library.
2847 * The library is private in the sense that it needn't be in anyone's
2848 * execution path, but it should be accessible by the world.
2849 * It may have a ~ on the front.
2850 * The standard distribution will put nothing in this directory.
2851 * Vendors who distribute perl may wish to place their own
2852 * architecture-dependent modules and extensions in this directory with
2853 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2854 * or equivalent. See INSTALL for details.
2856 /* PERL_VENDORARCH_EXP:
2857 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2858 * in programs that are not prepared to deal with ~ expansion at run-time.
2860 #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
2861 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
2863 /* PERL_VENDORLIB_EXP:
2864 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2865 * in programs that are not prepared to deal with ~ expansion at run-time.
2867 /* PERL_VENDORLIB_STEM:
2868 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2869 * removed. The elements in inc_version_list (inc_version_list.U) can
2870 * be tacked onto this variable to generate a list of directories to search.
2872 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
2873 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
2876 * This symbol indicates how much support of the void type is given by this
2877 * compiler. What various bits mean:
2879 * 1 = supports declaration of void
2880 * 2 = supports arrays of pointers to functions returning void
2881 * 4 = supports comparisons between pointers to void functions and
2882 * addresses of void functions
2883 * 8 = suports declaration of generic void pointers
2885 * The package designer should define VOIDUSED to indicate the requirements
2886 * of the package. This can be done either by #defining VOIDUSED before
2887 * including config.h, or by defining defvoidused in Myinit.U. If the
2888 * latter approach is taken, only those flags will be tested. If the
2889 * level of void support necessary is not present, defines void to int.
2892 #define VOIDUSED $defvoidused
2894 #define VOIDFLAGS $voidflags
2895 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2896 #define void int /* is void to be avoided? */
2897 #define M_VOID /* Xenix strikes again */
2900 /* USE_CROSS_COMPILE:
2901 * This symbol, if defined, indicates that Perl is being cross-compiled.
2904 * This symbol, if defined, indicates the target architecture
2905 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2907 #ifndef USE_CROSS_COMPILE
2908 #$usecrosscompile USE_CROSS_COMPILE /**/
2909 #define PERL_TARGETARCH "$targetarch" /**/
2913 * This symbol contains the number of bytes required to align a
2914 * double, or a long double when applicable. Usual values are 2,
2915 * 4 and 8. The default is eight, for safety.
2917 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2918 # define MEM_ALIGNBYTES 8
2920 #define MEM_ALIGNBYTES $alignbytes
2924 * This symbol holds the hexadecimal constant defined in byteorder,
2925 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
2926 * If the compiler supports cross-compiling or multiple-architecture
2927 * binaries (eg. on NeXT systems), use compiler-defined macros to
2928 * determine the byte order.
2929 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
2930 * Binaries (MAB) on either big endian or little endian machines.
2931 * The endian-ness is available at compile-time. This only matters
2932 * for perl, where the config.h can be generated and installed on
2933 * one system, and used by a different architecture to build an
2934 * extension. Older versions of NeXT that might not have
2935 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
2936 * so the default case (for NeXT) is big endian to catch them.
2937 * This might matter for NeXT 3.0.
2939 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2940 # ifdef __LITTLE_ENDIAN__
2942 # define BYTEORDER 0x1234
2945 # define BYTEORDER 0x12345678
2949 # ifdef __BIG_ENDIAN__
2951 # define BYTEORDER 0x4321
2954 # define BYTEORDER 0x87654321
2959 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
2960 # define BYTEORDER 0x4321
2963 #define BYTEORDER 0x$byteorder /* large digits for MSB */
2967 * This symbol is defined if the C compiler can cast negative
2968 * or large floating point numbers to 32-bit ints.
2970 #$d_casti32 CASTI32 /**/
2973 * This symbol is defined if the C compiler can cast negative
2974 * numbers to unsigned longs, ints and shorts.
2977 * This symbol contains flags that say what difficulties the compiler
2978 * has casting odd floating values to unsigned long:
2980 * 1 = couldn't cast < 0
2981 * 2 = couldn't cast >= 0x80000000
2982 * 4 = couldn't cast in argument expression list
2984 #$d_castneg CASTNEGFLOAT /**/
2985 #define CASTFLAGS $castflags /**/
2988 * This symbol, if defined, indicates that the closedir() routine
2989 * does not return a value.
2991 #$d_void_closedir VOID_CLOSEDIR /**/
2994 * This symbol, when defined, indicates presence of the fd_set typedef
2997 #$d_fd_set HAS_FD_SET /**/
3000 * This preprocessor macro is defined to convert a floating point
3001 * number to a string without a trailing decimal point. This
3002 * emulates the behavior of sprintf("%g"), but is sometimes much more
3003 * efficient. If gconvert() is not available, but gcvt() drops the
3004 * trailing decimal point, then gcvt() is used. If all else fails,
3005 * a macro using sprintf("%g") is used. Arguments for the Gconvert
3006 * macro are: value, number of digits, whether trailing zeros should
3007 * be retained, and the output buffer.
3008 * The usual values are:
3009 * d_Gconvert='gconvert((x),(n),(t),(b))'
3010 * d_Gconvert='gcvt((x),(n),(b))'
3011 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
3012 * The last two assume trailing zeros should not be kept.
3014 #define Gconvert(x,n,t,b) $d_Gconvert
3017 * This symbol, if defined, indicates that the getpagesize system call
3018 * is available to get system page size, which is the granularity of
3019 * many memory management calls.
3021 #$d_getpagsz HAS_GETPAGESIZE /**/
3024 * This symbol, if defined, indicates to the C program that
3025 * the GNU C library is being used. A better check is to use
3026 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
3028 #$d_gnulibc HAS_GNULIBC /**/
3029 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
3030 # define _GNU_SOURCE
3034 * This manifest constant lets the C program know that isascii
3037 #$d_isascii HAS_ISASCII /**/
3040 * This symbol, if defined, indicates that the lchown routine is
3041 * available to operate on a symbolic link (instead of following the
3044 #$d_lchown HAS_LCHOWN /**/
3047 * This manifest constant lets the C program know that the three
3048 * argument form of open(2) is available.
3050 #$d_open3 HAS_OPEN3 /**/
3053 * This symbol, if defined, indicates that the bcopy routine is available
3054 * to copy potentially overlapping memory blocks. Normally, you should
3055 * probably use memmove() or memcpy(). If neither is defined, roll your
3058 #$d_safebcpy HAS_SAFE_BCOPY /**/
3061 * This symbol, if defined, indicates that the memcpy routine is available
3062 * to copy potentially overlapping memory blocks. If you need to
3063 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
3064 * use memmove() instead, if available.
3066 #$d_safemcpy HAS_SAFE_MEMCPY /**/
3069 * This symbol, if defined, indicates that the memcmp routine is available
3070 * and can be used to compare relative magnitudes of chars with their high
3071 * bits set. If it is not defined, roll your own version.
3073 #$d_sanemcmp HAS_SANE_MEMCMP /**/
3076 * This symbol, if defined, indicates that Vr4's sigaction() routine
3079 #$d_sigaction HAS_SIGACTION /**/
3082 * This variable indicates to the C program that the sigsetjmp()
3083 * routine is available to save the calling process's registers
3084 * and stack environment for later use by siglongjmp(), and
3085 * to optionally save the process's signal mask. See
3086 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
3089 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
3092 * This macro is used in the same way as sigsetjmp(), but will invoke
3093 * traditional setjmp() if sigsetjmp isn't available.
3094 * See HAS_SIGSETJMP.
3097 * This macro is used in the same way as siglongjmp(), but will invoke
3098 * traditional longjmp() if siglongjmp isn't available.
3099 * See HAS_SIGSETJMP.
3101 #$d_sigsetjmp HAS_SIGSETJMP /**/
3102 #ifdef HAS_SIGSETJMP
3103 #define Sigjmp_buf sigjmp_buf
3104 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
3105 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
3107 #define Sigjmp_buf jmp_buf
3108 #define Sigsetjmp(buf,save_mask) setjmp((buf))
3109 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
3113 * This symbol is defined if the _ptr and _cnt fields (or similar)
3114 * of the stdio FILE structure can be used to access the stdio buffer
3115 * for a file handle. If this is defined, then the FILE_ptr(fp)
3116 * and FILE_cnt(fp) macros will also be defined and should be used
3117 * to access these fields.
3120 * This macro is used to access the _ptr field (or equivalent) of the
3121 * FILE structure pointed to by its argument. This macro will always be
3122 * defined if USE_STDIO_PTR is defined.
3124 /* STDIO_PTR_LVALUE:
3125 * This symbol is defined if the FILE_ptr macro can be used as an
3129 * This macro is used to access the _cnt field (or equivalent) of the
3130 * FILE structure pointed to by its argument. This macro will always be
3131 * defined if USE_STDIO_PTR is defined.
3133 /* STDIO_CNT_LVALUE:
3134 * This symbol is defined if the FILE_cnt macro can be used as an
3137 /* STDIO_PTR_LVAL_SETS_CNT:
3138 * This symbol is defined if using the FILE_ptr macro as an lvalue
3139 * to increase the pointer by n has the side effect of decreasing the
3140 * value of File_cnt(fp) by n.
3142 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
3143 * This symbol is defined if using the FILE_ptr macro as an lvalue
3144 * to increase the pointer by n leaves File_cnt(fp) unchanged.
3146 #$d_stdstdio USE_STDIO_PTR /**/
3147 #ifdef USE_STDIO_PTR
3148 #define FILE_ptr(fp) $stdio_ptr
3149 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
3150 #define FILE_cnt(fp) $stdio_cnt
3151 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
3152 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
3153 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
3157 * This symbol is defined if the _base field (or similar) of the
3158 * stdio FILE structure can be used to access the stdio buffer for
3159 * a file handle. If this is defined, then the FILE_base(fp) macro
3160 * will also be defined and should be used to access this field.
3161 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
3162 * to determine the number of bytes in the buffer. USE_STDIO_BASE
3163 * will never be defined unless USE_STDIO_PTR is.
3166 * This macro is used to access the _base field (or equivalent) of the
3167 * FILE structure pointed to by its argument. This macro will always be
3168 * defined if USE_STDIO_BASE is defined.
3171 * This macro is used to determine the number of bytes in the I/O
3172 * buffer pointed to by _base field (or equivalent) of the FILE
3173 * structure pointed to its argument. This macro will always be defined
3174 * if USE_STDIO_BASE is defined.
3176 #$d_stdiobase USE_STDIO_BASE /**/
3177 #ifdef USE_STDIO_BASE
3178 #define FILE_base(fp) $stdio_base
3179 #define FILE_bufsiz(fp) $stdio_bufsiz
3183 * This symbol, if defined, indicates that the vprintf routine is available
3184 * to printf with a pointer to an argument list. If unavailable, you
3185 * may need to write your own, probably in terms of _doprnt().
3187 /* USE_CHAR_VSPRINTF:
3188 * This symbol is defined if this system has vsprintf() returning type
3189 * (char*). The trend seems to be to declare it as "int vsprintf()". It
3190 * is up to the package author to declare vsprintf correctly based on the
3193 #$d_vprintf HAS_VPRINTF /**/
3194 #$d_charvspr USE_CHAR_VSPRINTF /**/
3197 * This symbol contains the size of a double, so that the C preprocessor
3198 * can make decisions based on it.
3200 #define DOUBLESIZE $doublesize /**/
3203 * This symbol, if defined, indicates to the C program that it should
3207 * This symbol, if defined, indicates to the C program that it should
3208 * include <sys/time.h>.
3210 /* I_SYS_TIME_KERNEL:
3211 * This symbol, if defined, indicates to the C program that it should
3212 * include <sys/time.h> with KERNEL defined.
3215 * This symbol, if defined, indicates to the C program that
3216 * the struct tm has a tm_zone field.
3218 /* HAS_TM_TM_GMTOFF:
3219 * This symbol, if defined, indicates to the C program that
3220 * the struct tm has a tm_gmtoff field.
3222 #$i_time I_TIME /**/
3223 #$i_systime I_SYS_TIME /**/
3224 #$i_systimek I_SYS_TIME_KERNEL /**/
3225 #$d_tm_tm_zone HAS_TM_TM_ZONE /**/
3226 #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
3229 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3230 * non-blocking I/O for the file descriptor. Note that there is no way
3231 * back, i.e. you cannot turn it blocking again this way. If you wish to
3232 * alternatively switch between blocking and non-blocking, use the
3233 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3236 * This symbol holds the errno error code set by read() when no data was
3237 * present on the non-blocking file descriptor.
3240 * This symbol holds the return code from read() when no data is present
3241 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3242 * not defined, then you can't distinguish between no data and EOF by
3243 * issuing a read(). You'll have to find another way to tell for sure!
3246 * This symbol, if defined, indicates to the C program that a read() on
3247 * a non-blocking file descriptor will return 0 on EOF, and not the value
3248 * held in RD_NODATA (-1 usually, in that case!).
3250 #define VAL_O_NONBLOCK $o_nonblock
3251 #define VAL_EAGAIN $eagain
3252 #define RD_NODATA $rd_nodata
3253 #$d_eofnblk EOF_NONBLOCK
3256 * This symbol contains the size of a pointer, so that the C preprocessor
3257 * can make decisions based on it. It will be sizeof(void *) if
3258 * the compiler supports (void *); otherwise it will be
3261 #define PTRSIZE $ptrsize /**/
3264 * This macro is to be used to generate uniformly distributed
3265 * random numbers over the range [0., 1.[. You may have to supply
3266 * an 'extern double drand48();' in your program since SunOS 4.1.3
3267 * doesn't provide you with anything relevant in its headers.
3268 * See HAS_DRAND48_PROTO.
3271 * This symbol defines the type of the argument of the
3272 * random seed function.
3275 * This symbol defines the macro to be used in seeding the
3276 * random number generator (see Drand01).
3279 * This symbol indicates how many bits are produced by the
3280 * function used to generate normalized random numbers.
3281 * Values include 15, 16, 31, and 48.
3283 #define Drand01() $drand01 /**/
3284 #define Rand_seed_t $randseedtype /**/
3285 #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3286 #define RANDBITS $randbits /**/
3289 * This symbol holds the type used by functions that return
3290 * a count of bytes or an error condition. It must be a signed type.
3291 * It is usually ssize_t, but may be long or int, etc.
3292 * It may be necessary to include <sys/types.h> or <unistd.h>
3293 * to get any typedef'ed information.
3294 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3296 #define SSize_t $ssizetype /* signed count of bytes */
3299 * This symbol, if defined, indicates that this system uses
3302 #$ebcdic EBCDIC /**/
3305 * This symbol, if defined, indicates that Perl was configured with
3306 * -Dusedevel, to enable development features. This should not be
3307 * done for production builds.
3309 #$usedevel PERL_USE_DEVEL /**/
3312 * This symbol, if defined, indicates that the atolf routine is
3313 * available to convert strings into long doubles.
3315 #$d_atolf HAS_ATOLF /**/
3318 * This symbol, if defined, indicates that the atoll routine is
3319 * available to convert strings into long longs.
3321 #$d_atoll HAS_ATOLL /**/
3324 * This symbol, if defined, indicates that the _fwalk system call is
3325 * available to apply a function to all the file handles.
3327 #$d__fwalk HAS__FWALK /**/
3330 * This symbol, if defined, indicates that the aintl routine is
3331 * available. If copysignl is also present we can emulate modfl.
3333 #$d_aintl HAS_AINTL /**/
3335 /* HAS_BUILTIN_CHOOSE_EXPR:
3336 * Can we handle GCC builtin for compile-time ternary-like expressions
3338 /* HAS_BUILTIN_EXPECT:
3339 * Can we handle GCC builtin for telling that certain values are more
3342 #$d_builtin_expect HAS_BUILTIN_EXPECT /**/
3343 #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
3345 /* HAS_C99_VARIADIC_MACROS:
3346 * If defined, the compiler supports C99 variadic macros.
3348 #$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
3351 * This symbol, if defined, indicates that the class routine is
3352 * available to classify doubles. Available for example in AIX.
3353 * The returned values are defined in <float.h> and are:
3355 * FP_PLUS_NORM Positive normalized, nonzero
3356 * FP_MINUS_NORM Negative normalized, nonzero
3357 * FP_PLUS_DENORM Positive denormalized, nonzero
3358 * FP_MINUS_DENORM Negative denormalized, nonzero
3360 * FP_MINUS_ZERO -0.0
3363 * FP_NANS Signaling Not a Number (NaNS)
3364 * FP_NANQ Quiet Not a Number (NaNQ)
3366 #$d_class HAS_CLASS /**/
3369 * This symbol, if defined, indicates that the clearenv () routine is
3370 * available for use.
3372 #$d_clearenv HAS_CLEARENV /**/
3374 /* HAS_STRUCT_CMSGHDR:
3375 * This symbol, if defined, indicates that the struct cmsghdr
3378 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
3381 * This symbol, if defined, indicates that the copysignl routine is
3382 * available. If aintl is also present we can emulate modfl.
3384 #$d_copysignl HAS_COPYSIGNL /**/
3387 * This symbol, if defined, indicates that a C++ compiler was
3388 * used to compiled Perl and will be used to compile extensions.
3390 #$d_cplusplus USE_CPLUSPLUS /**/
3392 /* HAS_DBMINIT_PROTO:
3393 * This symbol, if defined, indicates that the system provides
3394 * a prototype for the dbminit() function. Otherwise, it is up
3395 * to the program to supply one. A good guess is
3396 * extern int dbminit(char *);
3398 #$d_dbminitproto HAS_DBMINIT_PROTO /**/
3401 * This symbol, if defined, indicates that the the DIR* dirstream
3402 * structure contains a member variable named dd_fd.
3404 #$d_dir_dd_fd HAS_DIR_DD_FD /**/
3407 * This manifest constant lets the C program know that dirfd
3410 #$d_dirfd HAS_DIRFD /**/
3412 /* DLSYM_NEEDS_UNDERSCORE:
3413 * This symbol, if defined, indicates that we need to prepend an
3414 * underscore to the symbol name before calling dlsym(). This only
3415 * makes sense if you *have* dlsym, which we will presume is the
3416 * case if you're using dl_dlopen.xs.
3418 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
3421 * This symbol, if defined, indicates that the "fast stdio"
3422 * is available to manipulate the stdio buffers directly.
3424 #$d_faststdio HAS_FAST_STDIO /**/
3427 * This symbol, if defined, indicates that the fchdir routine is
3428 * available to change directory using a file descriptor.
3430 #$d_fchdir HAS_FCHDIR /**/
3433 * This symbol, if defined, indicates that fcntl() can be used
3434 * for file locking. Normally on Unix systems this is defined.
3435 * It may be undefined on VMS.
3437 #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
3440 * This symbol, if defined, indicates that the finite routine is
3441 * available to check whether a double is finite (non-infinity non-NaN).
3443 #$d_finite HAS_FINITE /**/
3446 * This symbol, if defined, indicates that the finitel routine is
3447 * available to check whether a long double is finite
3448 * (non-infinity non-NaN).
3450 #$d_finitel HAS_FINITEL /**/
3453 * This symbol, if defined, indicates that the system provides
3454 * a prototype for the flock() function. Otherwise, it is up
3455 * to the program to supply one. A good guess is
3456 * extern int flock(int, int);
3458 #$d_flockproto HAS_FLOCK_PROTO /**/
3461 * This symbol, if defined, indicates that the fp_class routine is
3462 * available to classify doubles. Available for example in Digital UNIX.
3463 * The returned values are defined in <math.h> and are:
3465 * FP_SNAN Signaling NaN (Not-a-Number)
3466 * FP_QNAN Quiet NaN (Not-a-Number)
3467 * FP_POS_INF +infinity
3468 * FP_NEG_INF -infinity
3469 * FP_POS_NORM Positive normalized
3470 * FP_NEG_NORM Negative normalized
3471 * FP_POS_DENORM Positive denormalized
3472 * FP_NEG_DENORM Negative denormalized
3473 * FP_POS_ZERO +0.0 (positive zero)
3474 * FP_NEG_ZERO -0.0 (negative zero)
3476 #$d_fp_class HAS_FP_CLASS /**/
3479 * This symbol, if defined, indicates that the fpclass routine is
3480 * available to classify doubles. Available for example in Solaris/SVR4.
3481 * The returned values are defined in <ieeefp.h> and are:
3483 * FP_SNAN signaling NaN
3485 * FP_NINF negative infinity
3486 * FP_PINF positive infinity
3487 * FP_NDENORM negative denormalized non-zero
3488 * FP_PDENORM positive denormalized non-zero
3489 * FP_NZERO negative zero
3490 * FP_PZERO positive zero
3491 * FP_NNORM negative normalized non-zero
3492 * FP_PNORM positive normalized non-zero
3494 #$d_fpclass HAS_FPCLASS /**/
3497 * This symbol, if defined, indicates that the fpclassify routine is
3498 * available to classify doubles. Available for example in HP-UX.
3499 * The returned values are defined in <math.h> and are
3501 * FP_NORMAL Normalized
3503 * FP_INFINITE Infinity
3504 * FP_SUBNORMAL Denormalized
3508 #$d_fpclassify HAS_FPCLASSIFY /**/
3511 * This symbol, if defined, indicates that the fpclassl routine is
3512 * available to classify long doubles. Available for example in IRIX.
3513 * The returned values are defined in <ieeefp.h> and are:
3515 * FP_SNAN signaling NaN
3517 * FP_NINF negative infinity
3518 * FP_PINF positive infinity
3519 * FP_NDENORM negative denormalized non-zero
3520 * FP_PDENORM positive denormalized non-zero
3521 * FP_NZERO negative zero
3522 * FP_PZERO positive zero
3523 * FP_NNORM negative normalized non-zero
3524 * FP_PNORM positive normalized non-zero
3526 #$d_fpclassl HAS_FPCLASSL /**/
3529 * This symbol will be defined if the C compiler supports fpos64_t.
3531 #$d_fpos64_t HAS_FPOS64_T /**/
3534 * This symbol, if defined, indicates that the frexpl routine is
3535 * available to break a long double floating-point number into
3536 * a normalized fraction and an integral power of 2.
3538 #$d_frexpl HAS_FREXPL /**/
3540 /* HAS_STRUCT_FS_DATA:
3541 * This symbol, if defined, indicates that the struct fs_data
3542 * to do statfs() is supported.
3544 #$d_fs_data_s HAS_STRUCT_FS_DATA /**/
3547 * This symbol, if defined, indicates that the fseeko routine is
3548 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3550 #$d_fseeko HAS_FSEEKO /**/
3553 * This symbol, if defined, indicates that the fstatfs routine is
3554 * available to stat filesystems by file descriptors.
3556 #$d_fstatfs HAS_FSTATFS /**/
3559 * This symbol, if defined, indicates that the fsync routine is
3560 * available to write a file's modified data and attributes to
3561 * permanent storage.
3563 #$d_fsync HAS_FSYNC /**/
3566 * This symbol, if defined, indicates that the ftello routine is
3567 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3569 #$d_ftello HAS_FTELLO /**/
3572 * This symbol, if defined, indicates that the futimes routine is
3573 * available to change file descriptor time stamps with struct timevals.
3575 #$d_futimes HAS_FUTIMES /**/
3578 * This symbol, if defined, indicates that the getcwd routine is
3579 * available to get the current working directory.
3581 #$d_getcwd HAS_GETCWD /**/
3584 * This symbol, if defined, indicates that the getespwnam system call is
3585 * available to retrieve enchanced (shadow) password entries by name.
3587 #$d_getespwnam HAS_GETESPWNAM /**/
3590 * This symbol, if defined, indicates that the getfsstat routine is
3591 * available to stat filesystems in bulk.
3593 #$d_getfsstat HAS_GETFSSTAT /**/
3596 * This symbol, if defined, indicates that the getitimer routine is
3597 * available to return interval timers.
3599 #$d_getitimer HAS_GETITIMER /**/
3602 * This symbol, if defined, indicates that the getmnt routine is
3603 * available to get filesystem mount info by filename.
3605 #$d_getmnt HAS_GETMNT /**/
3608 * This symbol, if defined, indicates that the getmntent routine is
3609 * available to iterate through mounted file systems to get their info.
3611 #$d_getmntent HAS_GETMNTENT /**/
3614 * This symbol, if defined, indicates that the getprpwnam system call is
3615 * available to retrieve protected (shadow) password entries by name.
3617 #$d_getprpwnam HAS_GETPRPWNAM /**/
3620 * This symbol, if defined, indicates that the getspnam system call is
3621 * available to retrieve SysV shadow password entries by name.
3623 #$d_getspnam HAS_GETSPNAM /**/
3626 * This symbol, if defined, indicates that the hasmntopt routine is
3627 * available to query the mount options of file systems.
3629 #$d_hasmntopt HAS_HASMNTOPT /**/
3632 * This symbol, if defined, indicates that the ilogbl routine is
3633 * available. If scalbnl is also present we can emulate frexpl.
3635 #$d_ilogbl HAS_ILOGBL /**/
3638 * This symbol will defined if the C compiler supports int64_t.
3639 * Usually the <inttypes.h> needs to be included, but sometimes
3640 * <sys/types.h> is enough.
3642 #$d_int64_t HAS_INT64_T /**/
3645 * This symbol, if defined, indicates that the isfinite routine is
3646 * available to check whether a double is finite (non-infinity non-NaN).
3648 #$d_isfinite HAS_ISFINITE /**/
3651 * This symbol, if defined, indicates that the isinf routine is
3652 * available to check whether a double is an infinity.
3654 #$d_isinf HAS_ISINF /**/
3657 * This symbol, if defined, indicates that the isnan routine is
3658 * available to check whether a double is a NaN.
3660 #$d_isnan HAS_ISNAN /**/
3663 * This symbol, if defined, indicates that the isnanl routine is
3664 * available to check whether a long double is a NaN.
3666 #$d_isnanl HAS_ISNANL /**/
3669 * This symbol, if defined, indicates that this system's <float.h>
3670 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3671 * of significant digits in a long double precision number. Unlike
3672 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3674 #$d_ldbl_dig HAS_LDBL_DIG /* */
3676 /* LIBM_LIB_VERSION:
3677 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3678 * and that math.h defines the enum to manipulate it.
3680 #$d_libm_lib_version LIBM_LIB_VERSION /**/
3683 * This symbol, if defined, indicates that the madvise system call is
3684 * available to map a file into memory.
3686 #$d_madvise HAS_MADVISE /**/
3689 * This symbol, if defined, indicates that the malloc_size
3690 * routine is available for use.
3692 #$d_malloc_size HAS_MALLOC_SIZE /**/
3694 /* HAS_MALLOC_GOOD_SIZE:
3695 * This symbol, if defined, indicates that the malloc_good_size
3696 * routine is available for use.
3698 #$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3701 * This symbol, if defined, indicates that the mkdtemp routine is
3702 * available to exclusively create a uniquely named temporary directory.
3704 #$d_mkdtemp HAS_MKDTEMP /**/
3707 * This symbol, if defined, indicates that the mkstemps routine is
3708 * available to excluslvely create and open a uniquely named
3709 * (with a suffix) temporary file.
3711 #$d_mkstemps HAS_MKSTEMPS /**/
3714 * This symbol, if defined, indicates that the modfl routine is
3715 * available to split a long double x into a fractional part f and
3716 * an integer part i such that |f| < 1.0 and (f + i) = x.
3719 * This symbol, if defined, indicates that the system provides
3720 * a prototype for the modfl() function. Otherwise, it is up
3721 * to the program to supply one.
3723 /* HAS_MODFL_POW32_BUG:
3724 * This symbol, if defined, indicates that the modfl routine is
3725 * broken for long doubles >= pow(2, 32).
3726 * For example from 4294967303.150000 one would get 4294967302.000000
3727 * and 1.150000. The bug has been seen in certain versions of glibc,
3728 * release 2.2.2 is known to be okay.
3730 #$d_modfl HAS_MODFL /**/
3731 #$d_modflproto HAS_MODFL_PROTO /**/
3732 #$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
3735 * This symbol, if defined, indicates that the mprotect system call is
3736 * available to modify the access protection of a memory mapped file.
3738 #$d_mprotect HAS_MPROTECT /**/
3740 /* HAS_STRUCT_MSGHDR:
3741 * This symbol, if defined, indicates that the struct msghdr
3744 #$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3747 * This symbol, if defined, indicates that the nl_langinfo routine is
3748 * available to return local data. You will also need <langinfo.h>
3749 * and therefore I_LANGINFO.
3751 #$d_nl_langinfo HAS_NL_LANGINFO /**/
3754 * This symbol will be defined if the C compiler supports off64_t.
3756 #$d_off64_t HAS_OFF64_T /**/
3759 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3760 * to the absolute pathname of the executing program.
3762 /* PROCSELFEXE_PATH:
3763 * If HAS_PROCSELFEXE is defined this symbol is the filename
3764 * of the symbolic link pointing to the absolute pathname of
3765 * the executing program.
3767 #$d_procselfexe HAS_PROCSELFEXE /**/
3768 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3769 #define PROCSELFEXE_PATH $procselfexe /**/
3772 /* HAS_PTHREAD_ATTR_SETSCOPE:
3773 * This symbol, if defined, indicates that the pthread_attr_setscope
3774 * system call is available to set the contention scope attribute of
3775 * a thread attribute object.
3777 #$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3780 * This symbol, if defined, indicates that the readv routine is
3781 * available to do gather reads. You will also need <sys/uio.h>
3782 * and there I_SYSUIO.
3784 #$d_readv HAS_READV /**/
3787 * This symbol, if defined, indicates that the recvmsg routine is
3788 * available to send structured socket messages.
3790 #$d_recvmsg HAS_RECVMSG /**/
3793 * This symbol, if defined, indicates that the system provides
3794 * a prototype for the sbrk() function. Otherwise, it is up
3795 * to the program to supply one. Good guesses are
3796 * extern void* sbrk(int);
3797 * extern void* sbrk(size_t);
3799 #$d_sbrkproto HAS_SBRK_PROTO /**/
3802 * This symbol, if defined, indicates that the scalbnl routine is
3803 * available. If ilogbl is also present we can emulate frexpl.
3805 #$d_scalbnl HAS_SCALBNL /**/
3808 * This symbol, if defined, indicates that the sendmsg routine is
3809 * available to send structured socket messages.
3811 #$d_sendmsg HAS_SENDMSG /**/
3814 * This symbol, if defined, indicates that the setitimer routine is
3815 * available to set interval timers.
3817 #$d_setitimer HAS_SETITIMER /**/
3819 /* HAS_SETPROCTITLE:
3820 * This symbol, if defined, indicates that the setproctitle routine is
3821 * available to set process title.
3823 #$d_setproctitle HAS_SETPROCTITLE /**/
3826 * This symbol, if defined, indicates that sfio should
3829 #$d_sfio USE_SFIO /**/
3832 * This symbol, if defined, indicates that the signbit routine is
3833 * available to check if the given number has the sign bit set.
3834 * This should include correct testing of -0.0. This will only be set
3835 * if the signbit() routine is safe to use with the NV type used internally
3836 * in perl. Users should call Perl_signbit(), which will be #defined to
3837 * the system's signbit() function or macro if this symbol is defined.
3839 #$d_signbit HAS_SIGNBIT /**/
3842 * This symbol, if defined, indicates that the sigprocmask
3843 * system call is available to examine or change the signal mask
3844 * of the calling process.
3846 #$d_sigprocmask HAS_SIGPROCMASK /**/
3848 /* USE_SITECUSTOMIZE:
3849 * This symbol, if defined, indicates that sitecustomize should
3852 #ifndef USE_SITECUSTOMIZE
3853 #$usesitecustomize USE_SITECUSTOMIZE /**/
3857 * This symbol, if defined, indicates that the snprintf () library
3858 * function is available for use.
3861 * This symbol, if defined, indicates that the vsnprintf () library
3862 * function is available for use.
3864 #$d_snprintf HAS_SNPRINTF /**/
3865 #$d_vsnprintf HAS_VSNPRINTF /**/
3868 * This symbol, if defined, indicates that the sockatmark routine is
3869 * available to test whether a socket is at the out-of-band mark.
3871 #$d_sockatmark HAS_SOCKATMARK /**/
3873 /* HAS_SOCKATMARK_PROTO:
3874 * This symbol, if defined, indicates that the system provides
3875 * a prototype for the sockatmark() function. Otherwise, it is up
3876 * to the program to supply one. A good guess is
3877 * extern int sockatmark(int);
3879 #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3882 * This symbol, if defined, indicates that the socks5_init routine is
3883 * available to initialize SOCKS 5.
3885 #$d_socks5_init HAS_SOCKS5_INIT /**/
3887 /* SPRINTF_RETURNS_STRLEN:
3888 * This variable defines whether sprintf returns the length of the string
3889 * (as per the ANSI spec). Some C libraries retain compatibility with
3890 * pre-ANSI C and return a pointer to the passed in buffer; for these
3891 * this variable will be undef.
3893 #$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
3896 * This symbol, if defined, indicates that the sqrtl routine is
3897 * available to do long double square roots.
3899 #$d_sqrtl HAS_SQRTL /**/
3901 /* HAS_SETRESGID_PROTO:
3902 * This symbol, if defined, indicates that the system provides
3903 * a prototype for the setresgid() function. Otherwise, it is up
3904 * to the program to supply one. Good guesses are
3905 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3907 #$d_sresgproto HAS_SETRESGID_PROTO /**/
3909 /* HAS_SETRESUID_PROTO:
3910 * This symbol, if defined, indicates that the system provides
3911 * a prototype for the setresuid() function. Otherwise, it is up
3912 * to the program to supply one. Good guesses are
3913 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3915 #$d_sresuproto HAS_SETRESUID_PROTO /**/
3917 /* HAS_STRUCT_STATFS_F_FLAGS:
3918 * This symbol, if defined, indicates that the struct statfs
3919 * does have the f_flags member containing the mount flags of
3920 * the filesystem containing the file.
3921 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3922 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3923 * have statfs() and struct statfs, they have ustat() and getmnt()
3924 * with struct ustat and struct fs_data.
3926 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
3928 /* HAS_STRUCT_STATFS:
3929 * This symbol, if defined, indicates that the struct statfs
3930 * to do statfs() is supported.
3932 #$d_statfs_s HAS_STRUCT_STATFS /**/
3935 * This symbol, if defined, indicates that the fstatvfs routine is
3936 * available to stat filesystems by file descriptors.
3938 #$d_fstatvfs HAS_FSTATVFS /**/
3941 * This symbol, if defined, indicates that the strftime routine is
3942 * available to do time formatting.
3944 #$d_strftime HAS_STRFTIME /**/
3947 * This symbol, if defined, indicates that the strlcat () routine is
3948 * available to do string concatenation.
3950 #$d_strlcat HAS_STRLCAT /**/
3953 * This symbol, if defined, indicates that the strlcpy () routine is
3954 * available to do string copying.
3956 #$d_strlcpy HAS_STRLCPY /**/
3959 * This symbol, if defined, indicates that the strtold routine is
3960 * available to convert strings to long doubles.
3962 #$d_strtold HAS_STRTOLD /**/
3965 * This symbol, if defined, indicates that the strtoll routine is
3966 * available to convert strings to long longs.
3968 #$d_strtoll HAS_STRTOLL /**/
3971 * This symbol, if defined, indicates that the strtoq routine is
3972 * available to convert strings to long longs (quads).
3974 #$d_strtoq HAS_STRTOQ /**/
3977 * This symbol, if defined, indicates that the strtoull routine is
3978 * available to convert strings to unsigned long longs.
3980 #$d_strtoull HAS_STRTOULL /**/
3983 * This symbol, if defined, indicates that the strtouq routine is
3984 * available to convert strings to unsigned long longs (quads).
3986 #$d_strtouq HAS_STRTOUQ /**/
3988 /* HAS_SYSCALL_PROTO:
3989 * This symbol, if defined, indicates that the system provides
3990 * a prototype for the syscall() function. Otherwise, it is up
3991 * to the program to supply one. Good guesses are
3992 * extern int syscall(int, ...);
3993 * extern int syscall(long, ...);
3995 #$d_syscallproto HAS_SYSCALL_PROTO /**/
3997 /* HAS_TELLDIR_PROTO:
3998 * This symbol, if defined, indicates that the system provides
3999 * a prototype for the telldir() function. Otherwise, it is up
4000 * to the program to supply one. A good guess is
4001 * extern long telldir(DIR*);
4003 #$d_telldirproto HAS_TELLDIR_PROTO /**/
4006 * This symbol, if defined, indicates that the ctime64 () routine is
4007 * available to do the 64bit variant of ctime ()
4010 * This symbol, if defined, indicates that the localtime64 () routine is
4011 * available to do the 64bit variant of localtime ()
4014 * This symbol, if defined, indicates that the gmtime64 () routine is
4015 * available to do the 64bit variant of gmtime ()
4018 * This symbol, if defined, indicates that the mktime64 () routine is
4019 * available to do the 64bit variant of mktime ()
4022 * This symbol, if defined, indicates that the difftime64 () routine is
4023 * available to do the 64bit variant of difftime ()
4026 * This symbol, if defined, indicates that the asctime64 () routine is
4027 * available to do the 64bit variant of asctime ()
4029 #$d_ctime64 HAS_CTIME64 /**/
4030 #$d_localtime64 HAS_LOCALTIME64 /**/
4031 #$d_gmtime64 HAS_GMTIME64 /**/
4032 #$d_mktime64 HAS_MKTIME64 /**/
4033 #$d_difftime64 HAS_DIFFTIME64 /**/
4034 #$d_asctime64 HAS_ASCTIME64 /**/
4037 * This symbol, if defined, indicates that the timegm routine is
4038 * available to do the opposite of gmtime ()
4040 #$d_timegm HAS_TIMEGM /**/
4042 /* U32_ALIGNMENT_REQUIRED:
4043 * This symbol, if defined, indicates that you must access
4044 * character data through U32-aligned pointers.
4046 #ifndef U32_ALIGNMENT_REQUIRED
4047 #$d_u32align U32_ALIGNMENT_REQUIRED /**/
4051 * This symbol, if defined, indicates that the ualarm routine is
4052 * available to do alarms with microsecond granularity.
4054 #$d_ualarm HAS_UALARM /**/
4057 * This symbol, if defined, indicates that the unordered routine is
4058 * available to check whether two doubles are unordered
4059 * (effectively: whether either of them is NaN)
4061 #$d_unordered HAS_UNORDERED /**/
4064 * This symbol, if defined, indicates that the unsetenv () routine is
4065 * available for use.
4067 #$d_unsetenv HAS_UNSETENV /**/
4069 /* HAS_USLEEP_PROTO:
4070 * This symbol, if defined, indicates that the system provides
4071 * a prototype for the usleep() function. Otherwise, it is up
4072 * to the program to supply one. A good guess is
4073 * extern int usleep(useconds_t);
4075 #$d_usleepproto HAS_USLEEP_PROTO /**/
4078 * This symbol, if defined, indicates that the ustat system call is
4079 * available to query file system statistics by dev_t.
4081 #$d_ustat HAS_USTAT /**/
4084 * This symbol, if defined, indicates that the writev routine is
4085 * available to do scatter writes.
4087 #$d_writev HAS_WRITEV /**/
4089 /* USE_DYNAMIC_LOADING:
4090 * This symbol, if defined, indicates that dynamic loading of
4091 * some sort is available.
4093 #$usedl USE_DYNAMIC_LOADING /**/
4096 * This symbol, if defined, tells that fflush(NULL) does flush
4097 * all pending stdio output.
4100 * This symbol, if defined, tells that to flush
4101 * all pending stdio output one must loop through all
4102 * the stdio file handles stored in an array and fflush them.
4103 * Note that if fflushNULL is defined, fflushall will not
4104 * even be probed for and will be left undefined.
4106 #$fflushNULL FFLUSH_NULL /**/
4107 #$fflushall FFLUSH_ALL /**/
4110 * This symbol, if defined, indicates that <assert.h> exists and
4111 * could be included by the C program to get the assert() macro.
4113 #$i_assert I_ASSERT /**/
4116 * This symbol, if defined, indicates that <crypt.h> exists and
4117 * should be included.
4119 #$i_crypt I_CRYPT /**/
4122 * This symbol contains the type of the prefix structure element
4123 * in the <db.h> header file. In older versions of DB, it was
4124 * int, while in newer ones it is u_int32_t.
4127 * This symbol contains the type of the prefix structure element
4128 * in the <db.h> header file. In older versions of DB, it was
4129 * int, while in newer ones it is size_t.
4131 /* DB_VERSION_MAJOR_CFG:
4132 * This symbol, if defined, defines the major version number of
4133 * Berkeley DB found in the <db.h> header when Perl was configured.
4135 /* DB_VERSION_MINOR_CFG:
4136 * This symbol, if defined, defines the minor version number of
4137 * Berkeley DB found in the <db.h> header when Perl was configured.
4138 * For DB version 1 this is always 0.
4140 /* DB_VERSION_PATCH_CFG:
4141 * This symbol, if defined, defines the patch version number of
4142 * Berkeley DB found in the <db.h> header when Perl was configured.
4143 * For DB version 1 this is always 0.
4145 #define DB_Hash_t $db_hashtype /**/
4146 #define DB_Prefix_t $db_prefixtype /**/
4147 #define DB_VERSION_MAJOR_CFG $db_version_major /**/
4148 #define DB_VERSION_MINOR_CFG $db_version_minor /**/
4149 #define DB_VERSION_PATCH_CFG $db_version_patch /**/
4152 * This symbol, if defined, indicates that <fp.h> exists and
4153 * should be included.
4158 * This symbol, if defined, indicates that <fp_class.h> exists and
4159 * should be included.
4161 #$i_fp_class I_FP_CLASS /**/
4164 * This symbol, if defined, indicates that <ieeefp.h> exists and
4165 * should be included.
4167 #$i_ieeefp I_IEEEFP /**/
4170 * This symbol, if defined, indicates to the C program that it should
4171 * include <inttypes.h>.
4173 #$i_inttypes I_INTTYPES /**/
4176 * This symbol, if defined, indicates that <langinfo.h> exists and
4177 * should be included.
4179 #$i_langinfo I_LANGINFO /**/
4182 * This symbol, if defined, indicates that <libutil.h> exists and
4183 * should be included.
4185 #$i_libutil I_LIBUTIL /**/
4188 * This symbol, if defined, indicates to the C program that it should
4189 * include <malloc/malloc.h>.
4191 #$i_mallocmalloc I_MALLOCMALLOC /**/
4194 * This symbol, if defined, indicates that <mntent.h> exists and
4195 * should be included.
4197 #$i_mntent I_MNTENT /**/
4200 * This symbol, if defined, indicates to the C program that it should
4201 * include <netinet/tcp.h>.
4203 #$i_netinettcp I_NETINET_TCP /**/
4206 * This symbol, if defined, indicates that <poll.h> exists and
4207 * should be included. (see also HAS_POLL)
4209 #$i_poll I_POLL /**/
4212 * This symbol, if defined, indicates that <prot.h> exists and
4213 * should be included.
4215 #$i_prot I_PROT /**/
4218 * This symbol, if defined, indicates that <shadow.h> exists and
4219 * should be included.
4221 #$i_shadow I_SHADOW /**/
4224 * This symbol, if defined, indicates that <socks.h> exists and
4225 * should be included.
4227 #$i_socks I_SOCKS /**/
4230 * This symbol, if defined, indicates that <sunmath.h> exists and
4231 * should be included.
4233 #$i_sunmath I_SUNMATH /**/
4236 * This symbol, if defined, indicates that <syslog.h> exists and
4237 * should be included.
4239 #$i_syslog I_SYSLOG /**/
4242 * This symbol, if defined, indicates that <sys/mode.h> exists and
4243 * should be included.
4245 #$i_sysmode I_SYSMODE /**/
4248 * This symbol, if defined, indicates that <sys/mount.h> exists and
4249 * should be included.
4251 #$i_sysmount I_SYS_MOUNT /**/
4254 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4256 #$i_sysstatfs I_SYS_STATFS /**/
4259 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4260 * should be included.
4262 #$i_sysstatvfs I_SYS_STATVFS /**/
4265 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4266 * should be included.
4268 #$i_sysutsname I_SYSUTSNAME /**/
4271 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4272 * should be included.
4274 #$i_sysvfs I_SYS_VFS /**/
4277 * This symbol, if defined, indicates that <ustat.h> exists and
4278 * should be included.
4280 #$i_ustat I_USTAT /**/
4283 * This symbol, if defined, contains the string used by stdio to
4284 * format long doubles (format 'f') for output.
4287 * This symbol, if defined, contains the string used by stdio to
4288 * format long doubles (format 'g') for output.
4291 * This symbol, if defined, contains the string used by stdio to
4292 * format long doubles (format 'e') for output.
4295 * This symbol, if defined, contains the string used by stdio to
4296 * format long doubles (format 'f') for input.
4298 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
4299 #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
4300 #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
4301 #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
4304 * This symbol, if defined, indicates that the Misc Attribution
4305 * Declaration code should be conditionally compiled.
4310 * This symbol, if defined, indicates that the system stores
4311 * the variable argument list datatype, va_list, in a format
4312 * that cannot be copied by simple assignment, so that some
4313 * other means must be used when copying is required.
4314 * As such systems vary in their provision (or non-provision)
4315 * of copying mechanisms, handy.h defines a platform-
4316 * independent macro, Perl_va_copy(src, dst), to do the job.
4318 #$need_va_copy NEED_VA_COPY /**/
4321 * This symbol defines the C type used for Perl's IV.
4324 * This symbol defines the C type used for Perl's UV.
4327 * This symbol defines the C type used for Perl's I8.
4330 * This symbol defines the C type used for Perl's U8.
4333 * This symbol defines the C type used for Perl's I16.
4336 * This symbol defines the C type used for Perl's U16.
4339 * This symbol defines the C type used for Perl's I32.
4342 * This symbol defines the C type used for Perl's U32.
4345 * This symbol defines the C type used for Perl's I64.
4348 * This symbol defines the C type used for Perl's U64.
4351 * This symbol defines the C type used for Perl's NV.
4354 * This symbol contains the sizeof(IV).
4357 * This symbol contains the sizeof(UV).
4360 * This symbol contains the sizeof(I8).
4363 * This symbol contains the sizeof(U8).
4366 * This symbol contains the sizeof(I16).
4369 * This symbol contains the sizeof(U16).
4372 * This symbol contains the sizeof(I32).
4375 * This symbol contains the sizeof(U32).
4378 * This symbol contains the sizeof(I64).
4381 * This symbol contains the sizeof(U64).
4384 * This symbol contains the sizeof(NV).
4387 * This symbol, if defined, indicates that a variable of type NVTYPE
4388 * can preserve all the bits of a variable of type UVTYPE.
4390 /* NV_PRESERVES_UV_BITS:
4391 * This symbol contains the number of bits a variable of type NVTYPE
4392 * can preserve of a variable of type UVTYPE.
4394 /* NV_OVERFLOWS_INTEGERS_AT:
4395 * This symbol gives the largest integer value that NVs can hold. This
4396 * value + 1.0 cannot be stored accurately. It is expressed as constant
4397 * floating point expression to reduce the chance of decimale/binary
4398 * conversion issues. If it can not be determined, the value 0 is given.
4400 /* NV_ZERO_IS_ALLBITS_ZERO:
4401 * This symbol, if defined, indicates that a variable of type NVTYPE
4402 * stores 0.0 in memory as all bits zero.
4404 #define IVTYPE $ivtype /**/
4405 #define UVTYPE $uvtype /**/
4406 #define I8TYPE $i8type /**/
4407 #define U8TYPE $u8type /**/
4408 #define I16TYPE $i16type /**/
4409 #define U16TYPE $u16type /**/
4410 #define I32TYPE $i32type /**/
4411 #define U32TYPE $u32type /**/
4413 #define I64TYPE $i64type /**/
4414 #define U64TYPE $u64type /**/
4416 #define NVTYPE $nvtype /**/
4417 #define IVSIZE $ivsize /**/
4418 #define UVSIZE $uvsize /**/
4419 #define I8SIZE $i8size /**/
4420 #define U8SIZE $u8size /**/
4421 #define I16SIZE $i16size /**/
4422 #define U16SIZE $u16size /**/
4423 #define I32SIZE $i32size /**/
4424 #define U32SIZE $u32size /**/
4426 #define I64SIZE $i64size /**/
4427 #define U64SIZE $u64size /**/
4429 #define NVSIZE $nvsize /**/
4430 #$d_nv_preserves_uv NV_PRESERVES_UV
4431 #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4432 #define NV_OVERFLOWS_INTEGERS_AT $nv_overflows_integers_at
4433 #$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4436 # if BYTEORDER == 0x1234
4438 # define BYTEORDER 0x12345678
4440 # if BYTEORDER == 0x4321
4442 # define BYTEORDER 0x87654321
4449 * This symbol defines the format string used for printing a Perl IV
4450 * as a signed decimal integer.
4453 * This symbol defines the format string used for printing a Perl UV
4454 * as an unsigned decimal integer.
4457 * This symbol defines the format string used for printing a Perl UV
4458 * as an unsigned octal integer.
4461 * This symbol defines the format string used for printing a Perl UV
4462 * as an unsigned hexadecimal integer in lowercase abcdef.
4465 * This symbol defines the format string used for printing a Perl UV
4466 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4469 * This symbol defines the format string used for printing a Perl NV
4470 * using %e-ish floating point format.
4473 * This symbol defines the format string used for printing a Perl NV
4474 * using %f-ish floating point format.
4477 * This symbol defines the format string used for printing a Perl NV
4478 * using %g-ish floating point format.
4480 #define IVdf $ivdformat /**/
4481 #define UVuf $uvuformat /**/
4482 #define UVof $uvoformat /**/
4483 #define UVxf $uvxformat /**/
4484 #define UVXf $uvXUformat /**/
4485 #define NVef $nveformat /**/
4486 #define NVff $nvfformat /**/
4487 #define NVgf $nvgformat /**/
4490 * This symbol holds the minimum number of bits operated by select.
4491 * That is, if you do select(n, ...), how many bits at least will be
4492 * cleared in the masks if some activity is detected. Usually this
4493 * is either n or 32*ceil(n/32), especially many little-endians do
4494 * the latter. This is only useful if you have select(), naturally.
4496 #define SELECT_MIN_BITS $selectminbits /**/
4499 * This variable contains the string to put in front of a perl
4500 * script to make sure (one hopes) that it runs with perl and not
4503 #define STARTPERL "$startperl" /**/
4505 /* HAS_STDIO_STREAM_ARRAY:
4506 * This symbol, if defined, tells that there is an array
4507 * holding the stdio streams.
4509 /* STDIO_STREAM_ARRAY:
4510 * This symbol tells the name of the array holding the stdio streams.
4511 * Usual values include _iob, __iob, and __sF.
4513 #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4514 #ifdef HAS_STDIO_STREAM_ARRAY
4515 #define STDIO_STREAM_ARRAY $stdio_stream_array
4519 * This symbol contains the maximum value for the time_t offset that
4520 * the system function gmtime () accepts, and defaults to 0
4523 * This symbol contains the minimum value for the time_t offset that
4524 * the system function gmtime () accepts, and defaults to 0
4527 * This symbol contains the maximum value for the time_t offset that
4528 * the system function localtime () accepts, and defaults to 0
4531 * This symbol contains the minimum value for the time_t offset that
4532 * the system function localtime () accepts, and defaults to 0
4534 #define GMTIME_MAX $sGMTIME_max /**/
4535 #define GMTIME_MIN $sGMTIME_min /**/
4536 #define LOCALTIME_MAX $sLOCALTIME_max /**/
4537 #define LOCALTIME_MIN $sLOCALTIME_min /**/
4540 * This symbol, if defined, indicates that 64-bit integers should
4541 * be used when available. If not defined, the native integers
4542 * will be employed (be they 32 or 64 bits). The minimal possible
4543 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4544 * This may mean using for example "long longs", while your memory
4545 * may still be limited to 2 gigabytes.
4548 * This symbol, if defined, indicates that 64-bit integers should
4549 * be used when available. If not defined, the native integers
4550 * will be used (be they 32 or 64 bits). The maximal possible
4551 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4552 * be able to use more than 2 gigabytes of memory. This mode is
4553 * even more binary incompatible than USE_64_BIT_INT. You may not
4554 * be able to run the resulting executable in a 32-bit CPU at all or
4555 * you may need at least to reboot your OS to 64-bit mode.
4557 #ifndef USE_64_BIT_INT
4558 #$use64bitint USE_64_BIT_INT /**/
4560 #ifndef USE_64_BIT_ALL
4561 #$use64bitall USE_64_BIT_ALL /**/
4565 * This symbol, if defined, indicates that Perl should
4566 * be built with support for DTrace.
4568 #$usedtrace USE_DTRACE /**/
4571 * This symbol, if defined, indicates that Perl should
4572 * be built to use 'fast stdio'.
4573 * Defaults to define in Perls 5.8 and earlier, to undef later.
4575 #ifndef USE_FAST_STDIO
4576 #$usefaststdio USE_FAST_STDIO /**/
4580 * This symbol, if defined, indicates that large file support
4581 * should be used when available.
4583 #ifndef USE_LARGE_FILES
4584 #$uselargefiles USE_LARGE_FILES /**/
4588 * This symbol, if defined, indicates that long doubles should
4589 * be used when available.
4591 #ifndef USE_LONG_DOUBLE
4592 #$uselongdouble USE_LONG_DOUBLE /**/
4596 * This symbol, if defined, indicates that 64-bit interfaces and
4597 * long doubles should be used when available.
4599 #ifndef USE_MORE_BITS
4600 #$usemorebits USE_MORE_BITS /**/
4604 * This symbol, if defined, indicates that Perl should
4605 * be built to use multiplicity.
4607 #ifndef MULTIPLICITY
4608 #$usemultiplicity MULTIPLICITY /**/
4612 * This symbol, if defined, indicates that the PerlIO abstraction should
4613 * be used throughout. If not defined, stdio should be
4614 * used in a fully backward compatible manner.
4617 #$useperlio USE_PERLIO /**/
4621 * This symbol, if defined, indicates that Perl should
4622 * be built to use socks.
4625 #$usesocks USE_SOCKS /**/