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