1 /* This file (config.H) is a sample config.h file. If you are unable
2 to successfully run Configure, copy this file to config.h and
3 edit it to suit your system.
6 * This file was produced by running the config_h.SH script, which
7 * gets its values from config.sh, which is generally produced by
10 * Feel free to modify any of this as the need arises. Note, however,
11 * that running config_h.SH again will wipe out any changes you've made.
12 * For a more permanent change edit config.sh and rerun config_h.SH.
14 * $Id: Config_h.U,v 3.0.1.3 1995/01/30 14:25:39 ram Exp $
17 /* Configuration time: Tue Feb 21 12:13:04 EST 1995
19 * Target system: crystal crystal 3.2 2 i386
26 * This symbol contains the number of bytes required to align a
27 * double. Usual values are 2, 4 and 8.
29 #define MEM_ALIGNBYTES 4 /**/
32 * This symbol contains the ~name expanded version of ARCHLIB, to be used
33 * in programs that are not prepared to deal with ~ expansion at run-time.
35 #define ARCHLIB_EXP "/usr/local/lib/perl5/i386-isc" /**/
38 * This symbol holds the path of the bin directory where the package will
39 * be installed. Program must be prepared to deal with ~name substitution.
41 #define BIN "/usr/local/bin" /**/
44 * This symbol hold the hexadecimal constant defined in byteorder,
45 * i.e. 0x1234 or 0x4321, etc...
47 #define BYTEORDER 0x1234 /* large digits for MSB */
50 * This macro catenates 2 tokens together.
53 * This macro surrounds its token with double quotes.
56 #define CAT2(a,b)a/**/b
57 #define CAT3(a,b,c)a/**/b/**/c
58 #define CAT4(a,b,c,d)a/**/b/**/c/**/d
59 #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
60 #define STRINGIFY(a)"a"
61 /* If you can get stringification with catify, tell me how! */
64 #define CAT2(a,b)a ## b
65 #define CAT3(a,b,c)a ## b ## c
66 #define CAT4(a,b,c,d)a ## b ## c ## d
67 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
69 #define STRINGIFY(a)StGiFy(a)
70 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
71 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
72 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
73 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
76 #include "Bletch: How does this C preprocessor catenate tokens?"
80 * This symbol contains the first part of the string which will invoke
81 * the C preprocessor on the standard input and produce to standard
82 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
83 * call a wrapper. See CPPRUN.
86 * This symbol contains the second part of the string which will invoke
87 * the C preprocessor on the standard input and produce to standard
88 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
89 * to specify standard input, otherwise the value is "".
91 #define CPPSTDIN "cc -E"
95 * This symbol, if defined, indicates that the alarm routine is
98 #define HAS_ALARM /**/
101 * This symbol indicates the C compiler can check for function attributes,
102 * such as printf formats. This is normally only supported by GNU cc.
104 /*#define HASATTRIBUTE /**/
106 #define __attribute__(_arg_)
110 * This symbol is defined if the bcmp() routine is available to
111 * compare blocks of memory.
113 #define HAS_BCMP /**/
116 * This symbol is defined if the bcopy() routine is available to
117 * copy blocks of memory.
119 #define HAS_BCOPY /**/
122 * This symbol is defined if the bzero() routine is available to
123 * set a memory block to 0.
125 #define HAS_BZERO /**/
128 * This symbol is defined if the C compiler can cast negative
129 * or large floating point numbers to 32-bit ints.
131 /*#define CASTI32 /**/
134 * This symbol is defined if the C compiler can cast negative
135 * numbers to unsigned longs, ints and shorts.
138 * This symbol contains flags that say what difficulties the compiler
139 * has casting odd floating values to unsigned long:
141 * 1 = couldn't cast < 0
142 * 2 = couldn't cast >= 0x80000000
144 /*#define CASTNEGFLOAT /**/
145 #define CASTFLAGS 3 /**/
148 * This symbol, if defined, indicates that the chown routine is
151 #define HAS_CHOWN /**/
154 * This symbol, if defined, indicates that the chroot routine is
157 #define HAS_CHROOT /**/
160 * This symbol, if defined, indicates that the chsize routine is available
161 * to truncate files. You might need a -lx to get this routine.
163 #define HAS_CHSIZE /**/
166 * This symbol, if defined, indicates that the closedir() routine
167 * does not return a value.
169 /*#define VOID_CLOSEDIR /**/
172 * This symbol, if defined, indicates that this C compiler knows about
173 * the const type. There is no need to actually test for that symbol
174 * within your programs. The mere use of the "const" keyword will
175 * trigger the necessary tests.
177 /*#define HASCONST /**/
183 * This symbol, if defined, indicates that the crypt routine is available
184 * to encrypt passwords and the like.
186 #define HAS_CRYPT /**/
189 * This symbol, if defined, indicates that the cuserid routine is
190 * available to get character login names.
192 #define HAS_CUSERID /**/
195 * This symbol, if defined, indicates that this system's <float.h>
196 * or <limits.h> defines the symbol DBL_DIG, which is the number
197 * of significant digits in a double precision number. If this
198 * symbol is not defined, a guess of 15 is usually pretty good.
200 #define HAS_DBL_DIG /* */
203 * This symbol, if defined, indicates that the difftime routine is
206 #define HAS_DIFFTIME /**/
209 * This symbol, if defined, indicates that the dlerror routine is
210 * available to return a string describing the last error that
211 * occurred from a call to dlopen(), dlclose() or dlsym().
213 /*#define HAS_DLERROR /**/
215 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
216 * This symbol, if defined, indicates that the bug that prevents
217 * setuid scripts from being secure is not present in this kernel.
220 * This symbol, if defined, indicates that the C program should
221 * check the script that it is executing for setuid/setgid bits, and
222 * attempt to emulate setuid/setgid on systems that have disabled
223 * setuid #! scripts because the kernel can't do it securely.
224 * It is up to the package designer to make sure that this emulation
225 * is done securely. Among other things, it should do an fstat on
226 * the script it just opened to make sure it really is a setuid/setgid
227 * script, it should make sure the arguments passed correspond exactly
228 * to the argument on the #! line, and it should not trust any
229 * subprocesses to which it must pass the filename rather than the
230 * file descriptor of the script to be executed.
232 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
233 /*#define DOSUID /**/
236 * This symbol, if defined, indicates that the drem routine is
237 * available. This routine is roughly the same as fmod, i.e. it
238 * computes the remainder r=x-n*y, where n=rint(x/y), whereas fmod
241 /*#define HAS_DREM /**/
244 * This symbol, if defined, indicates that the dup2 routine is
245 * available to duplicate file descriptors.
247 #define HAS_DUP2 /**/
250 * This symbol, if defined, indicates that the fchmod routine is available
251 * to change mode of opened files. If unavailable, use chmod().
253 /*#define HAS_FCHMOD /**/
256 * This symbol, if defined, indicates that the fchown routine is available
257 * to change ownership of opened files. If unavailable, use chown().
259 /*#define HAS_FCHOWN /**/
262 * This symbol, if defined, indicates to the C program that
263 * the fcntl() function exists.
265 #define HAS_FCNTL /**/
268 * This symbol, if defined, indicates that the fgetpos routine is
269 * available to get the file position indicator, similar to ftell().
271 /*#define HAS_FGETPOS /**/
274 * This symbol, if defined, indicates that the system supports filenames
275 * longer than 14 characters.
277 /*#define FLEXFILENAMES /**/
280 * This symbol, if defined, indicates that the flock routine is
281 * available to do file locking.
283 /*#define HAS_FLOCK /**/
286 * This symbol, if defined, indicates that the fmod routine is
287 * available to compute the remainder r=x-n*y where n=trunc(x/y).
289 #define HAS_FMOD /**/
292 * This symbol, if defined, indicates that the fork routine is
295 #define HAS_FORK /**/
298 * This symbol, if defined, indicates that the fsetpos routine is
299 * available to set the file position indicator, similar to fseek().
301 /*#define HAS_FSETPOS /**/
304 * This preprocessor macro is defined to convert a floating point
305 * number to a string without a trailing decimal point. This
306 * emulates the behavior of sprintf("%g"), but is sometimes much more
307 * efficient. If gconvert() is not available, but gcvt() drops the
308 * trailing decimal point, then gcvt() is used. If all else fails,
309 * a macro using sprintf("%g") is used. Arguments for the Gconvert
310 * macro are: value, number of digits, whether trailing zeros should
311 * be retained, and the output buffer.
313 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
316 * This symbol, if defined, indicates that the getgroups() routine is
317 * available to get the list of process groups. If unavailable, multiple
318 * groups are probably not supported.
320 #define HAS_GETGROUPS /**/
323 * This symbol, if defined, indicates that the gethostent routine is
324 * available to lookup host names in some data base or other.
326 /*#define HAS_GETHOSTENT /**/
329 * This symbol, if defined, indicates that the C program may use the
330 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
333 #define HAS_UNAME /**/
336 * This symbol, if defined, indicates that the getlogin routine is
337 * available to get the login name.
339 #define HAS_GETLOGIN /**/
342 * This symbol, if defined, indicates that the getpgrp routine is
343 * available to get the current process group.
345 #define HAS_GETPGRP /**/
348 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
349 * routine is available to get the current process group.
351 /*#define HAS_GETPGRP2 /**/
354 * This symbol, if defined, indicates that the getppid routine is
355 * available to get the parent process ID.
357 #define HAS_GETPPID /**/
360 * This symbol, if defined, indicates that the getpriority routine is
361 * available to get a process's priority.
363 /*#define HAS_GETPRIORITY /**/
366 * This symbol, if defined, indicates that the htonl() routine (and
367 * friends htons() ntohl() ntohs()) are available to do network
368 * order byte swapping.
371 * This symbol, if defined, indicates that the htons() routine (and
372 * friends htonl() ntohl() ntohs()) are available to do network
373 * order byte swapping.
376 * This symbol, if defined, indicates that the ntohl() routine (and
377 * friends htonl() htons() ntohs()) are available to do network
378 * order byte swapping.
381 * This symbol, if defined, indicates that the ntohs() routine (and
382 * friends htonl() htons() ntohl()) are available to do network
383 * order byte swapping.
385 #define HAS_HTONL /**/
386 #define HAS_HTONS /**/
387 #define HAS_NTOHL /**/
388 #define HAS_NTOHS /**/
391 * This manifest constant lets the C program know that isascii
394 #define HAS_ISASCII /**/
397 * This symbol, if defined, indicates that the killpg routine is available
398 * to kill process groups. If unavailable, you probably should use kill
399 * with a negative process number.
401 /*#define HAS_KILLPG /**/
404 * This symbol, if defined, indicates that the link routine is
405 * available to create hard links.
407 #define HAS_LINK /**/
410 * This symbol is defined if this system has a FILE structure declaring
411 * _IO_read_base, _IO_read_ptr, and _IO_read_end in stdio.h.
413 /*#define USE_LINUX_STDIO /**/
416 * This symbol, if defined, indicates that the localeconv routine is
417 * available for numeric and monetary formatting conventions.
419 #define HAS_LOCALECONV /**/
422 * This symbol, if defined, indicates that the lockf routine is
423 * available to do file locking.
425 #define HAS_LOCKF /**/
428 * This symbol, if defined, indicates that the lstat routine is
429 * available to do file stats on symbolic links.
431 #define HAS_LSTAT /**/
434 * This symbol, if defined, indicates that the mblen routine is available
435 * to find the number of bytes in a multibye character.
437 /*#define HAS_MBLEN /**/
440 * This symbol, if defined, indicates that the mbstowcs routine is
441 * available to covert a multibyte string into a wide character string.
443 /*#define HAS_MBSTOWCS /**/
446 * This symbol, if defined, indicates that the mbtowc routine is available
447 * to covert a multibyte to a wide character.
449 /*#define HAS_MBTOWC /**/
452 * This symbol, if defined, indicates that the memcmp routine is available
453 * to compare blocks of memory.
455 #define HAS_MEMCMP /**/
458 * This symbol, if defined, indicates that the memcpy routine is available
459 * to copy blocks of memory.
461 #define HAS_MEMCPY /**/
464 * This symbol, if defined, indicates that the memmove routine is available
465 * to copy potentially overlapping blocks of memory. This should be used
466 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
469 /*#define HAS_MEMMOVE /**/
472 * This symbol, if defined, indicates that the memset routine is available
473 * to set blocks of memory.
475 #define HAS_MEMSET /**/
478 * This symbol, if defined, indicates that the mkdir routine is available
479 * to create directories. Otherwise you should fork off a new process to
482 #define HAS_MKDIR /**/
485 * This symbol, if defined, indicates that the mkfifo routine is
486 * available to create FIFOs. Otherwise, mknod should be able to
487 * do it for you. However, if mkfifo is there, mknod might require
488 * super-user privileges which mkfifo will not.
490 #define HAS_MKFIFO /**/
493 * This symbol, if defined, indicates that the mktime routine is
496 #define HAS_MKTIME /**/
499 * This symbol, if defined, indicates that the entire msg*(2) library is
500 * supported (IPC mechanism based on message queues).
505 * This symbol, if defined, indicates that the nice routine is
508 #define HAS_NICE /**/
511 * This manifest constant lets the C program know that the three
512 * argument form of open(2) is available.
514 #define HAS_OPEN3 /**/
517 * This symbol, if defined, indicates that pathconf() is available
518 * to determine file-system related limits and options associated
519 * with a given filename.
522 * This symbol, if defined, indicates that pathconf() is available
523 * to determine file-system related limits and options associated
524 * with a given open file descriptor.
526 #define HAS_PATHCONF /**/
527 #define HAS_FPATHCONF /**/
530 * This symbol, if defined, indicates that the pause routine is
531 * available to suspend a process until a signal is received.
533 #define HAS_PAUSE /**/
536 * This symbol, if defined, indicates that the pipe routine is
537 * available to create an inter-process channel.
539 #define HAS_PIPE /**/
542 * This symbol, if defined, indicates that the readdir routine is
543 * available to read directory entries. You may have to include
544 * <dirent.h>. See I_DIRENT.
546 #define HAS_READDIR /**/
549 * This symbol, if defined, indicates that the seekdir routine is
550 * available. You may have to include <dirent.h>. See I_DIRENT.
552 #define HAS_SEEKDIR /**/
555 * This symbol, if defined, indicates that the telldir routine is
556 * available. You may have to include <dirent.h>. See I_DIRENT.
558 #define HAS_TELLDIR /**/
561 * This symbol, if defined, indicates that the rewinddir routine is
562 * available. You may have to include <dirent.h>. See I_DIRENT.
564 #define HAS_REWINDDIR /**/
567 * This symbol, if defined, indicates that the readlink routine is
568 * available to read the value of a symbolic link.
570 #define HAS_READLINK /**/
573 * This symbol, if defined, indicates that the rename routine is available
574 * to rename files. Otherwise you should do the unlink(), link(), unlink()
577 #define HAS_RENAME /**/
580 * This symbol, if defined, indicates that the rmdir routine is
581 * available to remove directories. Otherwise you should fork off a
582 * new process to exec /bin/rmdir.
584 #define HAS_RMDIR /**/
587 * This symbol, if defined, indicates that the bcopy routine is available
588 * to copy potentially overlapping memory blocks. Otherwise you should
589 * probably use memmove() or memcpy(). If neither is defined, roll your
592 #define HAS_SAFE_BCOPY /**/
595 * This symbol, if defined, indicates that the memcpy routine is available
596 * to copy potentially overlapping memory blocks. Otherwise you should
597 * probably use memmove() or memcpy(). If neither is defined, roll your
600 #define HAS_SAFE_MEMCPY /**/
603 * This symbol, if defined, indicates that the select routine is
604 * available to select active file descriptors. If the timeout field
605 * is used, <sys/time.h> may need to be included.
607 #define HAS_SELECT /**/
610 * This symbol, if defined, indicates that the entire sem*(2) library is
616 * This symbol, if defined, indicates that the setegid routine is available
617 * to change the effective gid of the current program.
619 #define HAS_SETEGID /**/
622 * This symbol, if defined, indicates that the seteuid routine is available
623 * to change the effective uid of the current program.
625 #define HAS_SETEUID /**/
628 * This symbol, if defined, indicates that the setlinebuf routine is
629 * available to change stderr or stdout from block-buffered or unbuffered
630 * to a line-buffered mode.
632 /*#define HAS_SETLINEBUF /**/
635 * This symbol, if defined, indicates that the setlocale routine is
636 * available to handle locale-specific ctype implementations.
638 #define HAS_SETLOCALE /**/
641 * This symbol, if defined, indicates that the setpgid routine is
642 * available to set process group ID.
644 #define HAS_SETPGID /**/
647 * This symbol, if defined, indicates that the setpgrp routine is
648 * available to set the current process group.
651 * This symbol, if defined, indicates that the BSD notion of process
652 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
653 * instead of the USG setpgrp().
655 #define HAS_SETPGRP /**/
656 /*#define USE_BSDPGRP /**/
659 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
660 * routine is available to set the current process group.
662 /*#define HAS_SETPGRP2 /**/
665 * This symbol, if defined, indicates that the setpriority routine is
666 * available to set a process's priority.
668 /*#define HAS_SETPRIORITY /**/
671 * This symbol, if defined, indicates that the setregid routine is
672 * available to change the real and effective gid of the current
676 * This symbol, if defined, indicates that the setresgid routine is
677 * available to change the real, effective and saved gid of the current
680 #define HAS_SETREGID /**/
681 /*#define HAS_SETRESGID /**/
684 * This symbol, if defined, indicates that the setreuid routine is
685 * available to change the real and effective uid of the current
689 * This symbol, if defined, indicates that the setresuid routine is
690 * available to change the real, effective and saved uid of the current
693 #define HAS_SETREUID /**/
694 /*#define HAS_SETRESUID /**/
697 * This symbol, if defined, indicates that the setrgid routine is available
698 * to change the real gid of the current program.
700 /*#define HAS_SETRGID /**/
703 * This symbol, if defined, indicates that the setruid routine is available
704 * to change the real uid of the current program.
706 /*#define HAS_SETRUID /**/
709 * This symbol, if defined, indicates that the setsid routine is
710 * available to set the process group ID.
712 #define HAS_SETSID /**/
715 * This symbol, if defined, indicates that the entire shm*(2) library is
721 * This symbol holds the return type of the shmat() system call.
722 * Usually set to 'void *' or 'char *'.
724 /* HAS_SHMAT_PROTOTYPE:
725 * This symbol, if defined, indicates that the sys/shm.h includes
726 * a prototype for shmat(). Otherwise, it is up to the program to
727 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
728 * but not always right so it should be emitted by the program only
729 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
731 #define Shmat_t char * /**/
732 /*#define HAS_SHMAT_PROTOTYPE /**/
735 * This symbol, if defined, indicates that the BSD socket interface is
739 * This symbol, if defined, indicates that the BSD socketpair() call is
742 #define HAS_SOCKET /**/
743 /*#define HAS_SOCKETPAIR /**/
746 * This symbol is defined if this system has a stat structure declaring
747 * st_blksize and st_blocks.
749 /*#define USE_STAT_BLOCKS /**/
752 * This symbol is defined if this system has a FILE structure declaring
753 * _ptr and _cnt in stdio.h.
755 #define USE_STD_STDIO /**/
758 * This symbol is defined to indicate that the strchr()/strrchr()
759 * functions are available for string searching. If not, try the
760 * index()/rindex() pair.
763 * This symbol is defined to indicate that the index()/rindex()
764 * functions are available for string searching.
766 #define HAS_STRCHR /**/
767 /*#define HAS_INDEX /**/
770 * This symbol, if defined, indicates that the strcoll routine is
771 * available to compare strings using collating information.
773 #define HAS_STRCOLL /**/
776 * This symbol, if defined, indicates that this C compiler knows how
777 * to copy structures. If undefined, you'll need to use a block copy
778 * routine of some sort instead.
780 #define USE_STRUCT_COPY /**/
783 * This symbol, if defined, indicates that the strerror routine is
784 * available to translate error numbers to strings. See the writeup
785 * of Strerror() in this file before you try to define your own.
788 * This symbol, if defined, indicates that the sys_errlist array is
789 * available to translate error numbers to strings. The extern int
790 * sys_nerr gives the size of that table.
793 * This preprocessor symbol is defined as a macro if strerror() is
794 * not available to translate error numbers to strings but sys_errlist[]
797 #define HAS_STRERROR /**/
798 #define HAS_SYS_ERRLIST /**/
799 #define Strerror(e) strerror(e)
802 * This symbol, if defined, indicates that the strxfrm() routine is
803 * available to transform strings.
805 #define HAS_STRXFRM /**/
808 * This symbol, if defined, indicates that the symlink routine is available
809 * to create symbolic links.
811 #define HAS_SYMLINK /**/
814 * This symbol, if defined, indicates that the syscall routine is
815 * available to call arbitrary system calls. If undefined, that's tough.
817 #define HAS_SYSCALL /**/
820 * This symbol, if defined, indicates that sysconf() is available
821 * to determine system related limits and options.
823 #define HAS_SYSCONF /**/
826 * This symbol, if defined, indicates that the system routine is
827 * available to issue a shell command.
829 #define HAS_SYSTEM /**/
832 * This symbol, if defined, indicates that the tcgetpgrp routine is
833 * available to get foreground process group ID.
835 #define HAS_TCGETPGRP /**/
838 * This symbol, if defined, indicates that the tcsetpgrp routine is
839 * available to set foreground process group ID.
841 #define HAS_TCSETPGRP /**/
844 * This symbol holds the type returned by time(). It can be long,
845 * or time_t on BSD sites (in which case <sys/types.h> should be
848 #define Time_t time_t /* Time type */
851 * This symbol, if defined, indicates that the times() routine exists.
852 * Note that this became obsolete on some systems (SUNOS), which now
853 * use getrusage(). It may be necessary to include <sys/times.h>.
855 #define HAS_TIMES /**/
858 * This symbol, if defined, indicates that the truncate routine is
859 * available to truncate files.
861 /*#define HAS_TRUNCATE /**/
864 * This symbol, if defined, indicates that the tzname[] array is
865 * available to access timezone names.
867 #define HAS_TZNAME /**/
870 * This symbol, if defined, indicates that the umask routine is
871 * available to set and get the value of the file creation mask.
873 #define HAS_UMASK /**/
876 * This symbol, if defined, indicates that vfork() exists.
878 /*#define HAS_VFORK /**/
881 * This symbol's value is either "void" or "int", corresponding to the
882 * appropriate return type of a signal handler. Thus, you can declare
883 * a signal handler using "Signal_t (*handler)()", and define the
884 * handler using "Signal_t handler(sig)".
886 #define Signal_t void /* Signal handler's return type */
889 * This symbol, if defined, indicates that this C compiler knows about
890 * the volatile declaration.
892 /*#define HASVOLATILE /**/
898 * This symbol, if defined, indicates that the vprintf routine is available
899 * to printf with a pointer to an argument list. If unavailable, you
900 * may need to write your own, probably in terms of _doprnt().
902 /* USE_CHAR_VSPRINTF:
903 * This symbol is defined if this system has vsprintf() returning type
904 * (char*). The trend seems to be to declare it as "int vsprintf()". It
905 * is up to the package author to declare vsprintf correctly based on the
908 #define HAS_VPRINTF /**/
909 /*#define USE_CHAR_VSPRINTF /**/
912 * This symbol, if defined, indicates that wait4() exists.
914 /*#define HAS_WAIT4 /**/
917 * This symbol, if defined, indicates that the waitpid routine is
918 * available to wait for child process.
920 #define HAS_WAITPID /**/
923 * This symbol, if defined, indicates that the wcstombs routine is
924 * available to convert wide character strings to multibyte strings.
926 /*#define HAS_WCSTOMBS /**/
929 * This symbol, if defined, indicates that the wctomb routine is available
930 * to covert a wide character to a multibyte.
932 /*#define HAS_WCTOMB /**/
935 * This symbol holds the type used to declare file positions in libc.
936 * It can be fpos_t, long, uint, etc... It may be necessary to include
937 * <sys/types.h> to get any typedef'ed information.
939 #define Fpos_t fpos_t /* File position type */
942 * This symbol holds the return type of getgid() and the type of
943 * argument to setrgid() and related functions. Typically,
944 * it is the type of group ids in the kernel. It can be int, ushort,
945 * uid_t, etc... It may be necessary to include <sys/types.h> to get
946 * any typedef'ed information.
948 #define Gid_t gid_t /* Type for getgid(), etc... */
951 * This symbol holds the type used for the second argument to
952 * getgroups(). Usually, this is the same of gidtype, but
953 * sometimes it isn't. It can be int, ushort, uid_t, etc...
954 * It may be necessary to include <sys/types.h> to get any
955 * typedef'ed information. This is only required if you have
959 #define Groups_t gid_t /* Type for 2nd arg to getgroups() */
963 * This symbol, if defined, indicates to the C program that it should
964 * include <dirent.h>. Using this symbol also triggers the definition
965 * of the Direntry_t define which ends up being 'struct dirent' or
966 * 'struct direct' depending on the availability of <dirent.h>.
969 * This symbol, if defined, indicates to the C program that the length
970 * of directory entry names is provided by a d_namlen field. Otherwise
971 * you need to do strlen() on the d_name field.
974 * This symbol is set to 'struct direct' or 'struct dirent' depending on
975 * whether dirent is available or not. You should use this pseudo type to
976 * portably declare your directory entries.
978 #define I_DIRENT /**/
979 /*#define DIRNAMLEN /**/
980 #define Direntry_t struct dirent
983 * This symbol, if defined, indicates that <dlfcn.h> exists and should
986 /*#define I_DLFCN /**/
989 * This manifest constant tells the C program to include <fcntl.h>.
994 * This symbol, if defined, indicates to the C program that it should
995 * include <float.h> to get definition of symbols like DBL_MAX or
996 * DBL_MIN, i.e. machine dependent floating point values.
1001 * This symbol, if defined, indicates to the C program that it should
1007 * This symbol, if defined, indicates to the C program that it should
1008 * include <limits.h> to get definition of symbols like WORD_BIT or
1009 * LONG_MAX, i.e. machine dependant limitations.
1011 #define I_LIMITS /**/
1014 * This symbol, if defined, indicates to the C program that it should
1020 * This symbol, if defined, indicates to the C program that it should
1021 * include <memory.h>.
1023 /*#define I_MEMORY /**/
1026 * This symbol, if defined, indicates that <net/errno.h> exists and
1027 * should be included.
1029 #define I_NET_ERRNO /**/
1032 * This symbol, if defined, indicates to the C program that it should
1033 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1035 #define I_NETINET_IN /**/
1038 * This symbol, if defined, indicates to the C program that it should
1042 * This symbol, if defined, indicates to the C program that struct passwd
1043 * contains pw_quota.
1046 * This symbol, if defined, indicates to the C program that struct passwd
1050 * This symbol, if defined, indicates to the C program that struct passwd
1051 * contains pw_change.
1054 * This symbol, if defined, indicates to the C program that struct passwd
1055 * contains pw_class.
1058 * This symbol, if defined, indicates to the C program that struct passwd
1059 * contains pw_expire.
1062 * This symbol, if defined, indicates to the C program that struct passwd
1063 * contains pw_comment.
1066 /*#define PWQUOTA /**/
1068 /*#define PWCHANGE /**/
1069 /*#define PWCLASS /**/
1070 /*#define PWEXPIRE /**/
1071 #define PWCOMMENT /**/
1074 * This symbol, if defined, indicates that <stddef.h> exists and should
1077 #define I_STDDEF /**/
1080 * This symbol, if defined, indicates that <stdlib.h> exists and should
1083 #define I_STDLIB /**/
1086 * This symbol, if defined, indicates to the C program that it should
1087 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1089 #define I_STRING /**/
1092 * This symbol, if defined, indicates to the C program that it should
1093 * include <sys/dir.h>.
1095 #define I_SYS_DIR /**/
1098 * This symbol, if defined, indicates to the C program that it should
1099 * include <sys/file.h> to get definition of R_OK and friends.
1101 /*#define I_SYS_FILE /**/
1104 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1105 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1107 #define I_SYS_IOCTL /**/
1110 * This symbol, if defined, indicates to the C program that it should
1111 * include <sys/ndir.h>.
1113 /*#define I_SYS_NDIR /**/
1116 * This symbol, if defined, indicates to the C program that it should
1117 * include <sys/param.h>.
1119 #define I_SYS_PARAM /**/
1122 * This symbol, if defined, indicates to the C program that it should
1123 * include <sys/select.h> in order to get definition of struct timeval.
1125 /*#define I_SYS_SELECT /**/
1128 * This symbol, if defined, indicates to the C program that it should
1129 * include <sys/times.h>.
1131 #define I_SYS_TIMES /**/
1134 * This symbol, if defined, indicates to the C program that it should
1135 * include <sys/types.h>.
1137 #define I_SYS_TYPES /**/
1140 * This symbol, if defined, indicates that the program should include
1141 * <termio.h> rather than <sgtty.h>. There are also differences in
1142 * the ioctl() calls that depend on the value of this symbol.
1145 * This symbol, if defined, indicates that the program should include
1146 * the POSIX termios.h rather than sgtty.h or termio.h.
1147 * There are also differences in the ioctl() calls that depend on the
1148 * value of this symbol.
1151 * This symbol, if defined, indicates that the program should include
1152 * <sgtty.h> rather than <termio.h>. There are also differences in
1153 * the ioctl() calls that depend on the value of this symbol.
1155 /*#define I_TERMIO /**/
1156 #define I_TERMIOS /**/
1157 /*#define I_SGTTY /**/
1160 * This symbol, if defined, indicates to the C program that it should
1164 * This symbol, if defined, indicates to the C program that it should
1165 * include <sys/time.h>.
1167 /* I_SYS_TIME_KERNEL:
1168 * This symbol, if defined, indicates to the C program that it should
1169 * include <sys/time.h> with KERNEL defined.
1171 /*#define I_TIME /**/
1172 #define I_SYS_TIME /**/
1173 /*#define I_SYS_TIME_KERNEL /**/
1176 * This symbol, if defined, indicates to the C program that it should
1177 * include <unistd.h>.
1179 #define I_UNISTD /**/
1182 * This symbol, if defined, indicates to the C program that it should
1183 * include <utime.h>.
1185 #define I_UTIME /**/
1188 * This symbol, if defined, indicates that <stdarg.h> exists and should
1192 * This symbol, if defined, indicates to the C program that it should
1193 * include <varargs.h>.
1195 /*#define I_STDARG /**/
1196 #define I_VARARGS /**/
1199 * This symbol, if defined, indicates to the C program that it should
1202 /*#define I_VFORK /**/
1205 * This symbol contains the size of an int, so that the C preprocessor
1206 * can make decisions based on it.
1208 #define INTSIZE 4 /**/
1211 * This symbol holds the type used to declare offsets in the kernel.
1212 * It can be int, long, off_t, etc... It may be necessary to include
1213 * <sys/types.h> to get any typedef'ed information.
1215 #define Off_t off_t /* <offset> type */
1218 * This symbol holds the type used to declare file modes
1219 * for systems calls. It is usually mode_t, but may be
1220 * int or unsigned short. It may be necessary to include <sys/types.h>
1221 * to get any typedef'ed information.
1223 #define Mode_t mode_t /* file mode parameter for system calls */
1226 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1227 * in programs that are not prepared to deal with ~ expansion at run-time.
1229 #define PRIVLIB_EXP "/usr/local/lib/perl5" /**/
1232 * If defined, this macro indicates that the C compiler can handle
1233 * function prototypes.
1236 * This macro is used to declare function parameters for folks who want
1237 * to make declarations with prototypes using a different style than
1238 * the above macros. Use double parentheses. For example:
1240 * int main _((int argc, char *argv[]));
1242 /*#define CAN_PROTOTYPE /**/
1243 #ifdef CAN_PROTOTYPE
1244 #define _(args) args
1250 * This symbol contains the number of bits of random number the rand()
1251 * function produces. Usual values are 15, 16, and 31.
1253 #define RANDBITS 15 /**/
1256 * This symbol holds the name of the directory in which the user wants
1257 * to put publicly executable scripts for the package in question. It
1258 * is often a directory that is mounted across diverse architectures.
1259 * Programs must be prepared to deal with ~name expansion.
1261 #define SCRIPTDIR "/usr/local/bin" /**/
1264 * This symbol holds the type used for the 2nd, 3rd, and 4th
1265 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1266 * is defined, and 'int *' otherwise. This is only useful if you
1267 * have select(), of course.
1269 #define Select_fd_set_t fd_set * /**/
1272 * This symbol contains a list of signal names in order. This is intended
1273 * to be used as a static array initialization, like this:
1274 * char *sig_name[] = { SIG_NAME };
1275 * The signals in the list are separated with commas, and each signal
1276 * is surrounded by double quotes. There is no leading SIG in the signal
1277 * name, i.e. SIGQUIT is known as "QUIT".
1279 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","USR1","USR2","CLD","PWR","WINCH","21","POLL","CONT","STOP","TSTP","TTIN","TTOU" /**/
1282 * This symbol holds the type used to declare length parameters
1283 * for string functions. It is usually size_t, but may be
1284 * unsigned long, int, etc. It may be necessary to include
1285 * <sys/types.h> to get any typedef'ed information.
1287 #define Size_t size_t /* length paramater for string functions */
1290 * This symbol holds the type used by functions that return
1291 * a count of bytes or an error condition. It must be a signed type.
1292 * It is usually ssize_t, but may be long or int, etc.
1293 * It may be necessary to include <sys/types.h> or <unistd.h>
1294 * to get any typedef'ed information.
1295 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1297 #define SSize_t int /* signed count of bytes */
1300 * This symbol is defined to be the type of char used in stdio.h.
1301 * It has the values "unsigned char" or "char".
1303 #define STDCHAR unsigned char /**/
1306 * This symbol holds the type used to declare user ids in the kernel.
1307 * It can be int, ushort, uid_t, etc... It may be necessary to include
1308 * <sys/types.h> to get any typedef'ed information.
1310 #define Uid_t uid_t /* UID type */
1313 * This symbol indicates how much support of the void type is given by this
1314 * compiler. What various bits mean:
1316 * 1 = supports declaration of void
1317 * 2 = supports arrays of pointers to functions returning void
1318 * 4 = supports comparisons between pointers to void functions and
1319 * addresses of void functions
1320 * 8 = suports declaration of generic void pointers
1322 * The package designer should define VOIDUSED to indicate the requirements
1323 * of the package. This can be done either by #defining VOIDUSED before
1324 * including config.h, or by defining defvoidused in Myinit.U. If the
1325 * latter approach is taken, only those flags will be tested. If the
1326 * level of void support necessary is not present, defines void to int.
1331 #define VOIDFLAGS 15
1332 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1333 #define void int /* is void to be avoided? */
1334 #define M_VOID /* Xenix strikes again */
1338 * This symbol, if defined, indicates that the program is being compiled
1339 * under the EUNICE package under VMS. The program will need to handle
1340 * things like files that don't go away the first time you unlink them,
1341 * due to version numbering. It will also need to compensate for lack
1342 * of a respectable link() command.
1345 * This symbol, if defined, indicates that the program is running under
1346 * VMS. It is currently only set in conjunction with the EUNICE symbol.
1348 /*#define EUNICE /**/
1352 * This symbol holds the complete pathname to the sed program.
1354 #define LOC_SED "/bin/sed" /**/
1357 * This symbol, if defined, indicates that the C-shell exists.
1358 * If defined, contains the full pathname of csh.
1360 #define CSH "/bin/csh" /**/
1362 /* DLSYM_NEEDS_UNDERSCORE:
1363 * This symbol, if defined, indicates that we need to prepend an
1364 * underscore to the symbol name before calling dlsym(). This only
1365 * makes sense if you *have* dlsym, which we will presume is the
1366 * case if you're using dl_dlopen.xs.
1368 /*#define DLSYM_NEEDS_UNDERSCORE /* */
1370 /* USE_DYNAMIC_LOADING:
1371 * This symbol, if defined, indicates that dynamic loading of
1372 * some sort is available.
1374 /*#define USE_DYNAMIC_LOADING /**/
1377 * This symbol contains the type of the prefix structure element
1378 * in the <db.h> header file. In older versions of DB, it was
1379 * int, while in newer ones it is u_int32_t.
1382 * This symbol contains the type of the prefix structure element
1383 * in the <db.h> header file. In older versions of DB, it was
1384 * int, while in newer ones it is size_t.
1386 #define DB_Hash_t int /**/
1387 #define DB_Prefix_t int /**/
1390 * This symbol, if defined, indicates that ndbm.h exists and should
1396 * This symbol, if defined, indicates to the C program that it should
1397 * include <sys/stat.h>.
1399 #define I_SYS_STAT /**/
1402 * This symbol is the type of pointer returned by malloc and realloc.
1404 #define Malloc_t char * /**/
1407 * This symbol, if defined, indicates that we're using our own malloc.
1409 #define MYMALLOC /**/