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
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.
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.
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.
29 * This symbol contains the number of bytes required to align a double.
30 * Usual values are 2, 4, and 8.
32 #define ALIGNBYTES 2 /**/
35 * This symbol holds the name of the directory in which the user wants
36 * to keep publicly executable images for the package in question. It
37 * is most often a local directory such as /usr/local/bin.
39 #define BIN "/usr/local/bin" /**/
42 * This symbol contains an encoding of the order of bytes in a long.
43 * Usual values (in octal) are 01234, 04321, 02143, 03412...
45 #define BYTEORDER 0x4321 /**/
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".
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 "".
58 #define CPPSTDIN "/usr/lib/cpp"
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.
69 * This symbol, if defined, indicates that the bcopy routine is available
70 * to copy blocks of memory. Otherwise you should probably use memcpy().
72 #define HAS_BCOPY /**/
75 * This symbol, if defined, indicates that the bzero routine is available
76 * to zero blocks of memory. Otherwise you should probably use memset()
79 #define HAS_BZERO /**/
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
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
92 /*#undef CASTNEGFLOAT /**/
93 #define CASTFLAGS 1 /**/
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
101 #define CHARSPRINTF /**/
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.
107 /*#undef HAS_CHSIZE /**/
110 * This symbol, if defined, indicates that the crypt routine is available
111 * to encrypt passwords and the like.
113 #define HAS_CRYPT /**/
116 * This symbol, if defined, indicates that the C-shell exists.
117 * If defined, contains the full pathname of csh.
119 #define CSH "/bin/csh" /**/
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.
137 * This symbol, if defined, indicates that the dup2 routine is available
138 * to dup file descriptors. Otherwise you should use dup().
140 #define HAS_DUP2 /**/
143 * This symbol, if defined, indicates that the fchmod routine is available
144 * to change mode of opened files. If unavailable, use chmod().
146 #define HAS_FCHMOD /**/
149 * This symbol, if defined, indicates that the fchown routine is available
150 * to change ownership of opened files. If unavailable, use chown().
152 #define HAS_FCHOWN /**/
155 * This symbol, if defined, indicates to the C program that
156 * the fcntl() function exists.
158 #define HAS_FCNTL /**/
161 * This symbol, if defined, indicates that the system supports filenames
162 * longer than 14 characters.
164 #define FLEXFILENAMES /**/
167 * This symbol, if defined, indicates that the flock() routine is
168 * available to do file locking.
170 #define HAS_FLOCK /**/
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.
177 #define HAS_GETGROUPS /**/
180 * This symbol, if defined, indicates that the gethostent() routine is
181 * available to lookup host names in some data base or other.
183 /*#undef HAS_GETHOSTENT /**/
186 * This symbol, if defined, indicates that the getpgrp() routine is
187 * available to get the current process group.
189 #define HAS_GETPGRP /**/
192 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
193 * routine is available to get the current process group.
195 /*#undef HAS_GETPGRP2 /**/
198 * This symbol, if defined, indicates that the getpriority() routine is
199 * available to get a process's priority.
201 #define HAS_GETPRIORITY /**/
204 * This symbol, if defined, indicates that the htons routine (and friends)
205 * are available to do network order byte swapping.
208 * This symbol, if defined, indicates that the htonl routine (and friends)
209 * are available to do network order byte swapping.
212 * This symbol, if defined, indicates that the ntohs routine (and friends)
213 * are available to do network order byte swapping.
216 * This symbol, if defined, indicates that the ntohl routine (and friends)
217 * are available to do network order byte swapping.
219 #define HAS_HTONS /**/
220 #define HAS_HTONL /**/
221 #define HAS_NTOHS /**/
222 #define HAS_NTOHL /**/
225 * This preprocessor symbol is defined, along with rindex, if the system
226 * uses the strchr and strrchr routines instead.
229 * This preprocessor symbol is defined, along with index, if the system
230 * uses the strchr and strrchr routines instead.
232 /*#undef index strchr /* cultural */
233 /*#undef rindex strrchr /* differences? */
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.
240 #define HAS_KILLPG /**/
243 * This symbol, if defined, indicates that the lstat() routine is
244 * available to stat symbolic links.
246 #define HAS_LSTAT /**/
249 * This symbol, if defined, indicates that the memcmp routine is available
250 * to compare blocks of memory. If undefined, roll your own.
252 #define HAS_MEMCMP /**/
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.
259 #define HAS_MEMCPY /**/
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
266 #define HAS_MKDIR /**/
269 * This symbol, if defined, indicates that the entire msg*(2) library is
275 * This symbol, if defined, indicates that the msgctl() routine is
276 * available to stat symbolic links.
278 #define HAS_MSGCTL /**/
281 * This symbol, if defined, indicates that the msgget() routine is
282 * available to stat symbolic links.
284 #define HAS_MSGGET /**/
287 * This symbol, if defined, indicates that the msgrcv() routine is
288 * available to stat symbolic links.
290 #define HAS_MSGRCV /**/
293 * This symbol, if defined, indicates that the msgsnd() routine is
294 * available to stat symbolic links.
296 #define HAS_MSGSND /**/
299 * This symbol, if defined, indicates that ndbm.h exists and should
302 #define HAS_NDBM /**/
305 * This symbol, if defined, indicates that dbm.h exists and should
308 #define HAS_ODBM /**/
311 * This manifest constant lets the C program know that the three
312 * argument form of open(2) is available.
314 #define HAS_OPEN3 /**/
317 * This symbol, if defined, indicates that the readdir routine is available
318 * from the C library to read directories.
320 #define HAS_READDIR /**/
323 * This symbol, if defined, indicates that the rename routine is available
324 * to rename files. Otherwise you should do the unlink(), link(), unlink()
327 #define HAS_RENAME /**/
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
334 #define HAS_RMDIR /**/
337 * This symbol, if defined, indicates that the select() subroutine
340 #define HAS_SELECT /**/
343 * This symbol, if defined, indicates that the entire sem*(2) library is
349 * This symbol, if defined, indicates that the semctl() routine is
350 * available to stat symbolic links.
352 #define HAS_SEMCTL /**/
355 * This symbol, if defined, indicates that the semget() routine is
356 * available to stat symbolic links.
358 #define HAS_SEMGET /**/
361 * This symbol, if defined, indicates that the semop() routine is
362 * available to stat symbolic links.
364 #define HAS_SEMOP /**/
367 * This symbol, if defined, indicates that the setegid routine is available
368 * to change the effective gid of the current program.
370 #define HAS_SETEGID /**/
373 * This symbol, if defined, indicates that the seteuid routine is available
374 * to change the effective uid of the current program.
376 #define HAS_SETEUID /**/
379 * This symbol, if defined, indicates that the setpgrp() routine is
380 * available to set the current process group.
382 #define HAS_SETPGRP /**/
385 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
386 * routine is available to set the current process group.
388 /*#undef HAS_SETPGRP2 /**/
391 * This symbol, if defined, indicates that the setpriority() routine is
392 * available to set a process's priority.
394 #define HAS_SETPRIORITY /**/
397 * This symbol, if defined, indicates that the setregid routine is
398 * available to change the real and effective gid of the current program.
401 * This symbol, if defined, indicates that the setresgid routine is
402 * available to change the real, effective and saved gid of the current
405 #define HAS_SETREGID /**/
406 /*#undef HAS_SETRESGID /**/
409 * This symbol, if defined, indicates that the setreuid routine is
410 * available to change the real and effective uid of the current program.
413 * This symbol, if defined, indicates that the setresuid routine is
414 * available to change the real, effective and saved uid of the current
417 #define HAS_SETREUID /**/
418 /*#undef HAS_SETRESUID /**/
421 * This symbol, if defined, indicates that the setrgid routine is available
422 * to change the real gid of the current program.
424 #define HAS_SETRGID /**/
427 * This symbol, if defined, indicates that the setruid routine is available
428 * to change the real uid of the current program.
430 #define HAS_SETRUID /**/
433 * This symbol, if defined, indicates that the entire shm*(2) library is
439 * This symbol, if defined, indicates that the shmat() routine is
440 * available to stat symbolic links.
443 * This symbol, if defined, indicates that the shmat() routine
444 * returns a pointer of type void*.
446 #define HAS_SHMAT /**/
448 /*#undef VOIDSHMAT /**/
451 * This symbol, if defined, indicates that the shmctl() routine is
452 * available to stat symbolic links.
454 #define HAS_SHMCTL /**/
457 * This symbol, if defined, indicates that the shmdt() routine is
458 * available to stat symbolic links.
460 #define HAS_SHMDT /**/
463 * This symbol, if defined, indicates that the shmget() routine is
464 * available to stat symbolic links.
466 #define HAS_SHMGET /**/
469 * This symbol, if defined, indicates that the BSD socket interface is
473 * This symbol, if defined, indicates that the BSD socketpair call is
477 * This symbol, if defined, indicates that the 4.1c BSD socket interface
478 * is supported instead of the 4.2/4.3 BSD socket interface.
480 #define HAS_SOCKET /**/
482 #define HAS_SOCKETPAIR /**/
484 /*#undef OLDSOCKET /**/
487 * This symbol is defined if this system has a stat structure declaring
488 * st_blksize and st_blocks.
490 #define STATBLOCKS /**/
493 * This symbol is defined if this system has a FILE structure declaring
494 * _ptr and _cnt in stdio.h.
496 #define STDSTDIO /**/
499 * This symbol, if defined, indicates that this C compiler knows how
500 * to copy structures. If undefined, you'll need to use a block copy
501 * routine of some sort instead.
503 #define STRUCTCOPY /**/
506 * This symbol, if defined, indicates that the strerror() routine is
507 * available to translate error numbers to strings.
509 /*#undef HAS_STRERROR /**/
512 * This symbol, if defined, indicates that the symlink routine is available
513 * to create symbolic links.
515 #define HAS_SYMLINK /**/
518 * This symbol, if defined, indicates that the syscall routine is available
519 * to call arbitrary system calls. If undefined, that's tough.
521 #define HAS_SYSCALL /**/
524 * This symbol, if defined, indicates that the truncate routine is
525 * available to truncate files.
527 #define HAS_TRUNCATE /**/
530 * This symbol, if defined, indicates that vfork() exists.
532 #define HAS_VFORK /**/
535 * This symbol is defined if this system declares "void (*signal())()" in
536 * signal.h. The old way was to declare it as "int (*signal())()". It
537 * is up to the package author to declare things correctly based on the
541 * This symbol's value is either "void" or "int", corresponding to the
542 * appropriate return "type" of a signal handler. Thus, one can declare
543 * a signal handler using "TO_SIGNAL (*handler())()", and define the
544 * handler using "TO_SIGNAL handler(sig)".
547 #define TO_SIGNAL int /**/
550 * This symbol, if defined, indicates that this C compiler knows about
551 * the volatile declaration.
553 /*#undef HASVOLATILE /**/
556 * This symbol, if defined, indicates that the vprintf routine is available
557 * to printf with a pointer to an argument list. If unavailable, you
558 * may need to write your own, probably in terms of _doprnt().
561 * This symbol is defined if this system has vsprintf() returning type
562 * (char*). The trend seems to be to declare it as "int vsprintf()". It
563 * is up to the package author to declare vsprintf correctly based on the
566 #define HAS_VPRINTF /**/
567 #define CHARVSPRINTF /**/
570 * This symbol, if defined, indicates that wait4() exists.
572 #define HAS_WAIT4 /**/
575 * This symbol, if defined, indicates that waitpid() exists.
577 #define HAS_WAITPID /**/
580 * This symbol has a value like gid_t, int, ushort, or whatever type is
581 * used to declare group ids in the kernel.
583 #define GIDTYPE gid_t /**/
586 * This symbol has a value like gid_t, int, ushort, or whatever type is
587 * used in the return value of getgroups().
589 #define GROUPSTYPE int /**/
592 * This manifest constant tells the C program to include <fcntl.h>.
594 /*#undef I_FCNTL /**/
597 * This symbol, if defined, indicates that gdbm.h exists and should
603 * This symbol, if defined, indicates to the C program that it should
609 * This symbol, if defined, indicates to the C program that it should
610 * include netinet/in.h.
613 * This symbol, if defined, indicates to the C program that it should
616 #define I_NETINET_IN /**/
617 /*#undef I_SYS_IN /**/
620 * This symbol, if defined, indicates to the C program that it should
624 * This symbol, if defined, indicates to the C program that struct passwd
628 * This symbol, if defined, indicates to the C program that struct passwd
632 * This symbol, if defined, indicates to the C program that struct passwd
633 * contains pw_change.
636 * This symbol, if defined, indicates to the C program that struct passwd
640 * This symbol, if defined, indicates to the C program that struct passwd
641 * contains pw_expire.
644 * This symbol, if defined, indicates to the C program that struct passwd
645 * contains pw_comment.
648 /*#undef PWQUOTA /**/
650 /*#undef PWCHANGE /**/
651 /*#undef PWCLASS /**/
652 /*#undef PWEXPIRE /**/
653 #define PWCOMMENT /**/
656 * This manifest constant tells the C program to include <sys/file.h>.
658 #define I_SYS_FILE /**/
661 * This symbol, if defined, indicates that sys/ioctl.h exists and should
664 #define I_SYSIOCTL /**/
667 * This symbol is defined if the program should include <time.h>.
670 * This symbol is defined if the program should include <sys/time.h>.
673 * This symbol is defined if the program should include <sys/time.h>
674 * with KERNEL defined.
677 * This symbol is defined if the program should include <sys/select.h>.
680 #define I_SYS_TIME /**/
681 /*#undef SYSTIMEKERNEL /**/
682 /*#undef I_SYS_SELECT /**/
685 * This symbol, if defined, indicates to the C program that it should
691 * This symbol, if defined, indicates to the C program that it should
694 #define I_VARARGS /**/
697 * This symbol, if defined, indicates to the C program that it should
703 * This symbol contains the size of an int, so that the C preprocessor
704 * can make decisions based on it.
706 #define INTSIZE 4 /**/
709 * This symbol, if defined, indicates that the program should use the
710 * P1003-style directory routines, and include <dirent.h>.
713 * This symbol, if defined, indicates that the program should use the
714 * directory functions by including <sys/dir.h>.
717 * This symbol, if defined, indicates that the program should include the
718 * system's version of ndir.h, rather than the one with this package.
721 * This symbol, if defined, indicates that the program should include the
722 * system's version of sys/ndir.h, rather than the one with this package.
725 * This symbol, if defined, indicates that the program should compile
726 * the ndir.c code provided with the package.
729 * This symbol, if defined, indicates to the C program that the length
730 * of directory entry names is provided by a d_namlen field. Otherwise
731 * you need to do strlen() on the d_name field.
733 #define I_DIRENT /**/
734 /*#undef I_SYS_DIR /**/
736 /*#undef I_SYS_NDIR /**/
737 /*#undef I_MY_DIR /**/
738 /*#undef DIRNAMLEN /**/
741 * This symbol defines the kind of ptr returned by malloc and realloc.
743 #define MALLOCPTRTYPE char /**/
747 * This symbol contains the number of bits of random number the rand()
748 * function produces. Usual values are 15, 16, and 31.
750 #define RANDBITS 31 /**/
753 * This symbol holds the name of the directory in which the user wants
754 * to keep publicly executable scripts for the package in question. It
755 * is often a directory that is mounted across diverse architectures.
757 #define SCRIPTDIR "/usr/local/bin" /**/
760 * This symbol contains an list of signal names in order.
762 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","URG","STOP","TSTP","CONT","CLD","TTIN","TTOU","IO","XCPU","XFSZ","VTALRM","PROF","WINCH","LOST","USR1","USR2" /**/
765 * This symbol is defined to be the type of char used in stdio.h.
766 * It has the values "unsigned char" or "char".
768 #define STDCHAR unsigned char /**/
771 * This symbol has a value like uid_t, int, ushort, or whatever type is
772 * used to declare user ids in the kernel.
774 #define UIDTYPE uid_t /**/
777 * This symbol indicates how much support of the void type is given by this
778 * compiler. What various bits mean:
780 * 1 = supports declaration of void
781 * 2 = supports arrays of pointers to functions returning void
782 * 4 = supports comparisons between pointers to void functions and
783 * addresses of void functions
785 * The package designer should define VOIDWANT to indicate the requirements
786 * of the package. This can be done either by #defining VOIDWANT before
787 * including config.h, or by defining voidwant in Myinit.U. If the level
788 * of void support necessary is not present, config.h defines void to "int",
789 * VOID to the empty string, and VOIDP to "char *".
792 * This symbol is used for void casts. On implementations which support
793 * void appropriately, its value is "void". Otherwise, its value maps
797 * This symbol's value is "void" if the implementation supports void
798 * appropriately. Otherwise, its value is the empty string. The primary
799 * use of this symbol is in specifying void parameter lists for function
803 * This symbol is used for casting generic pointers. On implementations
804 * which support void appropriately, its value is "void *". Otherwise,
805 * its value is "char *".
811 #if (VOIDHAVE & VOIDWANT) != VOIDWANT
812 #define void int /* is void to be avoided? */
814 #define VOIDP (char *)
815 #define M_VOID /* Xenix strikes again */
818 #define VOIDP (void *)
822 * This symbol contains the name of the private library for this package.
823 * The library is private in the sense that it needn't be in anyone's
824 * execution path, but it should be accessible by the world. The program
825 * should be prepared to do ~ expansion.
827 #define PRIVLIB "/usr/local/lib/perl" /**/