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