This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document the new files
[perl5.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 $CONFIG 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_STRTOUL:
609  *      This symbol, if defined, indicates that the strtoul routine is
610  *      available to provide conversion of strings to unsigned long.
611  */
612 #$d_strtoul HAS_STRTOUL /**/
613
614 /* HAS_STRXFRM:
615  *      This symbol, if defined, indicates that the strxfrm() routine is
616  *      available to transform strings.
617  */
618 #$d_strxfrm HAS_STRXFRM /**/
619
620 /* HAS_SYMLINK:
621  *      This symbol, if defined, indicates that the symlink routine is available
622  *      to create symbolic links.
623  */
624 #$d_symlink HAS_SYMLINK /**/
625
626 /* HAS_SYSCALL:
627  *      This symbol, if defined, indicates that the syscall routine is
628  *      available to call arbitrary system calls. If undefined, that's tough.
629  */
630 #$d_syscall HAS_SYSCALL /**/
631
632 /* HAS_SYSCONF:
633  *      This symbol, if defined, indicates that sysconf() is available
634  *      to determine system related limits and options.
635  */
636 #$d_sysconf HAS_SYSCONF /**/
637
638 /* HAS_SYSTEM:
639  *      This symbol, if defined, indicates that the system routine is
640  *      available to issue a shell command.
641  */
642 #$d_system HAS_SYSTEM   /**/
643
644 /* HAS_TCGETPGRP:
645  *      This symbol, if defined, indicates that the tcgetpgrp routine is
646  *      available to get foreground process group ID.
647  */
648 #$d_tcgetpgrp HAS_TCGETPGRP             /**/
649
650 /* HAS_TCSETPGRP:
651  *      This symbol, if defined, indicates that the tcsetpgrp routine is
652  *      available to set foreground process group ID.
653  */
654 #$d_tcsetpgrp HAS_TCSETPGRP             /**/
655
656 /* HAS_TRUNCATE:
657  *      This symbol, if defined, indicates that the truncate routine is
658  *      available to truncate files.
659  */
660 #$d_truncate HAS_TRUNCATE       /**/
661
662 /* HAS_TZNAME:
663  *      This symbol, if defined, indicates that the tzname[] array is
664  *      available to access timezone names.
665  */
666 #$d_tzname HAS_TZNAME           /**/
667
668 /* HAS_UMASK:
669  *      This symbol, if defined, indicates that the umask routine is
670  *      available to set and get the value of the file creation mask.
671  */
672 #$d_umask HAS_UMASK             /**/
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_sysioctl    I_SYS_IOCTL             /**/
845
846 /* I_SYS_NDIR:
847  *      This symbol, if defined, indicates to the C program that it should
848  *      include <sys/ndir.h>.
849  */
850 #$i_sysndir I_SYS_NDIR  /**/
851
852 /* I_SYS_PARAM:
853  *      This symbol, if defined, indicates to the C program that it should
854  *      include <sys/param.h>.
855  */
856 #$i_sysparam I_SYS_PARAM                /**/
857
858 /* I_SYS_RESOURCE:
859  *      This symbol, if defined, indicates to the C program that it should
860  *      include <sys/resource.h>.
861  */
862 #$i_sysresrc I_SYS_RESOURCE             /**/
863
864 /* I_SYS_SELECT:
865  *      This symbol, if defined, indicates to the C program that it should
866  *      include <sys/select.h> in order to get definition of struct timeval.
867  */
868 #$i_sysselct I_SYS_SELECT       /**/
869
870 /* I_SYS_STAT:
871  *      This symbol, if defined, indicates to the C program that it should
872  *      include <sys/stat.h>.
873  */
874 #$i_sysstat     I_SYS_STAT              /**/
875
876 /* I_SYS_TIMES:
877  *      This symbol, if defined, indicates to the C program that it should
878  *      include <sys/times.h>.
879  */
880 #$i_systimes    I_SYS_TIMES             /**/
881
882 /* I_SYS_TYPES:
883  *      This symbol, if defined, indicates to the C program that it should
884  *      include <sys/types.h>.
885  */
886 #$i_systypes    I_SYS_TYPES             /**/
887
888 /* I_SYS_UN:
889  *      This symbol, if defined, indicates to the C program that it should
890  *      include <sys/un.h> to get UNIX domain socket definitions.
891  */
892 #$i_sysun I_SYS_UN              /**/
893
894 /* I_SYS_WAIT:
895  *      This symbol, if defined, indicates to the C program that it should
896  *      include <sys/wait.h>.
897  */
898 #$i_syswait I_SYS_WAIT  /**/
899
900 /* I_TERMIO:
901  *      This symbol, if defined, indicates that the program should include
902  *      <termio.h> rather than <sgtty.h>.  There are also differences in
903  *      the ioctl() calls that depend on the value of this symbol.
904  */
905 /* I_TERMIOS:
906  *      This symbol, if defined, indicates that the program should include
907  *      the POSIX termios.h rather than sgtty.h or termio.h.
908  *      There are also differences in the ioctl() calls that depend on the
909  *      value of this symbol.
910  */
911 /* I_SGTTY:
912  *      This symbol, if defined, indicates that the program should include
913  *      <sgtty.h> rather than <termio.h>.  There are also differences in
914  *      the ioctl() calls that depend on the value of this symbol.
915  */
916 #$i_termio I_TERMIO             /**/
917 #$i_termios I_TERMIOS           /**/
918 #$i_sgtty I_SGTTY               /**/
919
920 /* I_UNISTD:
921  *      This symbol, if defined, indicates to the C program that it should
922  *      include <unistd.h>.
923  */
924 #$i_unistd I_UNISTD             /**/
925
926 /* I_UTIME:
927  *      This symbol, if defined, indicates to the C program that it should
928  *      include <utime.h>.
929  */
930 #$i_utime I_UTIME               /**/
931
932 /* I_VALUES:
933  *      This symbol, if defined, indicates to the C program that it should
934  *      include <values.h> to get definition of symbols like MINFLOAT or
935  *      MAXLONG, i.e. machine dependant limitations.  Probably, you
936  *      should use <limits.h> instead, if it is available.
937  */
938 #$i_values I_VALUES             /**/
939
940 /* I_STDARG:
941  *      This symbol, if defined, indicates that <stdarg.h> exists and should
942  *      be included.
943  */
944 /* I_VARARGS:
945  *      This symbol, if defined, indicates to the C program that it should
946  *      include <varargs.h>.
947  */
948 #$i_stdarg I_STDARG             /**/
949 #$i_varargs I_VARARGS   /**/
950
951 /* I_VFORK:
952  *      This symbol, if defined, indicates to the C program that it should
953  *      include vfork.h.
954  */
955 #$i_vfork I_VFORK       /**/
956
957 /* CAN_PROTOTYPE:
958  *      If defined, this macro indicates that the C compiler can handle
959  *      function prototypes.
960  */
961 /* _:
962  *      This macro is used to declare function parameters for folks who want
963  *      to make declarations with prototypes using a different style than
964  *      the above macros.  Use double parentheses.  For example:
965  *
966  *              int main _((int argc, char *argv[]));
967  */
968 #$prototype     CAN_PROTOTYPE   /**/
969 #ifdef CAN_PROTOTYPE
970 #define _(args) args
971 #else
972 #define _(args) ()
973 #endif
974
975 /* SH_PATH:
976  *      This symbol contains the full pathname to the shell used on this
977  *      on this system to execute Bourne shell scripts.  Usually, this will be
978  *      /bin/sh, though it's possible that some systems will have /bin/ksh,
979  *      /bin/pdksh, /bin/ash, /bin/bash, or even something such as
980  *      D:/bin/sh.exe.
981  */
982 #define SH_PATH "$sh"  /**/
983
984 /* CROSSCOMPILE:
985  *      This symbol, if defined, signifies that we our
986  *      build process is a cross-compilation.
987  */
988 #$crosscompile CROSSCOMPILE             /**/
989
990 /* INTSIZE:
991  *      This symbol contains the value of sizeof(int) so that the C
992  *      preprocessor can make decisions based on it.
993  */
994 /* LONGSIZE:
995  *      This symbol contains the value of sizeof(long) so that the C
996  *      preprocessor can make decisions based on it.
997  */
998 /* SHORTSIZE:
999  *      This symbol contains the value of sizeof(short) so that the C
1000  *      preprocessor can make decisions based on it.
1001  */
1002 #define INTSIZE $intsize                /**/
1003 #define LONGSIZE $longsize              /**/
1004 #define SHORTSIZE $shortsize            /**/
1005
1006 /* MULTIARCH:
1007  *      This symbol, if defined, signifies that the build
1008  *      process will produce some binary files that are going to be
1009  *      used in a cross-platform environment.  This is the case for
1010  *      example with the NeXT "fat" binaries that contain executables
1011  *      for several CPUs.
1012  */
1013 #$multiarch MULTIARCH           /**/
1014
1015 /* HAS_QUAD:
1016  *      This symbol, if defined, tells that there's a 64-bit integer type,
1017  *      Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
1018  *      of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
1019  */
1020 #$d_quad HAS_QUAD       /**/
1021 #ifdef HAS_QUAD
1022 #   define Quad_t $quadtype     /**/
1023 #   define Uquad_t $uquadtype   /**/
1024 #   define QUADKIND $quadkind   /**/
1025 #   define QUAD_IS_INT  1
1026 #   define QUAD_IS_LONG 2
1027 #   define QUAD_IS_LONG_LONG    3
1028 #   define QUAD_IS_INT64_T      4
1029 #endif
1030
1031 /* HAS_ACCESSX:
1032  *      This symbol, if defined, indicates that the accessx routine is
1033  *      available to do extended access checks.
1034  */
1035 #$d_accessx HAS_ACCESSX         /**/
1036
1037 /* HAS_EACCESS:
1038  *      This symbol, if defined, indicates that the eaccess routine is
1039  *      available to do extended access checks.
1040  */
1041 #$d_eaccess HAS_EACCESS         /**/
1042
1043 /* I_SYS_ACCESS:
1044  *     This symbol, if defined, indicates to the C program that it should
1045  *     include <sys/access.h>.
1046  */
1047 #$i_sysaccess   I_SYS_ACCESS                /**/
1048
1049 /* I_SYS_SECURITY:
1050  *     This symbol, if defined, indicates to the C program that it should
1051  *     include <sys/security.h>.
1052  */
1053 #$i_syssecrt   I_SYS_SECURITY   /**/
1054
1055 /* OSNAME:
1056  *      This symbol contains the name of the operating system, as determined
1057  *      by Configure.  You shouldn't rely on it too much; the specific
1058  *      feature tests from Configure are generally more reliable.
1059  */
1060 #define OSNAME "$osname"                /**/
1061
1062 /* MEM_ALIGNBYTES:
1063  *      This symbol contains the number of bytes required to align a
1064  *      double, or a long double when applicable. Usual values are 2,
1065  *      4 and 8. The default is eight, for safety.
1066  */
1067 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1068 #  define MEM_ALIGNBYTES 8
1069 #else
1070 #define MEM_ALIGNBYTES $alignbytes
1071 #endif
1072
1073 /* ARCHLIB:
1074  *      This variable, if defined, holds the name of the directory in
1075  *      which the user wants to put architecture-dependent public
1076  *      library files for $package.  It is most often a local directory
1077  *      such as /usr/local/lib.  Programs using this variable must be
1078  *      prepared to deal with filename expansion.  If ARCHLIB is the
1079  *      same as PRIVLIB, it is not defined, since presumably the
1080  *      program already searches PRIVLIB.
1081  */
1082 /* ARCHLIB_EXP:
1083  *      This symbol contains the ~name expanded version of ARCHLIB, to be used
1084  *      in programs that are not prepared to deal with ~ expansion at run-time.
1085  */
1086 #$d_archlib ARCHLIB "$archlib"          /**/
1087 #$d_archlib ARCHLIB_EXP "$archlibexp"           /**/
1088
1089 /* ARCHNAME:
1090  *      This symbol holds a string representing the architecture name.
1091  *      It may be used to construct an architecture-dependant pathname
1092  *      where library files may be held under a private library, for
1093  *      instance.
1094  */
1095 #define ARCHNAME "$archname"            /**/
1096
1097 /* HAS_ATOLF:
1098  *      This symbol, if defined, indicates that the atolf routine is
1099  *      available to convert strings into long doubles.
1100  */
1101 #$d_atolf HAS_ATOLF             /**/
1102
1103 /* HAS_ATOLL:
1104  *      This symbol, if defined, indicates that the atoll routine is
1105  *      available to convert strings into long longs.
1106  */
1107 #$d_atoll HAS_ATOLL             /**/
1108
1109 /* BIN:
1110  *      This symbol holds the path of the bin directory where the package will
1111  *      be installed. Program must be prepared to deal with ~name substitution.
1112  */
1113 /* BIN_EXP:
1114  *      This symbol is the filename expanded version of the BIN symbol, for
1115  *      programs that do not want to deal with that at run-time.
1116  */
1117 #define BIN "$bin"      /**/
1118 #define BIN_EXP "$binexp"       /**/
1119
1120 /* PERL_BINCOMPAT_5005:
1121  *      This symbol, if defined, indicates that this version of Perl should be
1122  *      binary-compatible with Perl 5.005.  This is impossible for builds
1123  *      that use features like threads and multiplicity it is always $undef
1124  *      for those versions.
1125  */
1126 #$d_bincompat5005 PERL_BINCOMPAT_5005                   /**/
1127
1128 /* BYTEORDER:
1129  *      This symbol holds the hexadecimal constant defined in byteorder,
1130  *      i.e. 0x1234 or 0x4321, etc...
1131  *      If the compiler supports cross-compiling or multiple-architecture
1132  *      binaries (eg. on NeXT systems), use compiler-defined macros to
1133  *      determine the byte order.
1134  *      On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1135  *      Binaries (MAB) on either big endian or little endian machines.
1136  *      The endian-ness is available at compile-time.  This only matters
1137  *      for perl, where the config.h can be generated and installed on 
1138  *      one system, and used by a different architecture to build an
1139  *      extension.  Older versions of NeXT that might not have
1140  *      defined either *_ENDIAN__ were all on Motorola 680x0 series,
1141  *      so the default case (for NeXT) is big endian to catch them. 
1142  *      This might matter for NeXT 3.0.
1143  */
1144 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1145 #  ifdef __LITTLE_ENDIAN__
1146 #    if LONGSIZE == 4
1147 #      define BYTEORDER 0x1234
1148 #    else
1149 #      if LONGSIZE == 8
1150 #        define BYTEORDER 0x12345678
1151 #      endif
1152 #    endif
1153 #  else
1154 #    ifdef __BIG_ENDIAN__
1155 #      if LONGSIZE == 4
1156 #        define BYTEORDER 0x4321
1157 #      else
1158 #        if LONGSIZE == 8
1159 #          define BYTEORDER 0x87654321
1160 #        endif
1161 #      endif
1162 #    endif
1163 #  endif
1164 #  if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1165 #    define BYTEORDER 0x4321
1166 #  endif
1167 #else
1168 #define BYTEORDER 0x$byteorder  /* large digits for MSB */
1169 #endif /* NeXT */
1170
1171 /* CAT2:
1172  *      This macro catenates 2 tokens together.
1173  */
1174 /* STRINGIFY:
1175  *      This macro surrounds its token with double quotes.
1176  */
1177 #if $cpp_stuff == 1
1178 #define CAT2(a,b)       a/**/b
1179 #define STRINGIFY(a)    "a"
1180                 /* If you can get stringification with catify, tell me how! */
1181 #endif
1182 #if $cpp_stuff == 42
1183 #define PeRl_CaTiFy(a, b)       a ## b  
1184 #define PeRl_StGiFy(a)  #a
1185 /* the additional level of indirection enables these macros to be
1186  * used as arguments to other macros.  See K&R 2nd ed., page 231. */
1187 #define CAT2(a,b)       PeRl_CaTiFy(a,b)
1188 #define StGiFy(a)       PeRl_StGiFy(a)
1189 #define STRINGIFY(a)    PeRl_StGiFy(a)
1190 #endif
1191 #if $cpp_stuff != 1 && $cpp_stuff != 42
1192 #   include "Bletch: How does this C preprocessor catenate tokens?"
1193 #endif
1194
1195 /* CPPSTDIN:
1196  *      This symbol contains the first part of the string which will invoke
1197  *      the C preprocessor on the standard input and produce to standard
1198  *      output.  Typical value of "cc -E" or "/lib/cpp", but it can also
1199  *      call a wrapper. See CPPRUN.
1200  */
1201 /* CPPMINUS:
1202  *      This symbol contains the second part of the string which will invoke
1203  *      the C preprocessor on the standard input and produce to standard
1204  *      output.  This symbol will have the value "-" if CPPSTDIN needs a minus
1205  *      to specify standard input, otherwise the value is "".
1206  */
1207 /* CPPRUN:
1208  *      This symbol contains the string which will invoke a C preprocessor on
1209  *      the standard input and produce to standard output. It needs to end
1210  *      with CPPLAST, after all other preprocessor flags have been specified.
1211  *      The main difference with CPPSTDIN is that this program will never be a
1212  *      pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1213  *      available directly to the user. Note that it may well be different from
1214  *      the preprocessor used to compile the C program.
1215  */
1216 /* CPPLAST:
1217  *      This symbol is intended to be used along with CPPRUN in the same manner
1218  *      symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1219  */
1220 #define CPPSTDIN "$cppstdin"
1221 #define CPPMINUS "$cppminus"
1222 #define CPPRUN "$cpprun"
1223 #define CPPLAST "$cpplast"
1224
1225 /* HAS_ACCESS:
1226  *      This manifest constant lets the C program know that the access()
1227  *      system call is available to check for accessibility using real UID/GID.
1228  *      (always present on UNIX.)
1229  */
1230 #$d_access HAS_ACCESS           /**/
1231
1232 /* CASTI32:
1233  *      This symbol is defined if the C compiler can cast negative
1234  *      or large floating point numbers to 32-bit ints.
1235  */
1236 #$d_casti32     CASTI32         /**/
1237
1238 /* CASTNEGFLOAT:
1239  *      This symbol is defined if the C compiler can cast negative
1240  *      numbers to unsigned longs, ints and shorts.
1241  */
1242 /* CASTFLAGS:
1243  *      This symbol contains flags that say what difficulties the compiler
1244  *      has casting odd floating values to unsigned long:
1245  *              0 = ok
1246  *              1 = couldn't cast < 0
1247  *              2 = couldn't cast >= 0x80000000
1248  *              4 = couldn't cast in argument expression list
1249  */
1250 #$d_castneg     CASTNEGFLOAT            /**/
1251 #define CASTFLAGS $castflags            /**/
1252
1253 /* VOID_CLOSEDIR:
1254  *      This symbol, if defined, indicates that the closedir() routine
1255  *      does not return a value.
1256  */
1257 #$d_void_closedir VOID_CLOSEDIR         /**/
1258
1259 /* HAS_CSH:
1260  *      This symbol, if defined, indicates that the C-shell exists.
1261  */
1262 /* CSH:
1263  *      This symbol, if defined, contains the full pathname of csh.
1264  */
1265 #$d_csh HAS_CSH         /**/
1266 #ifdef HAS_CSH
1267 #define CSH "$full_csh" /**/
1268 #endif
1269
1270 /* DLSYM_NEEDS_UNDERSCORE:
1271  *      This symbol, if defined, indicates that we need to prepend an
1272  *      underscore to the symbol name before calling dlsym().  This only
1273  *      makes sense if you *have* dlsym, which we will presume is the
1274  *      case if you're using dl_dlopen.xs.
1275  */
1276 #$d_dlsymun     DLSYM_NEEDS_UNDERSCORE  /**/
1277
1278 /* HAS_DRAND48_PROTO:
1279  *      This symbol, if defined, indicates that the system provides
1280  *      a prototype for the drand48() function.  Otherwise, it is up
1281  *      to the program to supply one.  A good guess is
1282  *              extern double drand48 _((void));
1283  */
1284 #$d_drand48proto        HAS_DRAND48_PROTO       /**/
1285
1286 /* HAS_ENDGRENT:
1287  *      This symbol, if defined, indicates that the getgrent routine is
1288  *      available for finalizing sequential access of the group database.
1289  */
1290 #$d_endgrent HAS_ENDGRENT               /**/
1291
1292 /* HAS_ENDHOSTENT:
1293  *      This symbol, if defined, indicates that the endhostent() routine is
1294  *      available to close whatever was being used for host queries.
1295  */
1296 #$d_endhent HAS_ENDHOSTENT              /**/
1297
1298 /* HAS_ENDNETENT:
1299  *      This symbol, if defined, indicates that the endnetent() routine is
1300  *      available to close whatever was being used for network queries.
1301  */
1302 #$d_endnent HAS_ENDNETENT               /**/
1303
1304 /* HAS_ENDPROTOENT:
1305  *      This symbol, if defined, indicates that the endprotoent() routine is
1306  *      available to close whatever was being used for protocol queries.
1307  */
1308 #$d_endpent HAS_ENDPROTOENT             /**/
1309
1310 /* HAS_ENDPWENT:
1311  *      This symbol, if defined, indicates that the getgrent routine is
1312  *      available for finalizing sequential access of the passwd database.
1313  */
1314 #$d_endpwent HAS_ENDPWENT               /**/
1315
1316 /* HAS_ENDSERVENT:
1317  *      This symbol, if defined, indicates that the endservent() routine is
1318  *      available to close whatever was being used for service queries.
1319  */
1320 #$d_endsent HAS_ENDSERVENT              /**/
1321
1322 /* HAS_FD_SET:
1323  *      This symbol, when defined, indicates presence of the fd_set typedef
1324  *      in <sys/types.h>
1325  */
1326 #$d_fd_set HAS_FD_SET   /**/
1327
1328 /* FLEXFILENAMES:
1329  *      This symbol, if defined, indicates that the system supports filenames
1330  *      longer than 14 characters.
1331  */
1332 #$d_flexfnam    FLEXFILENAMES           /**/
1333
1334 /* HAS_FPOS64_T:
1335  *      This symbol will be defined if the C compiler supports fpos64_t.
1336  */
1337 #$d_fpos64_t    HAS_FPOS64_T            /**/
1338
1339 /* HAS_FREXPL:
1340  *      This symbol, if defined, indicates that the frexpl routine is
1341  *      available to break a long double floating-point number into
1342  *      a normalized fraction and an integral power of 2.
1343  */
1344 #$d_frexpl HAS_FREXPL           /**/
1345
1346 /* HAS_STRUCT_FS_DATA:
1347  *      This symbol, if defined, indicates that the struct fs_data
1348  *      to do statfs() is supported.
1349  */
1350 #$d_fs_data_s HAS_STRUCT_FS_DATA        /**/
1351
1352 /* HAS_FSEEKO:
1353  *      This symbol, if defined, indicates that the fseeko routine is
1354  *      available to fseek beyond 32 bits (useful for ILP32 hosts).
1355  */
1356 #$d_fseeko HAS_FSEEKO           /**/
1357
1358 /* HAS_FSTATFS:
1359  *      This symbol, if defined, indicates that the fstatfs routine is
1360  *      available to stat filesystems by file descriptors.
1361  */
1362 #$d_fstatfs HAS_FSTATFS         /**/
1363
1364 /* HAS_FTELLO:
1365  *      This symbol, if defined, indicates that the ftello routine is
1366  *      available to ftell beyond 32 bits (useful for ILP32 hosts).
1367  */
1368 #$d_ftello HAS_FTELLO           /**/
1369
1370 /* Gconvert:
1371  *      This preprocessor macro is defined to convert a floating point
1372  *      number to a string without a trailing decimal point.  This
1373  *      emulates the behavior of sprintf("%g"), but is sometimes much more
1374  *      efficient.  If gconvert() is not available, but gcvt() drops the
1375  *      trailing decimal point, then gcvt() is used.  If all else fails,
1376  *      a macro using sprintf("%g") is used. Arguments for the Gconvert
1377  *      macro are: value, number of digits, whether trailing zeros should
1378  *      be retained, and the output buffer.
1379  *      Possible values are:
1380  *              d_Gconvert='gconvert((x),(n),(t),(b))'
1381  *              d_Gconvert='gcvt((x),(n),(b))'
1382  *              d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1383  *      The last two assume trailing zeros should not be kept.
1384  */
1385 #define Gconvert(x,n,t,b) $d_Gconvert
1386
1387 /* HAS_GETCWD:
1388  *      This symbol, if defined, indicates that the getcwd routine is
1389  *      available to get the current working directory.
1390  */
1391 #$d_getcwd HAS_GETCWD           /**/
1392
1393 /* HAS_GETESPWNAM:
1394  *      This symbol, if defined, indicates that the getespwnam system call is
1395  *      available to retrieve enchanced (shadow) password entries by name.
1396  */
1397 #$d_getespwnam HAS_GETESPWNAM           /**/
1398
1399 /* HAS_GETFSSTAT:
1400  *      This symbol, if defined, indicates that the getfsstat routine is
1401  *      available to stat filesystems in bulk.
1402  */
1403 #$d_getfsstat HAS_GETFSSTAT             /**/
1404
1405 /* HAS_GETGRENT:
1406  *      This symbol, if defined, indicates that the getgrent routine is
1407  *      available for sequential access of the group database.
1408  */
1409 #$d_getgrent HAS_GETGRENT               /**/
1410
1411 /* HAS_GETHOSTBYADDR:
1412  *      This symbol, if defined, indicates that the gethostbyaddr() routine is
1413  *      available to look up hosts by their IP addresses.
1414  */
1415 #$d_gethbyaddr HAS_GETHOSTBYADDR                /**/
1416
1417 /* HAS_GETHOSTBYNAME:
1418  *      This symbol, if defined, indicates that the gethostbyname() routine is
1419  *      available to look up host names in some data base or other.
1420  */
1421 #$d_gethbyname HAS_GETHOSTBYNAME                /**/
1422
1423 /* HAS_GETHOSTENT:
1424  *      This symbol, if defined, indicates that the gethostent() routine is
1425  *      available to look up host names in some data base or another.
1426  */
1427 #$d_gethent HAS_GETHOSTENT              /**/
1428
1429 /* HAS_GETHOSTNAME:
1430  *      This symbol, if defined, indicates that the C program may use the
1431  *      gethostname() routine to derive the host name.  See also HAS_UNAME
1432  *      and PHOSTNAME.
1433  */
1434 /* HAS_UNAME:
1435  *      This symbol, if defined, indicates that the C program may use the
1436  *      uname() routine to derive the host name.  See also HAS_GETHOSTNAME
1437  *      and PHOSTNAME.
1438  */
1439 /* PHOSTNAME:
1440  *      This symbol, if defined, indicates the command to feed to the
1441  *      popen() routine to derive the host name.  See also HAS_GETHOSTNAME
1442  *      and HAS_UNAME.  Note that the command uses a fully qualified path,
1443  *      so that it is safe even if used by a process with super-user
1444  *      privileges.
1445  */
1446 /* HAS_PHOSTNAME:
1447  *      This symbol, if defined, indicates that the C program may use the
1448  *      contents of PHOSTNAME as a command to feed to the popen() routine
1449  *      to derive the host name.
1450  */
1451 #$d_gethname HAS_GETHOSTNAME    /**/
1452 #$d_uname HAS_UNAME             /**/
1453 #$d_phostname HAS_PHOSTNAME     /**/
1454 #ifdef HAS_PHOSTNAME
1455 #define PHOSTNAME "$aphostname" /* How to get the host name */
1456 #endif
1457
1458 /* HAS_GETHOST_PROTOS:
1459  *      This symbol, if defined, indicates that <netdb.h> includes
1460  *      prototypes for gethostent(), gethostbyname(), and
1461  *      gethostbyaddr().  Otherwise, it is up to the program to guess
1462  *      them.  See netdbtype.U for probing for various Netdb_xxx_t types.
1463  */
1464 #$d_gethostprotos       HAS_GETHOST_PROTOS      /**/
1465
1466 /* HAS_GETMNT:
1467  *      This symbol, if defined, indicates that the getmnt routine is
1468  *      available to get filesystem mount info by filename.
1469  */
1470 #$d_getmnt HAS_GETMNT           /**/
1471
1472 /* HAS_GETMNTENT:
1473  *      This symbol, if defined, indicates that the getmntent routine is
1474  *      available to iterate through mounted file systems to get their info.
1475  */
1476 #$d_getmntent HAS_GETMNTENT             /**/
1477
1478 /* HAS_GETNETBYADDR:
1479  *      This symbol, if defined, indicates that the getnetbyaddr() routine is
1480  *      available to look up networks by their IP addresses.
1481  */
1482 #$d_getnbyaddr HAS_GETNETBYADDR         /**/
1483
1484 /* HAS_GETNETBYNAME:
1485  *      This symbol, if defined, indicates that the getnetbyname() routine is
1486  *      available to look up networks by their names.
1487  */
1488 #$d_getnbyname HAS_GETNETBYNAME         /**/
1489
1490 /* HAS_GETNETENT:
1491  *      This symbol, if defined, indicates that the getnetent() routine is
1492  *      available to look up network names in some data base or another.
1493  */
1494 #$d_getnent HAS_GETNETENT               /**/
1495
1496 /* HAS_GETNET_PROTOS:
1497  *      This symbol, if defined, indicates that <netdb.h> includes
1498  *      prototypes for getnetent(), getnetbyname(), and
1499  *      getnetbyaddr().  Otherwise, it is up to the program to guess
1500  *      them.  See netdbtype.U for probing for various Netdb_xxx_t types.
1501  */
1502 #$d_getnetprotos        HAS_GETNET_PROTOS       /**/
1503
1504 /* HAS_GETPAGESIZE:
1505  *      This symbol, if defined, indicates that the getpagesize system call
1506  *      is available to get system page size, which is the granularity of
1507  *      many memory management calls.
1508  */
1509 #$d_getpagsz HAS_GETPAGESIZE            /**/
1510
1511 /* HAS_GETPROTOENT:
1512  *      This symbol, if defined, indicates that the getprotoent() routine is
1513  *      available to look up protocols in some data base or another.
1514  */
1515 #$d_getpent HAS_GETPROTOENT             /**/
1516
1517 /* HAS_GETPROTOBYNAME:
1518  *      This symbol, if defined, indicates that the getprotobyname()
1519  *      routine is available to look up protocols by their name.
1520  */
1521 /* HAS_GETPROTOBYNUMBER:
1522  *      This symbol, if defined, indicates that the getprotobynumber()
1523  *      routine is available to look up protocols by their number.
1524  */
1525 #$d_getpbyname HAS_GETPROTOBYNAME               /**/
1526 #$d_getpbynumber HAS_GETPROTOBYNUMBER           /**/
1527
1528 /* HAS_GETPROTO_PROTOS:
1529  *      This symbol, if defined, indicates that <netdb.h> includes
1530  *      prototypes for getprotoent(), getprotobyname(), and
1531  *      getprotobyaddr().  Otherwise, it is up to the program to guess
1532  *      them.  See netdbtype.U for probing for various Netdb_xxx_t types.
1533  */
1534 #$d_getprotoprotos      HAS_GETPROTO_PROTOS     /**/
1535
1536 /* HAS_GETPRPWNAM:
1537  *      This symbol, if defined, indicates that the getprpwnam system call is
1538  *      available to retrieve protected (shadow) password entries by name.
1539  */
1540 #$d_getprpwnam HAS_GETPRPWNAM           /**/
1541
1542 /* HAS_GETPWENT:
1543  *      This symbol, if defined, indicates that the getpwent routine is
1544  *      available for sequential access of the passwd database.
1545  *      If this is not available, the older getpw() function may be available.
1546  */
1547 #$d_getpwent HAS_GETPWENT               /**/
1548
1549 /* HAS_GETSERVENT:
1550  *      This symbol, if defined, indicates that the getservent() routine is
1551  *      available to look up network services in some data base or another.
1552  */
1553 #$d_getsent HAS_GETSERVENT              /**/
1554
1555 /* HAS_GETSERV_PROTOS:
1556  *      This symbol, if defined, indicates that <netdb.h> includes
1557  *      prototypes for getservent(), getservbyname(), and
1558  *      getservbyaddr().  Otherwise, it is up to the program to guess
1559  *      them.  See netdbtype.U for probing for various Netdb_xxx_t types.
1560  */
1561 #$d_getservprotos       HAS_GETSERV_PROTOS      /**/
1562
1563 /* HAS_GETSPNAM:
1564  *      This symbol, if defined, indicates that the getspnam system call is
1565  *      available to retrieve SysV shadow password entries by name.
1566  */
1567 #$d_getspnam HAS_GETSPNAM               /**/
1568
1569 /* HAS_GETSERVBYNAME:
1570  *      This symbol, if defined, indicates that the getservbyname()
1571  *      routine is available to look up services by their name.
1572  */
1573 /* HAS_GETSERVBYPORT:
1574  *      This symbol, if defined, indicates that the getservbyport()
1575  *      routine is available to look up services by their port.
1576  */
1577 #$d_getsbyname HAS_GETSERVBYNAME                /**/
1578 #$d_getsbyport HAS_GETSERVBYPORT                /**/
1579
1580 /* HAS_GNULIBC:
1581  *      This symbol, if defined, indicates to the C program that 
1582  *      the GNU C library is being used.
1583  */
1584 #$d_gnulibc HAS_GNULIBC         /**/
1585 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1586 #   define _GNU_SOURCE
1587 #endif
1588 /* HAS_HASMNTOPT:
1589  *      This symbol, if defined, indicates that the hasmntopt routine is
1590  *      available to query the mount options of file systems.
1591  */
1592 #$d_hasmntopt HAS_HASMNTOPT             /**/
1593
1594 /* HAS_HTONL:
1595  *      This symbol, if defined, indicates that the htonl() routine (and
1596  *      friends htons() ntohl() ntohs()) are available to do network
1597  *      order byte swapping.
1598  */
1599 /* HAS_HTONS:
1600  *      This symbol, if defined, indicates that the htons() routine (and
1601  *      friends htonl() ntohl() ntohs()) are available to do network
1602  *      order byte swapping.
1603  */
1604 /* HAS_NTOHL:
1605  *      This symbol, if defined, indicates that the ntohl() routine (and
1606  *      friends htonl() htons() ntohs()) are available to do network
1607  *      order byte swapping.
1608  */
1609 /* HAS_NTOHS:
1610  *      This symbol, if defined, indicates that the ntohs() routine (and
1611  *      friends htonl() htons() ntohl()) are available to do network
1612  *      order byte swapping.
1613  */
1614 #$d_htonl HAS_HTONL             /**/
1615 #$d_htonl HAS_HTONS             /**/
1616 #$d_htonl HAS_NTOHL             /**/
1617 #$d_htonl HAS_NTOHS             /**/
1618
1619 /* HAS_ICONV:
1620  *      This symbol, if defined, indicates that the iconv routine is
1621  *      available to do character set conversions.
1622  */
1623 #$d_iconv HAS_ICONV             /**/
1624
1625 /* HAS_INT64_T:
1626  *     This symbol will defined if the C compiler supports int64_t.
1627  *     Usually the <inttypes.h> needs to be included, but sometimes
1628  *      <sys/types.h> is enough.
1629  */
1630 #$d_int64_t     HAS_INT64_T               /**/
1631
1632 /* HAS_ISASCII:
1633  *      This manifest constant lets the C program know that isascii 
1634  *      is available.
1635  */
1636 #$d_isascii HAS_ISASCII         /**/
1637
1638 /* HAS_ISNAN:
1639  *      This symbol, if defined, indicates that the isnan routine is
1640  *      available to check whether a double is a NaN.
1641  */
1642 #$d_isnan HAS_ISNAN             /**/
1643
1644 /* HAS_ISNANL:
1645  *      This symbol, if defined, indicates that the isnanl routine is
1646  *      available to check whether a long double is a NaN.
1647  */
1648 #$d_isnanl HAS_ISNANL           /**/
1649
1650 /* HAS_LCHOWN:
1651  *      This symbol, if defined, indicates that the lchown routine is
1652  *      available to operate on a symbolic link (instead of following the
1653  *      link).
1654  */
1655 #$d_lchown HAS_LCHOWN           /**/
1656
1657 /* HAS_LDBL_DIG:
1658  *      This symbol, if defined, indicates that this system's <float.h>
1659  *      or <limits.h> defines the symbol LDBL_DIG, which is the number
1660  *      of significant digits in a long double precision number. Unlike
1661  *      for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1662  */
1663 #$d_ldbl_dig HAS_LDBL_DIG       /* */
1664
1665 /* HAS_LONG_DOUBLE:
1666  *      This symbol will be defined if the C compiler supports long
1667  *      doubles.
1668  */
1669 /* LONG_DOUBLESIZE:
1670  *      This symbol contains the size of a long double, so that the 
1671  *      C preprocessor can make decisions based on it.  It is only
1672  *      defined if the system supports long doubles.
1673  */
1674 #$d_longdbl HAS_LONG_DOUBLE             /**/
1675 #ifdef HAS_LONG_DOUBLE
1676 #define LONG_DOUBLESIZE $longdblsize            /**/
1677 #endif
1678
1679 /* HAS_LONG_LONG:
1680  *      This symbol will be defined if the C compiler supports long long.
1681  */
1682 /* LONGLONGSIZE:
1683  *      This symbol contains the size of a long long, so that the 
1684  *      C preprocessor can make decisions based on it.  It is only
1685  *      defined if the system supports long long.
1686  */
1687 #$d_longlong HAS_LONG_LONG              /**/
1688 #ifdef HAS_LONG_LONG
1689 #define LONGLONGSIZE $longlongsize              /**/
1690 #endif
1691
1692 /* HAS_LSEEK_PROTO:
1693  *      This symbol, if defined, indicates that the system provides
1694  *      a prototype for the lseek() function.  Otherwise, it is up
1695  *      to the program to supply one.  A good guess is
1696  *              extern off_t lseek(int, off_t, int);
1697  */
1698 #$d_lseekproto  HAS_LSEEK_PROTO /**/
1699
1700 /* HAS_MADVISE:
1701  *      This symbol, if defined, indicates that the madvise system call is
1702  *      available to map a file into memory.
1703  */
1704 #$d_madvise HAS_MADVISE         /**/
1705
1706 /* HAS_MEMCHR:
1707  *      This symbol, if defined, indicates that the memchr routine is available
1708  *      to locate characters within a C string.
1709  */
1710 #$d_memchr HAS_MEMCHR   /**/
1711
1712 /* HAS_MKDTEMP:
1713  *      This symbol, if defined, indicates that the mkdtemp routine is
1714  *      available to exclusively create a uniquely named temporary directory.
1715  */
1716 #$d_mkdtemp HAS_MKDTEMP         /**/
1717
1718 /* HAS_MKSTEMP:
1719  *      This symbol, if defined, indicates that the mkstemp routine is
1720  *      available to exclusively create and open a uniquely named
1721  *      temporary file.
1722  */
1723 #$d_mkstemp HAS_MKSTEMP         /**/
1724
1725 /* HAS_MKSTEMPS:
1726  *      This symbol, if defined, indicates that the mkstemps routine is
1727  *      available to excluslvely create and open a uniquely named
1728  *      (with a suffix) temporary file.
1729  */
1730 #$d_mkstemps HAS_MKSTEMPS               /**/
1731
1732 /* HAS_MMAP:
1733  *      This symbol, if defined, indicates that the mmap system call is
1734  *      available to map a file into memory.
1735  */
1736 /* Mmap_t:
1737  *      This symbol holds the return type of the mmap() system call
1738  *      (and simultaneously the type of the first argument).
1739  *      Usually set to 'void *' or 'cadd_t'.
1740  */
1741 #$d_mmap HAS_MMAP               /**/
1742 #define Mmap_t $mmaptype        /**/
1743
1744 /* HAS_MODFL:
1745  *      This symbol, if defined, indicates that the modfl routine is
1746  *      available to split a long double x into a fractional part f and
1747  *      an integer part i such that |f| < 1.0 and (f + i) = x.
1748  */
1749 #$d_modfl HAS_MODFL             /**/
1750
1751 /* HAS_MPROTECT:
1752  *      This symbol, if defined, indicates that the mprotect system call is
1753  *      available to modify the access protection of a memory mapped file.
1754  */
1755 #$d_mprotect HAS_MPROTECT               /**/
1756
1757 /* HAS_MSG:
1758  *      This symbol, if defined, indicates that the entire msg*(2) library is
1759  *      supported (IPC mechanism based on message queues).
1760  */
1761 #$d_msg HAS_MSG         /**/
1762
1763 /* HAS_OFF64_T:
1764  *      This symbol will be defined if the C compiler supports off64_t.
1765  */
1766 #$d_off64_t     HAS_OFF64_T             /**/
1767
1768 /* HAS_OPEN3:
1769  *      This manifest constant lets the C program know that the three
1770  *      argument form of open(2) is available.
1771  */
1772 #$d_open3 HAS_OPEN3             /**/
1773
1774 /* OLD_PTHREAD_CREATE_JOINABLE:
1775  *      This symbol, if defined, indicates how to create pthread
1776  *      in joinable (aka undetached) state.  NOTE: not defined
1777  *      if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1778  *      (the new version of the constant).
1779  *      If defined, known values are PTHREAD_CREATE_UNDETACHED
1780  *      and __UNDETACHED.
1781  */
1782 #$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
1783
1784 /* HAS_PTHREAD_YIELD:
1785  *      This symbol, if defined, indicates that the pthread_yield 
1786  *      routine is available to yield the execution of the current
1787  *      thread.  sched_yield is preferable to pthread_yield.
1788  */
1789 /* SCHED_YIELD:
1790  *      This symbol defines the way to yield the execution of
1791  *      the current thread.  Known ways are sched_yield,
1792  *      pthread_yield, and pthread_yield with NULL.
1793  */
1794 /* HAS_SCHED_YIELD:
1795  *      This symbol, if defined, indicates that the sched_yield
1796  *      routine is available to yield the execution of the current
1797  *      thread.  sched_yield is preferable to pthread_yield.
1798  */
1799 #$d_pthread_yield HAS_PTHREAD_YIELD     /**/
1800 #define SCHED_YIELD     $sched_yield    /**/
1801 #$d_sched_yield HAS_SCHED_YIELD /**/
1802
1803 /* HAS_SAFE_BCOPY:
1804  *      This symbol, if defined, indicates that the bcopy routine is available
1805  *      to copy potentially overlapping memory blocks. Otherwise you should
1806  *      probably use memmove() or memcpy(). If neither is defined, roll your
1807  *      own version.
1808  */
1809 #$d_safebcpy HAS_SAFE_BCOPY     /**/
1810
1811 /* HAS_SAFE_MEMCPY:
1812  *      This symbol, if defined, indicates that the memcpy routine is available
1813  *      to copy potentially overlapping memory blocks. Otherwise you should
1814  *      probably use memmove() or memcpy(). If neither is defined, roll your
1815  *      own version.
1816  */
1817 #$d_safemcpy HAS_SAFE_MEMCPY    /**/
1818
1819 /* HAS_SANE_MEMCMP:
1820  *      This symbol, if defined, indicates that the memcmp routine is available
1821  *      and can be used to compare relative magnitudes of chars with their high
1822  *      bits set.  If it is not defined, roll your own version.
1823  */
1824 #$d_sanemcmp HAS_SANE_MEMCMP    /**/
1825
1826 /* HAS_SEM:
1827  *      This symbol, if defined, indicates that the entire sem*(2) library is
1828  *      supported.
1829  */
1830 #$d_sem HAS_SEM         /**/
1831
1832 /* HAS_SETGRENT:
1833  *      This symbol, if defined, indicates that the setgrent routine is
1834  *      available for initializing sequential access of the group database.
1835  */
1836 #$d_setgrent HAS_SETGRENT               /**/
1837
1838 /* HAS_SETGROUPS:
1839  *      This symbol, if defined, indicates that the setgroups() routine is
1840  *      available to set the list of process groups.  If unavailable, multiple
1841  *      groups are probably not supported.
1842  */
1843 #$d_setgrps HAS_SETGROUPS               /**/
1844
1845 /* HAS_SETHOSTENT:
1846  *      This symbol, if defined, indicates that the sethostent() routine is
1847  *      available.
1848  */
1849 #$d_sethent HAS_SETHOSTENT              /**/
1850
1851 /* HAS_SETNETENT:
1852  *      This symbol, if defined, indicates that the setnetent() routine is
1853  *      available.
1854  */
1855 #$d_setnent HAS_SETNETENT               /**/
1856
1857 /* HAS_SETPROTOENT:
1858  *      This symbol, if defined, indicates that the setprotoent() routine is
1859  *      available.
1860  */
1861 #$d_setpent HAS_SETPROTOENT             /**/
1862
1863 /* HAS_SETPROCTITLE:
1864  *      This symbol, if defined, indicates that the setproctitle routine is
1865  *      available to set process title.
1866  */
1867 #$d_setproctitle HAS_SETPROCTITLE               /**/
1868
1869 /* HAS_SETPWENT:
1870  *      This symbol, if defined, indicates that the setpwent routine is
1871  *      available for initializing sequential access of the passwd database.
1872  */
1873 #$d_setpwent HAS_SETPWENT               /**/
1874
1875 /* HAS_SETSERVENT:
1876  *      This symbol, if defined, indicates that the setservent() routine is
1877  *      available.
1878  */
1879 #$d_setsent HAS_SETSERVENT              /**/
1880
1881 /* HAS_SETVBUF:
1882  *      This symbol, if defined, indicates that the setvbuf routine is
1883  *      available to change buffering on an open stdio stream.
1884  *      to a line-buffered mode.
1885  */
1886 #$d_setvbuf HAS_SETVBUF         /**/
1887
1888 /* USE_SFIO:
1889  *      This symbol, if defined, indicates that sfio should
1890  *      be used.
1891  */
1892 #$d_sfio        USE_SFIO                /**/
1893
1894 /* HAS_SHM:
1895  *      This symbol, if defined, indicates that the entire shm*(2) library is
1896  *      supported.
1897  */
1898 #$d_shm HAS_SHM         /**/
1899
1900 /* HAS_SIGACTION:
1901  *      This symbol, if defined, indicates that Vr4's sigaction() routine
1902  *      is available.
1903  */
1904 #$d_sigaction HAS_SIGACTION     /**/
1905
1906 /* HAS_SIGSETJMP:
1907  *      This variable indicates to the C program that the sigsetjmp()
1908  *      routine is available to save the calling process's registers
1909  *      and stack environment for later use by siglongjmp(), and
1910  *      to optionally save the process's signal mask.  See
1911  *      Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1912  */
1913 /* Sigjmp_buf:
1914  *      This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1915  */
1916 /* Sigsetjmp:
1917  *      This macro is used in the same way as sigsetjmp(), but will invoke
1918  *      traditional setjmp() if sigsetjmp isn't available.
1919  *      See HAS_SIGSETJMP.
1920  */
1921 /* Siglongjmp:
1922  *      This macro is used in the same way as siglongjmp(), but will invoke
1923  *      traditional longjmp() if siglongjmp isn't available.
1924  *      See HAS_SIGSETJMP.
1925  */
1926 #$d_sigsetjmp HAS_SIGSETJMP     /**/
1927 #ifdef HAS_SIGSETJMP
1928 #define Sigjmp_buf sigjmp_buf
1929 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1930 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1931 #else
1932 #define Sigjmp_buf jmp_buf
1933 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1934 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1935 #endif
1936
1937 /* HAS_SOCKET:
1938  *      This symbol, if defined, indicates that the BSD socket interface is
1939  *      supported.
1940  */
1941 /* HAS_SOCKETPAIR:
1942  *      This symbol, if defined, indicates that the BSD socketpair() call is
1943  *      supported.
1944  */
1945 /* HAS_MSG_CTRUNC:
1946  *      This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1947  *      Checking just with #ifdef might not be enough because this symbol
1948  *      has been known to be an enum.
1949  */
1950 /* HAS_MSG_DONTROUTE:
1951  *      This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1952  *      Checking just with #ifdef might not be enough because this symbol
1953  *      has been known to be an enum.
1954  */
1955 /* HAS_MSG_OOB:
1956  *      This symbol, if defined, indicates that the MSG_OOB is supported.
1957  *      Checking just with #ifdef might not be enough because this symbol
1958  *      has been known to be an enum.
1959  */
1960 /* HAS_MSG_PEEK:
1961  *      This symbol, if defined, indicates that the MSG_PEEK is supported.
1962  *      Checking just with #ifdef might not be enough because this symbol
1963  *      has been known to be an enum.
1964  */
1965 /* HAS_MSG_PROXY:
1966  *      This symbol, if defined, indicates that the MSG_PROXY is supported.
1967  *      Checking just with #ifdef might not be enough because this symbol
1968  *      has been known to be an enum.
1969  */
1970 /* HAS_SCM_RIGHTS:
1971  *      This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1972  *      Checking just with #ifdef might not be enough because this symbol
1973  *      has been known to be an enum.
1974  */
1975 #$d_socket      HAS_SOCKET              /**/
1976 #$d_sockpair    HAS_SOCKETPAIR  /**/
1977 #$d_msg_ctrunc  HAS_MSG_CTRUNC  /**/
1978 #$d_msg_dontroute       HAS_MSG_DONTROUTE       /**/
1979 #$d_msg_oob     HAS_MSG_OOB     /**/
1980 #$d_msg_peek    HAS_MSG_PEEK    /**/
1981 #$d_msg_proxy   HAS_MSG_PROXY   /**/
1982 #$d_scm_rights  HAS_SCM_RIGHTS  /**/
1983
1984 /* HAS_SOCKS5_INIT:
1985  *      This symbol, if defined, indicates that the socks5_init routine is
1986  *      available to initialize SOCKS 5.
1987  */
1988 #$d_socks5_init HAS_SOCKS5_INIT         /**/
1989
1990 /* HAS_SQRTL:
1991  *      This symbol, if defined, indicates that the sqrtl routine is
1992  *      available to do long double square roots.
1993  */
1994 #$d_sqrtl HAS_SQRTL             /**/
1995
1996 /* USE_STAT_BLOCKS:
1997  *      This symbol is defined if this system has a stat structure declaring
1998  *      st_blksize and st_blocks.
1999  */
2000 #ifndef USE_STAT_BLOCKS
2001 #$d_statblks USE_STAT_BLOCKS    /**/
2002 #endif
2003
2004 /* HAS_STRUCT_STATFS_F_FLAGS:
2005  *      This symbol, if defined, indicates that the struct statfs
2006  *      does have the f_flags member containing the mount flags of
2007  *      the filesystem containing the file.
2008  *      This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2009  *      not from <sys/statfs.h> (SYSV).  Older BSDs (like Ultrix) do not
2010  *      have statfs() and struct statfs, they have ustat() and getmnt()
2011  *      with struct ustat and struct fs_data.
2012  */
2013 #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS            /**/
2014
2015 /* HAS_STRUCT_STATFS:
2016  *      This symbol, if defined, indicates that the struct statfs
2017  *      to do statfs() is supported.
2018  */
2019 #$d_statfs_s HAS_STRUCT_STATFS  /**/
2020
2021 /* HAS_FSTATVFS:
2022  *      This symbol, if defined, indicates that the fstatvfs routine is
2023  *      available to stat filesystems by file descriptors.
2024  */
2025 #$d_fstatvfs HAS_FSTATVFS               /**/
2026
2027 /* USE_STDIO_PTR:
2028  *      This symbol is defined if the _ptr and _cnt fields (or similar)
2029  *      of the stdio FILE structure can be used to access the stdio buffer
2030  *      for a file handle.  If this is defined, then the FILE_ptr(fp)
2031  *      and FILE_cnt(fp) macros will also be defined and should be used
2032  *      to access these fields.
2033  */
2034 /* FILE_ptr:
2035  *      This macro is used to access the _ptr field (or equivalent) of the
2036  *      FILE structure pointed to by its argument. This macro will always be
2037  *      defined if USE_STDIO_PTR is defined.
2038  */
2039 /* STDIO_PTR_LVALUE:
2040  *      This symbol is defined if the FILE_ptr macro can be used as an
2041  *      lvalue.
2042  */
2043 /* FILE_cnt:
2044  *      This macro is used to access the _cnt field (or equivalent) of the
2045  *      FILE structure pointed to by its argument. This macro will always be
2046  *      defined if USE_STDIO_PTR is defined.
2047  */
2048 /* STDIO_CNT_LVALUE:
2049  *      This symbol is defined if the FILE_cnt macro can be used as an
2050  *      lvalue.
2051  */
2052 /* STDIO_PTR_LVAL_SETS_CNT:
2053  *      This symbol is defined if using the FILE_ptr macro as an lvalue
2054  *      to increase the pointer by n has the side effect of decreasing the
2055  *      value of File_cnt(fp) by n.
2056  */
2057 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2058  *      This symbol is defined if using the FILE_ptr macro as an lvalue
2059  *      to increase the pointer by n leaves File_cnt(fp) unchanged.
2060  */
2061 #$d_stdstdio USE_STDIO_PTR      /**/
2062 #ifdef USE_STDIO_PTR
2063 #define FILE_ptr(fp)    $stdio_ptr
2064 #$d_stdio_ptr_lval STDIO_PTR_LVALUE             /**/
2065 #define FILE_cnt(fp)    $stdio_cnt
2066 #$d_stdio_cnt_lval STDIO_CNT_LVALUE             /**/
2067 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT     /**/
2068 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT     /**/
2069 #endif
2070
2071 /* USE_STDIO_BASE:
2072  *      This symbol is defined if the _base field (or similar) of the
2073  *      stdio FILE structure can be used to access the stdio buffer for
2074  *      a file handle.  If this is defined, then the FILE_base(fp) macro
2075  *      will also be defined and should be used to access this field.
2076  *      Also, the FILE_bufsiz(fp) macro will be defined and should be used
2077  *      to determine the number of bytes in the buffer.  USE_STDIO_BASE
2078  *      will never be defined unless USE_STDIO_PTR is.
2079  */
2080 /* FILE_base:
2081  *      This macro is used to access the _base field (or equivalent) of the
2082  *      FILE structure pointed to by its argument. This macro will always be
2083  *      defined if USE_STDIO_BASE is defined.
2084  */
2085 /* FILE_bufsiz:
2086  *      This macro is used to determine the number of bytes in the I/O
2087  *      buffer pointed to by _base field (or equivalent) of the FILE
2088  *      structure pointed to its argument. This macro will always be defined
2089  *      if USE_STDIO_BASE is defined.
2090  */
2091 #$d_stdiobase USE_STDIO_BASE    /**/
2092 #ifdef USE_STDIO_BASE
2093 #define FILE_base(fp)   $stdio_base
2094 #define FILE_bufsiz(fp) $stdio_bufsiz
2095 #endif
2096
2097 /* HAS_STRERROR:
2098  *      This symbol, if defined, indicates that the strerror routine is
2099  *      available to translate error numbers to strings. See the writeup
2100  *      of Strerror() in this file before you try to define your own.
2101  */
2102 /* HAS_SYS_ERRLIST:
2103  *      This symbol, if defined, indicates that the sys_errlist array is
2104  *      available to translate error numbers to strings. The extern int
2105  *      sys_nerr gives the size of that table.
2106  */
2107 /* Strerror:
2108  *      This preprocessor symbol is defined as a macro if strerror() is
2109  *      not available to translate error numbers to strings but sys_errlist[]
2110  *      array is there.
2111  */
2112 #$d_strerror HAS_STRERROR               /**/
2113 #$d_syserrlst HAS_SYS_ERRLIST   /**/
2114 #define Strerror(e) $d_strerrm
2115
2116 /* HAS_STRTOLD:
2117  *      This symbol, if defined, indicates that the strtold routine is
2118  *      available to convert strings to long doubles.
2119  */
2120 #$d_strtold HAS_STRTOLD         /**/
2121
2122 /* HAS_STRTOLL:
2123  *      This symbol, if defined, indicates that the strtoll routine is
2124  *      available to convert strings to long longs.
2125  */
2126 #$d_strtoll HAS_STRTOLL         /**/
2127
2128 /* HAS_STRTOULL:
2129  *      This symbol, if defined, indicates that the strtoull routine is
2130  *      available to convert strings to unsigned long longs.
2131  */
2132 #$d_strtoull HAS_STRTOULL               /**/
2133
2134 /* HAS_STRTOUQ:
2135  *      This symbol, if defined, indicates that the strtouq routine is
2136  *      available to convert strings to unsigned long longs (quads).
2137  */
2138 #$d_strtouq HAS_STRTOUQ         /**/
2139
2140 /* HAS_TELLDIR_PROTO:
2141  *      This symbol, if defined, indicates that the system provides
2142  *      a prototype for the telldir() function.  Otherwise, it is up
2143  *      to the program to supply one.  A good guess is
2144  *              extern long telldir _((DIR*));
2145  */
2146 #$d_telldirproto        HAS_TELLDIR_PROTO       /**/
2147
2148 /* Time_t:
2149  *      This symbol holds the type returned by time(). It can be long,
2150  *      or time_t on BSD sites (in which case <sys/types.h> should be
2151  *      included).
2152  */
2153 #define Time_t $timetype                /* Time type */
2154
2155 /* HAS_TIMES:
2156  *      This symbol, if defined, indicates that the times() routine exists.
2157  *      Note that this became obsolete on some systems (SUNOS), which now
2158  * use getrusage(). It may be necessary to include <sys/times.h>.
2159  */
2160 #$d_times HAS_TIMES             /**/
2161
2162 /* HAS_UNION_SEMUN:
2163  *      This symbol, if defined, indicates that the union semun is
2164  *      defined by including <sys/sem.h>.  If not, the user code
2165  *      probably needs to define it as:
2166  *      union semun {
2167  *          int val;
2168  *          struct semid_ds *buf;
2169  *          unsigned short *array;
2170  *      }
2171  */
2172 /* USE_SEMCTL_SEMUN:
2173  *      This symbol, if defined, indicates that union semun is
2174  *      used for semctl IPC_STAT.
2175  */
2176 /* USE_SEMCTL_SEMID_DS:
2177  *      This symbol, if defined, indicates that struct semid_ds * is
2178  *      used for semctl IPC_STAT.
2179  */
2180 #$d_union_semun HAS_UNION_SEMUN /**/
2181 #$d_semctl_semun USE_SEMCTL_SEMUN       /**/
2182 #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2183
2184 /* HAS_USTAT:
2185  *      This symbol, if defined, indicates that the ustat system call is
2186  *      available to query file system statistics by dev_t.
2187  */
2188 #$d_ustat HAS_USTAT             /**/
2189
2190 /* HAS_VFORK:
2191  *      This symbol, if defined, indicates that vfork() exists.
2192  */
2193 #$d_vfork HAS_VFORK     /**/
2194
2195 /* Signal_t:
2196  *      This symbol's value is either "void" or "int", corresponding to the
2197  *      appropriate return type of a signal handler.  Thus, you can declare
2198  *      a signal handler using "Signal_t (*handler)()", and define the
2199  *      handler using "Signal_t handler(sig)".
2200  */
2201 #define Signal_t $signal_t      /* Signal handler's return type */
2202
2203 /* HAS_VPRINTF:
2204  *      This symbol, if defined, indicates that the vprintf routine is available
2205  *      to printf with a pointer to an argument list.  If unavailable, you
2206  *      may need to write your own, probably in terms of _doprnt().
2207  */
2208 /* USE_CHAR_VSPRINTF:
2209  *      This symbol is defined if this system has vsprintf() returning type
2210  *      (char*).  The trend seems to be to declare it as "int vsprintf()".  It
2211  *      is up to the package author to declare vsprintf correctly based on the
2212  *      symbol.
2213  */
2214 #$d_vprintf HAS_VPRINTF /**/
2215 #$d_charvspr USE_CHAR_VSPRINTF  /**/
2216
2217 /* USE_DYNAMIC_LOADING:
2218  *      This symbol, if defined, indicates that dynamic loading of
2219  *      some sort is available.
2220  */
2221 #$usedl USE_DYNAMIC_LOADING             /**/
2222
2223 /* DOUBLESIZE:
2224  *      This symbol contains the size of a double, so that the C preprocessor
2225  *      can make decisions based on it.
2226  */
2227 #define DOUBLESIZE $doublesize          /**/
2228
2229 /* EBCDIC:
2230  *     This symbol, if defined, indicates that this system uses
2231  *      EBCDIC encoding.
2232  */
2233 #$ebcdic        EBCDIC          /**/
2234
2235 /* FFLUSH_NULL:
2236  *      This symbol, if defined, tells that fflush(NULL) does flush
2237  *      all pending stdio output.
2238  */
2239 /* FFLUSH_ALL:
2240  *      This symbol, if defined, tells that to flush
2241  *      all pending stdio output one must loop through all
2242  *      the stdio file handles stored in an array and fflush them.
2243  *      Note that if fflushNULL is defined, fflushall will not
2244  *      even be probed for and will be left undefined.
2245  */
2246 #$fflushNULL    FFLUSH_NULL             /**/
2247 #$fflushall     FFLUSH_ALL              /**/
2248
2249 /* Fpos_t:
2250  *      This symbol holds the type used to declare file positions in libc.
2251  *      It can be fpos_t, long, uint, etc... It may be necessary to include
2252  *      <sys/types.h> to get any typedef'ed information.
2253  */
2254 #define Fpos_t $fpostype                /* File position type */
2255
2256 /* Gid_t_f:
2257  *      This symbol defines the format string used for printing a Gid_t.
2258  */
2259 #define Gid_t_f         $gidformat              /**/
2260
2261 /* Gid_t_sign:
2262  *      This symbol holds the signedess of a Gid_t.
2263  *      1 for unsigned, -1 for signed.
2264  */
2265 #define Gid_t_sign      $gidsign                /* GID sign */
2266
2267 /* Gid_t_size:
2268  *      This symbol holds the size of a Gid_t in bytes.
2269  */
2270 #define Gid_t_size $gidsize             /* GID size */
2271
2272 /* Gid_t:
2273  *      This symbol holds the return type of getgid() and the type of
2274  *      argument to setrgid() and related functions.  Typically,
2275  *      it is the type of group ids in the kernel. It can be int, ushort,
2276  *      gid_t, etc... It may be necessary to include <sys/types.h> to get
2277  *      any typedef'ed information.
2278  */
2279 #define Gid_t $gidtype          /* Type for getgid(), etc... */
2280
2281 /* Groups_t:
2282  *      This symbol holds the type used for the second argument to
2283  *      getgroups() and setgroups().  Usually, this is the same as
2284  *      gidtype (gid_t) , but sometimes it isn't.
2285  *      It can be int, ushort, gid_t, etc... 
2286  *      It may be necessary to include <sys/types.h> to get any 
2287  *      typedef'ed information.  This is only required if you have
2288  *      getgroups() or setgroups()..
2289  */
2290 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2291 #define Groups_t $groupstype    /* Type for 2nd arg to [sg]etgroups() */
2292 #endif
2293
2294 /* DB_Prefix_t:
2295  *      This symbol contains the type of the prefix structure element
2296  *      in the <db.h> header file.  In older versions of DB, it was
2297  *      int, while in newer ones it is u_int32_t.
2298  */
2299 /* DB_Hash_t:
2300  *      This symbol contains the type of the prefix structure element
2301  *      in the <db.h> header file.  In older versions of DB, it was
2302  *      int, while in newer ones it is size_t.
2303  */
2304 #define DB_Hash_t       $db_hashtype            /**/
2305 #define DB_Prefix_t     $db_prefixtype          /**/
2306
2307 /* I_GRP:
2308  *      This symbol, if defined, indicates to the C program that it should
2309  *      include <grp.h>.
2310  */
2311 /* GRPASSWD:
2312  *      This symbol, if defined, indicates to the C program that struct group
2313  *      in <grp.h> contains gr_passwd.
2314  */
2315 #$i_grp I_GRP           /**/
2316 #$d_grpasswd GRPASSWD   /**/
2317
2318 /* I_ICONV:
2319  *      This symbol, if defined, indicates that <iconv.h> exists and
2320  *      should be included.
2321  */
2322 #$i_iconv       I_ICONV         /**/
2323
2324 /* I_IEEEFP:
2325  *      This symbol, if defined, indicates that <ieeefp.h> exists and
2326  *      should be included.
2327  */
2328 #$i_ieeefp      I_IEEEFP                /**/
2329
2330 /* I_INTTYPES:
2331  *     This symbol, if defined, indicates to the C program that it should
2332  *     include <inttypes.h>.
2333  */
2334 #$i_inttypes   I_INTTYPES                /**/
2335
2336 /* I_LIBUTIL:
2337  *      This symbol, if defined, indicates that <libutil.h> exists and
2338  *      should be included.
2339  */
2340 #$i_libutil     I_LIBUTIL               /**/
2341
2342 /* I_MACH_CTHREADS:
2343  *     This symbol, if defined, indicates to the C program that it should
2344  *     include <mach/cthreads.h>.
2345  */
2346 #$i_machcthr   I_MACH_CTHREADS  /**/
2347
2348 /* I_MNTENT:
2349  *      This symbol, if defined, indicates that <mntent.h> exists and
2350  *      should be included.
2351  */
2352 #$i_mntent      I_MNTENT                /**/
2353
2354 /* I_NETDB:
2355  *      This symbol, if defined, indicates that <netdb.h> exists and
2356  *      should be included.
2357  */
2358 #$i_netdb I_NETDB               /**/
2359
2360 /* I_NETINET_TCP:
2361  *     This symbol, if defined, indicates to the C program that it should
2362  *     include <netinet/tcp.h>.
2363  */
2364 #$i_netinettcp   I_NETINET_TCP                /**/
2365
2366 /* I_POLL:
2367  *      This symbol, if defined, indicates that <poll.h> exists and
2368  *      should be included.
2369  */
2370 #$i_poll        I_POLL          /**/
2371
2372 /* I_PROT:
2373  *      This symbol, if defined, indicates that <prot.h> exists and
2374  *      should be included.
2375  */
2376 #$i_prot        I_PROT          /**/
2377
2378 /* I_PTHREAD:
2379  *     This symbol, if defined, indicates to the C program that it should
2380  *     include <pthread.h>.
2381  */
2382 #$i_pthread   I_PTHREAD /**/
2383
2384 /* I_PWD:
2385  *      This symbol, if defined, indicates to the C program that it should
2386  *      include <pwd.h>.
2387  */
2388 /* PWQUOTA:
2389  *      This symbol, if defined, indicates to the C program that struct passwd
2390  *      contains pw_quota.
2391  */
2392 /* PWAGE:
2393  *      This symbol, if defined, indicates to the C program that struct passwd
2394  *      contains pw_age.
2395  */
2396 /* PWCHANGE:
2397  *      This symbol, if defined, indicates to the C program that struct passwd
2398  *      contains pw_change.
2399  */
2400 /* PWCLASS:
2401  *      This symbol, if defined, indicates to the C program that struct passwd
2402  *      contains pw_class.
2403  */
2404 /* PWEXPIRE:
2405  *      This symbol, if defined, indicates to the C program that struct passwd
2406  *      contains pw_expire.
2407  */
2408 /* PWCOMMENT:
2409  *      This symbol, if defined, indicates to the C program that struct passwd
2410  *      contains pw_comment.
2411  */
2412 /* PWGECOS:
2413  *      This symbol, if defined, indicates to the C program that struct passwd
2414  *      contains pw_gecos.
2415  */
2416 /* PWPASSWD:
2417  *      This symbol, if defined, indicates to the C program that struct passwd
2418  *      contains pw_passwd.
2419  */
2420 #$i_pwd I_PWD           /**/
2421 #$d_pwquota PWQUOTA     /**/
2422 #$d_pwage PWAGE /**/
2423 #$d_pwchange PWCHANGE   /**/
2424 #$d_pwclass PWCLASS     /**/
2425 #$d_pwexpire PWEXPIRE   /**/
2426 #$d_pwcomment PWCOMMENT /**/
2427 #$d_pwgecos PWGECOS     /**/
2428 #$d_pwpasswd PWPASSWD   /**/
2429
2430 /* I_SHADOW:
2431  *      This symbol, if defined, indicates that <shadow.h> exists and
2432  *      should be included.
2433  */
2434 #$i_shadow      I_SHADOW                /**/
2435
2436 /* I_SOCKS:
2437  *      This symbol, if defined, indicates that <socks.h> exists and
2438  *      should be included.
2439  */
2440 #$i_socks       I_SOCKS         /**/
2441
2442 /* I_SUNMATH:
2443  *      This symbol, if defined, indicates that <sunmath.h> exists and
2444  *      should be included.
2445  */
2446 #$i_sunmath     I_SUNMATH               /**/
2447
2448 /* I_SYSLOG:
2449  *      This symbol, if defined, indicates that <syslog.h> exists and
2450  *      should be included.
2451  */
2452 #$i_syslog      I_SYSLOG                /**/
2453
2454 /* I_SYSMODE:
2455  *      This symbol, if defined, indicates that <sys/mode.h> exists and
2456  *      should be included.
2457  */
2458 #$i_sysmode     I_SYSMODE               /**/
2459
2460 /* I_SYS_MOUNT:
2461  *      This symbol, if defined, indicates that <sys/mount.h> exists and
2462  *      should be included.
2463  */
2464 #$i_sysmount    I_SYS_MOUNT             /**/
2465
2466 /* I_SYS_STATFS:
2467  *      This symbol, if defined, indicates that <sys/statfs.h> exists.
2468  */
2469 #$i_sysstatfs   I_SYS_STATFS            /**/
2470
2471 /* I_SYS_STATVFS:
2472  *      This symbol, if defined, indicates that <sys/statvfs.h> exists and
2473  *      should be included.
2474  */
2475 #$i_sysstatvfs  I_SYS_STATVFS           /**/
2476
2477 /* I_SYSUIO:
2478  *      This symbol, if defined, indicates that <sys/uio.h> exists and
2479  *      should be included.
2480  */
2481 #$i_sysuio      I_SYSUIO                /**/
2482
2483 /* I_SYSUTSNAME:
2484  *      This symbol, if defined, indicates that <sys/utsname.h> exists and
2485  *      should be included.
2486  */
2487 #$i_sysutsname  I_SYSUTSNAME            /**/
2488
2489 /* I_SYS_VFS:
2490  *      This symbol, if defined, indicates that <sys/vfs.h> exists and
2491  *      should be included.
2492  */
2493 #$i_sysvfs      I_SYS_VFS               /**/
2494
2495 /* I_TIME:
2496  *      This symbol, if defined, indicates to the C program that it should
2497  *      include <time.h>.
2498  */
2499 /* I_SYS_TIME:
2500  *      This symbol, if defined, indicates to the C program that it should
2501  *      include <sys/time.h>.
2502  */
2503 /* I_SYS_TIME_KERNEL:
2504  *      This symbol, if defined, indicates to the C program that it should
2505  *      include <sys/time.h> with KERNEL defined.
2506  */
2507 #$i_time I_TIME         /**/
2508 #$i_systime I_SYS_TIME          /**/
2509 #$i_systimek I_SYS_TIME_KERNEL          /**/
2510
2511 /* I_USTAT:
2512  *      This symbol, if defined, indicates that <ustat.h> exists and
2513  *      should be included.
2514  */
2515 #$i_ustat       I_USTAT         /**/
2516
2517 /* PERL_INC_VERSION_LIST:
2518  *      This variable specifies the list of subdirectories in over
2519  *      which perl.c:incpush() and lib/lib.pm will automatically
2520  *      search when adding directories to @INC, in a format suitable
2521  *      for a C initialization string.  See the inc_version_list entry
2522  *      in Porting/Glossary for more details.
2523  */
2524 #define PERL_INC_VERSION_LIST $inc_version_list_init            /**/
2525
2526 /* INSTALL_USR_BIN_PERL:
2527  *      This symbol, if defined, indicates that Perl is to be installed
2528  *      also as /usr/bin/perl.
2529  */
2530 #$installusrbinperl INSTALL_USR_BIN_PERL        /**/
2531
2532 /* PERL_PRIfldbl:
2533  *      This symbol, if defined, contains the string used by stdio to
2534  *      format long doubles (format 'f') for output.
2535  */
2536 /* PERL_PRIgldbl:
2537  *      This symbol, if defined, contains the string used by stdio to
2538  *      format long doubles (format 'g') for output.
2539  */
2540 /* PERL_PRIeldbl:
2541  *      This symbol, if defined, contains the string used by stdio to
2542  *      format long doubles (format 'e') for output.
2543  */
2544 /* PERL_SCNfldbl:
2545  *      This symbol, if defined, contains the string used by stdio to
2546  *      format long doubles (format 'f') for input.
2547  */
2548 #$d_PRIfldbl PERL_PRIfldbl      $sPRIfldbl      /**/
2549 #$d_PRIgldbl PERL_PRIgldbl      $sPRIgldbl      /**/
2550 #$d_PRIeldbl PERL_PRIeldbl      $sPRIeldbl      /**/
2551 #$d_SCNfldbl PERL_SCNfldbl      $sSCNfldbl      /**/
2552
2553 /* Off_t:
2554  *      This symbol holds the type used to declare offsets in the kernel.
2555  *      It can be int, long, off_t, etc... It may be necessary to include
2556  *      <sys/types.h> to get any typedef'ed information.
2557  */
2558 /* LSEEKSIZE:
2559  *      This symbol holds the number of bytes used by the Off_t.
2560  */
2561 /* Off_t_size:
2562  *      This symbol holds the number of bytes used by the Off_t.
2563  */
2564 #define Off_t $lseektype                /* <offset> type */
2565 #define LSEEKSIZE $lseeksize            /* <offset> size */
2566 #define Off_t_size $lseeksize   /* <offset> size */
2567
2568 /* Free_t:
2569  *      This variable contains the return type of free().  It is usually
2570  * void, but occasionally int.
2571  */
2572 /* Malloc_t:
2573  *      This symbol is the type of pointer returned by malloc and realloc.
2574  */
2575 #define Malloc_t $malloctype                    /**/
2576 #define Free_t $freetype                        /**/
2577
2578 /* MYMALLOC:
2579  *      This symbol, if defined, indicates that we're using our own malloc.
2580  */
2581 #$d_mymalloc MYMALLOC                   /**/
2582
2583 /* Mode_t:
2584  *      This symbol holds the type used to declare file modes 
2585  *      for systems calls.  It is usually mode_t, but may be
2586  *      int or unsigned short.  It may be necessary to include <sys/types.h>
2587  *      to get any typedef'ed information.
2588  */
2589 #define Mode_t $modetype         /* file mode parameter for system calls */
2590
2591 /* VAL_O_NONBLOCK:
2592  *      This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2593  *      non-blocking I/O for the file descriptor. Note that there is no way
2594  *      back, i.e. you cannot turn it blocking again this way. If you wish to
2595  *      alternatively switch between blocking and non-blocking, use the
2596  *      ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2597  */
2598 /* VAL_EAGAIN:
2599  *      This symbol holds the errno error code set by read() when no data was
2600  *      present on the non-blocking file descriptor.
2601  */
2602 /* RD_NODATA:
2603  *      This symbol holds the return code from read() when no data is present
2604  *      on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2605  *      not defined, then you can't distinguish between no data and EOF by
2606  *      issuing a read(). You'll have to find another way to tell for sure!
2607  */
2608 /* EOF_NONBLOCK:
2609  *      This symbol, if defined, indicates to the C program that a read() on
2610  *      a non-blocking file descriptor will return 0 on EOF, and not the value
2611  *      held in RD_NODATA (-1 usually, in that case!).
2612  */
2613 #define VAL_O_NONBLOCK $o_nonblock
2614 #define VAL_EAGAIN $eagain
2615 #define RD_NODATA $rd_nodata
2616 #$d_eofnblk EOF_NONBLOCK
2617
2618 /* Netdb_host_t:
2619  *      This symbol holds the type used for the 1st argument
2620  *      to gethostbyaddr().
2621  */
2622 /* Netdb_hlen_t:
2623  *      This symbol holds the type used for the 2nd argument
2624  *      to gethostbyaddr().
2625  */
2626 /* Netdb_name_t:
2627  *      This symbol holds the type used for the argument to
2628  *      gethostbyname().
2629  */
2630 /* Netdb_net_t:
2631  *      This symbol holds the type used for the 1st argument to
2632  *      getnetbyaddr().
2633  */
2634 #define Netdb_host_t            $netdb_host_type /**/
2635 #define Netdb_hlen_t            $netdb_hlen_type /**/
2636 #define Netdb_name_t            $netdb_name_type /**/
2637 #define Netdb_net_t             $netdb_net_type /**/
2638
2639 /* PERL_OTHERLIBDIRS:
2640  *      This variable contains a colon-separated set of paths for the perl
2641  *      binary to search for additional library files or modules.
2642  *      These directories will be tacked to the end of @INC.
2643  *      Perl will automatically search below each path for version-
2644  *      and architecture-specific directories.  See PERL_INC_VERSION_LIST
2645  *      for more details.
2646  */
2647 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs"         /**/
2648
2649 /* IVTYPE:
2650  *      This symbol defines the C type used for Perl's IV.
2651  */
2652 /* UVTYPE:
2653  *      This symbol defines the C type used for Perl's UV.
2654  */
2655 /* I8TYPE:
2656  *      This symbol defines the C type used for Perl's I8.
2657  */
2658 /* U8TYPE:
2659  *      This symbol defines the C type used for Perl's U8.
2660  */
2661 /* I16TYPE:
2662  *      This symbol defines the C type used for Perl's I16.
2663  */
2664 /* U16TYPE:
2665  *      This symbol defines the C type used for Perl's U16.
2666  */
2667 /* I32TYPE:
2668  *      This symbol defines the C type used for Perl's I32.
2669  */
2670 /* U32TYPE:
2671  *      This symbol defines the C type used for Perl's U32.
2672  */
2673 /* I64TYPE:
2674  *      This symbol defines the C type used for Perl's I64.
2675  */
2676 /* U64TYPE:
2677  *      This symbol defines the C type used for Perl's U64.
2678  */
2679 /* NVTYPE:
2680  *      This symbol defines the C type used for Perl's NV.
2681  */
2682 /* IVSIZE:
2683  *      This symbol contains the sizeof(IV).
2684  */
2685 /* UVSIZE:
2686  *      This symbol contains the sizeof(UV).
2687  */
2688 /* I8SIZE:
2689  *      This symbol contains the sizeof(I8).
2690  */
2691 /* U8SIZE:
2692  *      This symbol contains the sizeof(U8).
2693  */
2694 /* I16SIZE:
2695  *      This symbol contains the sizeof(I16).
2696  */
2697 /* U16SIZE:
2698  *      This symbol contains the sizeof(U16).
2699  */
2700 /* I32SIZE:
2701  *      This symbol contains the sizeof(I32).
2702  */
2703 /* U32SIZE:
2704  *      This symbol contains the sizeof(U32).
2705  */
2706 /* I64SIZE:
2707  *      This symbol contains the sizeof(I64).
2708  */
2709 /* U64SIZE:
2710  *      This symbol contains the sizeof(U64).
2711  */
2712 /* NVSIZE:
2713  *      This symbol contains the sizeof(NV).
2714  */
2715 /* NV_PRESERVES_UV:
2716  *      This symbol, if defined, indicates that a variable of type NVTYPE
2717  *      can preserve all the bits of a variable of type UVTYPE.
2718  */
2719 /* NV_PRESERVES_UV_BITS:
2720  *      This symbol contains the number of bits a variable of type NVTYPE
2721  *      can preserve of a variable of type UVTYPE.
2722  */
2723 #define IVTYPE          $ivtype         /**/
2724 #define UVTYPE          $uvtype         /**/
2725 #define I8TYPE          $i8type         /**/
2726 #define U8TYPE          $u8type         /**/
2727 #define I16TYPE         $i16type        /**/
2728 #define U16TYPE         $u16type        /**/
2729 #define I32TYPE         $i32type        /**/
2730 #define U32TYPE         $u32type        /**/
2731 #ifdef HAS_QUAD
2732 #define I64TYPE         $i64type        /**/
2733 #define U64TYPE         $u64type        /**/
2734 #endif
2735 #define NVTYPE          $nvtype         /**/
2736 #define IVSIZE          $ivsize         /**/
2737 #define UVSIZE          $uvsize         /**/
2738 #define I8SIZE          $i8size         /**/
2739 #define U8SIZE          $u8size         /**/
2740 #define I16SIZE         $i16size        /**/
2741 #define U16SIZE         $u16size        /**/
2742 #define I32SIZE         $i32size        /**/
2743 #define U32SIZE         $u32size        /**/
2744 #ifdef HAS_QUAD
2745 #define I64SIZE         $i64size        /**/
2746 #define U64SIZE         $u64size        /**/
2747 #endif
2748 #define NVSIZE          $nvsize         /**/
2749 #$d_nv_preserves_uv     NV_PRESERVES_UV
2750 #define NV_PRESERVES_UV_BITS    $d_nv_preserves_uv_bits
2751
2752 /* IVdf:
2753  *      This symbol defines the format string used for printing a Perl IV
2754  *      as a signed decimal integer.
2755  */
2756 /* UVuf:
2757  *      This symbol defines the format string used for printing a Perl UV
2758  *      as an unsigned decimal integer.
2759  */
2760 /* UVof:
2761  *      This symbol defines the format string used for printing a Perl UV
2762  *      as an unsigned octal integer.
2763  */
2764 /* UVxf:
2765  *      This symbol defines the format string used for printing a Perl UV
2766  *      as an unsigned hexadecimal integer in lowercase abcdef.
2767  */
2768 /* NVef:
2769  *      This symbol defines the format string used for printing a Perl NV
2770  *      using %e-ish floating point format.
2771  */
2772 /* NVff:
2773  *      This symbol defines the format string used for printing a Perl NV
2774  *      using %f-ish floating point format.
2775  */
2776 /* NVgf:
2777  *      This symbol defines the format string used for printing a Perl NV
2778  *      using %g-ish floating point format.
2779  */
2780 #define IVdf            $ivdformat              /**/
2781 #define UVuf            $uvuformat              /**/
2782 #define UVof            $uvoformat              /**/
2783 #define UVxf            $uvxformat              /**/
2784 #define NVef            $nveformat              /**/
2785 #define NVff            $nvfformat              /**/
2786 #define NVgf            $nvgformat              /**/
2787
2788 /* Pid_t:
2789  *      This symbol holds the type used to declare process ids in the kernel.
2790  *      It can be int, uint, pid_t, etc... It may be necessary to include
2791  *      <sys/types.h> to get any typedef'ed information.
2792  */
2793 #define Pid_t $pidtype          /* PID type */
2794
2795 /* PRIVLIB:
2796  *      This symbol contains the name of the private library for this package.
2797  *      The library is private in the sense that it needn't be in anyone's
2798  *      execution path, but it should be accessible by the world.  The program
2799  *      should be prepared to do ~ expansion.
2800  */
2801 /* PRIVLIB_EXP:
2802  *      This symbol contains the ~name expanded version of PRIVLIB, to be used
2803  *      in programs that are not prepared to deal with ~ expansion at run-time.
2804  */
2805 #define PRIVLIB "$privlib"              /**/
2806 #define PRIVLIB_EXP "$privlibexp"               /**/
2807
2808 /* PTRSIZE:
2809  *      This symbol contains the size of a pointer, so that the C preprocessor
2810  *      can make decisions based on it.  It will be sizeof(void *) if
2811  *      the compiler supports (void *); otherwise it will be
2812  *      sizeof(char *).
2813  */
2814 #define PTRSIZE $ptrsize                /**/
2815
2816 /* Drand01:
2817  *      This macro is to be used to generate uniformly distributed
2818  *      random numbers over the range [0., 1.[.  You may have to supply
2819  *      an 'extern double drand48();' in your program since SunOS 4.1.3
2820  *      doesn't provide you with anything relevant in it's headers.
2821  *      See HAS_DRAND48_PROTO.
2822  */
2823 /* Rand_seed_t:
2824  *      This symbol defines the type of the argument of the
2825  *      random seed function.
2826  */
2827 /* seedDrand01:
2828  *      This symbol defines the macro to be used in seeding the
2829  *      random number generator (see Drand01).
2830  */
2831 /* RANDBITS:
2832  *      This symbol indicates how many bits are produced by the
2833  *      function used to generate normalized random numbers.
2834  *      Values include 15, 16, 31, and 48.
2835  */
2836 #define Drand01()               $drand01                /**/
2837 #define Rand_seed_t             $randseedtype           /**/
2838 #define seedDrand01(x)  $seedfunc((Rand_seed_t)x)       /**/
2839 #define RANDBITS                $randbits               /**/
2840
2841 /* SELECT_MIN_BITS:
2842  *      This symbol holds the minimum number of bits operated by select.
2843  *      That is, if you do select(n, ...), how many bits at least will be
2844  *      cleared in the masks if some activity is detected.  Usually this
2845  *      is either n or 32*ceil(n/32), especially many little-endians do
2846  *      the latter.  This is only useful if you have select(), naturally.
2847  */
2848 #define SELECT_MIN_BITS         $selectminbits  /**/
2849
2850 /* Select_fd_set_t:
2851  *      This symbol holds the type used for the 2nd, 3rd, and 4th
2852  *      arguments to select.  Usually, this is 'fd_set *', if HAS_FD_SET
2853  *      is defined, and 'int *' otherwise.  This is only useful if you 
2854  *      have select(), of course.
2855  */
2856 #define Select_fd_set_t         $selecttype     /**/
2857
2858 /* SIG_NAME:
2859  *      This symbol contains a list of signal names in order of
2860  *      signal number. This is intended
2861  *      to be used as a static array initialization, like this:
2862  *              char *sig_name[] = { SIG_NAME };
2863  *      The signals in the list are separated with commas, and each signal
2864  *      is surrounded by double quotes. There is no leading SIG in the signal
2865  *      name, i.e. SIGQUIT is known as "QUIT".
2866  *      Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2867  *      etc., where nn is the actual signal number (e.g. NUM37).
2868  *      The signal number for sig_name[i] is stored in sig_num[i].
2869  *      The last element is 0 to terminate the list with a NULL.  This
2870  *      corresponds to the 0 at the end of the sig_num list.
2871  */
2872 /* SIG_NUM:
2873  *      This symbol contains a list of signal numbers, in the same order as the
2874  *      SIG_NAME list. It is suitable for static array initialization, as in:
2875  *              int sig_num[] = { SIG_NUM };
2876  *      The signals in the list are separated with commas, and the indices
2877  *      within that list and the SIG_NAME list match, so it's easy to compute
2878  *      the signal name from a number or vice versa at the price of a small
2879  *      dynamic linear lookup. 
2880  *      Duplicates are allowed, but are moved to the end of the list.
2881  *      The signal number corresponding to sig_name[i] is sig_number[i].
2882  *      if (i < NSIG) then sig_number[i] == i.  
2883  *      The last element is 0, corresponding to the 0 at the end of
2884  *      the sig_name list.
2885  */
2886 #define SIG_NAME $sig_name_init         /**/
2887 #define SIG_NUM  $sig_num_init          /**/
2888
2889 /* SITEARCH:
2890  *      This symbol contains the name of the private library for this package.
2891  *      The library is private in the sense that it needn't be in anyone's
2892  *      execution path, but it should be accessible by the world.  The program
2893  *      should be prepared to do ~ expansion.
2894  *      The standard distribution will put nothing in this directory.
2895  *      After perl has been installed, users may install their own local
2896  *      architecture-dependent modules in this directory with
2897  *              MakeMaker Makefile.PL
2898  *      or equivalent.  See INSTALL for details.
2899  */
2900 /* SITEARCH_EXP:
2901  *      This symbol contains the ~name expanded version of SITEARCH, to be used
2902  *      in programs that are not prepared to deal with ~ expansion at run-time.
2903  */
2904 #define SITEARCH "$sitearch"            /**/
2905 #define SITEARCH_EXP "$sitearchexp"             /**/
2906
2907 /* SITELIB:
2908  *      This symbol contains the name of the private library for this package.
2909  *      The library is private in the sense that it needn't be in anyone's
2910  *      execution path, but it should be accessible by the world.  The program
2911  *      should be prepared to do ~ expansion.
2912  *      The standard distribution will put nothing in this directory.
2913  *      After perl has been installed, users may install their own local
2914  *      architecture-independent modules in this directory with
2915  *              MakeMaker Makefile.PL
2916  *      or equivalent.  See INSTALL for details.
2917  */
2918 /* SITELIB_EXP:
2919  *      This symbol contains the ~name expanded version of SITELIB, to be used
2920  *      in programs that are not prepared to deal with ~ expansion at run-time.
2921  */
2922 /* SITELIB_STEM:
2923  *      This define is SITELIB_EXP with any trailing version-specific component
2924  *      removed.  The elements in inc_version_list (inc_version_list.U) can
2925  *      be tacked onto this variable to generate a list of directories to search.
2926  */
2927 #define SITELIB "$sitelib"              /**/
2928 #define SITELIB_EXP "$sitelibexp"               /**/
2929 #define SITELIB_STEM "$sitelib_stem"            /**/
2930
2931 /* Size_t_size:
2932  *      This symbol holds the size of a Size_t in bytes.
2933  */
2934 #define Size_t_size $sizesize           /* */
2935
2936 /* Size_t:
2937  *      This symbol holds the type used to declare length parameters
2938  *      for string functions.  It is usually size_t, but may be
2939  *      unsigned long, int, etc.  It may be necessary to include
2940  *      <sys/types.h> to get any typedef'ed information.
2941  */
2942 #define Size_t $sizetype         /* length paramater for string functions */
2943
2944 /* Sock_size_t:
2945  *      This symbol holds the type used for the size argument of
2946  *      various socket calls (just the base type, not the pointer-to).
2947  */
2948 #define Sock_size_t             $socksizetype /**/
2949
2950 /* SSize_t:
2951  *      This symbol holds the type used by functions that return
2952  *      a count of bytes or an error condition.  It must be a signed type.
2953  *      It is usually ssize_t, but may be long or int, etc.
2954  *      It may be necessary to include <sys/types.h> or <unistd.h>
2955  *      to get any typedef'ed information.
2956  *      We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
2957  */
2958 #define SSize_t $ssizetype       /* signed count of bytes */
2959
2960 /* STARTPERL:
2961  *      This variable contains the string to put in front of a perl
2962  *      script to make sure (one hopes) that it runs with perl and not
2963  *      some shell.
2964  */
2965 #define STARTPERL "$startperl"          /**/
2966
2967 /* HAS_STDIO_STREAM_ARRAY:
2968  *      This symbol, if defined, tells that there is an array
2969  *      holding the stdio streams.
2970  */
2971 /* STDIO_STREAM_ARRAY:
2972  *      This symbol tells the name of the array holding the stdio streams.
2973  *      Usual values include _iob, __iob, and __sF.
2974  */
2975 #$d_stdio_stream_array  HAS_STDIO_STREAM_ARRAY  /**/
2976 #define STDIO_STREAM_ARRAY      $stdio_stream_array
2977
2978 /* Uid_t_f:
2979  *      This symbol defines the format string used for printing a Uid_t.
2980  */
2981 #define Uid_t_f         $uidformat              /**/
2982
2983 /* Uid_t_sign:
2984  *      This symbol holds the signedess of a Uid_t.
2985  *      1 for unsigned, -1 for signed.
2986  */
2987 #define Uid_t_sign      $uidsign                /* UID sign */
2988
2989 /* Uid_t_size:
2990  *      This symbol holds the size of a Uid_t in bytes.
2991  */
2992 #define Uid_t_size $uidsize             /* UID size */
2993
2994 /* Uid_t:
2995  *      This symbol holds the type used to declare user ids in the kernel.
2996  *      It can be int, ushort, uid_t, etc... It may be necessary to include
2997  *      <sys/types.h> to get any typedef'ed information.
2998  */
2999 #define Uid_t $uidtype          /* UID type */
3000
3001 /* USE_64_BIT_INT:
3002  *      This symbol, if defined, indicates that 64-bit integers should
3003  *      be used when available.  If not defined, the native integers
3004  *      will be employed (be they 32 or 64 bits).  The minimal possible
3005  *      64-bitness is used, just enough to get 64-bit integers into Perl.
3006  *      This may mean using for example "long longs", while your memory
3007  *      may still be limited to 2 gigabytes.
3008  */
3009 /* USE_64_BIT_ALL:
3010  *      This symbol, if defined, indicates that 64-bit integers should
3011  *      be used when available.  If not defined, the native integers
3012  *      will be used (be they 32 or 64 bits).  The maximal possible
3013  *      64-bitness is employed: LP64 or ILP64, meaning that you will
3014  *      be able to use more than 2 gigabytes of memory.  This mode is
3015  *      even more binary incompatible than USE_64_BIT_INT. You may not
3016  *      be able to run the resulting executable in a 32-bit CPU at all or
3017  *      you may need at least to reboot your OS to 64-bit mode.
3018  */
3019 #ifndef USE_64_BIT_INT
3020 #$use64bitint   USE_64_BIT_INT          /**/
3021 #endif
3022
3023 #ifndef USE_64_BIT_ALL
3024 #$use64bitall   USE_64_BIT_ALL          /**/
3025 #endif
3026
3027 /* USE_LARGE_FILES:
3028  *      This symbol, if defined, indicates that large file support
3029  *      should be used when available.
3030  */
3031 #ifndef USE_LARGE_FILES
3032 #$uselargefiles USE_LARGE_FILES         /**/
3033 #endif
3034
3035 /* USE_LONG_DOUBLE:
3036  *      This symbol, if defined, indicates that long doubles should
3037  *      be used when available.
3038  */
3039 #ifndef USE_LONG_DOUBLE
3040 #$uselongdouble USE_LONG_DOUBLE         /**/
3041 #endif
3042
3043 /* USE_MORE_BITS:
3044  *      This symbol, if defined, indicates that 64-bit interfaces and
3045  *      long doubles should be used when available.
3046  */
3047 #ifndef USE_MORE_BITS
3048 #$usemorebits   USE_MORE_BITS           /**/
3049 #endif
3050
3051 /* MULTIPLICITY:
3052  *      This symbol, if defined, indicates that Perl should
3053  *      be built to use multiplicity.
3054  */
3055 #ifndef MULTIPLICITY
3056 #$usemultiplicity       MULTIPLICITY            /**/
3057 #endif
3058
3059 /* USE_PERLIO:
3060  *      This symbol, if defined, indicates that the PerlIO abstraction should
3061  *      be used throughout.  If not defined, stdio should be
3062  *      used in a fully backward compatible manner.
3063  */
3064 #ifndef USE_PERLIO
3065 #$useperlio     USE_PERLIO              /**/
3066 #endif
3067
3068 /* USE_SOCKS:
3069  *      This symbol, if defined, indicates that Perl should
3070  *      be built to use socks.
3071  */
3072 #ifndef USE_SOCKS
3073 #$usesocks      USE_SOCKS               /**/
3074 #endif
3075
3076 /* USE_ITHREADS:
3077  *      This symbol, if defined, indicates that Perl should be built to
3078  *      use the interpreter-based threading implementation.
3079  */
3080 /* USE_5005THREADS:
3081  *      This symbol, if defined, indicates that Perl should be built to
3082  *      use the 5.005-based threading implementation.
3083  */
3084 /* OLD_PTHREADS_API:
3085  *      This symbol, if defined, indicates that Perl should
3086  *      be built to use the old draft POSIX threads API.
3087  */
3088 #$use5005threads        USE_5005THREADS         /**/
3089 #$useithreads   USE_ITHREADS            /**/
3090 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3091 #define         USE_THREADS             /* until src is revised*/
3092 #endif
3093 #$d_oldpthreads OLD_PTHREADS_API                /**/
3094
3095 /* PERL_VENDORARCH:
3096  *      If defined, this symbol contains the name of a private library.
3097  *      The library is private in the sense that it needn't be in anyone's
3098  *      execution path, but it should be accessible by the world.
3099  *      It may have a ~ on the front. 
3100  *      The standard distribution will put nothing in this directory.
3101  *      Vendors who distribute perl may wish to place their own
3102  *      architecture-dependent modules and extensions in this directory with
3103  *              MakeMaker Makefile.PL INSTALLDIRS=vendor 
3104  *      or equivalent.  See INSTALL for details.
3105  */
3106 /* PERL_VENDORARCH_EXP:
3107  *      This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3108  *      in programs that are not prepared to deal with ~ expansion at run-time.
3109  */
3110 #$d_vendorarch PERL_VENDORARCH "$vendorarch"            /**/
3111 #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp"             /**/
3112
3113 /* PERL_VENDORLIB_EXP:
3114  *      This symbol contains the ~name expanded version of VENDORLIB, to be used
3115  *      in programs that are not prepared to deal with ~ expansion at run-time.
3116  */
3117 /* PERL_VENDORLIB_STEM:
3118  *      This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3119  *      removed.  The elements in inc_version_list (inc_version_list.U) can
3120  *      be tacked onto this variable to generate a list of directories to search.
3121  */
3122 #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp"                /**/
3123 #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem"             /**/
3124
3125 /* VOIDFLAGS:
3126  *      This symbol indicates how much support of the void type is given by this
3127  *      compiler.  What various bits mean:
3128  *
3129  *          1 = supports declaration of void
3130  *          2 = supports arrays of pointers to functions returning void
3131  *          4 = supports comparisons between pointers to void functions and
3132  *                  addresses of void functions
3133  *          8 = suports declaration of generic void pointers
3134  *
3135  *      The package designer should define VOIDUSED to indicate the requirements
3136  *      of the package.  This can be done either by #defining VOIDUSED before
3137  *      including config.h, or by defining defvoidused in Myinit.U.  If the
3138  *      latter approach is taken, only those flags will be tested.  If the
3139  *      level of void support necessary is not present, defines void to int.
3140  */
3141 #ifndef VOIDUSED
3142 #define VOIDUSED $defvoidused
3143 #endif
3144 #define VOIDFLAGS $voidflags
3145 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3146 #define void int                /* is void to be avoided? */
3147 #define M_VOID                  /* Xenix strikes again */
3148 #endif
3149
3150 /* PERL_XS_APIVERSION:
3151  *      This variable contains the version of the oldest perl binary
3152  *      compatible with the present perl.  perl.c:incpush() and
3153  *      lib/lib.pm will automatically search in $sitearch for older
3154  *      directories across major versions back to xs_apiversion.
3155  *      This is only useful if you have a perl library directory tree
3156  *      structured like the default one.
3157  *      See INSTALL for how this works.
3158  *      The versioned site_perl directory was introduced in 5.005,
3159  *      so that is the lowest possible value.
3160  *      Since this can depend on compile time options (such as
3161  *      bincompat) it is set by Configure.  Other non-default sources
3162  *      of potential incompatibility, such as multiplicity, threads,
3163  *      debugging, 64bits, sfio, etc., are not checked for currently,
3164  *      though in principle we could go snooping around in old
3165  *      Config.pm files.
3166  */
3167 /* PERL_PM_APIVERSION:
3168  *      This variable contains the version of the oldest perl
3169  *      compatible with the present perl.  (That is, pure perl modules
3170  *      written for pm_apiversion will still work for the current
3171  *      version).  perl.c:incpush() and lib/lib.pm will automatically
3172  *      search in $sitelib for older directories across major versions
3173  *      back to pm_apiversion.  This is only useful if you have a perl
3174  *      library directory tree structured like the default one.  The
3175  *      versioned site_perl library was introduced in 5.005, so that's
3176  *      the default setting for this variable.  It's hard to imagine
3177  *      it changing before Perl6.  It is included here for symmetry
3178  *      with xs_apiveprsion -- the searching algorithms will
3179  *      (presumably) be similar.
3180  *      See the INSTALL file for how this works.
3181  */
3182 #define PERL_XS_APIVERSION "$xs_apiversion"
3183 #define PERL_PM_APIVERSION "$pm_apiversion"
3184
3185 /* HAS_GETPGRP:
3186  *      This symbol, if defined, indicates that the getpgrp routine is
3187  *      available to get the current process group.
3188  */
3189 /* USE_BSD_GETPGRP:
3190  *      This symbol, if defined, indicates that getpgrp needs one
3191  *      arguments whereas USG one needs none.
3192  */
3193 #$d_getpgrp HAS_GETPGRP         /**/
3194 #$d_bsdgetpgrp USE_BSD_GETPGRP  /**/
3195
3196 /* HAS_SETPGRP:
3197  *      This symbol, if defined, indicates that the setpgrp routine is
3198  *      available to set the current process group.
3199  */
3200 /* USE_BSD_SETPGRP:
3201  *      This symbol, if defined, indicates that setpgrp needs two
3202  *      arguments whereas USG one needs none.  See also HAS_SETPGID
3203  *      for a POSIX interface.
3204  */
3205 #$d_setpgrp HAS_SETPGRP         /**/
3206 #$d_bsdsetpgrp USE_BSD_SETPGRP  /**/
3207
3208 /* STDCHAR:
3209  *      This symbol is defined to be the type of char used in stdio.h.
3210  *      It has the values "unsigned char" or "char".
3211  */
3212 #define STDCHAR $stdchar        /**/
3213
3214 /* HAS__FWALK:
3215  *      This symbol, if defined, indicates that the _fwalk system call is
3216  *      available to apply a function to all the file handles.
3217  */
3218 #$d__fwalk HAS__FWALK           /**/
3219
3220 /* FCNTL_CAN_LOCK:
3221  *      This symbol, if defined, indicates that fcntl() can be used
3222  *      for file locking.  Normally on Unix systems this is defined.
3223  *      It may be undefined on VMS.
3224  */
3225 #$d_fcntl_can_lock FCNTL_CAN_LOCK               /**/
3226
3227 /* HAS_FSYNC:
3228  *      This symbol, if defined, indicates that the fsync routine is
3229  *      available to write a file's modified data and attributes to
3230  *      permanent storage.
3231  */
3232 #$d_fsync HAS_FSYNC             /**/
3233
3234 /* HAS_SBRK_PROTO:
3235  *      This symbol, if defined, indicates that the system provides
3236  *      a prototype for the sbrk() function.  Otherwise, it is up
3237  *      to the program to supply one.  Good guesses are
3238  *              extern void* sbrk _((int));
3239  *              extern void* sbrk _((size_t));
3240  */
3241 #$d_sbrkproto   HAS_SBRK_PROTO  /**/
3242
3243 /* NEED_VA_COPY:
3244  *      This symbol, if defined, indicates that the system stores
3245  *      the variable argument list datatype, va_list, in a format
3246  *      that cannot be copied by simple assignment, so that some
3247  *      other means must be used when copying is required.
3248  *      As such systems vary in their provision (or non-provision)
3249  *      of copying mechanisms, handy.h defines a platform-
3250  *      independent macro, Perl_va_copy(src, dst), to do the job.
3251  */
3252 #$need_va_copy  NEED_VA_COPY            /**/
3253
3254 #endif
3255 !GROK!THIS!