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