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