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