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