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