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