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