[PATCH 5.004_65] Config_65-02-03.diff: SunOS and Solaris hints
[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 /* HAS_UNION_SEMUN:
695  *      This symbol, if defined, indicates that the union semun is
696  *      defined by including <sys/sem.h>.  If not, the user code
697  *      probably needs to define it as:
698  *      union semun {
699  *          int val;
700  *          struct semid_ds *buf;
701  *          unsigned short *array;
702  *      }
703  */
704 /* USE_SEMCTL_SEMUN:
705  *      This symbol, if defined, indicates that union semun is
706  *      used for semctl IPC_STAT.
707  */
708 /* USE_SEMCTL_SEMID_DS:
709  *      This symbol, if defined, indicates that struct semid_ds * is
710  *      used for semctl IPC_STAT.
711  */
712 #undef HAS_UNION_SEMUN  /**/
713 #undef USE_SEMCTL_SEMUN /**/
714 #undef USE_SEMCTL_SEMID_DS      /**/
715
716 /* Signal_t:
717  *      This symbol's value is either "void" or "int", corresponding to the
718  *      appropriate return type of a signal handler.  Thus, you can declare
719  *      a signal handler using "Signal_t (*handler)()", and define the
720  *      handler using "Signal_t handler(sig)".
721  */
722 #define Signal_t void   /* Signal handler's return type */
723
724 /* HASVOLATILE:
725  *      This symbol, if defined, indicates that this C compiler knows about
726  *      the volatile declaration.
727  */
728 #define HASVOLATILE     /**/
729 #ifndef HASVOLATILE
730 #define volatile /* config-skip */
731 #endif
732
733 /* HAS_VPRINTF:
734  *      This symbol, if defined, indicates that the vprintf routine is available
735  *      to printf with a pointer to an argument list.  If unavailable, you
736  *      may need to write your own, probably in terms of _doprnt().
737  */
738 /* USE_CHAR_VSPRINTF:
739  *      This symbol is defined if this system has vsprintf() returning type
740  *      (char*).  The trend seems to be to declare it as "int vsprintf()".  It
741  *      is up to the package author to declare vsprintf correctly based on the
742  *      symbol.
743  */
744 #define HAS_VPRINTF     /**/
745 #undef USE_CHAR_VSPRINTF        /**/
746
747 /* HAS_WAIT4:
748  *      This symbol, if defined, indicates that wait4() exists.
749  */
750 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
751 #define HAS_WAIT4 /*config-skip*/
752 #else
753 #undef HAS_WAIT4        /*config-skip*/
754 #endif
755
756 /* HAS_WAITPID:
757  *      This symbol, if defined, indicates that the waitpid routine is
758  *      available to wait for child process.
759  */
760 #define HAS_WAITPID     /**/
761
762 /* HAS_WCSTOMBS:
763  *      This symbol, if defined, indicates that the wcstombs routine is
764  *      available to convert wide character strings to multibyte strings.
765  */
766 #ifdef __DECC
767 #  define HAS_WCSTOMBS  /*config-skip*/
768 #else
769 #  undef HAS_WCSTOMBS   /*config-skip*/
770 #endif
771
772 /* I_DIRENT:
773  *      This symbol, if defined, indicates to the C program that it should
774  *      include <dirent.h>. Using this symbol also triggers the definition
775  *      of the Direntry_t define which ends up being 'struct dirent' or
776  *      'struct direct' depending on the availability of <dirent.h>.
777  */
778 /* DIRNAMLEN:
779  *      This symbol, if defined, indicates to the C program that the length
780  *      of directory entry names is provided by a d_namlen field.  Otherwise
781  *      you need to do strlen() on the d_name field.
782  */
783 #undef I_DIRENT         /**/
784 #define DIRNAMLEN       /**/
785 #define Direntry_t struct dirent
786
787 /* I_FCNTL:
788  *      This manifest constant tells the C program to include <fcntl.h>.
789  */
790 #undef I_FCNTL  /**/
791
792 /* I_GRP:
793  *      This symbol, if defined, indicates to the C program that it should
794  *      include <grp.h>.
795  */
796 #undef I_GRP            /**/
797
798 /* I_LIMITS:
799  *      This symbol, if defined, indicates to the C program that it should
800  *      include <limits.h> to get definition of symbols like WORD_BIT or
801  *      LONG_MAX, i.e. machine dependant limitations.
802  */
803 #define I_LIMITS                /**/
804
805 /* I_MEMORY:
806  *      This symbol, if defined, indicates to the C program that it should
807  *      include <memory.h>.
808  */
809 #undef I_MEMORY         /**/
810
811 /* I_NDBM:
812  *      This symbol, if defined, indicates that ndbm.h exists and should
813  *      be included.
814  */
815 #undef I_NDBM   /**/
816
817 /* I_STDARG:
818  *      This symbol, if defined, indicates that <stdarg.h> exists and should
819  *      be included.
820  */
821 #define I_STDARG                /**/
822
823 /* I_PWD:
824  *      This symbol, if defined, indicates to the C program that it should
825  *      include <pwd.h>.
826  */
827 /* PWQUOTA:
828  *      This symbol, if defined, indicates to the C program that struct passwd
829  *      contains pw_quota.
830  */
831 /* PWAGE:
832  *      This symbol, if defined, indicates to the C program that struct passwd
833  *      contains pw_age.
834  */
835 /* PWCHANGE:
836  *      This symbol, if defined, indicates to the C program that struct passwd
837  *      contains pw_change.
838  */
839 /* PWCLASS:
840  *      This symbol, if defined, indicates to the C program that struct passwd
841  *      contains pw_class.
842  */
843 /* PWEXPIRE:
844  *      This symbol, if defined, indicates to the C program that struct passwd
845  *      contains pw_expire.
846  */
847 /* PWCOMMENT:
848  *      This symbol, if defined, indicates to the C program that struct passwd
849  *      contains pw_comment.
850  */
851 #undef I_PWD            /**/
852 #undef PWQUOTA  /**/
853 #undef PWAGE    /**/
854 #undef PWCHANGE /**/
855 #undef PWCLASS  /**/
856 #undef PWEXPIRE /**/
857 #define PWGECOS /**/
858 #define PWCOMMENT       /**/
859
860 /* I_STDDEF:
861  *      This symbol, if defined, indicates that <stddef.h> exists and should
862  *      be included.
863  */
864 #define I_STDDEF        /**/
865
866 /* I_STDLIB:
867 *       This symbol, if defined, indicates that <stdlib.h> exists and should
868 *       be included.
869 */
870 #define I_STDLIB                /**/
871
872 /* I_STRING:
873  *      This symbol, if defined, indicates to the C program that it should
874  *      include <string.h> (USG systems) instead of <strings.h> (BSD systems).
875  */
876 #define I_STRING                /**/
877
878 /* I_SYS_DIR:
879  *      This symbol, if defined, indicates to the C program that it should
880  *      include <sys/dir.h>.
881  */
882 #undef I_SYS_DIR                /**/
883
884 /* I_SYS_FILE:
885  *      This symbol, if defined, indicates to the C program that it should
886  *      include <sys/file.h> to get definition of R_OK and friends.
887  */
888 #undef I_SYS_FILE               /**/
889
890 /* I_SYS_IOCTL:
891  *      This symbol, if defined, indicates that <sys/ioctl.h> exists and should
892  *      be included. Otherwise, include <sgtty.h> or <termio.h>.
893  */
894 #undef  I_SYS_IOCTL             /**/
895
896 /* I_SYS_NDIR:
897  *      This symbol, if defined, indicates to the C program that it should
898  *      include <sys/ndir.h>.
899  */
900 #undef I_SYS_NDIR       /**/
901
902 /* I_SYS_RESOURCE:
903  *      This symbol, if defined, indicates to the C program that it should
904  *      include <sys/resource.h>.
905  */
906 #undef I_SYS_RESOURCE           /**/
907
908 /* I_SYS_SELECT:
909  *      This symbol, if defined, indicates to the C program that it should
910  *      include <sys/select.h> in order to get definition of struct timeval.
911  */
912 #undef I_SYS_SELECT     /**/
913
914 /* I_DBM:
915  *      This symbol, if defined, indicates that <dbm.h> exists and should
916  *      be included.
917  */
918 /* I_RPCSVC_DBM:
919  *      This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
920  *      should be included.
921  */
922 #undef I_DBM    /**/
923 #undef I_RPCSVC_DBM     /**/
924
925 /* I_SFIO:
926  *      This symbol, if defined, indicates to the C program that it should
927  *      include <sfio.h>.
928  */
929 #undef  I_SFIO          /**/
930
931 /* I_SYS_STAT:
932  *      This symbol, if defined, indicates to the C program that it should
933  *      include <sys/stat.h>.
934  */
935 #define I_SYS_STAT              /**/
936
937 /* I_SYS_TIMES:
938  *      This symbol, if defined, indicates to the C program that it should
939  *      include <sys/times.h>.
940  */
941 #undef  I_SYS_TIMES             /**/
942
943 /* I_SYS_TYPES:
944  *      This symbol, if defined, indicates to the C program that it should
945  *      include <sys/types.h>.
946  */
947 #define I_SYS_TYPES             /**/
948
949 /* I_SYS_UN:
950  *      This symbol, if defined, indicates to the C program that it should
951  *      include <sys/un.h> to get UNIX domain socket definitions.
952  */
953 #undef I_SYS_UN         /**/
954
955 /* I_SYS_WAIT:
956  *      This symbol, if defined, indicates to the C program that it should
957  *      include <sys/wait.h>.
958  */
959 #undef I_SYS_WAIT       /**/
960
961 /* I_TERMIO:
962  *      This symbol, if defined, indicates that the program should include
963  *      <termio.h> rather than <sgtty.h>.  There are also differences in
964  *      the ioctl() calls that depend on the value of this symbol.
965  */
966 /* I_TERMIOS:
967  *      This symbol, if defined, indicates that the program should include
968  *      the POSIX termios.h rather than sgtty.h or termio.h.
969  *      There are also differences in the ioctl() calls that depend on the
970  *      value of this symbol.
971  */
972 /* I_SGTTY:
973  *      This symbol, if defined, indicates that the program should include
974  *      <sgtty.h> rather than <termio.h>.  There are also differences in
975  *      the ioctl() calls that depend on the value of this symbol.
976  */
977 #undef I_TERMIO         /**/
978 #undef I_SGTTY          /**/
979 #undef I_TERMIOS                /**/
980
981 /* I_TIME:
982  *      This symbol, if defined, indicates to the C program that it should
983  *      include <time.h>.
984  */
985 /* I_SYS_TIME:
986  *      This symbol, if defined, indicates to the C program that it should
987  *      include <sys/time.h>.
988  */
989 /* I_SYS_TIME_KERNEL:
990  *      This symbol, if defined, indicates to the C program that it should
991  *      include <sys/time.h> with KERNEL defined.
992  */
993 #define I_TIME          /**/
994 #undef I_SYS_TIME               /**/
995 #undef I_SYS_TIME_KERNEL                /**/
996
997 /* I_UNISTD:
998  *      This symbol, if defined, indicates to the C program that it should
999  *      include <unistd.h>.
1000  */
1001 #undef I_UNISTD         /**/
1002
1003 /* I_UTIME:
1004  *      This symbol, if defined, indicates to the C program that it should
1005  *      include <utime.h>.
1006  */
1007 #undef I_UTIME          /**/
1008
1009 /* I_VARARGS:
1010  *      This symbol, if defined, indicates to the C program that it should
1011  *      include <varargs.h>.
1012  */
1013 #undef I_VARARGS                /**/
1014
1015
1016 /* I_VFORK:
1017  *      This symbol, if defined, indicates to the C program that it should
1018  *      include vfork.h.
1019  */
1020 #undef I_VFORK  /**/
1021
1022 /* Pid_t:
1023  *      This symbol holds the type used to declare process ids in the kernel.
1024  *      It can be int, uint, pid_t, etc... It may be necessary to include
1025  *      <sys/types.h> to get any typedef'ed information.
1026  */
1027 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1028 #  define Pid_t pid_t           /* config-skip */
1029 #else
1030 #  define Pid_t int     /* config-skip */
1031 #endif
1032
1033 /* CAN_PROTOTYPE:
1034  *      If defined, this macro indicates that the C compiler can handle
1035  *      function prototypes.
1036  */
1037 /* _:
1038  *      This macro is used to declare function parameters for folks who want
1039  *      to make declarations with prototypes using a different style than
1040  *      the above macros.  Use double parentheses.  For example:
1041  *
1042  *              int main _((int argc, char *argv[]));
1043  */
1044 #define CAN_PROTOTYPE   /**/
1045 #ifdef CAN_PROTOTYPE
1046 #define _(args) args  /* config-skip */
1047 #else
1048 #define _(args) ()    /* config-skip */
1049 #endif
1050
1051 /* RANDBITS:
1052  *      This symbol contains the number of bits of random number the rand()
1053  *      function produces.  Usual values are 15, 16, and 31.
1054  */
1055 #define RANDBITS 31             /**/
1056
1057
1058 /* Select_fd_set_t:
1059  *      This symbol holds the type used for the 2nd, 3rd, and 4th
1060  *      arguments to select.  Usually, this is 'fd_set *', if HAS_FD_SET
1061  *      is defined, and 'int *' otherwise.  This is only useful if you 
1062  *      have select(), of course.
1063  */
1064 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 50200000) && defined(DECCRTL_SOCKETS)
1065 #define Select_fd_set_t         fd_set *        /* config-skip */
1066 #else
1067 #define Select_fd_set_t         int *           /* config-skip */
1068 #endif
1069
1070 /* STDCHAR:
1071  *      This symbol is defined to be the type of char used in stdio.h.
1072  *      It has the values "unsigned char" or "char".
1073  */
1074 #define STDCHAR char    /**/
1075
1076 /* UNLINK_ALL_VERSIONS:
1077  *      This symbol, if defined, indicates that the program should arrange
1078  *      to remove all versions of a file if unlink() is called.
1079  */
1080 #undef UNLINK_ALL_VERSIONS              /**/
1081
1082 /* LOC_SED:
1083  *      This symbol holds the complete pathname to the sed program.
1084  */
1085 #define LOC_SED         "_NLA0:"        /**/
1086
1087 /* BIN:
1088  *      This symbol holds the path of the bin directory where the package will
1089  *      be installed. Program must be prepared to deal with ~name substitution.
1090  */
1091 /* BIN_EXP:
1092  *      This symbol is the filename expanded version of the BIN symbol, for
1093  *      programs that do not want to deal with that at run-time.
1094  */
1095 #define BIN "/perl_root/000000" /**/
1096 #define BIN_EXP "/perl_root/000000"     /**/
1097
1098 /* HAS_ALARM:
1099  *      This symbol, if defined, indicates that the alarm routine is
1100  *      available.
1101  */
1102 #define HAS_ALARM               /**/
1103
1104 /* HASATTRIBUTE:
1105  *      This symbol indicates the C compiler can check for function attributes,
1106  *      such as printf formats. This is normally only supported by GNU cc.
1107  */
1108 #ifdef __GNUC__
1109 #  define HASATTRIBUTE  /*config-skip*/
1110 #else
1111 #  undef HASATTRIBUTE   /*config-skip*/
1112 #endif
1113 #ifndef HASATTRIBUTE
1114 #define __attribute__(_arg_)
1115 #endif
1116
1117 /* CASTI32:
1118  *      This symbol is defined if the C compiler can cast negative
1119  *      or large floating point numbers to 32-bit ints.
1120  */
1121 #define CASTI32         /**/
1122
1123 /* HAS_CHOWN:
1124  *      This symbol, if defined, indicates that the chown routine is
1125  *      available.
1126  */
1127 #define HAS_CHOWN               /**/
1128
1129 /* HAS_CHROOT:
1130  *      This symbol, if defined, indicates that the chroot routine is
1131  *      available.
1132  */
1133 #undef HAS_CHROOT               /**/
1134
1135 /* HAS_CUSERID:
1136  *      This symbol, if defined, indicates that the cuserid routine is
1137  *      available to get character login names.
1138  */
1139 #define HAS_CUSERID             /**/
1140
1141 /* HAS_DBL_DIG:
1142  *      This symbol, if defined, indicates that this system's <float.h>
1143  *      or <limits.h> defines the symbol DBL_DIG, which is the number
1144  *      of significant digits in a double precision number.  If this
1145  *      symbol is not defined, a guess of 15 is usually pretty good.
1146  */
1147 #define HAS_DBL_DIG     /* */
1148
1149 /* HAS_DIFFTIME:
1150  *      This symbol, if defined, indicates that the difftime routine is
1151  *      available.
1152  */
1153 #define HAS_DIFFTIME            /**/
1154
1155 /* HAS_FORK:
1156  *      This symbol, if defined, indicates that the fork routine is
1157  *      available.
1158  */
1159 /* VMS: In vmsish.h, fork is #defined to vfork.  This kludge gets around
1160  * some obsolete code in pp.c, which should be fixed in its own right
1161  * sometime.  - C. Bailey 26-Aug-1994
1162  */
1163 #define HAS_FORK                /**/
1164
1165 /* HAS_GETLOGIN:
1166  *      This symbol, if defined, indicates that the getlogin routine is
1167  *      available.
1168  */
1169 #define HAS_GETLOGIN            /**/
1170
1171 /* HAS_GETPPID:
1172  *      This symbol, if defined, indicates that the getppid routine is
1173  *      available.
1174  */
1175 #undef HAS_GETPPID              /**/
1176
1177 /* HAS_HTONL:
1178  *      This symbol, if defined, indicates that the htonl() routine (and
1179  *      friends htons() ntohl() ntohs()) are available to do network
1180  *      order byte swapping.
1181  */
1182 /* HAS_HTONS:
1183  *      This symbol, if defined, indicates that the htons() routine (and
1184  *      friends htonl() ntohl() ntohs()) are available to do network
1185  *      order byte swapping.
1186  */
1187 /* HAS_NTOHL:
1188  *      This symbol, if defined, indicates that the ntohl() routine (and
1189  *      friends htonl() htons() ntohs()) are available to do network
1190  *      order byte swapping.
1191  */
1192 /* HAS_NTOHS:
1193  *      This symbol, if defined, indicates that the ntohs() routine (and
1194  *      friends htonl() htons() ntohl()) are available to do network
1195  *      order byte swapping.
1196  */
1197 #define HAS_HTONL             /**/
1198 #define HAS_HTONS             /**/
1199 #define HAS_NTOHL             /**/
1200 #define HAS_NTOHS             /**/
1201  
1202 /* HAS_MBLEN:
1203  *      This symbol, if defined, indicates that the mblen routine is available
1204  *      to find the number of bytes in a multibye character.
1205  */
1206 #ifdef __DECC
1207 #  define HAS_MBLEN             /*config-skip*/
1208 #else
1209 #  undef HAS_MBLEN              /*config-skip*/
1210 #endif
1211
1212 /* HAS_MKTIME:
1213  *      This symbol, if defined, indicates that the mktime routine is
1214  *      available.
1215  */
1216 #ifdef __DECC
1217 #  define HAS_MKTIME            /*config-skip*/
1218 #else
1219 #  undef HAS_MKTIME             /*config-skip*/
1220 #endif
1221
1222 /* HAS_NICE:
1223  *      This symbol, if defined, indicates that the nice routine is
1224  *      available.
1225  */
1226 #define HAS_NICE                /**/
1227
1228 /* HAS_PAUSE:
1229  *      This symbol, if defined, indicates that the pause routine is
1230  *      available.
1231  */
1232 #define HAS_PAUSE               /**/
1233
1234 /* HAS_PIPE:
1235  *      This symbol, if defined, indicates that the pipe routine is
1236  *      available.
1237  */
1238 #define HAS_PIPE                /**/
1239
1240 /* HAS_READLINK:
1241  *      This symbol, if defined, indicates that the readlink routine is
1242  *      available.
1243  */
1244 #undef HAS_READLINK             /**/
1245
1246 /* HAS_SETLINEBUF:
1247  *      This symbol, if defined, indicates that the setlinebuf routine is
1248  *      available to change stderr or stdout from block-buffered or unbuffered
1249  *      to a line-buffered mode.
1250  */
1251 #undef HAS_SETLINEBUF           /**/
1252
1253 /* HAS_STRCHR:
1254  *      This symbol is defined to indicate that the strchr()/strrchr()
1255  *      functions are available for string searching. If not, try the
1256  *      index()/rindex() pair.
1257  */
1258 /* HAS_INDEX:
1259  *      This symbol is defined to indicate that the index()/rindex()
1260  *      functions are available for string searching.
1261  */
1262 #define HAS_STRCHR      /**/
1263 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1264 #define HAS_INDEX /*config-skip*/
1265 #else
1266 #undef HAS_INDEX        /*config-skip*/
1267 #endif
1268
1269 /* HAS_STRCOLL:
1270  *      This symbol, if defined, indicates that the strcoll routine is
1271  *      available to compare strings using collating information.
1272  */
1273 #ifdef __DECC
1274 #  define HAS_STRCOLL   /*config-skip*/
1275 #else
1276 #  undef HAS_STRCOLL    /*config-skip*/
1277 #endif
1278
1279 /* HAS_STRTOD:
1280  *      This symbol, if defined, indicates that the strtod routine is
1281  *      available to provide better numeric string conversion than atof().
1282  */
1283 #define HAS_STRTOD      /**/
1284
1285 /* HAS_STRTOL:
1286  *      This symbol, if defined, indicates that the strtol routine is available
1287  *      to provide better numeric string conversion than atoi() and friends.
1288  */
1289 #define HAS_STRTOL      /**/
1290
1291 /* HAS_STRTOUL:
1292  *      This symbol, if defined, indicates that the strtoul routine is
1293  *      available to provide conversion of strings to unsigned long.
1294  */
1295 #define HAS_STRTOUL     /**/
1296
1297 /* HAS_STRXFRM:
1298  *      This symbol, if defined, indicates that the strxfrm() routine is
1299  *      available to compare strings using collating information.
1300  */
1301 #ifdef __DECC
1302 #  define HAS_STRXFRM   /*config-skip*/
1303 #else
1304 #  undef HAS_STRXFRM    /*config-skip*/
1305 #endif
1306
1307 /* HAS_TCGETPGRP:
1308  *      This symbol, if defined, indicates that the tcgetpgrp routine is
1309  *      available to get foreground process group ID.
1310  */
1311 #undef HAS_TCGETPGRP            /**/
1312
1313 /* HAS_TCSETPGRP:
1314  *      This symbol, if defined, indicates that the tcsetpgrp routine is
1315  *      available to set foreground process group ID.
1316  */
1317 #undef HAS_TCSETPGRP            /**/
1318
1319 /* HAS_TIMES:
1320  *      This symbol, if defined, indicates that the times() routine exists.
1321  *      Note that this became obsolete on some systems (SUNOS), which now
1322  * use getrusage(). It may be necessary to include <sys/times.h>.
1323  */
1324 #define HAS_TIMES               /**/
1325
1326 /* HAS_TZNAME:
1327  *      This symbol, if defined, indicates that the tzname[] array is
1328  *      available to access timezone names.
1329  */
1330 #undef HAS_TZNAME               /**/
1331
1332 /* HAS_UMASK:
1333  *      This symbol, if defined, indicates that the umask routine is
1334  *      available to get the file creation mask.
1335  */
1336 #define HAS_UMASK               /**/
1337
1338 /* HAS_WCTOMB:
1339  *      This symbol, if defined, indicates that the wctomb routine is available
1340  *      to covert a wide character to a multibyte.
1341  */
1342 #ifdef __DECC
1343 #  define HAS_WCTOMB            /*config-skip*/
1344 #else
1345 #  undef HAS_WCTOMB             /*config-skip*/
1346 #endif
1347
1348 /* Fpos_t:
1349  *      This symbol holds the type used to declare file positions in libc.
1350  *      It can be fpos_t, long, uint, etc... It may be necessary to include
1351  *      <sys/types.h> to get any typedef'ed information.
1352  */
1353 #define Fpos_t fpos_t           /* File position type */
1354
1355 /* Gid_t:
1356  *      This symbol holds the return type of getgid() and the type of
1357  *      argument to setrgid() and related functions.  Typically,
1358  *      it is the type of group ids in the kernel.
1359  *      It can be int, ushort, uid_t, etc... It may be necessary to include
1360  *      <sys/types.h> to get any typedef'ed information.
1361  */
1362 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1363 #  define Gid_t gid_t           /* config-skip */
1364 #else
1365 #  define Gid_t unsigned int    /* config-skip */
1366 #endif
1367
1368 /* I_DLFCN:
1369  *      This symbol, if defined, indicates that <dlfcn.h> exists and should
1370  *      be included.
1371  */
1372 #undef I_DLFCN          /**/
1373
1374 /* I_FLOAT:
1375  *      This symbol, if defined, indicates to the C program that it should
1376  *      include <float.h> to get definition of symbols like DBL_MAX or
1377  *      DBL_MIN, i.e. machine dependent floating point values.
1378  */
1379 #define I_FLOAT         /**/
1380
1381 /* I_MATH:
1382  *      This symbol, if defined, indicates to the C program that it should
1383  *      include <math.h>.
1384  */
1385 #define I_MATH          /**/
1386
1387 /* DOUBLESIZE:
1388  *      This symbol contains the size of a double, so that the C preprocessor
1389  *      can make decisions based on it.
1390  */
1391 /* INTSIZE:
1392  *      This symbol contains the size of an int, so that the C preprocessor
1393  *      can make decisions based on it.
1394  */
1395 /* LONGSIZE:
1396  *      This symbol contains the value of sizeof(long) so that the C
1397  *      preprocessor can make decisions based on it.
1398  */
1399 /* SHORTSIZE:
1400  *      This symbol contains the value of sizeof(short) so that the C
1401  *      preprocessor can make decisions based on it.
1402  */
1403 /* PTRSIZE:
1404  *      This symbol contains the size of a pointer, so that the C preprocessor
1405  *      can make decisions based on it.  It will be sizeof(void *) if
1406  *      the compiler supports (void *); otherwise it will be
1407  *      sizeof(char *).
1408  *      VMS: Use 32-bit pointers everywhere for now  7-Mar-1998
1409  */
1410 #define DOUBLESIZE 8            /**/
1411 #define INTSIZE 4               /**/
1412 #define LONGSIZE 4              /**/
1413 #define SHORTSIZE 2             /**/
1414 #define PTRSIZE 4               /**/
1415
1416 /* Off_t:
1417  *      This symbol holds the type used to declare offsets in the kernel.
1418  *      It can be int, long, off_t, etc... It may be necessary to include
1419  *      <sys/types.h> to get any typedef'ed information.
1420  */
1421 #define Off_t int               /* <offset> type */
1422
1423 /* I_VALUES:
1424  *      This symbol, if defined, indicates to the C program that it should
1425  *      include <values.h> to get definition of symbols like MINFLOAT or
1426  *      MAXLONG, i.e. machine dependant limitations.  Probably, you
1427  *      should use <limits.h> instead, if it is available.
1428  */
1429 #undef I_VALUES         /**/
1430
1431 /* Free_t:
1432  *      This variable contains the return type of free().  It is usually
1433  * void, but occasionally int.
1434  */
1435 /* Malloc_t:
1436  *      This symbol is the type of pointer returned by malloc and realloc.
1437  */
1438 #define Malloc_t void *                 /**/
1439 #define Free_t void                     /**/
1440
1441 /* MYMALLOC:
1442  *      This symbol, if defined, indicates that we're using our own malloc.
1443  */
1444 #undef MYMALLOC                 /**/
1445
1446 /* SH_PATH:
1447  *      This symbol contains the full pathname to the shell used on this
1448  *      on this system to execute Bourne shell scripts.  Usually, this will be
1449  *      /bin/sh, though it's possible that some systems will have /bin/ksh,
1450  *      /bin/pdksh, /bin/ash, /bin/bash, or even something such as D:/bin/sh.
1451  */
1452 #define SH_PATH "MCR"  /**/
1453
1454 /* SIG_NAME:
1455  *      This symbol contains a list of signal names in order. This is intended
1456  *      to be used as a static array initialization, like this:
1457  *              char *sig_name[] = { SIG_NAME };
1458  *      The signals in the list are separated with commas, and each signal
1459  *      is surrounded by double quotes. There is no leading SIG in the signal
1460  *      name, i.e. SIGQUIT is known as "QUIT". Duplicates are allowed.
1461  *      The signal number for sig_name[i] is stored in sig_num[i].
1462  *      The last element is 0 to terminate the list with a NULL.  This
1463  *      corresponds to the 0 at the end of the sig_num list.
1464  *      See SIG_NUM and SIG_MAX.
1465  */
1466 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1467 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE",\
1468                  "KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM",\
1469                  "ABRT","USR1","USR2","SPARE18","SPARE19","CHLD","CONT",\
1470                  "STOP","TSTP","TTIN","TTOU","DEBUG","SPARE27","SPARE28",\
1471                  "SPARE29","SPARE30","SPARE31","SPARE32","RTMIN","RTMAX",0 /**/
1472 #else
1473 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE",\
1474                  "KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM",\
1475                  "ABRT","USR1","USR2",0 /*config-skip*/
1476 #endif
1477
1478 /* SIG_NUM:
1479  *      This symbol contains a list of signal number, in the same order as the
1480  *      SIG_NAME list. It is suitable for static array initialization, as in:
1481  *              int sig_num[] = { SIG_NUM };
1482  *      The signals in the list are separated with commas, and the indices
1483  *      within that list and the SIG_NAME list match, so it's easy to compute
1484  *      the signal name from a number or vice versa at the price of a small
1485  *      dynamic linear lookup. Duplicates are allowed, so you can't assume
1486  *      sig_num[i] == i.  Instead, the signal number corresponding to
1487  * sig_name[i] is sig_number[i].
1488  * The last element is 0, corresponding to the 0 at the end of
1489  * the sig_name list.
1490  */
1491 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1492 #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      /**/
1493 #else
1494 #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*/
1495 #endif
1496
1497 /* Mode_t:
1498  *      This symbol holds the type used to declare file modes 
1499  *      for systems calls.  It is usually mode_t, but may be
1500  *      int or unsigned short.  It may be necessary to include <sys/types.h>
1501  *      to get any typedef'ed information.
1502  */
1503 #define Mode_t unsigned int      /* file mode parameter for system calls*/
1504
1505 /* SSize_t:
1506  *      This symbol holds the type used by functions that return
1507  *      a count of bytes or an error condition.  It must be a signed type.
1508  *      It is usually ssize_t, but may be long or int, etc.
1509  *      It may be necessary to include <sys/types.h> or <unistd.h>
1510  *      to get any typedef'ed information.
1511  *      We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1512  */
1513 #define SSize_t int      /* signed count of bytes */
1514
1515 /* VAL_O_NONBLOCK:
1516  *      This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1517  *      non-blocking I/O for the file descriptor. Note that there is no way
1518  *      back, i.e. you cannot turn it blocking again this way. If you wish to
1519  *      alternatively switch between blocking and non-blocking, use the
1520  *      ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1521  */
1522 /* VAL_EAGAIN:
1523  *      This symbol holds the errno error code set by read() when no data was
1524  *      present on the non-blocking file descriptor.
1525  */
1526 /* RD_NODATA:
1527  *      This symbol holds the return code from read() when no data is present
1528  *      on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1529  *      not defined, then you can't distinguish between no data and EOF by
1530  *      issuing a read(). You'll have to find another way to tell for sure!
1531  */
1532 /* EOF_NONBLOCK:
1533  *      This symbol, if defined, indicates to the C program that a read() on
1534  *      a non-blocking file descriptor will return 0 on EOF, and not the value
1535  *      held in RD_NODATA (-1 usually, in that case!).
1536  */
1537 #undef VAL_O_NONBLOCK
1538 #undef VAL_EAGAIN
1539 #undef RD_NODATA
1540 #undef EOF_NONBLOCK
1541
1542 /* PRIVLIB:
1543  *      This symbol contains the name of the private library for this package.
1544  *      The library is private in the sense that it needn't be in anyone's
1545  *      execution path, but it should be accessible by the world.  The program
1546  *      should be prepared to do ~ expansion.
1547  */
1548 /* PRIVLIB_EXP:
1549  *      This symbol contains the ~name expanded version of PRIVLIB, to be used
1550  *      in programs that are not prepared to deal with ~ expansion at run-time.
1551  */
1552 #define PRIVLIB_EXP "/perl_root/lib"            /**/
1553 #define PRIVLIB PRIVLIB_EXP  /*config-skip*/
1554
1555 /* SITELIB:
1556  *      This symbol contains the name of the private library for this package.
1557  *      The library is private in the sense that it needn't be in anyone's
1558  *      execution path, but it should be accessible by the world.  The program
1559  *      should be prepared to do ~ expansion.
1560  *      The standard distribution will put nothing in this directory.
1561  *      Individual sites may place their own extensions and modules in
1562  *      this directory.
1563  */
1564 /* SITELIB_EXP:
1565  *      This symbol contains the ~name expanded version of SITELIB, to be used
1566  *      in programs that are not prepared to deal with ~ expansion at run-time.
1567  */
1568 #define SITELIB_EXP     "/perl_root/lib/site_perl"      /**/
1569 #define SITELIB SITELIB_EXP  /*config-skip*/
1570
1571 /* SITEARCH:
1572  *      This symbol contains the name of the private library for this package.
1573  *      The library is private in the sense that it needn't be in anyone's
1574  *      execution path, but it should be accessible by the world.  The program
1575  *      should be prepared to do ~ expansion.
1576  *      The standard distribution will put nothing in this directory.
1577  *      Individual sites may place their own extensions and modules in
1578  *      this directory.
1579  */
1580 /* SITEARCH_EXP:
1581  *      This symbol contains the ~name expanded version of SITEARCH, to be used
1582  *      in programs that are not prepared to deal with ~ expansion at run-time.
1583  */
1584 /*     ==> NOTE <==
1585  * This value is automatically updated by FndVers.Com
1586  * when Perl is built.  Please do not change it by hand; make
1587  * any changes to FndVers.Com instead.
1588  */
1589 #define SITEARCH_EXP "/perl_root/lib/site_perl/VMS_VAX"  /**/
1590 #define SITEARCH SITEARCH_EXP  /*config-skip*/
1591
1592 /* Size_t:
1593  *      This symbol holds the type used to declare length parameters
1594  *      for string functions.  It is usually size_t, but may be
1595  *      unsigned long, int, etc.  It may be necessary to include
1596  *      <sys/types.h> to get any typedef'ed information.
1597  */
1598 #define Size_t size_t    /* length paramater for string functions */
1599
1600 /* Uid_t:
1601  *      This symbol holds the type used to declare user ids in the kernel.
1602  *      It can be int, ushort, uid_t, etc... It may be necessary to include
1603  *      <sys/types.h> to get any typedef'ed information.
1604  */
1605 #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000)
1606 #  define Uid_t uid_t           /* config-skip */
1607 #else
1608 #  define Uid_t unsigned int    /* config-skip */
1609 #endif
1610
1611 /* I_SYS_PARAM:
1612  *      This symbol, if defined, indicates to the C program that it should
1613  *      include <sys/param.h>.
1614  */
1615 #undef I_SYS_PARAM
1616
1617 /* VOID_CLOSEDIR:
1618  *      This symbol, if defined, indicates that the closedir() routine
1619  *      does not return a value.
1620  */
1621 #define VOID_CLOSEDIR           /**/
1622
1623 /* HAS_DLERROR:
1624  *      This symbol, if defined, indicates that the dlerror routine is
1625  *      available.
1626 */
1627 #undef HAS_DLERROR              /**/
1628
1629 /* DLSYM_NEEDS_UNDERSCORE:
1630  *      This symbol, if defined, indicates that we need to prepend an
1631  *      underscore to the symbol name before calling dlsym().  This only
1632  *      makes sense if you *have* dlsym, which we will presume is the
1633  *      case if you're using dl_dlopen.xs.
1634  */
1635 #undef  DLSYM_NEEDS_UNDERSCORE  /* */
1636
1637 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1638  *      This symbol, if defined, indicates that setuid scripts are secure.
1639  */
1640 /* DOSUID:
1641  *      This symbol, if defined, indicates that the C program should
1642  *      check the script that it is executing for setuid/setgid bits, and
1643  *      attempt to emulate setuid/setgid on systems that have disabled
1644  *      setuid #! scripts because the kernel can't do it securely.
1645  *      It is up to the package designer to make sure that this emulation
1646  *      is done securely.  Among other things, it should do an fstat on
1647  *      the script it just opened to make sure it really is a setuid/setgid
1648  *      script, it should make sure the arguments passed correspond exactly
1649  *      to the argument on the #! line, and it should not trust any
1650  *      subprocesses to which it must pass the filename rather than the
1651  *      file descriptor of the script to be executed.
1652  */
1653 #undef SETUID_SCRIPTS_ARE_SECURE_NOW    /**/
1654 #undef DOSUID           /**/
1655
1656 /* HAS_INET_ATON:
1657  *      This symbol, if defined, indicates to the C program that the
1658  *      inet_aton() function is available to parse IP address "dotted-quad"
1659  *      strings.
1660  *      VMS: SocketShr doesn't support this, so we let the Socket extension
1661  *      roll its own.
1662  */
1663 #undef HAS_INET_ATON            /**/
1664
1665 /* HAS_GNULIBC:
1666  *      This symbol, if defined, indicates to the C program that 
1667  *      the GNU C library is being used.
1668  */
1669 #undef HAS_GNULIBC      /**/
1670
1671 /* HAS_ISASCII:
1672  *      This manifest constant lets the C program know that the
1673  *      isascii is available.
1674  */
1675 #define HAS_ISASCII             /**/
1676
1677 /* HAS_LCHOWN:
1678  *      This symbol, if defined, indicates that the lchown routine is
1679  *      available to operate on a symbolic link (instead of following the
1680  *      link).
1681  */
1682 /*#define HAS_LCHOWN            / **/
1683
1684 /* HAS_SETLOCALE:
1685  *      This symbol, if defined, indicates that the setlocale routine is
1686  *      available to handle locale-specific ctype implementations.
1687  */
1688 /* I_LOCALE:
1689  *      This symbol, if defined, indicates to the C program that it should
1690  *      include <locale.h>.
1691  */
1692 /* HAS_LOCALECONV:
1693  *      This symbol, if defined, indicates that the localeconv routine is
1694  *      available for numeric and monetary formatting conventions.
1695  */
1696 #ifdef __DECC
1697 #  define       I_LOCALE                /*config-skip*/
1698 #  define HAS_SETLOCALE /*config-skip*/
1699 #  define HAS_LOCALECONV        /*config-skip*/
1700 #else
1701 #  undef        I_LOCALE                /*config-skip*/
1702 #  undef HAS_SETLOCALE  /*config-skip*/
1703 #  undef HAS_LOCALECONV /*config-skip*/
1704 #endif
1705
1706 /* HAS_MKFIFO:
1707  *      This symbol, if defined, indicates that the mkfifo routine is
1708  *      available.
1709  */
1710 #undef HAS_MKFIFO               /**/
1711
1712 /* HAS_PATHCONF:
1713  *      This symbol, if defined, indicates that pathconf() is available
1714  *      to determine file-system related limits and options associated
1715  *      with a given filename.
1716  */
1717 /* HAS_FPATHCONF:
1718  *      This symbol, if defined, indicates that pathconf() is available
1719  *      to determine file-system related limits and options associated
1720  *      with a given open file descriptor.
1721  */
1722 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1723 #define HAS_PATHCONF /*config-skip*/
1724 #define HAS_FPATHCONF /*config-skip*/
1725 #else
1726 #undef HAS_PATHCONF       /*config-skip*/
1727 #undef HAS_FPATHCONF     /*config-skip*/
1728 #endif
1729
1730 /* HAS_SAFE_BCOPY:
1731  *      This symbol, if defined, indicates that the bcopy routine is available
1732  *      to copy potentially overlapping memory blocks. Otherwise you should
1733  *      probably use memmove() or memcpy(). If neither is defined, roll your
1734  *      own version.
1735  */
1736 #undef HAS_SAFE_BCOPY   /**/
1737
1738 /* HAS_SAFE_MEMCPY:
1739  *      This symbol, if defined, indicates that the memcpy routine is available
1740  *      to copy potentially overlapping memory blocks. Otherwise you should
1741  *      probably use memmove() or memcpy(). If neither is defined, roll your
1742  *      own version.
1743  */
1744 #define HAS_SAFE_MEMCPY /**/
1745
1746 /* HAS_SANE_MEMCMP:
1747  *      This symbol, if defined, indicates that the memcmp routine is available
1748  *      and can be used to compare relative magnitudes of chars with their high
1749  *      bits set.  If it is not defined, roll your own version.
1750  */
1751 #define HAS_SANE_MEMCMP /**/
1752
1753 /* HAS_SETPGRP:
1754  *      This symbol, if defined, indicates that the setpgrp routine is
1755  *      available to set the current process group.
1756  */
1757 /* USE_BSD_SETPGRP:
1758  *      This symbol, if defined, indicates that setpgrp needs two
1759  *      arguments whereas USG one needs none.  See also HAS_SETPGID
1760  *      for a POSIX interface.
1761  */
1762 #undef HAS_SETPGRP              /**/
1763 #undef USE_BSD_SETPGRP  /**/
1764
1765 /* HAS_SETPGID:
1766  *      This symbol, if defined, indicates that the setpgid routine is
1767  *      available to set process group ID.
1768  */
1769 #undef HAS_SETPGID      /**/
1770
1771 /* HAS_SETPGRP2:
1772  *      This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
1773  *      routine is available to set the current process group.
1774  */
1775 #undef HAS_SETPGRP2             /**/
1776
1777 /* HAS_SYSCONF:
1778  *      This symbol, if defined, indicates that sysconf() is available
1779  *      to determine system related limits and options.
1780  */
1781 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1782 #define HAS_SYSCONF /*config-skip*/
1783 #else
1784 #undef HAS_SYSCONF     /*config-skip*/
1785 #endif
1786
1787 /* Gconvert:
1788  *      This preprocessor macro is defined to convert a floating point
1789  *      number to a string without a trailing decimal point.  This
1790  *      emulates the behavior of sprintf("%g"), but is sometimes much more
1791  *      efficient.  If gconvert() is not available, but gcvt() drops the
1792  *      trailing decimal point, then gcvt() is used.  If all else fails,
1793  *      a macro using sprintf("%g") is used.  Arguments for the Gconvert
1794  *      macro are: value, number of digits, whether trailing zeros should
1795  *      be retained, and the output buffer.
1796  *      Possible values are:
1797  *              d_Gconvert='gconvert((x),(n),(t),(b))'
1798  *              d_Gconvert='gcvt((x),(n),(b))'
1799  *              d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1800  *      The last two assume trailing zeros should not be kept.
1801  */
1802 #define Gconvert(x,n,t,b) my_gconvert(x,n,t,b)
1803
1804 /* HAS_GETPGID:
1805  *      This symbol, if defined, indicates to the C program that 
1806  *      the getpgid(pid) function is available to get the
1807  *      process group id.
1808  */
1809 #undef HAS_GETPGID              /**/
1810
1811 /* HAS_GETPGRP:
1812  *      This symbol, if defined, indicates that the getpgrp routine is
1813  *      available to get the current process group.
1814  */
1815 /* USE_BSD_GETPGRP:
1816  *      This symbol, if defined, indicates that getpgrp needs one
1817  *      arguments whereas USG one needs none.
1818  */
1819 #undef HAS_GETPGRP              /**/
1820 #undef USE_BSD_GETPGRP  /**/
1821
1822 /* HAS_GETPGRP2:
1823  *      This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
1824  *      routine is available to get the current process group.
1825  */
1826 #undef HAS_GETPGRP2             /**/
1827
1828 /* USE_SFIO:
1829  *      This symbol, if defined, indicates that sfio should
1830  *      be used.
1831  */
1832 #undef  USE_SFIO                /**/
1833
1834 /* PTHREADS_CREATED_JOINABLE:
1835  *      This symbol, if defined, indicates that pthreads are created
1836  *      in the joinable (aka undetached) state.
1837  */
1838 #define PTHREADS_CREATED_JOINABLE               /**/
1839
1840 /* Sigjmp_buf:
1841  * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1842  */
1843 /* Sigsetjmp:
1844  * This macro is used in the same way as sigsetjmp(), but will invoke
1845  * traditional setjmp() if sigsetjmp isn't available.
1846  */
1847 /* Siglongjmp:
1848  * This macro is used in the same way as siglongjmp(), but will invoke
1849  * traditional longjmp() if siglongjmp isn't available.
1850  */
1851 #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000)
1852 #define HAS_SIGSETJMP /*config-skip*/
1853 #else
1854 #undef HAS_SIGSETJMP    /*config-skip*/
1855 #endif
1856 #ifdef HAS_SIGSETJMP
1857 #define Sigjmp_buf sigjmp_buf   /* config-skip */
1858 #define Sigsetjmp(buf,save_mask) sigsetjmp(buf,save_mask)       /* config-skip */
1859 #define Siglongjmp(buf,retval) siglongjmp(buf,retval)   /* config-skip */
1860 #else
1861 #define Sigjmp_buf jmp_buf      /* config-skip */
1862 #define Sigsetjmp(buf,save_mask) setjmp(buf)    /* config-skip */
1863 #define Siglongjmp(buf,retval) longjmp(buf,retval)      /* config-skip */
1864 #endif
1865
1866 /* USE_DYNAMIC_LOADING:
1867  *      This symbol, if defined, indicates that dynamic loading of
1868  *      some sort is available.
1869  */
1870 #define USE_DYNAMIC_LOADING             /**/
1871
1872 /* STARTPERL:
1873  *      This variable contains the string to put in front of a perl
1874  *      script to make sure (one hopes) that it runs with perl and not
1875  *      some shell.
1876  */
1877 #define STARTPERL ""            /**/
1878
1879 /* Groups_t:
1880  *      This symbol holds the type used for the second argument to
1881  *      [gs]etgroups().  Usually, this is the same of gidtype, but
1882  *      sometimes it isn't.  It can be int, ushort, uid_t, etc... 
1883  *      It may be necessary to include <sys/types.h> to get any 
1884  *      typedef'ed information.  This is only required if you have
1885  *      getgroups() or setgroups.
1886  */
1887 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1888 #define Groups_t unsigned int   /* config-skip */
1889 #endif
1890
1891 /* DB_Prefix_t:
1892  *      This symbol contains the type of the prefix structure element
1893  *      in the <db.h> header file.  In older versions of DB, it was
1894  *      int, while in newer ones it is u_int32_t.
1895  */
1896 /* DB_Hash_t:
1897  *      This symbol contains the type of the prefix structure element
1898  *      in the <db.h> header file.  In older versions of DB, it was
1899  *      int, while in newer ones it is size_t.
1900  */
1901 #undef DB_Hash_t        /**/
1902 #undef DB_Prefix_t      /**/
1903
1904 /* USE_PERLIO:
1905  *      This symbol, if defined, indicates that the PerlIO abstraction should
1906  *      be used throughout.  If not defined, stdio should be
1907  *      used in a fully backward compatible manner.
1908  */
1909 #undef  USE_PERLIO              /**/
1910
1911 /* HAS_SETVBUF:
1912  *      This symbol, if defined, indicates that the setvbuf routine is
1913  *      available to change buffering on an open stdio stream.
1914  *      to a line-buffered mode.
1915  */
1916 #define HAS_SETVBUF             /**/
1917
1918 /* VOIDFLAGS:
1919  *      This symbol indicates how much support of the void type is given by this
1920  *      compiler.  What various bits mean:
1921  *
1922  *          1 = supports declaration of void
1923  *          2 = supports arrays of pointers to functions returning void
1924  *          4 = supports comparisons between pointers to void functions and
1925  *                  addresses of void functions
1926  *          8 = suports declaration of generic void pointers
1927  *
1928  *      The package designer should define VOIDUSED to indicate the requirements
1929  *      of the package.  This can be done either by #defining VOIDUSED before
1930  *      including config.h, or by defining defvoidused in Myinit.U.  If the
1931  *      latter approach is taken, only those flags will be tested.  If the
1932  *      level of void support necessary is not present, defines void to int.
1933  */
1934 #ifndef VOIDUSED
1935 #define VOIDUSED 15
1936 #endif
1937 #define VOIDFLAGS 15
1938 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1939 #define void int                /* is void to be avoided? */  /* config-skip */
1940 #define M_VOID                  /* Xenix strikes again */     /* config-skip */
1941 #endif
1942
1943 #ifdef VMS_DO_SOCKETS
1944 /* HAS_SOCKET:
1945  *      This symbol, if defined, indicates that the BSD socket interface is
1946  *      supported.
1947  */
1948 /* HAS_SOCKETPAIR:
1949  *      This symbol, if defined, indicates that the BSD socketpair() call is
1950  *      supported.
1951  */
1952 #define HAS_SOCKET              /**/          /* config-skip */
1953 #undef HAS_SOCKETPAIR   /**/          /* config-skip */
1954
1955 /* HAS_GETHOSTENT:
1956  *      This symbol, if defined, indicates that the gethostent routine is
1957  *      available to lookup host names in some data base or other.
1958  */
1959 #define HAS_GETHOSTENT          /**/      /* config-skip */
1960
1961 /* HAS_GETHOSTBYADDR:
1962  *      This symbol, if defined, indicates that the gethostbyaddr routine is
1963  *      available to lookup host names by their IP addresses.
1964  */
1965 #define HAS_GETHOSTBYADDR               /**/      /* config-skip */
1966
1967 /* Netdb_host_t:
1968  *      This symbol holds the type used for the 1st argument
1969  *      to gethostbyaddr().
1970  */
1971 #define Netdb_host_t            char * /**/ /* config-skip */
1972
1973 /* Netdb_hlen_t:
1974  *      This symbol holds the type used for the 2nd argument
1975  *      to gethostbyaddr().
1976  */
1977 #define Netdb_hlen_t            int     /**/  /* config-skip */
1978
1979 /* HAS_GETPROTOBYNAME:
1980  *      This symbol, if defined, indicates that the getprotobyname()
1981  *      routine is available to look up protocols by their name.
1982  */
1983 /* HAS_GETPROTOBYNUMBER:
1984  *      This symbol, if defined, indicates that the getprotobynumber()
1985  *      routine is available to look up protocols by their number.
1986  */
1987 #define HAS_GETPROTOBYNAME              /*config-skip*/
1988 #define HAS_GETPROTOBYNUMBER            /*config-skip*/
1989
1990 /* HAS_GETHOSTBYNAME:
1991  *      This symbol, if defined, indicates that the gethostbyname routine is
1992  *      available to lookup hosts by their DNS names.
1993  */
1994 #define HAS_GETHOSTBYNAME               /*config-skip*/
1995
1996 /* Netdb_name_t:
1997  *      This symbol holds the type used for the 1st argument
1998  *      to gethostbyname(), the 1st argument to getnetbyname(),
1999  *      the 1st argument to getprotobyname(), the 1st argument to
2000  *      getservbyname(), the 2nd argument to getservbyname(),
2001  *      and the 2nd argument to getservbyport().
2002  */
2003 #define Netdb_name_t    char *
2004
2005 #ifdef DECCRTL_SOCKETS
2006 /* HAS_GETNETBYADDR:
2007  *      This symbol, if defined, indicates that the getnetbyaddr routine is
2008  *      available to lookup networks by their IP addresses.
2009  */
2010 #define HAS_GETNETBYADDR                /**/      /* config-skip */
2011
2012 /* Netdb_net_t:
2013  *      This symbol holds the type used for the 1st argument
2014  *      to getnetbyaddr().
2015  */
2016 #define Netdb_net_t             long    /**/ /* config-skip */
2017
2018 /* HAS_GETNETBYNAME:
2019  *      This symbol, if defined, indicates that the getnetbyname routine is
2020  *      available to lookup networks by their names.
2021  */
2022 #define HAS_GETNETBYNAME                /*config-skip*/
2023
2024 /* HAS_GETNETENT:
2025  *      This symbol, if defined, indicates that the getnetent() routine is
2026  *      available to look up network names in some data base or another.
2027  */
2028 #define HAS_GETNETENT           /*config-skip*/
2029
2030 /* HAS_SETNETENT:
2031  *      This symbol, if defined, indicates that the setnetent() routine is
2032  *      available.
2033  */
2034 #define HAS_SETNETENT           /*config-skip*/
2035
2036 /* HAS_ENDNETENT:
2037  *      This symbol, if defined, indicates that the endnetent() routine is
2038  *      available to close whatever was being used for network queries.
2039  */
2040 #define HAS_ENDNETENT           /*config-skip*/
2041 #else
2042 #undef HAS_GETNETBYADDR         /*config-skip*/
2043 #undef HAS_GETNETBYNAME         /*config-skip*/
2044 #undef HAS_GETNETENT            /*config-skip*/
2045 #undef HAS_SETNETENT            /*config-skip*/
2046 #undef HAS_ENDNETENT            /*config-skip*/
2047 #endif
2048
2049 /* HAS_GETPROTOBYNAME:
2050  *      This symbol, if defined, indicates that the getprotobyname routine is
2051  *      available to lookup protocols by their names.
2052  */
2053 /* HAS_GETPROTOBYNUMBER:
2054  *      This symbol, if defined, indicates that the getprotobynumber()
2055  *      routine is available to look up protocols by their number.
2056  */
2057 #define HAS_GETPROTOBYNAME              /*config-skip*/
2058 #define HAS_GETPROTOBYNUMBER            /*config-skip*/
2059
2060 /* HAS_GETSERVBYNAME:
2061  *      This symbol, if defined, indicates that the getservbyname()
2062  *      routine is available to look up services by their name.
2063  */
2064 /* HAS_GETSERVBYPORT:
2065  *      This symbol, if defined, indicates that the getservbyport()
2066  *      routine is available to look up services by their port.
2067  */
2068 #define HAS_GETSERVBYNAME               /*config-skip*/
2069 #define HAS_GETSERVBYPORT               /*config-skip*/
2070
2071 /* HAS_SETHOSTENT:
2072  *      This symbol, if defined, indicates that the sethostent() routine is
2073  *      available.
2074  */
2075 #define HAS_SETHOSTENT          /*config-skip*/
2076
2077 /* VMS: In general, TCP/IP header files should be included from
2078  * sockadapt.h, instead of here, in order to keep the TCP/IP code
2079  * together as much as possible.
2080  */
2081 /* I_NETINET_IN:
2082  *      This symbol, if defined, indicates to the C program that it should
2083  *      include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
2084  */
2085 #undef I_NETINET_IN     /**/              /* config-skip */
2086
2087 /* I_NETDB:
2088  *      This symbol, if defined, indicates that <netdb.h> exists and 
2089  *      should be included.
2090  */
2091 #undef I_NETDB          /**/              /* config-skip */
2092
2093 /* I_NET_ERRNO:
2094  *      This symbol, if defined, indicates that <net/errno.h> exists and 
2095  *      should be included.
2096 */
2097 #undef I_NET_ERRNO              /**/          /* config-skip */
2098
2099 /* HAS_SELECT:
2100  *      This symbol, if defined, indicates that the select routine is
2101  *      available to select active file descriptors. If the timeout field
2102  *      is used, <sys/time.h> may need to be included.
2103  */
2104 #define HAS_SELECT      /**/              /* config-skip */
2105
2106 /* HAS_ENDHOSTENT:
2107  *      This symbol, if defined, indicates that the endhostent() routine is
2108  *      available to close whatever was being used for host queries.
2109  */
2110 #define HAS_ENDHOSTENT          /*config-skip*/
2111
2112 /* HAS_GETPROTOENT:
2113  *      This symbol, if defined, indicates that the getprotoent() routine is
2114  *      available to look up protocols in some data base or another.
2115  */
2116 #define HAS_GETPROTOENT         /*config-skip*/
2117
2118 /* HAS_ENDPROTOENT:
2119  *      This symbol, if defined, indicates that the endprotoent() routine is
2120  *      available to close whatever was being used for protocol queries.
2121  */
2122 #define HAS_ENDPROTOENT         /*config-skip*/
2123
2124 /* HAS_SETPROTOENT:
2125  *      This symbol, if defined, indicates that the setprotoent() routine is
2126  *      available.
2127  */
2128 #define HAS_SETPROTOENT         /*config-skip*/
2129
2130 /* HAS_GETSERVENT:
2131  *      This symbol, if defined, indicates that the getservent() routine is
2132  *      available to look up network services in some data base or another.
2133  */
2134 #define HAS_GETSERVENT          /*config-skip*/
2135
2136 /* HAS_SETSERVENT:
2137  *      This symbol, if defined, indicates that the setservent() routine is
2138  *      available.
2139  */
2140 #define HAS_SETSERVENT          /*config-skip*/
2141
2142 /* HAS_ENDSERVENT:
2143  *      This symbol, if defined, indicates that the endservent() routine is
2144  *      available to close whatever was being used for service queries.
2145  */
2146 #define HAS_ENDSERVENT          /*config-skip*/
2147
2148 /* HAS_GETHOST_PROTOS:
2149  *      This symbol, if defined, indicates that <netdb.h> includes
2150  *      prototypes for gethostent(), gethostbyname(), and
2151  *      gethostbyaddr().  Otherwise, it is up to the program to guess
2152  *      them.  See netdbtype.U for probing for various Netdb_xxx_t types.
2153  */
2154 #define HAS_GETHOST_PROTOS      /*config-skip*/
2155
2156 /* HAS_GETNET_PROTOS:
2157  *      This symbol, if defined, indicates that <netdb.h> includes
2158  *      prototypes for getnetent(), getnetbyname(), and
2159  *      getnetbyaddr().  Otherwise, it is up to the program to guess
2160  *      them.  See netdbtype.U for probing for various Netdb_xxx_t types.
2161  */
2162 #define HAS_GETNET_PROTOS       /*config-skip*/
2163
2164 /* HAS_GETPROTO_PROTOS:
2165  *      This symbol, if defined, indicates that <netdb.h> includes
2166  *      prototypes for getprotoent(), getprotobyname(), and
2167  *      getprotobyaddr().  Otherwise, it is up to the program to guess
2168  *      them.  See netdbtype.U for probing for various Netdb_xxx_t types.
2169  */
2170 #define HAS_GETPROTO_PROTOS     /*config-skip*/
2171
2172 /* HAS_GETSERV_PROTOS:
2173  *      This symbol, if defined, indicates that <netdb.h> includes
2174  *      prototypes for getservent(), getservbyname(), and
2175  *      getservbyaddr().  Otherwise, it is up to the program to guess
2176  *      them.  See netdbtype.U for probing for various Netdb_xxx_t types.
2177  */
2178 #define HAS_GETSERV_PROTOS      /*config-skip*/
2179
2180 #else /* VMS_DO_SOCKETS */
2181
2182 #undef HAS_SOCKET                               /*config-skip*/
2183 #undef HAS_SOCKETPAIR                   /*config-skip*/
2184 #undef HAS_GETHOSTENT                   /*config-skip*/
2185 #undef HAS_SETHOSTENT                   /*config-skip*/
2186 #undef I_NETINET_IN                             /*config-skip*/
2187 #undef I_NETDB                                  /*config-skip*/
2188 #undef I_NET_ERRNO                              /*config-skip*/
2189 #undef HAS_SELECT                               /*config-skip*/
2190 #undef HAS_GETHOSTBYADDR                /*config-skip*/
2191 #undef HAS_GETNETBYADDR                 /*config-skip*/
2192 #undef HAS_GETNETENT                    /*config-skip*/
2193 #undef HAS_SETNETENT                    /*config-skip*/
2194 #undef HAS_ENDNETENT                    /*config-skip*/
2195 #undef HAS_GETHOSTBYNAME                /*config-skip*/
2196 #undef HAS_GETNETBYNAME                 /*config-skip*/
2197 #undef HAS_GETPROTOBYNAME               /*config-skip*/
2198 #undef HAS_GETPROTOBYNUMBER             /*config-skip*/
2199 #undef HAS_GETSERVBYNAME                /*config-skip*/
2200 #undef HAS_GETSERVBYPORT                /*config-skip*/
2201 #undef HAS_ENDHOSTENT                   /*config-skip*/
2202 #undef HAS_GETPROTOENT                  /*config-skip*/
2203 #undef HAS_SETPROTOENT                  /*config-skip*/
2204 #undef HAS_ENDPROTOENT                  /*config-skip*/
2205 #undef HAS_GETSERVENT                   /*config-skip*/
2206 #undef HAS_SETSERVENT                   /*config-skip*/
2207 #undef HAS_ENDSERVENT                   /*config-skip*/
2208 #undef HAS_GETHOST_PROTOS               /*config-skip*/
2209 #undef HAS_GETNET_PROTOS                /*config-skip*/
2210 #undef HAS_GETPROTO_PROTOS              /*config-skip*/
2211 #undef HAS_GETSERV_PROTOS               /*config-skip*/
2212
2213 #endif /* !VMS_DO_SOCKETS */
2214
2215 #endif