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