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