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