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