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