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