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