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