perl 4.0.00: (no release announcement available)
[p5sagit/p5-mst-13.2.git] / config.H
CommitLineData
fe14fcc3 1#ifndef config_h
2#define config_h
8d063cd8 3/* config.h
4 * This file was produced by running the config.h.SH script, which
5 * gets its values from config.sh, which is generally produced by
6 * running Configure.
7 *
8 * Feel free to modify any of this as the need arises. Note, however,
9 * that running config.h.SH again will wipe out any changes you've made.
10 * For a more permanent change edit config.sh and rerun config.h.SH.
11 */
12
13
fe14fcc3 14/* EUNICE
8d063cd8 15 * This symbol, if defined, indicates that the program is being compiled
16 * under the EUNICE package under VMS. The program will need to handle
17 * things like files that don't go away the first time you unlink them,
18 * due to version numbering. It will also need to compensate for lack
19 * of a respectable link() command.
20 */
fe14fcc3 21/* VMS
8d063cd8 22 * This symbol, if defined, indicates that the program is running under
23 * VMS. It is currently only set in conjunction with the EUNICE symbol.
24 */
a687059c 25/*#undef EUNICE /**/
26/*#undef VMS /**/
27
fe14fcc3 28/* ALIGNBYTES
29 * This symbol contains the number of bytes required to align a double.
30 * Usual values are 2, 4, and 8.
31 */
32#define ALIGNBYTES 4 /**/
33
34/* BIN
a687059c 35 * This symbol holds the name of the directory in which the user wants
fe14fcc3 36 * to keep publicly executable images for the package in question. It
a687059c 37 * is most often a local directory such as /usr/local/bin.
38 */
39#define BIN "/usr/local/bin" /**/
40
fe14fcc3 41/* BYTEORDER
a687059c 42 * This symbol contains an encoding of the order of bytes in a long.
43 * Usual values (in octal) are 01234, 04321, 02143, 03412...
44 */
fe14fcc3 45#define BYTEORDER 0x1234 /**/
a687059c 46
fe14fcc3 47/* CPPSTDIN
a687059c 48 * This symbol contains the first part of the string which will invoke
49 * the C preprocessor on the standard input and produce to standard
50 * output. Typical value of "cc -E" or "/lib/cpp".
51 */
fe14fcc3 52/* CPPMINUS
a687059c 53 * This symbol contains the second part of the string which will invoke
54 * the C preprocessor on the standard input and produce to standard
55 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
56 * to specify standard input, otherwise the value is "".
57 */
fe14fcc3 58#define CPPSTDIN "cc -E"
59#define CPPMINUS "-"
a687059c 60
fe14fcc3 61/* HAS_BCMP
a687059c 62 * This symbol, if defined, indicates that the bcmp routine is available
63 * to compare blocks of memory. If undefined, use memcmp. If that's
64 * not available, roll your own.
65 */
fe14fcc3 66#define HAS_BCMP /**/
a687059c 67
fe14fcc3 68/* HAS_BCOPY
a687059c 69 * This symbol, if defined, indicates that the bcopy routine is available
70 * to copy blocks of memory. Otherwise you should probably use memcpy().
71 */
fe14fcc3 72#define HAS_BCOPY /**/
73
74/* HAS_BZERO
75 * This symbol, if defined, indicates that the bzero routine is available
76 * to zero blocks of memory. Otherwise you should probably use memset()
77 * or roll your own.
78 */
79#define HAS_BZERO /**/
8d063cd8 80
fe14fcc3 81/* CASTNEGFLOAT
82 * This symbol, if defined, indicates that this C compiler knows how to
83 * cast negative or large floating point numbers to unsigned longs, ints
84 * and shorts.
85 */
86/* CASTFLAGS
87 * This symbol contains flags that say what difficulties the compiler
88 * has casting odd floating values to unsigned long:
89 * 1 = couldn't cast < 0
90 * 2 = couldn't cast >= 0x80000000
91 */
92#define CASTNEGFLOAT /**/
93#define CASTFLAGS 0 /**/
94
95/* CHARSPRINTF
8d063cd8 96 * This symbol is defined if this system declares "char *sprintf()" in
97 * stdio.h. The trend seems to be to declare it as "int sprintf()". It
98 * is up to the package author to declare sprintf correctly based on the
99 * symbol.
100 */
101#define CHARSPRINTF /**/
102
fe14fcc3 103/* HAS_CHSIZE
104 * This symbol, if defined, indicates that the chsize routine is available
105 * to truncate files. You might need a -lx to get this routine.
106 */
107/*#undef HAS_CHSIZE /**/
108
109/* HAS_CRYPT
a687059c 110 * This symbol, if defined, indicates that the crypt routine is available
111 * to encrypt passwords and the like.
112 */
fe14fcc3 113#define HAS_CRYPT /**/
114
115/* CSH
116 * This symbol, if defined, indicates that the C-shell exists.
117 * If defined, contains the full pathname of csh.
118 */
119#define CSH "/bin/csh" /**/
a687059c 120
fe14fcc3 121/* DOSUID
a687059c 122 * This symbol, if defined, indicates that the C program should
123 * check the script that it is executing for setuid/setgid bits, and
124 * attempt to emulate setuid/setgid on systems that have disabled
125 * setuid #! scripts because the kernel can't do it securely.
126 * It is up to the package designer to make sure that this emulation
127 * is done securely. Among other things, it should do an fstat on
128 * the script it just opened to make sure it really is a setuid/setgid
129 * script, it should make sure the arguments passed correspond exactly
130 * to the argument on the #! line, and it should not trust any
131 * subprocesses to which it must pass the filename rather than the
132 * file descriptor of the script to be executed.
133 */
fe14fcc3 134/*#undef DOSUID /**/
a687059c 135
fe14fcc3 136/* HAS_DUP2
a687059c 137 * This symbol, if defined, indicates that the dup2 routine is available
138 * to dup file descriptors. Otherwise you should use dup().
139 */
fe14fcc3 140#define HAS_DUP2 /**/
a687059c 141
fe14fcc3 142/* HAS_FCHMOD
a687059c 143 * This symbol, if defined, indicates that the fchmod routine is available
144 * to change mode of opened files. If unavailable, use chmod().
145 */
fe14fcc3 146#define HAS_FCHMOD /**/
a687059c 147
fe14fcc3 148/* HAS_FCHOWN
a687059c 149 * This symbol, if defined, indicates that the fchown routine is available
150 * to change ownership of opened files. If unavailable, use chown().
151 */
fe14fcc3 152#define HAS_FCHOWN /**/
a687059c 153
fe14fcc3 154/* HAS_FCNTL
155 * This symbol, if defined, indicates to the C program that
156 * the fcntl() function exists.
a687059c 157 */
fe14fcc3 158#define HAS_FCNTL /**/
a687059c 159
fe14fcc3 160/* FLEXFILENAMES
161 * This symbol, if defined, indicates that the system supports filenames
162 * longer than 14 characters.
163 */
164#define FLEXFILENAMES /**/
165
166/* HAS_FLOCK
a687059c 167 * This symbol, if defined, indicates that the flock() routine is
168 * available to do file locking.
169 */
fe14fcc3 170#define HAS_FLOCK /**/
a687059c 171
fe14fcc3 172/* HAS_GETGROUPS
a687059c 173 * This symbol, if defined, indicates that the getgroups() routine is
174 * available to get the list of process groups. If unavailable, multiple
175 * groups are probably not supported.
176 */
fe14fcc3 177#define HAS_GETGROUPS /**/
a687059c 178
fe14fcc3 179/* HAS_GETHOSTENT
a687059c 180 * This symbol, if defined, indicates that the gethostent() routine is
181 * available to lookup host names in some data base or other.
182 */
fe14fcc3 183#define HAS_GETHOSTENT /**/
a687059c 184
fe14fcc3 185/* HAS_GETPGRP
a687059c 186 * This symbol, if defined, indicates that the getpgrp() routine is
187 * available to get the current process group.
188 */
fe14fcc3 189#define HAS_GETPGRP /**/
190
191/* HAS_GETPGRP2
192 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
193 * routine is available to get the current process group.
194 */
195/*#undef HAS_GETPGRP2 /**/
a687059c 196
fe14fcc3 197/* HAS_GETPRIORITY
a687059c 198 * This symbol, if defined, indicates that the getpriority() routine is
199 * available to get a process's priority.
200 */
fe14fcc3 201#define HAS_GETPRIORITY /**/
a687059c 202
fe14fcc3 203/* HAS_HTONS
a687059c 204 * This symbol, if defined, indicates that the htons routine (and friends)
205 * are available to do network order byte swapping.
206 */
fe14fcc3 207/* HAS_HTONL
a687059c 208 * This symbol, if defined, indicates that the htonl routine (and friends)
209 * are available to do network order byte swapping.
210 */
fe14fcc3 211/* HAS_NTOHS
a687059c 212 * This symbol, if defined, indicates that the ntohs routine (and friends)
213 * are available to do network order byte swapping.
214 */
fe14fcc3 215/* HAS_NTOHL
a687059c 216 * This symbol, if defined, indicates that the ntohl routine (and friends)
217 * are available to do network order byte swapping.
218 */
fe14fcc3 219#define HAS_HTONS /**/
220#define HAS_HTONL /**/
221#define HAS_NTOHS /**/
222#define HAS_NTOHL /**/
a687059c 223
fe14fcc3 224/* index
8d063cd8 225 * This preprocessor symbol is defined, along with rindex, if the system
226 * uses the strchr and strrchr routines instead.
227 */
fe14fcc3 228/* rindex
8d063cd8 229 * This preprocessor symbol is defined, along with index, if the system
230 * uses the strchr and strrchr routines instead.
231 */
a687059c 232/*#undef index strchr /* cultural */
233/*#undef rindex strrchr /* differences? */
234
fe14fcc3 235/* HAS_KILLPG
a687059c 236 * This symbol, if defined, indicates that the killpg routine is available
237 * to kill process groups. If unavailable, you probably should use kill
238 * with a negative process number.
239 */
fe14fcc3 240#define HAS_KILLPG /**/
a687059c 241
fe14fcc3 242/* HAS_LSTAT
243 * This symbol, if defined, indicates that the lstat() routine is
244 * available to stat symbolic links.
245 */
246#define HAS_LSTAT /**/
247
248/* HAS_MEMCMP
a687059c 249 * This symbol, if defined, indicates that the memcmp routine is available
250 * to compare blocks of memory. If undefined, roll your own.
251 */
fe14fcc3 252#define HAS_MEMCMP /**/
a687059c 253
fe14fcc3 254/* HAS_MEMCPY
a687059c 255 * This symbol, if defined, indicates that the memcpy routine is available
256 * to copy blocks of memory. Otherwise you should probably use bcopy().
257 * If neither is defined, roll your own.
258 */
fe14fcc3 259#define HAS_MEMCPY /**/
a687059c 260
fe14fcc3 261/* HAS_MKDIR
a687059c 262 * This symbol, if defined, indicates that the mkdir routine is available
263 * to create directories. Otherwise you should fork off a new process to
264 * exec /bin/mkdir.
265 */
fe14fcc3 266#define HAS_MKDIR /**/
267
268/* HAS_MSG
269 * This symbol, if defined, indicates that the entire msg*(2) library is
270 * supported.
271 */
272#define HAS_MSG /**/
273
274/* HAS_MSGCTL
275 * This symbol, if defined, indicates that the msgctl() routine is
276 * available to stat symbolic links.
277 */
278#define HAS_MSGCTL /**/
279
280/* HAS_MSGGET
281 * This symbol, if defined, indicates that the msgget() routine is
282 * available to stat symbolic links.
283 */
284#define HAS_MSGGET /**/
285
286/* HAS_MSGRCV
287 * This symbol, if defined, indicates that the msgrcv() routine is
288 * available to stat symbolic links.
289 */
290#define HAS_MSGRCV /**/
a687059c 291
fe14fcc3 292/* HAS_MSGSND
293 * This symbol, if defined, indicates that the msgsnd() routine is
294 * available to stat symbolic links.
295 */
296#define HAS_MSGSND /**/
297
298/* HAS_NDBM
a687059c 299 * This symbol, if defined, indicates that ndbm.h exists and should
300 * be included.
301 */
fe14fcc3 302#define HAS_NDBM /**/
a687059c 303
fe14fcc3 304/* HAS_ODBM
a687059c 305 * This symbol, if defined, indicates that dbm.h exists and should
306 * be included.
307 */
fe14fcc3 308#define HAS_ODBM /**/
309
310/* HAS_OPEN3
311 * This manifest constant lets the C program know that the three
312 * argument form of open(2) is available.
313 */
314#define HAS_OPEN3 /**/
a687059c 315
fe14fcc3 316/* HAS_READDIR
a687059c 317 * This symbol, if defined, indicates that the readdir routine is available
fe14fcc3 318 * from the C library to read directories.
a687059c 319 */
fe14fcc3 320#define HAS_READDIR /**/
a687059c 321
fe14fcc3 322/* HAS_RENAME
a687059c 323 * This symbol, if defined, indicates that the rename routine is available
324 * to rename files. Otherwise you should do the unlink(), link(), unlink()
325 * trick.
326 */
fe14fcc3 327#define HAS_RENAME /**/
a687059c 328
fe14fcc3 329/* HAS_RMDIR
a687059c 330 * This symbol, if defined, indicates that the rmdir routine is available
331 * to remove directories. Otherwise you should fork off a new process to
332 * exec /bin/rmdir.
333 */
fe14fcc3 334#define HAS_RMDIR /**/
335
336/* HAS_SELECT
337 * This symbol, if defined, indicates that the select() subroutine
338 * exists.
339 */
340#define HAS_SELECT /**/
341
342/* HAS_SEM
343 * This symbol, if defined, indicates that the entire sem*(2) library is
344 * supported.
345 */
346#define HAS_SEM /**/
347
348/* HAS_SEMCTL
349 * This symbol, if defined, indicates that the semctl() routine is
350 * available to stat symbolic links.
351 */
352#define HAS_SEMCTL /**/
353
354/* HAS_SEMGET
355 * This symbol, if defined, indicates that the semget() routine is
356 * available to stat symbolic links.
357 */
358#define HAS_SEMGET /**/
359
360/* HAS_SEMOP
361 * This symbol, if defined, indicates that the semop() routine is
362 * available to stat symbolic links.
363 */
364#define HAS_SEMOP /**/
a687059c 365
fe14fcc3 366/* HAS_SETEGID
a687059c 367 * This symbol, if defined, indicates that the setegid routine is available
368 * to change the effective gid of the current program.
369 */
fe14fcc3 370#define HAS_SETEGID /**/
a687059c 371
fe14fcc3 372/* HAS_SETEUID
a687059c 373 * This symbol, if defined, indicates that the seteuid routine is available
374 * to change the effective uid of the current program.
375 */
fe14fcc3 376#define HAS_SETEUID /**/
a687059c 377
fe14fcc3 378/* HAS_SETPGRP
a687059c 379 * This symbol, if defined, indicates that the setpgrp() routine is
380 * available to set the current process group.
381 */
fe14fcc3 382#define HAS_SETPGRP /**/
a687059c 383
fe14fcc3 384/* HAS_SETPGRP2
385 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
386 * routine is available to set the current process group.
387 */
388/*#undef HAS_SETPGRP2 /**/
389
390/* HAS_SETPRIORITY
a687059c 391 * This symbol, if defined, indicates that the setpriority() routine is
392 * available to set a process's priority.
393 */
fe14fcc3 394#define HAS_SETPRIORITY /**/
a687059c 395
fe14fcc3 396/* HAS_SETREGID
397 * This symbol, if defined, indicates that the setregid routine is
398 * available to change the real and effective gid of the current program.
a687059c 399 */
fe14fcc3 400/* HAS_SETRESGID
401 * This symbol, if defined, indicates that the setresgid routine is
402 * available to change the real, effective and saved gid of the current
403 * program.
404 */
405#define HAS_SETREGID /**/
406/*#undef HAS_SETRESGID /**/
a687059c 407
fe14fcc3 408/* HAS_SETREUID
409 * This symbol, if defined, indicates that the setreuid routine is
410 * available to change the real and effective uid of the current program.
411 */
412/* HAS_SETRESUID
413 * This symbol, if defined, indicates that the setresuid routine is
414 * available to change the real, effective and saved uid of the current
415 * program.
a687059c 416 */
fe14fcc3 417#define HAS_SETREUID /**/
418/*#undef HAS_SETRESUID /**/
a687059c 419
fe14fcc3 420/* HAS_SETRGID
a687059c 421 * This symbol, if defined, indicates that the setrgid routine is available
422 * to change the real gid of the current program.
423 */
fe14fcc3 424#define HAS_SETRGID /**/
a687059c 425
fe14fcc3 426/* HAS_SETRUID
a687059c 427 * This symbol, if defined, indicates that the setruid routine is available
428 * to change the real uid of the current program.
429 */
fe14fcc3 430#define HAS_SETRUID /**/
431
432/* HAS_SHM
433 * This symbol, if defined, indicates that the entire shm*(2) library is
434 * supported.
435 */
436#define HAS_SHM /**/
437
438/* HAS_SHMAT
439 * This symbol, if defined, indicates that the shmat() routine is
440 * available to stat symbolic links.
441 */
442#define HAS_SHMAT /**/
443
444/* HAS_SHMCTL
445 * This symbol, if defined, indicates that the shmctl() routine is
446 * available to stat symbolic links.
447 */
448#define HAS_SHMCTL /**/
449
450/* HAS_SHMDT
451 * This symbol, if defined, indicates that the shmdt() routine is
452 * available to stat symbolic links.
453 */
454#define HAS_SHMDT /**/
455
456/* HAS_SHMGET
457 * This symbol, if defined, indicates that the shmget() routine is
458 * available to stat symbolic links.
459 */
460#define HAS_SHMGET /**/
a687059c 461
fe14fcc3 462/* HAS_SOCKET
a687059c 463 * This symbol, if defined, indicates that the BSD socket interface is
464 * supported.
465 */
fe14fcc3 466/* HAS_SOCKETPAIR
a687059c 467 * This symbol, if defined, indicates that the BSD socketpair call is
468 * supported.
469 */
fe14fcc3 470/* OLDSOCKET
a687059c 471 * This symbol, if defined, indicates that the 4.1c BSD socket interface
472 * is supported instead of the 4.2/4.3 BSD socket interface.
473 */
fe14fcc3 474#define HAS_SOCKET /**/
a687059c 475
fe14fcc3 476#define HAS_SOCKETPAIR /**/
a687059c 477
478/*#undef OLDSOCKET /**/
479
fe14fcc3 480/* STATBLOCKS
a687059c 481 * This symbol is defined if this system has a stat structure declaring
482 * st_blksize and st_blocks.
483 */
484#define STATBLOCKS /**/
485
fe14fcc3 486/* STDSTDIO
a687059c 487 * This symbol is defined if this system has a FILE structure declaring
488 * _ptr and _cnt in stdio.h.
489 */
490#define STDSTDIO /**/
8d063cd8 491
fe14fcc3 492/* STRUCTCOPY
8d063cd8 493 * This symbol, if defined, indicates that this C compiler knows how
494 * to copy structures. If undefined, you'll need to use a block copy
495 * routine of some sort instead.
496 */
497#define STRUCTCOPY /**/
498
fe14fcc3 499/* HAS_STRERROR
500 * This symbol, if defined, indicates that the strerror() routine is
501 * available to translate error numbers to strings.
502 */
503/*#undef HAS_STRERROR /**/
504
505/* HAS_SYMLINK
a687059c 506 * This symbol, if defined, indicates that the symlink routine is available
507 * to create symbolic links.
508 */
fe14fcc3 509#define HAS_SYMLINK /**/
a687059c 510
fe14fcc3 511/* HAS_SYSCALL
a687059c 512 * This symbol, if defined, indicates that the syscall routine is available
513 * to call arbitrary system calls. If undefined, that's tough.
514 */
fe14fcc3 515#define HAS_SYSCALL /**/
a687059c 516
fe14fcc3 517/* HAS_TRUNCATE
518 * This symbol, if defined, indicates that the truncate routine is
519 * available to truncate files.
a687059c 520 */
fe14fcc3 521#define HAS_TRUNCATE /**/
a687059c 522
fe14fcc3 523/* HAS_VFORK
524 * This symbol, if defined, indicates that vfork() exists.
8d063cd8 525 */
fe14fcc3 526#define HAS_VFORK /**/
a687059c 527
fe14fcc3 528/* VOIDSIG
a687059c 529 * This symbol is defined if this system declares "void (*signal())()" in
530 * signal.h. The old way was to declare it as "int (*signal())()". It
531 * is up to the package author to declare things correctly based on the
532 * symbol.
533 */
fe14fcc3 534/* TO_SIGNAL
535 * This symbol's value is either "void" or "int", corresponding to the
536 * appropriate return "type" of a signal handler. Thus, one can declare
537 * a signal handler using "TO_SIGNAL (*handler())()", and define the
538 * handler using "TO_SIGNAL handler(sig)".
539 */
a687059c 540/*#undef VOIDSIG /**/
fe14fcc3 541#define TO_SIGNAL /**/
a687059c 542
fe14fcc3 543/* HASVOLATILE
544 * This symbol, if defined, indicates that this C compiler knows about
545 * the volatile declaration.
546 */
547/*#undef HASVOLATILE /**/
548
549/* HAS_VPRINTF
a687059c 550 * This symbol, if defined, indicates that the vprintf routine is available
551 * to printf with a pointer to an argument list. If unavailable, you
552 * may need to write your own, probably in terms of _doprnt().
553 */
fe14fcc3 554/* CHARVSPRINTF
a687059c 555 * This symbol is defined if this system has vsprintf() returning type
556 * (char*). The trend seems to be to declare it as "int vsprintf()". It
557 * is up to the package author to declare vsprintf correctly based on the
558 * symbol.
559 */
fe14fcc3 560/*#undef HAS_VPRINTF /**/
a687059c 561/*#undef CHARVSPRINTF /**/
562
fe14fcc3 563/* HAS_WAIT4
564 * This symbol, if defined, indicates that wait4() exists.
565 */
566#define HAS_WAIT4 /**/
567
568/* HAS_WAITPID
569 * This symbol, if defined, indicates that waitpid() exists.
570 */
571/*#undef HAS_WAITPID /**/
572
573/* GIDTYPE
a687059c 574 * This symbol has a value like gid_t, int, ushort, or whatever type is
575 * used to declare group ids in the kernel.
576 */
fe14fcc3 577#define GIDTYPE int /**/
a687059c 578
fe14fcc3 579/* I_FCNTL
580 * This manifest constant tells the C program to include <fcntl.h>.
a687059c 581 */
fe14fcc3 582/*#undef I_FCNTL /**/
a687059c 583
fe14fcc3 584/* I_GDBM
585 * This symbol, if defined, indicates that gdbm.h exists and should
586 * be included.
a687059c 587 */
fe14fcc3 588/*#undef I_GDBM /**/
a687059c 589
fe14fcc3 590/* I_GRP
a687059c 591 * This symbol, if defined, indicates to the C program that it should
592 * include grp.h.
593 */
594#define I_GRP /**/
595
fe14fcc3 596/* I_NETINET_IN
597 * This symbol, if defined, indicates to the C program that it should
598 * include netinet/in.h.
599 */
600/* I_SYS_IN
601 * This symbol, if defined, indicates to the C program that it should
602 * include sys/in.h.
603 */
604#define I_NETINET_IN /**/
605/*#undef I_SYS_IN /**/
606
607/* I_PWD
a687059c 608 * This symbol, if defined, indicates to the C program that it should
609 * include pwd.h.
610 */
fe14fcc3 611/* PWQUOTA
a687059c 612 * This symbol, if defined, indicates to the C program that struct passwd
613 * contains pw_quota.
614 */
fe14fcc3 615/* PWAGE
a687059c 616 * This symbol, if defined, indicates to the C program that struct passwd
617 * contains pw_age.
618 */
fe14fcc3 619/* PWCHANGE
620 * This symbol, if defined, indicates to the C program that struct passwd
621 * contains pw_change.
622 */
623/* PWCLASS
624 * This symbol, if defined, indicates to the C program that struct passwd
625 * contains pw_class.
626 */
627/* PWEXPIRE
628 * This symbol, if defined, indicates to the C program that struct passwd
629 * contains pw_expire.
630 */
631/* PWCOMMENT
632 * This symbol, if defined, indicates to the C program that struct passwd
633 * contains pw_comment.
634 */
a687059c 635#define I_PWD /**/
fe14fcc3 636/*#undef PWQUOTA /**/
a687059c 637/*#undef PWAGE /**/
fe14fcc3 638/*#undef PWCHANGE /**/
639/*#undef PWCLASS /**/
640/*#undef PWEXPIRE /**/
641/*#undef PWCOMMENT /**/
a687059c 642
fe14fcc3 643/* I_SYS_FILE
644 * This manifest constant tells the C program to include <sys/file.h>.
a687059c 645 */
fe14fcc3 646#define I_SYS_FILE /**/
a687059c 647
fe14fcc3 648/* I_SYSIOCTL
a687059c 649 * This symbol, if defined, indicates that sys/ioctl.h exists and should
650 * be included.
651 */
652#define I_SYSIOCTL /**/
653
fe14fcc3 654/* I_TIME
655 * This symbol is defined if the program should include <time.h>.
656 */
657/* I_SYS_TIME
658 * This symbol is defined if the program should include <sys/time.h>.
659 */
660/* SYSTIMEKERNEL
661 * This symbol is defined if the program should include <sys/time.h>
662 * with KERNEL defined.
663 */
664/* I_SYS_SELECT
665 * This symbol is defined if the program should include <sys/select.h>.
666 */
667/*#undef I_TIME /**/
668#define I_SYS_TIME /**/
669/*#undef SYSTIMEKERNEL /**/
670/*#undef I_SYS_SELECT /**/
671
672/* I_UTIME
673 * This symbol, if defined, indicates to the C program that it should
674 * include utime.h.
675 */
676/*#undef I_UTIME /**/
677
678/* I_VARARGS
a687059c 679 * This symbol, if defined, indicates to the C program that it should
680 * include varargs.h.
681 */
682#define I_VARARGS /**/
683
fe14fcc3 684/* I_VFORK
685 * This symbol, if defined, indicates to the C program that it should
686 * include vfork.h.
687 */
688/*#undef I_VFORK /**/
689
690/* INTSIZE
a687059c 691 * This symbol contains the size of an int, so that the C preprocessor
692 * can make decisions based on it.
693 */
694#define INTSIZE 4 /**/
695
fe14fcc3 696/* I_DIRENT
697 * This symbol, if defined, indicates that the program should use the
698 * P1003-style directory routines, and include <dirent.h>.
699 */
700/* I_SYS_DIR
701 * This symbol, if defined, indicates that the program should use the
702 * directory functions by including <sys/dir.h>.
703 */
704/* I_NDIR
705 * This symbol, if defined, indicates that the program should include the
706 * system's version of ndir.h, rather than the one with this package.
707 */
708/* I_SYS_NDIR
709 * This symbol, if defined, indicates that the program should include the
710 * system's version of sys/ndir.h, rather than the one with this package.
711 */
712/* I_MY_DIR
713 * This symbol, if defined, indicates that the program should compile
714 * the ndir.c code provided with the package.
715 */
716/* DIRNAMLEN
717 * This symbol, if defined, indicates to the C program that the length
718 * of directory entry names is provided by a d_namlen field. Otherwise
719 * you need to do strlen() on the d_name field.
720 */
721#define I_DIRENT /**/
722/*#undef I_SYS_DIR /**/
723/*#undef I_NDIR /**/
724/*#undef I_SYS_NDIR /**/
725/*#undef I_MY_DIR /**/
726/*#undef DIRNAMLEN /**/
727
728
729/* RANDBITS
a687059c 730 * This symbol contains the number of bits of random number the rand()
731 * function produces. Usual values are 15, 16, and 31.
732 */
733#define RANDBITS 31 /**/
734
fe14fcc3 735/* SCRIPTDIR
736 * This symbol holds the name of the directory in which the user wants
737 * to put publicly executable scripts for the package in question. It
738 * is often a directory that is mounted across diverse architectures.
739 */
740#define SCRIPTDIR "/usr/local/bin" /**/
741
742/* SIG_NAME
a687059c 743 * This symbol contains an list of signal names in order.
744 */
fe14fcc3 745#define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","URG","STOP","TSTP","CONT","CHLD","TTIN","TTOU","IO","XCPU","XFSZ","VTALRM","PROF","WINCH","LOST","USR1","USR2" /**/
a687059c 746
fe14fcc3 747/* STDCHAR
a687059c 748 * This symbol is defined to be the type of char used in stdio.h.
749 * It has the values "unsigned char" or "char".
750 */
751#define STDCHAR char /**/
752
fe14fcc3 753/* UIDTYPE
a687059c 754 * This symbol has a value like uid_t, int, ushort, or whatever type is
755 * used to declare user ids in the kernel.
756 */
757#define UIDTYPE uid_t /**/
8d063cd8 758
fe14fcc3 759/* VOIDHAVE
8d063cd8 760 * This symbol indicates how much support of the void type is given by this
761 * compiler. What various bits mean:
762 *
763 * 1 = supports declaration of void
764 * 2 = supports arrays of pointers to functions returning void
765 * 4 = supports comparisons between pointers to void functions and
766 * addresses of void functions
767 *
fe14fcc3 768 * The package designer should define VOIDWANT to indicate the requirements
769 * of the package. This can be done either by #defining VOIDWANT before
770 * including config.h, or by defining voidwant in Myinit.U. If the level
771 * of void support necessary is not present, config.h defines void to "int",
772 * VOID to the empty string, and VOIDP to "char *".
773 */
774/* void
775 * This symbol is used for void casts. On implementations which support
776 * void appropriately, its value is "void". Otherwise, its value maps
777 * to "int".
778 */
779/* VOID
780 * This symbol's value is "void" if the implementation supports void
781 * appropriately. Otherwise, its value is the empty string. The primary
782 * use of this symbol is in specifying void parameter lists for function
783 * prototypes.
784 */
785/* VOIDP
786 * This symbol is used for casting generic pointers. On implementations
787 * which support void appropriately, its value is "void *". Otherwise,
788 * its value is "char *".
789 */
790#ifndef VOIDWANT
791#define VOIDWANT 1
8d063cd8 792#endif
fe14fcc3 793#define VOIDHAVE 1
794#if (VOIDHAVE & VOIDWANT) != VOIDWANT
8d063cd8 795#define void int /* is void to be avoided? */
fe14fcc3 796#define VOID
797#define VOIDP (char *)
8d063cd8 798#define M_VOID /* Xenix strikes again */
fe14fcc3 799#else
800#define VOID void
801#define VOIDP (void *)
8d063cd8 802#endif
803
fe14fcc3 804/* PRIVLIB
a687059c 805 * This symbol contains the name of the private library for this package.
806 * The library is private in the sense that it needn't be in anyone's
807 * execution path, but it should be accessible by the world. The program
808 * should be prepared to do ~ expansion.
809 */
810#define PRIVLIB "/usr/local/lib/perl" /**/
811
fe14fcc3 812#endif