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