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