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