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: Wed Apr 5 14:50:33 EDT 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
143 * 4 = couldn't cast in argument expression list
145 /*#define CASTNEGFLOAT /**/
146 #define CASTFLAGS 7 /**/
149 * This symbol, if defined, indicates that the chown routine is
152 #define HAS_CHOWN /**/
155 * This symbol, if defined, indicates that the chroot routine is
158 #define HAS_CHROOT /**/
161 * This symbol, if defined, indicates that the chsize routine is available
162 * to truncate files. You might need a -lx to get this routine.
164 #define HAS_CHSIZE /**/
167 * This symbol, if defined, indicates that the closedir() routine
168 * does not return a value.
170 /*#define VOID_CLOSEDIR /**/
173 * This symbol, if defined, indicates that this C compiler knows about
174 * the const type. There is no need to actually test for that symbol
175 * within your programs. The mere use of the "const" keyword will
176 * trigger the necessary tests.
178 /*#define HASCONST /**/
184 * This symbol, if defined, indicates that the crypt routine is available
185 * to encrypt passwords and the like.
187 #define HAS_CRYPT /**/
190 * This symbol, if defined, indicates that the cuserid routine is
191 * available to get character login names.
193 #define HAS_CUSERID /**/
196 * This symbol, if defined, indicates that this system's <float.h>
197 * or <limits.h> defines the symbol DBL_DIG, which is the number
198 * of significant digits in a double precision number. If this
199 * symbol is not defined, a guess of 15 is usually pretty good.
201 #define HAS_DBL_DIG /* */
204 * This symbol, if defined, indicates that the difftime routine is
207 #define HAS_DIFFTIME /**/
210 * This symbol, if defined, indicates that the dlerror routine is
211 * available to return a string describing the last error that
212 * occurred from a call to dlopen(), dlclose() or dlsym().
214 /*#define HAS_DLERROR /**/
216 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
217 * This symbol, if defined, indicates that the bug that prevents
218 * setuid scripts from being secure is not present in this kernel.
221 * This symbol, if defined, indicates that the C program should
222 * check the script that it is executing for setuid/setgid bits, and
223 * attempt to emulate setuid/setgid on systems that have disabled
224 * setuid #! scripts because the kernel can't do it securely.
225 * It is up to the package designer to make sure that this emulation
226 * is done securely. Among other things, it should do an fstat on
227 * the script it just opened to make sure it really is a setuid/setgid
228 * script, it should make sure the arguments passed correspond exactly
229 * to the argument on the #! line, and it should not trust any
230 * subprocesses to which it must pass the filename rather than the
231 * file descriptor of the script to be executed.
233 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
234 /*#define DOSUID /**/
237 * This symbol, if defined, indicates that the dup2 routine is
238 * available to duplicate file descriptors.
240 #define HAS_DUP2 /**/
243 * This symbol, if defined, indicates that the fchmod routine is available
244 * to change mode of opened files. If unavailable, use chmod().
246 /*#define HAS_FCHMOD /**/
249 * This symbol, if defined, indicates that the fchown routine is available
250 * to change ownership of opened files. If unavailable, use chown().
252 /*#define HAS_FCHOWN /**/
255 * This symbol, if defined, indicates to the C program that
256 * the fcntl() function exists.
258 #define HAS_FCNTL /**/
261 * This symbol, if defined, indicates that the fgetpos routine is
262 * available to get the file position indicator, similar to ftell().
264 /*#define HAS_FGETPOS /**/
267 * This symbol, if defined, indicates that the system supports filenames
268 * longer than 14 characters.
270 /*#define FLEXFILENAMES /**/
273 * This symbol, if defined, indicates that the flock routine is
274 * available to do file locking.
276 /*#define HAS_FLOCK /**/
279 * This symbol, if defined, indicates that the fork routine is
282 #define HAS_FORK /**/
285 * This symbol, if defined, indicates that the fsetpos routine is
286 * available to set the file position indicator, similar to fseek().
288 /*#define HAS_FSETPOS /**/
291 * This preprocessor macro is defined to convert a floating point
292 * number to a string without a trailing decimal point. This
293 * emulates the behavior of sprintf("%g"), but is sometimes much more
294 * efficient. If gconvert() is not available, but gcvt() drops the
295 * trailing decimal point, then gcvt() is used. If all else fails,
296 * a macro using sprintf("%g") is used. Arguments for the Gconvert
297 * macro are: value, number of digits, whether trailing zeros should
298 * be retained, and the output buffer.
300 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
303 * This symbol, if defined, indicates that the getgroups() routine is
304 * available to get the list of process groups. If unavailable, multiple
305 * groups are probably not supported.
307 #define HAS_GETGROUPS /**/
310 * This symbol, if defined, indicates that the gethostent routine is
311 * available to lookup host names in some data base or other.
313 /*#define HAS_GETHOSTENT /**/
316 * This symbol, if defined, indicates that the C program may use the
317 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
320 #define HAS_UNAME /**/
323 * This symbol, if defined, indicates that the getlogin routine is
324 * available to get the login name.
326 #define HAS_GETLOGIN /**/
329 * This symbol, if defined, indicates that the getpgrp routine is
330 * available to get the current process group.
332 #define HAS_GETPGRP /**/
335 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
336 * routine is available to get the current process group.
338 /*#define HAS_GETPGRP2 /**/
341 * This symbol, if defined, indicates that the getppid routine is
342 * available to get the parent process ID.
344 #define HAS_GETPPID /**/
347 * This symbol, if defined, indicates that the getpriority routine is
348 * available to get a process's priority.
350 /*#define HAS_GETPRIORITY /**/
353 * This symbol, if defined, indicates that the htonl() routine (and
354 * friends htons() ntohl() ntohs()) are available to do network
355 * order byte swapping.
358 * This symbol, if defined, indicates that the htons() routine (and
359 * friends htonl() ntohl() ntohs()) are available to do network
360 * order byte swapping.
363 * This symbol, if defined, indicates that the ntohl() routine (and
364 * friends htonl() htons() ntohs()) are available to do network
365 * order byte swapping.
368 * This symbol, if defined, indicates that the ntohs() routine (and
369 * friends htonl() htons() ntohl()) are available to do network
370 * order byte swapping.
372 #define HAS_HTONL /**/
373 #define HAS_HTONS /**/
374 #define HAS_NTOHL /**/
375 #define HAS_NTOHS /**/
378 * This manifest constant lets the C program know that isascii
381 #define HAS_ISASCII /**/
384 * This symbol, if defined, indicates that the killpg routine is available
385 * to kill process groups. If unavailable, you probably should use kill
386 * with a negative process number.
388 /*#define HAS_KILLPG /**/
391 * This symbol, if defined, indicates that the link routine is
392 * available to create hard links.
394 #define HAS_LINK /**/
397 * This symbol is defined if this system has a FILE structure declaring
398 * _IO_read_base, _IO_read_ptr, and _IO_read_end in stdio.h.
400 /*#define USE_LINUX_STDIO /**/
403 * This symbol, if defined, indicates that the localeconv routine is
404 * available for numeric and monetary formatting conventions.
406 #define HAS_LOCALECONV /**/
409 * This symbol, if defined, indicates that the lockf routine is
410 * available to do file locking.
412 #define HAS_LOCKF /**/
415 * This symbol, if defined, indicates that the lstat routine is
416 * available to do file stats on symbolic links.
418 #define HAS_LSTAT /**/
421 * This symbol, if defined, indicates that the mblen routine is available
422 * to find the number of bytes in a multibye character.
424 /*#define HAS_MBLEN /**/
427 * This symbol, if defined, indicates that the mbstowcs routine is
428 * available to covert a multibyte string into a wide character string.
430 /*#define HAS_MBSTOWCS /**/
433 * This symbol, if defined, indicates that the mbtowc routine is available
434 * to covert a multibyte to a wide character.
436 /*#define HAS_MBTOWC /**/
439 * This symbol, if defined, indicates that the memcmp routine is available
440 * to compare blocks of memory.
442 #define HAS_MEMCMP /**/
445 * This symbol, if defined, indicates that the memcpy routine is available
446 * to copy blocks of memory.
448 #define HAS_MEMCPY /**/
451 * This symbol, if defined, indicates that the memmove routine is available
452 * to copy potentially overlapping blocks of memory. This should be used
453 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
456 /*#define HAS_MEMMOVE /**/
459 * This symbol, if defined, indicates that the memset routine is available
460 * to set blocks of memory.
462 #define HAS_MEMSET /**/
465 * This symbol, if defined, indicates that the mkdir routine is available
466 * to create directories. Otherwise you should fork off a new process to
469 #define HAS_MKDIR /**/
472 * This symbol, if defined, indicates that the mkfifo routine is
473 * available to create FIFOs. Otherwise, mknod should be able to
474 * do it for you. However, if mkfifo is there, mknod might require
475 * super-user privileges which mkfifo will not.
477 #define HAS_MKFIFO /**/
480 * This symbol, if defined, indicates that the mktime routine is
483 #define HAS_MKTIME /**/
486 * This symbol, if defined, indicates that the entire msg*(2) library is
487 * supported (IPC mechanism based on message queues).
492 * This symbol, if defined, indicates that the nice routine is
495 #define HAS_NICE /**/
498 * This manifest constant lets the C program know that the three
499 * argument form of open(2) is available.
501 #define HAS_OPEN3 /**/
504 * This symbol, if defined, indicates that pathconf() is available
505 * to determine file-system related limits and options associated
506 * with a given filename.
509 * This symbol, if defined, indicates that pathconf() is available
510 * to determine file-system related limits and options associated
511 * with a given open file descriptor.
513 #define HAS_PATHCONF /**/
514 #define HAS_FPATHCONF /**/
517 * This symbol, if defined, indicates that the pause routine is
518 * available to suspend a process until a signal is received.
520 #define HAS_PAUSE /**/
523 * This symbol, if defined, indicates that the pipe routine is
524 * available to create an inter-process channel.
526 #define HAS_PIPE /**/
529 * This symbol, if defined, indicates that the readdir routine is
530 * available to read directory entries. You may have to include
531 * <dirent.h>. See I_DIRENT.
533 #define HAS_READDIR /**/
536 * This symbol, if defined, indicates that the seekdir routine is
537 * available. You may have to include <dirent.h>. See I_DIRENT.
539 #define HAS_SEEKDIR /**/
542 * This symbol, if defined, indicates that the telldir routine is
543 * available. You may have to include <dirent.h>. See I_DIRENT.
545 #define HAS_TELLDIR /**/
548 * This symbol, if defined, indicates that the rewinddir routine is
549 * available. You may have to include <dirent.h>. See I_DIRENT.
551 #define HAS_REWINDDIR /**/
554 * This symbol, if defined, indicates that the readlink routine is
555 * available to read the value of a symbolic link.
557 #define HAS_READLINK /**/
560 * This symbol, if defined, indicates that the rename routine is available
561 * to rename files. Otherwise you should do the unlink(), link(), unlink()
564 #define HAS_RENAME /**/
567 * This symbol, if defined, indicates that the rmdir routine is
568 * available to remove directories. Otherwise you should fork off a
569 * new process to exec /bin/rmdir.
571 #define HAS_RMDIR /**/
574 * This symbol, if defined, indicates that the bcopy routine is available
575 * to copy potentially overlapping memory blocks. Otherwise you should
576 * probably use memmove() or memcpy(). If neither is defined, roll your
579 #define HAS_SAFE_BCOPY /**/
582 * This symbol, if defined, indicates that the memcpy routine is available
583 * to copy potentially overlapping memory blocks. Otherwise you should
584 * probably use memmove() or memcpy(). If neither is defined, roll your
587 /*#define HAS_SAFE_MEMCPY /**/
590 * This symbol, if defined, indicates that the select routine is
591 * available to select active file descriptors. If the timeout field
592 * is used, <sys/time.h> may need to be included.
594 #define HAS_SELECT /**/
597 * This symbol, if defined, indicates that the entire sem*(2) library is
603 * This symbol, if defined, indicates that the setegid routine is available
604 * to change the effective gid of the current program.
606 #define HAS_SETEGID /**/
609 * This symbol, if defined, indicates that the seteuid routine is available
610 * to change the effective uid of the current program.
612 #define HAS_SETEUID /**/
615 * This symbol, if defined, indicates that the setlinebuf routine is
616 * available to change stderr or stdout from block-buffered or unbuffered
617 * to a line-buffered mode.
619 /*#define HAS_SETLINEBUF /**/
622 * This symbol, if defined, indicates that the setlocale routine is
623 * available to handle locale-specific ctype implementations.
625 #define HAS_SETLOCALE /**/
628 * This symbol, if defined, indicates that the setpgid routine is
629 * available to set process group ID.
631 #define HAS_SETPGID /**/
634 * This symbol, if defined, indicates that the setpgrp routine is
635 * available to set the current process group.
638 * This symbol, if defined, indicates that the BSD notion of process
639 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
640 * instead of the USG setpgrp().
642 #define HAS_SETPGRP /**/
643 /*#define USE_BSDPGRP /**/
646 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
647 * routine is available to set the current process group.
649 /*#define HAS_SETPGRP2 /**/
652 * This symbol, if defined, indicates that the setpriority routine is
653 * available to set a process's priority.
655 /*#define HAS_SETPRIORITY /**/
658 * This symbol, if defined, indicates that the setregid routine is
659 * available to change the real and effective gid of the current
663 * This symbol, if defined, indicates that the setresgid routine is
664 * available to change the real, effective and saved gid of the current
667 #define HAS_SETREGID /**/
668 /*#define HAS_SETRESGID /**/
671 * This symbol, if defined, indicates that the setreuid routine is
672 * available to change the real and effective uid of the current
676 * This symbol, if defined, indicates that the setresuid routine is
677 * available to change the real, effective and saved uid of the current
680 #define HAS_SETREUID /**/
681 /*#define HAS_SETRESUID /**/
684 * This symbol, if defined, indicates that the setrgid routine is available
685 * to change the real gid of the current program.
687 /*#define HAS_SETRGID /**/
690 * This symbol, if defined, indicates that the setruid routine is available
691 * to change the real uid of the current program.
693 /*#define HAS_SETRUID /**/
696 * This symbol, if defined, indicates that the setsid routine is
697 * available to set the process group ID.
699 #define HAS_SETSID /**/
702 * This symbol, if defined, indicates that the entire shm*(2) library is
708 * This symbol holds the return type of the shmat() system call.
709 * Usually set to 'void *' or 'char *'.
711 /* HAS_SHMAT_PROTOTYPE:
712 * This symbol, if defined, indicates that the sys/shm.h includes
713 * a prototype for shmat(). Otherwise, it is up to the program to
714 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
715 * but not always right so it should be emitted by the program only
716 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
718 #define Shmat_t char * /**/
719 /*#define HAS_SHMAT_PROTOTYPE /**/
722 * This symbol, if defined, indicates that the BSD socket interface is
726 * This symbol, if defined, indicates that the BSD socketpair() call is
729 #define HAS_SOCKET /**/
730 /*#define HAS_SOCKETPAIR /**/
733 * This symbol is defined if this system has a stat structure declaring
734 * st_blksize and st_blocks.
736 /*#define USE_STAT_BLOCKS /**/
739 * This symbol is defined if this system has a FILE structure declaring
740 * _ptr and _cnt in stdio.h.
742 #define USE_STD_STDIO /**/
745 * This symbol is defined to indicate that the strchr()/strrchr()
746 * functions are available for string searching. If not, try the
747 * index()/rindex() pair.
750 * This symbol is defined to indicate that the index()/rindex()
751 * functions are available for string searching.
753 #define HAS_STRCHR /**/
754 /*#define HAS_INDEX /**/
757 * This symbol, if defined, indicates that the strcoll routine is
758 * available to compare strings using collating information.
760 #define HAS_STRCOLL /**/
763 * This symbol, if defined, indicates that this C compiler knows how
764 * to copy structures. If undefined, you'll need to use a block copy
765 * routine of some sort instead.
767 #define USE_STRUCT_COPY /**/
770 * This symbol, if defined, indicates that the strerror routine is
771 * available to translate error numbers to strings. See the writeup
772 * of Strerror() in this file before you try to define your own.
775 * This symbol, if defined, indicates that the sys_errlist array is
776 * available to translate error numbers to strings. The extern int
777 * sys_nerr gives the size of that table.
780 * This preprocessor symbol is defined as a macro if strerror() is
781 * not available to translate error numbers to strings but sys_errlist[]
784 #define HAS_STRERROR /**/
785 #define HAS_SYS_ERRLIST /**/
786 #define Strerror(e) strerror(e)
789 * This symbol, if defined, indicates that the strxfrm() routine is
790 * available to transform strings.
792 #define HAS_STRXFRM /**/
795 * This symbol, if defined, indicates that the symlink routine is available
796 * to create symbolic links.
798 #define HAS_SYMLINK /**/
801 * This symbol, if defined, indicates that the syscall routine is
802 * available to call arbitrary system calls. If undefined, that's tough.
804 #define HAS_SYSCALL /**/
807 * This symbol, if defined, indicates that sysconf() is available
808 * to determine system related limits and options.
810 #define HAS_SYSCONF /**/
813 * This symbol, if defined, indicates that the system routine is
814 * available to issue a shell command.
816 #define HAS_SYSTEM /**/
819 * This symbol, if defined, indicates that the tcgetpgrp routine is
820 * available to get foreground process group ID.
822 #define HAS_TCGETPGRP /**/
825 * This symbol, if defined, indicates that the tcsetpgrp routine is
826 * available to set foreground process group ID.
828 #define HAS_TCSETPGRP /**/
831 * This symbol holds the type returned by time(). It can be long,
832 * or time_t on BSD sites (in which case <sys/types.h> should be
835 #define Time_t time_t /* Time type */
838 * This symbol, if defined, indicates that the times() routine exists.
839 * Note that this became obsolete on some systems (SUNOS), which now
840 * use getrusage(). It may be necessary to include <sys/times.h>.
842 #define HAS_TIMES /**/
845 * This symbol, if defined, indicates that the truncate routine is
846 * available to truncate files.
848 /*#define HAS_TRUNCATE /**/
851 * This symbol, if defined, indicates that the tzname[] array is
852 * available to access timezone names.
854 #define HAS_TZNAME /**/
857 * This symbol, if defined, indicates that the umask routine is
858 * available to set and get the value of the file creation mask.
860 #define HAS_UMASK /**/
863 * This symbol, if defined, indicates that vfork() exists.
865 /*#define HAS_VFORK /**/
868 * This symbol's value is either "void" or "int", corresponding to the
869 * appropriate return type of a signal handler. Thus, you can declare
870 * a signal handler using "Signal_t (*handler)()", and define the
871 * handler using "Signal_t handler(sig)".
873 #define Signal_t void /* Signal handler's return type */
876 * This symbol, if defined, indicates that this C compiler knows about
877 * the volatile declaration.
879 /*#define HASVOLATILE /**/
885 * This symbol, if defined, indicates that the vprintf routine is available
886 * to printf with a pointer to an argument list. If unavailable, you
887 * may need to write your own, probably in terms of _doprnt().
889 /* USE_CHAR_VSPRINTF:
890 * This symbol is defined if this system has vsprintf() returning type
891 * (char*). The trend seems to be to declare it as "int vsprintf()". It
892 * is up to the package author to declare vsprintf correctly based on the
895 #define HAS_VPRINTF /**/
896 /*#define USE_CHAR_VSPRINTF /**/
899 * This symbol, if defined, indicates that wait4() exists.
901 /*#define HAS_WAIT4 /**/
904 * This symbol, if defined, indicates that the waitpid routine is
905 * available to wait for child process.
907 #define HAS_WAITPID /**/
910 * This symbol, if defined, indicates that the wcstombs routine is
911 * available to convert wide character strings to multibyte strings.
913 /*#define HAS_WCSTOMBS /**/
916 * This symbol, if defined, indicates that the wctomb routine is available
917 * to covert a wide character to a multibyte.
919 /*#define HAS_WCTOMB /**/
922 * This symbol holds the type used to declare file positions in libc.
923 * It can be fpos_t, long, uint, etc... It may be necessary to include
924 * <sys/types.h> to get any typedef'ed information.
926 #define Fpos_t fpos_t /* File position type */
929 * This symbol holds the return type of getgid() and the type of
930 * argument to setrgid() and related functions. Typically,
931 * it is the type of group ids in the kernel. It can be int, ushort,
932 * uid_t, etc... It may be necessary to include <sys/types.h> to get
933 * any typedef'ed information.
935 #define Gid_t gid_t /* Type for getgid(), etc... */
938 * This symbol holds the type used for the second argument to
939 * getgroups(). Usually, this is the same of gidtype, but
940 * sometimes it isn't. It can be int, ushort, uid_t, etc...
941 * It may be necessary to include <sys/types.h> to get any
942 * typedef'ed information. This is only required if you have
946 #define Groups_t gid_t /* Type for 2nd arg to getgroups() */
950 * This symbol contains the type of the prefix structure element
951 * in the <db.h> header file. In older versions of DB, it was
952 * int, while in newer ones it is u_int32_t.
955 * This symbol contains the type of the prefix structure element
956 * in the <db.h> header file. In older versions of DB, it was
957 * int, while in newer ones it is size_t.
959 #define DB_Hash_t int /**/
960 #define DB_Prefix_t int /**/
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 ndbm.h exists and should
1032 * This symbol, if defined, indicates that <net/errno.h> exists and
1033 * should be included.
1035 #define I_NET_ERRNO /**/
1038 * This symbol, if defined, indicates to the C program that it should
1039 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1041 #define I_NETINET_IN /**/
1044 * This symbol, if defined, indicates to the C program that it should
1048 * This symbol, if defined, indicates to the C program that struct passwd
1049 * contains pw_quota.
1052 * This symbol, if defined, indicates to the C program that struct passwd
1056 * This symbol, if defined, indicates to the C program that struct passwd
1057 * contains pw_change.
1060 * This symbol, if defined, indicates to the C program that struct passwd
1061 * contains pw_class.
1064 * This symbol, if defined, indicates to the C program that struct passwd
1065 * contains pw_expire.
1068 * This symbol, if defined, indicates to the C program that struct passwd
1069 * contains pw_comment.
1072 /*#define PWQUOTA /**/
1074 /*#define PWCHANGE /**/
1075 /*#define PWCLASS /**/
1076 /*#define PWEXPIRE /**/
1077 #define PWCOMMENT /**/
1080 * This symbol, if defined, indicates that <stddef.h> exists and should
1083 #define I_STDDEF /**/
1086 * This symbol, if defined, indicates that <stdlib.h> exists and should
1089 #define I_STDLIB /**/
1092 * This symbol, if defined, indicates to the C program that it should
1093 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1095 #define I_STRING /**/
1098 * This symbol, if defined, indicates to the C program that it should
1099 * include <sys/dir.h>.
1101 #define I_SYS_DIR /**/
1104 * This symbol, if defined, indicates to the C program that it should
1105 * include <sys/file.h> to get definition of R_OK and friends.
1107 /*#define I_SYS_FILE /**/
1110 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1111 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1113 #define I_SYS_IOCTL /**/
1116 * This symbol, if defined, indicates to the C program that it should
1117 * include <sys/ndir.h>.
1119 /*#define I_SYS_NDIR /**/
1122 * This symbol, if defined, indicates to the C program that it should
1123 * include <sys/param.h>.
1125 #define I_SYS_PARAM /**/
1128 * This symbol, if defined, indicates to the C program that it should
1129 * include <sys/select.h> in order to get definition of struct timeval.
1131 /*#define I_SYS_SELECT /**/
1134 * This symbol, if defined, indicates to the C program that it should
1135 * include <sys/times.h>.
1137 #define I_SYS_TIMES /**/
1140 * This symbol, if defined, indicates to the C program that it should
1141 * include <sys/types.h>.
1143 #define I_SYS_TYPES /**/
1146 * This symbol, if defined, indicates that the program should include
1147 * <termio.h> rather than <sgtty.h>. There are also differences in
1148 * the ioctl() calls that depend on the value of this symbol.
1151 * This symbol, if defined, indicates that the program should include
1152 * the POSIX termios.h rather than sgtty.h or termio.h.
1153 * There are also differences in the ioctl() calls that depend on the
1154 * value of this symbol.
1157 * This symbol, if defined, indicates that the program should include
1158 * <sgtty.h> rather than <termio.h>. There are also differences in
1159 * the ioctl() calls that depend on the value of this symbol.
1161 /*#define I_TERMIO /**/
1162 #define I_TERMIOS /**/
1163 /*#define I_SGTTY /**/
1166 * This symbol, if defined, indicates to the C program that it should
1170 * This symbol, if defined, indicates to the C program that it should
1171 * include <sys/time.h>.
1173 /* I_SYS_TIME_KERNEL:
1174 * This symbol, if defined, indicates to the C program that it should
1175 * include <sys/time.h> with KERNEL defined.
1177 /*#define I_TIME /**/
1178 #define I_SYS_TIME /**/
1179 /*#define I_SYS_TIME_KERNEL /**/
1182 * This symbol, if defined, indicates to the C program that it should
1183 * include <unistd.h>.
1185 #define I_UNISTD /**/
1188 * This symbol, if defined, indicates to the C program that it should
1189 * include <utime.h>.
1191 #define I_UTIME /**/
1194 * This symbol, if defined, indicates that <stdarg.h> exists and should
1198 * This symbol, if defined, indicates to the C program that it should
1199 * include <varargs.h>.
1201 /*#define I_STDARG /**/
1202 #define I_VARARGS /**/
1205 * This symbol, if defined, indicates to the C program that it should
1208 /*#define I_VFORK /**/
1211 * This symbol contains the size of an int, so that the C preprocessor
1212 * can make decisions based on it.
1214 #define INTSIZE 4 /**/
1217 * This symbol holds the type used to declare offsets in the kernel.
1218 * It can be int, long, off_t, etc... It may be necessary to include
1219 * <sys/types.h> to get any typedef'ed information.
1221 #define Off_t off_t /* <offset> type */
1224 * This symbol holds the type used to declare file modes
1225 * for systems calls. It is usually mode_t, but may be
1226 * int or unsigned short. It may be necessary to include <sys/types.h>
1227 * to get any typedef'ed information.
1229 #define Mode_t mode_t /* file mode parameter for system calls */
1232 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1233 * in programs that are not prepared to deal with ~ expansion at run-time.
1235 #define PRIVLIB_EXP "/usr/local/lib/perl5" /**/
1238 * If defined, this macro indicates that the C compiler can handle
1239 * function prototypes.
1242 * This macro is used to declare function parameters for folks who want
1243 * to make declarations with prototypes using a different style than
1244 * the above macros. Use double parentheses. For example:
1246 * int main _((int argc, char *argv[]));
1248 /*#define CAN_PROTOTYPE /**/
1249 #ifdef CAN_PROTOTYPE
1250 #define _(args) args
1256 * This symbol contains the number of bits of random number the rand()
1257 * function produces. Usual values are 15, 16, and 31.
1259 #define RANDBITS 15 /**/
1262 * This symbol holds the name of the directory in which the user wants
1263 * to put publicly executable scripts for the package in question. It
1264 * is often a directory that is mounted across diverse architectures.
1265 * Programs must be prepared to deal with ~name expansion.
1267 #define SCRIPTDIR "/usr/local/bin" /**/
1270 * This symbol holds the type used for the 2nd, 3rd, and 4th
1271 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1272 * is defined, and 'int *' otherwise. This is only useful if you
1273 * have select(), of course.
1275 #define Select_fd_set_t fd_set * /**/
1278 * This symbol contains a list of signal names in order. This is intended
1279 * to be used as a static array initialization, like this:
1280 * char *sig_name[] = { SIG_NAME };
1281 * The signals in the list are separated with commas, and each signal
1282 * is surrounded by double quotes. There is no leading SIG in the signal
1283 * name, i.e. SIGQUIT is known as "QUIT".
1285 #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" /**/
1288 * This symbol holds the type used to declare length parameters
1289 * for string functions. It is usually size_t, but may be
1290 * unsigned long, int, etc. It may be necessary to include
1291 * <sys/types.h> to get any typedef'ed information.
1293 #define Size_t size_t /* length paramater for string functions */
1296 * This symbol holds the type used by functions that return
1297 * a count of bytes or an error condition. It must be a signed type.
1298 * It is usually ssize_t, but may be long or int, etc.
1299 * It may be necessary to include <sys/types.h> or <unistd.h>
1300 * to get any typedef'ed information.
1301 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1303 #define SSize_t int /* signed count of bytes */
1306 * This symbol is defined to be the type of char used in stdio.h.
1307 * It has the values "unsigned char" or "char".
1309 #define STDCHAR unsigned char /**/
1312 * This symbol holds the type used to declare user ids in the kernel.
1313 * It can be int, ushort, uid_t, etc... It may be necessary to include
1314 * <sys/types.h> to get any typedef'ed information.
1316 #define Uid_t uid_t /* UID type */
1319 * This symbol indicates how much support of the void type is given by this
1320 * compiler. What various bits mean:
1322 * 1 = supports declaration of void
1323 * 2 = supports arrays of pointers to functions returning void
1324 * 4 = supports comparisons between pointers to void functions and
1325 * addresses of void functions
1326 * 8 = suports declaration of generic void pointers
1328 * The package designer should define VOIDUSED to indicate the requirements
1329 * of the package. This can be done either by #defining VOIDUSED before
1330 * including config.h, or by defining defvoidused in Myinit.U. If the
1331 * latter approach is taken, only those flags will be tested. If the
1332 * level of void support necessary is not present, defines void to int.
1337 #define VOIDFLAGS 15
1338 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1339 #define void int /* is void to be avoided? */
1340 #define M_VOID /* Xenix strikes again */
1344 * This symbol, if defined, indicates that the program is being compiled
1345 * under the EUNICE package under VMS. The program will need to handle
1346 * things like files that don't go away the first time you unlink them,
1347 * due to version numbering. It will also need to compensate for lack
1348 * of a respectable link() command.
1351 * This symbol, if defined, indicates that the program is running under
1352 * VMS. It is currently only set in conjunction with the EUNICE symbol.
1354 /*#define EUNICE /**/
1358 * This symbol holds the complete pathname to the sed program.
1360 #define LOC_SED "/bin/sed" /**/
1363 * This symbol, if defined, indicates that the C-shell exists.
1364 * If defined, contains the full pathname of csh.
1366 #define CSH "/bin/csh" /**/
1368 /* DLSYM_NEEDS_UNDERSCORE:
1369 * This symbol, if defined, indicates that we need to prepend an
1370 * underscore to the symbol name before calling dlsym(). This only
1371 * makes sense if you *have* dlsym, which we will presume is the
1372 * case if you're using dl_dlopen.xs.
1374 /*#define DLSYM_NEEDS_UNDERSCORE /* */
1376 /* USE_DYNAMIC_LOADING:
1377 * This symbol, if defined, indicates that dynamic loading of
1378 * some sort is available.
1380 /*#define USE_DYNAMIC_LOADING /**/
1383 * This symbol, if defined, indicates to the C program that it should
1384 * include <sys/stat.h>.
1386 #define I_SYS_STAT /**/
1389 * This variable contains the return type of free(). It is usually
1390 * void, but occasionally int.
1393 * This symbol is the type of pointer returned by malloc and realloc.
1395 #define Malloc_t char * /**/
1396 #define Free_t void /**/
1399 * This symbol, if defined, indicates that we're using our own malloc.
1401 #define MYMALLOC /**/