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