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