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 4 /**/
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 0x1234 /**/
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 "cc -E"
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 #define CASTNEGFLOAT /**/
93 #define CASTFLAGS 0 /**/
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 #define 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.
442 #define HAS_SHMAT /**/
445 * This symbol, if defined, indicates that the shmctl() routine is
446 * available to stat symbolic links.
448 #define HAS_SHMCTL /**/
451 * This symbol, if defined, indicates that the shmdt() routine is
452 * available to stat symbolic links.
454 #define HAS_SHMDT /**/
457 * This symbol, if defined, indicates that the shmget() routine is
458 * available to stat symbolic links.
460 #define HAS_SHMGET /**/
463 * This symbol, if defined, indicates that the BSD socket interface is
467 * This symbol, if defined, indicates that the BSD socketpair call is
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.
474 #define HAS_SOCKET /**/
476 #define HAS_SOCKETPAIR /**/
478 /*#undef OLDSOCKET /**/
481 * This symbol is defined if this system has a stat structure declaring
482 * st_blksize and st_blocks.
484 #define STATBLOCKS /**/
487 * This symbol is defined if this system has a FILE structure declaring
488 * _ptr and _cnt in stdio.h.
490 #define STDSTDIO /**/
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.
497 #define STRUCTCOPY /**/
500 * This symbol, if defined, indicates that the strerror() routine is
501 * available to translate error numbers to strings.
503 /*#undef HAS_STRERROR /**/
506 * This symbol, if defined, indicates that the symlink routine is available
507 * to create symbolic links.
509 #define HAS_SYMLINK /**/
512 * This symbol, if defined, indicates that the syscall routine is available
513 * to call arbitrary system calls. If undefined, that's tough.
515 #define HAS_SYSCALL /**/
518 * This symbol, if defined, indicates that the truncate routine is
519 * available to truncate files.
521 #define HAS_TRUNCATE /**/
524 * This symbol, if defined, indicates that vfork() exists.
526 #define HAS_VFORK /**/
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
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)".
540 /*#undef VOIDSIG /**/
541 #define TO_SIGNAL /**/
544 * This symbol, if defined, indicates that this C compiler knows about
545 * the volatile declaration.
547 /*#undef HASVOLATILE /**/
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().
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
560 /*#undef HAS_VPRINTF /**/
561 /*#undef CHARVSPRINTF /**/
564 * This symbol, if defined, indicates that wait4() exists.
566 #define HAS_WAIT4 /**/
569 * This symbol, if defined, indicates that waitpid() exists.
571 /*#undef HAS_WAITPID /**/
574 * This symbol has a value like gid_t, int, ushort, or whatever type is
575 * used to declare group ids in the kernel.
577 #define GIDTYPE int /**/
580 * This manifest constant tells the C program to include <fcntl.h>.
582 /*#undef I_FCNTL /**/
585 * This symbol, if defined, indicates that gdbm.h exists and should
591 * This symbol, if defined, indicates to the C program that it should
597 * This symbol, if defined, indicates to the C program that it should
598 * include netinet/in.h.
601 * This symbol, if defined, indicates to the C program that it should
604 #define I_NETINET_IN /**/
605 /*#undef I_SYS_IN /**/
608 * This symbol, if defined, indicates to the C program that it should
612 * This symbol, if defined, indicates to the C program that struct passwd
616 * This symbol, if defined, indicates to the C program that struct passwd
620 * This symbol, if defined, indicates to the C program that struct passwd
621 * contains pw_change.
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
629 * contains pw_expire.
632 * This symbol, if defined, indicates to the C program that struct passwd
633 * contains pw_comment.
636 /*#undef PWQUOTA /**/
638 /*#undef PWCHANGE /**/
639 /*#undef PWCLASS /**/
640 /*#undef PWEXPIRE /**/
641 /*#undef PWCOMMENT /**/
644 * This manifest constant tells the C program to include <sys/file.h>.
646 #define I_SYS_FILE /**/
649 * This symbol, if defined, indicates that sys/ioctl.h exists and should
652 #define I_SYSIOCTL /**/
655 * This symbol is defined if the program should include <time.h>.
658 * This symbol is defined if the program should include <sys/time.h>.
661 * This symbol is defined if the program should include <sys/time.h>
662 * with KERNEL defined.
665 * This symbol is defined if the program should include <sys/select.h>.
668 #define I_SYS_TIME /**/
669 /*#undef SYSTIMEKERNEL /**/
670 /*#undef I_SYS_SELECT /**/
673 * This symbol, if defined, indicates to the C program that it should
676 /*#undef I_UTIME /**/
679 * This symbol, if defined, indicates to the C program that it should
682 #define I_VARARGS /**/
685 * This symbol, if defined, indicates to the C program that it should
688 /*#undef I_VFORK /**/
691 * This symbol contains the size of an int, so that the C preprocessor
692 * can make decisions based on it.
694 #define INTSIZE 4 /**/
697 * This symbol, if defined, indicates that the program should use the
698 * P1003-style directory routines, and include <dirent.h>.
701 * This symbol, if defined, indicates that the program should use the
702 * directory functions by including <sys/dir.h>.
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.
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.
713 * This symbol, if defined, indicates that the program should compile
714 * the ndir.c code provided with the package.
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.
721 #define I_DIRENT /**/
722 /*#undef I_SYS_DIR /**/
724 /*#undef I_SYS_NDIR /**/
725 /*#undef I_MY_DIR /**/
726 /*#undef DIRNAMLEN /**/
730 * This symbol contains the number of bits of random number the rand()
731 * function produces. Usual values are 15, 16, and 31.
733 #define RANDBITS 31 /**/
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.
740 #define SCRIPTDIR "/usr/local/bin" /**/
743 * This symbol contains an list of signal names in order.
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" /**/
748 * This symbol is defined to be the type of char used in stdio.h.
749 * It has the values "unsigned char" or "char".
751 #define STDCHAR char /**/
754 * This symbol has a value like uid_t, int, ushort, or whatever type is
755 * used to declare user ids in the kernel.
757 #define UIDTYPE uid_t /**/
760 * This symbol indicates how much support of the void type is given by this
761 * compiler. What various bits mean:
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
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 *".
775 * This symbol is used for void casts. On implementations which support
776 * void appropriately, its value is "void". Otherwise, its value maps
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
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 *".
794 #if (VOIDHAVE & VOIDWANT) != VOIDWANT
795 #define void int /* is void to be avoided? */
797 #define VOIDP (char *)
798 #define M_VOID /* Xenix strikes again */
801 #define VOIDP (void *)
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.
810 #define PRIVLIB "/usr/local/lib/perl" /**/