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