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