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