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