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