xref: /openbsd/gnu/usr.bin/perl/config_h.SH (revision e0680481)
1#!/bin/sh
2#
3# THIS IS A GENERATED FILE
4# DO NOT HAND-EDIT
5#
6# See Porting/config_h.pl
7
8: Set up for generating config_h.SH
9case "$CONFIG_SH" in
10'') CONFIG_SH=config.sh;;
11esac
12case "$CONFIG_H" in
13'') CONFIG_H=config.h;;
14esac
15case $PERL_CONFIG_SH in
16'')
17	if test -f $CONFIG_SH; then TOP=.;
18	elif test -f ../$CONFIG_SH; then TOP=..;
19	elif test -f ../../$CONFIG_SH; then TOP=../..;
20	elif test -f ../../../$CONFIG_SH; then TOP=../../..;
21	elif test -f ../../../../$CONFIG_SH; then TOP=../../../..;
22	else
23		echo "Can't find $CONFIG_SH."; exit 1
24	fi
25	. $TOP/$CONFIG_SH
26	;;
27esac
28case "$0" in
29*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
30esac
31case "$CONFIG_H" in
32already-done) echo "Not re-extracting config.h" ;;
33*)
34echo "Extracting $CONFIG_H (with variable substitutions)"
35sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!' -e's!define\t!define !'
36/* This file was produced by running the config_h.SH script, which
37 * gets its values from $CONFIG_SH, which is generally produced by
38 * running Configure.
39 *
40 * Feel free to modify any of this as the need arises.  Note, however,
41 * that running config_h.SH again will wipe out any changes you've made.
42 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
43 */
44
45/* Package name      : $package
46 * Source directory  : $src
47 * Configuration time: $cf_time
48 * Configured by     : $cf_by
49 * Target system     : $myuname
50 */
51
52#ifndef _config_h_
53#define _config_h_
54
55/* LOC_SED:
56 *	This symbol holds the complete pathname to the sed program.
57 */
58#define LOC_SED 	"$full_sed"	/**/
59
60/* HAS_ALARM:
61 *	This symbol, if defined, indicates that the alarm routine is
62 *	available.
63 */
64#$d_alarm HAS_ALARM		/**/
65
66/* HAS_CBRT:
67 *	This symbol, if defined, indicates that the cbrt() (cube root)
68 *	function is available.
69 */
70#$d_cbrt HAS_CBRT	/**/
71
72/* HAS_CHOWN:
73 *	This symbol, if defined, indicates that the chown routine is
74 *	available.
75 */
76#$d_chown HAS_CHOWN		/**/
77
78/* HAS_CHROOT:
79 *	This symbol, if defined, indicates that the chroot routine is
80 *	available.
81 */
82#$d_chroot HAS_CHROOT		/**/
83
84/* HAS_CHSIZE:
85 *	This symbol, if defined, indicates that the chsize routine is available
86 *	to truncate files.  You might need a -lx to get this routine.
87 */
88#$d_chsize	HAS_CHSIZE		/**/
89
90/* HAS_CRYPT:
91 *	This symbol, if defined, indicates that the crypt routine is available
92 *	to encrypt passwords and the like.
93 */
94#$d_crypt HAS_CRYPT		/**/
95
96/* HAS_CTERMID:
97 *	This symbol, if defined, indicates that the ctermid routine is
98 *	available to generate filename for terminal.
99 */
100#$d_ctermid HAS_CTERMID		/**/
101
102/* HAS_CUSERID:
103 *	This symbol, if defined, indicates that the cuserid routine is
104 *	available to get character login names.
105 */
106#$d_cuserid HAS_CUSERID		/**/
107
108/* HAS_DIFFTIME:
109 *	This symbol, if defined, indicates that the difftime routine is
110 *	available.
111 */
112#$d_difftime HAS_DIFFTIME		/**/
113
114/* HAS_DLERROR:
115 *	This symbol, if defined, indicates that the dlerror routine is
116 *	available to return a string describing the last error that
117 *	occurred from a call to dlopen(), dlclose() or dlsym().
118 */
119#$d_dlerror HAS_DLERROR	/**/
120
121/* HAS_DUP2:
122 *	This symbol, if defined, indicates that the dup2 routine is
123 *	available to duplicate file descriptors.
124 */
125#$d_dup2 HAS_DUP2	/**/
126
127/* HAS_FCHMOD:
128 *	This symbol, if defined, indicates that the fchmod routine is available
129 *	to change mode of opened files.  If unavailable, use chmod().
130 */
131#$d_fchmod HAS_FCHMOD		/**/
132
133/* HAS_FCHOWN:
134 *	This symbol, if defined, indicates that the fchown routine is available
135 *	to change ownership of opened files.  If unavailable, use chown().
136 */
137#$d_fchown HAS_FCHOWN		/**/
138
139/* HAS_FCNTL:
140 *	This symbol, if defined, indicates to the C program that
141 *	the fcntl() function exists.
142 */
143#$d_fcntl HAS_FCNTL		/**/
144
145/* HAS_FGETPOS:
146 *	This symbol, if defined, indicates that the fgetpos routine is
147 *	available to get the file position indicator, similar to ftell().
148 */
149#$d_fgetpos HAS_FGETPOS	/**/
150
151/* HAS_FLOCK:
152 *	This symbol, if defined, indicates that the flock routine is
153 *	available to do file locking.
154 */
155#$d_flock HAS_FLOCK		/**/
156
157/* HAS_FORK:
158 *	This symbol, if defined, indicates that the fork routine is
159 *	available.
160 */
161#$d_fork HAS_FORK		/**/
162
163/* HAS_FSETPOS:
164 *	This symbol, if defined, indicates that the fsetpos routine is
165 *	available to set the file position indicator, similar to fseek().
166 */
167#$d_fsetpos HAS_FSETPOS	/**/
168
169/* HAS_GETTIMEOFDAY:
170 *	This symbol, if defined, indicates that the gettimeofday() system
171 *	call is available for a sub-second accuracy clock. Usually, the file
172 *	<sys/resource.h> needs to be included (see I_SYS_RESOURCE).
173 *	The type "Timeval" should be used to refer to "struct timeval".
174 */
175#$d_gettimeod HAS_GETTIMEOFDAY	/**/
176#ifdef HAS_GETTIMEOFDAY
177#define Timeval struct timeval	/* Structure used by gettimeofday() */
178#endif
179
180/* HAS_GETGROUPS:
181 *	This symbol, if defined, indicates that the getgroups() routine is
182 *	available to get the list of process groups.  If unavailable, multiple
183 *	groups are probably not supported.
184 */
185#$d_getgrps HAS_GETGROUPS		/**/
186
187/* HAS_GETLOGIN:
188 *	This symbol, if defined, indicates that the getlogin routine is
189 *	available to get the login name.
190 */
191#$d_getlogin HAS_GETLOGIN		/**/
192
193/* HAS_GETPGID:
194 *	This symbol, if defined, indicates to the C program that
195 *	the getpgid(pid) function is available to get the
196 *	process group id.
197 */
198#$d_getpgid HAS_GETPGID		/**/
199
200/* HAS_GETPGRP2:
201 *	This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
202 *	routine is available to get the current process group.
203 */
204#$d_getpgrp2 HAS_GETPGRP2		/**/
205
206/* HAS_GETPPID:
207 *	This symbol, if defined, indicates that the getppid routine is
208 *	available to get the parent process ID.
209 */
210#$d_getppid HAS_GETPPID		/**/
211
212/* HAS_GETPRIORITY:
213 *	This symbol, if defined, indicates that the getpriority routine is
214 *	available to get a process's priority.
215 */
216#$d_getprior HAS_GETPRIORITY		/**/
217
218/* HAS_INET_ATON:
219 *	This symbol, if defined, indicates to the C program that the
220 *	inet_aton() function is available to parse IP address "dotted-quad"
221 *	strings.
222 */
223#$d_inetaton HAS_INET_ATON		/**/
224
225/* HAS_KILLPG:
226 *	This symbol, if defined, indicates that the killpg routine is available
227 *	to kill process groups.  If unavailable, you probably should use kill
228 *	with a negative process number.
229 */
230#$d_killpg HAS_KILLPG	/**/
231
232/* HAS_LINK:
233 *	This symbol, if defined, indicates that the link routine is
234 *	available to create hard links.
235 */
236#$d_link HAS_LINK	/**/
237
238/* HAS_LOCALECONV:
239 *	This symbol, if defined, indicates that the localeconv routine is
240 *	available for numeric and monetary formatting conventions.
241 */
242#$d_locconv HAS_LOCALECONV	/**/
243
244/* HAS_LOCKF:
245 *	This symbol, if defined, indicates that the lockf routine is
246 *	available to do file locking.
247 */
248#$d_lockf HAS_LOCKF		/**/
249
250/* HAS_LSTAT:
251 *	This symbol, if defined, indicates that the lstat routine is
252 *	available to do file stats on symbolic links.
253 */
254#$d_lstat HAS_LSTAT		/**/
255
256/* HAS_MBLEN:
257 *	This symbol, if defined, indicates that the mblen routine is available
258 *	to find the number of bytes in a multibyte character.
259 */
260#$d_mblen HAS_MBLEN		/**/
261
262/* HAS_MBSTOWCS:
263 *	This symbol, if defined, indicates that the mbstowcs routine is
264 *	available to convert a multibyte string into a wide character string.
265 */
266#$d_mbstowcs	HAS_MBSTOWCS		/**/
267
268/* HAS_MBTOWC:
269 *	This symbol, if defined, indicates that the mbtowc routine is available
270 *	to convert a multibyte to a wide character.
271 */
272#$d_mbtowc HAS_MBTOWC		/**/
273
274/* HAS_MKDIR:
275 *	This symbol, if defined, indicates that the mkdir routine is available
276 *	to create directories.  Otherwise you should fork off a new process to
277 *	exec /bin/mkdir.
278 */
279#$d_mkdir HAS_MKDIR		/**/
280
281/* HAS_MKFIFO:
282 *	This symbol, if defined, indicates that the mkfifo routine is
283 *	available to create FIFOs. Otherwise, mknod should be able to
284 *	do it for you. However, if mkfifo is there, mknod might require
285 *	super-user privileges which mkfifo will not.
286 */
287#$d_mkfifo HAS_MKFIFO		/**/
288
289/* HAS_MKTIME:
290 *	This symbol, if defined, indicates that the mktime routine is
291 *	available.
292 */
293#$d_mktime HAS_MKTIME		/**/
294
295/* HAS_MSG:
296 *	This symbol, if defined, indicates that the entire msg*(2) library is
297 *	supported (IPC mechanism based on message queues).
298 */
299#$d_msg HAS_MSG		/**/
300
301/* HAS_MSYNC:
302 *	This symbol, if defined, indicates that the msync system call is
303 *	available to synchronize a mapped file.
304 */
305#$d_msync HAS_MSYNC		/**/
306
307/* HAS_MUNMAP:
308 *	This symbol, if defined, indicates that the munmap system call is
309 *	available to unmap a region, usually mapped by mmap().
310 */
311#$d_munmap HAS_MUNMAP		/**/
312
313/* HAS_NICE:
314 *	This symbol, if defined, indicates that the nice routine is
315 *	available.
316 */
317#$d_nice HAS_NICE		/**/
318
319/* HAS_PATHCONF:
320 *	This symbol, if defined, indicates that pathconf() is available
321 *	to determine file-system related limits and options associated
322 *	with a given filename.
323 */
324/* HAS_FPATHCONF:
325 *	This symbol, if defined, indicates that pathconf() is available
326 *	to determine file-system related limits and options associated
327 *	with a given open file descriptor.
328 */
329#$d_pathconf HAS_PATHCONF		/**/
330#$d_fpathconf HAS_FPATHCONF		/**/
331
332/* HAS_PAUSE:
333 *	This symbol, if defined, indicates that the pause routine is
334 *	available to suspend a process until a signal is received.
335 */
336#$d_pause HAS_PAUSE		/**/
337
338/* HAS_PIPE:
339 *	This symbol, if defined, indicates that the pipe routine is
340 *	available to create an inter-process channel.
341 */
342#$d_pipe HAS_PIPE		/**/
343
344/* HAS_POLL:
345 *	This symbol, if defined, indicates that the poll routine is
346 *	available to poll active file descriptors.  Please check I_POLL and
347 *	I_SYS_POLL to know which header should be included as well.
348 */
349#$d_poll HAS_POLL		/**/
350
351/* HAS_READDIR:
352 *	This symbol, if defined, indicates that the readdir routine is
353 *	available to read directory entries. You may have to include
354 *	<dirent.h>. See I_DIRENT.
355 */
356#$d_readdir HAS_READDIR		/**/
357
358/* HAS_SEEKDIR:
359 *	This symbol, if defined, indicates that the seekdir routine is
360 *	available. You may have to include <dirent.h>. See I_DIRENT.
361 */
362#$d_seekdir HAS_SEEKDIR		/**/
363
364/* HAS_TELLDIR:
365 *	This symbol, if defined, indicates that the telldir routine is
366 *	available. You may have to include <dirent.h>. See I_DIRENT.
367 */
368#$d_telldir HAS_TELLDIR		/**/
369
370/* HAS_REWINDDIR:
371 *	This symbol, if defined, indicates that the rewinddir routine is
372 *	available. You may have to include <dirent.h>. See I_DIRENT.
373 */
374#$d_rewinddir HAS_REWINDDIR		/**/
375
376/* HAS_READLINK:
377 *	This symbol, if defined, indicates that the readlink routine is
378 *	available to read the value of a symbolic link.
379 */
380#$d_readlink HAS_READLINK		/**/
381
382/* HAS_REGCOMP:
383 *	This symbol, if defined, indicates that the regcomp() routine is
384 *	available to do some regular pattern matching (usually on POSIX.2
385 *	conforming systems).
386 */
387#$d_regcomp HAS_REGCOMP		/* POSIX.2 */
388
389/* HAS_RENAME:
390 *	This symbol, if defined, indicates that the rename routine is available
391 *	to rename files.  Otherwise you should do the unlink(), link(), unlink()
392 *	trick.
393 */
394#$d_rename HAS_RENAME	/**/
395
396/* HAS_RMDIR:
397 *	This symbol, if defined, indicates that the rmdir routine is
398 *	available to remove directories. Otherwise you should fork off a
399 *	new process to exec /bin/rmdir.
400 */
401#$d_rmdir HAS_RMDIR		/**/
402
403/* HAS_SELECT:
404 *	This symbol, if defined, indicates that the select routine is
405 *	available to select active file descriptors. If the timeout field
406 *	is used, <sys/time.h> may need to be included.
407 */
408#$d_select HAS_SELECT	/**/
409
410/* HAS_SEM:
411 *	This symbol, if defined, indicates that the entire sem*(2) library is
412 *	supported.
413 */
414#$d_sem HAS_SEM		/**/
415
416/* HAS_SETEGID:
417 *	This symbol, if defined, indicates that the setegid routine is available
418 *	to change the effective gid of the current program.
419 */
420#$d_setegid HAS_SETEGID		/**/
421
422/* HAS_SETEUID:
423 *	This symbol, if defined, indicates that the seteuid routine is available
424 *	to change the effective uid of the current program.
425 */
426#$d_seteuid HAS_SETEUID		/**/
427
428/* HAS_SETGROUPS:
429 *	This symbol, if defined, indicates that the setgroups() routine is
430 *	available to set the list of process groups.  If unavailable, multiple
431 *	groups are probably not supported.
432 */
433#$d_setgrps HAS_SETGROUPS		/**/
434
435/* HAS_SETLINEBUF:
436 *	This symbol, if defined, indicates that the setlinebuf routine is
437 *	available to change stderr or stdout from block-buffered or unbuffered
438 *	to a line-buffered mode.
439 */
440#$d_setlinebuf HAS_SETLINEBUF		/**/
441
442/* HAS_SETPGID:
443 *	This symbol, if defined, indicates that the setpgid(pid, gpid)
444 *	routine is available to set process group ID.
445 */
446#$d_setpgid HAS_SETPGID	/**/
447
448/* HAS_SETPGRP2:
449 *	This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
450 *	routine is available to set the current process group.
451 */
452#$d_setpgrp2 HAS_SETPGRP2		/**/
453
454/* HAS_SETPRIORITY:
455 *	This symbol, if defined, indicates that the setpriority routine is
456 *	available to set a process's priority.
457 */
458#$d_setprior HAS_SETPRIORITY		/**/
459
460/* HAS_SETREGID:
461 *	This symbol, if defined, indicates that the setregid routine is
462 *	available to change the real and effective gid of the current
463 *	process.
464 */
465/* HAS_SETRESGID:
466 *	This symbol, if defined, indicates that the setresgid routine is
467 *	available to change the real, effective and saved gid of the current
468 *	process.
469 */
470#$d_setregid HAS_SETREGID		/**/
471#$d_setresgid HAS_SETRESGID		/**/
472
473/* HAS_SETREUID:
474 *	This symbol, if defined, indicates that the setreuid routine is
475 *	available to change the real and effective uid of the current
476 *	process.
477 */
478/* HAS_SETRESUID:
479 *	This symbol, if defined, indicates that the setresuid routine is
480 *	available to change the real, effective and saved uid of the current
481 *	process.
482 */
483#$d_setreuid HAS_SETREUID		/**/
484#$d_setresuid HAS_SETRESUID		/**/
485
486/* HAS_SETRGID:
487 *	This symbol, if defined, indicates that the setrgid routine is available
488 *	to change the real gid of the current program.
489 */
490#$d_setrgid HAS_SETRGID		/**/
491
492/* HAS_SETRUID:
493 *	This symbol, if defined, indicates that the setruid routine is available
494 *	to change the real uid of the current program.
495 */
496#$d_setruid HAS_SETRUID		/**/
497
498/* HAS_SETSID:
499 *	This symbol, if defined, indicates that the setsid routine is
500 *	available to set the process group ID.
501 */
502#$d_setsid HAS_SETSID	/**/
503
504/* HAS_STAT:
505 *	This symbol, if defined, indicates that the stat routine is
506 *	available to get file status.
507 */
508#$d_stat HAS_STAT	/**/
509
510/* HAS_STRCOLL:
511 *	This symbol, if defined, indicates that the strcoll routine is
512 *	available to compare strings using collating information.
513 */
514#$d_strcoll HAS_STRCOLL	/**/
515
516/* HAS_STRTOD:
517 *	This symbol, if defined, indicates that the strtod routine is
518 *	available to provide better numeric string conversion than atof().
519 */
520#$d_strtod HAS_STRTOD	/**/
521
522/* HAS_STRTOL:
523 *	This symbol, if defined, indicates that the strtol routine is available
524 *	to provide better numeric string conversion than atoi() and friends.
525 */
526#$d_strtol HAS_STRTOL	/**/
527
528/* HAS_STRXFRM:
529 *	This symbol, if defined, indicates that the strxfrm() routine is
530 *	available to transform strings.
531 */
532#$d_strxfrm HAS_STRXFRM	/**/
533
534/* HAS_SYMLINK:
535 *	This symbol, if defined, indicates that the symlink routine is available
536 *	to create symbolic links.
537 */
538#$d_symlink HAS_SYMLINK	/**/
539
540/* HAS_SYSCALL:
541 *	This symbol, if defined, indicates that the syscall routine is
542 *	available to call arbitrary system calls. If undefined, that's tough.
543 */
544#$d_syscall HAS_SYSCALL	/**/
545
546/* HAS_SYSCONF:
547 *	This symbol, if defined, indicates that sysconf() is available
548 *	to determine system related limits and options.
549 */
550#$d_sysconf HAS_SYSCONF	/**/
551
552/* HAS_SYSTEM:
553 *	This symbol, if defined, indicates that the system routine is
554 *	available to issue a shell command.
555 */
556#$d_system HAS_SYSTEM	/**/
557
558/* HAS_TCGETPGRP:
559 *	This symbol, if defined, indicates that the tcgetpgrp routine is
560 *	available to get foreground process group ID.
561 */
562#$d_tcgetpgrp HAS_TCGETPGRP		/**/
563
564/* HAS_TCSETPGRP:
565 *	This symbol, if defined, indicates that the tcsetpgrp routine is
566 *	available to set foreground process group ID.
567 */
568#$d_tcsetpgrp HAS_TCSETPGRP		/**/
569
570/* HAS_TRUNCATE:
571 *	This symbol, if defined, indicates that the truncate routine is
572 *	available to truncate files.
573 */
574#$d_truncate HAS_TRUNCATE	/**/
575
576/* HAS_TZNAME:
577 *	This symbol, if defined, indicates that the tzname[] array is
578 *	available to access timezone names.
579 */
580#$d_tzname HAS_TZNAME		/**/
581
582/* HAS_UMASK:
583 *	This symbol, if defined, indicates that the umask routine is
584 *	available to set and get the value of the file creation mask.
585 */
586#$d_umask HAS_UMASK		/**/
587
588/* HAS_USLEEP:
589 *	This symbol, if defined, indicates that the usleep routine is
590 *	available to let the process sleep on a sub-second accuracy.
591 */
592#$d_usleep HAS_USLEEP		/**/
593
594/* HAS_WAIT4:
595 *	This symbol, if defined, indicates that wait4() exists.
596 */
597#$d_wait4 HAS_WAIT4	/**/
598
599/* HAS_WAITPID:
600 *	This symbol, if defined, indicates that the waitpid routine is
601 *	available to wait for child process.
602 */
603#$d_waitpid HAS_WAITPID	/**/
604
605/* HAS_WCSTOMBS:
606 *	This symbol, if defined, indicates that the wcstombs routine is
607 *	available to convert wide character strings to multibyte strings.
608 */
609#$d_wcstombs HAS_WCSTOMBS	/**/
610
611/* HAS_WCTOMB:
612 *	This symbol, if defined, indicates that the wctomb routine is available
613 *	to convert a wide character to a multibyte.
614 */
615#$d_wctomb HAS_WCTOMB		/**/
616
617/* Groups_t:
618 *	This symbol holds the type used for the second argument to
619 *	getgroups() and setgroups().  Usually, this is the same as
620 *	gidtype (gid_t) , but sometimes it isn't.
621 *	It can be int, ushort, gid_t, etc...
622 *	It may be necessary to include <sys/types.h> to get any
623 *	typedef'ed information.  This is only required if you have
624 *	getgroups() or setgroups()..
625 */
626#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
627#define Groups_t $groupstype	/* Type for 2nd arg to [sg]etgroups() */
628#endif
629
630/* I_ARPA_INET:
631 *	This symbol, if defined, indicates to the C program that it should
632 *	include <arpa/inet.h> to get inet_addr and friends declarations.
633 */
634#$i_arpainet	I_ARPA_INET		/**/
635
636/* I_DBM:
637 *	This symbol, if defined, indicates that <dbm.h> exists and should
638 *	be included.
639 */
640/* I_RPCSVC_DBM:
641 *	This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
642 *	should be included.
643 */
644#$i_dbm I_DBM	/**/
645#$i_rpcsvcdbm I_RPCSVC_DBM	/**/
646
647/* I_DLFCN:
648 *	This symbol, if defined, indicates that <dlfcn.h> exists and should
649 *	be included.
650 */
651#$i_dlfcn I_DLFCN		/**/
652
653/* I_FCNTL:
654 *	This manifest constant tells the C program to include <fcntl.h>.
655 */
656#$i_fcntl I_FCNTL	/**/
657
658/* I_GDBM:
659 *	This symbol, if defined, indicates that <gdbm.h> exists and should
660 *	be included.
661 */
662#$i_gdbm I_GDBM	/**/
663
664/* I_LOCALE:
665 *	This symbol, if defined, indicates to the C program that it should
666 *	include <locale.h>.
667 */
668#$i_locale	I_LOCALE		/**/
669
670/* I_NETINET_IN:
671 *	This symbol, if defined, indicates to the C program that it should
672 *	include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
673 */
674#$i_niin I_NETINET_IN	/**/
675
676/* I_SYS_DIR:
677 *	This symbol, if defined, indicates to the C program that it should
678 *	include <sys/dir.h>.
679 */
680#$i_sysdir I_SYS_DIR		/**/
681
682/* I_SYS_FILE:
683 *	This symbol, if defined, indicates to the C program that it should
684 *	include <sys/file.h> to get definition of R_OK and friends.
685 */
686#$i_sysfile I_SYS_FILE		/**/
687
688/* I_SYS_IOCTL:
689 *	This symbol, if defined, indicates that <sys/ioctl.h> exists and should
690 *	be included. Otherwise, include <sgtty.h> or <termio.h>.
691 */
692/* I_SYS_SOCKIO:
693 *	This symbol, if defined, indicates the <sys/sockio.h> should be included
694 *	to get socket ioctl options, like SIOCATMARK.
695 */
696#$i_sysioctl	I_SYS_IOCTL		/**/
697#$i_syssockio I_SYS_SOCKIO	/**/
698
699/* I_SYS_NDIR:
700 *	This symbol, if defined, indicates to the C program that it should
701 *	include <sys/ndir.h>.
702 */
703#$i_sysndir I_SYS_NDIR	/**/
704
705/* I_SYS_PARAM:
706 *	This symbol, if defined, indicates to the C program that it should
707 *	include <sys/param.h>.
708 */
709#$i_sysparam I_SYS_PARAM		/**/
710
711/* I_SYS_POLL:
712 *	This symbol, if defined, indicates that the program may include
713 *	<sys/poll.h>.  When I_POLL is also defined, it's probably safest
714 *	to only include <poll.h>.
715 */
716#$i_syspoll I_SYS_POLL	/**/
717
718/* I_SYS_RESOURCE:
719 *	This symbol, if defined, indicates to the C program that it should
720 *	include <sys/resource.h>.
721 */
722#$i_sysresrc I_SYS_RESOURCE		/**/
723
724/* I_SYS_SELECT:
725 *	This symbol, if defined, indicates to the C program that it should
726 *	include <sys/select.h> in order to get definition of struct timeval.
727 */
728#$i_sysselct I_SYS_SELECT	/**/
729
730/* I_SYS_STAT:
731 *	This symbol, if defined, indicates to the C program that it should
732 *	include <sys/stat.h>.
733 */
734#$i_sysstat	I_SYS_STAT		/**/
735
736/* I_SYS_TIMES:
737 *	This symbol, if defined, indicates to the C program that it should
738 *	include <sys/times.h>.
739 */
740#$i_systimes	I_SYS_TIMES		/**/
741
742/* I_SYS_TYPES:
743 *	This symbol, if defined, indicates to the C program that it should
744 *	include <sys/types.h>.
745 */
746#$i_systypes	I_SYS_TYPES		/**/
747
748/* I_SYS_UN:
749 *	This symbol, if defined, indicates to the C program that it should
750 *	include <sys/un.h> to get UNIX domain socket definitions.
751 */
752#$i_sysun I_SYS_UN		/**/
753
754/* I_SYS_WAIT:
755 *	This symbol, if defined, indicates to the C program that it should
756 *	include <sys/wait.h>.
757 */
758#$i_syswait I_SYS_WAIT	/**/
759
760/* I_UNISTD:
761 *	This symbol, if defined, indicates to the C program that it should
762 *	include <unistd.h>.
763 */
764#$i_unistd I_UNISTD		/**/
765
766/* I_UTIME:
767 *	This symbol, if defined, indicates to the C program that it should
768 *	include <utime.h>.
769 */
770#$i_utime I_UTIME		/**/
771
772/* I_VFORK:
773 *	This symbol, if defined, indicates to the C program that it should
774 *	include vfork.h.
775 */
776#$i_vfork I_VFORK	/**/
777
778/* STDCHAR:
779 *	This symbol is defined to be the type of char used in stdio.h.
780 *	It has the values "unsigned char" or "char".
781 */
782#define STDCHAR $stdchar	/**/
783
784/* INTSIZE:
785 *	This symbol contains the value of sizeof(int) so that the C
786 *	preprocessor can make decisions based on it.
787 */
788/* LONGSIZE:
789 *	This symbol contains the value of sizeof(long) so that the C
790 *	preprocessor can make decisions based on it.
791 */
792/* SHORTSIZE:
793 *	This symbol contains the value of sizeof(short) so that the C
794 *	preprocessor can make decisions based on it.
795 */
796#define INTSIZE $intsize		/**/
797#define LONGSIZE $longsize		/**/
798#define SHORTSIZE $shortsize		/**/
799
800/* MULTIARCH:
801 *	This symbol, if defined, signifies that the build
802 *	process will produce some binary files that are going to be
803 *	used in a cross-platform environment.  This is the case for
804 *	example with the NeXT "fat" binaries that contain executables
805 *	for several CPUs.
806 */
807#$multiarch MULTIARCH		/**/
808
809/* HAS_QUAD:
810 *	This symbol, if defined, tells that there's a 64-bit integer type,
811 *	Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
812 *	of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
813 *	or QUAD_IS___INT64.
814 */
815#$d_quad HAS_QUAD	/**/
816#ifdef HAS_QUAD
817#   define Quad_t $quadtype	/**/
818#   define Uquad_t $uquadtype	/**/
819#   define QUADKIND $quadkind	/**/
820#   define QUAD_IS_INT	1
821#   define QUAD_IS_LONG	2
822#   define QUAD_IS_LONG_LONG	3
823#   define QUAD_IS_INT64_T	4
824#   define QUAD_IS___INT64	5
825#endif
826
827/* HAS_ACCESSX:
828 *	This symbol, if defined, indicates that the accessx routine is
829 *	available to do extended access checks.
830 */
831#$d_accessx HAS_ACCESSX		/**/
832
833/* HAS_EACCESS:
834 *	This symbol, if defined, indicates that the eaccess routine is
835 *	available to do extended access checks.
836 */
837#$d_eaccess HAS_EACCESS		/**/
838
839/* I_SYS_ACCESS:
840 *	This symbol, if defined, indicates to the C program that it should
841 *	include <sys/access.h>.
842 */
843#$i_sysaccess   I_SYS_ACCESS                /**/
844
845/* I_SYS_SECURITY:
846 *	This symbol, if defined, indicates to the C program that it should
847 *	include <sys/security.h>.
848 */
849#$i_syssecrt   I_SYS_SECURITY	/**/
850
851/* MEM_ALIGNBYTES:
852 *	This symbol contains the number of bytes required to align a
853 *	double, or a long double when applicable. Usual values are 2,
854 *	4 and 8. The default is eight, for safety.  For cross-compiling
855 *	or multiarch support, Configure will set a minimum of 8.
856 */
857#define MEM_ALIGNBYTES $alignbytes
858
859/* BYTEORDER:
860 *	This symbol holds the hexadecimal constant defined in byteorder,
861 *	in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
862 *	If the compiler supports cross-compiling or multiple-architecture
863 *	binaries, use compiler-defined macros to
864 *	determine the byte order.
865 */
866#if defined(MULTIARCH)
867#  ifdef __LITTLE_ENDIAN__
868#    if LONGSIZE == 4
869#      define BYTEORDER 0x1234
870#    else
871#      if LONGSIZE == 8
872#        define BYTEORDER 0x12345678
873#      endif
874#    endif
875#  else
876#    ifdef __BIG_ENDIAN__
877#      if LONGSIZE == 4
878#        define BYTEORDER 0x4321
879#      else
880#        if LONGSIZE == 8
881#          define BYTEORDER 0x87654321
882#        endif
883#      endif
884#    endif
885#  endif
886#else
887#define BYTEORDER 0x$byteorder	/* large digits for MSB */
888#endif
889
890/* CHARBITS:
891 *	This symbol contains the size of a char, so that the C preprocessor
892 *	can make decisions based on it.
893 */
894#define CHARBITS $charbits		/**/
895
896/* CASTI32:
897 *	This symbol is defined if the C compiler can cast negative
898 *	or large floating point numbers to 32-bit ints.
899 */
900#$d_casti32	CASTI32		/**/
901
902/* CASTNEGFLOAT:
903 *	This symbol is defined if the C compiler can cast negative
904 *	numbers to unsigned longs, ints and shorts.
905 */
906/* CASTFLAGS:
907 *	This symbol contains flags that say what difficulties the compiler
908 *	has casting odd floating values to unsigned long:
909 *		0 = ok
910 *		1 = couldn't cast < 0
911 *		2 = couldn't cast >= 0x80000000
912 *		4 = couldn't cast in argument expression list
913 */
914#$d_castneg	CASTNEGFLOAT		/**/
915#define CASTFLAGS $castflags		/**/
916
917/* VOID_CLOSEDIR:
918 *	This symbol, if defined, indicates that the closedir() routine
919 *	does not return a value.
920 */
921#$d_void_closedir VOID_CLOSEDIR		/**/
922
923/* HAS_FD_SET:
924 *	This symbol, when defined, indicates presence of the fd_set typedef
925 *	in <sys/types.h>
926 */
927#$d_fd_set HAS_FD_SET	/**/
928
929/* Gconvert:
930 *	This preprocessor macro is defined to convert a floating point
931 *	number to a string without a trailing decimal point.  This
932 *	emulates the behavior of sprintf("%g"), but is sometimes much more
933 *	efficient.  If gconvert() is not available, but gcvt() drops the
934 *	trailing decimal point, then gcvt() is used.  If all else fails,
935 *	a macro using sprintf("%g") is used. Arguments for the Gconvert
936 *	macro are: value, number of digits, whether trailing zeros should
937 *	be retained, and the output buffer.
938 *	The usual values are:
939 *		d_Gconvert='gconvert((x),(n),(t),(b))'
940 *		d_Gconvert='gcvt((x),(n),(b))'
941 *		d_Gconvert='sprintf((b),"%.*g",(n),(x))'
942 *	The last two assume trailing zeros should not be kept.
943 */
944#define Gconvert(x,n,t,b) $d_Gconvert
945
946/* HAS_GETPAGESIZE:
947 *	This symbol, if defined, indicates that the getpagesize system call
948 *	is available to get system page size, which is the granularity of
949 *	many memory management calls.
950 */
951#$d_getpagsz HAS_GETPAGESIZE		/**/
952
953/* HAS_GNULIBC:
954 *	This symbol, if defined, indicates to the C program that
955 *	the GNU C library is being used.  A better check is to use
956 *	the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
957 */
958#$d_gnulibc HAS_GNULIBC	/**/
959#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
960#   define _GNU_SOURCE
961#endif
962
963/* HAS_ISASCII:
964 *	This manifest constant lets the C program know that isascii
965 *	is available.
966 */
967#$d_isascii HAS_ISASCII		/**/
968
969/* HAS_LCHOWN:
970 *	This symbol, if defined, indicates that the lchown routine is
971 *	available to operate on a symbolic link (instead of following the
972 *	link).
973 */
974#$d_lchown HAS_LCHOWN		/**/
975
976/* HAS_OPEN3:
977 *	This manifest constant lets the C program know that the three
978 *	argument form of open(2) is available.
979 */
980#$d_open3 HAS_OPEN3		/**/
981
982/* HAS_SIGACTION:
983 *	This symbol, if defined, indicates that Vr4's sigaction() routine
984 *	is available.
985 */
986#$d_sigaction HAS_SIGACTION	/**/
987
988/* HAS_SIGINFO_SI_ERRNO:
989 *	This symbol, if defined, indicates that siginfo_t has the
990 *	si_errno member
991 */
992/* HAS_SIGINFO_SI_PID:
993 *	This symbol, if defined, indicates that siginfo_t has the
994 *	si_pid member
995 */
996/* HAS_SIGINFO_SI_UID:
997 *	This symbol, if defined, indicates that siginfo_t has the
998 *	si_uid member
999 */
1000/* HAS_SIGINFO_SI_ADDR:
1001 *	This symbol, if defined, indicates that siginfo_t has the
1002 *	si_addr member
1003 */
1004/* HAS_SIGINFO_SI_STATUS:
1005 *	This symbol, if defined, indicates that siginfo_t has the
1006 *	si_status member
1007 */
1008/* HAS_SIGINFO_SI_BAND:
1009 *	This symbol, if defined, indicates that siginfo_t has the
1010 *	si_band member
1011 */
1012/* HAS_SIGINFO_SI_VALUE:
1013 *	This symbol, if defined, indicates that siginfo_t has the
1014 *	si_value member
1015 */
1016#$d_siginfo_si_errno	HAS_SIGINFO_SI_ERRNO	/**/
1017#$d_siginfo_si_pid	HAS_SIGINFO_SI_PID	/**/
1018#$d_siginfo_si_uid	HAS_SIGINFO_SI_UID	/**/
1019#$d_siginfo_si_addr	HAS_SIGINFO_SI_ADDR	/**/
1020#$d_siginfo_si_status	HAS_SIGINFO_SI_STATUS	/**/
1021#$d_siginfo_si_band	HAS_SIGINFO_SI_BAND	/**/
1022#$d_siginfo_si_value	HAS_SIGINFO_SI_VALUE	/**/
1023
1024/* HAS_SIGSETJMP:
1025 *	This variable indicates to the C program that the sigsetjmp()
1026 *	routine is available to save the calling process's registers
1027 *	and stack environment for later use by siglongjmp(), and
1028 *	to optionally save the process's signal mask.  See
1029 *	Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1030 */
1031/* Sigjmp_buf:
1032 *	This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1033 */
1034/* Sigsetjmp:
1035 *	This macro is used in the same way as sigsetjmp(), but will invoke
1036 *	traditional setjmp() if sigsetjmp isn't available.
1037 *	See HAS_SIGSETJMP.
1038 */
1039/* Siglongjmp:
1040 *	This macro is used in the same way as siglongjmp(), but will invoke
1041 *	traditional longjmp() if siglongjmp isn't available.
1042 *	See HAS_SIGSETJMP.
1043 */
1044#$d_sigsetjmp HAS_SIGSETJMP	/**/
1045#ifdef HAS_SIGSETJMP
1046#define Sigjmp_buf sigjmp_buf
1047#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1048#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1049#else
1050#define Sigjmp_buf jmp_buf
1051#define Sigsetjmp(buf,save_mask) setjmp((buf))
1052#define Siglongjmp(buf,retval) longjmp((buf),(retval))
1053#endif
1054
1055/* HAS_STATIC_INLINE:
1056 *	This symbol, if defined, indicates that the C compiler supports
1057 *	C99-style static inline.  That is, the function can't be called
1058 *	from another translation unit.
1059 */
1060/* PERL_STATIC_INLINE:
1061 *	This symbol gives the best-guess incantation to use for static
1062 *	inline functions.  If HAS_STATIC_INLINE is defined, this will
1063 *	give C99-style inline.  If HAS_STATIC_INLINE is not defined,
1064 *	this will give a plain 'static'.  It will always be defined
1065 *	to something that gives static linkage.
1066 *	Possibilities include
1067 *		static inline       (c99)
1068 *		static __inline__   (gcc -ansi)
1069 *		static __inline     (MSVC)
1070 *		static _inline      (older MSVC)
1071 *		static              (c89 compilers)
1072 */
1073#$d_static_inline HAS_STATIC_INLINE				/**/
1074#define PERL_STATIC_INLINE $perl_static_inline	/**/
1075
1076/* USE_STDIO_PTR:
1077 *	This symbol is defined if the _ptr and _cnt fields (or similar)
1078 *	of the stdio FILE structure can be used to access the stdio buffer
1079 *	for a file handle.  If this is defined, then the FILE_ptr(fp)
1080 *	and FILE_cnt(fp) macros will also be defined and should be used
1081 *	to access these fields.
1082 */
1083/* FILE_ptr:
1084 *	This macro is used to access the _ptr field (or equivalent) of the
1085 *	FILE structure pointed to by its argument. This macro will always be
1086 *	defined if USE_STDIO_PTR is defined.
1087 */
1088/* STDIO_PTR_LVALUE:
1089 *	This symbol is defined if the FILE_ptr macro can be used as an
1090 *	lvalue.
1091 */
1092/* FILE_cnt:
1093 *	This macro is used to access the _cnt field (or equivalent) of the
1094 *	FILE structure pointed to by its argument. This macro will always be
1095 *	defined if USE_STDIO_PTR is defined.
1096 */
1097/* STDIO_CNT_LVALUE:
1098 *	This symbol is defined if the FILE_cnt macro can be used as an
1099 *	lvalue.
1100 */
1101/* STDIO_PTR_LVAL_SETS_CNT:
1102 *	This symbol is defined if using the FILE_ptr macro as an lvalue
1103 *	to increase the pointer by n has the side effect of decreasing the
1104 *	value of File_cnt(fp) by n.
1105 */
1106/* STDIO_PTR_LVAL_NOCHANGE_CNT:
1107 *	This symbol is defined if using the FILE_ptr macro as an lvalue
1108 *	to increase the pointer by n leaves File_cnt(fp) unchanged.
1109 */
1110#$d_stdstdio USE_STDIO_PTR	/**/
1111#ifdef USE_STDIO_PTR
1112#define FILE_ptr(fp)	$stdio_ptr
1113#$d_stdio_ptr_lval STDIO_PTR_LVALUE		/**/
1114#define FILE_cnt(fp)	$stdio_cnt
1115#$d_stdio_cnt_lval STDIO_CNT_LVALUE		/**/
1116#$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT	/**/
1117#$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT	/**/
1118#endif
1119
1120/* USE_STDIO_BASE:
1121 *	This symbol is defined if the _base field (or similar) of the
1122 *	stdio FILE structure can be used to access the stdio buffer for
1123 *	a file handle.  If this is defined, then the FILE_base(fp) macro
1124 *	will also be defined and should be used to access this field.
1125 *	Also, the FILE_bufsiz(fp) macro will be defined and should be used
1126 *	to determine the number of bytes in the buffer.  USE_STDIO_BASE
1127 *	will never be defined unless USE_STDIO_PTR is.
1128 */
1129/* FILE_base:
1130 *	This macro is used to access the _base field (or equivalent) of the
1131 *	FILE structure pointed to by its argument. This macro will always be
1132 *	defined if USE_STDIO_BASE is defined.
1133 */
1134/* FILE_bufsiz:
1135 *	This macro is used to determine the number of bytes in the I/O
1136 *	buffer pointed to by _base field (or equivalent) of the FILE
1137 *	structure pointed to its argument. This macro will always be defined
1138 *	if USE_STDIO_BASE is defined.
1139 */
1140#$d_stdiobase USE_STDIO_BASE	/**/
1141#ifdef USE_STDIO_BASE
1142#define FILE_base(fp)	$stdio_base
1143#define FILE_bufsiz(fp)	$stdio_bufsiz
1144#endif
1145
1146/* DOUBLESIZE:
1147 *	This symbol contains the size of a double, so that the C preprocessor
1148 *	can make decisions based on it.
1149 */
1150#define DOUBLESIZE $doublesize		/**/
1151
1152/* I_TIME:
1153 *	This symbol is always defined, and indicates to the C program that
1154 *	it should include <time.h>.
1155 */
1156/* I_SYS_TIME:
1157 *	This symbol, if defined, indicates to the C program that it should
1158 *	include <sys/time.h>.
1159 */
1160/* I_SYS_TIME_KERNEL:
1161 *	This symbol, if defined, indicates to the C program that it should
1162 *	include <sys/time.h> with KERNEL defined.
1163 */
1164/* HAS_TM_TM_ZONE:
1165 *	This symbol, if defined, indicates to the C program that
1166 *	the struct tm has a tm_zone field.
1167 */
1168/* HAS_TM_TM_GMTOFF:
1169 *	This symbol, if defined, indicates to the C program that
1170 *	the struct tm has a tm_gmtoff field.
1171 */
1172#$i_time I_TIME		/**/
1173#$i_systime I_SYS_TIME		/**/
1174#$i_systimek I_SYS_TIME_KERNEL		/**/
1175#$d_tm_tm_zone HAS_TM_TM_ZONE		/**/
1176#$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF		/**/
1177
1178/* VAL_O_NONBLOCK:
1179 *	This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1180 *	non-blocking I/O for the file descriptor. Note that there is no way
1181 *	back, i.e. you cannot turn it blocking again this way. If you wish to
1182 *	alternatively switch between blocking and non-blocking, use the
1183 *	ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1184 */
1185/* VAL_EAGAIN:
1186 *	This symbol holds the errno error code set by read() when no data was
1187 *	present on the non-blocking file descriptor.
1188 */
1189/* RD_NODATA:
1190 *	This symbol holds the return code from read() when no data is present
1191 *	on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1192 *	not defined, then you can't distinguish between no data and EOF by
1193 *	issuing a read(). You'll have to find another way to tell for sure!
1194 */
1195/* EOF_NONBLOCK:
1196 *	This symbol, if defined, indicates to the C program that a read() on
1197 *	a non-blocking file descriptor will return 0 on EOF, and not the value
1198 *	held in RD_NODATA (-1 usually, in that case!).
1199 */
1200#define VAL_O_NONBLOCK $o_nonblock
1201#define VAL_EAGAIN $eagain
1202#define RD_NODATA $rd_nodata
1203#$d_eofnblk EOF_NONBLOCK
1204
1205/* PTRSIZE:
1206 *	This symbol contains the size of a pointer, so that the C preprocessor
1207 *	can make decisions based on it.  It will be sizeof(void *) if
1208 *	the compiler supports (void *); otherwise it will be
1209 *	sizeof(char *).
1210 */
1211#define PTRSIZE $ptrsize		/**/
1212
1213/* Drand01:
1214 *	This macro is to be used to generate uniformly distributed
1215 *	random numbers over the range [0., 1.[.  You may have to supply
1216 *	an 'extern double drand48();' in your program since SunOS 4.1.3
1217 *	doesn't provide you with anything relevant in its headers.
1218 *	See HAS_DRAND48_PROTO.
1219 */
1220/* Rand_seed_t:
1221 *	This symbol defines the type of the argument of the
1222 *	random seed function.
1223 */
1224/* seedDrand01:
1225 *	This symbol defines the macro to be used in seeding the
1226 *	random number generator (see Drand01).
1227 */
1228/* RANDBITS:
1229 *	This symbol indicates how many bits are produced by the
1230 *	function used to generate normalized random numbers.
1231 *	Values include 15, 16, 31, and 48.
1232 */
1233#define Drand01()		$drand01		/**/
1234#define Rand_seed_t		$randseedtype		/**/
1235#define seedDrand01(x)	$seedfunc((Rand_seed_t)x)	/**/
1236#define RANDBITS		$randbits		/**/
1237
1238/* SSize_t:
1239 *	This symbol holds the type used by functions that return
1240 *	a count of bytes or an error condition.  It must be a signed type.
1241 *	It is usually ssize_t, but may be long or int, etc.
1242 *	It may be necessary to include <sys/types.h> or <unistd.h>
1243 *	to get any typedef'ed information.
1244 *	We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1245 */
1246#define SSize_t $ssizetype	/* signed count of bytes */
1247
1248/* EBCDIC:
1249 *	This symbol, if defined, indicates that this system uses
1250 *	EBCDIC encoding.
1251 */
1252#$ebcdic	EBCDIC		/**/
1253
1254/* ARCHLIB:
1255 *	This variable, if defined, holds the name of the directory in
1256 *	which the user wants to put architecture-dependent public
1257 *	library files for $package.  It is most often a local directory
1258 *	such as /usr/local/lib.  Programs using this variable must be
1259 *	prepared to deal with filename expansion.  If ARCHLIB is the
1260 *	same as PRIVLIB, it is not defined, since presumably the
1261 *	program already searches PRIVLIB.
1262 */
1263/* ARCHLIB_EXP:
1264 *	This symbol contains the ~name expanded version of ARCHLIB, to be used
1265 *	in programs that are not prepared to deal with ~ expansion at run-time.
1266 */
1267#$d_archlib ARCHLIB "$archlib"		/**/
1268#$d_archlib ARCHLIB_EXP "$archlibexp"		/**/
1269
1270/* BIN:
1271 *	This symbol holds the path of the bin directory where the package will
1272 *	be installed. Program must be prepared to deal with ~name substitution.
1273 */
1274/* BIN_EXP:
1275 *	This symbol is the filename expanded version of the BIN symbol, for
1276 *	programs that do not want to deal with that at run-time.
1277 */
1278/* PERL_RELOCATABLE_INC:
1279 *	This symbol, if defined, indicates that we'd like to relocate entries
1280 *	in @INC at run time based on the location of the perl binary.
1281 */
1282#define BIN "$bin"	/**/
1283#define BIN_EXP "$binexp"	/**/
1284#define PERL_RELOCATABLE_INC "$userelocatableinc"		/**/
1285
1286/* PERL_INC_VERSION_LIST:
1287 *	This variable specifies the list of subdirectories in over
1288 *	which perl.c:incpush() and lib/lib.pm will automatically
1289 *	search when adding directories to @INC, in a format suitable
1290 *	for a C initialization string.  See the inc_version_list entry
1291 *	in Porting/Glossary for more details.
1292 */
1293#$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init		/**/
1294
1295/* INSTALL_USR_BIN_PERL:
1296 *	This symbol, if defined, indicates that Perl is to be installed
1297 *	also as /usr/bin/perl.
1298 */
1299#$installusrbinperl INSTALL_USR_BIN_PERL	/**/
1300
1301/* PERL_OTHERLIBDIRS:
1302 *	This variable contains a colon-separated set of paths for the perl
1303 *	binary to search for additional library files or modules.
1304 *	These directories will be tacked to the end of @INC.
1305 *	Perl will automatically search below each path for version-
1306 *	and architecture-specific directories.  See PERL_INC_VERSION_LIST
1307 *	for more details.
1308 */
1309#$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs"		/**/
1310
1311/* PRIVLIB:
1312 *	This symbol contains the name of the private library for this package.
1313 *	The library is private in the sense that it needn't be in anyone's
1314 *	execution path, but it should be accessible by the world.  The program
1315 *	should be prepared to do ~ expansion.
1316 */
1317/* PRIVLIB_EXP:
1318 *	This symbol contains the ~name expanded version of PRIVLIB, to be used
1319 *	in programs that are not prepared to deal with ~ expansion at run-time.
1320 */
1321#define PRIVLIB "$privlib"		/**/
1322#define PRIVLIB_EXP "$privlibexp"		/**/
1323
1324/* SITEARCH:
1325 *	This symbol contains the name of the private library for this package.
1326 *	The library is private in the sense that it needn't be in anyone's
1327 *	execution path, but it should be accessible by the world.  The program
1328 *	should be prepared to do ~ expansion.
1329 *	The standard distribution will put nothing in this directory.
1330 *	After perl has been installed, users may install their own local
1331 *	architecture-dependent modules in this directory with
1332 *		MakeMaker Makefile.PL
1333 *	or equivalent.  See INSTALL for details.
1334 */
1335/* SITEARCH_EXP:
1336 *	This symbol contains the ~name expanded version of SITEARCH, to be used
1337 *	in programs that are not prepared to deal with ~ expansion at run-time.
1338 */
1339#$d_sitearch SITEARCH "$sitearch"		/**/
1340#$d_sitearch SITEARCH_EXP "$sitearchexp"		/**/
1341
1342/* SITELIB:
1343 *	This symbol contains the name of the private library for this package.
1344 *	The library is private in the sense that it needn't be in anyone's
1345 *	execution path, but it should be accessible by the world.  The program
1346 *	should be prepared to do ~ expansion.
1347 *	The standard distribution will put nothing in this directory.
1348 *	After perl has been installed, users may install their own local
1349 *	architecture-independent modules in this directory with
1350 *		MakeMaker Makefile.PL
1351 *	or equivalent.  See INSTALL for details.
1352 */
1353/* SITELIB_EXP:
1354 *	This symbol contains the ~name expanded version of SITELIB, to be used
1355 *	in programs that are not prepared to deal with ~ expansion at run-time.
1356 */
1357/* SITELIB_STEM:
1358 *	This define is SITELIB_EXP with any trailing version-specific component
1359 *	removed.  The elements in inc_version_list (inc_version_list.U) can
1360 *	be tacked onto this variable to generate a list of directories to search.
1361 */
1362#define SITELIB "$sitelib"		/**/
1363#define SITELIB_EXP "$sitelibexp"		/**/
1364#define SITELIB_STEM "$sitelib_stem"		/**/
1365
1366/* PERL_VENDORARCH:
1367 *	If defined, this symbol contains the name of a private library.
1368 *	The library is private in the sense that it needn't be in anyone's
1369 *	execution path, but it should be accessible by the world.
1370 *	It may have a ~ on the front.
1371 *	The standard distribution will put nothing in this directory.
1372 *	Vendors who distribute perl may wish to place their own
1373 *	architecture-dependent modules and extensions in this directory with
1374 *		MakeMaker Makefile.PL INSTALLDIRS=vendor
1375 *	or equivalent.  See INSTALL for details.
1376 */
1377/* PERL_VENDORARCH_EXP:
1378 *	This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
1379 *	in programs that are not prepared to deal with ~ expansion at run-time.
1380 */
1381#$d_vendorarch PERL_VENDORARCH "$vendorarch"		/**/
1382#$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp"		/**/
1383
1384/* PERL_VENDORLIB_EXP:
1385 *	This symbol contains the ~name expanded version of VENDORLIB, to be used
1386 *	in programs that are not prepared to deal with ~ expansion at run-time.
1387 */
1388/* PERL_VENDORLIB_STEM:
1389 *	This define is PERL_VENDORLIB_EXP with any trailing version-specific component
1390 *	removed.  The elements in inc_version_list (inc_version_list.U) can
1391 *	be tacked onto this variable to generate a list of directories to search.
1392 */
1393#$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp"		/**/
1394#$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem"		/**/
1395
1396/* OSNAME:
1397 *	This symbol contains the name of the operating system, as determined
1398 *	by Configure.  You shouldn't rely on it too much; the specific
1399 *	feature tests from Configure are generally more reliable.
1400 */
1401/* OSVERS:
1402 *	This symbol contains the version of the operating system, as determined
1403 *	by Configure.  You shouldn't rely on it too much; the specific
1404 *	feature tests from Configure are generally more reliable.
1405 */
1406#define OSNAME "$osname"		/**/
1407#define OSVERS "$osvers"		/**/
1408
1409/* CAT2:
1410 *	This macro concatenates 2 tokens together.
1411 */
1412/* STRINGIFY:
1413 *	This macro surrounds its token with double quotes.
1414 */
1415#if $cpp_stuff == 1
1416#define CAT2(a,b)	a/**/b
1417#define STRINGIFY(a)	"a"
1418#endif
1419#if $cpp_stuff == 42
1420#define PeRl_CaTiFy(a, b)	a ## b
1421#define PeRl_StGiFy(a)	#a
1422#define CAT2(a,b)	PeRl_CaTiFy(a,b)
1423#define StGiFy(a)	PeRl_StGiFy(a)
1424#define STRINGIFY(a)	PeRl_StGiFy(a)
1425#endif
1426#if $cpp_stuff != 1 && $cpp_stuff != 42
1427#include "Bletch: How does this C preprocessor concatenate tokens?"
1428#endif
1429
1430/* CPPSTDIN:
1431 *	This symbol contains the first part of the string which will invoke
1432 *	the C preprocessor on the standard input and produce to standard
1433 *	output.  Typical value of "cc -E" or "/lib/cpp", but it can also
1434 *	call a wrapper. See CPPRUN.
1435 */
1436/* CPPMINUS:
1437 *	This symbol contains the second part of the string which will invoke
1438 *	the C preprocessor on the standard input and produce to standard
1439 *	output.  This symbol will have the value "-" if CPPSTDIN needs a minus
1440 *	to specify standard input, otherwise the value is "".
1441 */
1442/* CPPRUN:
1443 *	This symbol contains the string which will invoke a C preprocessor on
1444 *	the standard input and produce to standard output. It needs to end
1445 *	with CPPLAST, after all other preprocessor flags have been specified.
1446 *	The main difference with CPPSTDIN is that this program will never be a
1447 *	pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1448 *	available directly to the user. Note that it may well be different from
1449 *	the preprocessor used to compile the C program.
1450 */
1451/* CPPLAST:
1452 *	This symbol is intended to be used along with CPPRUN in the same manner
1453 *	symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1454 */
1455#define CPPSTDIN "$cppstdin"
1456#define CPPMINUS "$cppminus"
1457#define CPPRUN "$cpprun"
1458#define CPPLAST "$cpplast"
1459
1460/* HAS_ACCESS:
1461 *	This manifest constant lets the C program know that the access()
1462 *	system call is available to check for accessibility using real UID/GID.
1463 *	(always present on UNIX.)
1464 */
1465#$d_access HAS_ACCESS		/**/
1466
1467/* HASATTRIBUTE_FORMAT:
1468 *	Can we handle GCC attribute for checking printf-style formats
1469 */
1470/* PRINTF_FORMAT_NULL_OK:
1471 *	Allows __printf__ format to be null when checking printf-style
1472 */
1473/* HASATTRIBUTE_MALLOC:
1474 *	Can we handle GCC attribute for malloc-style functions.
1475 */
1476/* HASATTRIBUTE_NONNULL:
1477 *	Can we handle GCC attribute for nonnull function parms.
1478 */
1479/* HASATTRIBUTE_NORETURN:
1480 *	Can we handle GCC attribute for functions that do not return
1481 */
1482/* HASATTRIBUTE_PURE:
1483 *	Can we handle GCC attribute for pure functions
1484 */
1485/* HASATTRIBUTE_UNUSED:
1486 *	Can we handle GCC attribute for unused variables and arguments
1487 */
1488/* HASATTRIBUTE_DEPRECATED:
1489 *	Can we handle GCC attribute for marking deprecated APIs
1490 */
1491/* HASATTRIBUTE_WARN_UNUSED_RESULT:
1492 *	Can we handle GCC attribute for warning on unused results
1493 */
1494/* HASATTRIBUTE_ALWAYS_INLINE:
1495 *	Can we handle GCC attribute for functions that should always be
1496 *	inlined.
1497 */
1498/* HASATTRIBUTE_VISIBILITY:
1499 *	Can we handle GCC attribute for functions that should have a
1500 *	different visibility.
1501 */
1502#$d_attribute_deprecated HASATTRIBUTE_DEPRECATED	/**/
1503#$d_attribute_format HASATTRIBUTE_FORMAT	/**/
1504#$d_printf_format_null PRINTF_FORMAT_NULL_OK	/**/
1505#$d_attribute_noreturn HASATTRIBUTE_NORETURN	/**/
1506#$d_attribute_malloc HASATTRIBUTE_MALLOC	/**/
1507#$d_attribute_nonnull HASATTRIBUTE_NONNULL	/**/
1508#$d_attribute_pure HASATTRIBUTE_PURE	/**/
1509#$d_attribute_unused HASATTRIBUTE_UNUSED	/**/
1510#$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT	/**/
1511#$d_attribute_always_inline HASATTRIBUTE_ALWAYS_INLINE	/**/
1512#$d_attribute_visibility HASATTRIBUTE_VISIBILITY	/**/
1513
1514/* HAS_BACKTRACE:
1515 *	This symbol, if defined, indicates that the backtrace() routine is
1516 *	available to get a stack trace.  The <execinfo.h> header must be
1517 *	included to use this routine.
1518 */
1519#$d_backtrace HAS_BACKTRACE	/**/
1520
1521/* HAS_CSH:
1522 *	This symbol, if defined, indicates that the C-shell exists.
1523 */
1524/* CSH:
1525 *	This symbol, if defined, contains the full pathname of csh.
1526 */
1527#$d_csh HAS_CSH		/**/
1528#ifdef HAS_CSH
1529#define CSH "$full_csh"	/**/
1530#endif
1531
1532/* HAS_DLADDR:
1533 *	This symbol, if defined, indicates that the dladdr() routine is
1534 *	available to query dynamic linker information for an address.
1535 *	The <dlfcn.h> header must be included to use this routine.
1536 */
1537#$d_dladdr HAS_DLADDR	/**/
1538
1539/* SETUID_SCRIPTS_ARE_SECURE_NOW:
1540 *	This symbol, if defined, indicates that the bug that prevents
1541 *	setuid scripts from being secure is not present in this kernel.
1542 */
1543/* DOSUID:
1544 *	This symbol, if defined, indicates that the C program should
1545 *	check the script that it is executing for setuid/setgid bits, and
1546 *	attempt to emulate setuid/setgid on systems that have disabled
1547 *	setuid #! scripts because the kernel can't do it securely.
1548 *	It is up to the package designer to make sure that this emulation
1549 *	is done securely.  Among other things, it should do an fstat on
1550 *	the script it just opened to make sure it really is a setuid/setgid
1551 *	script, it should make sure the arguments passed correspond exactly
1552 *	to the argument on the #! line, and it should not trust any
1553 *	subprocesses to which it must pass the filename rather than the
1554 *	file descriptor of the script to be executed.
1555 */
1556#$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW	/**/
1557#$d_dosuid DOSUID		/**/
1558
1559/* HAS_ENDGRENT:
1560 *	This symbol, if defined, indicates that the getgrent routine is
1561 *	available for finalizing sequential access of the group database.
1562 */
1563#$d_endgrent HAS_ENDGRENT		/**/
1564
1565/* HAS_ENDHOSTENT:
1566 *	This symbol, if defined, indicates that the endhostent() routine is
1567 *	available to close whatever was being used for host queries.
1568 */
1569#$d_endhent HAS_ENDHOSTENT		/**/
1570
1571/* HAS_ENDNETENT:
1572 *	This symbol, if defined, indicates that the endnetent() routine is
1573 *	available to close whatever was being used for network queries.
1574 */
1575#$d_endnent HAS_ENDNETENT		/**/
1576
1577/* HAS_ENDPROTOENT:
1578 *	This symbol, if defined, indicates that the endprotoent() routine is
1579 *	available to close whatever was being used for protocol queries.
1580 */
1581#$d_endpent HAS_ENDPROTOENT		/**/
1582
1583/* HAS_ENDPWENT:
1584 *	This symbol, if defined, indicates that the endpwent routine is
1585 *	available for finalizing sequential access of the passwd database.
1586 */
1587#$d_endpwent HAS_ENDPWENT		/**/
1588
1589/* HAS_ENDSERVENT:
1590 *	This symbol, if defined, indicates that the endservent() routine is
1591 *	available to close whatever was being used for service queries.
1592 */
1593#$d_endsent HAS_ENDSERVENT		/**/
1594
1595/* FLEXFILENAMES:
1596 *	This symbol, if defined, indicates that the system supports filenames
1597 *	longer than 14 characters.
1598 */
1599#$d_flexfnam	FLEXFILENAMES		/**/
1600
1601/* HAS_GETGRENT:
1602 *	This symbol, if defined, indicates that the getgrent routine is
1603 *	available for sequential access of the group database.
1604 */
1605#$d_getgrent HAS_GETGRENT		/**/
1606
1607/* HAS_GETHOSTBYADDR:
1608 *	This symbol, if defined, indicates that the gethostbyaddr() routine is
1609 *	available to look up hosts by their IP addresses.
1610 */
1611#$d_gethbyaddr HAS_GETHOSTBYADDR		/**/
1612
1613/* HAS_GETHOSTBYNAME:
1614 *	This symbol, if defined, indicates that the gethostbyname() routine is
1615 *	available to look up host names in some data base or other.
1616 */
1617#$d_gethbyname HAS_GETHOSTBYNAME		/**/
1618
1619/* HAS_GETHOSTENT:
1620 *	This symbol, if defined, indicates that the gethostent() routine is
1621 *	available to look up host names in some data base or another.
1622 */
1623#$d_gethent HAS_GETHOSTENT		/**/
1624
1625/* HAS_GETHOSTNAME:
1626 *	This symbol, if defined, indicates that the C program may use the
1627 *	gethostname() routine to derive the host name.  See also HAS_UNAME
1628 *	and PHOSTNAME.
1629 */
1630/* HAS_UNAME:
1631 *	This symbol, if defined, indicates that the C program may use the
1632 *	uname() routine to derive the host name.  See also HAS_GETHOSTNAME
1633 *	and PHOSTNAME.
1634 */
1635/* PHOSTNAME:
1636 *	This symbol, if defined, indicates the command to feed to the
1637 *	popen() routine to derive the host name.  See also HAS_GETHOSTNAME
1638 *	and HAS_UNAME.	Note that the command uses a fully qualified path,
1639 *	so that it is safe even if used by a process with super-user
1640 *	privileges.
1641 */
1642/* HAS_PHOSTNAME:
1643 *	This symbol, if defined, indicates that the C program may use the
1644 *	contents of PHOSTNAME as a command to feed to the popen() routine
1645 *	to derive the host name.
1646 */
1647#$d_gethname HAS_GETHOSTNAME	/**/
1648#$d_uname HAS_UNAME		/**/
1649#$d_phostname HAS_PHOSTNAME	/**/
1650#ifdef HAS_PHOSTNAME
1651#define PHOSTNAME "$aphostname"	/* How to get the host name */
1652#endif
1653
1654/* HAS_GETNETBYADDR:
1655 *	This symbol, if defined, indicates that the getnetbyaddr() routine is
1656 *	available to look up networks by their IP addresses.
1657 */
1658#$d_getnbyaddr HAS_GETNETBYADDR		/**/
1659
1660/* HAS_GETNETBYNAME:
1661 *	This symbol, if defined, indicates that the getnetbyname() routine is
1662 *	available to look up networks by their names.
1663 */
1664#$d_getnbyname HAS_GETNETBYNAME		/**/
1665
1666/* HAS_GETNETENT:
1667 *	This symbol, if defined, indicates that the getnetent() routine is
1668 *	available to look up network names in some data base or another.
1669 */
1670#$d_getnent HAS_GETNETENT		/**/
1671
1672/* HAS_GETPROTOENT:
1673 *	This symbol, if defined, indicates that the getprotoent() routine is
1674 *	available to look up protocols in some data base or another.
1675 */
1676#$d_getpent HAS_GETPROTOENT		/**/
1677
1678/* HAS_GETPGRP:
1679 *	This symbol, if defined, indicates that the getpgrp routine is
1680 *	available to get the current process group.
1681 */
1682/* USE_BSD_GETPGRP:
1683 *	This symbol, if defined, indicates that getpgrp needs one
1684 *	arguments whereas USG one needs none.
1685 */
1686#$d_getpgrp HAS_GETPGRP		/**/
1687#$d_bsdgetpgrp USE_BSD_GETPGRP	/**/
1688
1689/* HAS_GETPROTOBYNAME:
1690 *	This symbol, if defined, indicates that the getprotobyname()
1691 *	routine is available to look up protocols by their name.
1692 */
1693/* HAS_GETPROTOBYNUMBER:
1694 *	This symbol, if defined, indicates that the getprotobynumber()
1695 *	routine is available to look up protocols by their number.
1696 */
1697#$d_getpbyname HAS_GETPROTOBYNAME		/**/
1698#$d_getpbynumber HAS_GETPROTOBYNUMBER		/**/
1699
1700/* HAS_GETPWENT:
1701 *	This symbol, if defined, indicates that the getpwent routine is
1702 *	available for sequential access of the passwd database.
1703 *	If this is not available, the older getpw() function may be available.
1704 */
1705#$d_getpwent HAS_GETPWENT		/**/
1706
1707/* HAS_GETSERVENT:
1708 *	This symbol, if defined, indicates that the getservent() routine is
1709 *	available to look up network services in some data base or another.
1710 */
1711#$d_getsent HAS_GETSERVENT		/**/
1712
1713/* HAS_GETSERVBYNAME:
1714 *	This symbol, if defined, indicates that the getservbyname()
1715 *	routine is available to look up services by their name.
1716 */
1717/* HAS_GETSERVBYPORT:
1718 *	This symbol, if defined, indicates that the getservbyport()
1719 *	routine is available to look up services by their port.
1720 */
1721#$d_getsbyname HAS_GETSERVBYNAME		/**/
1722#$d_getsbyport HAS_GETSERVBYPORT		/**/
1723
1724/* HAS_HTONL:
1725 *	This symbol, if defined, indicates that the htonl() routine (and
1726 *	friends htons() ntohl() ntohs()) are available to do network
1727 *	order byte swapping.
1728 */
1729/* HAS_HTONS:
1730 *	This symbol, if defined, indicates that the htons() routine (and
1731 *	friends htonl() ntohl() ntohs()) are available to do network
1732 *	order byte swapping.
1733 */
1734/* HAS_NTOHL:
1735 *	This symbol, if defined, indicates that the ntohl() routine (and
1736 *	friends htonl() htons() ntohs()) are available to do network
1737 *	order byte swapping.
1738 */
1739/* HAS_NTOHS:
1740 *	This symbol, if defined, indicates that the ntohs() routine (and
1741 *	friends htonl() htons() ntohl()) are available to do network
1742 *	order byte swapping.
1743 */
1744#$d_htonl HAS_HTONL		/**/
1745#$d_htonl HAS_HTONS		/**/
1746#$d_htonl HAS_NTOHL		/**/
1747#$d_htonl HAS_NTOHS		/**/
1748
1749/* HAS_LONG_DOUBLE:
1750 *	This symbol will be defined if the C compiler supports long
1751 *	doubles.
1752 */
1753/* LONG_DOUBLESIZE:
1754 *	This symbol contains the size of a long double, so that the
1755 *	C preprocessor can make decisions based on it.  It is only
1756 *	defined if the system supports long doubles.  Note that this
1757 *	is sizeof(long double), which may include unused bytes.
1758 */
1759/* HAS_LDEXPL:
1760 *	This symbol, if defined, indicates that the ldexpl routine is
1761 *	available to shift a long double floating-point number
1762 *	by an integral power of 2.
1763 */
1764/* LONG_DOUBLEKIND:
1765 *	LONG_DOUBLEKIND will be one of
1766 *	LONG_DOUBLE_IS_DOUBLE
1767 *	LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
1768 *	LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
1769 *	LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN
1770 *	LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN
1771 *	LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE
1772 *	LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE
1773 *	LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE
1774 *	LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE
1775 *	LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN
1776 *	LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN
1777 *	LONG_DOUBLE_IS_VAX_H_FLOAT
1778 *	LONG_DOUBLE_IS_UNKNOWN_FORMAT
1779 *	It is only defined if the system supports long doubles.
1780 */
1781/* LONG_DOUBLE_STYLE_IEEE:
1782 *	This symbol, if defined, indicates that the long double
1783 *	is any of the IEEE 754 style long doubles:
1784 *	LONG_DOUBLE_STYLE_IEEE_STD, LONG_DOUBLE_STYLE_IEEE_EXTENDED,
1785 *	LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE.
1786 */
1787/* LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE:
1788 *	This symbol, if defined, indicates that the long double is
1789 *	the 128-bit double-double.
1790 */
1791/* LONG_DOUBLE_STYLE_IEEE_EXTENDED:
1792 *	This symbol, if defined, indicates that the long double is
1793 *	the 80-bit IEEE 754. Note that despite the 'extended' this
1794 *	is less than the 'std', since this is an extension of
1795 *	the double precision.
1796 */
1797/* LONG_DOUBLE_STYLE_IEEE_STD:
1798 *	This symbol, if defined, indicates that the long double is
1799 *	the 128-bit IEEE 754.
1800 */
1801/* LONG_DOUBLE_STYLE_VAX:
1802 *	This symbol, if defined, indicates that the long double is
1803 *	the 128-bit VAX format H.
1804 */
1805#$d_ldexpl  HAS_LDEXPL		/**/
1806#$d_longdbl HAS_LONG_DOUBLE		/**/
1807#ifdef HAS_LONG_DOUBLE
1808#define LONG_DOUBLESIZE $longdblsize		/**/
1809#define LONG_DOUBLEKIND $longdblkind		/**/
1810#define LONG_DOUBLE_IS_DOUBLE				0
1811#define LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN	1
1812#define LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN	2
1813#define LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN		3
1814#define LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN		4
1815#define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE	5
1816#define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE	6
1817#define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE	7
1818#define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE	8
1819#define LONG_DOUBLE_IS_VAX_H_FLOAT			9
1820#define LONG_DOUBLE_IS_UNKNOWN_FORMAT			-1
1821#define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN	LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE /* back-compat */
1822#define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN	LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE /* back-compat */
1823#$d_long_double_style_ieee LONG_DOUBLE_STYLE_IEEE
1824#$d_long_double_style_ieee_doubledouble LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE
1825#$d_long_double_style_ieee_extended LONG_DOUBLE_STYLE_IEEE_EXTENDED
1826#$d_long_double_style_ieee_std LONG_DOUBLE_STYLE_IEEE_STD
1827#$d_long_double_style_vax LONG_DOUBLE_STYLE_VAX
1828#endif
1829
1830/* HAS_LONG_LONG:
1831 *	This symbol will be defined if the C compiler supports long long.
1832 */
1833/* LONGLONGSIZE:
1834 *	This symbol contains the size of a long long, so that the
1835 *	C preprocessor can make decisions based on it.  It is only
1836 *	defined if the system supports long long.
1837 */
1838#$d_longlong HAS_LONG_LONG		/**/
1839#ifdef HAS_LONG_LONG
1840#define LONGLONGSIZE $longlongsize		/**/
1841#endif
1842
1843/* HAS_MKSTEMP:
1844 *	This symbol, if defined, indicates that the mkstemp routine is
1845 *	available to exclusively create and open a uniquely named
1846 *	temporary file.
1847 */
1848#$d_mkstemp HAS_MKSTEMP		/**/
1849
1850/* HAS_MMAP:
1851 *	This symbol, if defined, indicates that the mmap system call is
1852 *	available to map a file into memory.
1853 */
1854/* Mmap_t:
1855 *	This symbol holds the return type of the mmap() system call
1856 *	(and simultaneously the type of the first argument).
1857 *	Usually set to 'void *' or 'caddr_t'.
1858 */
1859#$d_mmap HAS_MMAP		/**/
1860#define Mmap_t $mmaptype	/**/
1861
1862/* HAS_SETGRENT:
1863 *	This symbol, if defined, indicates that the setgrent routine is
1864 *	available for initializing sequential access of the group database.
1865 */
1866#$d_setgrent HAS_SETGRENT		/**/
1867
1868/* HAS_SETHOSTENT:
1869 *	This symbol, if defined, indicates that the sethostent() routine is
1870 *	available.
1871 */
1872#$d_sethent HAS_SETHOSTENT		/**/
1873
1874/* HAS_SETNETENT:
1875 *	This symbol, if defined, indicates that the setnetent() routine is
1876 *	available.
1877 */
1878#$d_setnent HAS_SETNETENT		/**/
1879
1880/* HAS_SETPROTOENT:
1881 *	This symbol, if defined, indicates that the setprotoent() routine is
1882 *	available.
1883 */
1884#$d_setpent HAS_SETPROTOENT		/**/
1885
1886/* HAS_SETPGRP:
1887 *	This symbol, if defined, indicates that the setpgrp routine is
1888 *	available to set the current process group.
1889 */
1890/* USE_BSD_SETPGRP:
1891 *	This symbol, if defined, indicates that setpgrp needs two
1892 *	arguments whereas USG one needs none.  See also HAS_SETPGID
1893 *	for a POSIX interface.
1894 */
1895#$d_setpgrp HAS_SETPGRP		/**/
1896#$d_bsdsetpgrp USE_BSD_SETPGRP	/**/
1897
1898/* HAS_SETPWENT:
1899 *	This symbol, if defined, indicates that the setpwent routine is
1900 *	available for initializing sequential access of the passwd database.
1901 */
1902#$d_setpwent HAS_SETPWENT		/**/
1903
1904/* HAS_SETSERVENT:
1905 *	This symbol, if defined, indicates that the setservent() routine is
1906 *	available.
1907 */
1908#$d_setsent HAS_SETSERVENT		/**/
1909
1910/* HAS_SETVBUF:
1911 *	This symbol, if defined, indicates that the setvbuf routine is
1912 *	available to change buffering on an open stdio stream.
1913 *	to a line-buffered mode.
1914 */
1915#$d_setvbuf HAS_SETVBUF		/**/
1916
1917/* HAS_SHM:
1918 *	This symbol, if defined, indicates that the entire shm*(2) library is
1919 *	supported.
1920 */
1921#$d_shm HAS_SHM		/**/
1922
1923/* Shmat_t:
1924 *	This symbol holds the return type of the shmat() system call.
1925 *	Usually set to 'void *' or 'char *'.
1926 */
1927/* HAS_SHMAT_PROTOTYPE:
1928 *	This symbol, if defined, indicates that the sys/shm.h includes
1929 *	a prototype for shmat().  Otherwise, it is up to the program to
1930 *	guess one.  Shmat_t shmat(int, Shmat_t, int) is a good guess,
1931 *	but not always right so it should be emitted by the program only
1932 *	when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
1933 */
1934#define Shmat_t $shmattype	/**/
1935#$d_shmatprototype HAS_SHMAT_PROTOTYPE	/**/
1936
1937/* HAS_SOCKET:
1938 *	This symbol, if defined, indicates that the BSD socket interface is
1939 *	supported.
1940 */
1941/* HAS_SOCKETPAIR:
1942 *	This symbol, if defined, indicates that the BSD socketpair() call is
1943 *	supported.
1944 */
1945/* HAS_SOCKADDR_SA_LEN:
1946 *	This symbol, if defined, indicates that the struct sockaddr
1947 *	structure has a member called sa_len, indicating the length of
1948 *	the structure.
1949 */
1950/* HAS_SOCKADDR_IN6:
1951 *	This symbol, if defined, indicates the availability of
1952 *	struct sockaddr_in6;
1953 */
1954/* HAS_SOCKADDR_STORAGE:
1955 *	This symbol, if defined, indicates the availability of
1956 *	struct sockaddr_storage;
1957 */
1958/* HAS_SIN6_SCOPE_ID:
1959 *	This symbol, if defined, indicates that the struct sockaddr_in6
1960 *	structure has a member called sin6_scope_id.
1961 */
1962/* HAS_IP_MREQ:
1963 *	This symbol, if defined, indicates the availability of
1964 *	struct ip_mreq;
1965 */
1966/* HAS_IP_MREQ_SOURCE:
1967 *	This symbol, if defined, indicates the availability of
1968 *	struct ip_mreq_source;
1969 */
1970/* HAS_IPV6_MREQ:
1971 *	This symbol, if defined, indicates the availability of
1972 *	struct ipv6_mreq;
1973 */
1974/* HAS_IPV6_MREQ_SOURCE:
1975 *	This symbol, if defined, indicates the availability of
1976 *	struct ipv6_mreq_source;
1977 */
1978#$d_socket	HAS_SOCKET		/**/
1979#$d_sockpair	HAS_SOCKETPAIR	/**/
1980#$d_sockaddr_sa_len	HAS_SOCKADDR_SA_LEN	/**/
1981#$d_sockaddr_in6	HAS_SOCKADDR_IN6	/**/
1982#$d_sockaddr_storage	HAS_SOCKADDR_STORAGE	/**/
1983#$d_sin6_scope_id	HAS_SIN6_SCOPE_ID	/**/
1984#$d_ip_mreq	HAS_IP_MREQ	/**/
1985#$d_ip_mreq_source	HAS_IP_MREQ_SOURCE	/**/
1986#$d_ipv6_mreq	HAS_IPV6_MREQ	/**/
1987#$d_ipv6_mreq_source	HAS_IPV6_MREQ_SOURCE	/**/
1988
1989/* USE_STAT_BLOCKS:
1990 *	This symbol is defined if this system has a stat structure declaring
1991 *	st_blksize and st_blocks.
1992 */
1993#ifndef USE_STAT_BLOCKS
1994#$d_statblks USE_STAT_BLOCKS	/**/
1995#endif
1996
1997/* HAS_SYS_ERRLIST:
1998 *	This symbol, if defined, indicates that the sys_errlist array is
1999 *	available to translate error numbers to strings. The extern int
2000 *	sys_nerr gives the size of that table.
2001 */
2002#$d_syserrlst HAS_SYS_ERRLIST	/**/
2003
2004/* HAS_STRTOUL:
2005 *	This symbol, if defined, indicates that the strtoul routine is
2006 *	available to provide conversion of strings to unsigned long.
2007 */
2008#$d_strtoul HAS_STRTOUL	/**/
2009
2010/* HAS_UNION_SEMUN:
2011 *	This symbol, if defined, indicates that the union semun is
2012 *	defined by including <sys/sem.h>.  If not, the user code
2013 *	probably needs to define it as:
2014 *	 union semun {
2015 *	    int val;
2016 *	    struct semid_ds *buf;
2017 *	    unsigned short *array;
2018 *	 }
2019 */
2020/* USE_SEMCTL_SEMUN:
2021 *	This symbol, if defined, indicates that union semun is
2022 *	used for semctl IPC_STAT.
2023 */
2024/* USE_SEMCTL_SEMID_DS:
2025 *	This symbol, if defined, indicates that struct semid_ds * is
2026 *	used for semctl IPC_STAT.
2027 */
2028#$d_union_semun HAS_UNION_SEMUN	/**/
2029#$d_semctl_semun USE_SEMCTL_SEMUN	/**/
2030#$d_semctl_semid_ds USE_SEMCTL_SEMID_DS	/**/
2031
2032/* HAS_VFORK:
2033 *	This symbol, if defined, indicates that vfork() exists.
2034 */
2035#$d_vfork HAS_VFORK	/**/
2036
2037/* HAS_PSEUDOFORK:
2038 *	This symbol, if defined, indicates that an emulation of the
2039 *	fork routine is available.
2040 */
2041#$d_pseudofork HAS_PSEUDOFORK	/**/
2042
2043/* Signal_t:
2044 *	This symbol's value is either "void" or "int", corresponding to the
2045 *	appropriate return type of a signal handler.  Thus, you can declare
2046 *	a signal handler using "Signal_t (*handler)()", and define the
2047 *	handler using "Signal_t handler(sig)".
2048 */
2049#define Signal_t $signal_t	/* Signal handler's return type */
2050
2051/* I_DIRENT:
2052 *	This symbol, if defined, indicates to the C program that it should
2053 *	include <dirent.h>. Using this symbol also triggers the definition
2054 *	of the Direntry_t define which ends up being 'struct dirent' or
2055 *	'struct direct' depending on the availability of <dirent.h>.
2056 */
2057/* DIRNAMLEN:
2058 *	This symbol, if defined, indicates to the C program that the length
2059 *	of directory entry names is provided by a d_namlen field.  Otherwise
2060 *	you need to do strlen() on the d_name field.
2061 */
2062/* Direntry_t:
2063 *	This symbol is set to 'struct direct' or 'struct dirent' depending on
2064 *	whether dirent is available or not. You should use this pseudo type to
2065 *	portably declare your directory entries.
2066 */
2067#$i_dirent I_DIRENT		/**/
2068#$d_dirnamlen DIRNAMLEN	/**/
2069#define Direntry_t $direntrytype
2070
2071/* I_EXECINFO:
2072 *	This symbol, if defined, indicates to the C program that it should
2073 *	include <execinfo.h> for backtrace() support.
2074 */
2075#$i_execinfo I_EXECINFO		/**/
2076
2077/* I_GRP:
2078 *	This symbol, if defined, indicates to the C program that it should
2079 *	include <grp.h>.
2080 */
2081/* GRPASSWD:
2082 *	This symbol, if defined, indicates to the C program that struct group
2083 *	in <grp.h> contains gr_passwd.
2084 */
2085#$i_grp I_GRP		/**/
2086#$d_grpasswd GRPASSWD	/**/
2087
2088/* I_NDBM:
2089 *	This symbol, if defined, indicates that <ndbm.h> exists and should
2090 *	be included.
2091 */
2092/* I_GDBMNDBM:
2093 *	This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2094 *	be included.  This was the location of the ndbm.h compatibility file
2095 *	in RedHat 7.1.
2096 */
2097/* I_GDBM_NDBM:
2098 *	This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2099 *	be included.  This is the location of the ndbm.h compatibility file
2100 *	in Debian 4.0.
2101 */
2102/* NDBM_H_USES_PROTOTYPES:
2103 *	This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2104 *	prototypes instead of K&R style function declarations without any
2105 *	parameter information. While ANSI C prototypes are supported in C++,
2106 *	K&R style function declarations will yield errors.
2107 */
2108/* GDBMNDBM_H_USES_PROTOTYPES:
2109 *	This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2110 *	prototypes instead of K&R style function declarations without any
2111 *	parameter information. While ANSI C prototypes are supported in C++,
2112 *	K&R style function declarations will yield errors.
2113 */
2114/* GDBM_NDBM_H_USES_PROTOTYPES:
2115 *	This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2116 *	prototypes instead of K&R style function declarations without any
2117 *	parameter information. While ANSI C prototypes are supported in C++,
2118 *	K&R style function declarations will yield errors.
2119 */
2120#$i_ndbm I_NDBM	/**/
2121#$i_gdbmndbm I_GDBMNDBM	/**/
2122#$i_gdbm_ndbm I_GDBM_NDBM	/**/
2123#$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES	/**/
2124#$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES	/**/
2125#$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES	/**/
2126
2127/* I_NETDB:
2128 *	This symbol, if defined, indicates that <netdb.h> exists and
2129 *	should be included.
2130 */
2131#$i_netdb I_NETDB		/**/
2132
2133/* I_NET_ERRNO:
2134 *	This symbol, if defined, indicates that <net/errno.h> exists and
2135 *	should be included.
2136 */
2137#$i_neterrno I_NET_ERRNO		/**/
2138
2139/* I_PWD:
2140 *	This symbol, if defined, indicates to the C program that it should
2141 *	include <pwd.h>.
2142 */
2143/* PWQUOTA:
2144 *	This symbol, if defined, indicates to the C program that struct passwd
2145 *	contains pw_quota.
2146 */
2147/* PWAGE:
2148 *	This symbol, if defined, indicates to the C program that struct passwd
2149 *	contains pw_age.
2150 */
2151/* PWCHANGE:
2152 *	This symbol, if defined, indicates to the C program that struct passwd
2153 *	contains pw_change.
2154 */
2155/* PWCLASS:
2156 *	This symbol, if defined, indicates to the C program that struct passwd
2157 *	contains pw_class.
2158 */
2159/* PWEXPIRE:
2160 *	This symbol, if defined, indicates to the C program that struct passwd
2161 *	contains pw_expire.
2162 */
2163/* PWCOMMENT:
2164 *	This symbol, if defined, indicates to the C program that struct passwd
2165 *	contains pw_comment.
2166 */
2167/* PWGECOS:
2168 *	This symbol, if defined, indicates to the C program that struct passwd
2169 *	contains pw_gecos.
2170 */
2171/* PWPASSWD:
2172 *	This symbol, if defined, indicates to the C program that struct passwd
2173 *	contains pw_passwd.
2174 */
2175#$i_pwd I_PWD		/**/
2176#$d_pwquota PWQUOTA	/**/
2177#$d_pwage PWAGE	/**/
2178#$d_pwchange PWCHANGE	/**/
2179#$d_pwclass PWCLASS	/**/
2180#$d_pwexpire PWEXPIRE	/**/
2181#$d_pwcomment PWCOMMENT	/**/
2182#$d_pwgecos PWGECOS	/**/
2183#$d_pwpasswd PWPASSWD	/**/
2184
2185/* I_SYSUIO:
2186 *	This symbol, if defined, indicates that <sys/uio.h> exists and
2187 *	should be included.
2188 */
2189#$i_sysuio	I_SYSUIO		/**/
2190
2191/* I_TERMIO:
2192 *	This symbol, if defined, indicates that the program should include
2193 *	<termio.h> rather than <sgtty.h>.  There are also differences in
2194 *	the ioctl() calls that depend on the value of this symbol.
2195 */
2196/* I_TERMIOS:
2197 *	This symbol, if defined, indicates that the program should include
2198 *	the POSIX termios.h rather than sgtty.h or termio.h.
2199 *	There are also differences in the ioctl() calls that depend on the
2200 *	value of this symbol.
2201 */
2202/* I_SGTTY:
2203 *	This symbol, if defined, indicates that the program should include
2204 *	<sgtty.h> rather than <termio.h>.  There are also differences in
2205 *	the ioctl() calls that depend on the value of this symbol.
2206 */
2207#$i_termio I_TERMIO		/**/
2208#$i_termios I_TERMIOS		/**/
2209#$i_sgtty I_SGTTY		/**/
2210
2211/* Free_t:
2212 *	This variable contains the return type of free().  It is usually
2213 *	void, but occasionally int.
2214 */
2215/* Malloc_t:
2216 *	This symbol is the type of pointer returned by malloc and realloc.
2217 */
2218#define Malloc_t $malloctype			/**/
2219#define Free_t $freetype			/**/
2220
2221/* PERL_MALLOC_WRAP:
2222 *	This symbol, if defined, indicates that we'd like malloc wrap checks.
2223 */
2224#$usemallocwrap PERL_MALLOC_WRAP		/**/
2225
2226/* MYMALLOC:
2227 *	This symbol, if defined, indicates that we're using our own malloc.
2228 */
2229#$d_mymalloc MYMALLOC			/**/
2230
2231/* SH_PATH:
2232 *	This symbol contains the full pathname to the shell used on this
2233 *	on this system to execute Bourne shell scripts.  Usually, this will be
2234 *	/bin/sh, though it's possible that some systems will have /bin/ksh,
2235 *	/bin/pdksh, /bin/ash, /bin/bash, or even something such as
2236 *	D:/bin/sh.exe.
2237 */
2238#define SH_PATH "$targetsh"  /**/
2239
2240/* SIG_NAME:
2241 *	This symbol contains a list of signal names in order of
2242 *	signal number. This is intended
2243 *	to be used as a static array initialization, like this:
2244 *		char *sig_name[] = { SIG_NAME };
2245 *	The signals in the list are separated with commas, and each signal
2246 *	is surrounded by double quotes. There is no leading SIG in the signal
2247 *	name, i.e. SIGQUIT is known as "QUIT".
2248 *	Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2249 *	etc., where nn is the actual signal number (e.g. NUM37).
2250 *	The signal number for sig_name[i] is stored in sig_num[i].
2251 *	The last element is 0 to terminate the list with a NULL.  This
2252 *	corresponds to the 0 at the end of the sig_name_init list.
2253 *	Note that this variable is initialized from the sig_name_init,
2254 *	not from sig_name (which is unused).
2255 */
2256/* SIG_NUM:
2257 *	This symbol contains a list of signal numbers, in the same order as the
2258 *	SIG_NAME list. It is suitable for static array initialization, as in:
2259 *		int sig_num[] = { SIG_NUM };
2260 *	The signals in the list are separated with commas, and the indices
2261 *	within that list and the SIG_NAME list match, so it's easy to compute
2262 *	the signal name from a number or vice versa at the price of a small
2263 *	dynamic linear lookup.
2264 *	Duplicates are allowed, but are moved to the end of the list.
2265 *	The signal number corresponding to sig_name[i] is sig_number[i].
2266 *	if (i < NSIG) then sig_number[i] == i.
2267 *	The last element is 0, corresponding to the 0 at the end of
2268 *	the sig_name_init list.
2269 *	Note that this variable is initialized from the sig_num_init,
2270 *	not from sig_num (which is unused).
2271 */
2272/* SIG_SIZE:
2273 *	This variable contains the number of elements of the SIG_NAME
2274 *	and SIG_NUM arrays, excluding the final NULL entry.
2275 */
2276#define SIG_NAME $sig_name_init		/**/
2277#define SIG_NUM  $sig_num_init		/**/
2278#define SIG_SIZE $sig_size			/**/
2279
2280/* USE_CROSS_COMPILE:
2281 *	This symbol, if defined, indicates that Perl is being cross-compiled.
2282 */
2283/* PERL_TARGETARCH:
2284 *	This symbol, if defined, indicates the target architecture
2285 *	Perl has been cross-compiled to.  Undefined if not a cross-compile.
2286 */
2287#ifndef USE_CROSS_COMPILE
2288#$usecrosscompile	USE_CROSS_COMPILE	/**/
2289#define PERL_TARGETARCH	"$targetarch"	/**/
2290#endif
2291
2292/* PERL_USE_DEVEL:
2293 *	This symbol, if defined, indicates that Perl was configured with
2294 *	-Dusedevel, to enable development features.  This should not be
2295 *	done for production builds.
2296 */
2297#$usedevel	PERL_USE_DEVEL		/**/
2298
2299/* HAS_ATOLF:
2300 *	This symbol, if defined, indicates that the atolf routine is
2301 *	available to convert strings into long doubles.
2302 */
2303#$d_atolf HAS_ATOLF		/**/
2304
2305/* HAS_ATOLL:
2306 *	This symbol, if defined, indicates that the atoll routine is
2307 *	available to convert strings into long longs.
2308 */
2309#$d_atoll HAS_ATOLL		/**/
2310
2311/* HAS__FWALK:
2312 *	This symbol, if defined, indicates that the _fwalk system call is
2313 *	available to apply a function to all the file handles.
2314 */
2315#$d__fwalk HAS__FWALK		/**/
2316
2317/* HAS_ACCEPT4:
2318 *	This symbol, if defined, indicates that the accept4 routine is
2319 *	available to accept socket connections.
2320 */
2321#$d_accept4 HAS_ACCEPT4	/**/
2322
2323/* HAS_ACOSH:
2324 *	This symbol, if defined, indicates that the acosh routine is
2325 *	available to do the inverse hyperbolic cosine function.
2326 */
2327#$d_acosh HAS_ACOSH		/**/
2328
2329/* HAS_AINTL:
2330 *	This symbol, if defined, indicates that the aintl routine is
2331 *	available.  If copysignl is also present we can emulate modfl.
2332 */
2333#$d_aintl HAS_AINTL		/**/
2334
2335/* HAS_ASINH:
2336 *	This symbol, if defined, indicates that the asinh routine is
2337 *	available to do the inverse hyperbolic sine function.
2338 */
2339#$d_asinh HAS_ASINH		/**/
2340
2341/* HAS_ATANH:
2342 *	This symbol, if defined, indicates that the atanh routine is
2343 *	available to do the inverse hyperbolic tangent function.
2344 */
2345#$d_atanh HAS_ATANH		/**/
2346
2347/* HAS_NON_INT_BITFIELDS:
2348 *	This symbol, if defined, indicates that the C compiler accepts, without
2349 *	error or warning, struct bitfields that are declared with sizes other
2350 *	than plain 'int'; for example 'unsigned char' is accepted.
2351 */
2352#$d_non_int_bitfields HAS_NON_INT_BITFIELDS	/**/
2353
2354/* HAS_BUILTIN_CHOOSE_EXPR:
2355 *	Can we handle GCC builtin for compile-time ternary-like expressions
2356 */
2357/* HAS_BUILTIN_EXPECT:
2358 *	Can we handle GCC builtin for telling that certain values are more
2359 *	likely
2360 */
2361#$d_builtin_expect HAS_BUILTIN_EXPECT	/**/
2362#$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR	/**/
2363
2364/* HAS_BUILTIN_ADD_OVERFLOW:
2365 *	This symbol, if defined, indicates that the compiler supports
2366 *	__builtin_add_overflow for adding integers with overflow checks.
2367 */
2368/* HAS_BUILTIN_SUB_OVERFLOW:
2369 *	This symbol, if defined, indicates that the compiler supports
2370 *	__builtin_sub_overflow for subtracting integers with overflow checks.
2371 */
2372/* HAS_BUILTIN_MUL_OVERFLOW:
2373 *	This symbol, if defined, indicates that the compiler supports
2374 *	__builtin_mul_overflow for multiplying integers with overflow checks.
2375 */
2376#$d_builtin_add_overflow HAS_BUILTIN_ADD_OVERFLOW	/**/
2377#$d_builtin_sub_overflow HAS_BUILTIN_SUB_OVERFLOW	/**/
2378#$d_builtin_mul_overflow HAS_BUILTIN_MUL_OVERFLOW	/**/
2379
2380/* HAS_C99_VARIADIC_MACROS:
2381 *	If defined, the compiler supports C99 variadic macros.
2382 */
2383#$d_c99_variadic_macros	HAS_C99_VARIADIC_MACROS	/**/
2384
2385/* HAS_CLASS:
2386 *	This symbol, if defined, indicates that the class routine is
2387 *	available to classify doubles.  Available for example in AIX.
2388 *	The returned values are defined in <float.h> and are:
2389 *
2390 *	FP_PLUS_NORM	Positive normalized, nonzero
2391 *	FP_MINUS_NORM	Negative normalized, nonzero
2392 *	FP_PLUS_DENORM	Positive denormalized, nonzero
2393 *	FP_MINUS_DENORM	Negative denormalized, nonzero
2394 *	FP_PLUS_ZERO	+0.0
2395 *	FP_MINUS_ZERO	-0.0
2396 *	FP_PLUS_INF	+INF
2397 *	FP_MINUS_INF	-INF
2398 *	FP_NANS		Signaling Not a Number (NaNS)
2399 *	FP_NANQ		Quiet Not a Number (NaNQ)
2400 */
2401#$d_class HAS_CLASS		/**/
2402
2403/* HAS_CLEARENV:
2404 *	This symbol, if defined, indicates that the clearenv () routine is
2405 *	available for use.
2406 */
2407#$d_clearenv HAS_CLEARENV		/**/
2408
2409/* HAS_STRUCT_CMSGHDR:
2410 *	This symbol, if defined, indicates that the struct cmsghdr
2411 *	is supported.
2412 */
2413#$d_cmsghdr_s HAS_STRUCT_CMSGHDR	/**/
2414
2415/* HAS_COPYSIGN:
2416 *	This symbol, if defined, indicates that the copysign routine is
2417 *	available to do the copysign function.
2418 */
2419#$d_copysign HAS_COPYSIGN		/**/
2420
2421/* HAS_COPYSIGNL:
2422 *	This symbol, if defined, indicates that the copysignl routine is
2423 *	available.  If aintl is also present we can emulate modfl.
2424 */
2425#$d_copysignl HAS_COPYSIGNL		/**/
2426
2427/* USE_CPLUSPLUS:
2428 *	This symbol, if defined, indicates that a C++ compiler was
2429 *	used to compiled Perl and will be used to compile extensions.
2430 */
2431#$d_cplusplus USE_CPLUSPLUS		/**/
2432
2433/* HAS_DBMINIT_PROTO:
2434 *	This symbol, if defined, indicates that the system provides
2435 *	a prototype for the dbminit() function.  Otherwise, it is up
2436 *	to the program to supply one.  A good guess is
2437 *		extern int dbminit(char *);
2438 */
2439#$d_dbminitproto	HAS_DBMINIT_PROTO	/**/
2440
2441/* HAS_DIR_DD_FD:
2442 *	This symbol, if defined, indicates that the DIR* dirstream
2443 *	structure contains a member variable named dd_fd.
2444 */
2445#$d_dir_dd_fd HAS_DIR_DD_FD		/**/
2446
2447/* HAS_DIRFD:
2448 *	This manifest constant lets the C program know that dirfd
2449 *	is available.
2450 */
2451#$d_dirfd HAS_DIRFD		/**/
2452
2453/* DLSYM_NEEDS_UNDERSCORE:
2454 *	This symbol, if defined, indicates that we need to prepend an
2455 *	underscore to the symbol name before calling dlsym().  This only
2456 *	makes sense if you *have* dlsym, which we will presume is the
2457 *	case if you're using dl_dlopen.xs.
2458 */
2459#$d_dlsymun	DLSYM_NEEDS_UNDERSCORE	/**/
2460
2461/* HAS_DUP3:
2462 *	This symbol, if defined, indicates that the dup3 routine is
2463 *	available to duplicate file descriptors.
2464 */
2465#$d_dup3 HAS_DUP3	/**/
2466
2467/* HAS_ERF:
2468 *	This symbol, if defined, indicates that the erf routine is
2469 *	available to do the error function.
2470 */
2471#$d_erf HAS_ERF		/**/
2472
2473/* HAS_ERFC:
2474 *	This symbol, if defined, indicates that the erfc routine is
2475 *	available to do the complementary error function.
2476 */
2477#$d_erfc HAS_ERFC		/**/
2478
2479/* HAS_EXP2:
2480 *	This symbol, if defined, indicates that the exp2 routine is
2481 *	available to do the 2**x function.
2482 */
2483#$d_exp2 HAS_EXP2		/**/
2484
2485/* HAS_EXPM1:
2486 *	This symbol, if defined, indicates that the expm1 routine is
2487 *	available to do the exp(x) - 1 when x is near 1 function.
2488 */
2489#$d_expm1 HAS_EXPM1		/**/
2490
2491/* HAS_FAST_STDIO:
2492 *	This symbol, if defined, indicates that the "fast stdio"
2493 *	is available to manipulate the stdio buffers directly.
2494 */
2495#$d_faststdio HAS_FAST_STDIO		/**/
2496
2497/* HAS_FCHDIR:
2498 *	This symbol, if defined, indicates that the fchdir routine is
2499 *	available to change directory using a file descriptor.
2500 */
2501#$d_fchdir HAS_FCHDIR		/**/
2502
2503/* FCNTL_CAN_LOCK:
2504 *	This symbol, if defined, indicates that fcntl() can be used
2505 *	for file locking.  Normally on Unix systems this is defined.
2506 *	It may be undefined on VMS.
2507 */
2508#$d_fcntl_can_lock FCNTL_CAN_LOCK		/**/
2509
2510/* HAS_FDCLOSE:
2511 *	This symbol, if defined, indicates that the fdclose routine is
2512 *	available to free a FILE structure without closing the underlying
2513 *	file descriptor.  This function appeared in FreeBSD 10.2.
2514 */
2515#$d_fdclose HAS_FDCLOSE		/**/
2516
2517/* HAS_FDIM:
2518 *	This symbol, if defined, indicates that the fdim routine is
2519 *	available to do the positive difference function.
2520 */
2521#$d_fdim HAS_FDIM		/**/
2522
2523/* HAS_FEGETROUND:
2524 *	This symbol, if defined, indicates that the fegetround routine is
2525 *	available to return the macro corresponding to the current rounding
2526 *	mode.
2527 */
2528#$d_fegetround HAS_FEGETROUND	/**/
2529
2530/* HAS_FFS:
2531 *	This symbol, if defined, indicates that the ffs routine is available
2532 *	to find the first bit set in its argument.  If it's not available,
2533 *	roll your own.
2534 */
2535/* HAS_FFSL:
2536 *	This symbol, if defined, indicates that the ffsl routine is available
2537 *	to find the first bit set in its argument.  If it's not available,
2538 *	roll your own.
2539 */
2540#$d_ffs HAS_FFS		/**/
2541#$d_ffsl HAS_FFSL		/**/
2542
2543/* HAS_FINITE:
2544 *	This symbol, if defined, indicates that the finite routine is
2545 *	available to check whether a double is finite (non-infinity non-NaN).
2546 */
2547#$d_finite HAS_FINITE		/**/
2548
2549/* HAS_FINITEL:
2550 *	This symbol, if defined, indicates that the finitel routine is
2551 *	available to check whether a long double is finite
2552 *	(non-infinity non-NaN).
2553 */
2554#$d_finitel HAS_FINITEL		/**/
2555
2556/* HAS_FLOCK_PROTO:
2557 *	This symbol, if defined, indicates that the system provides
2558 *	a prototype for the flock() function.  Otherwise, it is up
2559 *	to the program to supply one.  A good guess is
2560 *		extern int flock(int, int);
2561 */
2562#$d_flockproto	HAS_FLOCK_PROTO	/**/
2563
2564/* HAS_FMA:
2565 *	This symbol, if defined, indicates that the fma routine is
2566 *	available to do the multiply-add function.
2567 */
2568#$d_fma HAS_FMA		/**/
2569
2570/* HAS_FMAX:
2571 *	This symbol, if defined, indicates that the fmax routine is
2572 *	available to do the maximum function.
2573 */
2574#$d_fmax HAS_FMAX		/**/
2575
2576/* HAS_FMIN:
2577 *	This symbol, if defined, indicates that the fmin routine is
2578 *	available to do the minimum function.
2579 */
2580#$d_fmin HAS_FMIN		/**/
2581
2582/* HAS_FP_CLASS:
2583 *	This symbol, if defined, indicates that the fp_class routine is
2584 *	available to classify doubles.  Available for example in Digital UNIX.
2585 *	The returned values are defined in <math.h> and are:
2586 *
2587 *	FP_SNAN           Signaling NaN (Not-a-Number)
2588 *	FP_QNAN           Quiet NaN (Not-a-Number)
2589 *	FP_POS_INF        +infinity
2590 *	FP_NEG_INF        -infinity
2591 *	FP_POS_NORM       Positive normalized
2592 *	FP_NEG_NORM       Negative normalized
2593 *	FP_POS_DENORM     Positive denormalized
2594 *	FP_NEG_DENORM     Negative denormalized
2595 *	FP_POS_ZERO       +0.0 (positive zero)
2596 *	FP_NEG_ZERO       -0.0 (negative zero)
2597 */
2598#$d_fp_class HAS_FP_CLASS		/**/
2599
2600/* HAS_FP_CLASSL:
2601 *	This symbol, if defined, indicates that the fp_classl routine is
2602 *	available to classify long doubles.  Available for example in
2603 *	Digital UNIX.  See for possible values HAS_FP_CLASS.
2604 */
2605#$d_fp_classl HAS_FP_CLASSL		/**/
2606
2607/* HAS_FPCLASS:
2608 *	This symbol, if defined, indicates that the fpclass routine is
2609 *	available to classify doubles.  Available for example in Solaris/SVR4.
2610 *	The returned values are defined in <ieeefp.h> and are:
2611 *
2612 *	FP_SNAN		signaling NaN
2613 *	FP_QNAN		quiet NaN
2614 *	FP_NINF		negative infinity
2615 *	FP_PINF		positive infinity
2616 *	FP_NDENORM	negative denormalized non-zero
2617 *	FP_PDENORM	positive denormalized non-zero
2618 *	FP_NZERO	negative zero
2619 *	FP_PZERO	positive zero
2620 *	FP_NNORM	negative normalized non-zero
2621 *	FP_PNORM	positive normalized non-zero
2622 */
2623#$d_fpclass HAS_FPCLASS		/**/
2624
2625/* HAS_FPCLASSIFY:
2626 *	This symbol, if defined, indicates that the fpclassify routine is
2627 *	available to classify doubles.  Available for example in HP-UX.
2628 *	The returned values are defined in <math.h> and are
2629 *
2630 *	  FP_NORMAL     Normalized
2631 *	  FP_ZERO       Zero
2632 *	  FP_INFINITE   Infinity
2633 *	  FP_SUBNORMAL  Denormalized
2634 *	  FP_NAN        NaN
2635 *
2636 */
2637/* HAS_FP_CLASSIFY:
2638 *	This symbol, if defined, indicates that the fp_classify routine is
2639 *	available to classify doubles. The values are defined in <math.h>
2640 *
2641 *	  FP_NORMAL     Normalized
2642 *	  FP_ZERO       Zero
2643 *	  FP_INFINITE   Infinity
2644 *	  FP_SUBNORMAL  Denormalized
2645 *	  FP_NAN        NaN
2646 *
2647 */
2648#$d_fpclassify	HAS_FPCLASSIFY		/**/
2649#$d_fp_classify	HAS_FP_CLASSIFY		/**/
2650
2651/* HAS_FPCLASSL:
2652 *	This symbol, if defined, indicates that the fpclassl routine is
2653 *	available to classify long doubles.  Available for example in IRIX.
2654 *	The returned values are defined in <ieeefp.h> and are:
2655 *
2656 *	FP_SNAN		signaling NaN
2657 *	FP_QNAN		quiet NaN
2658 *	FP_NINF		negative infinity
2659 *	FP_PINF		positive infinity
2660 *	FP_NDENORM	negative denormalized non-zero
2661 *	FP_PDENORM	positive denormalized non-zero
2662 *	FP_NZERO	negative zero
2663 *	FP_PZERO	positive zero
2664 *	FP_NNORM	negative normalized non-zero
2665 *	FP_PNORM	positive normalized non-zero
2666 */
2667#$d_fpclassl HAS_FPCLASSL		/**/
2668
2669/* HAS_FPGETROUND:
2670 *	This symbol, if defined, indicates that the fpgetround routine is
2671 *	available to get the floating point rounding mode.
2672 */
2673#$d_fpgetround HAS_FPGETROUND		/**/
2674
2675/* HAS_FPOS64_T:
2676 *	This symbol will be defined if the C compiler supports fpos64_t.
2677 */
2678#$d_fpos64_t	HAS_FPOS64_T	/**/
2679
2680/* HAS_FREXPL:
2681 *	This symbol, if defined, indicates that the frexpl routine is
2682 *	available to break a long double floating-point number into
2683 *	a normalized fraction and an integral power of 2.
2684 */
2685#$d_frexpl HAS_FREXPL		/**/
2686
2687/* HAS_STRUCT_FS_DATA:
2688 *	This symbol, if defined, indicates that the struct fs_data
2689 *	to do statfs() is supported.
2690 */
2691#$d_fs_data_s HAS_STRUCT_FS_DATA	/**/
2692
2693/* HAS_FCHMODAT:
2694 *	This symbol is defined if the fchmodat() routine is available.
2695 */
2696/* HAS_LINKAT:
2697 *	This symbol is defined if the linkat() routine is available.
2698 */
2699/* HAS_OPENAT:
2700 *	This symbol is defined if the openat() routine is available.
2701 */
2702/* HAS_RENAMEAT:
2703 *	This symbol is defined if the renameat() routine is available.
2704 */
2705/* HAS_UNLINKAT:
2706 *	This symbol is defined if the unlinkat() routine is available.
2707 */
2708#$d_fchmodat	HAS_FCHMODAT	/**/
2709#$d_linkat	HAS_LINKAT	/**/
2710#$d_openat	HAS_OPENAT	/**/
2711#$d_renameat	HAS_RENAMEAT	/**/
2712#$d_unlinkat	HAS_UNLINKAT	/**/
2713
2714/* HAS_FSEEKO:
2715 *	This symbol, if defined, indicates that the fseeko routine is
2716 *	available to fseek beyond 32 bits (useful for ILP32 hosts).
2717 */
2718#$d_fseeko HAS_FSEEKO		/**/
2719
2720/* HAS_FSTATFS:
2721 *	This symbol, if defined, indicates that the fstatfs routine is
2722 *	available to stat filesystems by file descriptors.
2723 */
2724#$d_fstatfs HAS_FSTATFS		/**/
2725
2726/* HAS_FSYNC:
2727 *	This symbol, if defined, indicates that the fsync routine is
2728 *	available to write a file's modified data and attributes to
2729 *	permanent storage.
2730 */
2731#$d_fsync HAS_FSYNC		/**/
2732
2733/* HAS_FTELLO:
2734 *	This symbol, if defined, indicates that the ftello routine is
2735 *	available to ftell beyond 32 bits (useful for ILP32 hosts).
2736 */
2737#$d_ftello HAS_FTELLO		/**/
2738
2739/* HAS_FUTIMES:
2740 *	This symbol, if defined, indicates that the futimes routine is
2741 *	available to change file descriptor time stamps with struct timevals.
2742 */
2743#$d_futimes HAS_FUTIMES		/**/
2744
2745/* HAS_GAI_STRERROR:
2746 *	This symbol, if defined, indicates that the gai_strerror routine
2747 *	is available to translate error codes returned by getaddrinfo()
2748 *	into human readable strings.
2749 */
2750#$d_gai_strerror HAS_GAI_STRERROR	/**/
2751
2752/* HAS_GETADDRINFO:
2753 *	This symbol, if defined, indicates that the getaddrinfo() function
2754 *	is available for use.
2755 */
2756#$d_getaddrinfo HAS_GETADDRINFO		/**/
2757
2758/* HAS_GETCWD:
2759 *	This symbol, if defined, indicates that the getcwd routine is
2760 *	available to get the current working directory.
2761 */
2762#$d_getcwd HAS_GETCWD		/**/
2763
2764/* HAS_GETESPWNAM:
2765 *	This symbol, if defined, indicates that the getespwnam system call is
2766 *	available to retrieve enhanced (shadow) password entries by name.
2767 */
2768#$d_getespwnam HAS_GETESPWNAM		/**/
2769
2770/* HAS_GETFSSTAT:
2771 *	This symbol, if defined, indicates that the getfsstat routine is
2772 *	available to stat filesystems in bulk.
2773 */
2774#$d_getfsstat HAS_GETFSSTAT		/**/
2775
2776/* HAS_GETITIMER:
2777 *	This symbol, if defined, indicates that the getitimer routine is
2778 *	available to return interval timers.
2779 */
2780#$d_getitimer HAS_GETITIMER		/**/
2781
2782/* HAS_GETMNT:
2783 *	This symbol, if defined, indicates that the getmnt routine is
2784 *	available to get filesystem mount info by filename.
2785 */
2786#$d_getmnt HAS_GETMNT		/**/
2787
2788/* HAS_GETMNTENT:
2789 *	This symbol, if defined, indicates that the getmntent routine is
2790 *	available to iterate through mounted file systems to get their info.
2791 */
2792#$d_getmntent HAS_GETMNTENT		/**/
2793
2794/* HAS_GETNAMEINFO:
2795 *	This symbol, if defined, indicates that the getnameinfo() function
2796 *	is available for use.
2797 */
2798#$d_getnameinfo HAS_GETNAMEINFO		/**/
2799
2800/* HAS_GETPRPWNAM:
2801 *	This symbol, if defined, indicates that the getprpwnam system call is
2802 *	available to retrieve protected (shadow) password entries by name.
2803 */
2804#$d_getprpwnam HAS_GETPRPWNAM		/**/
2805
2806/* HAS_GETSPNAM:
2807 *	This symbol, if defined, indicates that the getspnam system call is
2808 *	available to retrieve SysV shadow password entries by name.
2809 */
2810#$d_getspnam HAS_GETSPNAM		/**/
2811
2812/* HAS_HASMNTOPT:
2813 *	This symbol, if defined, indicates that the hasmntopt routine is
2814 *	available to query the mount options of file systems.
2815 */
2816#$d_hasmntopt HAS_HASMNTOPT		/**/
2817
2818/* HAS_HYPOT:
2819 *	This symbol, if defined, indicates that the hypot routine is
2820 *	available to do the hypotenuse function.
2821 */
2822#$d_hypot HAS_HYPOT		/**/
2823
2824/* HAS_ILOGB:
2825 *	This symbol, if defined, indicates that the ilogb routine is
2826 *	available to get integer exponent of a floating-point value.
2827 */
2828#$d_ilogb HAS_ILOGB		/**/
2829
2830/* HAS_ILOGBL:
2831 *	This symbol, if defined, indicates that the ilogbl routine is
2832 *	available.  If scalbnl is also present we can emulate frexpl.
2833 */
2834#$d_ilogbl HAS_ILOGBL		/**/
2835
2836/* HAS_INETNTOP:
2837 *	This symbol, if defined, indicates that the inet_ntop() function
2838 *	is available to parse IPv4 and IPv6 strings.
2839 */
2840#$d_inetntop HAS_INETNTOP		/**/
2841
2842/* HAS_INETPTON:
2843 *	This symbol, if defined, indicates that the inet_pton() function
2844 *	is available to parse IPv4 and IPv6 strings.
2845 */
2846#$d_inetpton HAS_INETPTON		/**/
2847
2848/* HAS_INT64_T:
2849 *	This symbol will defined if the C compiler supports int64_t.
2850 *	Usually the <inttypes.h> needs to be included, but sometimes
2851 *	<sys/types.h> is enough.
2852 */
2853#$d_int64_t     HAS_INT64_T               /**/
2854
2855/* HAS_ISBLANK:
2856 *	This manifest constant lets the C program know that isblank
2857 *	is available.
2858 */
2859#$d_isblank HAS_ISBLANK		/**/
2860
2861/* HAS_ISFINITE:
2862 *	This symbol, if defined, indicates that the isfinite routine is
2863 *	available to check whether a double is finite (non-infinity non-NaN).
2864 */
2865#$d_isfinite HAS_ISFINITE		/**/
2866
2867/* HAS_ISFINITEL:
2868 *	This symbol, if defined, indicates that the isfinitel routine is
2869 *	available to check whether a long double is finite.
2870 *	(non-infinity non-NaN).
2871 */
2872#$d_isfinitel HAS_ISFINITEL		/**/
2873
2874/* HAS_ISINF:
2875 *	This symbol, if defined, indicates that the isinf routine is
2876 *	available to check whether a double is an infinity.
2877 */
2878#$d_isinf HAS_ISINF		/**/
2879
2880/* HAS_ISINFL:
2881 *	This symbol, if defined, indicates that the isinfl routine is
2882 *	available to check whether a long double is an infinity.
2883 */
2884#$d_isinfl HAS_ISINFL		/**/
2885
2886/* HAS_ISLESS:
2887 *	This symbol, if defined, indicates that the isless routine is
2888 *	available to do the isless function.
2889 */
2890#$d_isless HAS_ISLESS		/**/
2891
2892/* HAS_ISNAN:
2893 *	This symbol, if defined, indicates that the isnan routine is
2894 *	available to check whether a double is a NaN.
2895 */
2896#$d_isnan HAS_ISNAN		/**/
2897
2898/* HAS_ISNANL:
2899 *	This symbol, if defined, indicates that the isnanl routine is
2900 *	available to check whether a long double is a NaN.
2901 */
2902#$d_isnanl HAS_ISNANL		/**/
2903
2904/* HAS_ISNORMAL:
2905 *	This symbol, if defined, indicates that the isnormal routine is
2906 *	available to check whether a double is normal (non-zero normalized).
2907 */
2908#$d_isnormal HAS_ISNORMAL		/**/
2909
2910/* HAS_J0:
2911 *	This symbol, if defined, indicates to the C program that the
2912 *	j0() function is available for Bessel functions of the first
2913 *	kind of the order zero, for doubles.
2914 */
2915/* HAS_J0L:
2916 *	This symbol, if defined, indicates to the C program that the
2917 *	j0l() function is available for Bessel functions of the first
2918 *	kind of the order zero, for long doubles.
2919 */
2920#$d_j0	HAS_J0		/**/
2921#$d_j0l	HAS_J0L		/**/
2922
2923/* HAS_LC_MONETARY_2008:
2924 *	This symbol, if defined, indicates that the localeconv routine is
2925 *	available and has the additional members added in POSIX 1003.1-2008.
2926 */
2927#$d_lc_monetary_2008 HAS_LC_MONETARY_2008		/**/
2928
2929/* HAS_LDBL_DIG:
2930 *	This symbol, if defined, indicates that this system's <float.h>
2931 *	or <limits.h> defines the symbol LDBL_DIG, which is the number
2932 *	of significant digits in a long double precision number. Unlike
2933 *	for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
2934 */
2935#$d_ldbl_dig HAS_LDBL_DIG	/* */
2936
2937/* HAS_LGAMMA:
2938 *	This symbol, if defined, indicates that the lgamma routine is
2939 *	available to do the log gamma function.  See also HAS_TGAMMA and
2940 *	HAS_LGAMMA_R.
2941 */
2942#$d_lgamma HAS_LGAMMA		/**/
2943
2944/* HAS_LGAMMA_R:
2945 *	This symbol, if defined, indicates that the lgamma_r routine is
2946 *	available to do the log gamma function without using the global
2947 *	signgam variable.
2948 */
2949#$d_lgamma_r HAS_LGAMMA_R		/**/
2950
2951/* LIBM_LIB_VERSION:
2952 *	This symbol, if defined, indicates that libm exports _LIB_VERSION
2953 *	and that math.h defines the enum to manipulate it.
2954 */
2955#$d_libm_lib_version LIBM_LIB_VERSION		/**/
2956
2957/* HAS_LLRINT:
2958 *	This symbol, if defined, indicates that the llrint routine is
2959 *	available to return the long long value closest to a double
2960 *	(according to the current rounding mode).
2961 */
2962#$d_llrint HAS_LLRINT		/**/
2963
2964/* HAS_LLRINTL:
2965 *	This symbol, if defined, indicates that the llrintl routine is
2966 *	available to return the long long value closest to a long double
2967 *	(according to the current rounding mode).
2968 */
2969#$d_llrintl HAS_LLRINTL		/**/
2970
2971/* HAS_LLROUND:
2972 *	This symbol, if defined, indicates that the llround routine is
2973 *	available to return the nearest long long value.
2974 */
2975#$d_llround HAS_LLROUND		/**/
2976
2977/* HAS_LLROUNDL:
2978 *	This symbol, if defined, indicates that the llroundl routine is
2979 *	available to return the nearest long long value away from zero of
2980 *	the long double argument value.
2981 */
2982#$d_llroundl HAS_LLROUNDL		/**/
2983
2984/* HAS_LOG1P:
2985 *	This symbol, if defined, indicates that the log1p routine is
2986 *	available to do the logarithm of 1 plus argument function.
2987 */
2988#$d_log1p HAS_LOG1P		/**/
2989
2990/* HAS_LOG2:
2991 *	This symbol, if defined, indicates that the log2 routine is
2992 *	available to do the log2 function.
2993 */
2994#$d_log2 HAS_LOG2		/**/
2995
2996/* HAS_LOGB:
2997 *	This symbol, if defined, indicates that the logb routine is
2998 *	available to do the logb function.
2999 */
3000#$d_logb HAS_LOGB		/**/
3001
3002/* HAS_LRINT:
3003 *	This symbol, if defined, indicates that the lrint routine is
3004 *	available to return the integral value closest to a double
3005 *	(according to the current rounding mode).
3006 */
3007#$d_lrint HAS_LRINT		/**/
3008
3009/* HAS_LRINTL:
3010 *	This symbol, if defined, indicates that the lrintl routine is
3011 *	available to return the integral value closest to a long double
3012 *	(according to the current rounding mode).
3013 */
3014#$d_lrintl HAS_LRINTL		/**/
3015
3016/* HAS_LROUND:
3017 *	This symbol, if defined, indicates that the lround routine is
3018 *	available to return the nearest integral value.
3019 */
3020#$d_lround HAS_LROUND		/**/
3021
3022/* HAS_LROUNDL:
3023 *	This symbol, if defined, indicates that the lroundl routine is
3024 *	available to return the nearest integral value away from zero of
3025 *	the long double argument value.
3026 */
3027#$d_lroundl HAS_LROUNDL		/**/
3028
3029/* HAS_MADVISE:
3030 *	This symbol, if defined, indicates that the madvise system call is
3031 *	available to map a file into memory.
3032 */
3033#$d_madvise HAS_MADVISE		/**/
3034
3035/* HAS_MALLOC_SIZE:
3036 *	This symbol, if defined, indicates that the malloc_size
3037 *	routine is available for use.
3038 */
3039#$d_malloc_size HAS_MALLOC_SIZE		/**/
3040
3041/* HAS_MALLOC_GOOD_SIZE:
3042 *	This symbol, if defined, indicates that the malloc_good_size
3043 *	routine is available for use.
3044 */
3045#$d_malloc_good_size HAS_MALLOC_GOOD_SIZE	/**/
3046
3047/* HAS_MEMMEM:
3048 *	This symbol, if defined, indicates that the memmem routine is
3049 *	available to return a pointer to the start of the first occurrence
3050 *	of a substring in a memory area (or NULL if not found).
3051 *	In glibc, memmem is a GNU extension.  The function is visible in
3052 *	libc, but the prototype is only visible if _GNU_SOURCE is #defined.
3053 *	Thus we only define this if both the prototype and symbol are found.
3054 */
3055#$d_memmem HAS_MEMMEM		/**/
3056
3057/* HAS_MEMRCHR:
3058 *	This symbol, if defined, indicates that the memrchr routine is
3059 *	available to return a pointer to the last occurrence of a byte in
3060 *	a memory area (or NULL if not found).
3061 */
3062#$d_memrchr HAS_MEMRCHR		/**/
3063
3064/* HAS_MKDTEMP:
3065 *	This symbol, if defined, indicates that the mkdtemp routine is
3066 *	available to exclusively create a uniquely named temporary directory.
3067 */
3068#$d_mkdtemp HAS_MKDTEMP		/**/
3069
3070/* HAS_MKOSTEMP:
3071 *	This symbol, if defined, indicates that the mkostemp routine is
3072 *	available to exclusively create and open a uniquely named (with a
3073 *	suffix) temporary file.
3074 */
3075#$d_mkostemp HAS_MKOSTEMP	/**/
3076
3077/* HAS_MKSTEMPS:
3078 *	This symbol, if defined, indicates that the mkstemps routine is
3079 *	available to exclusively create and open a uniquely named
3080 *	(with a suffix) temporary file.
3081 */
3082#$d_mkstemps HAS_MKSTEMPS		/**/
3083
3084/* HAS_MODFL:
3085 *	This symbol, if defined, indicates that the modfl routine is
3086 *	available to split a long double x into a fractional part f and
3087 *	an integer part i such that |f| < 1.0 and (f + i) = x.
3088 */
3089/* HAS_MODFL_PROTO:
3090 *	This symbol, if defined, indicates that the system provides
3091 *	a prototype for the modfl() function.  Otherwise, it is up
3092 *	to the program to supply one.
3093 */
3094#$d_modfl HAS_MODFL		/**/
3095#$d_modflproto HAS_MODFL_PROTO		/**/
3096
3097/* HAS_MPROTECT:
3098 *	This symbol, if defined, indicates that the mprotect system call is
3099 *	available to modify the access protection of a memory mapped file.
3100 */
3101#$d_mprotect HAS_MPROTECT		/**/
3102
3103/* HAS_STRUCT_MSGHDR:
3104 *	This symbol, if defined, indicates that the struct msghdr
3105 *	is supported.
3106 */
3107#$d_msghdr_s HAS_STRUCT_MSGHDR	/**/
3108
3109/* HAS_NAN:
3110 *	This symbol, if defined, indicates that the nan routine is
3111 *	available to generate NaN.
3112 */
3113#$d_nan HAS_NAN		/**/
3114
3115/* HAS_NANOSLEEP:
3116 *	This symbol, if defined, indicates that the nanosleep
3117 *	system call is available to sleep with 1E-9 sec accuracy.
3118 */
3119#$d_nanosleep HAS_NANOSLEEP		/**/
3120
3121/* HAS_NEARBYINT:
3122 *	This symbol, if defined, indicates that the nearbyint routine is
3123 *	available to return the integral value closest to (according to
3124 *	the current rounding mode) to x.
3125 */
3126#$d_nearbyint HAS_NEARBYINT		/**/
3127
3128/* HAS_NEWLOCALE:
3129 *	This symbol, if defined, indicates that the newlocale routine is
3130 *	available to return a new locale object or modify an existing
3131 *	locale object.
3132 */
3133/* HAS_FREELOCALE:
3134 *	This symbol, if defined, indicates that the freelocale routine is
3135 *	available to deallocates the resources associated with a locale object.
3136 */
3137/* HAS_USELOCALE:
3138 *	This symbol, if defined, indicates that the uselocale routine is
3139 *	available to set the current locale for the calling thread.
3140 */
3141/* HAS_DUPLOCALE:
3142 *	This symbol, if defined, indicates that the duplocale routine is
3143 *	available to duplicate a locale object.
3144 */
3145/* HAS_QUERYLOCALE:
3146 *	This symbol, if defined, indicates that the querylocale routine is
3147 *	available to return the name of the locale for a category mask.
3148 */
3149/* I_XLOCALE:
3150 *	This symbol, if defined, indicates to the C program that the
3151 *	header xlocale.h is available.  See also NEED_XLOCALE_H
3152 */
3153/* NEED_XLOCALE_H:
3154 *	This symbol, if defined, indicates that the C program should
3155 *	include <xlocale.h> to get newlocale() and its friends.
3156 */
3157#$d_newlocale	HAS_NEWLOCALE	/**/
3158#$d_freelocale	HAS_FREELOCALE	/**/
3159#$d_uselocale	HAS_USELOCALE	/**/
3160#$d_duplocale	HAS_DUPLOCALE	/**/
3161#$d_querylocale	HAS_QUERYLOCALE	/**/
3162#$xlocale_needed	NEED_XLOCALE_H	/**/
3163#$i_xlocale	I_XLOCALE               /**/
3164
3165/* HAS_NEXTAFTER:
3166 *	This symbol, if defined, indicates that the nextafter routine is
3167 *	available to return the next machine representable double from
3168 *	x in direction y.
3169 */
3170#$d_nextafter HAS_NEXTAFTER		/**/
3171
3172/* HAS_NEXTTOWARD:
3173 *	This symbol, if defined, indicates that the nexttoward routine is
3174 *	available to return the next machine representable long double from
3175 *	x in direction y.
3176 */
3177#$d_nexttoward HAS_NEXTTOWARD		/**/
3178
3179/* HAS_NL_LANGINFO:
3180 *	This symbol, if defined, indicates that the nl_langinfo routine is
3181 *	available to return local data.  You will also need <langinfo.h>
3182 *	and therefore I_LANGINFO.
3183 */
3184#$d_nl_langinfo HAS_NL_LANGINFO		/**/
3185
3186/* HAS_OFF64_T:
3187 *	This symbol will be defined if the C compiler supports off64_t.
3188 */
3189#$d_off64_t	HAS_OFF64_T		/**/
3190
3191/* HAS_PIPE2:
3192 *	This symbol, if defined, indicates that the pipe2 routine is
3193 *	available to create an inter-process channel.
3194 */
3195#$d_pipe2 HAS_PIPE2		/**/
3196
3197/* HAS_PRCTL:
3198 *	This symbol, if defined, indicates that the prctl routine is
3199 *	available to set process title.
3200 *	Note that there are at least two prctl variants: Linux and Irix.
3201 *	While they are somewhat similar, they are incompatible.
3202 */
3203/* HAS_PRCTL_SET_NAME:
3204 *	This symbol, if defined, indicates that the prctl routine is
3205 *	available to set process title and supports PR_SET_NAME.
3206 */
3207#$d_prctl HAS_PRCTL		/**/
3208#$d_prctl_set_name HAS_PRCTL_SET_NAME		/**/
3209
3210/* HAS_PROCSELFEXE:
3211 *	This symbol is defined if PROCSELFEXE_PATH is a symlink
3212 *	to the absolute pathname of the executing program.
3213 */
3214/* PROCSELFEXE_PATH:
3215 *	If HAS_PROCSELFEXE is defined this symbol is the filename
3216 *	of the symbolic link pointing to the absolute pathname of
3217 *	the executing program.
3218 */
3219#$d_procselfexe HAS_PROCSELFEXE	/**/
3220#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3221#define PROCSELFEXE_PATH	$procselfexe	/**/
3222#endif
3223
3224/* HAS_PTHREAD_ATTR_SETSCOPE:
3225 *	This symbol, if defined, indicates that the pthread_attr_setscope
3226 *	system call is available to set the contention scope attribute of
3227 *	a thread attribute object.
3228 */
3229#$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE		/**/
3230
3231/* HAS_PTRDIFF_T:
3232 *	This symbol will be defined if the C compiler supports ptrdiff_t.
3233 */
3234#$d_ptrdiff_t	HAS_PTRDIFF_T		/**/
3235
3236/* HAS_READV:
3237 *	This symbol, if defined, indicates that the readv routine is
3238 *	available to do gather reads.  You will also need <sys/uio.h>
3239 *	and there I_SYSUIO.
3240 */
3241#$d_readv HAS_READV		/**/
3242
3243/* HAS_RECVMSG:
3244 *	This symbol, if defined, indicates that the recvmsg routine is
3245 *	available to send structured socket messages.
3246 */
3247#$d_recvmsg HAS_RECVMSG		/**/
3248
3249/* HAS_REMAINDER:
3250 *	This symbol, if defined, indicates that the remainder routine is
3251 *	available to return the floating-point remainder.
3252 */
3253#$d_remainder HAS_REMAINDER		/**/
3254
3255/* HAS_REMQUO:
3256 *	This symbol, if defined, indicates that the remquo routine is
3257 *	available to return the remainder and part of quotient.
3258 */
3259#$d_remquo HAS_REMQUO		/**/
3260
3261/* HAS_RINT:
3262 *	This symbol, if defined, indicates that the rint routine is
3263 *	available to return the nearest integral value to x as double
3264 *	using the current rounding mode.
3265 */
3266#$d_rint HAS_RINT		/**/
3267
3268/* HAS_ROUND:
3269 *	This symbol, if defined, indicates that the round routine is
3270 *	available to round to nearest integer, away from zero.
3271 */
3272#$d_round HAS_ROUND		/**/
3273
3274/* HAS_SBRK_PROTO:
3275 *	This symbol, if defined, indicates that the system provides
3276 *	a prototype for the sbrk() function.  Otherwise, it is up
3277 *	to the program to supply one.  Good guesses are
3278 *		extern void* sbrk(int);
3279 *		extern void* sbrk(size_t);
3280 */
3281#$d_sbrkproto	HAS_SBRK_PROTO	/**/
3282
3283/* HAS_SCALBN:
3284 *	This symbol, if defined, indicates that the scalbn routine is
3285 *	available to multiply floating-point number by integral power
3286 *	of radix.
3287 */
3288#$d_scalbn HAS_SCALBN		/**/
3289
3290/* HAS_SCALBNL:
3291 *	This symbol, if defined, indicates that the scalbnl routine is
3292 *	available.  If ilogbl is also present we can emulate frexpl.
3293 */
3294#$d_scalbnl HAS_SCALBNL		/**/
3295
3296/* HAS_SENDMSG:
3297 *	This symbol, if defined, indicates that the sendmsg routine is
3298 *	available to send structured socket messages.
3299 */
3300#$d_sendmsg HAS_SENDMSG		/**/
3301
3302/* HAS_SETENV:
3303 *	This symbol, if defined, indicates that the setenv routine is
3304 *	available for use.
3305 */
3306#$d_setenv HAS_SETENV		/**/
3307
3308/* HAS_SETITIMER:
3309 *	This symbol, if defined, indicates that the setitimer routine is
3310 *	available to set interval timers.
3311 */
3312#$d_setitimer HAS_SETITIMER		/**/
3313
3314/* HAS_SETLOCALE:
3315 *	This symbol, if defined, indicates that the setlocale routine is
3316 *	available to handle locale-specific ctype implementations.
3317 */
3318/* SETLOCALE_ACCEPTS_ANY_LOCALE_NAME:
3319 *	This symbol, if defined, indicates that the setlocale routine is
3320 *	available and it accepts any input locale name as valid.
3321 */
3322#$d_setlocale HAS_SETLOCALE	/**/
3323#$d_setlocale_accepts_any_locale_name SETLOCALE_ACCEPTS_ANY_LOCALE_NAME	/**/
3324
3325/* HAS_SETPROCTITLE:
3326 *	This symbol, if defined, indicates that the setproctitle routine is
3327 *	available to set process title.
3328 */
3329#$d_setproctitle HAS_SETPROCTITLE		/**/
3330
3331/* HAS_SIGNBIT:
3332 *	This symbol, if defined, indicates that the signbit routine is
3333 *	available to check if the given number has the sign bit set.
3334 *	This should include correct testing of -0.0.  This will only be set
3335 *	if the signbit() routine is safe to use with the NV type used internally
3336 *	in perl.  Users should call Perl_signbit(), which will be #defined to
3337 *	the system's signbit() function or macro if this symbol is defined.
3338 */
3339#$d_signbit HAS_SIGNBIT		/**/
3340
3341/* HAS_SIGPROCMASK:
3342 *	This symbol, if defined, indicates that the sigprocmask
3343 *	system call is available to examine or change the signal mask
3344 *	of the calling process.
3345 */
3346#$d_sigprocmask HAS_SIGPROCMASK		/**/
3347
3348/* USE_SITECUSTOMIZE:
3349 *	This symbol, if defined, indicates that sitecustomize should
3350 *	be used.
3351 */
3352#ifndef USE_SITECUSTOMIZE
3353#$usesitecustomize	USE_SITECUSTOMIZE		/**/
3354#endif
3355
3356/* HAS_SNPRINTF:
3357 *	This symbol, if defined, indicates that the snprintf () library
3358 *	function is available for use.
3359 */
3360/* HAS_VSNPRINTF:
3361 *	This symbol, if defined, indicates that the vsnprintf () library
3362 *	function is available for use.
3363 */
3364#$d_snprintf HAS_SNPRINTF	/**/
3365#$d_vsnprintf HAS_VSNPRINTF	/**/
3366
3367/* HAS_SOCKATMARK:
3368 *	This symbol, if defined, indicates that the sockatmark routine is
3369 *	available to test whether a socket is at the out-of-band mark.
3370 */
3371#$d_sockatmark HAS_SOCKATMARK		/**/
3372
3373/* HAS_SOCKATMARK_PROTO:
3374 *	This symbol, if defined, indicates that the system provides
3375 *	a prototype for the sockatmark() function.  Otherwise, it is up
3376 *	to the program to supply one.  A good guess is
3377 *		extern int sockatmark(int);
3378 */
3379#$d_sockatmarkproto	HAS_SOCKATMARK_PROTO	/**/
3380
3381/* HAS_SOCKS5_INIT:
3382 *	This symbol, if defined, indicates that the socks5_init routine is
3383 *	available to initialize SOCKS 5.
3384 */
3385#$d_socks5_init HAS_SOCKS5_INIT		/**/
3386
3387/* HAS_SQRTL:
3388 *	This symbol, if defined, indicates that the sqrtl routine is
3389 *	available to do long double square roots.
3390 */
3391#$d_sqrtl HAS_SQRTL		/**/
3392
3393/* HAS_SETRESGID_PROTO:
3394 *	This symbol, if defined, indicates that the system provides
3395 *	a prototype for the setresgid() function.  Otherwise, it is up
3396 *	to the program to supply one.  Good guesses are
3397 *		extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3398 */
3399#$d_sresgproto	HAS_SETRESGID_PROTO	/**/
3400
3401/* HAS_SETRESUID_PROTO:
3402 *	This symbol, if defined, indicates that the system provides
3403 *	a prototype for the setresuid() function.  Otherwise, it is up
3404 *	to the program to supply one.  Good guesses are
3405 *		extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3406 */
3407#$d_sresuproto	HAS_SETRESUID_PROTO	/**/
3408
3409/* HAS_STRUCT_STATFS_F_FLAGS:
3410 *	This symbol, if defined, indicates that the struct statfs
3411 *	does have the f_flags member containing the mount flags of
3412 *	the filesystem containing the file.
3413 *	This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3414 *	not from <sys/statfs.h> (SYSV).  Older BSDs (like Ultrix) do not
3415 *	have statfs() and struct statfs, they have ustat() and getmnt()
3416 *	with struct ustat and struct fs_data.
3417 */
3418#$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS		/**/
3419
3420/* HAS_STRUCT_STATFS:
3421 *	This symbol, if defined, indicates that the struct statfs
3422 *	to do statfs() is supported.
3423 */
3424#$d_statfs_s HAS_STRUCT_STATFS	/**/
3425
3426/* HAS_FSTATVFS:
3427 *	This symbol, if defined, indicates that the fstatvfs routine is
3428 *	available to stat filesystems by file descriptors.
3429 */
3430#$d_fstatvfs HAS_FSTATVFS		/**/
3431
3432/* HAS_STRERROR_L:
3433 *	This symbol, if defined, indicates that the strerror_l routine is
3434 *	available to return the error message for a given errno value in
3435 *	a particular locale (identified by a locale_t object).
3436 */
3437#$d_strerror_l HAS_STRERROR_L		/**/
3438
3439/* HAS_STRFTIME:
3440 *	This symbol, if defined, indicates that the strftime routine is
3441 *	available to do time formatting.
3442 */
3443#$d_strftime HAS_STRFTIME		/**/
3444
3445/* HAS_STRLCAT:
3446 *	This symbol, if defined, indicates that the strlcat () routine is
3447 *	available to do string concatenation.
3448 */
3449#$d_strlcat HAS_STRLCAT		/**/
3450
3451/* HAS_STRLCPY:
3452 *	This symbol, if defined, indicates that the strlcpy () routine is
3453 *	available to do string copying.
3454 */
3455#$d_strlcpy HAS_STRLCPY		/**/
3456
3457/* HAS_STRNLEN:
3458 *	This symbol, if defined, indicates that the strnlen () routine is
3459 *	available to check the length of a string up to a maximum.
3460 */
3461#$d_strnlen HAS_STRNLEN		/**/
3462
3463/* HAS_STRTOLD:
3464 *	This symbol, if defined, indicates that the strtold routine is
3465 *	available to convert strings to long doubles.
3466 */
3467#$d_strtold HAS_STRTOLD		/**/
3468
3469/* HAS_STRTOLL:
3470 *	This symbol, if defined, indicates that the strtoll routine is
3471 *	available to convert strings to long longs.
3472 */
3473#$d_strtoll HAS_STRTOLL		/**/
3474
3475/* HAS_STRTOQ:
3476 *	This symbol, if defined, indicates that the strtoq routine is
3477 *	available to convert strings to long longs (quads).
3478 */
3479#$d_strtoq HAS_STRTOQ		/**/
3480
3481/* HAS_STRTOULL:
3482 *	This symbol, if defined, indicates that the strtoull routine is
3483 *	available to convert strings to unsigned long longs.
3484 */
3485#$d_strtoull HAS_STRTOULL		/**/
3486
3487/* HAS_STRTOUQ:
3488 *	This symbol, if defined, indicates that the strtouq routine is
3489 *	available to convert strings to unsigned long longs (quads).
3490 */
3491#$d_strtouq HAS_STRTOUQ		/**/
3492
3493/* HAS_STRXFRM_L:
3494 *	This symbol, if defined, indicates that the strxfrm_l() routine is
3495 *	available to transform strings.
3496 */
3497#$d_strxfrm_l HAS_STRXFRM_L	/**/
3498
3499/* HAS_SYSCALL_PROTO:
3500 *	This symbol, if defined, indicates that the system provides
3501 *	a prototype for the syscall() function.  Otherwise, it is up
3502 *	to the program to supply one.  Good guesses are
3503 *		extern int syscall(int,  ...);
3504 *		extern int syscall(long, ...);
3505 */
3506#$d_syscallproto	HAS_SYSCALL_PROTO	/**/
3507
3508/* HAS_TELLDIR_PROTO:
3509 *	This symbol, if defined, indicates that the system provides
3510 *	a prototype for the telldir() function.  Otherwise, it is up
3511 *	to the program to supply one.  A good guess is
3512 *		extern long telldir(DIR*);
3513 */
3514#$d_telldirproto	HAS_TELLDIR_PROTO	/**/
3515
3516/* HAS_TGAMMA:
3517 *	This symbol, if defined, indicates that the tgamma routine is
3518 *	available to do the gamma function. See also HAS_LGAMMA.
3519 */
3520#$d_tgamma HAS_TGAMMA		/**/
3521
3522/* HAS_CTIME64:
3523 *	This symbol, if defined, indicates that the ctime64 () routine is
3524 *	available to do the 64bit variant of ctime ()
3525 */
3526/* HAS_LOCALTIME64:
3527 *	This symbol, if defined, indicates that the localtime64 () routine is
3528 *	available to do the 64bit variant of localtime ()
3529 */
3530/* HAS_GMTIME64:
3531 *	This symbol, if defined, indicates that the gmtime64 () routine is
3532 *	available to do the 64bit variant of gmtime ()
3533 */
3534/* HAS_MKTIME64:
3535 *	This symbol, if defined, indicates that the mktime64 () routine is
3536 *	available to do the 64bit variant of mktime ()
3537 */
3538/* HAS_DIFFTIME64:
3539 *	This symbol, if defined, indicates that the difftime64 () routine is
3540 *	available to do the 64bit variant of difftime ()
3541 */
3542/* HAS_ASCTIME64:
3543 *	This symbol, if defined, indicates that the asctime64 () routine is
3544 *	available to do the 64bit variant of asctime ()
3545 */
3546#$d_ctime64	HAS_CTIME64		/**/
3547#$d_localtime64	HAS_LOCALTIME64		/**/
3548#$d_gmtime64	HAS_GMTIME64		/**/
3549#$d_mktime64	HAS_MKTIME64		/**/
3550#$d_difftime64	HAS_DIFFTIME64		/**/
3551#$d_asctime64	HAS_ASCTIME64		/**/
3552
3553/* HAS_TIMEGM:
3554 *	This symbol, if defined, indicates that the timegm routine is
3555 *	available to do the opposite of gmtime ()
3556 */
3557#$d_timegm HAS_TIMEGM		/**/
3558
3559/* HAS_TOWLOWER:
3560 *	This symbol, if defined, indicates that the towlower () routine is
3561 *	available to do case conversion.
3562 */
3563#$d_towlower HAS_TOWLOWER		/**/
3564
3565/* HAS_TOWUPPER:
3566 *	This symbol, if defined, indicates that the towupper () routine is
3567 *	available to do case conversion.
3568 */
3569#$d_towupper HAS_TOWUPPER		/**/
3570
3571/* HAS_TRUNC:
3572 *	This symbol, if defined, indicates that the trunc routine is
3573 *	available to round doubles towards zero.
3574 */
3575#$d_trunc HAS_TRUNC		/**/
3576
3577/* HAS_TRUNCL:
3578 *	This symbol, if defined, indicates that the truncl routine is
3579 *	available. If copysignl is also present we can emulate modfl.
3580 */
3581#$d_truncl HAS_TRUNCL		/**/
3582
3583/* U32_ALIGNMENT_REQUIRED:
3584 *	This symbol, if defined, indicates that you must access
3585 *	character data through U32-aligned pointers.
3586 */
3587#ifndef U32_ALIGNMENT_REQUIRED
3588#$d_u32align U32_ALIGNMENT_REQUIRED	/**/
3589#endif
3590
3591/* HAS_UALARM:
3592 *	This symbol, if defined, indicates that the ualarm routine is
3593 *	available to do alarms with microsecond granularity.
3594 */
3595#$d_ualarm HAS_UALARM		/**/
3596
3597/* HAS_UNORDERED:
3598 *	This symbol, if defined, indicates that the unordered routine is
3599 *	available to check whether two doubles are unordered
3600 *	(effectively: whether either of them is NaN)
3601 */
3602#$d_unordered HAS_UNORDERED		/**/
3603
3604/* HAS_UNSETENV:
3605 *	This symbol, if defined, indicates that the unsetenv () routine is
3606 *	available for use.
3607 */
3608#$d_unsetenv HAS_UNSETENV		/**/
3609
3610/* HAS_USLEEP_PROTO:
3611 *	This symbol, if defined, indicates that the system provides
3612 *	a prototype for the usleep() function.  Otherwise, it is up
3613 *	to the program to supply one.  A good guess is
3614 *		extern int usleep(useconds_t);
3615 */
3616#$d_usleepproto	HAS_USLEEP_PROTO	/**/
3617
3618/* HAS_USTAT:
3619 *	This symbol, if defined, indicates that the ustat system call is
3620 *	available to query file system statistics by dev_t.
3621 */
3622#$d_ustat HAS_USTAT		/**/
3623
3624/* HAS_WCSCMP:
3625 *	This symbol, if defined, indicates that the wcscmp routine is
3626 *	available to compare two wide character strings.
3627 */
3628#$d_wcscmp HAS_WCSCMP	/**/
3629
3630/* HAS_WCSXFRM:
3631 *	This symbol, if defined, indicates that the wcsxfrm routine is
3632 *	available to transform a wide character string for wcscmp().
3633 */
3634#$d_wcsxfrm HAS_WCSXFRM	/**/
3635
3636/* HAS_WRITEV:
3637 *	This symbol, if defined, indicates that the writev routine is
3638 *	available to do scatter writes.
3639 */
3640#$d_writev HAS_WRITEV		/**/
3641
3642/* DEFAULT_INC_EXCLUDES_DOT:
3643 *	This symbol, if defined, removes the legacy default behavior of
3644 *	including '.' at the end of @INC.
3645 */
3646#$default_inc_excludes_dot DEFAULT_INC_EXCLUDES_DOT	/**/
3647
3648/* USE_DYNAMIC_LOADING:
3649 *	This symbol, if defined, indicates that dynamic loading of
3650 *	some sort is available.
3651 */
3652#$usedl USE_DYNAMIC_LOADING		/**/
3653
3654/* FFLUSH_NULL:
3655 *	This symbol, if defined, tells that fflush(NULL) correctly
3656 *	flushes all pending stdio output without side effects. In
3657 *	particular, on some platforms calling fflush(NULL) *still*
3658 *	corrupts STDIN if it is a pipe.
3659 */
3660/* FFLUSH_ALL:
3661 *	This symbol, if defined, tells that to flush
3662 *	all pending stdio output one must loop through all
3663 *	the stdio file handles stored in an array and fflush them.
3664 *	Note that if fflushNULL is defined, fflushall will not
3665 *	even be probed for and will be left undefined.
3666 */
3667#$fflushNULL	FFLUSH_NULL		/**/
3668#$fflushall	FFLUSH_ALL		/**/
3669
3670/* I_BFD:
3671 *	This symbol, if defined, indicates that <bfd.h> exists and
3672 *	can be included.
3673 */
3674#$i_bfd	I_BFD		/**/
3675
3676/* I_CRYPT:
3677 *	This symbol, if defined, indicates that <crypt.h> exists and
3678 *	should be included.
3679 */
3680#$i_crypt	I_CRYPT		/**/
3681
3682/* DB_Prefix_t:
3683 *	This symbol contains the type of the prefix structure element
3684 *	in the <db.h> header file.  In older versions of DB, it was
3685 *	int, while in newer ones it is u_int32_t.
3686 */
3687/* DB_Hash_t:
3688 *	This symbol contains the type of the prefix structure element
3689 *	in the <db.h> header file.  In older versions of DB, it was
3690 *	int, while in newer ones it is size_t.
3691 */
3692/* DB_VERSION_MAJOR_CFG:
3693 *	This symbol, if defined, defines the major version number of
3694 *	Berkeley DB found in the <db.h> header when Perl was configured.
3695 */
3696/* DB_VERSION_MINOR_CFG:
3697 *	This symbol, if defined, defines the minor version number of
3698 *	Berkeley DB found in the <db.h> header when Perl was configured.
3699 *	For DB version 1 this is always 0.
3700 */
3701/* DB_VERSION_PATCH_CFG:
3702 *	This symbol, if defined, defines the patch version number of
3703 *	Berkeley DB found in the <db.h> header when Perl was configured.
3704 *	For DB version 1 this is always 0.
3705 */
3706#define DB_Hash_t	$db_hashtype		/**/
3707#define DB_Prefix_t	$db_prefixtype		/**/
3708#define DB_VERSION_MAJOR_CFG	$db_version_major	/**/
3709#define DB_VERSION_MINOR_CFG	$db_version_minor	/**/
3710#define DB_VERSION_PATCH_CFG	$db_version_patch	/**/
3711
3712/* I_FENV:
3713 *	This symbol, if defined, indicates to the C program that it should
3714 *	include <fenv.h> to get the floating point environment definitions.
3715 */
3716#$i_fenv I_FENV		/**/
3717
3718/* I_FP:
3719 *	This symbol, if defined, indicates that <fp.h> exists and
3720 *	should be included.
3721 */
3722#$i_fp	I_FP		/**/
3723
3724/* I_FP_CLASS:
3725 *	This symbol, if defined, indicates that <fp_class.h> exists and
3726 *	should be included.
3727 */
3728#$i_fp_class	I_FP_CLASS		/**/
3729
3730/* I_IEEEFP:
3731 *	This symbol, if defined, indicates that <ieeefp.h> exists and
3732 *	should be included.
3733 */
3734#$i_ieeefp	I_IEEEFP		/**/
3735
3736/* I_INTTYPES:
3737 *	This symbol, if defined, indicates to the C program that it should
3738 *	include <inttypes.h>.
3739 */
3740#$i_inttypes   I_INTTYPES                /**/
3741
3742/* I_LANGINFO:
3743 *	This symbol, if defined, indicates that <langinfo.h> exists and
3744 *	should be included.
3745 */
3746#$i_langinfo	I_LANGINFO		/**/
3747
3748/* I_LIBUTIL:
3749 *	This symbol, if defined, indicates that <libutil.h> exists and
3750 *	should be included.
3751 */
3752#$i_libutil	I_LIBUTIL		/**/
3753
3754/* I_MALLOCMALLOC:
3755 *	This symbol, if defined, indicates to the C program that it should
3756 *	include <malloc/malloc.h>.
3757 */
3758#$i_mallocmalloc I_MALLOCMALLOC		/**/
3759
3760/* I_MNTENT:
3761 *	This symbol, if defined, indicates that <mntent.h> exists and
3762 *	should be included.
3763 */
3764#$i_mntent	I_MNTENT		/**/
3765
3766/* I_NETINET_TCP:
3767 *	This symbol, if defined, indicates to the C program that it should
3768 *	include <netinet/tcp.h>.
3769 */
3770#$i_netinettcp   I_NETINET_TCP                /**/
3771
3772/* I_POLL:
3773 *	This symbol, if defined, indicates that <poll.h> exists and
3774 *	should be included. (see also HAS_POLL)
3775 */
3776#$i_poll	I_POLL		/**/
3777
3778/* I_PROT:
3779 *	This symbol, if defined, indicates that <prot.h> exists and
3780 *	should be included.
3781 */
3782#$i_prot	I_PROT		/**/
3783
3784/* I_QUADMATH:
3785 *	This symbol, if defined, indicates that <quadmath.h> exists and
3786 *	should be included.
3787 */
3788#$i_quadmath	I_QUADMATH		/**/
3789
3790/* I_SHADOW:
3791 *	This symbol, if defined, indicates that <shadow.h> exists and
3792 *	should be included.
3793 */
3794#$i_shadow	I_SHADOW		/**/
3795
3796/* I_SOCKS:
3797 *	This symbol, if defined, indicates that <socks.h> exists and
3798 *	should be included.
3799 */
3800#$i_socks	I_SOCKS		/**/
3801
3802/* I_STDBOOL:
3803 *	This symbol, if defined, indicates that <stdbool.h> exists and
3804 *	can be included.
3805 */
3806#$i_stdbool	I_STDBOOL		/**/
3807
3808/* I_STDINT:
3809 *	This symbol, if defined, indicates that <stdint.h> exists and
3810 *	should be included.
3811 */
3812#$i_stdint I_STDINT		/**/
3813
3814/* I_SUNMATH:
3815 *	This symbol, if defined, indicates that <sunmath.h> exists and
3816 *	should be included.
3817 */
3818#$i_sunmath	I_SUNMATH		/**/
3819
3820/* I_SYSLOG:
3821 *	This symbol, if defined, indicates that <syslog.h> exists and
3822 *	should be included.
3823 */
3824#$i_syslog	I_SYSLOG		/**/
3825
3826/* I_SYSMODE:
3827 *	This symbol, if defined, indicates that <sys/mode.h> exists and
3828 *	should be included.
3829 */
3830#$i_sysmode	I_SYSMODE		/**/
3831
3832/* I_SYS_MOUNT:
3833 *	This symbol, if defined, indicates that <sys/mount.h> exists and
3834 *	should be included.
3835 */
3836#$i_sysmount	I_SYS_MOUNT		/**/
3837
3838/* I_SYS_STATFS:
3839 *	This symbol, if defined, indicates that <sys/statfs.h> exists.
3840 */
3841#$i_sysstatfs	I_SYS_STATFS		/**/
3842
3843/* I_SYS_STATVFS:
3844 *	This symbol, if defined, indicates that <sys/statvfs.h> exists and
3845 *	should be included.
3846 */
3847#$i_sysstatvfs	I_SYS_STATVFS		/**/
3848
3849/* I_SYS_SYSCALL:
3850 *	This symbol, if defined, indicates that <sys/syscall.h> exists.
3851 */
3852#$i_syssyscall	I_SYS_SYSCALL		/**/
3853
3854/* I_SYSUTSNAME:
3855 *	This symbol, if defined, indicates that <sys/utsname.h> exists and
3856 *	should be included.
3857 */
3858#$i_sysutsname	I_SYSUTSNAME		/**/
3859
3860/* I_SYS_VFS:
3861 *	This symbol, if defined, indicates that <sys/vfs.h> exists and
3862 *	should be included.
3863 */
3864#$i_sysvfs	I_SYS_VFS		/**/
3865
3866/* I_USTAT:
3867 *	This symbol, if defined, indicates that <ustat.h> exists and
3868 *	should be included.
3869 */
3870#$i_ustat	I_USTAT		/**/
3871
3872/* I_WCHAR:
3873 *	This symbol, if defined, indicates to the C program that <wchar.h>
3874 *	is available for inclusion
3875 */
3876#$i_wchar   I_WCHAR	/**/
3877
3878/* I_WCTYPE:
3879 *	This symbol, if defined, indicates that <wctype.h> exists.
3880 */
3881#$i_wctype	I_WCTYPE		/**/
3882
3883/* DOUBLEINFBYTES:
3884 *	This symbol, if defined, is a comma-separated list of
3885 *	hexadecimal bytes for the double precision infinity.
3886 */
3887/* DOUBLENANBYTES:
3888 *	This symbol, if defined, is a comma-separated list of
3889 *	hexadecimal bytes (0xHH) for the double precision not-a-number.
3890 */
3891/* LONGDBLINFBYTES:
3892 *	This symbol, if defined, is a comma-separated list of
3893 *	hexadecimal bytes for the long double precision infinity.
3894 */
3895/* LONGDBLNANBYTES:
3896 *	This symbol, if defined, is a comma-separated list of
3897 *	hexadecimal bytes (0xHH) for the long double precision not-a-number.
3898 */
3899#define DOUBLEINFBYTES  $doubleinfbytes		/**/
3900#define DOUBLENANBYTES  $doublenanbytes		/**/
3901#define LONGDBLINFBYTES $longdblinfbytes		/**/
3902#define LONGDBLNANBYTES $longdblnanbytes		/**/
3903
3904/* PERL_PRIfldbl:
3905 *	This symbol, if defined, contains the string used by stdio to
3906 *	format long doubles (format 'f') for output.
3907 */
3908/* PERL_PRIgldbl:
3909 *	This symbol, if defined, contains the string used by stdio to
3910 *	format long doubles (format 'g') for output.
3911 */
3912/* PERL_PRIeldbl:
3913 *	This symbol, if defined, contains the string used by stdio to
3914 *	format long doubles (format 'e') for output.
3915 */
3916/* PERL_SCNfldbl:
3917 *	This symbol, if defined, contains the string used by stdio to
3918 *	format long doubles (format 'f') for input.
3919 */
3920/* DOUBLEKIND:
3921 *	DOUBLEKIND will be one of
3922 *	DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN
3923 *	DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN
3924 *	DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN
3925 *	DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN
3926 *	DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
3927 *	DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
3928 *	DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE
3929 *	DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE
3930 *	DOUBLE_IS_VAX_F_FLOAT
3931 *	DOUBLE_IS_VAX_D_FLOAT
3932 *	DOUBLE_IS_VAX_G_FLOAT
3933 *	DOUBLE_IS_IBM_SINGLE_32_BIT
3934 *	DOUBLE_IS_IBM_DOUBLE_64_BIT
3935 *	DOUBLE_IS_CRAY_SINGLE_64_BIT
3936 *	DOUBLE_IS_UNKNOWN_FORMAT
3937 */
3938/* DOUBLE_HAS_INF:
3939 *	This symbol, if defined, indicates that the double has
3940 *	the infinity.
3941 */
3942/* DOUBLE_HAS_NAN:
3943 *	This symbol, if defined, indicates that the double has
3944 *	the not-a-number.
3945 */
3946/* DOUBLE_HAS_NEGATIVE_ZERO:
3947 *	This symbol, if defined, indicates that the double has
3948 *	the negative_zero.
3949 */
3950/* DOUBLE_HAS_SUBNORMALS:
3951 *	This symbol, if defined, indicates that the double has
3952 *	the subnormals (denormals).
3953 */
3954/* DOUBLE_STYLE_CRAY:
3955 *	This symbol, if defined, indicates that the double is
3956 *	the 64-bit CRAY mainframe format.
3957 */
3958/* DOUBLE_STYLE_IBM:
3959 *	This symbol, if defined, indicates that the double is
3960 *	the 64-bit IBM mainframe format.
3961 */
3962/* DOUBLE_STYLE_IEEE:
3963 *	This symbol, if defined, indicates that the double is
3964 *	the 64-bit IEEE 754.
3965 */
3966/* DOUBLE_STYLE_VAX:
3967 *	This symbol, if defined, indicates that the double is
3968 *	the 64-bit VAX format D or G.
3969 */
3970#define DOUBLEKIND $doublekind		/**/
3971#define DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN	1
3972#define DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN	2
3973#define DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN	3
3974#define DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN	4
3975#define DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN	5
3976#define DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN	6
3977#define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE	7
3978#define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE	8
3979#define DOUBLE_IS_VAX_F_FLOAT	9
3980#define DOUBLE_IS_VAX_D_FLOAT	10
3981#define DOUBLE_IS_VAX_G_FLOAT	11
3982#define DOUBLE_IS_IBM_SINGLE_32_BIT	12
3983#define DOUBLE_IS_IBM_DOUBLE_64_BIT	13
3984#define DOUBLE_IS_CRAY_SINGLE_64_BIT	14
3985#define DOUBLE_IS_UNKNOWN_FORMAT		-1
3986#$d_PRIfldbl PERL_PRIfldbl	$sPRIfldbl	/**/
3987#$d_PRIgldbl PERL_PRIgldbl	$sPRIgldbl	/**/
3988#$d_PRIeldbl PERL_PRIeldbl	$sPRIeldbl	/**/
3989#$d_SCNfldbl PERL_SCNfldbl	$sSCNfldbl	/**/
3990#$d_double_has_inf DOUBLE_HAS_INF
3991#$d_double_has_nan DOUBLE_HAS_NAN
3992#$d_double_has_negative_zero DOUBLE_HAS_NEGATIVE_ZERO
3993#$d_double_has_subnormals DOUBLE_HAS_SUBNORMALS
3994#$d_double_style_cray DOUBLE_STYLE_CRAY
3995#$d_double_style_ibm DOUBLE_STYLE_IBM
3996#$d_double_style_ieee DOUBLE_STYLE_IEEE
3997#$d_double_style_vax DOUBLE_STYLE_VAX
3998
3999/* DOUBLEMANTBITS:
4000 *	This symbol, if defined, tells how many mantissa bits
4001 *	there are in double precision floating point format.
4002 *	Note that this is usually DBL_MANT_DIG minus one, since
4003 *	with the standard IEEE 754 formats DBL_MANT_DIG includes
4004 *	the implicit bit, which doesn't really exist.
4005 */
4006/* LONGDBLMANTBITS:
4007 *	This symbol, if defined, tells how many mantissa bits
4008 *	there are in long double precision floating point format.
4009 *	Note that this can be LDBL_MANT_DIG minus one,
4010 *	since LDBL_MANT_DIG can include the IEEE 754 implicit bit.
4011 *	The common x86-style 80-bit long double does not have
4012 *	an implicit bit.
4013 */
4014/* NVMANTBITS:
4015 *	This symbol, if defined, tells how many mantissa bits
4016 *	(not including implicit bit) there are in a Perl NV.
4017 *	This depends on which floating point type was chosen.
4018 */
4019#define DOUBLEMANTBITS  $doublemantbits
4020#define LONGDBLMANTBITS $longdblmantbits
4021#define NVMANTBITS      $nvmantbits
4022
4023/* NEED_VA_COPY:
4024 *	This symbol, if defined, indicates that the system stores
4025 *	the variable argument list datatype, va_list, in a format
4026 *	that cannot be copied by simple assignment, so that some
4027 *	other means must be used when copying is required.
4028 *	As such systems vary in their provision (or non-provision)
4029 *	of copying mechanisms, handy.h defines a platform-
4030 *	independent macro, Perl_va_copy(src, dst), to do the job.
4031 */
4032#$need_va_copy	NEED_VA_COPY		/**/
4033
4034/* I32df:
4035 *	This symbol defines the format string used for printing a Perl I32
4036 *	as a signed decimal integer.
4037 */
4038/* U32uf:
4039 *	This symbol defines the format string used for printing a Perl U32
4040 *	as an unsigned decimal integer.
4041 */
4042/* U32of:
4043 *	This symbol defines the format string used for printing a Perl U32
4044 *	as an unsigned octal integer.
4045 */
4046/* U32xf:
4047 *	This symbol defines the format string used for printing a Perl U32
4048 *	as an unsigned hexadecimal integer in lowercase abcdef.
4049 */
4050/* U32Xf:
4051 *	This symbol defines the format string used for printing a Perl U32
4052 *	as an unsigned hexadecimal integer in uppercase ABCDEF.
4053 */
4054#define I32df		$i32dformat		/**/
4055#define U32of		$u32oformat		/**/
4056#define U32uf		$u32uformat		/**/
4057#define U32xf		$u32xformat		/**/
4058#define U32Xf		$u32XUformat		/**/
4059
4060/* IVTYPE:
4061 *	This symbol defines the C type used for Perl's IV.
4062 */
4063/* UVTYPE:
4064 *	This symbol defines the C type used for Perl's UV.
4065 */
4066/* I8TYPE:
4067 *	This symbol defines the C type used for Perl's I8.
4068 */
4069/* U8TYPE:
4070 *	This symbol defines the C type used for Perl's U8.
4071 */
4072/* I16TYPE:
4073 *	This symbol defines the C type used for Perl's I16.
4074 */
4075/* U16TYPE:
4076 *	This symbol defines the C type used for Perl's U16.
4077 */
4078/* I32TYPE:
4079 *	This symbol defines the C type used for Perl's I32.
4080 */
4081/* U32TYPE:
4082 *	This symbol defines the C type used for Perl's U32.
4083 */
4084/* I64TYPE:
4085 *	This symbol defines the C type used for Perl's I64.
4086 */
4087/* U64TYPE:
4088 *	This symbol defines the C type used for Perl's U64.
4089 */
4090/* NVTYPE:
4091 *	This symbol defines the C type used for Perl's NV.
4092 */
4093/* IVSIZE:
4094 *	This symbol contains the sizeof(IV).
4095 */
4096/* UVSIZE:
4097 *	This symbol contains the sizeof(UV).
4098 */
4099/* I8SIZE:
4100 *	This symbol contains the sizeof(I8).
4101 */
4102/* U8SIZE:
4103 *	This symbol contains the sizeof(U8).
4104 */
4105/* I16SIZE:
4106 *	This symbol contains the sizeof(I16).
4107 */
4108/* U16SIZE:
4109 *	This symbol contains the sizeof(U16).
4110 */
4111/* I32SIZE:
4112 *	This symbol contains the sizeof(I32).
4113 */
4114/* U32SIZE:
4115 *	This symbol contains the sizeof(U32).
4116 */
4117/* I64SIZE:
4118 *	This symbol contains the sizeof(I64).
4119 */
4120/* U64SIZE:
4121 *	This symbol contains the sizeof(U64).
4122 */
4123/* NVSIZE:
4124 *	This symbol contains the sizeof(NV).
4125 *	Note that some floating point formats have unused bytes.
4126 *	The most notable example is the x86* 80-bit extended precision
4127 *	which comes in byte sizes of 12 and 16 (for 32 and 64 bit
4128 *	platforms, respectively), but which only uses 10 bytes.
4129 *	Perl compiled with -Duselongdouble on x86* is like this.
4130 */
4131/* NV_PRESERVES_UV:
4132 *	This symbol, if defined, indicates that a variable of type NVTYPE
4133 *	can preserve all the bits of a variable of type UVTYPE.
4134 */
4135/* NV_PRESERVES_UV_BITS:
4136 *	This symbol contains the number of bits a variable of type NVTYPE
4137 *	can preserve of a variable of type UVTYPE.
4138 */
4139/* NV_OVERFLOWS_INTEGERS_AT:
4140 *	This symbol gives the largest integer value that NVs can hold. This
4141 *	value + 1.0 cannot be stored accurately. It is expressed as constant
4142 *	floating point expression to reduce the chance of decimal/binary
4143 *	conversion issues. If it can not be determined, the value 0 is given.
4144 */
4145/* NV_ZERO_IS_ALLBITS_ZERO:
4146 *	This symbol, if defined, indicates that a variable of type NVTYPE
4147 *	stores 0.0 in memory as all bits zero.
4148 */
4149#define IVTYPE		$ivtype		/**/
4150#define UVTYPE		$uvtype		/**/
4151#define I8TYPE		$i8type		/**/
4152#define U8TYPE		$u8type		/**/
4153#define I16TYPE		$i16type	/**/
4154#define U16TYPE		$u16type	/**/
4155#define I32TYPE		$i32type	/**/
4156#define U32TYPE		$u32type	/**/
4157#ifdef HAS_QUAD
4158#define I64TYPE		$i64type	/**/
4159#define U64TYPE		$u64type	/**/
4160#endif
4161#define NVTYPE		$nvtype		/**/
4162#define IVSIZE		$ivsize		/**/
4163#define UVSIZE		$uvsize		/**/
4164#define I8SIZE		$i8size		/**/
4165#define U8SIZE		$u8size		/**/
4166#define I16SIZE		$i16size	/**/
4167#define U16SIZE		$u16size	/**/
4168#define I32SIZE		$i32size	/**/
4169#define U32SIZE		$u32size	/**/
4170#ifdef HAS_QUAD
4171#define I64SIZE		$i64size	/**/
4172#define U64SIZE		$u64size	/**/
4173#endif
4174#define NVSIZE		$nvsize		/**/
4175#$d_nv_preserves_uv	NV_PRESERVES_UV
4176#define NV_PRESERVES_UV_BITS	$nv_preserves_uv_bits
4177#define NV_OVERFLOWS_INTEGERS_AT	($nv_overflows_integers_at)
4178#$d_nv_zero_is_allbits_zero	NV_ZERO_IS_ALLBITS_ZERO
4179#if UVSIZE == 8
4180#   ifdef BYTEORDER
4181#       if BYTEORDER == 0x1234
4182#           undef BYTEORDER
4183#           define BYTEORDER 0x12345678
4184#       else
4185#           if BYTEORDER == 0x4321
4186#               undef BYTEORDER
4187#               define BYTEORDER 0x87654321
4188#           endif
4189#       endif
4190#   endif
4191#endif
4192
4193/* IVdf:
4194 *	This symbol defines the format string used for printing a Perl IV
4195 *	as a signed decimal integer.
4196 */
4197/* UVuf:
4198 *	This symbol defines the format string used for printing a Perl UV
4199 *	as an unsigned decimal integer.
4200 */
4201/* UVof:
4202 *	This symbol defines the format string used for printing a Perl UV
4203 *	as an unsigned octal integer.
4204 */
4205/* UVxf:
4206 *	This symbol defines the format string used for printing a Perl UV
4207 *	as an unsigned hexadecimal integer in lowercase abcdef.
4208 */
4209/* UVXf:
4210 *	This symbol defines the format string used for printing a Perl UV
4211 *	as an unsigned hexadecimal integer in uppercase ABCDEF.
4212 */
4213/* NVef:
4214 *	This symbol defines the format string used for printing a Perl NV
4215 *	using %e-ish floating point format.
4216 */
4217/* NVff:
4218 *	This symbol defines the format string used for printing a Perl NV
4219 *	using %f-ish floating point format.
4220 */
4221/* NVgf:
4222 *	This symbol defines the format string used for printing a Perl NV
4223 *	using %g-ish floating point format.
4224 */
4225#define IVdf		$ivdformat		/**/
4226#define UVuf		$uvuformat		/**/
4227#define UVof		$uvoformat		/**/
4228#define UVxf		$uvxformat		/**/
4229#define UVXf		$uvXUformat		/**/
4230#define NVef		$nveformat		/**/
4231#define NVff		$nvfformat		/**/
4232#define NVgf		$nvgformat		/**/
4233
4234/* SELECT_MIN_BITS:
4235 *	This symbol holds the minimum number of bits operated by select.
4236 *	That is, if you do select(n, ...), how many bits at least will be
4237 *	cleared in the masks if some activity is detected.  Usually this
4238 *	is either n or 32*ceil(n/32), especially many little-endians do
4239 *	the latter.  This is only useful if you have select(), naturally.
4240 */
4241#define SELECT_MIN_BITS	$selectminbits	/**/
4242
4243/* ST_DEV_SIZE:
4244 *	This variable contains the size of struct stat's st_dev in bytes.
4245 */
4246/* ST_DEV_SIGN:
4247 *	This symbol holds the signedness of struct stat's st_dev.
4248 *	1 for unsigned, -1 for signed.
4249 */
4250#define ST_DEV_SIGN $st_dev_sign	/* st_dev sign */
4251#define ST_DEV_SIZE $st_dev_size	/* st_dev size */
4252
4253/* ST_INO_SIZE:
4254 *	This variable contains the size of struct stat's st_ino in bytes.
4255 */
4256/* ST_INO_SIGN:
4257 *	This symbol holds the signedness of struct stat's st_ino.
4258 *	1 for unsigned, -1 for signed.
4259 */
4260#define ST_INO_SIGN $st_ino_sign	/* st_ino sign */
4261#define ST_INO_SIZE $st_ino_size	/* st_ino size */
4262
4263/* STARTPERL:
4264 *	This variable contains the string to put in front of a perl
4265 *	script to make sure (one hopes) that it runs with perl and not
4266 *	some shell.
4267 */
4268#define STARTPERL "$startperl"		/**/
4269
4270/* HAS_STDIO_STREAM_ARRAY:
4271 *	This symbol, if defined, tells that there is an array
4272 *	holding the stdio streams.
4273 */
4274/* STDIO_STREAM_ARRAY:
4275 *	This symbol tells the name of the array holding the stdio streams.
4276 *	Usual values include _iob, __iob, and __sF.
4277 */
4278#$d_stdio_stream_array	HAS_STDIO_STREAM_ARRAY	/**/
4279#ifdef HAS_STDIO_STREAM_ARRAY
4280#define STDIO_STREAM_ARRAY	$stdio_stream_array
4281#endif
4282
4283/* GMTIME_MAX:
4284 *	This symbol contains the maximum value for the time_t offset that
4285 *	the system function gmtime () accepts, and defaults to 0
4286 */
4287/* GMTIME_MIN:
4288 *	This symbol contains the minimum value for the time_t offset that
4289 *	the system function gmtime () accepts, and defaults to 0
4290 */
4291/* LOCALTIME_MAX:
4292 *	This symbol contains the maximum value for the time_t offset that
4293 *	the system function localtime () accepts, and defaults to 0
4294 */
4295/* LOCALTIME_MIN:
4296 *	This symbol contains the minimum value for the time_t offset that
4297 *	the system function localtime () accepts, and defaults to 0
4298 */
4299#define GMTIME_MAX		$sGMTIME_max	/**/
4300#define GMTIME_MIN		$sGMTIME_min	/**/
4301#define LOCALTIME_MAX	$sLOCALTIME_max	/**/
4302#define LOCALTIME_MIN	$sLOCALTIME_min	/**/
4303
4304/* USE_64_BIT_INT:
4305 *	This symbol, if defined, indicates that 64-bit integers should
4306 *	be used when available.  If not defined, the native integers
4307 *	will be employed (be they 32 or 64 bits).  The minimal possible
4308 *	64-bitness is used, just enough to get 64-bit integers into Perl.
4309 *	This may mean using for example "long longs", while your memory
4310 *	may still be limited to 2 gigabytes.
4311 */
4312/* USE_64_BIT_ALL:
4313 *	This symbol, if defined, indicates that 64-bit integers should
4314 *	be used when available.  If not defined, the native integers
4315 *	will be used (be they 32 or 64 bits).  The maximal possible
4316 *	64-bitness is employed: LP64 or ILP64, meaning that you will
4317 *	be able to use more than 2 gigabytes of memory.  This mode is
4318 *	even more binary incompatible than USE_64_BIT_INT. You may not
4319 *	be able to run the resulting executable in a 32-bit CPU at all or
4320 *	you may need at least to reboot your OS to 64-bit mode.
4321 */
4322#ifndef USE_64_BIT_INT
4323#$use64bitint	USE_64_BIT_INT		/**/
4324#endif
4325#ifndef USE_64_BIT_ALL
4326#$use64bitall	USE_64_BIT_ALL		/**/
4327#endif
4328
4329/* USE_C_BACKTRACE:
4330 *	This symbol, if defined, indicates that Perl should
4331 *	be built with support for backtrace.
4332 */
4333#$usecbacktrace USE_C_BACKTRACE		/**/
4334
4335/* USE_STRICT_BY_DEFAULT:
4336 *	This symbol, if defined, enables additional defaults.
4337 *	At this time it only enables implicit strict by default.
4338 */
4339#$usedefaultstrict USE_STRICT_BY_DEFAULT	/* use strict by default */
4340
4341/* USE_DTRACE:
4342 *	This symbol, if defined, indicates that Perl should
4343 *	be built with support for DTrace.
4344 */
4345#$usedtrace USE_DTRACE		/**/
4346
4347/* USE_FAST_STDIO:
4348 *	This symbol, if defined, indicates that Perl should
4349 *	be built to use 'fast stdio'.
4350 *	Defaults to define in Perls 5.8 and earlier, to undef later.
4351 */
4352#ifndef USE_FAST_STDIO
4353#$usefaststdio	USE_FAST_STDIO		/**/
4354#endif
4355
4356/* USE_KERN_PROC_PATHNAME:
4357 *	This symbol, if defined, indicates that we can use sysctl with
4358 *	KERN_PROC_PATHNAME to get a full path for the executable, and hence
4359 *	convert $^X to an absolute path.
4360 */
4361#$usekernprocpathname USE_KERN_PROC_PATHNAME	/**/
4362
4363/* USE_LARGE_FILES:
4364 *	This symbol, if defined, indicates that large file support
4365 *	should be used when available.
4366 */
4367#ifndef USE_LARGE_FILES
4368#$uselargefiles	USE_LARGE_FILES		/**/
4369#endif
4370
4371/* USE_LONG_DOUBLE:
4372 *	This symbol, if defined, indicates that long doubles should
4373 *	be used when available.
4374 */
4375#ifndef USE_LONG_DOUBLE
4376#$uselongdouble	USE_LONG_DOUBLE		/**/
4377#endif
4378
4379/* USE_MORE_BITS:
4380 *	This symbol, if defined, indicates that 64-bit interfaces and
4381 *	long doubles should be used when available.
4382 */
4383#ifndef USE_MORE_BITS
4384#$usemorebits	USE_MORE_BITS		/**/
4385#endif
4386
4387/* MULTIPLICITY:
4388 *	This symbol, if defined, indicates that Perl should
4389 *	be built to use multiplicity.
4390 */
4391#ifndef MULTIPLICITY
4392#$usemultiplicity	MULTIPLICITY		/**/
4393#endif
4394
4395/* USE_NSGETEXECUTABLEPATH:
4396 *	This symbol, if defined, indicates that we can use _NSGetExecutablePath
4397 *	and realpath to get a full path for the executable, and hence convert
4398 *	$^X to an absolute path.
4399 */
4400#$usensgetexecutablepath USE_NSGETEXECUTABLEPATH	/**/
4401
4402/* USE_PERLIO:
4403 *	This symbol, if defined, indicates that the PerlIO abstraction should
4404 *	be used throughout.  If not defined, stdio should be
4405 *	used in a fully backward compatible manner.
4406 */
4407#ifndef USE_PERLIO
4408#$useperlio	USE_PERLIO		/**/
4409#endif
4410
4411/* USE_QUADMATH:
4412 *	This symbol, if defined, indicates that the quadmath library should
4413 *	be used when available.
4414 */
4415#ifndef USE_QUADMATH
4416#$usequadmath	USE_QUADMATH		/**/
4417#endif
4418
4419/* USE_SOCKS:
4420 *	This symbol, if defined, indicates that Perl should
4421 *	be built to use socks.
4422 */
4423#ifndef USE_SOCKS
4424#$usesocks	USE_SOCKS		/**/
4425#endif
4426
4427/* HAS_DRAND48_PROTO:
4428 *	This symbol, if defined, indicates that the system provides
4429 *	a prototype for the drand48() function.  Otherwise, it is up
4430 *	to the program to supply one.  A good guess is
4431 *		extern double drand48(void);
4432 */
4433#$d_drand48proto	HAS_DRAND48_PROTO	/**/
4434
4435/* HAS_GETHOST_PROTOS:
4436 *	This symbol, if defined, indicates that <netdb.h> includes
4437 *	prototypes for gethostent(), gethostbyname(), and
4438 *	gethostbyaddr().  Otherwise, it is up to the program to guess
4439 *	them.  See netdbtype.U for probing for various Netdb_xxx_t types.
4440 */
4441#$d_gethostprotos	HAS_GETHOST_PROTOS	/**/
4442
4443/* HAS_GETNET_PROTOS:
4444 *	This symbol, if defined, indicates that <netdb.h> includes
4445 *	prototypes for getnetent(), getnetbyname(), and
4446 *	getnetbyaddr().  Otherwise, it is up to the program to guess
4447 *	them.  See netdbtype.U for probing for various Netdb_xxx_t types.
4448 */
4449#$d_getnetprotos	HAS_GETNET_PROTOS	/**/
4450
4451/* HAS_GETPROTO_PROTOS:
4452 *	This symbol, if defined, indicates that <netdb.h> includes
4453 *	prototypes for getprotoent(), getprotobyname(), and
4454 *	getprotobyaddr().  Otherwise, it is up to the program to guess
4455 *	them.  See netdbtype.U for probing for various Netdb_xxx_t types.
4456 */
4457#$d_getprotoprotos	HAS_GETPROTO_PROTOS	/**/
4458
4459/* HAS_GETSERV_PROTOS:
4460 *	This symbol, if defined, indicates that <netdb.h> includes
4461 *	prototypes for getservent(), getservbyname(), and
4462 *	getservbyaddr().  Otherwise, it is up to the program to guess
4463 *	them.  See netdbtype.U for probing for various Netdb_xxx_t types.
4464 */
4465#$d_getservprotos	HAS_GETSERV_PROTOS	/**/
4466
4467/* HAS_LSEEK_PROTO:
4468 *	This symbol, if defined, indicates that the system provides
4469 *	a prototype for the lseek() function.  Otherwise, it is up
4470 *	to the program to supply one.  A good guess is
4471 *		extern off_t lseek(int, off_t, int);
4472 */
4473#$d_lseekproto	HAS_LSEEK_PROTO	/**/
4474
4475/* Netdb_host_t:
4476 *	This symbol holds the type used for the 1st argument
4477 *	to gethostbyaddr().
4478 */
4479/* Netdb_hlen_t:
4480 *	This symbol holds the type used for the 2nd argument
4481 *	to gethostbyaddr().
4482 */
4483/* Netdb_name_t:
4484 *	This symbol holds the type used for the argument to
4485 *	gethostbyname().
4486 */
4487/* Netdb_net_t:
4488 *	This symbol holds the type used for the 1st argument to
4489 *	getnetbyaddr().
4490 */
4491#define Netdb_host_t		$netdb_host_type /**/
4492#define Netdb_hlen_t		$netdb_hlen_type /**/
4493#define Netdb_name_t		$netdb_name_type /**/
4494#define Netdb_net_t		$netdb_net_type /**/
4495
4496/* Select_fd_set_t:
4497 *	This symbol holds the type used for the 2nd, 3rd, and 4th
4498 *	arguments to select.  Usually, this is 'fd_set *', if HAS_FD_SET
4499 *	is defined, and 'int *' otherwise.  This is only useful if you
4500 *	have select(), of course.
4501 */
4502#define Select_fd_set_t	$selecttype	/**/
4503
4504/* Sock_size_t:
4505 *	This symbol holds the type used for the size argument of
4506 *	various socket calls (just the base type, not the pointer-to).
4507 */
4508#define Sock_size_t		$socksizetype /**/
4509
4510/* ARCHNAME:
4511 *	This symbol holds a string representing the architecture name.
4512 *	It may be used to construct an architecture-dependant pathname
4513 *	where library files may be held under a private library, for
4514 *	instance.
4515 */
4516#define ARCHNAME "$archname"		/**/
4517
4518/* HAS_ASCTIME_R:
4519 *	This symbol, if defined, indicates that the asctime_r routine
4520 *	is available to asctime re-entrantly.
4521 */
4522/* ASCTIME_R_PROTO:
4523 *	This symbol encodes the prototype of asctime_r.
4524 *	It is zero if d_asctime_r is undef, and one of the
4525 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
4526 *	is defined.
4527 */
4528#$d_asctime_r HAS_ASCTIME_R	/**/
4529#define ASCTIME_R_PROTO $asctime_r_proto	/**/
4530
4531/* HAS_CRYPT_R:
4532 *	This symbol, if defined, indicates that the crypt_r routine
4533 *	is available to crypt re-entrantly.
4534 */
4535/* CRYPT_R_PROTO:
4536 *	This symbol encodes the prototype of crypt_r.
4537 *	It is zero if d_crypt_r is undef, and one of the
4538 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
4539 *	is defined.
4540 */
4541#$d_crypt_r HAS_CRYPT_R	/**/
4542#define CRYPT_R_PROTO $crypt_r_proto	/**/
4543
4544/* HAS_CTERMID_R:
4545 *	This symbol, if defined, indicates that the ctermid_r routine
4546 *	is available to ctermid re-entrantly.
4547 */
4548/* CTERMID_R_PROTO:
4549 *	This symbol encodes the prototype of ctermid_r.
4550 *	It is zero if d_ctermid_r is undef, and one of the
4551 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
4552 *	is defined.
4553 */
4554#$d_ctermid_r HAS_CTERMID_R	/**/
4555#define CTERMID_R_PROTO $ctermid_r_proto	/**/
4556
4557/* HAS_CTIME_R:
4558 *	This symbol, if defined, indicates that the ctime_r routine
4559 *	is available to ctime re-entrantly.
4560 */
4561/* CTIME_R_PROTO:
4562 *	This symbol encodes the prototype of ctime_r.
4563 *	It is zero if d_ctime_r is undef, and one of the
4564 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
4565 *	is defined.
4566 */
4567#$d_ctime_r HAS_CTIME_R	/**/
4568#define CTIME_R_PROTO $ctime_r_proto	/**/
4569
4570/* HAS_DRAND48_R:
4571 *	This symbol, if defined, indicates that the drand48_r routine
4572 *	is available to drand48 re-entrantly.
4573 */
4574/* DRAND48_R_PROTO:
4575 *	This symbol encodes the prototype of drand48_r.
4576 *	It is zero if d_drand48_r is undef, and one of the
4577 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
4578 *	is defined.
4579 */
4580#$d_drand48_r HAS_DRAND48_R	/**/
4581#define DRAND48_R_PROTO $drand48_r_proto	/**/
4582
4583/* HAS_ENDGRENT_R:
4584 *	This symbol, if defined, indicates that the endgrent_r routine
4585 *	is available to endgrent re-entrantly.
4586 */
4587/* ENDGRENT_R_PROTO:
4588 *	This symbol encodes the prototype of endgrent_r.
4589 *	It is zero if d_endgrent_r is undef, and one of the
4590 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
4591 *	is defined.
4592 */
4593#$d_endgrent_r HAS_ENDGRENT_R	/**/
4594#define ENDGRENT_R_PROTO $endgrent_r_proto	/**/
4595
4596/* HAS_ENDHOSTENT_R:
4597 *	This symbol, if defined, indicates that the endhostent_r routine
4598 *	is available to endhostent re-entrantly.
4599 */
4600/* ENDHOSTENT_R_PROTO:
4601 *	This symbol encodes the prototype of endhostent_r.
4602 *	It is zero if d_endhostent_r is undef, and one of the
4603 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
4604 *	is defined.
4605 */
4606#$d_endhostent_r HAS_ENDHOSTENT_R	/**/
4607#define ENDHOSTENT_R_PROTO $endhostent_r_proto	/**/
4608
4609/* HAS_ENDNETENT_R:
4610 *	This symbol, if defined, indicates that the endnetent_r routine
4611 *	is available to endnetent re-entrantly.
4612 */
4613/* ENDNETENT_R_PROTO:
4614 *	This symbol encodes the prototype of endnetent_r.
4615 *	It is zero if d_endnetent_r is undef, and one of the
4616 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
4617 *	is defined.
4618 */
4619#$d_endnetent_r HAS_ENDNETENT_R	/**/
4620#define ENDNETENT_R_PROTO $endnetent_r_proto	/**/
4621
4622/* HAS_ENDPROTOENT_R:
4623 *	This symbol, if defined, indicates that the endprotoent_r routine
4624 *	is available to endprotoent re-entrantly.
4625 */
4626/* ENDPROTOENT_R_PROTO:
4627 *	This symbol encodes the prototype of endprotoent_r.
4628 *	It is zero if d_endprotoent_r is undef, and one of the
4629 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
4630 *	is defined.
4631 */
4632#$d_endprotoent_r HAS_ENDPROTOENT_R	/**/
4633#define ENDPROTOENT_R_PROTO $endprotoent_r_proto	/**/
4634
4635/* HAS_ENDPWENT_R:
4636 *	This symbol, if defined, indicates that the endpwent_r routine
4637 *	is available to endpwent re-entrantly.
4638 */
4639/* ENDPWENT_R_PROTO:
4640 *	This symbol encodes the prototype of endpwent_r.
4641 *	It is zero if d_endpwent_r is undef, and one of the
4642 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
4643 *	is defined.
4644 */
4645#$d_endpwent_r HAS_ENDPWENT_R	/**/
4646#define ENDPWENT_R_PROTO $endpwent_r_proto	/**/
4647
4648/* HAS_ENDSERVENT_R:
4649 *	This symbol, if defined, indicates that the endservent_r routine
4650 *	is available to endservent re-entrantly.
4651 */
4652/* ENDSERVENT_R_PROTO:
4653 *	This symbol encodes the prototype of endservent_r.
4654 *	It is zero if d_endservent_r is undef, and one of the
4655 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
4656 *	is defined.
4657 */
4658#$d_endservent_r HAS_ENDSERVENT_R	/**/
4659#define ENDSERVENT_R_PROTO $endservent_r_proto	/**/
4660
4661/* GETENV_PRESERVES_OTHER_THREAD:
4662 *	This symbol, if defined, indicates that the getenv system call doesn't
4663 *	zap the static buffer of getenv() in a different thread.
4664 *
4665 *	The typical getenv() implementation will return a pointer to the proper
4666 *	position in **environ.  But some may instead copy them to a static
4667 *	buffer in getenv().  If there is a per-thread instance of that buffer,
4668 *	or the return points to **environ, then a many-reader/1-writer mutex
4669 *	will work; otherwise an exclusive locking mutex is required to prevent
4670 *	races.
4671 */
4672#$d_getenv_preserves_other_thread GETENV_PRESERVES_OTHER_THREAD	/**/
4673
4674/* HAS_GETGRENT_R:
4675 *	This symbol, if defined, indicates that the getgrent_r routine
4676 *	is available to getgrent re-entrantly.
4677 */
4678/* GETGRENT_R_PROTO:
4679 *	This symbol encodes the prototype of getgrent_r.
4680 *	It is zero if d_getgrent_r is undef, and one of the
4681 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
4682 *	is defined.
4683 */
4684#$d_getgrent_r HAS_GETGRENT_R	/**/
4685#define GETGRENT_R_PROTO $getgrent_r_proto	/**/
4686
4687/* HAS_GETGRGID_R:
4688 *	This symbol, if defined, indicates that the getgrgid_r routine
4689 *	is available to getgrgid re-entrantly.
4690 */
4691/* GETGRGID_R_PROTO:
4692 *	This symbol encodes the prototype of getgrgid_r.
4693 *	It is zero if d_getgrgid_r is undef, and one of the
4694 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
4695 *	is defined.
4696 */
4697#$d_getgrgid_r HAS_GETGRGID_R	/**/
4698#define GETGRGID_R_PROTO $getgrgid_r_proto	/**/
4699
4700/* HAS_GETGRNAM_R:
4701 *	This symbol, if defined, indicates that the getgrnam_r routine
4702 *	is available to getgrnam re-entrantly.
4703 */
4704/* GETGRNAM_R_PROTO:
4705 *	This symbol encodes the prototype of getgrnam_r.
4706 *	It is zero if d_getgrnam_r is undef, and one of the
4707 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
4708 *	is defined.
4709 */
4710#$d_getgrnam_r HAS_GETGRNAM_R	/**/
4711#define GETGRNAM_R_PROTO $getgrnam_r_proto	/**/
4712
4713/* HAS_GETHOSTBYADDR_R:
4714 *	This symbol, if defined, indicates that the gethostbyaddr_r routine
4715 *	is available to gethostbyaddr re-entrantly.
4716 */
4717/* GETHOSTBYADDR_R_PROTO:
4718 *	This symbol encodes the prototype of gethostbyaddr_r.
4719 *	It is zero if d_gethostbyaddr_r is undef, and one of the
4720 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
4721 *	is defined.
4722 */
4723#$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R	/**/
4724#define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto	/**/
4725
4726/* HAS_GETHOSTBYNAME_R:
4727 *	This symbol, if defined, indicates that the gethostbyname_r routine
4728 *	is available to gethostbyname re-entrantly.
4729 */
4730/* GETHOSTBYNAME_R_PROTO:
4731 *	This symbol encodes the prototype of gethostbyname_r.
4732 *	It is zero if d_gethostbyname_r is undef, and one of the
4733 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
4734 *	is defined.
4735 */
4736#$d_gethostbyname_r HAS_GETHOSTBYNAME_R	/**/
4737#define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto	/**/
4738
4739/* HAS_GETHOSTENT_R:
4740 *	This symbol, if defined, indicates that the gethostent_r routine
4741 *	is available to gethostent re-entrantly.
4742 */
4743/* GETHOSTENT_R_PROTO:
4744 *	This symbol encodes the prototype of gethostent_r.
4745 *	It is zero if d_gethostent_r is undef, and one of the
4746 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
4747 *	is defined.
4748 */
4749#$d_gethostent_r HAS_GETHOSTENT_R	/**/
4750#define GETHOSTENT_R_PROTO $gethostent_r_proto	/**/
4751
4752/* HAS_GETLOGIN_R:
4753 *	This symbol, if defined, indicates that the getlogin_r routine
4754 *	is available to getlogin re-entrantly.
4755 */
4756/* GETLOGIN_R_PROTO:
4757 *	This symbol encodes the prototype of getlogin_r.
4758 *	It is zero if d_getlogin_r is undef, and one of the
4759 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
4760 *	is defined.
4761 */
4762#$d_getlogin_r HAS_GETLOGIN_R	/**/
4763#define GETLOGIN_R_PROTO $getlogin_r_proto	/**/
4764
4765/* HAS_GETNETBYADDR_R:
4766 *	This symbol, if defined, indicates that the getnetbyaddr_r routine
4767 *	is available to getnetbyaddr re-entrantly.
4768 */
4769/* GETNETBYADDR_R_PROTO:
4770 *	This symbol encodes the prototype of getnetbyaddr_r.
4771 *	It is zero if d_getnetbyaddr_r is undef, and one of the
4772 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
4773 *	is defined.
4774 */
4775#$d_getnetbyaddr_r HAS_GETNETBYADDR_R	/**/
4776#define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto	/**/
4777
4778/* HAS_GETNETBYNAME_R:
4779 *	This symbol, if defined, indicates that the getnetbyname_r routine
4780 *	is available to getnetbyname re-entrantly.
4781 */
4782/* GETNETBYNAME_R_PROTO:
4783 *	This symbol encodes the prototype of getnetbyname_r.
4784 *	It is zero if d_getnetbyname_r is undef, and one of the
4785 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
4786 *	is defined.
4787 */
4788#$d_getnetbyname_r HAS_GETNETBYNAME_R	/**/
4789#define GETNETBYNAME_R_PROTO $getnetbyname_r_proto	/**/
4790
4791/* HAS_GETNETENT_R:
4792 *	This symbol, if defined, indicates that the getnetent_r routine
4793 *	is available to getnetent re-entrantly.
4794 */
4795/* GETNETENT_R_PROTO:
4796 *	This symbol encodes the prototype of getnetent_r.
4797 *	It is zero if d_getnetent_r is undef, and one of the
4798 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
4799 *	is defined.
4800 */
4801#$d_getnetent_r HAS_GETNETENT_R	/**/
4802#define GETNETENT_R_PROTO $getnetent_r_proto	/**/
4803
4804/* HAS_GETPROTOBYNAME_R:
4805 *	This symbol, if defined, indicates that the getprotobyname_r routine
4806 *	is available to getprotobyname re-entrantly.
4807 */
4808/* GETPROTOBYNAME_R_PROTO:
4809 *	This symbol encodes the prototype of getprotobyname_r.
4810 *	It is zero if d_getprotobyname_r is undef, and one of the
4811 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
4812 *	is defined.
4813 */
4814#$d_getprotobyname_r HAS_GETPROTOBYNAME_R	/**/
4815#define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto	/**/
4816
4817/* HAS_GETPROTOBYNUMBER_R:
4818 *	This symbol, if defined, indicates that the getprotobynumber_r routine
4819 *	is available to getprotobynumber re-entrantly.
4820 */
4821/* GETPROTOBYNUMBER_R_PROTO:
4822 *	This symbol encodes the prototype of getprotobynumber_r.
4823 *	It is zero if d_getprotobynumber_r is undef, and one of the
4824 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
4825 *	is defined.
4826 */
4827#$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R	/**/
4828#define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto	/**/
4829
4830/* HAS_GETPROTOENT_R:
4831 *	This symbol, if defined, indicates that the getprotoent_r routine
4832 *	is available to getprotoent re-entrantly.
4833 */
4834/* GETPROTOENT_R_PROTO:
4835 *	This symbol encodes the prototype of getprotoent_r.
4836 *	It is zero if d_getprotoent_r is undef, and one of the
4837 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
4838 *	is defined.
4839 */
4840#$d_getprotoent_r HAS_GETPROTOENT_R	/**/
4841#define GETPROTOENT_R_PROTO $getprotoent_r_proto	/**/
4842
4843/* HAS_GETPWENT_R:
4844 *	This symbol, if defined, indicates that the getpwent_r routine
4845 *	is available to getpwent re-entrantly.
4846 */
4847/* GETPWENT_R_PROTO:
4848 *	This symbol encodes the prototype of getpwent_r.
4849 *	It is zero if d_getpwent_r is undef, and one of the
4850 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
4851 *	is defined.
4852 */
4853#$d_getpwent_r HAS_GETPWENT_R	/**/
4854#define GETPWENT_R_PROTO $getpwent_r_proto	/**/
4855
4856/* HAS_GETPWNAM_R:
4857 *	This symbol, if defined, indicates that the getpwnam_r routine
4858 *	is available to getpwnam re-entrantly.
4859 */
4860/* GETPWNAM_R_PROTO:
4861 *	This symbol encodes the prototype of getpwnam_r.
4862 *	It is zero if d_getpwnam_r is undef, and one of the
4863 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
4864 *	is defined.
4865 */
4866#$d_getpwnam_r HAS_GETPWNAM_R	/**/
4867#define GETPWNAM_R_PROTO $getpwnam_r_proto	/**/
4868
4869/* HAS_GETPWUID_R:
4870 *	This symbol, if defined, indicates that the getpwuid_r routine
4871 *	is available to getpwuid re-entrantly.
4872 */
4873/* GETPWUID_R_PROTO:
4874 *	This symbol encodes the prototype of getpwuid_r.
4875 *	It is zero if d_getpwuid_r is undef, and one of the
4876 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
4877 *	is defined.
4878 */
4879#$d_getpwuid_r HAS_GETPWUID_R	/**/
4880#define GETPWUID_R_PROTO $getpwuid_r_proto	/**/
4881
4882/* HAS_GETSERVBYNAME_R:
4883 *	This symbol, if defined, indicates that the getservbyname_r routine
4884 *	is available to getservbyname re-entrantly.
4885 */
4886/* GETSERVBYNAME_R_PROTO:
4887 *	This symbol encodes the prototype of getservbyname_r.
4888 *	It is zero if d_getservbyname_r is undef, and one of the
4889 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
4890 *	is defined.
4891 */
4892#$d_getservbyname_r HAS_GETSERVBYNAME_R	/**/
4893#define GETSERVBYNAME_R_PROTO $getservbyname_r_proto	/**/
4894
4895/* HAS_GETSERVBYPORT_R:
4896 *	This symbol, if defined, indicates that the getservbyport_r routine
4897 *	is available to getservbyport re-entrantly.
4898 */
4899/* GETSERVBYPORT_R_PROTO:
4900 *	This symbol encodes the prototype of getservbyport_r.
4901 *	It is zero if d_getservbyport_r is undef, and one of the
4902 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
4903 *	is defined.
4904 */
4905#$d_getservbyport_r HAS_GETSERVBYPORT_R	/**/
4906#define GETSERVBYPORT_R_PROTO $getservbyport_r_proto	/**/
4907
4908/* HAS_GETSERVENT_R:
4909 *	This symbol, if defined, indicates that the getservent_r routine
4910 *	is available to getservent re-entrantly.
4911 */
4912/* GETSERVENT_R_PROTO:
4913 *	This symbol encodes the prototype of getservent_r.
4914 *	It is zero if d_getservent_r is undef, and one of the
4915 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
4916 *	is defined.
4917 */
4918#$d_getservent_r HAS_GETSERVENT_R	/**/
4919#define GETSERVENT_R_PROTO $getservent_r_proto	/**/
4920
4921/* HAS_GETSPNAM_R:
4922 *	This symbol, if defined, indicates that the getspnam_r routine
4923 *	is available to getspnam re-entrantly.
4924 */
4925/* GETSPNAM_R_PROTO:
4926 *	This symbol encodes the prototype of getspnam_r.
4927 *	It is zero if d_getspnam_r is undef, and one of the
4928 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
4929 *	is defined.
4930 */
4931#$d_getspnam_r HAS_GETSPNAM_R	/**/
4932#define GETSPNAM_R_PROTO $getspnam_r_proto	/**/
4933
4934/* HAS_GMTIME_R:
4935 *	This symbol, if defined, indicates that the gmtime_r routine
4936 *	is available to gmtime re-entrantly.
4937 */
4938/* GMTIME_R_PROTO:
4939 *	This symbol encodes the prototype of gmtime_r.
4940 *	It is zero if d_gmtime_r is undef, and one of the
4941 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
4942 *	is defined.
4943 */
4944#$d_gmtime_r HAS_GMTIME_R	/**/
4945#define GMTIME_R_PROTO $gmtime_r_proto	/**/
4946
4947/* HAS_LOCALECONV_L:
4948 *	This symbol, if defined, indicates that the localeconv_l routine is
4949 *	available to query certain information about a locale.
4950 */
4951#$d_localeconv_l HAS_LOCALECONV_L		/**/
4952
4953/* HAS_LOCALTIME_R:
4954 *	This symbol, if defined, indicates that the localtime_r routine
4955 *	is available to localtime re-entrantly.
4956 */
4957/* LOCALTIME_R_NEEDS_TZSET:
4958 *	Many libc's localtime_r implementations do not call tzset,
4959 *	making them differ from localtime(), and making timezone
4960 *	changes using \$ENV{TZ} without explicitly calling tzset
4961 *	impossible. This symbol makes us call tzset before localtime_r
4962 */
4963#$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
4964#ifdef LOCALTIME_R_NEEDS_TZSET
4965#define L_R_TZSET tzset(),
4966#else
4967#define L_R_TZSET
4968#endif
4969
4970/* L_R_TZSET:
4971 *	If localtime_r() needs tzset, it is defined in this define
4972 */
4973/* LOCALTIME_R_PROTO:
4974 *	This symbol encodes the prototype of localtime_r.
4975 *	It is zero if d_localtime_r is undef, and one of the
4976 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
4977 *	is defined.
4978 */
4979#$d_localtime_r HAS_LOCALTIME_R	/**/
4980#define LOCALTIME_R_PROTO $localtime_r_proto	/**/
4981
4982/* HAS_MBRLEN:
4983 *	This symbol, if defined, indicates that the mbrlen routine is
4984 *	available to get the length of multi-byte character strings.
4985 */
4986#$d_mbrlen HAS_MBRLEN	/**/
4987
4988/* HAS_MBRTOWC:
4989 *	This symbol, if defined, indicates that the mbrtowc routine is
4990 *	available to convert a multi-byte character into a wide character.
4991 */
4992#$d_mbrtowc HAS_MBRTOWC	/**/
4993
4994/* HAS_NL_LANGINFO_L:
4995 *	This symbol, when defined, indicates presence of the nl_langinfo_l()
4996 *	function
4997 */
4998/* HAS_THREAD_SAFE_NL_LANGINFO_L:
4999 *	This symbol, when defined, indicates presence of the nl_langinfo_l()
5000 *	function, and that it is thread-safe.
5001 */
5002#$d_nl_langinfo_l HAS_NL_LANGINFO_L	/**/
5003#$d_thread_safe_nl_langinfo_l HAS_THREAD_SAFE_NL_LANGINFO_L	/**/
5004
5005/* OLD_PTHREAD_CREATE_JOINABLE:
5006 *	This symbol, if defined, indicates how to create pthread
5007 *	in joinable (aka undetached) state.  NOTE: not defined
5008 *	if pthread.h already has defined PTHREAD_CREATE_JOINABLE
5009 *	(the new version of the constant).
5010 *	If defined, known values are PTHREAD_CREATE_UNDETACHED
5011 *	and __UNDETACHED.
5012 */
5013#$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
5014
5015/* HAS_PTHREAD_ATFORK:
5016 *	This symbol, if defined, indicates that the pthread_atfork routine
5017 *	is available to setup fork handlers.
5018 */
5019#$d_pthread_atfork HAS_PTHREAD_ATFORK		/**/
5020
5021/* HAS_PTHREAD_YIELD:
5022 *	This symbol, if defined, indicates that the pthread_yield
5023 *	routine is available to yield the execution of the current
5024 *	thread.	 sched_yield is preferable to pthread_yield.
5025 */
5026/* SCHED_YIELD:
5027 *	This symbol defines the way to yield the execution of
5028 *	the current thread.  Known ways are sched_yield,
5029 *	pthread_yield, and pthread_yield with NULL.
5030 */
5031/* HAS_SCHED_YIELD:
5032 *	This symbol, if defined, indicates that the sched_yield
5033 *	routine is available to yield the execution of the current
5034 *	thread.	 sched_yield is preferable to pthread_yield.
5035 */
5036#$d_pthread_yield HAS_PTHREAD_YIELD	/**/
5037#define SCHED_YIELD	$sched_yield	/**/
5038#$d_sched_yield HAS_SCHED_YIELD	/**/
5039
5040/* HAS_RANDOM_R:
5041 *	This symbol, if defined, indicates that the random_r routine
5042 *	is available to random re-entrantly.
5043 */
5044/* RANDOM_R_PROTO:
5045 *	This symbol encodes the prototype of random_r.
5046 *	It is zero if d_random_r is undef, and one of the
5047 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
5048 *	is defined.
5049 */
5050#$d_random_r HAS_RANDOM_R	/**/
5051#define RANDOM_R_PROTO $random_r_proto	/**/
5052
5053/* HAS_READDIR64_R:
5054 *	This symbol, if defined, indicates that the readdir64_r routine
5055 *	is available to readdir64 re-entrantly.
5056 */
5057/* READDIR64_R_PROTO:
5058 *	This symbol encodes the prototype of readdir64_r.
5059 *	It is zero if d_readdir64_r is undef, and one of the
5060 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
5061 *	is defined.
5062 */
5063#$d_readdir64_r HAS_READDIR64_R	/**/
5064#define READDIR64_R_PROTO $readdir64_r_proto	/**/
5065
5066/* HAS_READDIR_R:
5067 *	This symbol, if defined, indicates that the readdir_r routine
5068 *	is available to readdir re-entrantly.
5069 */
5070/* READDIR_R_PROTO:
5071 *	This symbol encodes the prototype of readdir_r.
5072 *	It is zero if d_readdir_r is undef, and one of the
5073 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
5074 *	is defined.
5075 */
5076#$d_readdir_r HAS_READDIR_R	/**/
5077#define READDIR_R_PROTO $readdir_r_proto	/**/
5078
5079/* HAS_SETGRENT_R:
5080 *	This symbol, if defined, indicates that the setgrent_r routine
5081 *	is available to setgrent re-entrantly.
5082 */
5083/* SETGRENT_R_PROTO:
5084 *	This symbol encodes the prototype of setgrent_r.
5085 *	It is zero if d_setgrent_r is undef, and one of the
5086 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
5087 *	is defined.
5088 */
5089#$d_setgrent_r HAS_SETGRENT_R	/**/
5090#define SETGRENT_R_PROTO $setgrent_r_proto	/**/
5091
5092/* HAS_SETHOSTENT_R:
5093 *	This symbol, if defined, indicates that the sethostent_r routine
5094 *	is available to sethostent re-entrantly.
5095 */
5096/* SETHOSTENT_R_PROTO:
5097 *	This symbol encodes the prototype of sethostent_r.
5098 *	It is zero if d_sethostent_r is undef, and one of the
5099 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
5100 *	is defined.
5101 */
5102#$d_sethostent_r HAS_SETHOSTENT_R	/**/
5103#define SETHOSTENT_R_PROTO $sethostent_r_proto	/**/
5104
5105/* HAS_SETLOCALE_R:
5106 *	This symbol, if defined, indicates that the setlocale_r routine
5107 *	is available to setlocale re-entrantly.
5108 */
5109/* SETLOCALE_R_PROTO:
5110 *	This symbol encodes the prototype of setlocale_r.
5111 *	It is zero if d_setlocale_r is undef, and one of the
5112 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
5113 *	is defined.
5114 */
5115#$d_setlocale_r HAS_SETLOCALE_R	/**/
5116#define SETLOCALE_R_PROTO $setlocale_r_proto	/**/
5117
5118/* HAS_SETNETENT_R:
5119 *	This symbol, if defined, indicates that the setnetent_r routine
5120 *	is available to setnetent re-entrantly.
5121 */
5122/* SETNETENT_R_PROTO:
5123 *	This symbol encodes the prototype of setnetent_r.
5124 *	It is zero if d_setnetent_r is undef, and one of the
5125 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
5126 *	is defined.
5127 */
5128#$d_setnetent_r HAS_SETNETENT_R	/**/
5129#define SETNETENT_R_PROTO $setnetent_r_proto	/**/
5130
5131/* HAS_SETPROTOENT_R:
5132 *	This symbol, if defined, indicates that the setprotoent_r routine
5133 *	is available to setprotoent re-entrantly.
5134 */
5135/* SETPROTOENT_R_PROTO:
5136 *	This symbol encodes the prototype of setprotoent_r.
5137 *	It is zero if d_setprotoent_r is undef, and one of the
5138 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
5139 *	is defined.
5140 */
5141#$d_setprotoent_r HAS_SETPROTOENT_R	/**/
5142#define SETPROTOENT_R_PROTO $setprotoent_r_proto	/**/
5143
5144/* HAS_SETPWENT_R:
5145 *	This symbol, if defined, indicates that the setpwent_r routine
5146 *	is available to setpwent re-entrantly.
5147 */
5148/* SETPWENT_R_PROTO:
5149 *	This symbol encodes the prototype of setpwent_r.
5150 *	It is zero if d_setpwent_r is undef, and one of the
5151 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
5152 *	is defined.
5153 */
5154#$d_setpwent_r HAS_SETPWENT_R	/**/
5155#define SETPWENT_R_PROTO $setpwent_r_proto	/**/
5156
5157/* HAS_SETSERVENT_R:
5158 *	This symbol, if defined, indicates that the setservent_r routine
5159 *	is available to setservent re-entrantly.
5160 */
5161/* SETSERVENT_R_PROTO:
5162 *	This symbol encodes the prototype of setservent_r.
5163 *	It is zero if d_setservent_r is undef, and one of the
5164 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
5165 *	is defined.
5166 */
5167#$d_setservent_r HAS_SETSERVENT_R	/**/
5168#define SETSERVENT_R_PROTO $setservent_r_proto	/**/
5169
5170/* HAS_SRAND48_R:
5171 *	This symbol, if defined, indicates that the srand48_r routine
5172 *	is available to srand48 re-entrantly.
5173 */
5174/* SRAND48_R_PROTO:
5175 *	This symbol encodes the prototype of srand48_r.
5176 *	It is zero if d_srand48_r is undef, and one of the
5177 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
5178 *	is defined.
5179 */
5180#$d_srand48_r HAS_SRAND48_R	/**/
5181#define SRAND48_R_PROTO $srand48_r_proto	/**/
5182
5183/* HAS_SRANDOM_R:
5184 *	This symbol, if defined, indicates that the srandom_r routine
5185 *	is available to srandom re-entrantly.
5186 */
5187/* SRANDOM_R_PROTO:
5188 *	This symbol encodes the prototype of srandom_r.
5189 *	It is zero if d_srandom_r is undef, and one of the
5190 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
5191 *	is defined.
5192 */
5193#$d_srandom_r HAS_SRANDOM_R	/**/
5194#define SRANDOM_R_PROTO $srandom_r_proto	/**/
5195
5196/* HAS_STRERROR_R:
5197 *	This symbol, if defined, indicates that the strerror_r routine
5198 *	is available to strerror re-entrantly.
5199 */
5200/* STRERROR_R_PROTO:
5201 *	This symbol encodes the prototype of strerror_r.
5202 *	It is zero if d_strerror_r is undef, and one of the
5203 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
5204 *	is defined.
5205 */
5206#$d_strerror_r HAS_STRERROR_R	/**/
5207#define STRERROR_R_PROTO $strerror_r_proto	/**/
5208
5209/* HAS_STRTOD_L:
5210 *	This symbol, if defined, indicates that the strtod_l routine is
5211 *	available to convert strings to long doubles.
5212 */
5213#$d_strtod_l HAS_STRTOD_L		/**/
5214
5215/* HAS_STRTOLD_L:
5216 *	This symbol, if defined, indicates that the strtold_l routine is
5217 *	available to convert strings to long doubles.
5218 */
5219#$d_strtold_l HAS_STRTOLD_L		/**/
5220
5221/* PERL_THREAD_LOCAL:
5222 *	This symbol, if defined, gives a linkage specification for thread-local
5223 *	storage. For example, for a C11 compiler this will be _Thread_local.
5224 *	Beware, some compilers are sensitive to the C language standard they are
5225 *	told to parse. For example, suncc defaults to C11, so our probe will
5226 *	report that _Thread_local can be used. However, if the -std=c99 is later
5227 *	added to the compiler flags, then _Thread_local will become a syntax
5228 *	error. Hence it is important for these flags to be consistent between
5229 *	probing and use.
5230 */
5231#$d_thread_local PERL_THREAD_LOCAL $perl_thread_local	/**/
5232
5233/* HAS_TMPNAM_R:
5234 *	This symbol, if defined, indicates that the tmpnam_r routine
5235 *	is available to tmpnam re-entrantly.
5236 */
5237/* TMPNAM_R_PROTO:
5238 *	This symbol encodes the prototype of tmpnam_r.
5239 *	It is zero if d_tmpnam_r is undef, and one of the
5240 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
5241 *	is defined.
5242 */
5243#$d_tmpnam_r HAS_TMPNAM_R	/**/
5244#define TMPNAM_R_PROTO $tmpnam_r_proto	/**/
5245
5246/* HAS_TTYNAME_R:
5247 *	This symbol, if defined, indicates that the ttyname_r routine
5248 *	is available to ttyname re-entrantly.
5249 */
5250/* TTYNAME_R_PROTO:
5251 *	This symbol encodes the prototype of ttyname_r.
5252 *	It is zero if d_ttyname_r is undef, and one of the
5253 *	REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
5254 *	is defined.
5255 */
5256#$d_ttyname_r HAS_TTYNAME_R	/**/
5257#define TTYNAME_R_PROTO $ttyname_r_proto	/**/
5258
5259/* HAS_WCRTOMB:
5260 *	This symbol, if defined, indicates that the wcrtomb routine is
5261 *	available to convert a wide character into a multi-byte character.
5262 */
5263#$d_wcrtomb HAS_WCRTOMB	/**/
5264
5265/* I_MACH_CTHREADS:
5266 *	This symbol, if defined, indicates to the C program that it should
5267 *	include <mach/cthreads.h>.
5268 */
5269#$i_machcthr   I_MACH_CTHREADS	/**/
5270
5271/* I_PTHREAD:
5272 *	This symbol, if defined, indicates to the C program that it should
5273 *	include <pthread.h>.
5274 */
5275#$i_pthread   I_PTHREAD	/**/
5276
5277/* USE_ITHREADS:
5278 *	This symbol, if defined, indicates that Perl should be built to
5279 *	use the interpreter-based threading implementation.
5280 */
5281/* USE_THREADS:
5282 *	This symbol, if defined, indicates that Perl should
5283 *	be built to use threads.  At present, it is a synonym for
5284 *	and USE_ITHREADS, but eventually the source ought to be
5285 *	changed to use this to mean _any_ threading implementation.
5286 */
5287/* OLD_PTHREADS_API:
5288 *	This symbol, if defined, indicates that Perl should
5289 *	be built to use the old draft POSIX threads API.
5290 */
5291/* USE_REENTRANT_API:
5292 *	This symbol, if defined, indicates that Perl should
5293 *	try to use the various _r versions of library functions.
5294 *	This is extremely experimental.
5295 */
5296#$useithreads	USE_ITHREADS		/**/
5297#$usethreads		USE_THREADS		/**/
5298#$d_oldpthreads	OLD_PTHREADS_API		/**/
5299#$usereentrant	USE_REENTRANT_API	/**/
5300
5301/* HAS_TIME:
5302 *	This symbol, if defined, indicates that the time() routine exists.
5303 */
5304/* Time_t:
5305 *	This symbol holds the type returned by time(). It can be long,
5306 *	or time_t on BSD sites (in which case <sys/types.h> should be
5307 *	included).
5308 */
5309#$d_time HAS_TIME		/**/
5310#define Time_t $timetype		/* Time type */
5311
5312/* HAS_TIMES:
5313 *	This symbol, if defined, indicates that the times() routine exists.
5314 *	Note that this became obsolete on some systems (SUNOS), which now
5315 *	use getrusage(). It may be necessary to include <sys/times.h>.
5316 */
5317#$d_times HAS_TIMES		/**/
5318
5319/* Fpos_t:
5320 *	This symbol holds the type used to declare file positions in libc.
5321 *	It can be fpos_t, long, uint, etc... It may be necessary to include
5322 *	<sys/types.h> to get any typedef'ed information.
5323 */
5324#define Fpos_t $fpostype		/* File position type */
5325
5326/* Gid_t_f:
5327 *	This symbol defines the format string used for printing a Gid_t.
5328 */
5329#define Gid_t_f		$gidformat		/**/
5330
5331/* Gid_t_sign:
5332 *	This symbol holds the signedness of a Gid_t.
5333 *	1 for unsigned, -1 for signed.
5334 */
5335#define Gid_t_sign	$gidsign		/* GID sign */
5336
5337/* Gid_t_size:
5338 *	This symbol holds the size of a Gid_t in bytes.
5339 */
5340#define Gid_t_size $gidsize		/* GID size */
5341
5342/* Gid_t:
5343 *	This symbol holds the return type of getgid() and the type of
5344 *	argument to setrgid() and related functions.  Typically,
5345 *	it is the type of group ids in the kernel. It can be int, ushort,
5346 *	gid_t, etc... It may be necessary to include <sys/types.h> to get
5347 *	any typedef'ed information.
5348 */
5349#define Gid_t $gidtype		/* Type for getgid(), etc... */
5350
5351/* Off_t:
5352 *	This symbol holds the type used to declare offsets in the kernel.
5353 *	It can be int, long, off_t, etc... It may be necessary to include
5354 *	<sys/types.h> to get any typedef'ed information.
5355 */
5356/* LSEEKSIZE:
5357 *	This symbol holds the number of bytes used by the Off_t.
5358 */
5359/* Off_t_size:
5360 *	This symbol holds the number of bytes used by the Off_t.
5361 */
5362#define Off_t $lseektype		/* <offset> type */
5363#define LSEEKSIZE $lseeksize		/* <offset> size */
5364#define Off_t_size $lseeksize	/* <offset> size */
5365
5366/* Mode_t:
5367 *	This symbol holds the type used to declare file modes
5368 *	for systems calls.  It is usually mode_t, but may be
5369 *	int or unsigned short.  It may be necessary to include <sys/types.h>
5370 *	to get any typedef'ed information.
5371 */
5372#define Mode_t $modetype	 /* file mode parameter for system calls */
5373
5374/* Pid_t:
5375 *	This symbol holds the type used to declare process ids in the kernel.
5376 *	It can be int, uint, pid_t, etc... It may be necessary to include
5377 *	<sys/types.h> to get any typedef'ed information.
5378 */
5379#define Pid_t $pidtype		/* PID type */
5380
5381/* Size_t_size:
5382 *	This symbol holds the size of a Size_t in bytes.
5383 */
5384#define Size_t_size $sizesize		/**/
5385
5386/* Size_t:
5387 *	This symbol holds the type used to declare length parameters
5388 *	for string functions.  It is usually size_t, but may be
5389 *	unsigned long, int, etc.  It may be necessary to include
5390 *	<sys/types.h> to get any typedef'ed information.
5391 */
5392#define Size_t $sizetype	 /* length parameter for string functions */
5393
5394/* Uid_t_f:
5395 *	This symbol defines the format string used for printing a Uid_t.
5396 */
5397#define Uid_t_f		$uidformat		/**/
5398
5399/* Uid_t_sign:
5400 *	This symbol holds the signedness of a Uid_t.
5401 *	1 for unsigned, -1 for signed.
5402 */
5403#define Uid_t_sign	$uidsign		/* UID sign */
5404
5405/* Uid_t_size:
5406 *	This symbol holds the size of a Uid_t in bytes.
5407 */
5408#define Uid_t_size $uidsize		/* UID size */
5409
5410/* Uid_t:
5411 *	This symbol holds the type used to declare user ids in the kernel.
5412 *	It can be int, ushort, uid_t, etc... It may be necessary to include
5413 *	<sys/types.h> to get any typedef'ed information.
5414 */
5415#define Uid_t $uidtype		/* UID type */
5416
5417#endif
5418!GROK!THIS!
5419;;
5420esac
5421