Let Configure sort out get{host,net}byaddr* prototypes:
[p5sagit/p5-mst-13.2.git] / config_h.SH
1 case $CONFIG in
2 '')
3         if test -f config.sh; then TOP=.;
4         elif test -f ../config.sh; then TOP=..;
5         elif test -f ../../config.sh; then TOP=../..;
6         elif test -f ../../../config.sh; then TOP=../../..;
7         elif test -f ../../../../config.sh; then TOP=../../../..;
8         else
9                 echo "Can't find config.sh."; exit 1
10         fi
11         . $TOP/config.sh
12         ;;
13 esac
14 case "$0" in
15 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
16 esac
17 echo "Extracting config.h (with variable substitutions)"
18 sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
19 /*
20  * This file was produced by running the config_h.SH script, which
21  * gets its values from config.sh, which is generally produced by
22  * running Configure.
23  *
24  * Feel free to modify any of this as the need arises.  Note, however,
25  * that running config_h.SH again will wipe out any changes you've made.
26  * For a more permanent change edit config.sh and rerun config_h.SH.
27  *
28  * \$Id: Config_h.U,v 3.0.1.4 1995/09/25 09:10:49 ram Exp $
29  */
30
31 /* Configuration time: $cf_time
32  * Configured by: $cf_by
33  * Target system: $myuname
34  */
35
36 #ifndef _config_h_
37 #define _config_h_
38
39 /* MEM_ALIGNBYTES:
40  *      This symbol contains the number of bytes required to align a
41  *      double. Usual values are 2, 4 and 8.
42  *      On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
43  *      Binaries (MAB) for targets with varying alignment.  This only matters
44  *      for perl, where the config.h can be generated and installed on one
45  *      system, and used by a different architecture to build an extension.
46  *      The default is eight, for safety.
47  */
48 #ifndef NeXT
49 #define MEM_ALIGNBYTES $alignbytes      /**/
50 #else  /* NeXT */
51 #ifdef __m68k__
52 #define MEM_ALIGNBYTES 2
53 #else
54 #ifdef __i386__
55 #define MEM_ALIGNBYTES 4
56 #else /* __hppa__, __sparc__ and default for unknown architectures */
57 #define MEM_ALIGNBYTES 8
58 #endif /* __i386__ */
59 #endif /* __m68k__ */
60 #endif /* NeXT */
61
62 /* ARCHNAME:
63  *      This symbol holds a string representing the architecture name.
64  *      It may be used to construct an architecture-dependant pathname
65  *      where library files may be held under a private library, for
66  *      instance.
67  */
68 #define ARCHNAME "$archname"            /**/
69
70 /* BIN:
71  *      This symbol holds the path of the bin directory where the package will
72  *      be installed. Program must be prepared to deal with ~name substitution.
73  */
74 /* BIN_EXP:
75  *      This symbol is the filename expanded version of the BIN symbol, for
76  *      programs that do not want to deal with that at run-time.
77  */
78 #define BIN "$bin"      /**/
79 #define BIN_EXP "$binexp"       /**/
80
81 /* CAT2:
82  *      This macro catenates 2 tokens together.
83  */
84 /* STRINGIFY:
85  *      This macro surrounds its token with double quotes.
86  */
87 #if $cpp_stuff == 1
88 #define CAT2(a,b)a/**/b
89 #define CAT3(a,b,c)a/**/b/**/c
90 #define CAT4(a,b,c,d)a/**/b/**/c/**/d
91 #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
92 #define STRINGIFY(a)"a"
93                 /* If you can get stringification with catify, tell me how! */
94 #endif
95 #if $cpp_stuff == 42
96 #define CAT2(a,b)a ## b
97 #define CAT3(a,b,c)a ## b ## c
98 #define CAT4(a,b,c,d)a ## b ## c ## d
99 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
100 #define StGiFy(a)# a
101 #define STRINGIFY(a)StGiFy(a)
102 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
103 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
104 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
105 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
106 #endif
107 #ifndef CAT2
108 #include "Bletch: How does this C preprocessor catenate tokens?"
109 #endif
110
111 /* CPPSTDIN:
112  *      This symbol contains the first part of the string which will invoke
113  *      the C preprocessor on the standard input and produce to standard
114  *      output.  Typical value of "cc -E" or "/lib/cpp", but it can also
115  *      call a wrapper. See CPPRUN.
116  */
117 /* CPPMINUS:
118  *      This symbol contains the second part of the string which will invoke
119  *      the C preprocessor on the standard input and produce to standard
120  *      output.  This symbol will have the value "-" if CPPSTDIN needs a minus
121  *      to specify standard input, otherwise the value is "".
122  */
123 #define CPPSTDIN "$cppstdin"
124 #define CPPMINUS "$cppminus"
125
126 /* HAS_ALARM:
127  *      This symbol, if defined, indicates that the alarm routine is
128  *      available.
129  */
130 #$d_alarm HAS_ALARM             /**/
131
132 /* HASATTRIBUTE:
133  *      This symbol indicates the C compiler can check for function attributes,
134  *      such as printf formats. This is normally only supported by GNU cc.
135  */
136 #$d_attribut HASATTRIBUTE       /**/
137 #ifndef HASATTRIBUTE
138 #define __attribute__(_arg_)
139 #endif
140
141 /* HAS_BCMP:
142  *      This symbol is defined if the bcmp() routine is available to
143  *      compare blocks of memory.
144  */
145 #$d_bcmp HAS_BCMP       /**/
146
147 /* HAS_BCOPY:
148  *      This symbol is defined if the bcopy() routine is available to
149  *      copy blocks of memory.
150  */
151 #$d_bcopy HAS_BCOPY     /**/
152
153 /* HAS_BZERO:
154  *      This symbol is defined if the bzero() routine is available to
155  *      set a memory block to 0.
156  */
157 #$d_bzero HAS_BZERO     /**/
158
159 /* CASTI32:
160  *      This symbol is defined if the C compiler can cast negative
161  *      or large floating point numbers to 32-bit ints.
162  */
163 #$d_casti32     CASTI32         /**/
164
165 /* CASTNEGFLOAT:
166  *      This symbol is defined if the C compiler can cast negative
167  *      numbers to unsigned longs, ints and shorts.
168  */
169 /* CASTFLAGS:
170  *      This symbol contains flags that say what difficulties the compiler
171  *      has casting odd floating values to unsigned long:
172  *              0 = ok
173  *              1 = couldn't cast < 0
174  *              2 = couldn't cast >= 0x80000000
175  *              4 = couldn't cast in argument expression list
176  */
177 #$d_castneg     CASTNEGFLOAT            /**/
178 #define CASTFLAGS $castflags            /**/
179
180 /* HAS_CHOWN:
181  *      This symbol, if defined, indicates that the chown routine is
182  *      available.
183  */
184 #$d_chown HAS_CHOWN             /**/
185
186 /* HAS_CHROOT:
187  *      This symbol, if defined, indicates that the chroot routine is
188  *      available.
189  */
190 #$d_chroot HAS_CHROOT           /**/
191
192 /* HAS_CHSIZE:
193  *      This symbol, if defined, indicates that the chsize routine is available
194  *      to truncate files.  You might need a -lx to get this routine.
195  */
196 #$d_chsize      HAS_CHSIZE              /**/
197
198 /* VOID_CLOSEDIR:
199  *      This symbol, if defined, indicates that the closedir() routine
200  *      does not return a value.
201  */
202 #$d_void_closedir VOID_CLOSEDIR         /**/
203
204 /* HASCONST:
205  *      This symbol, if defined, indicates that this C compiler knows about
206  *      the const type. There is no need to actually test for that symbol
207  *      within your programs. The mere use of the "const" keyword will
208  *      trigger the necessary tests.
209  */
210 #$d_const HASCONST      /**/
211 #ifndef HASCONST
212 #define const
213 #endif
214
215 /* HAS_CRYPT:
216  *      This symbol, if defined, indicates that the crypt routine is available
217  *      to encrypt passwords and the like.
218  */
219 #$d_crypt HAS_CRYPT             /**/
220
221 /* HAS_CUSERID:
222  *      This symbol, if defined, indicates that the cuserid routine is
223  *      available to get character login names.
224  */
225 #$d_cuserid HAS_CUSERID         /**/
226
227 /* HAS_DBL_DIG:
228  *      This symbol, if defined, indicates that this system's <float.h>
229  *      or <limits.h> defines the symbol DBL_DIG, which is the number
230  *      of significant digits in a double precision number.  If this
231  *      symbol is not defined, a guess of 15 is usually pretty good.
232  */
233 #$d_dbl_dig HAS_DBL_DIG         /* */
234
235 /* HAS_DIFFTIME:
236  *      This symbol, if defined, indicates that the difftime routine is
237  *      available.
238  */
239 #$d_difftime HAS_DIFFTIME               /**/
240
241 /* HAS_DLERROR:
242  *      This symbol, if defined, indicates that the dlerror routine is
243  *      available to return a string describing the last error that
244  *      occurred from a call to dlopen(), dlclose() or dlsym().
245  */
246 #$d_dlerror HAS_DLERROR /**/
247
248 /* HAS_DUP2:
249  *      This symbol, if defined, indicates that the dup2 routine is
250  *      available to duplicate file descriptors.
251  */
252 #$d_dup2 HAS_DUP2       /**/
253
254 /* HAS_FCHMOD:
255  *      This symbol, if defined, indicates that the fchmod routine is available
256  *      to change mode of opened files.  If unavailable, use chmod().
257  */
258 #$d_fchmod HAS_FCHMOD           /**/
259
260 /* HAS_FCHOWN:
261  *      This symbol, if defined, indicates that the fchown routine is available
262  *      to change ownership of opened files.  If unavailable, use chown().
263  */
264 #$d_fchown HAS_FCHOWN           /**/
265
266 /* HAS_FCNTL:
267  *      This symbol, if defined, indicates to the C program that
268  *      the fcntl() function exists.
269  */
270 #$d_fcntl HAS_FCNTL             /**/
271
272 /* HAS_FGETPOS:
273  *      This symbol, if defined, indicates that the fgetpos routine is
274  *      available to get the file position indicator, similar to ftell().
275  */
276 #$d_fgetpos HAS_FGETPOS /**/
277
278 /* FLEXFILENAMES:
279  *      This symbol, if defined, indicates that the system supports filenames
280  *      longer than 14 characters.
281  */
282 #$d_flexfnam    FLEXFILENAMES           /**/
283
284 /* HAS_FLOCK:
285  *      This symbol, if defined, indicates that the flock routine is
286  *      available to do file locking.
287  */
288 #$d_flock HAS_FLOCK             /**/
289
290 /* HAS_FORK:
291  *      This symbol, if defined, indicates that the fork routine is
292  *      available.
293  */
294 #$d_fork HAS_FORK               /**/
295
296 /* HAS_FSETPOS:
297  *      This symbol, if defined, indicates that the fsetpos routine is
298  *      available to set the file position indicator, similar to fseek().
299  */
300 #$d_fsetpos HAS_FSETPOS /**/
301
302 /* HAS_GETTIMEOFDAY:
303  *      This symbol, if defined, indicates that the gettimeofday() system
304  *      call is available for a sub-second accuracy clock. Usually, the file
305  *      <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
306  *      The type "Timeval" should be used to refer to "struct timeval".
307  */
308 #$d_gettimeod HAS_GETTIMEOFDAY  /**/
309 #ifdef HAS_GETTIMEOFDAY
310 #define Timeval struct timeval  /* Structure used by gettimeofday() */
311 #endif
312
313 /* HAS_GETGROUPS:
314  *      This symbol, if defined, indicates that the getgroups() routine is
315  *      available to get the list of process groups.  If unavailable, multiple
316  *      groups are probably not supported.
317  */
318 /* HAS_SETGROUPS:
319  *      This symbol, if defined, indicates that the setgroups() routine is
320  *      available to set the list of process groups.  If unavailable, multiple
321  *      groups are probably not supported.
322  */
323 #$d_getgrps HAS_GETGROUPS               /**/
324 #$d_setgrps HAS_SETGROUPS               /**/
325
326 /* HAS_GETHOSTENT:
327  *      This symbol, if defined, indicates that the gethostent routine is
328  *      available to lookup host names in some data base or other.
329  */
330 #$d_gethent HAS_GETHOSTENT              /**/
331
332 /* HAS_GETHBADD:
333  *      This symbol, if defined, indicates that the gethostbyaddr routine is
334  *      available to lookup host names by their IP addresses.
335  */
336 #$d_gethbadd HAS_GETHBADD               /**/
337
338 /* Gethbadd_addr_t:
339  *      This symbol holds the type used for the 1st argument
340  *      to gethostbyaddr().
341  */
342 #define Gethbadd_addr_t         $gethbadd_addr_type
343
344 /* Gethbadd_alen_t:
345  *      This symbol holds the type used for the 2nd argument
346  *      to gethostbyaddr().
347  */
348 #define Gethbadd_alen_t         $gethbadd_alen_type
349
350 /* HAS_GETNBADD:
351  *      This symbol, if defined, indicates that the getnetbyaddr routine is
352  *      available to lookup networks by their IP addresses.
353  */
354 #$d_getnbadd HAS_GETNBADD               /**/
355
356 /* Gethbadd_net_t:
357  *      This symbol holds the type used for the 1st argument
358  *      to getnetbyaddr().
359  */
360 #define Getnbadd_net_t          $getnbadd_net_type
361
362 /* HAS_UNAME:
363  *      This symbol, if defined, indicates that the C program may use the
364  *      uname() routine to derive the host name.  See also HAS_GETHOSTNAME
365  *      and PHOSTNAME.
366  */
367 #$d_uname HAS_UNAME             /**/
368
369 /* HAS_GETLOGIN:
370  *      This symbol, if defined, indicates that the getlogin routine is
371  *      available to get the login name.
372  */
373 #$d_getlogin HAS_GETLOGIN               /**/
374
375 /* HAS_GETPGRP2:
376  *      This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
377  *      routine is available to get the current process group.
378  */
379 #$d_getpgrp2 HAS_GETPGRP2               /**/
380
381 /* HAS_GETPPID:
382  *      This symbol, if defined, indicates that the getppid routine is
383  *      available to get the parent process ID.
384  */
385 #$d_getppid HAS_GETPPID         /**/
386
387 /* HAS_GETPRIORITY:
388  *      This symbol, if defined, indicates that the getpriority routine is
389  *      available to get a process's priority.
390  */
391 #$d_getprior HAS_GETPRIORITY            /**/
392
393 /* HAS_HTONL:
394  *      This symbol, if defined, indicates that the htonl() routine (and
395  *      friends htons() ntohl() ntohs()) are available to do network
396  *      order byte swapping.
397  */
398 /* HAS_HTONS:
399  *      This symbol, if defined, indicates that the htons() routine (and
400  *      friends htonl() ntohl() ntohs()) are available to do network
401  *      order byte swapping.
402  */
403 /* HAS_NTOHL:
404  *      This symbol, if defined, indicates that the ntohl() routine (and
405  *      friends htonl() htons() ntohs()) are available to do network
406  *      order byte swapping.
407  */
408 /* HAS_NTOHS:
409  *      This symbol, if defined, indicates that the ntohs() routine (and
410  *      friends htonl() htons() ntohl()) are available to do network
411  *      order byte swapping.
412  */
413 #$d_htonl HAS_HTONL             /**/
414 #$d_htonl HAS_HTONS             /**/
415 #$d_htonl HAS_NTOHL             /**/
416 #$d_htonl HAS_NTOHS             /**/
417
418 /* HAS_ISASCII:
419  *      This manifest constant lets the C program know that isascii 
420  *      is available.
421  */
422 #$d_isascii HAS_ISASCII         /**/
423
424 /* HAS_KILLPG:
425  *      This symbol, if defined, indicates that the killpg routine is available
426  *      to kill process groups.  If unavailable, you probably should use kill
427  *      with a negative process number.
428  */
429 #$d_killpg HAS_KILLPG   /**/
430
431 /* HAS_LINK:
432  *      This symbol, if defined, indicates that the link routine is
433  *      available to create hard links.
434  */
435 #$d_link HAS_LINK       /**/
436
437 /* HAS_LOCALECONV:
438  *      This symbol, if defined, indicates that the localeconv routine is
439  *      available for numeric and monetary formatting conventions.
440  */
441 #$d_locconv HAS_LOCALECONV      /**/
442
443 /* HAS_LOCKF:
444  *      This symbol, if defined, indicates that the lockf routine is
445  *      available to do file locking.
446  */
447 #$d_lockf HAS_LOCKF             /**/
448
449 /* HAS_LSTAT:
450  *      This symbol, if defined, indicates that the lstat routine is
451  *      available to do file stats on symbolic links.
452  */
453 #$d_lstat HAS_LSTAT             /**/
454
455 /* HAS_MBLEN:
456  *      This symbol, if defined, indicates that the mblen routine is available
457  *      to find the number of bytes in a multibye character.
458  */
459 #$d_mblen HAS_MBLEN             /**/
460
461 /* HAS_MBSTOWCS:
462  *      This symbol, if defined, indicates that the mbstowcs routine is
463  *      available to covert a multibyte string into a wide character string.
464  */
465 #$d_mbstowcs    HAS_MBSTOWCS            /**/
466
467 /* HAS_MBTOWC:
468  *      This symbol, if defined, indicates that the mbtowc routine is available
469  *      to covert a multibyte to a wide character.
470  */
471 #$d_mbtowc HAS_MBTOWC           /**/
472
473 /* HAS_MEMCMP:
474  *      This symbol, if defined, indicates that the memcmp routine is available
475  *      to compare blocks of memory.
476  */
477 #$d_memcmp HAS_MEMCMP   /**/
478
479 /* HAS_MEMCPY:
480  *      This symbol, if defined, indicates that the memcpy routine is available
481  *      to copy blocks of memory.
482  */
483 #$d_memcpy HAS_MEMCPY   /**/
484
485 /* HAS_MEMMOVE:
486  *      This symbol, if defined, indicates that the memmove routine is available
487  *      to copy potentially overlapping blocks of memory. This should be used
488  *      only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
489  *      own version.
490  */
491 #$d_memmove HAS_MEMMOVE /**/
492
493 /* HAS_MEMSET:
494  *      This symbol, if defined, indicates that the memset routine is available
495  *      to set blocks of memory.
496  */
497 #$d_memset HAS_MEMSET   /**/
498
499 /* HAS_MKDIR:
500  *      This symbol, if defined, indicates that the mkdir routine is available
501  *      to create directories.  Otherwise you should fork off a new process to
502  *      exec /bin/mkdir.
503  */
504 #$d_mkdir HAS_MKDIR             /**/
505
506 /* HAS_MKFIFO:
507  *      This symbol, if defined, indicates that the mkfifo routine is
508  *      available to create FIFOs. Otherwise, mknod should be able to
509  *      do it for you. However, if mkfifo is there, mknod might require
510  *      super-user privileges which mkfifo will not.
511  */
512 #$d_mkfifo HAS_MKFIFO           /**/
513
514 /* HAS_MKTIME:
515  *      This symbol, if defined, indicates that the mktime routine is
516  *      available.
517  */
518 #$d_mktime HAS_MKTIME           /**/
519
520 /* HAS_MSG:
521  *      This symbol, if defined, indicates that the entire msg*(2) library is
522  *      supported (IPC mechanism based on message queues).
523  */
524 #$d_msg HAS_MSG         /**/
525
526 /* HAS_NICE:
527  *      This symbol, if defined, indicates that the nice routine is
528  *      available.
529  */
530 #$d_nice HAS_NICE               /**/
531
532 /* HAS_OPEN3:
533  *      This manifest constant lets the C program know that the three
534  *      argument form of open(2) is available.
535  */
536 #$d_open3 HAS_OPEN3             /**/
537
538 /* HAS_PATHCONF:
539  *      This symbol, if defined, indicates that pathconf() is available
540  *      to determine file-system related limits and options associated
541  *      with a given filename.
542  */
543 /* HAS_FPATHCONF:
544  *      This symbol, if defined, indicates that pathconf() is available
545  *      to determine file-system related limits and options associated
546  *      with a given open file descriptor.
547  */
548 #$d_pathconf HAS_PATHCONF               /**/
549 #$d_fpathconf HAS_FPATHCONF             /**/
550
551 /* HAS_PAUSE:
552  *      This symbol, if defined, indicates that the pause routine is
553  *      available to suspend a process until a signal is received.
554  */
555 #$d_pause HAS_PAUSE             /**/
556
557 /* HAS_PIPE:
558  *      This symbol, if defined, indicates that the pipe routine is
559  *      available to create an inter-process channel.
560  */
561 #$d_pipe HAS_PIPE               /**/
562
563 /* HAS_POLL:
564  *      This symbol, if defined, indicates that the poll routine is
565  *      available to poll active file descriptors.
566  */
567 #$d_poll HAS_POLL               /**/
568
569 /* HAS_READDIR:
570  *      This symbol, if defined, indicates that the readdir routine is
571  *      available to read directory entries. You may have to include
572  *      <dirent.h>. See I_DIRENT.
573  */
574 #$d_readdir HAS_READDIR         /**/
575
576 /* HAS_SEEKDIR:
577  *      This symbol, if defined, indicates that the seekdir routine is
578  *      available. You may have to include <dirent.h>. See I_DIRENT.
579  */
580 #$d_seekdir HAS_SEEKDIR         /**/
581
582 /* HAS_TELLDIR:
583  *      This symbol, if defined, indicates that the telldir routine is
584  *      available. You may have to include <dirent.h>. See I_DIRENT.
585  */
586 #$d_telldir HAS_TELLDIR         /**/
587
588 /* HAS_REWINDDIR:
589  *      This symbol, if defined, indicates that the rewinddir routine is
590  *      available. You may have to include <dirent.h>. See I_DIRENT.
591  */
592 #$d_rewinddir HAS_REWINDDIR             /**/
593
594 /* HAS_READLINK:
595  *      This symbol, if defined, indicates that the readlink routine is
596  *      available to read the value of a symbolic link.
597  */
598 #$d_readlink HAS_READLINK               /**/
599
600 /* HAS_RENAME:
601  *      This symbol, if defined, indicates that the rename routine is available
602  *      to rename files.  Otherwise you should do the unlink(), link(), unlink()
603  *      trick.
604  */
605 #$d_rename HAS_RENAME   /**/
606
607 /* HAS_RMDIR:
608  *      This symbol, if defined, indicates that the rmdir routine is
609  *      available to remove directories. Otherwise you should fork off a
610  *      new process to exec /bin/rmdir.
611  */
612 #$d_rmdir HAS_RMDIR             /**/
613
614 /* HAS_SAFE_BCOPY:
615  *      This symbol, if defined, indicates that the bcopy routine is available
616  *      to copy potentially overlapping memory blocks. Otherwise you should
617  *      probably use memmove() or memcpy(). If neither is defined, roll your
618  *      own version.
619  */
620 #$d_safebcpy HAS_SAFE_BCOPY     /**/
621
622 /* HAS_SAFE_MEMCPY:
623  *      This symbol, if defined, indicates that the memcpy routine is available
624  *      to copy potentially overlapping memory blocks. Otherwise you should
625  *      probably use memmove() or memcpy(). If neither is defined, roll your
626  *      own version.
627  */
628 #$d_safemcpy HAS_SAFE_MEMCPY    /**/
629
630 /* HAS_SANE_MEMCMP:
631  *      This symbol, if defined, indicates that the memcmp routine is available
632  *      and can be used to compare relative magnitudes of chars with their high
633  *      bits set.  If it is not defined, roll your own version.
634  */
635 #$d_sanemcmp HAS_SANE_MEMCMP    /**/
636
637 /* HAS_SELECT:
638  *      This symbol, if defined, indicates that the select routine is
639  *      available to select active file descriptors. If the timeout field
640  *      is used, <sys/time.h> may need to be included.
641  */
642 #$d_select HAS_SELECT   /**/
643
644 /* HAS_SEM:
645  *      This symbol, if defined, indicates that the entire sem*(2) library is
646  *      supported.
647  */
648 #$d_sem HAS_SEM         /**/
649
650 /* HAS_SETEGID:
651  *      This symbol, if defined, indicates that the setegid routine is available
652  *      to change the effective gid of the current program.
653  */
654 #$d_setegid HAS_SETEGID         /**/
655
656 /* HAS_SETEUID:
657  *      This symbol, if defined, indicates that the seteuid routine is available
658  *      to change the effective uid of the current program.
659  */
660 #$d_seteuid HAS_SETEUID         /**/
661
662 /* HAS_SETLINEBUF:
663  *      This symbol, if defined, indicates that the setlinebuf routine is
664  *      available to change stderr or stdout from block-buffered or unbuffered
665  *      to a line-buffered mode.
666  */
667 #$d_setlinebuf HAS_SETLINEBUF           /**/
668
669 /* HAS_SETLOCALE:
670  *      This symbol, if defined, indicates that the setlocale routine is
671  *      available to handle locale-specific ctype implementations.
672  */
673 #$d_setlocale HAS_SETLOCALE     /**/
674
675 /* HAS_SETPGRP2:
676  *      This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
677  *      routine is available to set the current process group.
678  */
679 #$d_setpgrp2 HAS_SETPGRP2               /**/
680
681 /* HAS_SETPRIORITY:
682  *      This symbol, if defined, indicates that the setpriority routine is
683  *      available to set a process's priority.
684  */
685 #$d_setprior HAS_SETPRIORITY            /**/
686
687 /* HAS_SETREGID:
688  *      This symbol, if defined, indicates that the setregid routine is
689  *      available to change the real and effective gid of the current
690  *      process.
691  */
692 /* HAS_SETRESGID:
693  *      This symbol, if defined, indicates that the setresgid routine is
694  *      available to change the real, effective and saved gid of the current
695  *      process.
696  */
697 #$d_setregid HAS_SETREGID               /**/
698 #$d_setresgid HAS_SETRESGID             /**/
699
700 /* HAS_SETREUID:
701  *      This symbol, if defined, indicates that the setreuid routine is
702  *      available to change the real and effective uid of the current
703  *      process.
704  */
705 /* HAS_SETRESUID:
706  *      This symbol, if defined, indicates that the setresuid routine is
707  *      available to change the real, effective and saved uid of the current
708  *      process.
709  */
710 #$d_setreuid HAS_SETREUID               /**/
711 #$d_setresuid HAS_SETRESUID             /**/
712
713 /* HAS_SETRGID:
714  *      This symbol, if defined, indicates that the setrgid routine is available
715  *      to change the real gid of the current program.
716  */
717 #$d_setrgid HAS_SETRGID         /**/
718
719 /* HAS_SETRUID:
720  *      This symbol, if defined, indicates that the setruid routine is available
721  *      to change the real uid of the current program.
722  */
723 #$d_setruid HAS_SETRUID         /**/
724
725 /* HAS_SETSID:
726  *      This symbol, if defined, indicates that the setsid routine is
727  *      available to set the process group ID.
728  */
729 #$d_setsid HAS_SETSID   /**/
730
731 /* HAS_SHM:
732  *      This symbol, if defined, indicates that the entire shm*(2) library is
733  *      supported.
734  */
735 #$d_shm HAS_SHM         /**/
736
737 /* Shmat_t:
738  *      This symbol holds the return type of the shmat() system call.
739  *      Usually set to 'void *' or 'char *'.
740  */
741 /* HAS_SHMAT_PROTOTYPE:
742  *      This symbol, if defined, indicates that the sys/shm.h includes
743  *      a prototype for shmat().  Otherwise, it is up to the program to
744  *      guess one.  Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
745  *      but not always right so it should be emitted by the program only
746  *      when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
747  */
748 #define Shmat_t $shmattype      /**/
749 #$d_shmatprototype HAS_SHMAT_PROTOTYPE  /**/
750
751 /* HAS_SIGACTION:
752  *      This symbol, if defined, indicates that Vr4's sigaction() routine
753  *      is available.
754  */
755 #$d_sigaction HAS_SIGACTION     /**/
756
757 /* HAS_SOCKET:
758  *      This symbol, if defined, indicates that the BSD socket interface is
759  *      supported.
760  */
761 /* HAS_SOCKETPAIR:
762  *      This symbol, if defined, indicates that the BSD socketpair() call is
763  *      supported.
764  */
765 #$d_socket HAS_SOCKET           /**/
766 #$d_sockpair HAS_SOCKETPAIR     /**/
767
768 /* USE_STAT_BLOCKS:
769  *      This symbol is defined if this system has a stat structure declaring
770  *      st_blksize and st_blocks.
771  */
772 #$d_statblks USE_STAT_BLOCKS    /**/
773
774 /* USE_STDIO_PTR:
775  *      This symbol is defined if the _ptr and _cnt fields (or similar)
776  *      of the stdio FILE structure can be used to access the stdio buffer
777  *      for a file handle.  If this is defined, then the FILE_ptr(fp)
778  *      and FILE_cnt(fp) macros will also be defined and should be used
779  *      to access these fields.
780  */
781 /* FILE_ptr:
782  *      This macro is used to access the _ptr field (or equivalent) of the
783  *      FILE structure pointed to by its argument. This macro will always be
784  *      defined if USE_STDIO_PTR is defined.
785  */
786 /* STDIO_PTR_LVALUE:
787  *      This symbol is defined if the FILE_ptr macro can be used as an
788  *      lvalue.
789  */
790 /* FILE_cnt:
791  *      This macro is used to access the _cnt field (or equivalent) of the
792  *      FILE structure pointed to by its argument. This macro will always be
793  *      defined if USE_STDIO_PTR is defined.
794  */
795 /* STDIO_CNT_LVALUE:
796  *      This symbol is defined if the FILE_cnt macro can be used as an
797  *      lvalue.
798  */
799 #$d_stdstdio USE_STDIO_PTR      /**/
800 #ifdef USE_STDIO_PTR
801 #define FILE_ptr(fp)    $stdio_ptr
802 #$d_stdio_ptr_lval STDIO_PTR_LVALUE             /**/
803 #define FILE_cnt(fp)    $stdio_cnt
804 #$d_stdio_cnt_lval STDIO_CNT_LVALUE             /**/
805 #endif
806
807 /* USE_STDIO_BASE:
808  *      This symbol is defined if the _base field (or similar) of the
809  *      stdio FILE structure can be used to access the stdio buffer for
810  *      a file handle.  If this is defined, then the FILE_base(fp) macro
811  *      will also be defined and should be used to access this field.
812  *      Also, the FILE_bufsiz(fp) macro will be defined and should be used
813  *      to determine the number of bytes in the buffer.  USE_STDIO_BASE
814  *      will never be defined unless USE_STDIO_PTR is.
815  */
816 /* FILE_base:
817  *      This macro is used to access the _base field (or equivalent) of the
818  *      FILE structure pointed to by its argument. This macro will always be
819  *      defined if USE_STDIO_BASE is defined.
820  */
821 /* FILE_bufsiz:
822  *      This macro is used to determine the number of bytes in the I/O
823  *      buffer pointed to by _base field (or equivalent) of the FILE
824  *      structure pointed to its argument. This macro will always be defined
825  *      if USE_STDIO_BASE is defined.
826  */
827 #$d_stdiobase USE_STDIO_BASE    /**/
828 #ifdef USE_STDIO_BASE
829 #define FILE_base(fp)   $stdio_base
830 #define FILE_bufsiz(fp) $stdio_bufsiz
831 #endif
832
833 /* HAS_STRCHR:
834  *      This symbol is defined to indicate that the strchr()/strrchr()
835  *      functions are available for string searching. If not, try the
836  *      index()/rindex() pair.
837  */
838 /* HAS_INDEX:
839  *      This symbol is defined to indicate that the index()/rindex()
840  *      functions are available for string searching.
841  */
842 #$d_strchr HAS_STRCHR   /**/
843 #$d_index HAS_INDEX     /**/
844
845 /* HAS_STRCOLL:
846  *      This symbol, if defined, indicates that the strcoll routine is
847  *      available to compare strings using collating information.
848  */
849 #$d_strcoll HAS_STRCOLL /**/
850
851 /* USE_STRUCT_COPY:
852  *      This symbol, if defined, indicates that this C compiler knows how
853  *      to copy structures.  If undefined, you'll need to use a block copy
854  *      routine of some sort instead.
855  */
856 #$d_strctcpy    USE_STRUCT_COPY /**/
857
858 /* HAS_STRERROR:
859  *      This symbol, if defined, indicates that the strerror routine is
860  *      available to translate error numbers to strings. See the writeup
861  *      of Strerror() in this file before you try to define your own.
862  */
863 /* HAS_SYS_ERRLIST:
864  *      This symbol, if defined, indicates that the sys_errlist array is
865  *      available to translate error numbers to strings. The extern int
866  *      sys_nerr gives the size of that table.
867  */
868 /* Strerror:
869  *      This preprocessor symbol is defined as a macro if strerror() is
870  *      not available to translate error numbers to strings but sys_errlist[]
871  *      array is there.
872  */
873 #$d_strerror HAS_STRERROR               /**/
874 #$d_syserrlst HAS_SYS_ERRLIST   /**/
875 #define Strerror(e) $d_strerrm
876
877 /* HAS_STRTOD:
878  *      This symbol, if defined, indicates that the strtod routine is
879  *      available to provide better numeric string conversion than atof().
880  */
881 #$d_strtod HAS_STRTOD   /**/
882
883 /* HAS_STRTOL:
884  *      This symbol, if defined, indicates that the strtol routine is available
885  *      to provide better numeric string conversion than atoi() and friends.
886  */
887 #$d_strtol HAS_STRTOL   /**/
888
889 /* HAS_STRTOUL:
890  *      This symbol, if defined, indicates that the strtoul routine is
891  *      available to provide conversion of strings to unsigned long.
892  */
893 #$d_strtoul HAS_STRTOUL /**/
894
895 /* HAS_STRXFRM:
896  *      This symbol, if defined, indicates that the strxfrm() routine is
897  *      available to transform strings.
898  */
899 #$d_strxfrm HAS_STRXFRM /**/
900
901 /* HAS_SYMLINK:
902  *      This symbol, if defined, indicates that the symlink routine is available
903  *      to create symbolic links.
904  */
905 #$d_symlink HAS_SYMLINK /**/
906
907 /* HAS_SYSCALL:
908  *      This symbol, if defined, indicates that the syscall routine is
909  *      available to call arbitrary system calls. If undefined, that's tough.
910  */
911 #$d_syscall HAS_SYSCALL /**/
912
913 /* HAS_SYSCONF:
914  *      This symbol, if defined, indicates that sysconf() is available
915  *      to determine system related limits and options.
916  */
917 #$d_sysconf HAS_SYSCONF /**/
918
919 /* HAS_SYSTEM:
920  *      This symbol, if defined, indicates that the system routine is
921  *      available to issue a shell command.
922  */
923 #$d_system HAS_SYSTEM   /**/
924
925 /* HAS_TCGETPGRP:
926  *      This symbol, if defined, indicates that the tcgetpgrp routine is
927  *      available to get foreground process group ID.
928  */
929 #$d_tcgetpgrp HAS_TCGETPGRP             /**/
930
931 /* HAS_TCSETPGRP:
932  *      This symbol, if defined, indicates that the tcsetpgrp routine is
933  *      available to set foreground process group ID.
934  */
935 #$d_tcsetpgrp HAS_TCSETPGRP             /**/
936
937 /* Time_t:
938  *      This symbol holds the type returned by time(). It can be long,
939  *      or time_t on BSD sites (in which case <sys/types.h> should be
940  *      included).
941  */
942 #define Time_t $timetype                /* Time type */
943
944 /* HAS_TIMES:
945  *      This symbol, if defined, indicates that the times() routine exists.
946  *      Note that this became obsolete on some systems (SUNOS), which now
947  * use getrusage(). It may be necessary to include <sys/times.h>.
948  */
949 #$d_times HAS_TIMES             /**/
950
951 /* HAS_TRUNCATE:
952  *      This symbol, if defined, indicates that the truncate routine is
953  *      available to truncate files.
954  */
955 #$d_truncate HAS_TRUNCATE       /**/
956
957 /* HAS_TZNAME:
958  *      This symbol, if defined, indicates that the tzname[] array is
959  *      available to access timezone names.
960  */
961 #$d_tzname HAS_TZNAME           /**/
962
963 /* HAS_UMASK:
964  *      This symbol, if defined, indicates that the umask routine is
965  *      available to set and get the value of the file creation mask.
966  */
967 #$d_umask HAS_UMASK             /**/
968
969 /* HAS_VFORK:
970  *      This symbol, if defined, indicates that vfork() exists.
971  */
972 #$d_vfork HAS_VFORK     /**/
973
974 /* Signal_t:
975  *      This symbol's value is either "void" or "int", corresponding to the
976  *      appropriate return type of a signal handler.  Thus, you can declare
977  *      a signal handler using "Signal_t (*handler)()", and define the
978  *      handler using "Signal_t handler(sig)".
979  */
980 #define Signal_t $signal_t      /* Signal handler's return type */
981
982 /* HASVOLATILE:
983  *      This symbol, if defined, indicates that this C compiler knows about
984  *      the volatile declaration.
985  */
986 #$d_volatile    HASVOLATILE     /**/
987 #ifndef HASVOLATILE
988 #define volatile
989 #endif
990
991 /* HAS_VPRINTF:
992  *      This symbol, if defined, indicates that the vprintf routine is available
993  *      to printf with a pointer to an argument list.  If unavailable, you
994  *      may need to write your own, probably in terms of _doprnt().
995  */
996 /* USE_CHAR_VSPRINTF:
997  *      This symbol is defined if this system has vsprintf() returning type
998  *      (char*).  The trend seems to be to declare it as "int vsprintf()".  It
999  *      is up to the package author to declare vsprintf correctly based on the
1000  *      symbol.
1001  */
1002 #$d_vprintf HAS_VPRINTF /**/
1003 #$d_charvspr USE_CHAR_VSPRINTF  /**/
1004
1005 /* HAS_WAIT4:
1006  *      This symbol, if defined, indicates that wait4() exists.
1007  */
1008 #$d_wait4 HAS_WAIT4     /**/
1009
1010 /* HAS_WAITPID:
1011  *      This symbol, if defined, indicates that the waitpid routine is
1012  *      available to wait for child process.
1013  */
1014 #$d_waitpid HAS_WAITPID /**/
1015
1016 /* HAS_WCSTOMBS:
1017  *      This symbol, if defined, indicates that the wcstombs routine is
1018  *      available to convert wide character strings to multibyte strings.
1019  */
1020 #$d_wcstombs HAS_WCSTOMBS       /**/
1021
1022 /* HAS_WCTOMB:
1023  *      This symbol, if defined, indicates that the wctomb routine is available
1024  *      to covert a wide character to a multibyte.
1025  */
1026 #$d_wctomb HAS_WCTOMB           /**/
1027
1028 /* Fpos_t:
1029  *      This symbol holds the type used to declare file positions in libc.
1030  *      It can be fpos_t, long, uint, etc... It may be necessary to include
1031  *      <sys/types.h> to get any typedef'ed information.
1032  */
1033 #define Fpos_t $fpostype                /* File position type */
1034
1035 /* Gid_t:
1036  *      This symbol holds the return type of getgid() and the type of
1037  *      argument to setrgid() and related functions.  Typically,
1038  *      it is the type of group ids in the kernel. It can be int, ushort,
1039  *      uid_t, etc... It may be necessary to include <sys/types.h> to get
1040  *      any typedef'ed information.
1041  */
1042 #define Gid_t $gidtype          /* Type for getgid(), etc... */
1043
1044 /* Groups_t:
1045  *      This symbol holds the type used for the second argument to
1046  *      [gs]etgroups().  Usually, this is the same of gidtype, but
1047  *      sometimes it isn't.  It can be int, ushort, uid_t, etc... 
1048  *      It may be necessary to include <sys/types.h> to get any 
1049  *      typedef'ed information.  This is only required if you have
1050  *      getgroups() or setgroups().
1051  */
1052 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1053 #define Groups_t $groupstype    /* Type for 2nd arg to [gs]etgroups() */
1054 #endif
1055
1056 /* DB_Prefix_t:
1057  *      This symbol contains the type of the prefix structure element
1058  *      in the <db.h> header file.  In older versions of DB, it was
1059  *      int, while in newer ones it is u_int32_t.
1060  */
1061 /* DB_Hash_t:
1062  *      This symbol contains the type of the prefix structure element
1063  *      in the <db.h> header file.  In older versions of DB, it was
1064  *      int, while in newer ones it is size_t.
1065  */
1066 #define DB_Hash_t       $db_hashtype            /**/
1067 #define DB_Prefix_t     $db_prefixtype          /**/
1068
1069 /* I_DIRENT:
1070  *      This symbol, if defined, indicates to the C program that it should
1071  *      include <dirent.h>. Using this symbol also triggers the definition
1072  *      of the Direntry_t define which ends up being 'struct dirent' or
1073  *      'struct direct' depending on the availability of <dirent.h>.
1074  */
1075 /* DIRNAMLEN:
1076  *      This symbol, if defined, indicates to the C program that the length
1077  *      of directory entry names is provided by a d_namlen field.  Otherwise
1078  *      you need to do strlen() on the d_name field.
1079  */
1080 /* Direntry_t:
1081  *      This symbol is set to 'struct direct' or 'struct dirent' depending on
1082  *      whether dirent is available or not. You should use this pseudo type to
1083  *      portably declare your directory entries.
1084  */
1085 #$i_dirent I_DIRENT             /**/
1086 #$d_dirnamlen DIRNAMLEN /**/
1087 #define Direntry_t $direntrytype
1088
1089 /* I_DLFCN:
1090  *      This symbol, if defined, indicates that <dlfcn.h> exists and should
1091  *      be included.
1092  */
1093 #$i_dlfcn I_DLFCN               /**/
1094
1095 /* I_FCNTL:
1096  *      This manifest constant tells the C program to include <fcntl.h>.
1097  */
1098 #$i_fcntl I_FCNTL       /**/
1099
1100 /* I_FLOAT:
1101  *      This symbol, if defined, indicates to the C program that it should
1102  *      include <float.h> to get definition of symbols like DBL_MAX or
1103  *      DBL_MIN, i.e. machine dependent floating point values.
1104  */
1105 #$i_float I_FLOAT               /**/
1106
1107 /* I_GRP:
1108  *      This symbol, if defined, indicates to the C program that it should
1109  *      include <grp.h>.
1110  */
1111 #$i_grp I_GRP           /**/
1112
1113 /* I_LIMITS:
1114  *      This symbol, if defined, indicates to the C program that it should
1115  *      include <limits.h> to get definition of symbols like WORD_BIT or
1116  *      LONG_MAX, i.e. machine dependant limitations.
1117  */
1118 #$i_limits I_LIMITS             /**/
1119
1120 /* I_MATH:
1121  *      This symbol, if defined, indicates to the C program that it should
1122  *      include <math.h>.
1123  */
1124 #$i_math I_MATH         /**/
1125
1126 /* I_MEMORY:
1127  *      This symbol, if defined, indicates to the C program that it should
1128  *      include <memory.h>.
1129  */
1130 #$i_memory I_MEMORY             /**/
1131
1132 /* I_NDBM:
1133  *      This symbol, if defined, indicates that <ndbm.h> exists and should
1134  *      be included.
1135  */
1136 #$i_ndbm I_NDBM /**/
1137
1138 /* I_NET_ERRNO:
1139  *      This symbol, if defined, indicates that <net/errno.h> exists and 
1140  *      should be included.
1141  */
1142 #$i_neterrno I_NET_ERRNO                /**/
1143
1144 /* I_NETINET_IN:
1145  *      This symbol, if defined, indicates to the C program that it should
1146  *      include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1147  */
1148 #$i_niin I_NETINET_IN   /**/
1149
1150 /* I_NETDB:
1151  *      This symbol, if defined, indicates that <netdb.h> exists and 
1152  *      should be included.
1153  */
1154 #$i_netdb I_NETDB               /**/
1155
1156 /* I_PWD:
1157  *      This symbol, if defined, indicates to the C program that it should
1158  *      include <pwd.h>.
1159  */
1160 /* PWQUOTA:
1161  *      This symbol, if defined, indicates to the C program that struct passwd
1162  *      contains pw_quota.
1163  */
1164 /* PWAGE:
1165  *      This symbol, if defined, indicates to the C program that struct passwd
1166  *      contains pw_age.
1167  */
1168 /* PWCHANGE:
1169  *      This symbol, if defined, indicates to the C program that struct passwd
1170  *      contains pw_change.
1171  */
1172 /* PWCLASS:
1173  *      This symbol, if defined, indicates to the C program that struct passwd
1174  *      contains pw_class.
1175  */
1176 /* PWEXPIRE:
1177  *      This symbol, if defined, indicates to the C program that struct passwd
1178  *      contains pw_expire.
1179  */
1180 /* PWCOMMENT:
1181  *      This symbol, if defined, indicates to the C program that struct passwd
1182  *      contains pw_comment.
1183  */
1184 #$i_pwd I_PWD           /**/
1185 #$d_pwquota PWQUOTA     /**/
1186 #$d_pwage PWAGE /**/
1187 #$d_pwchange PWCHANGE   /**/
1188 #$d_pwclass PWCLASS     /**/
1189 #$d_pwexpire PWEXPIRE   /**/
1190 #$d_pwcomment PWCOMMENT /**/
1191
1192 /* I_STDDEF:
1193  *      This symbol, if defined, indicates that <stddef.h> exists and should
1194  *      be included.
1195  */
1196 #$i_stddef I_STDDEF     /**/
1197
1198 /* I_STDLIB:
1199  *      This symbol, if defined, indicates that <stdlib.h> exists and should
1200  *      be included.
1201  */
1202 #$i_stdlib I_STDLIB             /**/
1203
1204 /* I_STRING:
1205  *      This symbol, if defined, indicates to the C program that it should
1206  *      include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1207  */
1208 #$i_string I_STRING             /**/
1209
1210 /* I_SYS_DIR:
1211  *      This symbol, if defined, indicates to the C program that it should
1212  *      include <sys/dir.h>.
1213  */
1214 #$i_sysdir I_SYS_DIR            /**/
1215
1216 /* I_SYS_FILE:
1217  *      This symbol, if defined, indicates to the C program that it should
1218  *      include <sys/file.h> to get definition of R_OK and friends.
1219  */
1220 #$i_sysfile I_SYS_FILE          /**/
1221
1222 /* I_SYS_IOCTL:
1223  *      This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1224  *      be included. Otherwise, include <sgtty.h> or <termio.h>.
1225  */
1226 #$i_sysioctl    I_SYS_IOCTL             /**/
1227
1228 /* I_SYS_NDIR:
1229  *      This symbol, if defined, indicates to the C program that it should
1230  *      include <sys/ndir.h>.
1231  */
1232 #$i_sysndir I_SYS_NDIR  /**/
1233
1234 /* I_SYS_PARAM:
1235  *      This symbol, if defined, indicates to the C program that it should
1236  *      include <sys/param.h>.
1237  */
1238 #$i_sysparam I_SYS_PARAM                /**/
1239
1240 /* I_SYS_RESOURCE:
1241  *      This symbol, if defined, indicates to the C program that it should
1242  *      include <sys/resource.h>.
1243  */
1244 #$i_sysresrc I_SYS_RESOURCE             /**/
1245
1246 /* I_SYS_SELECT:
1247  *      This symbol, if defined, indicates to the C program that it should
1248  *      include <sys/select.h> in order to get definition of struct timeval.
1249  */
1250 #$i_sysselct I_SYS_SELECT       /**/
1251
1252 /* I_SYS_TIMES:
1253  *      This symbol, if defined, indicates to the C program that it should
1254  *      include <sys/times.h>.
1255  */
1256 #$i_systimes    I_SYS_TIMES             /**/
1257
1258 /* I_SYS_TYPES:
1259  *      This symbol, if defined, indicates to the C program that it should
1260  *      include <sys/types.h>.
1261  */
1262 #$i_systypes    I_SYS_TYPES             /**/
1263
1264 /* I_SYS_UN:
1265  *      This symbol, if defined, indicates to the C program that it should
1266  *      include <sys/un.h> to get UNIX domain socket definitions.
1267  */
1268 #$i_sysun I_SYS_UN              /**/
1269
1270 /* I_SYS_WAIT:
1271  *      This symbol, if defined, indicates to the C program that it should
1272  *      include <sys/wait.h>.
1273  */
1274 #$i_syswait I_SYS_WAIT  /**/
1275
1276 /* I_TERMIO:
1277  *      This symbol, if defined, indicates that the program should include
1278  *      <termio.h> rather than <sgtty.h>.  There are also differences in
1279  *      the ioctl() calls that depend on the value of this symbol.
1280  */
1281 /* I_TERMIOS:
1282  *      This symbol, if defined, indicates that the program should include
1283  *      the POSIX termios.h rather than sgtty.h or termio.h.
1284  *      There are also differences in the ioctl() calls that depend on the
1285  *      value of this symbol.
1286  */
1287 /* I_SGTTY:
1288  *      This symbol, if defined, indicates that the program should include
1289  *      <sgtty.h> rather than <termio.h>.  There are also differences in
1290  *      the ioctl() calls that depend on the value of this symbol.
1291  */
1292 #$i_termio I_TERMIO             /**/
1293 #$i_termios I_TERMIOS           /**/
1294 #$i_sgtty I_SGTTY               /**/
1295
1296 /* I_TIME:
1297  *      This symbol, if defined, indicates to the C program that it should
1298  *      include <time.h>.
1299  */
1300 /* I_SYS_TIME:
1301  *      This symbol, if defined, indicates to the C program that it should
1302  *      include <sys/time.h>.
1303  */
1304 /* I_SYS_TIME_KERNEL:
1305  *      This symbol, if defined, indicates to the C program that it should
1306  *      include <sys/time.h> with KERNEL defined.
1307  */
1308 #$i_time I_TIME         /**/
1309 #$i_systime I_SYS_TIME          /**/
1310 #$i_systimek I_SYS_TIME_KERNEL          /**/
1311
1312 /* I_UNISTD:
1313  *      This symbol, if defined, indicates to the C program that it should
1314  *      include <unistd.h>.
1315  */
1316 #$i_unistd I_UNISTD             /**/
1317
1318 /* I_UTIME:
1319  *      This symbol, if defined, indicates to the C program that it should
1320  *      include <utime.h>.
1321  */
1322 #$i_utime I_UTIME               /**/
1323
1324 /* I_STDARG:
1325  *      This symbol, if defined, indicates that <stdarg.h> exists and should
1326  *      be included.
1327  */
1328 /* I_VARARGS:
1329  *      This symbol, if defined, indicates to the C program that it should
1330  *      include <varargs.h>.
1331  */
1332 #$i_stdarg I_STDARG             /**/
1333 #$i_varargs I_VARARGS   /**/
1334
1335 /* I_VFORK:
1336  *      This symbol, if defined, indicates to the C program that it should
1337  *      include vfork.h.
1338  */
1339 #$i_vfork I_VFORK       /**/
1340
1341 /* INTSIZE:
1342  *      This symbol contains the value of sizeof(int) so that the C
1343  *      preprocessor can make decisions based on it.
1344  */
1345 /* LONGSIZE:
1346  *      This symbol contains the value of sizeof(long) so that the C
1347  *      preprocessor can make decisions based on it.
1348  */
1349 /* SHORTSIZE:
1350  *      This symbol contains the value of sizeof(short) so that the C
1351  *      preprocessor can make decisions based on it.
1352  */
1353 #define INTSIZE $intsize                /**/
1354 #define LONGSIZE $longsize              /**/
1355 #define SHORTSIZE $shortsize            /**/
1356
1357 /* Off_t:
1358  *      This symbol holds the type used to declare offsets in the kernel.
1359  *      It can be int, long, off_t, etc... It may be necessary to include
1360  *      <sys/types.h> to get any typedef'ed information.
1361  */
1362 #define Off_t $lseektype                /* <offset> type */
1363
1364 /* Mode_t:
1365  *      This symbol holds the type used to declare file modes 
1366  *      for systems calls.  It is usually mode_t, but may be
1367  *      int or unsigned short.  It may be necessary to include <sys/types.h>
1368  *      to get any typedef'ed information.
1369  */
1370 #define Mode_t $modetype         /* file mode parameter for system calls */
1371
1372 /* VAL_O_NONBLOCK:
1373  *      This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1374  *      non-blocking I/O for the file descriptor. Note that there is no way
1375  *      back, i.e. you cannot turn it blocking again this way. If you wish to
1376  *      alternatively switch between blocking and non-blocking, use the
1377  *      ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1378  */
1379 /* VAL_EAGAIN:
1380  *      This symbol holds the errno error code set by read() when no data was
1381  *      present on the non-blocking file descriptor.
1382  */
1383 /* RD_NODATA:
1384  *      This symbol holds the return code from read() when no data is present
1385  *      on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1386  *      not defined, then you can't distinguish between no data and EOF by
1387  *      issuing a read(). You'll have to find another way to tell for sure!
1388  */
1389 /* EOF_NONBLOCK:
1390  *      This symbol, if defined, indicates to the C program that a read() on
1391  *      a non-blocking file descriptor will return 0 on EOF, and not the value
1392  *      held in RD_NODATA (-1 usually, in that case!).
1393  */
1394 #define VAL_O_NONBLOCK $o_nonblock
1395 #define VAL_EAGAIN $eagain
1396 #define RD_NODATA $rd_nodata
1397 #$d_eofnblk EOF_NONBLOCK
1398
1399 /* CAN_PROTOTYPE:
1400  *      If defined, this macro indicates that the C compiler can handle
1401  *      function prototypes.
1402  */
1403 /* _:
1404  *      This macro is used to declare function parameters for folks who want
1405  *      to make declarations with prototypes using a different style than
1406  *      the above macros.  Use double parentheses.  For example:
1407  *
1408  *              int main _((int argc, char *argv[]));
1409  */
1410 #$prototype     CAN_PROTOTYPE   /**/
1411 #ifdef CAN_PROTOTYPE
1412 #define _(args) args
1413 #else
1414 #define _(args) ()
1415 #endif
1416
1417 /* RANDBITS:
1418  *      This symbol contains the number of bits of random number the rand()
1419  *      function produces.  Usual values are 15, 16, and 31.
1420  */
1421 #define RANDBITS $randbits              /**/
1422
1423 /* Select_fd_set_t:
1424  *      This symbol holds the type used for the 2nd, 3rd, and 4th
1425  *      arguments to select.  Usually, this is 'fd_set *', if HAS_FD_SET
1426  *      is defined, and 'int *' otherwise.  This is only useful if you 
1427  *      have select(), of course.
1428  */
1429 #define Select_fd_set_t         $selecttype     /**/
1430
1431 /* Size_t:
1432  *      This symbol holds the type used to declare length parameters
1433  *      for string functions.  It is usually size_t, but may be
1434  *      unsigned long, int, etc.  It may be necessary to include
1435  *      <sys/types.h> to get any typedef'ed information.
1436  */
1437 #define Size_t $sizetype         /* length paramater for string functions */
1438
1439 /* SSize_t:
1440  *      This symbol holds the type used by functions that return
1441  *      a count of bytes or an error condition.  It must be a signed type.
1442  *      It is usually ssize_t, but may be long or int, etc.
1443  *      It may be necessary to include <sys/types.h> or <unistd.h>
1444  *      to get any typedef'ed information.
1445  *      We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1446  */
1447 #define SSize_t $ssizetype       /* signed count of bytes */
1448
1449 /* STDCHAR:
1450  *      This symbol is defined to be the type of char used in stdio.h.
1451  *      It has the values "unsigned char" or "char".
1452  */
1453 #define STDCHAR $stdchar        /**/
1454
1455 /* Uid_t:
1456  *      This symbol holds the type used to declare user ids in the kernel.
1457  *      It can be int, ushort, uid_t, etc... It may be necessary to include
1458  *      <sys/types.h> to get any typedef'ed information.
1459  */
1460 #define Uid_t $uidtype          /* UID type */
1461
1462 /* LOC_SED:
1463  *      This symbol holds the complete pathname to the sed program.
1464  */
1465 #define LOC_SED         "$full_sed"     /**/
1466
1467 /* OSNAME:
1468  *      This symbol contains the name of the operating system, as determined
1469  *      by Configure.  You shouldn't rely on it too much; the specific
1470  *      feature tests from Configure are generally more reliable.
1471  */
1472 #define OSNAME "$osname"                /**/
1473
1474 /* ARCHLIB:
1475  *      This variable, if defined, holds the name of the directory in
1476  *      which the user wants to put architecture-dependent public
1477  *      library files for $package.  It is most often a local directory
1478  *      such as /usr/local/lib.  Programs using this variable must be
1479  *      prepared to deal with filename expansion.  If ARCHLIB is the
1480  *      same as PRIVLIB, it is not defined, since presumably the
1481  *      program already searches PRIVLIB.
1482  */
1483 /* ARCHLIB_EXP:
1484  *      This symbol contains the ~name expanded version of ARCHLIB, to be used
1485  *      in programs that are not prepared to deal with ~ expansion at run-time.
1486  */
1487 #$d_archlib ARCHLIB "$archlib"          /**/
1488 #$d_archlib ARCHLIB_EXP "$archlibexp"           /**/
1489
1490 /* BINCOMPAT3:
1491  *      This symbol, if defined, indicates that Perl 5.004 should be
1492  *      binary-compatible with Perl 5.003.
1493  */
1494 #$d_bincompat3 BINCOMPAT3                       /**/
1495
1496 /* BYTEORDER:
1497  *      This symbol holds the hexadecimal constant defined in byteorder,
1498  *      i.e. 0x1234 or 0x4321, etc...
1499  *      On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1500  *      Binaries (MAB) on either big endian or little endian machines.
1501  *      The endian-ness is available at compile-time.  This only matters
1502  *      for perl, where the config.h can be generated and installed on 
1503  *      one system, and used by a different architecture to build an
1504  *      extension.  Older versions of NeXT that might not have
1505  *      defined either *_ENDIAN__ were all on Motorola 680x0 series,
1506  *      so the default case (for NeXT) is big endian to catch them. 
1507  *      This might matter for NeXT 3.0.
1508  */
1509 #ifndef NeXT
1510 #define BYTEORDER 0x$byteorder  /* large digits for MSB */
1511 #else  /* NeXT */
1512 #ifdef __LITTLE_ENDIAN__
1513 #define BYTEORDER 0x1234
1514 #else /* __BIG_ENDIAN__ */
1515 #define BYTEORDER 0x4321
1516 #endif /* ENDIAN CHECK */
1517 #endif /* NeXT */
1518
1519 /* CSH:
1520  *      This symbol, if defined, indicates that the C-shell exists.
1521  *      If defined, contains the full pathname of csh.
1522  */
1523 #$d_csh CSH "$full_csh"         /**/
1524
1525 /* DLSYM_NEEDS_UNDERSCORE:
1526  *      This symbol, if defined, indicates that we need to prepend an
1527  *      underscore to the symbol name before calling dlsym().  This only
1528  *      makes sense if you *have* dlsym, which we will presume is the
1529  *      case if you're using dl_dlopen.xs.
1530  */
1531 #$d_dlsymun     DLSYM_NEEDS_UNDERSCORE  /**/
1532
1533 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1534  *      This symbol, if defined, indicates that the bug that prevents
1535  *      setuid scripts from being secure is not present in this kernel.
1536  */
1537 /* DOSUID:
1538  *      This symbol, if defined, indicates that the C program should
1539  *      check the script that it is executing for setuid/setgid bits, and
1540  *      attempt to emulate setuid/setgid on systems that have disabled
1541  *      setuid #! scripts because the kernel can't do it securely.
1542  *      It is up to the package designer to make sure that this emulation
1543  *      is done securely.  Among other things, it should do an fstat on
1544  *      the script it just opened to make sure it really is a setuid/setgid
1545  *      script, it should make sure the arguments passed correspond exactly
1546  *      to the argument on the #! line, and it should not trust any
1547  *      subprocesses to which it must pass the filename rather than the
1548  *      file descriptor of the script to be executed.
1549  */
1550 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW      /**/
1551 #$d_dosuid DOSUID               /**/
1552
1553 /* Gconvert:
1554  *      This preprocessor macro is defined to convert a floating point
1555  *      number to a string without a trailing decimal point.  This
1556  *      emulates the behavior of sprintf("%g"), but is sometimes much more
1557  *      efficient.  If gconvert() is not available, but gcvt() drops the
1558  *      trailing decimal point, then gcvt() is used.  If all else fails,
1559  *      a macro using sprintf("%g") is used. Arguments for the Gconvert
1560  *      macro are: value, number of digits, whether trailing zeros should
1561  *      be retained, and the output buffer.
1562  *      Possible values are:
1563  *              d_Gconvert='gconvert((x),(n),(t),(b))'
1564  *              d_Gconvert='gcvt((x),(n),(b))'
1565  *              d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1566  *      The last two assume trailing zeros should not be kept.
1567  */
1568 #define Gconvert(x,n,t,b) $d_Gconvert
1569
1570 /* HAS_GETPGID:
1571  *      This symbol, if defined, indicates to the C program that 
1572  *      the getpgid(pid) function is available to get the
1573  *      process group id.
1574  */
1575 #$d_getpgid HAS_GETPGID         /**/
1576
1577 /* HAS_GETPGRP:
1578  *      This symbol, if defined, indicates that the getpgrp routine is
1579  *      available to get the current process group.
1580  */
1581 /* USE_BSD_GETPGRP:
1582  *      This symbol, if defined, indicates that getpgrp needs one
1583  *      arguments whereas USG one needs none.
1584  */
1585 #$d_getpgrp HAS_GETPGRP         /**/
1586 #$d_bsdgetpgrp USE_BSD_GETPGRP  /**/
1587
1588 /* HAS_INET_ATON:
1589  *      This symbol, if defined, indicates to the C program that the
1590  *      inet_aton() function is available to parse IP address "dotted-quad"
1591  *      strings.
1592  */
1593 #$d_inetaton HAS_INET_ATON              /**/
1594
1595 /* HAS_SETPGID:
1596  *      This symbol, if defined, indicates to the C program that 
1597  *      the setpgid(pid, gpid) function is available to set the
1598  *      process group id.
1599  */
1600 #$d_setpgid HAS_SETPGID         /**/
1601
1602 /* HAS_SETPGRP:
1603  *      This symbol, if defined, indicates that the setpgrp routine is
1604  *      available to set the current process group.
1605  */
1606 /* USE_BSD_SETPGRP:
1607  *      This symbol, if defined, indicates that setpgrp needs two
1608  *      arguments whereas USG one needs none.  See also HAS_SETPGID
1609  *      for a POSIX interface.
1610  */
1611 /* USE_BSDPGRP:
1612  *      This symbol, if defined, indicates that the BSD notion of process
1613  *      group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1614  *      instead of the USG setpgrp().  This should be obsolete since
1615  *      there are systems which have BSD-ish setpgrp but USG-ish getpgrp.
1616  */
1617 #$d_setpgrp HAS_SETPGRP         /**/
1618 #$d_bsdsetpgrp USE_BSD_SETPGRP  /**/
1619 #$d_bsdpgrp USE_BSDPGRP         /**/
1620
1621 /* USE_SFIO:
1622  *      This symbol, if defined, indicates that sfio should
1623  *      be used.
1624  */
1625 #$d_sfio        USE_SFIO                /**/
1626
1627 /* Sigjmp_buf:
1628  *      This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1629  */
1630 /* Sigsetjmp:
1631  *      This macro is used in the same way as sigsetjmp(), but will invoke
1632  *      traditional setjmp() if sigsetjmp isn't available.
1633  *      See HAS_SIGSETJMP.
1634  */
1635 /* Siglongjmp:
1636  *      This macro is used in the same way as siglongjmp(), but will invoke
1637  *      traditional longjmp() if siglongjmp isn't available.
1638  *      See HAS_SIGSETJMP.
1639  */
1640 #$d_sigsetjmp HAS_SIGSETJMP     /**/
1641 #ifdef HAS_SIGSETJMP
1642 #define Sigjmp_buf sigjmp_buf
1643 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1644 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1645 #else
1646 #define Sigjmp_buf jmp_buf
1647 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1648 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1649 #endif
1650
1651 /* USE_DYNAMIC_LOADING:
1652  *      This symbol, if defined, indicates that dynamic loading of
1653  *      some sort is available.
1654  */
1655 #$usedl USE_DYNAMIC_LOADING             /**/
1656
1657 /* I_DBM:
1658  *      This symbol, if defined, indicates that <dbm.h> exists and should
1659  *      be included.
1660  */
1661 /* I_RPCSVC_DBM:
1662  *      This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1663  *      should be included.
1664  */
1665 #$i_dbm I_DBM   /**/
1666 #$i_rpcsvcdbm I_RPCSVC_DBM      /**/
1667
1668 /* I_LOCALE:
1669  *      This symbol, if defined, indicates to the C program that it should
1670  *      include <locale.h>.
1671  */
1672 #$i_locale      I_LOCALE                /**/
1673
1674 /* I_SFIO:
1675  *      This symbol, if defined, indicates to the C program that it should
1676  *      include <sfio.h>.
1677  */
1678 #$i_sfio        I_SFIO          /**/
1679
1680 /* I_SYS_STAT:
1681  *      This symbol, if defined, indicates to the C program that it should
1682  *      include <sys/stat.h>.
1683  */
1684 #$i_sysstat     I_SYS_STAT              /**/
1685
1686 /* I_VALUES:
1687  *      This symbol, if defined, indicates to the C program that it should
1688  *      include <values.h> to get definition of symbols like MINFLOAT or
1689  *      MAXLONG, i.e. machine dependant limitations.  Probably, you
1690  *      should use <limits.h> instead, if it is available.
1691  */
1692 #$i_values I_VALUES             /**/
1693
1694 /* Free_t:
1695  *      This variable contains the return type of free().  It is usually
1696  * void, but occasionally int.
1697  */
1698 /* Malloc_t:
1699  *      This symbol is the type of pointer returned by malloc and realloc.
1700  */
1701 #define Malloc_t $malloctype                    /**/
1702 #define Free_t $freetype                        /**/
1703
1704 /* MYMALLOC:
1705  *      This symbol, if defined, indicates that we're using our own malloc.
1706  */
1707 #$d_mymalloc MYMALLOC                   /**/
1708
1709 /* OLDARCHLIB:
1710  *      This variable, if defined, holds the name of the directory in
1711  *      which the user has perl5.000 or perl5.001 architecture-dependent
1712  *      public library files for $package.  For the most part, these
1713  *      files will work with 5.002 (and later), but that is not
1714  *      guaranteed.
1715  */
1716 /* OLDARCHLIB_EXP:
1717  *      This symbol contains the ~name expanded version of OLDARCHLIB, to be
1718  *      used in programs that are not prepared to deal with ~ expansion at 
1719  *      run-time.
1720  */
1721 #$d_oldarchlib OLDARCHLIB "$oldarchlib"         /**/
1722 #$d_oldarchlib OLDARCHLIB_EXP "$oldarchlibexp"          /**/
1723
1724 /* PRIVLIB:
1725  *      This symbol contains the name of the private library for this package.
1726  *      The library is private in the sense that it needn't be in anyone's
1727  *      execution path, but it should be accessible by the world.  The program
1728  *      should be prepared to do ~ expansion.
1729  */
1730 /* PRIVLIB_EXP:
1731  *      This symbol contains the ~name expanded version of PRIVLIB, to be used
1732  *      in programs that are not prepared to deal with ~ expansion at run-time.
1733  */
1734 #define PRIVLIB "$privlib"              /**/
1735 #define PRIVLIB_EXP "$privlibexp"               /**/
1736
1737 /* SH_PATH:
1738  *      This symbol contains the full pathname to the shell used on this
1739  *      on this system to execute Bourne shell scripts.  Usually, this will be
1740  *      /bin/sh, though it's possible that some systems will have /bin/ksh,
1741  *      /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1742  *      D:/bin/sh.exe.
1743  */
1744 #define SH_PATH "$sh"  /**/
1745
1746 /* SIG_NAME:
1747  *      This symbol contains a list of signal names in order of
1748  *      signal number. This is intended
1749  *      to be used as a static array initialization, like this:
1750  *              char *sig_name[] = { SIG_NAME };
1751  *      The signals in the list are separated with commas, and each signal
1752  *      is surrounded by double quotes. There is no leading SIG in the signal
1753  *      name, i.e. SIGQUIT is known as "QUIT".
1754  *      Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1755  *      etc., where nn is the actual signal number (e.g. NUM37).
1756  *      The signal number for sig_name[i] is stored in sig_num[i].
1757  *      The last element is 0 to terminate the list with a NULL.  This
1758  *      corresponds to the 0 at the end of the sig_num list.
1759  */
1760 /* SIG_NUM:
1761  *      This symbol contains a list of signal numbers, in the same order as the
1762  *      SIG_NAME list. It is suitable for static array initialization, as in:
1763  *              int sig_num[] = { SIG_NUM };
1764  *      The signals in the list are separated with commas, and the indices
1765  *      within that list and the SIG_NAME list match, so it's easy to compute
1766  *      the signal name from a number or vice versa at the price of a small
1767  *      dynamic linear lookup. 
1768  *      Duplicates are allowed, but are moved to the end of the list.
1769  *      The signal number corresponding to sig_name[i] is sig_number[i].
1770  *      if (i < NSIG) then sig_number[i] == i.  
1771  *      The last element is 0, corresponding to the 0 at the end of
1772  *      the sig_name list.
1773  */
1774 #define SIG_NAME "`echo $sig_name | sed 's/ /","/g'`",0 /**/
1775 #define SIG_NUM `echo $sig_num 0 | sed 's/ /,/g'`       /**/
1776
1777 /* SITEARCH:
1778  *      This symbol contains the name of the private library for this package.
1779  *      The library is private in the sense that it needn't be in anyone's
1780  *      execution path, but it should be accessible by the world.  The program
1781  *      should be prepared to do ~ expansion.
1782  *      The standard distribution will put nothing in this directory.
1783  *      Individual sites may place their own extensions and modules in
1784  *      this directory.
1785  */
1786 /* SITEARCH_EXP:
1787  *      This symbol contains the ~name expanded version of SITEARCH, to be used
1788  *      in programs that are not prepared to deal with ~ expansion at run-time.
1789  */
1790 #define SITEARCH "$sitearch"            /**/
1791 #define SITEARCH_EXP "$sitearchexp"             /**/
1792
1793 /* SITELIB:
1794  *      This symbol contains the name of the private library for this package.
1795  *      The library is private in the sense that it needn't be in anyone's
1796  *      execution path, but it should be accessible by the world.  The program
1797  *      should be prepared to do ~ expansion.
1798  *      The standard distribution will put nothing in this directory.
1799  *      Individual sites may place their own extensions and modules in
1800  *      this directory.
1801  */
1802 /* SITELIB_EXP:
1803  *      This symbol contains the ~name expanded version of SITELIB, to be used
1804  *      in programs that are not prepared to deal with ~ expansion at run-time.
1805  */
1806 #define SITELIB "$sitelib"              /**/
1807 #define SITELIB_EXP "$sitelibexp"               /**/
1808
1809 /* STARTPERL:
1810  *      This variable contains the string to put in front of a perl
1811  *      script to make sure (one hopes) that it runs with perl and not
1812  *      some shell.
1813  */
1814 #define STARTPERL "$startperl"          /**/
1815
1816 /* USE_PERLIO:
1817  *      This symbol, if defined, indicates that the PerlIO abstraction should
1818  *      be used throughout.  If not defined, stdio should be
1819  *      used in a fully backward compatible manner.
1820  */
1821 #$useperlio     USE_PERLIO              /**/
1822
1823 /* VOIDFLAGS:
1824  *      This symbol indicates how much support of the void type is given by this
1825  *      compiler.  What various bits mean:
1826  *
1827  *          1 = supports declaration of void
1828  *          2 = supports arrays of pointers to functions returning void
1829  *          4 = supports comparisons between pointers to void functions and
1830  *                  addresses of void functions
1831  *          8 = suports declaration of generic void pointers
1832  *
1833  *      The package designer should define VOIDUSED to indicate the requirements
1834  *      of the package.  This can be done either by #defining VOIDUSED before
1835  *      including config.h, or by defining defvoidused in Myinit.U.  If the
1836  *      latter approach is taken, only those flags will be tested.  If the
1837  *      level of void support necessary is not present, defines void to int.
1838  */
1839 #ifndef VOIDUSED
1840 #define VOIDUSED $defvoidused
1841 #endif
1842 #define VOIDFLAGS $voidflags
1843 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1844 #define void int                /* is void to be avoided? */
1845 #define M_VOID                  /* Xenix strikes again */
1846 #endif
1847
1848 #endif
1849 !GROK!THIS!