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