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