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