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