DG-UX threading patches, including a README.dgux,
[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_ALARM:
54  *      This symbol, if defined, indicates that the alarm routine is
55  *      available.
56  */
57 #$d_alarm HAS_ALARM             /**/
58
59 /* HASATTRIBUTE:
60  *      This symbol indicates the C compiler can check for function attributes,
61  *      such as printf formats. This is normally only supported by GNU cc.
62  */
63 #$d_attribut HASATTRIBUTE       /**/
64 #ifndef HASATTRIBUTE
65 #define __attribute__(_arg_)
66 #endif
67
68 /* HAS_BCMP:
69  *      This symbol is defined if the bcmp() routine is available to
70  *      compare blocks of memory.
71  */
72 #$d_bcmp HAS_BCMP       /**/
73
74 /* HAS_BCOPY:
75  *      This symbol is defined if the bcopy() routine is available to
76  *      copy blocks of memory.
77  */
78 #$d_bcopy HAS_BCOPY     /**/
79
80 /* HAS_BZERO:
81  *      This symbol is defined if the bzero() routine is available to
82  *      set a memory block to 0.
83  */
84 #$d_bzero HAS_BZERO     /**/
85
86 /* HAS_CHOWN:
87  *      This symbol, if defined, indicates that the chown routine is
88  *      available.
89  */
90 #$d_chown HAS_CHOWN             /**/
91
92 /* HAS_CHROOT:
93  *      This symbol, if defined, indicates that the chroot routine is
94  *      available.
95  */
96 #$d_chroot HAS_CHROOT           /**/
97
98 /* HAS_CHSIZE:
99  *      This symbol, if defined, indicates that the chsize routine is available
100  *      to truncate files.  You might need a -lx to get this routine.
101  */
102 #$d_chsize      HAS_CHSIZE              /**/
103
104 /* HASCONST:
105  *      This symbol, if defined, indicates that this C compiler knows about
106  *      the const type. There is no need to actually test for that symbol
107  *      within your programs. The mere use of the "const" keyword will
108  *      trigger the necessary tests.
109  */
110 #$d_const HASCONST      /**/
111 #ifndef HASCONST
112 #define const
113 #endif
114
115 /* HAS_CRYPT:
116  *      This symbol, if defined, indicates that the crypt routine is available
117  *      to encrypt passwords and the like.
118  */
119 #$d_crypt HAS_CRYPT             /**/
120
121 /* HAS_CUSERID:
122  *      This symbol, if defined, indicates that the cuserid routine is
123  *      available to get character login names.
124  */
125 #$d_cuserid HAS_CUSERID         /**/
126
127 /* HAS_DBL_DIG:
128  *      This symbol, if defined, indicates that this system's <float.h>
129  *      or <limits.h> defines the symbol DBL_DIG, which is the number
130  *      of significant digits in a double precision number.  If this
131  *      symbol is not defined, a guess of 15 is usually pretty good.
132  */
133 #$d_dbl_dig HAS_DBL_DIG         /* */
134
135 /* HAS_DIFFTIME:
136  *      This symbol, if defined, indicates that the difftime routine is
137  *      available.
138  */
139 #$d_difftime HAS_DIFFTIME               /**/
140
141 /* HAS_DLERROR:
142  *      This symbol, if defined, indicates that the dlerror routine is
143  *      available to return a string describing the last error that
144  *      occurred from a call to dlopen(), dlclose() or dlsym().
145  */
146 #$d_dlerror HAS_DLERROR /**/
147
148 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
149  *      This symbol, if defined, indicates that the bug that prevents
150  *      setuid scripts from being secure is not present in this kernel.
151  */
152 /* DOSUID:
153  *      This symbol, if defined, indicates that the C program should
154  *      check the script that it is executing for setuid/setgid bits, and
155  *      attempt to emulate setuid/setgid on systems that have disabled
156  *      setuid #! scripts because the kernel can't do it securely.
157  *      It is up to the package designer to make sure that this emulation
158  *      is done securely.  Among other things, it should do an fstat on
159  *      the script it just opened to make sure it really is a setuid/setgid
160  *      script, it should make sure the arguments passed correspond exactly
161  *      to the argument on the #! line, and it should not trust any
162  *      subprocesses to which it must pass the filename rather than the
163  *      file descriptor of the script to be executed.
164  */
165 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW      /**/
166 #$d_dosuid DOSUID               /**/
167
168 /* HAS_DUP2:
169  *      This symbol, if defined, indicates that the dup2 routine is
170  *      available to duplicate file descriptors.
171  */
172 #$d_dup2 HAS_DUP2       /**/
173
174 /* HAS_FCHMOD:
175  *      This symbol, if defined, indicates that the fchmod routine is available
176  *      to change mode of opened files.  If unavailable, use chmod().
177  */
178 #$d_fchmod HAS_FCHMOD           /**/
179
180 /* HAS_FCHOWN:
181  *      This symbol, if defined, indicates that the fchown routine is available
182  *      to change ownership of opened files.  If unavailable, use chown().
183  */
184 #$d_fchown HAS_FCHOWN           /**/
185
186 /* HAS_FCNTL:
187  *      This symbol, if defined, indicates to the C program that
188  *      the fcntl() function exists.
189  */
190 #$d_fcntl HAS_FCNTL             /**/
191
192 /* HAS_FGETPOS:
193  *      This symbol, if defined, indicates that the fgetpos routine is
194  *      available to get the file position indicator, similar to ftell().
195  */
196 #$d_fgetpos HAS_FGETPOS /**/
197
198 /* HAS_FLOCK:
199  *      This symbol, if defined, indicates that the flock routine is
200  *      available to do file locking.
201  */
202 #$d_flock HAS_FLOCK             /**/
203
204 /* HAS_FORK:
205  *      This symbol, if defined, indicates that the fork routine is
206  *      available.
207  */
208 #$d_fork HAS_FORK               /**/
209
210 /* HAS_FSETPOS:
211  *      This symbol, if defined, indicates that the fsetpos routine is
212  *      available to set the file position indicator, similar to fseek().
213  */
214 #$d_fsetpos HAS_FSETPOS /**/
215
216 /* HAS_GETTIMEOFDAY:
217  *      This symbol, if defined, indicates that the gettimeofday() system
218  *      call is available for a sub-second accuracy clock. Usually, the file
219  *      <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
220  *      The type "Timeval" should be used to refer to "struct timeval".
221  */
222 #$d_gettimeod HAS_GETTIMEOFDAY  /**/
223 #ifdef HAS_GETTIMEOFDAY
224 #define Timeval struct timeval  /* Structure used by gettimeofday() */
225 #endif
226
227 /* HAS_GETGROUPS:
228  *      This symbol, if defined, indicates that the getgroups() routine is
229  *      available to get the list of process groups.  If unavailable, multiple
230  *      groups are probably not supported.
231  */
232 #$d_getgrps HAS_GETGROUPS               /**/
233
234 /* HAS_GETLOGIN:
235  *      This symbol, if defined, indicates that the getlogin routine is
236  *      available to get the login name.
237  */
238 #$d_getlogin HAS_GETLOGIN               /**/
239
240 /* HAS_GETPGID:
241  *      This symbol, if defined, indicates to the C program that 
242  *      the getpgid(pid) function is available to get the
243  *      process group id.
244  */
245 #$d_getpgid HAS_GETPGID         /**/
246
247 /* HAS_GETPGRP2:
248  *      This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
249  *      routine is available to get the current process group.
250  */
251 #$d_getpgrp2 HAS_GETPGRP2               /**/
252
253 /* HAS_GETPPID:
254  *      This symbol, if defined, indicates that the getppid routine is
255  *      available to get the parent process ID.
256  */
257 #$d_getppid HAS_GETPPID         /**/
258
259 /* HAS_GETPRIORITY:
260  *      This symbol, if defined, indicates that the getpriority routine is
261  *      available to get a process's priority.
262  */
263 #$d_getprior HAS_GETPRIORITY            /**/
264
265 /* HAS_INET_ATON:
266  *      This symbol, if defined, indicates to the C program that the
267  *      inet_aton() function is available to parse IP address "dotted-quad"
268  *      strings.
269  */
270 #$d_inetaton HAS_INET_ATON              /**/
271
272 /* HAS_KILLPG:
273  *      This symbol, if defined, indicates that the killpg routine is available
274  *      to kill process groups.  If unavailable, you probably should use kill
275  *      with a negative process number.
276  */
277 #$d_killpg HAS_KILLPG   /**/
278
279 /* HAS_LINK:
280  *      This symbol, if defined, indicates that the link routine is
281  *      available to create hard links.
282  */
283 #$d_link HAS_LINK       /**/
284
285 /* HAS_LOCALECONV:
286  *      This symbol, if defined, indicates that the localeconv routine is
287  *      available for numeric and monetary formatting conventions.
288  */
289 #$d_locconv HAS_LOCALECONV      /**/
290
291 /* HAS_LOCKF:
292  *      This symbol, if defined, indicates that the lockf routine is
293  *      available to do file locking.
294  */
295 #$d_lockf HAS_LOCKF             /**/
296
297 /* HAS_LSTAT:
298  *      This symbol, if defined, indicates that the lstat routine is
299  *      available to do file stats on symbolic links.
300  */
301 #$d_lstat HAS_LSTAT             /**/
302
303 /* HAS_MBLEN:
304  *      This symbol, if defined, indicates that the mblen routine is available
305  *      to find the number of bytes in a multibye character.
306  */
307 #$d_mblen HAS_MBLEN             /**/
308
309 /* HAS_MBSTOWCS:
310  *      This symbol, if defined, indicates that the mbstowcs routine is
311  *      available to covert a multibyte string into a wide character string.
312  */
313 #$d_mbstowcs    HAS_MBSTOWCS            /**/
314
315 /* HAS_MBTOWC:
316  *      This symbol, if defined, indicates that the mbtowc routine is available
317  *      to covert a multibyte to a wide character.
318  */
319 #$d_mbtowc HAS_MBTOWC           /**/
320
321 /* HAS_MEMCMP:
322  *      This symbol, if defined, indicates that the memcmp routine is available
323  *      to compare blocks of memory.
324  */
325 #$d_memcmp HAS_MEMCMP   /**/
326
327 /* HAS_MEMCPY:
328  *      This symbol, if defined, indicates that the memcpy routine is available
329  *      to copy blocks of memory.
330  */
331 #$d_memcpy HAS_MEMCPY   /**/
332
333 /* HAS_MEMMOVE:
334  *      This symbol, if defined, indicates that the memmove routine is available
335  *      to copy potentially overlapping blocks of memory. This should be used
336  *      only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
337  *      own version.
338  */
339 #$d_memmove HAS_MEMMOVE /**/
340
341 /* HAS_MEMSET:
342  *      This symbol, if defined, indicates that the memset routine is available
343  *      to set blocks of memory.
344  */
345 #$d_memset HAS_MEMSET   /**/
346
347 /* HAS_MKDIR:
348  *      This symbol, if defined, indicates that the mkdir routine is available
349  *      to create directories.  Otherwise you should fork off a new process to
350  *      exec /bin/mkdir.
351  */
352 #$d_mkdir HAS_MKDIR             /**/
353
354 /* HAS_MKFIFO:
355  *      This symbol, if defined, indicates that the mkfifo routine is
356  *      available to create FIFOs. Otherwise, mknod should be able to
357  *      do it for you. However, if mkfifo is there, mknod might require
358  *      super-user privileges which mkfifo will not.
359  */
360 #$d_mkfifo HAS_MKFIFO           /**/
361
362 /* HAS_MKTIME:
363  *      This symbol, if defined, indicates that the mktime routine is
364  *      available.
365  */
366 #$d_mktime HAS_MKTIME           /**/
367
368 /* HAS_MSYNC:
369  *      This symbol, if defined, indicates that the msync system call is
370  *      available to synchronize a mapped file.
371  */
372 #$d_msync HAS_MSYNC             /**/
373
374 /* HAS_MUNMAP:
375  *      This symbol, if defined, indicates that the munmap system call is
376  *      available to unmap a region, usually mapped by mmap().
377  */
378 #$d_munmap HAS_MUNMAP           /**/
379
380 /* HAS_NICE:
381  *      This symbol, if defined, indicates that the nice routine is
382  *      available.
383  */
384 #$d_nice HAS_NICE               /**/
385
386 /* HAS_PATHCONF:
387  *      This symbol, if defined, indicates that pathconf() is available
388  *      to determine file-system related limits and options associated
389  *      with a given filename.
390  */
391 /* HAS_FPATHCONF:
392  *      This symbol, if defined, indicates that pathconf() is available
393  *      to determine file-system related limits and options associated
394  *      with a given open file descriptor.
395  */
396 #$d_pathconf HAS_PATHCONF               /**/
397 #$d_fpathconf HAS_FPATHCONF             /**/
398
399 /* HAS_PAUSE:
400  *      This symbol, if defined, indicates that the pause routine is
401  *      available to suspend a process until a signal is received.
402  */
403 #$d_pause HAS_PAUSE             /**/
404
405 /* HAS_PIPE:
406  *      This symbol, if defined, indicates that the pipe routine is
407  *      available to create an inter-process channel.
408  */
409 #$d_pipe HAS_PIPE               /**/
410
411 /* HAS_POLL:
412  *      This symbol, if defined, indicates that the poll routine is
413  *      available to poll active file descriptors. You may safely
414  *      include <poll.h> when this symbol is defined.
415  */
416 #$d_poll HAS_POLL               /**/
417
418 /* HAS_READDIR:
419  *      This symbol, if defined, indicates that the readdir routine is
420  *      available to read directory entries. You may have to include
421  *      <dirent.h>. See I_DIRENT.
422  */
423 #$d_readdir HAS_READDIR         /**/
424
425 /* HAS_SEEKDIR:
426  *      This symbol, if defined, indicates that the seekdir routine is
427  *      available. You may have to include <dirent.h>. See I_DIRENT.
428  */
429 #$d_seekdir HAS_SEEKDIR         /**/
430
431 /* HAS_TELLDIR:
432  *      This symbol, if defined, indicates that the telldir routine is
433  *      available. You may have to include <dirent.h>. See I_DIRENT.
434  */
435 #$d_telldir HAS_TELLDIR         /**/
436
437 /* HAS_REWINDDIR:
438  *      This symbol, if defined, indicates that the rewinddir routine is
439  *      available. You may have to include <dirent.h>. See I_DIRENT.
440  */
441 #$d_rewinddir HAS_REWINDDIR             /**/
442
443 /* HAS_READLINK:
444  *      This symbol, if defined, indicates that the readlink routine is
445  *      available to read the value of a symbolic link.
446  */
447 #$d_readlink HAS_READLINK               /**/
448
449 /* HAS_RENAME:
450  *      This symbol, if defined, indicates that the rename routine is available
451  *      to rename files.  Otherwise you should do the unlink(), link(), unlink()
452  *      trick.
453  */
454 #$d_rename HAS_RENAME   /**/
455
456 /* HAS_RMDIR:
457  *      This symbol, if defined, indicates that the rmdir routine is
458  *      available to remove directories. Otherwise you should fork off a
459  *      new process to exec /bin/rmdir.
460  */
461 #$d_rmdir HAS_RMDIR             /**/
462
463 /* HAS_SELECT:
464  *      This symbol, if defined, indicates that the select routine is
465  *      available to select active file descriptors. If the timeout field
466  *      is used, <sys/time.h> may need to be included.
467  */
468 #$d_select HAS_SELECT   /**/
469
470 /* HAS_SETEGID:
471  *      This symbol, if defined, indicates that the setegid routine is available
472  *      to change the effective gid of the current program.
473  */
474 #$d_setegid HAS_SETEGID         /**/
475
476 /* HAS_SETEUID:
477  *      This symbol, if defined, indicates that the seteuid routine is available
478  *      to change the effective uid of the current program.
479  */
480 #$d_seteuid HAS_SETEUID         /**/
481
482 /* HAS_SETLINEBUF:
483  *      This symbol, if defined, indicates that the setlinebuf routine is
484  *      available to change stderr or stdout from block-buffered or unbuffered
485  *      to a line-buffered mode.
486  */
487 #$d_setlinebuf HAS_SETLINEBUF           /**/
488
489 /* HAS_SETLOCALE:
490  *      This symbol, if defined, indicates that the setlocale routine is
491  *      available to handle locale-specific ctype implementations.
492  */
493 #$d_setlocale HAS_SETLOCALE     /**/
494
495 /* HAS_SETPGID:
496  *      This symbol, if defined, indicates that the setpgid(pid, gpid)
497  *      routine is available to set process group ID.
498  */
499 #$d_setpgid HAS_SETPGID /**/
500
501 /* HAS_SETPGRP2:
502  *      This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
503  *      routine is available to set the current process group.
504  */
505 #$d_setpgrp2 HAS_SETPGRP2               /**/
506
507 /* HAS_SETPRIORITY:
508  *      This symbol, if defined, indicates that the setpriority routine is
509  *      available to set a process's priority.
510  */
511 #$d_setprior HAS_SETPRIORITY            /**/
512
513 /* HAS_SETREGID:
514  *      This symbol, if defined, indicates that the setregid routine is
515  *      available to change the real and effective gid of the current
516  *      process.
517  */
518 /* HAS_SETRESGID:
519  *      This symbol, if defined, indicates that the setresgid routine is
520  *      available to change the real, effective and saved gid of the current
521  *      process.
522  */
523 #$d_setregid HAS_SETREGID               /**/
524 #$d_setresgid HAS_SETRESGID             /**/
525
526 /* HAS_SETREUID:
527  *      This symbol, if defined, indicates that the setreuid routine is
528  *      available to change the real and effective uid of the current
529  *      process.
530  */
531 /* HAS_SETRESUID:
532  *      This symbol, if defined, indicates that the setresuid routine is
533  *      available to change the real, effective and saved uid of the current
534  *      process.
535  */
536 #$d_setreuid HAS_SETREUID               /**/
537 #$d_setresuid HAS_SETRESUID             /**/
538
539 /* HAS_SETRGID:
540  *      This symbol, if defined, indicates that the setrgid routine is available
541  *      to change the real gid of the current program.
542  */
543 #$d_setrgid HAS_SETRGID         /**/
544
545 /* HAS_SETRUID:
546  *      This symbol, if defined, indicates that the setruid routine is available
547  *      to change the real uid of the current program.
548  */
549 #$d_setruid HAS_SETRUID         /**/
550
551 /* HAS_SETSID:
552  *      This symbol, if defined, indicates that the setsid routine is
553  *      available to set the process group ID.
554  */
555 #$d_setsid HAS_SETSID   /**/
556
557 /* Shmat_t:
558  *      This symbol holds the return type of the shmat() system call.
559  *      Usually set to 'void *' or 'char *'.
560  */
561 /* HAS_SHMAT_PROTOTYPE:
562  *      This symbol, if defined, indicates that the sys/shm.h includes
563  *      a prototype for shmat().  Otherwise, it is up to the program to
564  *      guess one.  Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
565  *      but not always right so it should be emitted by the program only
566  *      when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
567  */
568 #define Shmat_t $shmattype      /**/
569 #$d_shmatprototype HAS_SHMAT_PROTOTYPE  /**/
570
571 /* HAS_STRCHR:
572  *      This symbol is defined to indicate that the strchr()/strrchr()
573  *      functions are available for string searching. If not, try the
574  *      index()/rindex() pair.
575  */
576 /* HAS_INDEX:
577  *      This symbol is defined to indicate that the index()/rindex()
578  *      functions are available for string searching.
579  */
580 #$d_strchr HAS_STRCHR   /**/
581 #$d_index HAS_INDEX     /**/
582
583 /* HAS_STRCOLL:
584  *      This symbol, if defined, indicates that the strcoll routine is
585  *      available to compare strings using collating information.
586  */
587 #$d_strcoll HAS_STRCOLL /**/
588
589 /* USE_STRUCT_COPY:
590  *      This symbol, if defined, indicates that this C compiler knows how
591  *      to copy structures.  If undefined, you'll need to use a block copy
592  *      routine of some sort instead.
593  */
594 #$d_strctcpy    USE_STRUCT_COPY /**/
595
596 /* HAS_STRTOD:
597  *      This symbol, if defined, indicates that the strtod routine is
598  *      available to provide better numeric string conversion than atof().
599  */
600 #$d_strtod HAS_STRTOD   /**/
601
602 /* HAS_STRTOL:
603  *      This symbol, if defined, indicates that the strtol routine is available
604  *      to provide better numeric string conversion than atoi() and friends.
605  */
606 #$d_strtol HAS_STRTOL   /**/
607
608 /* HAS_STRXFRM:
609  *      This symbol, if defined, indicates that the strxfrm() routine is
610  *      available to transform strings.
611  */
612 #$d_strxfrm HAS_STRXFRM /**/
613
614 /* HAS_SYMLINK:
615  *      This symbol, if defined, indicates that the symlink routine is available
616  *      to create symbolic links.
617  */
618 #$d_symlink HAS_SYMLINK /**/
619
620 /* HAS_SYSCALL:
621  *      This symbol, if defined, indicates that the syscall routine is
622  *      available to call arbitrary system calls. If undefined, that's tough.
623  */
624 #$d_syscall HAS_SYSCALL /**/
625
626 /* HAS_SYSCONF:
627  *      This symbol, if defined, indicates that sysconf() is available
628  *      to determine system related limits and options.
629  */
630 #$d_sysconf HAS_SYSCONF /**/
631
632 /* HAS_SYSTEM:
633  *      This symbol, if defined, indicates that the system routine is
634  *      available to issue a shell command.
635  */
636 #$d_system HAS_SYSTEM   /**/
637
638 /* HAS_TCGETPGRP:
639  *      This symbol, if defined, indicates that the tcgetpgrp routine is
640  *      available to get foreground process group ID.
641  */
642 #$d_tcgetpgrp HAS_TCGETPGRP             /**/
643
644 /* HAS_TCSETPGRP:
645  *      This symbol, if defined, indicates that the tcsetpgrp routine is
646  *      available to set foreground process group ID.
647  */
648 #$d_tcsetpgrp HAS_TCSETPGRP             /**/
649
650 /* HAS_TRUNCATE:
651  *      This symbol, if defined, indicates that the truncate routine is
652  *      available to truncate files.
653  */
654 #$d_truncate HAS_TRUNCATE       /**/
655
656 /* HAS_TZNAME:
657  *      This symbol, if defined, indicates that the tzname[] array is
658  *      available to access timezone names.
659  */
660 #$d_tzname HAS_TZNAME           /**/
661
662 /* HAS_UMASK:
663  *      This symbol, if defined, indicates that the umask routine is
664  *      available to set and get the value of the file creation mask.
665  */
666 #$d_umask HAS_UMASK             /**/
667
668 /* HAS_USLEEP:
669  *      This symbol, if defined, indicates that the usleep routine is
670  *      available to let the process sleep on a sub-second accuracy.
671  */
672 #$d_usleep HAS_USLEEP           /**/
673
674 /* HASVOLATILE:
675  *      This symbol, if defined, indicates that this C compiler knows about
676  *      the volatile declaration.
677  */
678 #$d_volatile    HASVOLATILE     /**/
679 #ifndef HASVOLATILE
680 #define volatile
681 #endif
682
683 /* HAS_WAIT4:
684  *      This symbol, if defined, indicates that wait4() exists.
685  */
686 #$d_wait4 HAS_WAIT4     /**/
687
688 /* HAS_WAITPID:
689  *      This symbol, if defined, indicates that the waitpid routine is
690  *      available to wait for child process.
691  */
692 #$d_waitpid HAS_WAITPID /**/
693
694 /* HAS_WCSTOMBS:
695  *      This symbol, if defined, indicates that the wcstombs routine is
696  *      available to convert wide character strings to multibyte strings.
697  */
698 #$d_wcstombs HAS_WCSTOMBS       /**/
699
700 /* HAS_WCTOMB:
701  *      This symbol, if defined, indicates that the wctomb routine is available
702  *      to covert a wide character to a multibyte.
703  */
704 #$d_wctomb HAS_WCTOMB           /**/
705
706 /* I_ARPA_INET:
707  *      This symbol, if defined, indicates to the C program that it should
708  *      include <arpa/inet.h> to get inet_addr and friends declarations.
709  */
710 #$i_arpainet    I_ARPA_INET             /**/
711
712 /* I_DBM:
713  *      This symbol, if defined, indicates that <dbm.h> exists and should
714  *      be included.
715  */
716 /* I_RPCSVC_DBM:
717  *      This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
718  *      should be included.
719  */
720 #$i_dbm I_DBM   /**/
721 #$i_rpcsvcdbm I_RPCSVC_DBM      /**/
722
723 /* I_DIRENT:
724  *      This symbol, if defined, indicates to the C program that it should
725  *      include <dirent.h>. Using this symbol also triggers the definition
726  *      of the Direntry_t define which ends up being 'struct dirent' or
727  *      'struct direct' depending on the availability of <dirent.h>.
728  */
729 /* DIRNAMLEN:
730  *      This symbol, if defined, indicates to the C program that the length
731  *      of directory entry names is provided by a d_namlen field.  Otherwise
732  *      you need to do strlen() on the d_name field.
733  */
734 /* Direntry_t:
735  *      This symbol is set to 'struct direct' or 'struct dirent' depending on
736  *      whether dirent is available or not. You should use this pseudo type to
737  *      portably declare your directory entries.
738  */
739 #$i_dirent I_DIRENT             /**/
740 #$d_dirnamlen DIRNAMLEN /**/
741 #define Direntry_t $direntrytype
742
743 /* I_DLFCN:
744  *      This symbol, if defined, indicates that <dlfcn.h> exists and should
745  *      be included.
746  */
747 #$i_dlfcn I_DLFCN               /**/
748
749 /* I_FCNTL:
750  *      This manifest constant tells the C program to include <fcntl.h>.
751  */
752 #$i_fcntl I_FCNTL       /**/
753
754 /* I_FLOAT:
755  *      This symbol, if defined, indicates to the C program that it should
756  *      include <float.h> to get definition of symbols like DBL_MAX or
757  *      DBL_MIN, i.e. machine dependent floating point values.
758  */
759 #$i_float I_FLOAT               /**/
760
761 /* I_LIMITS:
762  *      This symbol, if defined, indicates to the C program that it should
763  *      include <limits.h> to get definition of symbols like WORD_BIT or
764  *      LONG_MAX, i.e. machine dependant limitations.
765  */
766 #$i_limits I_LIMITS             /**/
767
768 /* I_LOCALE:
769  *      This symbol, if defined, indicates to the C program that it should
770  *      include <locale.h>.
771  */
772 #$i_locale      I_LOCALE                /**/
773
774 /* I_MATH:
775  *      This symbol, if defined, indicates to the C program that it should
776  *      include <math.h>.
777  */
778 #$i_math I_MATH         /**/
779
780 /* I_MEMORY:
781  *      This symbol, if defined, indicates to the C program that it should
782  *      include <memory.h>.
783  */
784 #$i_memory I_MEMORY             /**/
785
786 /* I_NDBM:
787  *      This symbol, if defined, indicates that <ndbm.h> exists and should
788  *      be included.
789  */
790 #$i_ndbm I_NDBM /**/
791
792 /* I_NET_ERRNO:
793  *      This symbol, if defined, indicates that <net/errno.h> exists and 
794  *      should be included.
795  */
796 #$i_neterrno I_NET_ERRNO                /**/
797
798 /* I_NETINET_IN:
799  *      This symbol, if defined, indicates to the C program that it should
800  *      include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
801  */
802 #$i_niin I_NETINET_IN   /**/
803
804 /* I_SFIO:
805  *      This symbol, if defined, indicates to the C program that it should
806  *      include <sfio.h>.
807  */
808 #$i_sfio        I_SFIO          /**/
809
810 /* I_STDDEF:
811  *      This symbol, if defined, indicates that <stddef.h> exists and should
812  *      be included.
813  */
814 #$i_stddef I_STDDEF     /**/
815
816 /* I_STDLIB:
817  *      This symbol, if defined, indicates that <stdlib.h> exists and should
818  *      be included.
819  */
820 #$i_stdlib I_STDLIB             /**/
821
822 /* I_STRING:
823  *      This symbol, if defined, indicates to the C program that it should
824  *      include <string.h> (USG systems) instead of <strings.h> (BSD systems).
825  */
826 #$i_string I_STRING             /**/
827
828 /* I_SYS_DIR:
829  *      This symbol, if defined, indicates to the C program that it should
830  *      include <sys/dir.h>.
831  */
832 #$i_sysdir I_SYS_DIR            /**/
833
834 /* I_SYS_FILE:
835  *      This symbol, if defined, indicates to the C program that it should
836  *      include <sys/file.h> to get definition of R_OK and friends.
837  */
838 #$i_sysfile I_SYS_FILE          /**/
839
840 /* I_SYS_IOCTL:
841  *      This symbol, if defined, indicates that <sys/ioctl.h> exists and should
842  *      be included. Otherwise, include <sgtty.h> or <termio.h>.
843  */
844 /* I_SYS_SOCKIO:
845  *      This symbol, if defined, indicates the <sys/sockio.h> should be included
846  *      to get socket ioctl options, like SIOCATMARK.
847  */
848 #$i_sysioctl    I_SYS_IOCTL             /**/
849 #$i_syssockio I_SYS_SOCKIO      /**/
850
851 /* I_SYS_NDIR:
852  *      This symbol, if defined, indicates to the C program that it should
853  *      include <sys/ndir.h>.
854  */
855 #$i_sysndir I_SYS_NDIR  /**/
856
857 /* I_SYS_PARAM:
858  *      This symbol, if defined, indicates to the C program that it should
859  *      include <sys/param.h>.
860  */
861 #$i_sysparam I_SYS_PARAM                /**/
862
863 /* I_SYS_RESOURCE:
864  *      This symbol, if defined, indicates to the C program that it should
865  *      include <sys/resource.h>.
866  */
867 #$i_sysresrc I_SYS_RESOURCE             /**/
868
869 /* I_SYS_SELECT:
870  *      This symbol, if defined, indicates to the C program that it should
871  *      include <sys/select.h> in order to get definition of struct timeval.
872  */
873 #$i_sysselct I_SYS_SELECT       /**/
874
875 /* I_SYS_STAT:
876  *      This symbol, if defined, indicates to the C program that it should
877  *      include <sys/stat.h>.
878  */
879 #$i_sysstat     I_SYS_STAT              /**/
880
881 /* I_SYS_TIMES:
882  *      This symbol, if defined, indicates to the C program that it should
883  *      include <sys/times.h>.
884  */
885 #$i_systimes    I_SYS_TIMES             /**/
886
887 /* I_SYS_TYPES:
888  *      This symbol, if defined, indicates to the C program that it should
889  *      include <sys/types.h>.
890  */
891 #$i_systypes    I_SYS_TYPES             /**/
892
893 /* I_SYS_UN:
894  *      This symbol, if defined, indicates to the C program that it should
895  *      include <sys/un.h> to get UNIX domain socket definitions.
896  */
897 #$i_sysun I_SYS_UN              /**/
898
899 /* I_SYS_WAIT:
900  *      This symbol, if defined, indicates to the C program that it should
901  *      include <sys/wait.h>.
902  */
903 #$i_syswait I_SYS_WAIT  /**/
904
905 /* I_TERMIO:
906  *      This symbol, if defined, indicates that the program should include
907  *      <termio.h> rather than <sgtty.h>.  There are also differences in
908  *      the ioctl() calls that depend on the value of this symbol.
909  */
910 /* I_TERMIOS:
911  *      This symbol, if defined, indicates that the program should include
912  *      the POSIX termios.h rather than sgtty.h or termio.h.
913  *      There are also differences in the ioctl() calls that depend on the
914  *      value of this symbol.
915  */
916 /* I_SGTTY:
917  *      This symbol, if defined, indicates that the program should include
918  *      <sgtty.h> rather than <termio.h>.  There are also differences in
919  *      the ioctl() calls that depend on the value of this symbol.
920  */
921 #$i_termio I_TERMIO             /**/
922 #$i_termios I_TERMIOS           /**/
923 #$i_sgtty I_SGTTY               /**/
924
925 /* I_UNISTD:
926  *      This symbol, if defined, indicates to the C program that it should
927  *      include <unistd.h>.
928  */
929 #$i_unistd I_UNISTD             /**/
930
931 /* I_UTIME:
932  *      This symbol, if defined, indicates to the C program that it should
933  *      include <utime.h>.
934  */
935 #$i_utime I_UTIME               /**/
936
937 /* I_VALUES:
938  *      This symbol, if defined, indicates to the C program that it should
939  *      include <values.h> to get definition of symbols like MINFLOAT or
940  *      MAXLONG, i.e. machine dependant limitations.  Probably, you
941  *      should use <limits.h> instead, if it is available.
942  */
943 #$i_values I_VALUES             /**/
944
945 /* I_STDARG:
946  *      This symbol, if defined, indicates that <stdarg.h> exists and should
947  *      be included.
948  */
949 /* I_VARARGS:
950  *      This symbol, if defined, indicates to the C program that it should
951  *      include <varargs.h>.
952  */
953 #$i_stdarg I_STDARG             /**/
954 #$i_varargs I_VARARGS   /**/
955
956 /* I_VFORK:
957  *      This symbol, if defined, indicates to the C program that it should
958  *      include vfork.h.
959  */
960 #$i_vfork I_VFORK       /**/
961
962 /* CAN_PROTOTYPE:
963  *      If defined, this macro indicates that the C compiler can handle
964  *      function prototypes.
965  */
966 /* _:
967  *      This macro is used to declare function parameters for folks who want
968  *      to make declarations with prototypes using a different style than
969  *      the above macros.  Use double parentheses.  For example:
970  *
971  *              int main _((int argc, char *argv[]));
972  */
973 #$prototype     CAN_PROTOTYPE   /**/
974 #ifdef CAN_PROTOTYPE
975 #define _(args) args
976 #else
977 #define _(args) ()
978 #endif
979
980 /* SH_PATH:
981  *      This symbol contains the full pathname to the shell used on this
982  *      on this system to execute Bourne shell scripts.  Usually, this will be
983  *      /bin/sh, though it's possible that some systems will have /bin/ksh,
984  *      /bin/pdksh, /bin/ash, /bin/bash, or even something such as
985  *      D:/bin/sh.exe.
986  */
987 #define SH_PATH "$sh"  /**/
988
989 /* CROSSCOMPILE:
990  *      This symbol, if defined, signifies that we our
991  *      build process is a cross-compilation.
992  */
993 #$crosscompile CROSSCOMPILE             /**/
994
995 /* INTSIZE:
996  *      This symbol contains the value of sizeof(int) so that the C
997  *      preprocessor can make decisions based on it.
998  */
999 /* LONGSIZE:
1000  *      This symbol contains the value of sizeof(long) so that the C
1001  *      preprocessor can make decisions based on it.
1002  */
1003 /* SHORTSIZE:
1004  *      This symbol contains the value of sizeof(short) so that the C
1005  *      preprocessor can make decisions based on it.
1006  */
1007 #define INTSIZE $intsize                /**/
1008 #define LONGSIZE $longsize              /**/
1009 #define SHORTSIZE $shortsize            /**/
1010
1011 /* MULTIARCH:
1012  *      This symbol, if defined, signifies that the build
1013  *      process will produce some binary files that are going to be
1014  *      used in a cross-platform environment.  This is the case for
1015  *      example with the NeXT "fat" binaries that contain executables
1016  *      for several CPUs.
1017  */
1018 #$multiarch MULTIARCH           /**/
1019
1020 /* HAS_QUAD:
1021  *      This symbol, if defined, tells that there's a 64-bit integer type,
1022  *      Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
1023  *      of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
1024  */
1025 #$d_quad HAS_QUAD       /**/
1026 #ifdef HAS_QUAD
1027 #   define Quad_t $quadtype     /**/
1028 #   define Uquad_t $uquadtype   /**/
1029 #   define QUADKIND $quadkind   /**/
1030 #   define QUAD_IS_INT  1
1031 #   define QUAD_IS_LONG 2
1032 #   define QUAD_IS_LONG_LONG    3
1033 #   define QUAD_IS_INT64_T      4
1034 #endif
1035
1036 /* HAS_ACCESSX:
1037  *      This symbol, if defined, indicates that the accessx routine is
1038  *      available to do extended access checks.
1039  */
1040 #$d_accessx HAS_ACCESSX         /**/
1041
1042 /* HAS_EACCESS:
1043  *      This symbol, if defined, indicates that the eaccess routine is
1044  *      available to do extended access checks.
1045  */
1046 #$d_eaccess HAS_EACCESS         /**/
1047
1048 /* I_SYS_ACCESS:
1049  *     This symbol, if defined, indicates to the C program that it should
1050  *     include <sys/access.h>.
1051  */
1052 #$i_sysaccess   I_SYS_ACCESS                /**/
1053
1054 /* I_SYS_SECURITY:
1055  *     This symbol, if defined, indicates to the C program that it should
1056  *     include <sys/security.h>.
1057  */
1058 #$i_syssecrt   I_SYS_SECURITY   /**/
1059
1060 /* OSNAME:
1061  *      This symbol contains the name of the operating system, as determined
1062  *      by Configure.  You shouldn't rely on it too much; the specific
1063  *      feature tests from Configure are generally more reliable.
1064  */
1065 #define OSNAME "$osname"                /**/
1066
1067 /* OSVERSION:
1068  *      <takis@xfree86.org>
1069  *      This symbol contains the version of the operating system, as determined
1070  *      by Configure.  You shouldn't rely on it too much; the specific
1071  *      feature tests from Configure are generally more reliable.
1072  */
1073 #define OSVERSION "$osvers"             /**/
1074
1075 /* MEM_ALIGNBYTES:
1076  *      This symbol contains the number of bytes required to align a
1077  *      double, or a long double when applicable. Usual values are 2,
1078  *      4 and 8. The default is eight, for safety.
1079  */
1080 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1081 #  define MEM_ALIGNBYTES 8
1082 #else
1083 #define MEM_ALIGNBYTES $alignbytes
1084 #endif
1085
1086 /* ARCHLIB:
1087  *      This variable, if defined, holds the name of the directory in
1088  *      which the user wants to put architecture-dependent public
1089  *      library files for $package.  It is most often a local directory
1090  *      such as /usr/local/lib.  Programs using this variable must be
1091  *      prepared to deal with filename expansion.  If ARCHLIB is the
1092  *      same as PRIVLIB, it is not defined, since presumably the
1093  *      program already searches PRIVLIB.
1094  */
1095 /* ARCHLIB_EXP:
1096  *      This symbol contains the ~name expanded version of ARCHLIB, to be used
1097  *      in programs that are not prepared to deal with ~ expansion at run-time.
1098  */
1099 #$d_archlib ARCHLIB "$archlib"          /**/
1100 #$d_archlib ARCHLIB_EXP "$archlibexp"           /**/
1101
1102 /* ARCHNAME:
1103  *      This symbol holds a string representing the architecture name.
1104  *      It may be used to construct an architecture-dependant pathname
1105  *      where library files may be held under a private library, for
1106  *      instance.
1107  */
1108 #define ARCHNAME "$archname"            /**/
1109
1110 /* HAS_ATOLF:
1111  *      This symbol, if defined, indicates that the atolf routine is
1112  *      available to convert strings into long doubles.
1113  */
1114 #$d_atolf HAS_ATOLF             /**/
1115
1116 /* HAS_ATOLL:
1117  *      This symbol, if defined, indicates that the atoll routine is
1118  *      available to convert strings into long longs.
1119  */
1120 #$d_atoll HAS_ATOLL             /**/
1121
1122 /* BIN:
1123  *      This symbol holds the path of the bin directory where the package will
1124  *      be installed. Program must be prepared to deal with ~name substitution.
1125  */
1126 /* BIN_EXP:
1127  *      This symbol is the filename expanded version of the BIN symbol, for
1128  *      programs that do not want to deal with that at run-time.
1129  */
1130 #define BIN "$bin"      /**/
1131 #define BIN_EXP "$binexp"       /**/
1132
1133 /* PERL_BINCOMPAT_5005:
1134  *      This symbol, if defined, indicates that this version of Perl should be
1135  *      binary-compatible with Perl 5.005.  This is impossible for builds
1136  *      that use features like threads and multiplicity it is always $undef
1137  *      for those versions.
1138  */
1139 #$d_bincompat5005 PERL_BINCOMPAT_5005                   /**/
1140
1141 /* BYTEORDER:
1142  *      This symbol holds the hexadecimal constant defined in byteorder,
1143  *      i.e. 0x1234 or 0x4321, etc...
1144  *      If the compiler supports cross-compiling or multiple-architecture
1145  *      binaries (eg. on NeXT systems), use compiler-defined macros to
1146  *      determine the byte order.
1147  *      On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1148  *      Binaries (MAB) on either big endian or little endian machines.
1149  *      The endian-ness is available at compile-time.  This only matters
1150  *      for perl, where the config.h can be generated and installed on 
1151  *      one system, and used by a different architecture to build an
1152  *      extension.  Older versions of NeXT that might not have
1153  *      defined either *_ENDIAN__ were all on Motorola 680x0 series,
1154  *      so the default case (for NeXT) is big endian to catch them. 
1155  *      This might matter for NeXT 3.0.
1156  */
1157 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1158 #  ifdef __LITTLE_ENDIAN__
1159 #    if LONGSIZE == 4
1160 #      define BYTEORDER 0x1234
1161 #    else
1162 #      if LONGSIZE == 8
1163 #        define BYTEORDER 0x12345678
1164 #      endif
1165 #    endif
1166 #  else
1167 #    ifdef __BIG_ENDIAN__
1168 #      if LONGSIZE == 4
1169 #        define BYTEORDER 0x4321
1170 #      else
1171 #        if LONGSIZE == 8
1172 #          define BYTEORDER 0x87654321
1173 #        endif
1174 #      endif
1175 #    endif
1176 #  endif
1177 #  if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1178 #    define BYTEORDER 0x4321
1179 #  endif
1180 #else
1181 #define BYTEORDER 0x$byteorder  /* large digits for MSB */
1182 #endif /* NeXT */
1183
1184 /* CAT2:
1185  *      This macro catenates 2 tokens together.
1186  */
1187 /* STRINGIFY:
1188  *      This macro surrounds its token with double quotes.
1189  */
1190 #if $cpp_stuff == 1
1191 #define CAT2(a,b)       a/**/b
1192 #define STRINGIFY(a)    "a"
1193                 /* If you can get stringification with catify, tell me how! */
1194 #endif
1195 #if $cpp_stuff == 42
1196 #define PeRl_CaTiFy(a, b)       a ## b  
1197 #define PeRl_StGiFy(a)  #a
1198 /* the additional level of indirection enables these macros to be
1199  * used as arguments to other macros.  See K&R 2nd ed., page 231. */
1200 #define CAT2(a,b)       PeRl_CaTiFy(a,b)
1201 #define StGiFy(a)       PeRl_StGiFy(a)
1202 #define STRINGIFY(a)    PeRl_StGiFy(a)
1203 #endif
1204 #if $cpp_stuff != 1 && $cpp_stuff != 42
1205 #   include "Bletch: How does this C preprocessor catenate tokens?"
1206 #endif
1207
1208 /* CPPSTDIN:
1209  *      This symbol contains the first part of the string which will invoke
1210  *      the C preprocessor on the standard input and produce to standard
1211  *      output.  Typical value of "cc -E" or "/lib/cpp", but it can also
1212  *      call a wrapper. See CPPRUN.
1213  */
1214 /* CPPMINUS:
1215  *      This symbol contains the second part of the string which will invoke
1216  *      the C preprocessor on the standard input and produce to standard
1217  *      output.  This symbol will have the value "-" if CPPSTDIN needs a minus
1218  *      to specify standard input, otherwise the value is "".
1219  */
1220 /* CPPRUN:
1221  *      This symbol contains the string which will invoke a C preprocessor on
1222  *      the standard input and produce to standard output. It needs to end
1223  *      with CPPLAST, after all other preprocessor flags have been specified.
1224  *      The main difference with CPPSTDIN is that this program will never be a
1225  *      pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1226  *      available directly to the user. Note that it may well be different from
1227  *      the preprocessor used to compile the C program.
1228  */
1229 /* CPPLAST:
1230  *      This symbol is intended to be used along with CPPRUN in the same manner
1231  *      symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1232  */
1233 #define CPPSTDIN "$cppstdin"
1234 #define CPPMINUS "$cppminus"
1235 #define CPPRUN "$cpprun"
1236 #define CPPLAST "$cpplast"
1237
1238 /* HAS__FWALK:
1239  *      This symbol, if defined, indicates that the _fwalk system call is
1240  *      available to apply a function to all the file handles.
1241  */
1242 #$d__fwalk HAS__FWALK           /**/
1243
1244 /* HAS_ACCESS:
1245  *      This manifest constant lets the C program know that the access()
1246  *      system call is available to check for accessibility using real UID/GID.
1247  *      (always present on UNIX.)
1248  */
1249 #$d_access HAS_ACCESS           /**/
1250
1251 /* CASTI32:
1252  *      This symbol is defined if the C compiler can cast negative
1253  *      or large floating point numbers to 32-bit ints.
1254  */
1255 #$d_casti32     CASTI32         /**/
1256
1257 /* CASTNEGFLOAT:
1258  *      This symbol is defined if the C compiler can cast negative
1259  *      numbers to unsigned longs, ints and shorts.
1260  */
1261 /* CASTFLAGS:
1262  *      This symbol contains flags that say what difficulties the compiler
1263  *      has casting odd floating values to unsigned long:
1264  *              0 = ok
1265  *              1 = couldn't cast < 0
1266  *              2 = couldn't cast >= 0x80000000
1267  *              4 = couldn't cast in argument expression list
1268  */
1269 #$d_castneg     CASTNEGFLOAT            /**/
1270 #define CASTFLAGS $castflags            /**/
1271
1272 /* VOID_CLOSEDIR:
1273  *      This symbol, if defined, indicates that the closedir() routine
1274  *      does not return a value.
1275  */
1276 #$d_void_closedir VOID_CLOSEDIR         /**/
1277
1278 /* HAS_STRUCT_CMSGHDR:
1279  *      This symbol, if defined, indicates that the struct cmsghdr
1280  *      is supported.
1281  */
1282 #$d_cmsghdr_s HAS_STRUCT_CMSGHDR        /**/
1283
1284 /* HAS_CSH:
1285  *      This symbol, if defined, indicates that the C-shell exists.
1286  */
1287 /* CSH:
1288  *      This symbol, if defined, contains the full pathname of csh.
1289  */
1290 #$d_csh HAS_CSH         /**/
1291 #ifdef HAS_CSH
1292 #define CSH "$full_csh" /**/
1293 #endif
1294
1295 /* DLSYM_NEEDS_UNDERSCORE:
1296  *      This symbol, if defined, indicates that we need to prepend an
1297  *      underscore to the symbol name before calling dlsym().  This only
1298  *      makes sense if you *have* dlsym, which we will presume is the
1299  *      case if you're using dl_dlopen.xs.
1300  */
1301 #$d_dlsymun     DLSYM_NEEDS_UNDERSCORE  /**/
1302
1303 /* HAS_DRAND48_PROTO:
1304  *      This symbol, if defined, indicates that the system provides
1305  *      a prototype for the drand48() function.  Otherwise, it is up
1306  *      to the program to supply one.  A good guess is
1307  *              extern double drand48 _((void));
1308  */
1309 #$d_drand48proto        HAS_DRAND48_PROTO       /**/
1310
1311 /* HAS_ENDGRENT:
1312  *      This symbol, if defined, indicates that the getgrent routine is
1313  *      available for finalizing sequential access of the group database.
1314  */
1315 #$d_endgrent HAS_ENDGRENT               /**/
1316
1317 /* HAS_ENDHOSTENT:
1318  *      This symbol, if defined, indicates that the endhostent() routine is
1319  *      available to close whatever was being used for host queries.
1320  */
1321 #$d_endhent HAS_ENDHOSTENT              /**/
1322
1323 /* HAS_ENDNETENT:
1324  *      This symbol, if defined, indicates that the endnetent() routine is
1325  *      available to close whatever was being used for network queries.
1326  */
1327 #$d_endnent HAS_ENDNETENT               /**/
1328
1329 /* HAS_ENDPROTOENT:
1330  *      This symbol, if defined, indicates that the endprotoent() routine is
1331  *      available to close whatever was being used for protocol queries.
1332  */
1333 #$d_endpent HAS_ENDPROTOENT             /**/
1334
1335 /* HAS_ENDPWENT:
1336  *      This symbol, if defined, indicates that the getgrent routine is
1337  *      available for finalizing sequential access of the passwd database.
1338  */
1339 #$d_endpwent HAS_ENDPWENT               /**/
1340
1341 /* HAS_ENDSERVENT:
1342  *      This symbol, if defined, indicates that the endservent() routine is
1343  *      available to close whatever was being used for service queries.
1344  */
1345 #$d_endsent HAS_ENDSERVENT              /**/
1346
1347 /* FCNTL_CAN_LOCK:
1348  *      This symbol, if defined, indicates that fcntl() can be used
1349  *      for file locking.  Normally on Unix systems this is defined.
1350  *      It may be undefined on VMS.
1351  */
1352 #$d_fcntl_can_lock FCNTL_CAN_LOCK               /**/
1353
1354 /* HAS_FD_SET:
1355  *      This symbol, when defined, indicates presence of the fd_set typedef
1356  *      in <sys/types.h>
1357  */
1358 #$d_fd_set HAS_FD_SET   /**/
1359
1360 /* FLEXFILENAMES:
1361  *      This symbol, if defined, indicates that the system supports filenames
1362  *      longer than 14 characters.
1363  */
1364 #$d_flexfnam    FLEXFILENAMES           /**/
1365
1366 /* HAS_FPOS64_T:
1367  *      This symbol will be defined if the C compiler supports fpos64_t.
1368  */
1369 #$d_fpos64_t    HAS_FPOS64_T            /**/
1370
1371 /* HAS_FREXPL:
1372  *      This symbol, if defined, indicates that the frexpl routine is
1373  *      available to break a long double floating-point number into
1374  *      a normalized fraction and an integral power of 2.
1375  */
1376 #$d_frexpl HAS_FREXPL           /**/
1377
1378 /* HAS_STRUCT_FS_DATA:
1379  *      This symbol, if defined, indicates that the struct fs_data
1380  *      to do statfs() is supported.
1381  */
1382 #$d_fs_data_s HAS_STRUCT_FS_DATA        /**/
1383
1384 /* HAS_FSEEKO:
1385  *      This symbol, if defined, indicates that the fseeko routine is
1386  *      available to fseek beyond 32 bits (useful for ILP32 hosts).
1387  */
1388 #$d_fseeko HAS_FSEEKO           /**/
1389
1390 /* HAS_FSTATFS:
1391  *      This symbol, if defined, indicates that the fstatfs routine is
1392  *      available to stat filesystems by file descriptors.
1393  */
1394 #$d_fstatfs HAS_FSTATFS         /**/
1395
1396 /* HAS_FSYNC:
1397  *      This symbol, if defined, indicates that the fsync routine is
1398  *      available to write a file's modified data and attributes to
1399  *      permanent storage.
1400  */
1401 #$d_fsync HAS_FSYNC             /**/
1402
1403 /* HAS_FTELLO:
1404  *      This symbol, if defined, indicates that the ftello routine is
1405  *      available to ftell beyond 32 bits (useful for ILP32 hosts).
1406  */
1407 #$d_ftello HAS_FTELLO           /**/
1408
1409 /* Gconvert:
1410  *      This preprocessor macro is defined to convert a floating point
1411  *      number to a string without a trailing decimal point.  This
1412  *      emulates the behavior of sprintf("%g"), but is sometimes much more
1413  *      efficient.  If gconvert() is not available, but gcvt() drops the
1414  *      trailing decimal point, then gcvt() is used.  If all else fails,
1415  *      a macro using sprintf("%g") is used. Arguments for the Gconvert
1416  *      macro are: value, number of digits, whether trailing zeros should
1417  *      be retained, and the output buffer.
1418  *      Possible values are:
1419  *              d_Gconvert='gconvert((x),(n),(t),(b))'
1420  *              d_Gconvert='gcvt((x),(n),(b))'
1421  *              d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1422  *      The last two assume trailing zeros should not be kept.
1423  */
1424 #define Gconvert(x,n,t,b) $d_Gconvert
1425
1426 /* HAS_GETCWD:
1427  *      This symbol, if defined, indicates that the getcwd routine is
1428  *      available to get the current working directory.
1429  */
1430 #$d_getcwd HAS_GETCWD           /**/
1431
1432 /* HAS_GETESPWNAM:
1433  *      This symbol, if defined, indicates that the getespwnam system call is
1434  *      available to retrieve enchanced (shadow) password entries by name.
1435  */
1436 #$d_getespwnam HAS_GETESPWNAM           /**/
1437
1438 /* HAS_GETFSSTAT:
1439  *      This symbol, if defined, indicates that the getfsstat routine is
1440  *      available to stat filesystems in bulk.
1441  */
1442 #$d_getfsstat HAS_GETFSSTAT             /**/
1443
1444 /* HAS_GETGRENT:
1445  *      This symbol, if defined, indicates that the getgrent routine is
1446  *      available for sequential access of the group database.
1447  */
1448 #$d_getgrent HAS_GETGRENT               /**/
1449
1450 /* HAS_GETHOSTBYADDR:
1451  *      This symbol, if defined, indicates that the gethostbyaddr() routine is
1452  *      available to look up hosts by their IP addresses.
1453  */
1454 #$d_gethbyaddr HAS_GETHOSTBYADDR                /**/
1455
1456 /* HAS_GETHOSTBYNAME:
1457  *      This symbol, if defined, indicates that the gethostbyname() routine is
1458  *      available to look up host names in some data base or other.
1459  */
1460 #$d_gethbyname HAS_GETHOSTBYNAME                /**/
1461
1462 /* HAS_GETHOSTENT:
1463  *      This symbol, if defined, indicates that the gethostent() routine is
1464  *      available to look up host names in some data base or another.
1465  */
1466 #$d_gethent HAS_GETHOSTENT              /**/
1467
1468 /* HAS_GETHOSTNAME:
1469  *      This symbol, if defined, indicates that the C program may use the
1470  *      gethostname() routine to derive the host name.  See also HAS_UNAME
1471  *      and PHOSTNAME.
1472  */
1473 /* HAS_UNAME:
1474  *      This symbol, if defined, indicates that the C program may use the
1475  *      uname() routine to derive the host name.  See also HAS_GETHOSTNAME
1476  *      and PHOSTNAME.
1477  */
1478 /* PHOSTNAME:
1479  *      This symbol, if defined, indicates the command to feed to the
1480  *      popen() routine to derive the host name.  See also HAS_GETHOSTNAME
1481  *      and HAS_UNAME.  Note that the command uses a fully qualified path,
1482  *      so that it is safe even if used by a process with super-user
1483  *      privileges.
1484  */
1485 /* HAS_PHOSTNAME:
1486  *      This symbol, if defined, indicates that the C program may use the
1487  *      contents of PHOSTNAME as a command to feed to the popen() routine
1488  *      to derive the host name.
1489  */
1490 #$d_gethname HAS_GETHOSTNAME    /**/
1491 #$d_uname HAS_UNAME             /**/
1492 #$d_phostname HAS_PHOSTNAME     /**/
1493 #ifdef HAS_PHOSTNAME
1494 #define PHOSTNAME "$aphostname" /* How to get the host name */
1495 #endif
1496
1497 /* HAS_GETHOST_PROTOS:
1498  *      This symbol, if defined, indicates that <netdb.h> includes
1499  *      prototypes for gethostent(), gethostbyname(), and
1500  *      gethostbyaddr().  Otherwise, it is up to the program to guess
1501  *      them.  See netdbtype.U for probing for various Netdb_xxx_t types.
1502  */
1503 #$d_gethostprotos       HAS_GETHOST_PROTOS      /**/
1504
1505 /* HAS_GETITIMER:
1506  *      This symbol, if defined, indicates that the getitimer routine is
1507  *      available to return interval timers.
1508  */
1509 #$d_getitimer HAS_GETITIMER             /**/
1510
1511 /* HAS_GETMNT:
1512  *      This symbol, if defined, indicates that the getmnt routine is
1513  *      available to get filesystem mount info by filename.
1514  */
1515 #$d_getmnt HAS_GETMNT           /**/
1516
1517 /* HAS_GETMNTENT:
1518  *      This symbol, if defined, indicates that the getmntent routine is
1519  *      available to iterate through mounted file systems to get their info.
1520  */
1521 #$d_getmntent HAS_GETMNTENT             /**/
1522
1523 /* HAS_GETNETBYADDR:
1524  *      This symbol, if defined, indicates that the getnetbyaddr() routine is
1525  *      available to look up networks by their IP addresses.
1526  */
1527 #$d_getnbyaddr HAS_GETNETBYADDR         /**/
1528
1529 /* HAS_GETNETBYNAME:
1530  *      This symbol, if defined, indicates that the getnetbyname() routine is
1531  *      available to look up networks by their names.
1532  */
1533 #$d_getnbyname HAS_GETNETBYNAME         /**/
1534
1535 /* HAS_GETNETENT:
1536  *      This symbol, if defined, indicates that the getnetent() routine is
1537  *      available to look up network names in some data base or another.
1538  */
1539 #$d_getnent HAS_GETNETENT               /**/
1540
1541 /* HAS_GETNET_PROTOS:
1542  *      This symbol, if defined, indicates that <netdb.h> includes
1543  *      prototypes for getnetent(), getnetbyname(), and
1544  *      getnetbyaddr().  Otherwise, it is up to the program to guess
1545  *      them.  See netdbtype.U for probing for various Netdb_xxx_t types.
1546  */
1547 #$d_getnetprotos        HAS_GETNET_PROTOS       /**/
1548
1549 /* HAS_GETPAGESIZE:
1550  *      This symbol, if defined, indicates that the getpagesize system call
1551  *      is available to get system page size, which is the granularity of
1552  *      many memory management calls.
1553  */
1554 #$d_getpagsz HAS_GETPAGESIZE            /**/
1555
1556 /* HAS_GETPROTOENT:
1557  *      This symbol, if defined, indicates that the getprotoent() routine is
1558  *      available to look up protocols in some data base or another.
1559  */
1560 #$d_getpent HAS_GETPROTOENT             /**/
1561
1562 /* HAS_GETPGRP:
1563  *      This symbol, if defined, indicates that the getpgrp routine is
1564  *      available to get the current process group.
1565  */
1566 /* USE_BSD_GETPGRP:
1567  *      This symbol, if defined, indicates that getpgrp needs one
1568  *      arguments whereas USG one needs none.
1569  */
1570 #$d_getpgrp HAS_GETPGRP         /**/
1571 #$d_bsdgetpgrp USE_BSD_GETPGRP  /**/
1572
1573 /* HAS_GETPROTOBYNAME:
1574  *      This symbol, if defined, indicates that the getprotobyname()
1575  *      routine is available to look up protocols by their name.
1576  */
1577 /* HAS_GETPROTOBYNUMBER:
1578  *      This symbol, if defined, indicates that the getprotobynumber()
1579  *      routine is available to look up protocols by their number.
1580  */
1581 #$d_getpbyname HAS_GETPROTOBYNAME               /**/
1582 #$d_getpbynumber HAS_GETPROTOBYNUMBER           /**/
1583
1584 /* HAS_GETPROTO_PROTOS:
1585  *      This symbol, if defined, indicates that <netdb.h> includes
1586  *      prototypes for getprotoent(), getprotobyname(), and
1587  *      getprotobyaddr().  Otherwise, it is up to the program to guess
1588  *      them.  See netdbtype.U for probing for various Netdb_xxx_t types.
1589  */
1590 #$d_getprotoprotos      HAS_GETPROTO_PROTOS     /**/
1591
1592 /* HAS_GETPRPWNAM:
1593  *      This symbol, if defined, indicates that the getprpwnam system call is
1594  *      available to retrieve protected (shadow) password entries by name.
1595  */
1596 #$d_getprpwnam HAS_GETPRPWNAM           /**/
1597
1598 /* HAS_GETPWENT:
1599  *      This symbol, if defined, indicates that the getpwent routine is
1600  *      available for sequential access of the passwd database.
1601  *      If this is not available, the older getpw() function may be available.
1602  */
1603 #$d_getpwent HAS_GETPWENT               /**/
1604
1605 /* HAS_GETSERVENT:
1606  *      This symbol, if defined, indicates that the getservent() routine is
1607  *      available to look up network services in some data base or another.
1608  */
1609 #$d_getsent HAS_GETSERVENT              /**/
1610
1611 /* HAS_GETSERV_PROTOS:
1612  *      This symbol, if defined, indicates that <netdb.h> includes
1613  *      prototypes for getservent(), getservbyname(), and
1614  *      getservbyaddr().  Otherwise, it is up to the program to guess
1615  *      them.  See netdbtype.U for probing for various Netdb_xxx_t types.
1616  */
1617 #$d_getservprotos       HAS_GETSERV_PROTOS      /**/
1618
1619 /* HAS_GETSPNAM:
1620  *      This symbol, if defined, indicates that the getspnam system call is
1621  *      available to retrieve SysV shadow password entries by name.
1622  */
1623 #$d_getspnam HAS_GETSPNAM               /**/
1624
1625 /* HAS_GETSERVBYNAME:
1626  *      This symbol, if defined, indicates that the getservbyname()
1627  *      routine is available to look up services by their name.
1628  */
1629 /* HAS_GETSERVBYPORT:
1630  *      This symbol, if defined, indicates that the getservbyport()
1631  *      routine is available to look up services by their port.
1632  */
1633 #$d_getsbyname HAS_GETSERVBYNAME                /**/
1634 #$d_getsbyport HAS_GETSERVBYPORT                /**/
1635
1636 /* HAS_GNULIBC:
1637  *      This symbol, if defined, indicates to the C program that 
1638  *      the GNU C library is being used.
1639  */
1640 #$d_gnulibc HAS_GNULIBC         /**/
1641 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1642 #   define _GNU_SOURCE
1643 #endif
1644 /* HAS_HASMNTOPT:
1645  *      This symbol, if defined, indicates that the hasmntopt routine is
1646  *      available to query the mount options of file systems.
1647  */
1648 #$d_hasmntopt HAS_HASMNTOPT             /**/
1649
1650 /* HAS_HTONL:
1651  *      This symbol, if defined, indicates that the htonl() routine (and
1652  *      friends htons() ntohl() ntohs()) are available to do network
1653  *      order byte swapping.
1654  */
1655 /* HAS_HTONS:
1656  *      This symbol, if defined, indicates that the htons() routine (and
1657  *      friends htonl() ntohl() ntohs()) are available to do network
1658  *      order byte swapping.
1659  */
1660 /* HAS_NTOHL:
1661  *      This symbol, if defined, indicates that the ntohl() routine (and
1662  *      friends htonl() htons() ntohs()) are available to do network
1663  *      order byte swapping.
1664  */
1665 /* HAS_NTOHS:
1666  *      This symbol, if defined, indicates that the ntohs() routine (and
1667  *      friends htonl() htons() ntohl()) are available to do network
1668  *      order byte swapping.
1669  */
1670 #$d_htonl HAS_HTONL             /**/
1671 #$d_htonl HAS_HTONS             /**/
1672 #$d_htonl HAS_NTOHL             /**/
1673 #$d_htonl HAS_NTOHS             /**/
1674
1675 /* HAS_ICONV:
1676  *      This symbol, if defined, indicates that the iconv routine is
1677  *      available to do character set conversions.
1678  */
1679 #$d_iconv HAS_ICONV             /**/
1680
1681 /* HAS_INT64_T:
1682  *     This symbol will defined if the C compiler supports int64_t.
1683  *     Usually the <inttypes.h> needs to be included, but sometimes
1684  *      <sys/types.h> is enough.
1685  */
1686 #$d_int64_t     HAS_INT64_T               /**/
1687
1688 /* HAS_ISASCII:
1689  *      This manifest constant lets the C program know that isascii 
1690  *      is available.
1691  */
1692 #$d_isascii HAS_ISASCII         /**/
1693
1694 /* HAS_ISNAN:
1695  *      This symbol, if defined, indicates that the isnan routine is
1696  *      available to check whether a double is a NaN.
1697  */
1698 #$d_isnan HAS_ISNAN             /**/
1699
1700 /* HAS_ISNANL:
1701  *      This symbol, if defined, indicates that the isnanl routine is
1702  *      available to check whether a long double is a NaN.
1703  */
1704 #$d_isnanl HAS_ISNANL           /**/
1705
1706 /* HAS_LCHOWN:
1707  *      This symbol, if defined, indicates that the lchown routine is
1708  *      available to operate on a symbolic link (instead of following the
1709  *      link).
1710  */
1711 #$d_lchown HAS_LCHOWN           /**/
1712
1713 /* HAS_LDBL_DIG:
1714  *      This symbol, if defined, indicates that this system's <float.h>
1715  *      or <limits.h> defines the symbol LDBL_DIG, which is the number
1716  *      of significant digits in a long double precision number. Unlike
1717  *      for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1718  */
1719 #$d_ldbl_dig HAS_LDBL_DIG       /* */
1720
1721 /* HAS_LONG_DOUBLE:
1722  *      This symbol will be defined if the C compiler supports long
1723  *      doubles.
1724  */
1725 /* LONG_DOUBLESIZE:
1726  *      This symbol contains the size of a long double, so that the 
1727  *      C preprocessor can make decisions based on it.  It is only
1728  *      defined if the system supports long doubles.
1729  */
1730 #$d_longdbl HAS_LONG_DOUBLE             /**/
1731 #ifdef HAS_LONG_DOUBLE
1732 #define LONG_DOUBLESIZE $longdblsize            /**/
1733 #endif
1734
1735 /* HAS_LONG_LONG:
1736  *      This symbol will be defined if the C compiler supports long long.
1737  */
1738 /* LONGLONGSIZE:
1739  *      This symbol contains the size of a long long, so that the 
1740  *      C preprocessor can make decisions based on it.  It is only
1741  *      defined if the system supports long long.
1742  */
1743 #$d_longlong HAS_LONG_LONG              /**/
1744 #ifdef HAS_LONG_LONG
1745 #define LONGLONGSIZE $longlongsize              /**/
1746 #endif
1747
1748 /* HAS_LSEEK_PROTO:
1749  *      This symbol, if defined, indicates that the system provides
1750  *      a prototype for the lseek() function.  Otherwise, it is up
1751  *      to the program to supply one.  A good guess is
1752  *              extern off_t lseek(int, off_t, int);
1753  */
1754 #$d_lseekproto  HAS_LSEEK_PROTO /**/
1755
1756 /* HAS_MADVISE:
1757  *      This symbol, if defined, indicates that the madvise system call is
1758  *      available to map a file into memory.
1759  */
1760 #$d_madvise HAS_MADVISE         /**/
1761
1762 /* HAS_MEMCHR:
1763  *      This symbol, if defined, indicates that the memchr routine is available
1764  *      to locate characters within a C string.
1765  */
1766 #$d_memchr HAS_MEMCHR   /**/
1767
1768 /* HAS_MKDTEMP:
1769  *      This symbol, if defined, indicates that the mkdtemp routine is
1770  *      available to exclusively create a uniquely named temporary directory.
1771  */
1772 #$d_mkdtemp HAS_MKDTEMP         /**/
1773
1774 /* HAS_MKSTEMP:
1775  *      This symbol, if defined, indicates that the mkstemp routine is
1776  *      available to exclusively create and open a uniquely named
1777  *      temporary file.
1778  */
1779 #$d_mkstemp HAS_MKSTEMP         /**/
1780
1781 /* HAS_MKSTEMPS:
1782  *      This symbol, if defined, indicates that the mkstemps routine is
1783  *      available to excluslvely create and open a uniquely named
1784  *      (with a suffix) temporary file.
1785  */
1786 #$d_mkstemps HAS_MKSTEMPS               /**/
1787
1788 /* HAS_MMAP:
1789  *      This symbol, if defined, indicates that the mmap system call is
1790  *      available to map a file into memory.
1791  */
1792 /* Mmap_t:
1793  *      This symbol holds the return type of the mmap() system call
1794  *      (and simultaneously the type of the first argument).
1795  *      Usually set to 'void *' or 'cadd_t'.
1796  */
1797 #$d_mmap HAS_MMAP               /**/
1798 #define Mmap_t $mmaptype        /**/
1799
1800 /* HAS_MODFL:
1801  *      This symbol, if defined, indicates that the modfl routine is
1802  *      available to split a long double x into a fractional part f and
1803  *      an integer part i such that |f| < 1.0 and (f + i) = x.
1804  */
1805 #$d_modfl HAS_MODFL             /**/
1806
1807 /* HAS_MPROTECT:
1808  *      This symbol, if defined, indicates that the mprotect system call is
1809  *      available to modify the access protection of a memory mapped file.
1810  */
1811 #$d_mprotect HAS_MPROTECT               /**/
1812
1813 /* HAS_MSG:
1814  *      This symbol, if defined, indicates that the entire msg*(2) library is
1815  *      supported (IPC mechanism based on message queues).
1816  */
1817 #$d_msg HAS_MSG         /**/
1818
1819 /* HAS_STRUCT_MSGHDR:
1820  *      This symbol, if defined, indicates that the struct msghdr
1821  *      is supported.
1822  */
1823 #$d_msghdr_s HAS_STRUCT_MSGHDR  /**/
1824
1825 /* HAS_OFF64_T:
1826  *      This symbol will be defined if the C compiler supports off64_t.
1827  */
1828 #$d_off64_t     HAS_OFF64_T             /**/
1829
1830 /* HAS_OPEN3:
1831  *      This manifest constant lets the C program know that the three
1832  *      argument form of open(2) is available.
1833  */
1834 #$d_open3 HAS_OPEN3             /**/
1835
1836 /* OLD_PTHREAD_CREATE_JOINABLE:
1837  *      This symbol, if defined, indicates how to create pthread
1838  *      in joinable (aka undetached) state.  NOTE: not defined
1839  *      if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1840  *      (the new version of the constant).
1841  *      If defined, known values are PTHREAD_CREATE_UNDETACHED
1842  *      and __UNDETACHED.
1843  */
1844 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
1845
1846 /* HAS_PTHREAD_YIELD:
1847  *      This symbol, if defined, indicates that the pthread_yield 
1848  *      routine is available to yield the execution of the current
1849  *      thread.  sched_yield is preferable to pthread_yield.
1850  */
1851 /* SCHED_YIELD:
1852  *      This symbol defines the way to yield the execution of
1853  *      the current thread.  Known ways are sched_yield,
1854  *      pthread_yield, and pthread_yield with NULL.
1855  */
1856 /* HAS_SCHED_YIELD:
1857  *      This symbol, if defined, indicates that the sched_yield
1858  *      routine is available to yield the execution of the current
1859  *      thread.  sched_yield is preferable to pthread_yield.
1860  */
1861 #$d_pthread_yield HAS_PTHREAD_YIELD     /**/
1862 #define SCHED_YIELD     $sched_yield    /**/
1863 #$d_sched_yield HAS_SCHED_YIELD /**/
1864
1865 /* HAS_READV:
1866  *      This symbol, if defined, indicates that the readv routine is
1867  *      available to do gather reads.  You will also need <sys/uio.h>
1868  *      and there I_SYSUIO.
1869  */
1870 #$d_readv HAS_READV             /**/
1871
1872 /* HAS_RECVMSG:
1873  *      This symbol, if defined, indicates that the recvmsg routine is
1874  *      available to send structured socket messages.
1875  */
1876 #$d_recvmsg HAS_RECVMSG         /**/
1877
1878 /* HAS_SAFE_BCOPY:
1879  *      This symbol, if defined, indicates that the bcopy routine is available
1880  *      to copy potentially overlapping memory blocks. Otherwise you should
1881  *      probably use memmove() or memcpy(). If neither is defined, roll your
1882  *      own version.
1883  */
1884 #$d_safebcpy HAS_SAFE_BCOPY     /**/
1885
1886 /* HAS_SAFE_MEMCPY:
1887  *      This symbol, if defined, indicates that the memcpy routine is available
1888  *      to copy potentially overlapping memory blocks. Otherwise you should
1889  *      probably use memmove() or memcpy(). If neither is defined, roll your
1890  *      own version.
1891  */
1892 #$d_safemcpy HAS_SAFE_MEMCPY    /**/
1893
1894 /* HAS_SANE_MEMCMP:
1895  *      This symbol, if defined, indicates that the memcmp routine is available
1896  *      and can be used to compare relative magnitudes of chars with their high
1897  *      bits set.  If it is not defined, roll your own version.
1898  */
1899 #$d_sanemcmp HAS_SANE_MEMCMP    /**/
1900
1901 /* HAS_SBRK_PROTO:
1902  *      This symbol, if defined, indicates that the system provides
1903  *      a prototype for the sbrk() function.  Otherwise, it is up
1904  *      to the program to supply one.  Good guesses are
1905  *              extern void* sbrk _((int));
1906  *              extern void* sbrk _((size_t));
1907  */
1908 #$d_sbrkproto   HAS_SBRK_PROTO  /**/
1909
1910 /* HAS_SEM:
1911  *      This symbol, if defined, indicates that the entire sem*(2) library is
1912  *      supported.
1913  */
1914 #$d_sem HAS_SEM         /**/
1915
1916 /* HAS_SENDMSG:
1917  *      This symbol, if defined, indicates that the sendmsg routine is
1918  *      available to send structured socket messages.
1919  */
1920 #$d_sendmsg HAS_SENDMSG         /**/
1921
1922 /* HAS_SETGRENT:
1923  *      This symbol, if defined, indicates that the setgrent routine is
1924  *      available for initializing sequential access of the group database.
1925  */
1926 #$d_setgrent HAS_SETGRENT               /**/
1927
1928 /* HAS_SETGROUPS:
1929  *      This symbol, if defined, indicates that the setgroups() routine is
1930  *      available to set the list of process groups.  If unavailable, multiple
1931  *      groups are probably not supported.
1932  */
1933 #$d_setgrps HAS_SETGROUPS               /**/
1934
1935 /* HAS_SETHOSTENT:
1936  *      This symbol, if defined, indicates that the sethostent() routine is
1937  *      available.
1938  */
1939 #$d_sethent HAS_SETHOSTENT              /**/
1940
1941 /* HAS_SETITIMER:
1942  *      This symbol, if defined, indicates that the setitimer routine is
1943  *      available to set interval timers.
1944  */
1945 #$d_setitimer HAS_SETITIMER             /**/
1946
1947 /* HAS_SETNETENT:
1948  *      This symbol, if defined, indicates that the setnetent() routine is
1949  *      available.
1950  */
1951 #$d_setnent HAS_SETNETENT               /**/
1952
1953 /* HAS_SETPROTOENT:
1954  *      This symbol, if defined, indicates that the setprotoent() routine is
1955  *      available.
1956  */
1957 #$d_setpent HAS_SETPROTOENT             /**/
1958
1959 /* HAS_SETPGRP:
1960  *      This symbol, if defined, indicates that the setpgrp routine is
1961  *      available to set the current process group.
1962  */
1963 /* USE_BSD_SETPGRP:
1964  *      This symbol, if defined, indicates that setpgrp needs two
1965  *      arguments whereas USG one needs none.  See also HAS_SETPGID
1966  *      for a POSIX interface.
1967  */
1968 #$d_setpgrp HAS_SETPGRP         /**/
1969 #$d_bsdsetpgrp USE_BSD_SETPGRP  /**/
1970
1971 /* HAS_SETPROCTITLE:
1972  *      This symbol, if defined, indicates that the setproctitle routine is
1973  *      available to set process title.
1974  */
1975 #$d_setproctitle HAS_SETPROCTITLE               /**/
1976
1977 /* HAS_SETPWENT:
1978  *      This symbol, if defined, indicates that the setpwent routine is
1979  *      available for initializing sequential access of the passwd database.
1980  */
1981 #$d_setpwent HAS_SETPWENT               /**/
1982
1983 /* HAS_SETSERVENT:
1984  *      This symbol, if defined, indicates that the setservent() routine is
1985  *      available.
1986  */
1987 #$d_setsent HAS_SETSERVENT              /**/
1988
1989 /* HAS_SETVBUF:
1990  *      This symbol, if defined, indicates that the setvbuf routine is
1991  *      available to change buffering on an open stdio stream.
1992  *      to a line-buffered mode.
1993  */
1994 #$d_setvbuf HAS_SETVBUF         /**/
1995
1996 /* USE_SFIO:
1997  *      This symbol, if defined, indicates that sfio should
1998  *      be used.
1999  */
2000 #$d_sfio        USE_SFIO                /**/
2001
2002 /* HAS_SHM:
2003  *      This symbol, if defined, indicates that the entire shm*(2) library is
2004  *      supported.
2005  */
2006 #$d_shm HAS_SHM         /**/
2007
2008 /* HAS_SIGACTION:
2009  *      This symbol, if defined, indicates that Vr4's sigaction() routine
2010  *      is available.
2011  */
2012 #$d_sigaction HAS_SIGACTION     /**/
2013
2014 /* HAS_SIGSETJMP:
2015  *      This variable indicates to the C program that the sigsetjmp()
2016  *      routine is available to save the calling process's registers
2017  *      and stack environment for later use by siglongjmp(), and
2018  *      to optionally save the process's signal mask.  See
2019  *      Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2020  */
2021 /* Sigjmp_buf:
2022  *      This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2023  */
2024 /* Sigsetjmp:
2025  *      This macro is used in the same way as sigsetjmp(), but will invoke
2026  *      traditional setjmp() if sigsetjmp isn't available.
2027  *      See HAS_SIGSETJMP.
2028  */
2029 /* Siglongjmp:
2030  *      This macro is used in the same way as siglongjmp(), but will invoke
2031  *      traditional longjmp() if siglongjmp isn't available.
2032  *      See HAS_SIGSETJMP.
2033  */
2034 #$d_sigsetjmp HAS_SIGSETJMP     /**/
2035 #ifdef HAS_SIGSETJMP
2036 #define Sigjmp_buf sigjmp_buf
2037 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2038 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2039 #else
2040 #define Sigjmp_buf jmp_buf
2041 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2042 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2043 #endif
2044
2045 /* HAS_SOCKET:
2046  *      This symbol, if defined, indicates that the BSD socket interface is
2047  *      supported.
2048  */
2049 /* HAS_SOCKETPAIR:
2050  *      This symbol, if defined, indicates that the BSD socketpair() call is
2051  *      supported.
2052  */
2053 /* HAS_MSG_CTRUNC:
2054  *      This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2055  *      Checking just with #ifdef might not be enough because this symbol
2056  *      has been known to be an enum.
2057  */
2058 /* HAS_MSG_DONTROUTE:
2059  *      This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2060  *      Checking just with #ifdef might not be enough because this symbol
2061  *      has been known to be an enum.
2062  */
2063 /* HAS_MSG_OOB:
2064  *      This symbol, if defined, indicates that the MSG_OOB is supported.
2065  *      Checking just with #ifdef might not be enough because this symbol
2066  *      has been known to be an enum.
2067  */
2068 /* HAS_MSG_PEEK:
2069  *      This symbol, if defined, indicates that the MSG_PEEK is supported.
2070  *      Checking just with #ifdef might not be enough because this symbol
2071  *      has been known to be an enum.
2072  */
2073 /* HAS_MSG_PROXY:
2074  *      This symbol, if defined, indicates that the MSG_PROXY is supported.
2075  *      Checking just with #ifdef might not be enough because this symbol
2076  *      has been known to be an enum.
2077  */
2078 /* HAS_SCM_RIGHTS:
2079  *      This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2080  *      Checking just with #ifdef might not be enough because this symbol
2081  *      has been known to be an enum.
2082  */
2083 #$d_socket      HAS_SOCKET              /**/
2084 #$d_sockpair    HAS_SOCKETPAIR  /**/
2085 #$d_msg_ctrunc  HAS_MSG_CTRUNC  /**/
2086 #$d_msg_dontroute       HAS_MSG_DONTROUTE       /**/
2087 #$d_msg_oob     HAS_MSG_OOB     /**/
2088 #$d_msg_peek    HAS_MSG_PEEK    /**/
2089 #$d_msg_proxy   HAS_MSG_PROXY   /**/
2090 #$d_scm_rights  HAS_SCM_RIGHTS  /**/
2091
2092 /* HAS_SOCKS5_INIT:
2093  *      This symbol, if defined, indicates that the socks5_init routine is
2094  *      available to initialize SOCKS 5.
2095  */
2096 #$d_socks5_init HAS_SOCKS5_INIT         /**/
2097
2098 /* HAS_SQRTL:
2099  *      This symbol, if defined, indicates that the sqrtl routine is
2100  *      available to do long double square roots.
2101  */
2102 #$d_sqrtl HAS_SQRTL             /**/
2103
2104 /* USE_STAT_BLOCKS:
2105  *      This symbol is defined if this system has a stat structure declaring
2106  *      st_blksize and st_blocks.
2107  */
2108 #ifndef USE_STAT_BLOCKS
2109 #$d_statblks USE_STAT_BLOCKS    /**/
2110 #endif
2111
2112 /* HAS_STRUCT_STATFS_F_FLAGS:
2113  *      This symbol, if defined, indicates that the struct statfs
2114  *      does have the f_flags member containing the mount flags of
2115  *      the filesystem containing the file.
2116  *      This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2117  *      not from <sys/statfs.h> (SYSV).  Older BSDs (like Ultrix) do not
2118  *      have statfs() and struct statfs, they have ustat() and getmnt()
2119  *      with struct ustat and struct fs_data.
2120  */
2121 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS            /**/
2122
2123 /* HAS_STRUCT_STATFS:
2124  *      This symbol, if defined, indicates that the struct statfs
2125  *      to do statfs() is supported.
2126  */
2127 #$d_statfs_s HAS_STRUCT_STATFS  /**/
2128
2129 /* HAS_FSTATVFS:
2130  *      This symbol, if defined, indicates that the fstatvfs routine is
2131  *      available to stat filesystems by file descriptors.
2132  */
2133 #$d_fstatvfs HAS_FSTATVFS               /**/
2134
2135 /* USE_STDIO_PTR:
2136  *      This symbol is defined if the _ptr and _cnt fields (or similar)
2137  *      of the stdio FILE structure can be used to access the stdio buffer
2138  *      for a file handle.  If this is defined, then the FILE_ptr(fp)
2139  *      and FILE_cnt(fp) macros will also be defined and should be used
2140  *      to access these fields.
2141  */
2142 /* FILE_ptr:
2143  *      This macro is used to access the _ptr field (or equivalent) of the
2144  *      FILE structure pointed to by its argument. This macro will always be
2145  *      defined if USE_STDIO_PTR is defined.
2146  */
2147 /* STDIO_PTR_LVALUE:
2148  *      This symbol is defined if the FILE_ptr macro can be used as an
2149  *      lvalue.
2150  */
2151 /* FILE_cnt:
2152  *      This macro is used to access the _cnt field (or equivalent) of the
2153  *      FILE structure pointed to by its argument. This macro will always be
2154  *      defined if USE_STDIO_PTR is defined.
2155  */
2156 /* STDIO_CNT_LVALUE:
2157  *      This symbol is defined if the FILE_cnt macro can be used as an
2158  *      lvalue.
2159  */
2160 /* STDIO_PTR_LVAL_SETS_CNT:
2161  *      This symbol is defined if using the FILE_ptr macro as an lvalue
2162  *      to increase the pointer by n has the side effect of decreasing the
2163  *      value of File_cnt(fp) by n.
2164  */
2165 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2166  *      This symbol is defined if using the FILE_ptr macro as an lvalue
2167  *      to increase the pointer by n leaves File_cnt(fp) unchanged.
2168  */
2169 #$d_stdstdio USE_STDIO_PTR      /**/
2170 #ifdef USE_STDIO_PTR
2171 #define FILE_ptr(fp)    $stdio_ptr
2172 #$d_stdio_ptr_lval STDIO_PTR_LVALUE             /**/
2173 #define FILE_cnt(fp)    $stdio_cnt
2174 #$d_stdio_cnt_lval STDIO_CNT_LVALUE             /**/
2175 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT     /**/
2176 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT     /**/
2177 #endif
2178
2179 /* USE_STDIO_BASE:
2180  *      This symbol is defined if the _base field (or similar) of the
2181  *      stdio FILE structure can be used to access the stdio buffer for
2182  *      a file handle.  If this is defined, then the FILE_base(fp) macro
2183  *      will also be defined and should be used to access this field.
2184  *      Also, the FILE_bufsiz(fp) macro will be defined and should be used
2185  *      to determine the number of bytes in the buffer.  USE_STDIO_BASE
2186  *      will never be defined unless USE_STDIO_PTR is.
2187  */
2188 /* FILE_base:
2189  *      This macro is used to access the _base field (or equivalent) of the
2190  *      FILE structure pointed to by its argument. This macro will always be
2191  *      defined if USE_STDIO_BASE is defined.
2192  */
2193 /* FILE_bufsiz:
2194  *      This macro is used to determine the number of bytes in the I/O
2195  *      buffer pointed to by _base field (or equivalent) of the FILE
2196  *      structure pointed to its argument. This macro will always be defined
2197  *      if USE_STDIO_BASE is defined.
2198  */
2199 #$d_stdiobase USE_STDIO_BASE    /**/
2200 #ifdef USE_STDIO_BASE
2201 #define FILE_base(fp)   $stdio_base
2202 #define FILE_bufsiz(fp) $stdio_bufsiz
2203 #endif
2204
2205 /* HAS_STRERROR:
2206  *      This symbol, if defined, indicates that the strerror routine is
2207  *      available to translate error numbers to strings. See the writeup
2208  *      of Strerror() in this file before you try to define your own.
2209  */
2210 /* HAS_SYS_ERRLIST:
2211  *      This symbol, if defined, indicates that the sys_errlist array is
2212  *      available to translate error numbers to strings. The extern int
2213  *      sys_nerr gives the size of that table.
2214  */
2215 /* Strerror:
2216  *      This preprocessor symbol is defined as a macro if strerror() is
2217  *      not available to translate error numbers to strings but sys_errlist[]
2218  *      array is there.
2219  */
2220 #$d_strerror HAS_STRERROR               /**/
2221 #$d_syserrlst HAS_SYS_ERRLIST   /**/
2222 #define Strerror(e) $d_strerrm
2223
2224 /* HAS_STRTOLD:
2225  *      This symbol, if defined, indicates that the strtold routine is
2226  *      available to convert strings to long doubles.
2227  */
2228 #$d_strtold HAS_STRTOLD         /**/
2229
2230 /* HAS_STRTOLL:
2231  *      This symbol, if defined, indicates that the strtoll routine is
2232  *      available to convert strings to long longs.
2233  */
2234 #$d_strtoll HAS_STRTOLL         /**/
2235
2236 /* HAS_STRTOQ:
2237  *      This symbol, if defined, indicates that the strtoq routine is
2238  *      available to convert strings to long longs (quads).
2239  */
2240 #$d_strtoq HAS_STRTOQ           /**/
2241
2242 /* HAS_STRTOUL:
2243  *      This symbol, if defined, indicates that the strtoul routine is
2244  *      available to provide conversion of strings to unsigned long.
2245  */
2246 #$d_strtoul HAS_STRTOUL /**/
2247
2248 /* HAS_STRTOULL:
2249  *      This symbol, if defined, indicates that the strtoull routine is
2250  *      available to convert strings to unsigned long longs.
2251  */
2252 #$d_strtoull HAS_STRTOULL               /**/
2253
2254 /* HAS_STRTOUQ:
2255  *      This symbol, if defined, indicates that the strtouq routine is
2256  *      available to convert strings to unsigned long longs (quads).
2257  */
2258 #$d_strtouq HAS_STRTOUQ         /**/
2259
2260 /* HAS_TELLDIR_PROTO:
2261  *      This symbol, if defined, indicates that the system provides
2262  *      a prototype for the telldir() function.  Otherwise, it is up
2263  *      to the program to supply one.  A good guess is
2264  *              extern long telldir _((DIR*));
2265  */
2266 #$d_telldirproto        HAS_TELLDIR_PROTO       /**/
2267
2268 /* Time_t:
2269  *      This symbol holds the type returned by time(). It can be long,
2270  *      or time_t on BSD sites (in which case <sys/types.h> should be
2271  *      included).
2272  */
2273 #define Time_t $timetype                /* Time type */
2274
2275 /* HAS_TIMES:
2276  *      This symbol, if defined, indicates that the times() routine exists.
2277  *      Note that this became obsolete on some systems (SUNOS), which now
2278  * use getrusage(). It may be necessary to include <sys/times.h>.
2279  */
2280 #$d_times HAS_TIMES             /**/
2281
2282 /* HAS_UALARM:
2283  *      This symbol, if defined, indicates that the ualarm routine is
2284  *      available to do alarms with microsecond granularity.
2285  */
2286 #$d_ualarm HAS_UALARM           /**/
2287
2288 /* HAS_UNION_SEMUN:
2289  *      This symbol, if defined, indicates that the union semun is
2290  *      defined by including <sys/sem.h>.  If not, the user code
2291  *      probably needs to define it as:
2292  *      union semun {
2293  *          int val;
2294  *          struct semid_ds *buf;
2295  *          unsigned short *array;
2296  *      }
2297  */
2298 /* USE_SEMCTL_SEMUN:
2299  *      This symbol, if defined, indicates that union semun is
2300  *      used for semctl IPC_STAT.
2301  */
2302 /* USE_SEMCTL_SEMID_DS:
2303  *      This symbol, if defined, indicates that struct semid_ds * is
2304  *      used for semctl IPC_STAT.
2305  */
2306 #$d_union_semun HAS_UNION_SEMUN /**/
2307 #$d_semctl_semun USE_SEMCTL_SEMUN       /**/
2308 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2309
2310 /* HAS_USTAT:
2311  *      This symbol, if defined, indicates that the ustat system call is
2312  *      available to query file system statistics by dev_t.
2313  */
2314 #$d_ustat HAS_USTAT             /**/
2315
2316 /* HAS_VFORK:
2317  *      This symbol, if defined, indicates that vfork() exists.
2318  */
2319 #$d_vfork HAS_VFORK     /**/
2320
2321 /* Signal_t:
2322  *      This symbol's value is either "void" or "int", corresponding to the
2323  *      appropriate return type of a signal handler.  Thus, you can declare
2324  *      a signal handler using "Signal_t (*handler)()", and define the
2325  *      handler using "Signal_t handler(sig)".
2326  */
2327 #define Signal_t $signal_t      /* Signal handler's return type */
2328
2329 /* HAS_VPRINTF:
2330  *      This symbol, if defined, indicates that the vprintf routine is available
2331  *      to printf with a pointer to an argument list.  If unavailable, you
2332  *      may need to write your own, probably in terms of _doprnt().
2333  */
2334 /* USE_CHAR_VSPRINTF:
2335  *      This symbol is defined if this system has vsprintf() returning type
2336  *      (char*).  The trend seems to be to declare it as "int vsprintf()".  It
2337  *      is up to the package author to declare vsprintf correctly based on the
2338  *      symbol.
2339  */
2340 #$d_vprintf HAS_VPRINTF /**/
2341 #$d_charvspr USE_CHAR_VSPRINTF  /**/
2342
2343 /* HAS_WRITEV:
2344  *      This symbol, if defined, indicates that the writev routine is
2345  *      available to do scatter writes.
2346  */
2347 #$d_writev HAS_WRITEV           /**/
2348
2349 /* USE_DYNAMIC_LOADING:
2350  *      This symbol, if defined, indicates that dynamic loading of
2351  *      some sort is available.
2352  */
2353 #$usedl USE_DYNAMIC_LOADING             /**/
2354
2355 /* DOUBLESIZE:
2356  *      This symbol contains the size of a double, so that the C preprocessor
2357  *      can make decisions based on it.
2358  */
2359 #define DOUBLESIZE $doublesize          /**/
2360
2361 /* EBCDIC:
2362  *     This symbol, if defined, indicates that this system uses
2363  *      EBCDIC encoding.
2364  */
2365 #$ebcdic        EBCDIC          /**/
2366
2367 /* FFLUSH_NULL:
2368  *      This symbol, if defined, tells that fflush(NULL) does flush
2369  *      all pending stdio output.
2370  */
2371 /* FFLUSH_ALL:
2372  *      This symbol, if defined, tells that to flush
2373  *      all pending stdio output one must loop through all
2374  *      the stdio file handles stored in an array and fflush them.
2375  *      Note that if fflushNULL is defined, fflushall will not
2376  *      even be probed for and will be left undefined.
2377  */
2378 #$fflushNULL    FFLUSH_NULL             /**/
2379 #$fflushall     FFLUSH_ALL              /**/
2380
2381 /* Fpos_t:
2382  *      This symbol holds the type used to declare file positions in libc.
2383  *      It can be fpos_t, long, uint, etc... It may be necessary to include
2384  *      <sys/types.h> to get any typedef'ed information.
2385  */
2386 #define Fpos_t $fpostype                /* File position type */
2387
2388 /* Gid_t_f:
2389  *      This symbol defines the format string used for printing a Gid_t.
2390  */
2391 #define Gid_t_f         $gidformat              /**/
2392
2393 /* Gid_t_sign:
2394  *      This symbol holds the signedess of a Gid_t.
2395  *      1 for unsigned, -1 for signed.
2396  */
2397 #define Gid_t_sign      $gidsign                /* GID sign */
2398
2399 /* Gid_t_size:
2400  *      This symbol holds the size of a Gid_t in bytes.
2401  */
2402 #define Gid_t_size $gidsize             /* GID size */
2403
2404 /* Gid_t:
2405  *      This symbol holds the return type of getgid() and the type of
2406  *      argument to setrgid() and related functions.  Typically,
2407  *      it is the type of group ids in the kernel. It can be int, ushort,
2408  *      gid_t, etc... It may be necessary to include <sys/types.h> to get
2409  *      any typedef'ed information.
2410  */
2411 #define Gid_t $gidtype          /* Type for getgid(), etc... */
2412
2413 /* Groups_t:
2414  *      This symbol holds the type used for the second argument to
2415  *      getgroups() and setgroups().  Usually, this is the same as
2416  *      gidtype (gid_t) , but sometimes it isn't.
2417  *      It can be int, ushort, gid_t, etc... 
2418  *      It may be necessary to include <sys/types.h> to get any 
2419  *      typedef'ed information.  This is only required if you have
2420  *      getgroups() or setgroups()..
2421  */
2422 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2423 #define Groups_t $groupstype    /* Type for 2nd arg to [sg]etgroups() */
2424 #endif
2425
2426 /* DB_Prefix_t:
2427  *      This symbol contains the type of the prefix structure element
2428  *      in the <db.h> header file.  In older versions of DB, it was
2429  *      int, while in newer ones it is u_int32_t.
2430  */
2431 /* DB_Hash_t:
2432  *      This symbol contains the type of the prefix structure element
2433  *      in the <db.h> header file.  In older versions of DB, it was
2434  *      int, while in newer ones it is size_t.
2435  */
2436 #define DB_Hash_t       $db_hashtype            /**/
2437 #define DB_Prefix_t     $db_prefixtype          /**/
2438
2439 /* I_GRP:
2440  *      This symbol, if defined, indicates to the C program that it should
2441  *      include <grp.h>.
2442  */
2443 /* GRPASSWD:
2444  *      This symbol, if defined, indicates to the C program that struct group
2445  *      in <grp.h> contains gr_passwd.
2446  */
2447 #$i_grp I_GRP           /**/
2448 #$d_grpasswd GRPASSWD   /**/
2449
2450 /* I_ICONV:
2451  *      This symbol, if defined, indicates that <iconv.h> exists and
2452  *      should be included.
2453  */
2454 #$i_iconv       I_ICONV         /**/
2455
2456 /* I_IEEEFP:
2457  *      This symbol, if defined, indicates that <ieeefp.h> exists and
2458  *      should be included.
2459  */
2460 #$i_ieeefp      I_IEEEFP                /**/
2461
2462 /* I_INTTYPES:
2463  *     This symbol, if defined, indicates to the C program that it should
2464  *     include <inttypes.h>.
2465  */
2466 #$i_inttypes   I_INTTYPES                /**/
2467
2468 /* I_LIBUTIL:
2469  *      This symbol, if defined, indicates that <libutil.h> exists and
2470  *      should be included.
2471  */
2472 #$i_libutil     I_LIBUTIL               /**/
2473
2474 /* I_MACH_CTHREADS:
2475  *     This symbol, if defined, indicates to the C program that it should
2476  *     include <mach/cthreads.h>.
2477  */
2478 #$i_machcthr   I_MACH_CTHREADS  /**/
2479
2480 /* I_MNTENT:
2481  *      This symbol, if defined, indicates that <mntent.h> exists and
2482  *      should be included.
2483  */
2484 #$i_mntent      I_MNTENT                /**/
2485
2486 /* I_NETDB:
2487  *      This symbol, if defined, indicates that <netdb.h> exists and
2488  *      should be included.
2489  */
2490 #$i_netdb I_NETDB               /**/
2491
2492 /* I_NETINET_TCP:
2493  *     This symbol, if defined, indicates to the C program that it should
2494  *     include <netinet/tcp.h>.
2495  */
2496 #$i_netinettcp   I_NETINET_TCP                /**/
2497
2498 /* I_POLL:
2499  *      This symbol, if defined, indicates that <poll.h> exists and
2500  *      should be included.
2501  */
2502 #$i_poll        I_POLL          /**/
2503
2504 /* I_PROT:
2505  *      This symbol, if defined, indicates that <prot.h> exists and
2506  *      should be included.
2507  */
2508 #$i_prot        I_PROT          /**/
2509
2510 /* I_PTHREAD:
2511  *     This symbol, if defined, indicates to the C program that it should
2512  *     include <pthread.h>.
2513  */
2514 #$i_pthread   I_PTHREAD /**/
2515
2516 /* I_PWD:
2517  *      This symbol, if defined, indicates to the C program that it should
2518  *      include <pwd.h>.
2519  */
2520 /* PWQUOTA:
2521  *      This symbol, if defined, indicates to the C program that struct passwd
2522  *      contains pw_quota.
2523  */
2524 /* PWAGE:
2525  *      This symbol, if defined, indicates to the C program that struct passwd
2526  *      contains pw_age.
2527  */
2528 /* PWCHANGE:
2529  *      This symbol, if defined, indicates to the C program that struct passwd
2530  *      contains pw_change.
2531  */
2532 /* PWCLASS:
2533  *      This symbol, if defined, indicates to the C program that struct passwd
2534  *      contains pw_class.
2535  */
2536 /* PWEXPIRE:
2537  *      This symbol, if defined, indicates to the C program that struct passwd
2538  *      contains pw_expire.
2539  */
2540 /* PWCOMMENT:
2541  *      This symbol, if defined, indicates to the C program that struct passwd
2542  *      contains pw_comment.
2543  */
2544 /* PWGECOS:
2545  *      This symbol, if defined, indicates to the C program that struct passwd
2546  *      contains pw_gecos.
2547  */
2548 /* PWPASSWD:
2549  *      This symbol, if defined, indicates to the C program that struct passwd
2550  *      contains pw_passwd.
2551  */
2552 #$i_pwd I_PWD           /**/
2553 #$d_pwquota PWQUOTA     /**/
2554 #$d_pwage PWAGE /**/
2555 #$d_pwchange PWCHANGE   /**/
2556 #$d_pwclass PWCLASS     /**/
2557 #$d_pwexpire PWEXPIRE   /**/
2558 #$d_pwcomment PWCOMMENT /**/
2559 #$d_pwgecos PWGECOS     /**/
2560 #$d_pwpasswd PWPASSWD   /**/
2561
2562 /* I_SHADOW:
2563  *      This symbol, if defined, indicates that <shadow.h> exists and
2564  *      should be included.
2565  */
2566 #$i_shadow      I_SHADOW                /**/
2567
2568 /* I_SOCKS:
2569  *      This symbol, if defined, indicates that <socks.h> exists and
2570  *      should be included.
2571  */
2572 #$i_socks       I_SOCKS         /**/
2573
2574 /* I_SUNMATH:
2575  *      This symbol, if defined, indicates that <sunmath.h> exists and
2576  *      should be included.
2577  */
2578 #$i_sunmath     I_SUNMATH               /**/
2579
2580 /* I_SYSLOG:
2581  *      This symbol, if defined, indicates that <syslog.h> exists and
2582  *      should be included.
2583  */
2584 #$i_syslog      I_SYSLOG                /**/
2585
2586 /* I_SYSMODE:
2587  *      This symbol, if defined, indicates that <sys/mode.h> exists and
2588  *      should be included.
2589  */
2590 #$i_sysmode     I_SYSMODE               /**/
2591
2592 /* I_SYS_MOUNT:
2593  *      This symbol, if defined, indicates that <sys/mount.h> exists and
2594  *      should be included.
2595  */
2596 #$i_sysmount    I_SYS_MOUNT             /**/
2597
2598 /* I_SYS_STATFS:
2599  *      This symbol, if defined, indicates that <sys/statfs.h> exists.
2600  */
2601 #$i_sysstatfs   I_SYS_STATFS            /**/
2602
2603 /* I_SYS_STATVFS:
2604  *      This symbol, if defined, indicates that <sys/statvfs.h> exists and
2605  *      should be included.
2606  */
2607 #$i_sysstatvfs  I_SYS_STATVFS           /**/
2608
2609 /* I_SYSUIO:
2610  *      This symbol, if defined, indicates that <sys/uio.h> exists and
2611  *      should be included.
2612  */
2613 #$i_sysuio      I_SYSUIO                /**/
2614
2615 /* I_SYSUTSNAME:
2616  *      This symbol, if defined, indicates that <sys/utsname.h> exists and
2617  *      should be included.
2618  */
2619 #$i_sysutsname  I_SYSUTSNAME            /**/
2620
2621 /* I_SYS_VFS:
2622  *      This symbol, if defined, indicates that <sys/vfs.h> exists and
2623  *      should be included.
2624  */
2625 #$i_sysvfs      I_SYS_VFS               /**/
2626
2627 /* I_TIME:
2628  *      This symbol, if defined, indicates to the C program that it should
2629  *      include <time.h>.
2630  */
2631 /* I_SYS_TIME:
2632  *      This symbol, if defined, indicates to the C program that it should
2633  *      include <sys/time.h>.
2634  */
2635 /* I_SYS_TIME_KERNEL:
2636  *      This symbol, if defined, indicates to the C program that it should
2637  *      include <sys/time.h> with KERNEL defined.
2638  */
2639 #$i_time I_TIME         /**/
2640 #$i_systime I_SYS_TIME          /**/
2641 #$i_systimek I_SYS_TIME_KERNEL          /**/
2642
2643 /* I_USTAT:
2644  *      This symbol, if defined, indicates that <ustat.h> exists and
2645  *      should be included.
2646  */
2647 #$i_ustat       I_USTAT         /**/
2648
2649 /* PERL_INC_VERSION_LIST:
2650  *      This variable specifies the list of subdirectories in over
2651  *      which perl.c:incpush() and lib/lib.pm will automatically
2652  *      search when adding directories to @INC, in a format suitable
2653  *      for a C initialization string.  See the inc_version_list entry
2654  *      in Porting/Glossary for more details.
2655  */
2656 #define PERL_INC_VERSION_LIST $inc_version_list_init            /**/
2657
2658 /* INSTALL_USR_BIN_PERL:
2659  *      This symbol, if defined, indicates that Perl is to be installed
2660  *      also as /usr/bin/perl.
2661  */
2662 #$installusrbinperl INSTALL_USR_BIN_PERL        /**/
2663
2664 /* PERL_PRIfldbl:
2665  *      This symbol, if defined, contains the string used by stdio to
2666  *      format long doubles (format 'f') for output.
2667  */
2668 /* PERL_PRIgldbl:
2669  *      This symbol, if defined, contains the string used by stdio to
2670  *      format long doubles (format 'g') for output.
2671  */
2672 /* PERL_PRIeldbl:
2673  *      This symbol, if defined, contains the string used by stdio to
2674  *      format long doubles (format 'e') for output.
2675  */
2676 /* PERL_SCNfldbl:
2677  *      This symbol, if defined, contains the string used by stdio to
2678  *      format long doubles (format 'f') for input.
2679  */
2680 #$d_PRIfldbl PERL_PRIfldbl      $sPRIfldbl      /**/
2681 #$d_PRIgldbl PERL_PRIgldbl      $sPRIgldbl      /**/
2682 #$d_PRIeldbl PERL_PRIeldbl      $sPRIeldbl      /**/
2683 #$d_SCNfldbl PERL_SCNfldbl      $sSCNfldbl      /**/
2684
2685 /* Off_t:
2686  *      This symbol holds the type used to declare offsets in the kernel.
2687  *      It can be int, long, off_t, etc... It may be necessary to include
2688  *      <sys/types.h> to get any typedef'ed information.
2689  */
2690 /* LSEEKSIZE:
2691  *      This symbol holds the number of bytes used by the Off_t.
2692  */
2693 /* Off_t_size:
2694  *      This symbol holds the number of bytes used by the Off_t.
2695  */
2696 #define Off_t $lseektype                /* <offset> type */
2697 #define LSEEKSIZE $lseeksize            /* <offset> size */
2698 #define Off_t_size $lseeksize   /* <offset> size */
2699
2700 /* Free_t:
2701  *      This variable contains the return type of free().  It is usually
2702  * void, but occasionally int.
2703  */
2704 /* Malloc_t:
2705  *      This symbol is the type of pointer returned by malloc and realloc.
2706  */
2707 #define Malloc_t $malloctype                    /**/
2708 #define Free_t $freetype                        /**/
2709
2710 /* MYMALLOC:
2711  *      This symbol, if defined, indicates that we're using our own malloc.
2712  */
2713 #$d_mymalloc MYMALLOC                   /**/
2714
2715 /* Mode_t:
2716  *      This symbol holds the type used to declare file modes 
2717  *      for systems calls.  It is usually mode_t, but may be
2718  *      int or unsigned short.  It may be necessary to include <sys/types.h>
2719  *      to get any typedef'ed information.
2720  */
2721 #define Mode_t $modetype         /* file mode parameter for system calls */
2722
2723 /* VAL_O_NONBLOCK:
2724  *      This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2725  *      non-blocking I/O for the file descriptor. Note that there is no way
2726  *      back, i.e. you cannot turn it blocking again this way. If you wish to
2727  *      alternatively switch between blocking and non-blocking, use the
2728  *      ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2729  */
2730 /* VAL_EAGAIN:
2731  *      This symbol holds the errno error code set by read() when no data was
2732  *      present on the non-blocking file descriptor.
2733  */
2734 /* RD_NODATA:
2735  *      This symbol holds the return code from read() when no data is present
2736  *      on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2737  *      not defined, then you can't distinguish between no data and EOF by
2738  *      issuing a read(). You'll have to find another way to tell for sure!
2739  */
2740 /* EOF_NONBLOCK:
2741  *      This symbol, if defined, indicates to the C program that a read() on
2742  *      a non-blocking file descriptor will return 0 on EOF, and not the value
2743  *      held in RD_NODATA (-1 usually, in that case!).
2744  */
2745 #define VAL_O_NONBLOCK $o_nonblock
2746 #define VAL_EAGAIN $eagain
2747 #define RD_NODATA $rd_nodata
2748 #$d_eofnblk EOF_NONBLOCK
2749
2750 /* NEED_VA_COPY:
2751  *      This symbol, if defined, indicates that the system stores
2752  *      the variable argument list datatype, va_list, in a format
2753  *      that cannot be copied by simple assignment, so that some
2754  *      other means must be used when copying is required.
2755  *      As such systems vary in their provision (or non-provision)
2756  *      of copying mechanisms, handy.h defines a platform-
2757  *      independent macro, Perl_va_copy(src, dst), to do the job.
2758  */
2759 #$need_va_copy  NEED_VA_COPY            /**/
2760
2761 /* Netdb_host_t:
2762  *      This symbol holds the type used for the 1st argument
2763  *      to gethostbyaddr().
2764  */
2765 /* Netdb_hlen_t:
2766  *      This symbol holds the type used for the 2nd argument
2767  *      to gethostbyaddr().
2768  */
2769 /* Netdb_name_t:
2770  *      This symbol holds the type used for the argument to
2771  *      gethostbyname().
2772  */
2773 /* Netdb_net_t:
2774  *      This symbol holds the type used for the 1st argument to
2775  *      getnetbyaddr().
2776  */
2777 #define Netdb_host_t            $netdb_host_type /**/
2778 #define Netdb_hlen_t            $netdb_hlen_type /**/
2779 #define Netdb_name_t            $netdb_name_type /**/
2780 #define Netdb_net_t             $netdb_net_type /**/
2781
2782 /* PERL_OTHERLIBDIRS:
2783  *      This variable contains a colon-separated set of paths for the perl
2784  *      binary to search for additional library files or modules.
2785  *      These directories will be tacked to the end of @INC.
2786  *      Perl will automatically search below each path for version-
2787  *      and architecture-specific directories.  See PERL_INC_VERSION_LIST
2788  *      for more details.
2789  */
2790 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs"         /**/
2791
2792 /* IVTYPE:
2793  *      This symbol defines the C type used for Perl's IV.
2794  */
2795 /* UVTYPE:
2796  *      This symbol defines the C type used for Perl's UV.
2797  */
2798 /* I8TYPE:
2799  *      This symbol defines the C type used for Perl's I8.
2800  */
2801 /* U8TYPE:
2802  *      This symbol defines the C type used for Perl's U8.
2803  */
2804 /* I16TYPE:
2805  *      This symbol defines the C type used for Perl's I16.
2806  */
2807 /* U16TYPE:
2808  *      This symbol defines the C type used for Perl's U16.
2809  */
2810 /* I32TYPE:
2811  *      This symbol defines the C type used for Perl's I32.
2812  */
2813 /* U32TYPE:
2814  *      This symbol defines the C type used for Perl's U32.
2815  */
2816 /* I64TYPE:
2817  *      This symbol defines the C type used for Perl's I64.
2818  */
2819 /* U64TYPE:
2820  *      This symbol defines the C type used for Perl's U64.
2821  */
2822 /* NVTYPE:
2823  *      This symbol defines the C type used for Perl's NV.
2824  */
2825 /* IVSIZE:
2826  *      This symbol contains the sizeof(IV).
2827  */
2828 /* UVSIZE:
2829  *      This symbol contains the sizeof(UV).
2830  */
2831 /* I8SIZE:
2832  *      This symbol contains the sizeof(I8).
2833  */
2834 /* U8SIZE:
2835  *      This symbol contains the sizeof(U8).
2836  */
2837 /* I16SIZE:
2838  *      This symbol contains the sizeof(I16).
2839  */
2840 /* U16SIZE:
2841  *      This symbol contains the sizeof(U16).
2842  */
2843 /* I32SIZE:
2844  *      This symbol contains the sizeof(I32).
2845  */
2846 /* U32SIZE:
2847  *      This symbol contains the sizeof(U32).
2848  */
2849 /* I64SIZE:
2850  *      This symbol contains the sizeof(I64).
2851  */
2852 /* U64SIZE:
2853  *      This symbol contains the sizeof(U64).
2854  */
2855 /* NVSIZE:
2856  *      This symbol contains the sizeof(NV).
2857  */
2858 /* NV_PRESERVES_UV:
2859  *      This symbol, if defined, indicates that a variable of type NVTYPE
2860  *      can preserve all the bits of a variable of type UVTYPE.
2861  */
2862 /* NV_PRESERVES_UV_BITS:
2863  *      This symbol contains the number of bits a variable of type NVTYPE
2864  *      can preserve of a variable of type UVTYPE.
2865  */
2866 #define IVTYPE          $ivtype         /**/
2867 #define UVTYPE          $uvtype         /**/
2868 #define I8TYPE          $i8type         /**/
2869 #define U8TYPE          $u8type         /**/
2870 #define I16TYPE         $i16type        /**/
2871 #define U16TYPE         $u16type        /**/
2872 #define I32TYPE         $i32type        /**/
2873 #define U32TYPE         $u32type        /**/
2874 #ifdef HAS_QUAD
2875 #define I64TYPE         $i64type        /**/
2876 #define U64TYPE         $u64type        /**/
2877 #endif
2878 #define NVTYPE          $nvtype         /**/
2879 #define IVSIZE          $ivsize         /**/
2880 #define UVSIZE          $uvsize         /**/
2881 #define I8SIZE          $i8size         /**/
2882 #define U8SIZE          $u8size         /**/
2883 #define I16SIZE         $i16size        /**/
2884 #define U16SIZE         $u16size        /**/
2885 #define I32SIZE         $i32size        /**/
2886 #define U32SIZE         $u32size        /**/
2887 #ifdef HAS_QUAD
2888 #define I64SIZE         $i64size        /**/
2889 #define U64SIZE         $u64size        /**/
2890 #endif
2891 #define NVSIZE          $nvsize         /**/
2892 #$d_nv_preserves_uv     NV_PRESERVES_UV
2893 #define NV_PRESERVES_UV_BITS    $d_nv_preserves_uv_bits
2894
2895 /* IVdf:
2896  *      This symbol defines the format string used for printing a Perl IV
2897  *      as a signed decimal integer.
2898  */
2899 /* UVuf:
2900  *      This symbol defines the format string used for printing a Perl UV
2901  *      as an unsigned decimal integer.
2902  */
2903 /* UVof:
2904  *      This symbol defines the format string used for printing a Perl UV
2905  *      as an unsigned octal integer.
2906  */
2907 /* UVxf:
2908  *      This symbol defines the format string used for printing a Perl UV
2909  *      as an unsigned hexadecimal integer in lowercase abcdef.
2910  */
2911 /* UVXf:
2912  *      This symbol defines the format string used for printing a Perl UV
2913  *      as an unsigned hexadecimal integer in uppercase ABCDEF.
2914  */
2915 /* NVef:
2916  *      This symbol defines the format string used for printing a Perl NV
2917  *      using %e-ish floating point format.
2918  */
2919 /* NVff:
2920  *      This symbol defines the format string used for printing a Perl NV
2921  *      using %f-ish floating point format.
2922  */
2923 /* NVgf:
2924  *      This symbol defines the format string used for printing a Perl NV
2925  *      using %g-ish floating point format.
2926  */
2927 #define IVdf            $ivdformat              /**/
2928 #define UVuf            $uvuformat              /**/
2929 #define UVof            $uvoformat              /**/
2930 #define UVxf            $uvxformat              /**/
2931 #define UVXf            $uvXUformat             /**/
2932 #define NVef            $nveformat              /**/
2933 #define NVff            $nvfformat              /**/
2934 #define NVgf            $nvgformat              /**/
2935
2936 /* Pid_t:
2937  *      This symbol holds the type used to declare process ids in the kernel.
2938  *      It can be int, uint, pid_t, etc... It may be necessary to include
2939  *      <sys/types.h> to get any typedef'ed information.
2940  */
2941 #define Pid_t $pidtype          /* PID type */
2942
2943 /* PRIVLIB:
2944  *      This symbol contains the name of the private library for this package.
2945  *      The library is private in the sense that it needn't be in anyone's
2946  *      execution path, but it should be accessible by the world.  The program
2947  *      should be prepared to do ~ expansion.
2948  */
2949 /* PRIVLIB_EXP:
2950  *      This symbol contains the ~name expanded version of PRIVLIB, to be used
2951  *      in programs that are not prepared to deal with ~ expansion at run-time.
2952  */
2953 #define PRIVLIB "$privlib"              /**/
2954 #define PRIVLIB_EXP "$privlibexp"               /**/
2955
2956 /* PTRSIZE:
2957  *      This symbol contains the size of a pointer, so that the C preprocessor
2958  *      can make decisions based on it.  It will be sizeof(void *) if
2959  *      the compiler supports (void *); otherwise it will be
2960  *      sizeof(char *).
2961  */
2962 #define PTRSIZE $ptrsize                /**/
2963
2964 /* Drand01:
2965  *      This macro is to be used to generate uniformly distributed
2966  *      random numbers over the range [0., 1.[.  You may have to supply
2967  *      an 'extern double drand48();' in your program since SunOS 4.1.3
2968  *      doesn't provide you with anything relevant in it's headers.
2969  *      See HAS_DRAND48_PROTO.
2970  */
2971 /* Rand_seed_t:
2972  *      This symbol defines the type of the argument of the
2973  *      random seed function.
2974  */
2975 /* seedDrand01:
2976  *      This symbol defines the macro to be used in seeding the
2977  *      random number generator (see Drand01).
2978  */
2979 /* RANDBITS:
2980  *      This symbol indicates how many bits are produced by the
2981  *      function used to generate normalized random numbers.
2982  *      Values include 15, 16, 31, and 48.
2983  */
2984 #define Drand01()               $drand01                /**/
2985 #define Rand_seed_t             $randseedtype           /**/
2986 #define seedDrand01(x)  $seedfunc((Rand_seed_t)x)       /**/
2987 #define RANDBITS                $randbits               /**/
2988
2989 /* SELECT_MIN_BITS:
2990  *      This symbol holds the minimum number of bits operated by select.
2991  *      That is, if you do select(n, ...), how many bits at least will be
2992  *      cleared in the masks if some activity is detected.  Usually this
2993  *      is either n or 32*ceil(n/32), especially many little-endians do
2994  *      the latter.  This is only useful if you have select(), naturally.
2995  */
2996 #define SELECT_MIN_BITS         $selectminbits  /**/
2997
2998 /* Select_fd_set_t:
2999  *      This symbol holds the type used for the 2nd, 3rd, and 4th
3000  *      arguments to select.  Usually, this is 'fd_set *', if HAS_FD_SET
3001  *      is defined, and 'int *' otherwise.  This is only useful if you 
3002  *      have select(), of course.
3003  */
3004 #define Select_fd_set_t         $selecttype     /**/
3005
3006 /* SIG_NAME:
3007  *      This symbol contains a list of signal names in order of
3008  *      signal number. This is intended
3009  *      to be used as a static array initialization, like this:
3010  *              char *sig_name[] = { SIG_NAME };
3011  *      The signals in the list are separated with commas, and each signal
3012  *      is surrounded by double quotes. There is no leading SIG in the signal
3013  *      name, i.e. SIGQUIT is known as "QUIT".
3014  *      Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3015  *      etc., where nn is the actual signal number (e.g. NUM37).
3016  *      The signal number for sig_name[i] is stored in sig_num[i].
3017  *      The last element is 0 to terminate the list with a NULL.  This
3018  *      corresponds to the 0 at the end of the sig_num list.
3019  */
3020 /* SIG_NUM:
3021  *      This symbol contains a list of signal numbers, in the same order as the
3022  *      SIG_NAME list. It is suitable for static array initialization, as in:
3023  *              int sig_num[] = { SIG_NUM };
3024  *      The signals in the list are separated with commas, and the indices
3025  *      within that list and the SIG_NAME list match, so it's easy to compute
3026  *      the signal name from a number or vice versa at the price of a small
3027  *      dynamic linear lookup. 
3028  *      Duplicates are allowed, but are moved to the end of the list.
3029  *      The signal number corresponding to sig_name[i] is sig_number[i].
3030  *      if (i < NSIG) then sig_number[i] == i.  
3031  *      The last element is 0, corresponding to the 0 at the end of
3032  *      the sig_name list.
3033  */
3034 /* SIG_SIZE:
3035  *      This variable contains the number of elements of the sig_name
3036  *      and sig_num arrays, excluding the final NULL entry.
3037  */
3038 #define SIG_NAME $sig_name_init         /**/
3039 #define SIG_NUM  $sig_num_init          /**/
3040 #define SIG_SIZE $sig_size                      /**/
3041
3042 /* SITEARCH:
3043  *      This symbol contains the name of the private library for this package.
3044  *      The library is private in the sense that it needn't be in anyone's
3045  *      execution path, but it should be accessible by the world.  The program
3046  *      should be prepared to do ~ expansion.
3047  *      The standard distribution will put nothing in this directory.
3048  *      After perl has been installed, users may install their own local
3049  *      architecture-dependent modules in this directory with
3050  *              MakeMaker Makefile.PL
3051  *      or equivalent.  See INSTALL for details.
3052  */
3053 /* SITEARCH_EXP:
3054  *      This symbol contains the ~name expanded version of SITEARCH, to be used
3055  *      in programs that are not prepared to deal with ~ expansion at run-time.
3056  */
3057 #define SITEARCH "$sitearch"            /**/
3058 #define SITEARCH_EXP "$sitearchexp"             /**/
3059
3060 /* SITELIB:
3061  *      This symbol contains the name of the private library for this package.
3062  *      The library is private in the sense that it needn't be in anyone's
3063  *      execution path, but it should be accessible by the world.  The program
3064  *      should be prepared to do ~ expansion.
3065  *      The standard distribution will put nothing in this directory.
3066  *      After perl has been installed, users may install their own local
3067  *      architecture-independent modules in this directory with
3068  *              MakeMaker Makefile.PL
3069  *      or equivalent.  See INSTALL for details.
3070  */
3071 /* SITELIB_EXP:
3072  *      This symbol contains the ~name expanded version of SITELIB, to be used
3073  *      in programs that are not prepared to deal with ~ expansion at run-time.
3074  */
3075 /* SITELIB_STEM:
3076  *      This define is SITELIB_EXP with any trailing version-specific component
3077  *      removed.  The elements in inc_version_list (inc_version_list.U) can
3078  *      be tacked onto this variable to generate a list of directories to search.
3079  */
3080 #define SITELIB "$sitelib"              /**/
3081 #define SITELIB_EXP "$sitelibexp"               /**/
3082 #define SITELIB_STEM "$sitelib_stem"            /**/
3083
3084 /* Size_t_size:
3085  *      This symbol holds the size of a Size_t in bytes.
3086  */
3087 #define Size_t_size $sizesize           /* */
3088
3089 /* Size_t:
3090  *      This symbol holds the type used to declare length parameters
3091  *      for string functions.  It is usually size_t, but may be
3092  *      unsigned long, int, etc.  It may be necessary to include
3093  *      <sys/types.h> to get any typedef'ed information.
3094  */
3095 #define Size_t $sizetype         /* length paramater for string functions */
3096
3097 /* Sock_size_t:
3098  *      This symbol holds the type used for the size argument of
3099  *      various socket calls (just the base type, not the pointer-to).
3100  */
3101 #define Sock_size_t             $socksizetype /**/
3102
3103 /* SSize_t:
3104  *      This symbol holds the type used by functions that return
3105  *      a count of bytes or an error condition.  It must be a signed type.
3106  *      It is usually ssize_t, but may be long or int, etc.
3107  *      It may be necessary to include <sys/types.h> or <unistd.h>
3108  *      to get any typedef'ed information.
3109  *      We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3110  */
3111 #define SSize_t $ssizetype       /* signed count of bytes */
3112
3113 /* STARTPERL:
3114  *      This variable contains the string to put in front of a perl
3115  *      script to make sure (one hopes) that it runs with perl and not
3116  *      some shell.
3117  */
3118 #define STARTPERL "$startperl"          /**/
3119
3120 /* STDCHAR:
3121  *      This symbol is defined to be the type of char used in stdio.h.
3122  *      It has the values "unsigned char" or "char".
3123  */
3124 #define STDCHAR $stdchar        /**/
3125
3126 /* HAS_STDIO_STREAM_ARRAY:
3127  *      This symbol, if defined, tells that there is an array
3128  *      holding the stdio streams.
3129  */
3130 /* STDIO_STREAM_ARRAY:
3131  *      This symbol tells the name of the array holding the stdio streams.
3132  *      Usual values include _iob, __iob, and __sF.
3133  */
3134 #$d_stdio_stream_array  HAS_STDIO_STREAM_ARRAY  /**/
3135 #define STDIO_STREAM_ARRAY      $stdio_stream_array
3136
3137 /* Uid_t_f:
3138  *      This symbol defines the format string used for printing a Uid_t.
3139  */
3140 #define Uid_t_f         $uidformat              /**/
3141
3142 /* Uid_t_sign:
3143  *      This symbol holds the signedess of a Uid_t.
3144  *      1 for unsigned, -1 for signed.
3145  */
3146 #define Uid_t_sign      $uidsign                /* UID sign */
3147
3148 /* Uid_t_size:
3149  *      This symbol holds the size of a Uid_t in bytes.
3150  */
3151 #define Uid_t_size $uidsize             /* UID size */
3152
3153 /* Uid_t:
3154  *      This symbol holds the type used to declare user ids in the kernel.
3155  *      It can be int, ushort, uid_t, etc... It may be necessary to include
3156  *      <sys/types.h> to get any typedef'ed information.
3157  */
3158 #define Uid_t $uidtype          /* UID type */
3159
3160 /* USE_64_BIT_INT:
3161  *      This symbol, if defined, indicates that 64-bit integers should
3162  *      be used when available.  If not defined, the native integers
3163  *      will be employed (be they 32 or 64 bits).  The minimal possible
3164  *      64-bitness is used, just enough to get 64-bit integers into Perl.
3165  *      This may mean using for example "long longs", while your memory
3166  *      may still be limited to 2 gigabytes.
3167  */
3168 /* USE_64_BIT_ALL:
3169  *      This symbol, if defined, indicates that 64-bit integers should
3170  *      be used when available.  If not defined, the native integers
3171  *      will be used (be they 32 or 64 bits).  The maximal possible
3172  *      64-bitness is employed: LP64 or ILP64, meaning that you will
3173  *      be able to use more than 2 gigabytes of memory.  This mode is
3174  *      even more binary incompatible than USE_64_BIT_INT. You may not
3175  *      be able to run the resulting executable in a 32-bit CPU at all or
3176  *      you may need at least to reboot your OS to 64-bit mode.
3177  */
3178 #ifndef USE_64_BIT_INT
3179 #$use64bitint   USE_64_BIT_INT          /**/
3180 #endif
3181
3182 #ifndef USE_64_BIT_ALL
3183 #$use64bitall   USE_64_BIT_ALL          /**/
3184 #endif
3185
3186 /* USE_LARGE_FILES:
3187  *      This symbol, if defined, indicates that large file support
3188  *      should be used when available.
3189  */
3190 #ifndef USE_LARGE_FILES
3191 #$uselargefiles USE_LARGE_FILES         /**/
3192 #endif
3193
3194 /* USE_LONG_DOUBLE:
3195  *      This symbol, if defined, indicates that long doubles should
3196  *      be used when available.
3197  */
3198 #ifndef USE_LONG_DOUBLE
3199 #$uselongdouble USE_LONG_DOUBLE         /**/
3200 #endif
3201
3202 /* USE_MORE_BITS:
3203  *      This symbol, if defined, indicates that 64-bit interfaces and
3204  *      long doubles should be used when available.
3205  */
3206 #ifndef USE_MORE_BITS
3207 #$usemorebits   USE_MORE_BITS           /**/
3208 #endif
3209
3210 /* MULTIPLICITY:
3211  *      This symbol, if defined, indicates that Perl should
3212  *      be built to use multiplicity.
3213  */
3214 #ifndef MULTIPLICITY
3215 #$usemultiplicity       MULTIPLICITY            /**/
3216 #endif
3217
3218 /* USE_PERLIO:
3219  *      This symbol, if defined, indicates that the PerlIO abstraction should
3220  *      be used throughout.  If not defined, stdio should be
3221  *      used in a fully backward compatible manner.
3222  */
3223 #ifndef USE_PERLIO
3224 #$useperlio     USE_PERLIO              /**/
3225 #endif
3226
3227 /* USE_SOCKS:
3228  *      This symbol, if defined, indicates that Perl should
3229  *      be built to use socks.
3230  */
3231 #ifndef USE_SOCKS
3232 #$usesocks      USE_SOCKS               /**/
3233 #endif
3234
3235 /* USE_ITHREADS:
3236  *      This symbol, if defined, indicates that Perl should be built to
3237  *      use the interpreter-based threading implementation.
3238  */
3239 /* USE_5005THREADS:
3240  *      This symbol, if defined, indicates that Perl should be built to
3241  *      use the 5.005-based threading implementation.
3242  */
3243 /* OLD_PTHREADS_API:
3244  *      This symbol, if defined, indicates that Perl should
3245  *      be built to use the old draft POSIX threads API.
3246  */
3247 #$use5005threads        USE_5005THREADS         /**/
3248 #$useithreads   USE_ITHREADS            /**/
3249 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3250 #define         USE_THREADS             /* until src is revised*/
3251 #endif
3252 #$d_oldpthreads OLD_PTHREADS_API                /**/
3253
3254 /* PERL_VENDORARCH:
3255  *      If defined, this symbol contains the name of a private library.
3256  *      The library is private in the sense that it needn't be in anyone's
3257  *      execution path, but it should be accessible by the world.
3258  *      It may have a ~ on the front. 
3259  *      The standard distribution will put nothing in this directory.
3260  *      Vendors who distribute perl may wish to place their own
3261  *      architecture-dependent modules and extensions in this directory with
3262  *              MakeMaker Makefile.PL INSTALLDIRS=vendor 
3263  *      or equivalent.  See INSTALL for details.
3264  */
3265 /* PERL_VENDORARCH_EXP:
3266  *      This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3267  *      in programs that are not prepared to deal with ~ expansion at run-time.
3268  */
3269 #$d_vendorarch PERL_VENDORARCH "$vendorarch"            /**/
3270 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp"             /**/
3271
3272 /* PERL_VENDORLIB_EXP:
3273  *      This symbol contains the ~name expanded version of VENDORLIB, to be used
3274  *      in programs that are not prepared to deal with ~ expansion at run-time.
3275  */
3276 /* PERL_VENDORLIB_STEM:
3277  *      This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3278  *      removed.  The elements in inc_version_list (inc_version_list.U) can
3279  *      be tacked onto this variable to generate a list of directories to search.
3280  */
3281 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp"                /**/
3282 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem"             /**/
3283
3284 /* VOIDFLAGS:
3285  *      This symbol indicates how much support of the void type is given by this
3286  *      compiler.  What various bits mean:
3287  *
3288  *          1 = supports declaration of void
3289  *          2 = supports arrays of pointers to functions returning void
3290  *          4 = supports comparisons between pointers to void functions and
3291  *                  addresses of void functions
3292  *          8 = suports declaration of generic void pointers
3293  *
3294  *      The package designer should define VOIDUSED to indicate the requirements
3295  *      of the package.  This can be done either by #defining VOIDUSED before
3296  *      including config.h, or by defining defvoidused in Myinit.U.  If the
3297  *      latter approach is taken, only those flags will be tested.  If the
3298  *      level of void support necessary is not present, defines void to int.
3299  */
3300 #ifndef VOIDUSED
3301 #define VOIDUSED $defvoidused
3302 #endif
3303 #define VOIDFLAGS $voidflags
3304 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3305 #define void int                /* is void to be avoided? */
3306 #define M_VOID                  /* Xenix strikes again */
3307 #endif
3308
3309 /* PERL_XS_APIVERSION:
3310  *      This variable contains the version of the oldest perl binary
3311  *      compatible with the present perl.  perl.c:incpush() and
3312  *      lib/lib.pm will automatically search in $sitearch for older
3313  *      directories across major versions back to xs_apiversion.
3314  *      This is only useful if you have a perl library directory tree
3315  *      structured like the default one.
3316  *      See INSTALL for how this works.
3317  *      The versioned site_perl directory was introduced in 5.005,
3318  *      so that is the lowest possible value.
3319  *      Since this can depend on compile time options (such as
3320  *      bincompat) it is set by Configure.  Other non-default sources
3321  *      of potential incompatibility, such as multiplicity, threads,
3322  *      debugging, 64bits, sfio, etc., are not checked for currently,
3323  *      though in principle we could go snooping around in old
3324  *      Config.pm files.
3325  */
3326 /* PERL_PM_APIVERSION:
3327  *      This variable contains the version of the oldest perl
3328  *      compatible with the present perl.  (That is, pure perl modules
3329  *      written for pm_apiversion will still work for the current
3330  *      version).  perl.c:incpush() and lib/lib.pm will automatically
3331  *      search in $sitelib for older directories across major versions
3332  *      back to pm_apiversion.  This is only useful if you have a perl
3333  *      library directory tree structured like the default one.  The
3334  *      versioned site_perl library was introduced in 5.005, so that's
3335  *      the default setting for this variable.  It's hard to imagine
3336  *      it changing before Perl6.  It is included here for symmetry
3337  *      with xs_apiveprsion -- the searching algorithms will
3338  *      (presumably) be similar.
3339  *      See the INSTALL file for how this works.
3340  */
3341 #define PERL_XS_APIVERSION "$xs_apiversion"
3342 #define PERL_PM_APIVERSION "$pm_apiversion"
3343
3344 /* HAS_SIGPROCMASK:
3345  *      This symbol, if defined, indicates that the sigprocmask
3346  *      system call is available to examine or change the signal mask
3347  *      of the calling process.
3348  */
3349 #$d_sigprocmask HAS_SIGPROCMASK         /**/
3350
3351 /* HAS_SOCKATMARK:
3352  *      This symbol, if defined, indicates that the sockatmark routine is
3353  *      available to test whether a socket is at the out-of-band mark.
3354  */
3355 #$d_sockatmark HAS_SOCKATMARK           /**/
3356
3357 /* HAS_STRFTIME:
3358  *      This symbol, if defined, indicates that the strftime routine is
3359  *      available to do time formatting.
3360  */
3361 #$d_strftime HAS_STRFTIME               /**/
3362
3363 /* U32_ALIGNMENT_REQUIRED:
3364  *      This symbol, if defined, indicates that you must access
3365  *      character data through U32-aligned pointers.
3366  */
3367 #$d_u32align U32_ALIGNMENT_REQUIRED     /**/
3368
3369 #endif
3370 !GROK!THIS!