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