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.4 1995/09/25 09:10:49 ram Exp $
17 /* Configuration time: Thu Feb 8 17:15:11 EST 1996
18 * Configured by: doughera
19 * Target system: sunos fractal 5.4 generic_101946-29 i86pc 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 8 /**/
32 * This symbol archtechure name, not used in win32
34 #define ARCHNAME "win32"
37 * This symbol holds the path of the bin directory where the package will
38 * be installed. Program must be prepared to deal with ~name substitution.
41 * This symbol is the filename expanded version of the BIN symbol, for
42 * programs that do not want to deal with that at run-time.
44 #define BIN "/usr/local/bin" /**/
45 #define BIN_EXP "/usr/local/bin" /**/
48 * This macro catenates 2 tokens together.
51 #define CAT2(a,b)a/**/b
52 #define CAT3(a,b,c)a/**/b/**/c
53 #define CAT4(a,b,c,d)a/**/b/**/c/**/d
54 #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
55 #define STRINGIFY(a)"a"
56 /* If you can get stringification with catify, tell me how! */
59 #define CAT2(a,b)a ## b
60 #define CAT3(a,b,c)a ## b ## c
61 #define CAT4(a,b,c,d)a ## b ## c ## d
62 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
64 #define STRINGIFY(a)StGiFy(a)
65 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
66 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
67 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
68 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
71 #include "Bletch: How does this C preprocessor catenate tokens?"
75 * This symbol contains the first part of the string which will invoke
76 * the C preprocessor on the standard input and produce to standard
77 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
78 * call a wrapper. See CPPRUN.
81 * This symbol contains the second part of the string which will invoke
82 * the C preprocessor on the standard input and produce to standard
83 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
84 * to specify standard input, otherwise the value is "".
86 #define CPPSTDIN "cl -E"
90 * This symbol, if defined, indicates that the alarm routine is
93 #define HAS_ALARM /**/
96 * This symbol indicates the C compiler can check for function attributes,
97 * such as printf formats. This is normally only supported by GNU cc.
99 /*#define HASATTRIBUTE /**/
101 #define __attribute__(_arg_)
105 * This symbol is defined if the bcmp() routine is available to
106 * compare blocks of memory.
108 /*#define HAS_BCMP /**/
111 * This symbol is defined if the bcopy() routine is available to
112 * copy blocks of memory.
114 /*#define HAS_BCOPY /**/
117 * This symbol is defined if the bzero() routine is available to
118 * set a memory block to 0.
120 /*#define HAS_BZERO /**/
123 * This symbol is defined if the C compiler can cast negative
124 * or large floating point numbers to 32-bit ints.
129 * This symbol is defined if the C compiler can cast negative
130 * numbers to unsigned longs, ints and shorts.
133 * This symbol contains flags that say what difficulties the compiler
134 * has casting odd floating values to unsigned long:
136 * 1 = couldn't cast < 0
137 * 2 = couldn't cast >= 0x80000000
138 * 4 = couldn't cast in argument expression list
140 #define CASTNEGFLOAT /**/
141 #define CASTFLAGS 0 /**/
144 * This symbol, if defined, indicates that the chown routine is
147 /* #define HAS_CHOWN /**/
150 * This symbol, if defined, indicates that the chroot routine is
153 /* #define HAS_CHROOT /**/
156 * This symbol, if defined, indicates that the chsize routine is available
157 * to truncate files. You might need a -lx to get this routine.
159 #define HAS_CHSIZE /**/
162 * This symbol, if defined, indicates that the closedir() routine
163 * does not return a value.
165 /*#define VOID_CLOSEDIR /**/
168 * This symbol, if defined, indicates that this C compiler knows about
169 * the const type. There is no need to actually test for that symbol
170 * within your programs. The mere use of the "const" keyword will
171 * trigger the necessary tests.
173 #define HASCONST /**/
179 * This symbol, if defined, indicates that the crypt routine is available
180 * to encrypt passwords and the like.
182 /* #define HAS_CRYPT /**/
185 * This symbol, if defined, indicates that the cuserid routine is
186 * available to get character login names.
188 /* #define HAS_CUSERID /**/
191 * This symbol, if defined, indicates that this system's <float.h>
192 * or <limits.h> defines the symbol DBL_DIG, which is the number
193 * of significant digits in a double precision number. If this
194 * symbol is not defined, a guess of 15 is usually pretty good.
196 #define HAS_DBL_DIG /* */
199 * This symbol, if defined, indicates that the difftime routine is
202 #define HAS_DIFFTIME /**/
205 * This symbol, if defined, indicates that the dlerror routine is
206 * available to return a string describing the last error that
207 * occurred from a call to dlopen(), dlclose() or dlsym().
209 #define HAS_DLERROR /**/
212 * This symbol, if defined, indicates that the dup2 routine is
213 * available to duplicate file descriptors.
215 #define HAS_DUP2 /**/
218 * This symbol, if defined, indicates that the fchmod routine is available
219 * to change mode of opened files. If unavailable, use chmod().
221 /*#define HAS_FCHMOD /**/
224 * This symbol, if defined, indicates that the fchown routine is available
225 * to change ownership of opened files. If unavailable, use chown().
227 /*#define HAS_FCHOWN /**/
230 * This symbol, if defined, indicates to the C program that
231 * the fcntl() function exists.
233 /*#define HAS_FCNTL /**/
236 * This symbol, if defined, indicates that the fgetpos routine is
237 * available to get the file position indicator, similar to ftell().
239 #define HAS_FGETPOS /**/
242 * This symbol, if defined, indicates that the system supports filenames
243 * longer than 14 characters.
245 #define FLEXFILENAMES /**/
248 * This symbol, if defined, indicates that the flock routine is
249 * available to do file locking.
251 /*#define HAS_FLOCK /**/
254 * This symbol, if defined, indicates that the fork routine is
257 /*#define HAS_FORK /**/
260 * This symbol, if defined, indicates that the fsetpos routine is
261 * available to set the file position indicator, similar to fseek().
263 #define HAS_FSETPOS /**/
266 * This symbol, if defined, indicates that the getgroups() routine is
267 * available to get the list of process groups. If unavailable, multiple
268 * groups are probably not supported.
270 /*#define HAS_GETGROUPS /**/
273 * This symbol, if defined, indicates that the gethostent routine is
274 * available to lookup host names in some data base or other.
276 /*#define HAS_GETHOSTENT /**/
279 * This symbol, if defined, indicates that the C program may use the
280 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
283 /*#define HAS_UNAME /**/
286 * This symbol, if defined, indicates that the getlogin routine is
287 * available to get the login name.
289 /*#define HAS_GETLOGIN /**/
292 * This symbol, if defined, indicates that the getpgrp routine is
293 * available to get the current process group.
295 /*#define HAS_GETPGRP /**/
298 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
299 * routine is available to get the current process group.
301 /*#define HAS_GETPGRP2 /**/
304 * This symbol, if defined, indicates that the getppid routine is
305 * available to get the parent process ID.
307 /*#define HAS_GETPPID /**/
310 * This symbol, if defined, indicates that the getpriority routine is
311 * available to get a process's priority.
313 /*#define HAS_GETPRIORITY /**/
316 * This symbol, if defined, indicates that the htonl() routine (and
317 * friends htons() ntohl() ntohs()) are available to do network
318 * order byte swapping.
321 * This symbol, if defined, indicates that the htons() routine (and
322 * friends htonl() ntohl() ntohs()) are available to do network
323 * order byte swapping.
326 * This symbol, if defined, indicates that the ntohl() routine (and
327 * friends htonl() htons() ntohs()) are available to do network
328 * order byte swapping.
331 * This symbol, if defined, indicates that the ntohs() routine (and
332 * friends htonl() htons() ntohl()) are available to do network
333 * order byte swapping.
335 #define HAS_HTONL /**/
336 #define HAS_HTONS /**/
337 #define HAS_NTOHL /**/
338 #define HAS_NTOHS /**/
341 * This manifest constant lets the C program know that isascii
344 #define HAS_ISASCII /**/
347 * This symbol, if defined, indicates that the killpg routine is available
348 * to kill process groups. If unavailable, you probably should use kill
349 * with a negative process number.
351 /*#define HAS_KILLPG /**/
354 * This symbol, if defined, indicates that the link routine is
355 * available to create hard links.
357 /*#define HAS_LINK /**/
360 * This symbol, if defined, indicates that the localeconv routine is
361 * available for numeric and monetary formatting conventions.
363 #define HAS_LOCALECONV /**/
366 * This symbol, if defined, indicates that the lockf routine is
367 * available to do file locking.
369 /*#define HAS_LOCKF /**/
372 * This symbol, if defined, indicates that the lstat routine is
373 * available to do file stats on symbolic links.
375 /*#define HAS_LSTAT /**/
378 * This symbol, if defined, indicates that the mblen routine is available
379 * to find the number of bytes in a multibye character.
381 #define HAS_MBLEN /**/
384 * This symbol, if defined, indicates that the mbstowcs routine is
385 * available to covert a multibyte string into a wide character string.
387 #define HAS_MBSTOWCS /**/
390 * This symbol, if defined, indicates that the mbtowc routine is available
391 * to covert a multibyte to a wide character.
393 #define HAS_MBTOWC /**/
396 * This symbol, if defined, indicates that the memcmp routine is available
397 * to compare blocks of memory.
399 #define HAS_MEMCMP /**/
402 * This symbol, if defined, indicates that the memcpy routine is available
403 * to copy blocks of memory.
405 #define HAS_MEMCPY /**/
408 * This symbol, if defined, indicates that the memmove routine is available
409 * to copy potentially overlapping blocks of memory. This should be used
410 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
413 #define HAS_MEMMOVE /**/
416 * This symbol, if defined, indicates that the memset routine is available
417 * to set blocks of memory.
419 #define HAS_MEMSET /**/
422 * This symbol, if defined, indicates that the mkdir routine is available
423 * to create directories. Otherwise you should fork off a new process to
426 #define HAS_MKDIR /**/
429 * This symbol, if defined, indicates that the mkfifo routine is
430 * available to create FIFOs. Otherwise, mknod should be able to
431 * do it for you. However, if mkfifo is there, mknod might require
432 * super-user privileges which mkfifo will not.
434 /*#define HAS_MKFIFO /**/
437 * This symbol, if defined, indicates that the mktime routine is
440 #define HAS_MKTIME /**/
443 * This symbol, if defined, indicates that the entire msg*(2) library is
444 * supported (IPC mechanism based on message queues).
446 /*#define HAS_MSG /**/
449 * This symbol, if defined, indicates that the nice routine is
452 /*#define HAS_NICE /**/
455 * This manifest constant lets the C program know that the three
456 * argument form of open(2) is available.
458 /*#define HAS_OPEN3 /**/
461 * This symbol, if defined, indicates that pathconf() is available
462 * to determine file-system related limits and options associated
463 * with a given filename.
466 * This symbol, if defined, indicates that pathconf() is available
467 * to determine file-system related limits and options associated
468 * with a given open file descriptor.
470 /* #define HAS_PATHCONF /**/
471 /* #define HAS_FPATHCONF /**/
474 * This symbol, if defined, indicates that the pause routine is
475 * available to suspend a process until a signal is received.
477 #define HAS_PAUSE /**/
480 * This symbol, if defined, indicates that the pipe routine is
481 * available to create an inter-process channel.
483 #define HAS_PIPE /**/
486 * This symbol, if defined, indicates that the poll routine is
487 * available to poll active file descriptors.
489 /* #define HAS_POLL /**/
492 * This symbol, if defined, indicates that the readdir routine is
493 * available to read directory entries. You may have to include
494 * <dirent.h>. See I_DIRENT.
496 #define HAS_READDIR /**/
499 * This symbol, if defined, indicates that the seekdir routine is
500 * available. You may have to include <dirent.h>. See I_DIRENT.
502 #define HAS_SEEKDIR /**/
505 * This symbol, if defined, indicates that the telldir routine is
506 * available. You may have to include <dirent.h>. See I_DIRENT.
508 #define HAS_TELLDIR /**/
511 * This symbol, if defined, indicates that the rewinddir routine is
512 * available. You may have to include <dirent.h>. See I_DIRENT.
514 #define HAS_REWINDDIR /**/
517 * This symbol, if defined, indicates that the readlink routine is
518 * available to read the value of a symbolic link.
520 /* #define HAS_READLINK /**/
523 * This symbol, if defined, indicates that the rename routine is available
524 * to rename files. Otherwise you should do the unlink(), link(), unlink()
527 #define HAS_RENAME /**/
530 * This symbol, if defined, indicates that the rmdir routine is
531 * available to remove directories. Otherwise you should fork off a
532 * new process to exec /bin/rmdir.
534 #define HAS_RMDIR /**/
537 * This symbol, if defined, indicates that the bcopy routine is available
538 * to copy potentially overlapping memory blocks. Otherwise you should
539 * probably use memmove() or memcpy(). If neither is defined, roll your
542 /*#define HAS_SAFE_BCOPY /**/
545 * This symbol, if defined, indicates that the memcpy routine is available
546 * to copy potentially overlapping memory blocks. Otherwise you should
547 * probably use memmove() or memcpy(). If neither is defined, roll your
550 /*#define HAS_SAFE_MEMCPY /**/
553 * This symbol, if defined, indicates that the select routine is
554 * available to select active file descriptors. If the timeout field
555 * is used, <sys/time.h> may need to be included.
557 #define HAS_SELECT /**/
560 * This symbol, if defined, indicates that the entire sem*(2) library is
563 /* #define HAS_SEM /**/
566 * This symbol, if defined, indicates that the setegid routine is available
567 * to change the effective gid of the current program.
569 /* #define HAS_SETEGID /**/
572 * This symbol, if defined, indicates that the seteuid routine is available
573 * to change the effective uid of the current program.
575 /* #define HAS_SETEUID /**/
578 * This symbol, if defined, indicates that the setlinebuf routine is
579 * available to change stderr or stdout from block-buffered or unbuffered
580 * to a line-buffered mode.
582 /*#define HAS_SETLINEBUF /**/
585 * This symbol, if defined, indicates that the setlocale routine is
586 * available to handle locale-specific ctype implementations.
588 #define HAS_SETLOCALE /**/
591 * This symbol, if defined, indicates that the setpgid routine is
592 * available to set process group ID.
594 /* #define HAS_SETPGID /**/
597 * This symbol, if defined, indicates that the setpgrp routine is
598 * available to set the current process group.
601 * This symbol, if defined, indicates that the BSD notion of process
602 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
603 * instead of the USG setpgrp().
605 /* #define HAS_SETPGRP /**/
606 /*#define USE_BSDPGRP /**/
609 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
610 * routine is available to set the current process group.
612 /*#define HAS_SETPGRP2 /**/
615 * This symbol, if defined, indicates that the setpriority routine is
616 * available to set a process's priority.
618 /*#define HAS_SETPRIORITY /**/
621 * This symbol, if defined, indicates that the setregid routine is
622 * available to change the real and effective gid of the current
626 * This symbol, if defined, indicates that the setresgid routine is
627 * available to change the real, effective and saved gid of the current
630 /*#define HAS_SETREGID /**/
631 /*#define HAS_SETRESGID /**/
634 * This symbol, if defined, indicates that the setreuid routine is
635 * available to change the real and effective uid of the current
639 * This symbol, if defined, indicates that the setresuid routine is
640 * available to change the real, effective and saved uid of the current
643 /*#define HAS_SETREUID /**/
644 /*#define HAS_SETRESUID /**/
647 * This symbol, if defined, indicates that the setrgid routine is available
648 * to change the real gid of the current program.
650 /*#define HAS_SETRGID /**/
653 * This symbol, if defined, indicates that the setruid routine is available
654 * to change the real uid of the current program.
656 /*#define HAS_SETRUID /**/
659 * This symbol, if defined, indicates that the setsid routine is
660 * available to set the process group ID.
662 /* #define HAS_SETSID /**/
665 * This symbol, if defined, indicates that the entire shm*(2) library is
668 /* #define HAS_SHM /**/
671 * This symbol holds the return type of the shmat() system call.
672 * Usually set to 'void *' or 'char *'.
674 /* HAS_SHMAT_PROTOTYPE:
675 * This symbol, if defined, indicates that the sys/shm.h includes
676 * a prototype for shmat(). Otherwise, it is up to the program to
677 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
678 * but not always right so it should be emitted by the program only
679 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
681 /* #define Shmat_t void * /**/
682 /* #define HAS_SHMAT_PROTOTYPE /**/
685 * This symbol, if defined, indicates that Vr4's sigaction() routine
688 /* #define HAS_SIGACTION /**/
691 * This symbol, if defined, indicates that the BSD socket interface is
695 * This symbol, if defined, indicates that the BSD socketpair() call is
698 #define HAS_SOCKET /**/
699 /* #define HAS_SOCKETPAIR /**/
702 * This symbol is defined if this system has a stat structure declaring
703 * st_blksize and st_blocks.
705 /* #define USE_STAT_BLOCKS /**/
708 * This symbol is defined if the _ptr and _cnt fields (or similar)
709 * of the stdio FILE structure can be used to access the stdio buffer
710 * for a file handle. If this is defined, then the FILE_ptr(fp)
711 * and FILE_cnt(fp) macros will also be defined and should be used
712 * to access these fields.
715 * This symbol is defined if the _base field (or similar) of the
716 * stdio FILE structure can be used to access the stdio buffer for
717 * a file handle. If this is defined, then the FILE_base(fp) macro
718 * will also be defined and should be used to access this field.
719 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
720 * to determine the number of bytes in the buffer. USE_STDIO_BASE
721 * will never be defined unless USE_STDIO_PTR is.
723 #define USE_STDIO_PTR /**/
724 #define USE_STDIO_BASE /**/
727 * This macro is used to access the _ptr field (or equivalent) of the
728 * FILE structure pointed to by its argument. This macro will always be
729 * defined if USE_STDIO_PTR is defined.
732 * This symbol is defined if the FILE_ptr macro can be used as an
736 * This macro is used to access the _cnt field (or equivalent) of the
737 * FILE structure pointed to by its argument. This macro will always be
738 * defined if USE_STDIO_PTR is defined.
741 * This symbol is defined if the FILE_cnt macro can be used as an
745 #define FILE_ptr(fp) ((fp)->_ptr)
746 #define STDIO_PTR_LVALUE /**/
747 #define FILE_cnt(fp) ((fp)->_cnt)
748 #define STDIO_CNT_LVALUE /**/
752 * This macro is used to access the _base field (or equivalent) of the
753 * FILE structure pointed to by its argument. This macro will always be
754 * defined if USE_STDIO_BASE is defined.
757 * This macro is used to determine the number of bytes in the I/O
758 * buffer pointed to by _base field (or equivalent) of the FILE
759 * structure pointed to its argument. This macro will always be defined
760 * if USE_STDIO_BASE is defined.
762 #ifdef USE_STDIO_BASE
763 #define FILE_base(fp) ((fp)->_base)
764 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
768 * This symbol is defined to indicate that the strchr()/strrchr()
769 * functions are available for string searching. If not, try the
770 * index()/rindex() pair.
773 * This symbol is defined to indicate that the index()/rindex()
774 * functions are available for string searching.
776 #define HAS_STRCHR /**/
777 /*#define HAS_INDEX /**/
780 * This symbol, if defined, indicates that the strcoll routine is
781 * available to compare strings using collating information.
783 #define HAS_STRCOLL /**/
786 * This symbol, if defined, indicates that this C compiler knows how
787 * to copy structures. If undefined, you'll need to use a block copy
788 * routine of some sort instead.
790 #define USE_STRUCT_COPY /**/
793 * This symbol, if defined, indicates that the strerror routine is
794 * available to translate error numbers to strings. See the writeup
795 * of Strerror() in this file before you try to define your own.
798 * This symbol, if defined, indicates that the sys_errlist array is
799 * available to translate error numbers to strings. The extern int
800 * sys_nerr gives the size of that table.
803 * This preprocessor symbol is defined as a macro if strerror() is
804 * not available to translate error numbers to strings but sys_errlist[]
807 #define HAS_STRERROR /**/
808 #define HAS_SYS_ERRLIST /**/
809 #define Strerror(e) strerror(e)
812 * This symbol, if defined, indicates that the strxfrm() routine is
813 * available to transform strings.
815 #define HAS_STRXFRM /**/
818 * This symbol, if defined, indicates that the symlink routine is available
819 * to create symbolic links.
821 /* #define HAS_SYMLINK /**/
824 * This symbol, if defined, indicates that the syscall routine is
825 * available to call arbitrary system calls. If undefined, that's tough.
827 /* #define HAS_SYSCALL /**/
830 * This symbol, if defined, indicates that sysconf() is available
831 * to determine system related limits and options.
833 /* #define HAS_SYSCONF /**/
836 * This symbol, if defined, indicates that the system routine is
837 * available to issue a shell command.
839 #define HAS_SYSTEM /**/
842 * This symbol, if defined, indicates that the tcgetpgrp routine is
843 * available to get foreground process group ID.
845 /* #define HAS_TCGETPGRP /**/
848 * This symbol, if defined, indicates that the tcsetpgrp routine is
849 * available to set foreground process group ID.
851 /* #define HAS_TCSETPGRP /**/
854 * This symbol holds the type returned by time(). It can be long,
855 * or time_t on BSD sites (in which case <sys/types.h> should be
858 #define Time_t time_t /* Time type */
861 * This symbol, if defined, indicates that the times() routine exists.
862 * Note that this became obsolete on some systems (SUNOS), which now
863 * use getrusage(). It may be necessary to include <sys/times.h>.
865 #define HAS_TIMES /**/
868 * This symbol, if defined, indicates that the truncate routine is
869 * available to truncate files.
871 /* #define HAS_TRUNCATE /**/
874 * This symbol, if defined, indicates that the tzname[] array is
875 * available to access timezone names.
877 #define HAS_TZNAME /**/
880 * This symbol, if defined, indicates that the umask routine is
881 * available to set and get the value of the file creation mask.
883 #define HAS_UMASK /**/
886 * This symbol, if defined, indicates that vfork() exists.
888 /*#define HAS_VFORK /**/
891 * This symbol's value is either "void" or "int", corresponding to the
892 * appropriate return type of a signal handler. Thus, you can declare
893 * a signal handler using "Signal_t (*handler)()", and define the
894 * handler using "Signal_t handler(sig)".
896 #define Signal_t void /* Signal handler's return type */
899 * This symbol, if defined, indicates that this C compiler knows about
900 * the volatile declaration.
902 #define HASVOLATILE /**/
908 * This symbol, if defined, indicates that the vprintf routine is available
909 * to printf with a pointer to an argument list. If unavailable, you
910 * may need to write your own, probably in terms of _doprnt().
912 /* USE_CHAR_VSPRINTF:
913 * This symbol is defined if this system has vsprintf() returning type
914 * (char*). The trend seems to be to declare it as "int vsprintf()". It
915 * is up to the package author to declare vsprintf correctly based on the
918 #define HAS_VPRINTF /**/
919 /*#define USE_CHAR_VSPRINTF /**/
922 * This symbol, if defined, indicates that wait4() exists.
924 /*#define HAS_WAIT4 /**/
927 * This symbol, if defined, indicates that the waitpid routine is
928 * available to wait for child process.
930 /* #define HAS_WAITPID /**/
933 * This symbol, if defined, indicates that the wcstombs routine is
934 * available to convert wide character strings to multibyte strings.
936 #define HAS_WCSTOMBS /**/
939 * This symbol, if defined, indicates that the wctomb routine is available
940 * to covert a wide character to a multibyte.
942 #define HAS_WCTOMB /**/
945 * This symbol holds the type used to declare file positions in libc.
946 * It can be fpos_t, long, uint, etc... It may be necessary to include
947 * <sys/types.h> to get any typedef'ed information.
949 #define Fpos_t fpos_t /* File position type */
952 * This symbol holds the return type of getgid() and the type of
953 * argument to setrgid() and related functions. Typically,
954 * it is the type of group ids in the kernel. It can be int, ushort,
955 * uid_t, etc... It may be necessary to include <sys/types.h> to get
956 * any typedef'ed information.
958 #define Gid_t gid_t /* Type for getgid(), etc... */
961 * This symbol holds the type used for the second argument to
962 * getgroups(). Usually, this is the same of gidtype, but
963 * sometimes it isn't. It can be int, ushort, uid_t, etc...
964 * It may be necessary to include <sys/types.h> to get any
965 * typedef'ed information. This is only required if you have
969 #define Groups_t gid_t /* Type for 2nd arg to getgroups() */
973 * This symbol contains the type of the prefix structure element
974 * in the <db.h> header file. In older versions of DB, it was
975 * int, while in newer ones it is u_int32_t.
978 * This symbol contains the type of the prefix structure element
979 * in the <db.h> header file. In older versions of DB, it was
980 * int, while in newer ones it is size_t.
982 #define DB_Hash_t int /**/
983 #define DB_Prefix_t int /**/
986 * This symbol, if defined, indicates to the C program that it should
987 * include <dirent.h>. Using this symbol also triggers the definition
988 * of the Direntry_t define which ends up being 'struct dirent' or
989 * 'struct direct' depending on the availability of <dirent.h>.
992 * This symbol, if defined, indicates to the C program that the length
993 * of directory entry names is provided by a d_namlen field. Otherwise
994 * you need to do strlen() on the d_name field.
997 * This symbol is set to 'struct direct' or 'struct dirent' depending on
998 * whether dirent is available or not. You should use this pseudo type to
999 * portably declare your directory entries.
1001 #define I_DIRENT /**/
1002 #define DIRNAMLEN /**/
1003 #define Direntry_t struct direct
1006 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1009 #define I_DLFCN /**/
1012 * This manifest constant tells the C program to include <fcntl.h>.
1014 #define I_FCNTL /**/
1017 * This symbol, if defined, indicates to the C program that it should
1018 * include <float.h> to get definition of symbols like DBL_MAX or
1019 * DBL_MIN, i.e. machine dependent floating point values.
1021 #define I_FLOAT /**/
1024 * This symbol, if defined, indicates to the C program that it should
1030 * This symbol, if defined, indicates to the C program that it should
1031 * include <limits.h> to get definition of symbols like WORD_BIT or
1032 * LONG_MAX, i.e. machine dependant limitations.
1034 #define I_LIMITS /**/
1037 * This symbol, if defined, indicates to the C program that it should
1043 * This symbol, if defined, indicates to the C program that it should
1044 * include <memory.h>.
1046 /*#define I_MEMORY /**/
1049 * This symbol, if defined, indicates that <ndbm.h> exists and should
1055 * This symbol, if defined, indicates that <net/errno.h> exists and
1056 * should be included.
1058 /*#define I_NET_ERRNO /**/
1061 * This symbol, if defined, indicates to the C program that it should
1062 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1064 /*#define I_NETINET_IN /**/
1067 * This symbol, if defined, indicates to the C program that it should
1071 * This symbol, if defined, indicates to the C program that struct passwd
1072 * contains pw_quota.
1075 * This symbol, if defined, indicates to the C program that struct passwd
1079 * This symbol, if defined, indicates to the C program that struct passwd
1080 * contains pw_change.
1083 * This symbol, if defined, indicates to the C program that struct passwd
1084 * contains pw_class.
1087 * This symbol, if defined, indicates to the C program that struct passwd
1088 * contains pw_expire.
1091 * This symbol, if defined, indicates to the C program that struct passwd
1092 * contains pw_comment.
1094 /*#define I_PWD /**/
1095 /*#define PWQUOTA /**/
1096 /*#define PWAGE /**/
1097 /*#define PWCHANGE /**/
1098 /*#define PWCLASS /**/
1099 /*#define PWEXPIRE /**/
1100 /*#define PWCOMMENT /**/
1103 * This symbol, if defined, indicates that <stddef.h> exists and should
1106 #define I_STDDEF /**/
1109 * This symbol, if defined, indicates that <stdlib.h> exists and should
1112 #define I_STDLIB /**/
1115 * This symbol, if defined, indicates to the C program that it should
1116 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1118 #define I_STRING /**/
1121 * This symbol, if defined, indicates to the C program that it should
1122 * include <sys/dir.h>.
1124 /*#define I_SYS_DIR /**/
1127 * This symbol, if defined, indicates to the C program that it should
1128 * include <sys/file.h> to get definition of R_OK and friends.
1130 /*#define I_SYS_FILE /**/
1133 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1134 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1136 /*#define I_SYS_IOCTL /**/
1139 * This symbol, if defined, indicates to the C program that it should
1140 * include <sys/ndir.h>.
1142 /*#define I_SYS_NDIR /**/
1145 * This symbol, if defined, indicates to the C program that it should
1146 * include <sys/param.h>.
1148 /*#define I_SYS_PARAM /**/
1151 * This symbol, if defined, indicates to the C program that it should
1152 * include <sys/select.h> in order to get definition of struct timeval.
1154 /* #define I_SYS_SELECT /**/
1157 * This symbol, if defined, indicates to the C program that it should
1158 * include <sys/times.h>.
1160 /*#define I_SYS_TIMES /**/
1163 * This symbol, if defined, indicates to the C program that it should
1164 * include <sys/types.h>.
1166 #define I_SYS_TYPES /**/
1169 * This symbol, if defined, indicates to the C program that it should
1170 * include <sys/un.h> to get UNIX domain socket definitions.
1172 /*#define I_SYS_UN /**/
1175 * This symbol, if defined, indicates that the program should include
1176 * <termio.h> rather than <sgtty.h>. There are also differences in
1177 * the ioctl() calls that depend on the value of this symbol.
1180 * This symbol, if defined, indicates that the program should include
1181 * the POSIX termios.h rather than sgtty.h or termio.h.
1182 * There are also differences in the ioctl() calls that depend on the
1183 * value of this symbol.
1186 * This symbol, if defined, indicates that the program should include
1187 * <sgtty.h> rather than <termio.h>. There are also differences in
1188 * the ioctl() calls that depend on the value of this symbol.
1190 /*#define I_TERMIO /**/
1191 /*#define I_TERMIOS /**/
1192 /*#define I_SGTTY /**/
1195 * This symbol, if defined, indicates to the C program that it should
1199 * This symbol, if defined, indicates to the C program that it should
1200 * include <sys/time.h>.
1202 /* I_SYS_TIME_KERNEL:
1203 * This symbol, if defined, indicates to the C program that it should
1204 * include <sys/time.h> with KERNEL defined.
1207 /*#define I_SYS_TIME /**/
1208 /*#define I_SYS_TIME_KERNEL /**/
1211 * This symbol, if defined, indicates to the C program that it should
1212 * include <unistd.h>.
1214 /*#define I_UNISTD /**/
1217 * This symbol, if defined, indicates to the C program that it should
1218 * include <utime.h>.
1220 /*#define I_UTIME /**/
1223 * This symbol, if defined, indicates to the C program that it should
1226 /*#define I_VFORK /**/
1229 * This symbol holds the type used to declare offsets in the kernel.
1230 * It can be int, long, off_t, etc... It may be necessary to include
1231 * <sys/types.h> to get any typedef'ed information.
1233 #define Off_t off_t /* <offset> type */
1236 * This symbol holds the type used to declare file modes
1237 * for systems calls. It is usually mode_t, but may be
1238 * int or unsigned short. It may be necessary to include <sys/types.h>
1239 * to get any typedef'ed information.
1241 #define Mode_t mode_t /* file mode parameter for system calls */
1244 * If defined, this macro indicates that the C compiler can handle
1245 * function prototypes.
1248 * This macro is used to declare function parameters for folks who want
1249 * to make declarations with prototypes using a different style than
1250 * the above macros. Use double parentheses. For example:
1252 * int main _((int argc, char *argv[]));
1254 #define CAN_PROTOTYPE /**/
1255 #ifdef CAN_PROTOTYPE
1256 #define _(args) args
1262 * This symbol contains the number of bits of random number the rand()
1263 * function produces. Usual values are 15, 16, and 31.
1265 #define RANDBITS 15 /**/
1268 * This symbol holds the type used for the 2nd, 3rd, and 4th
1269 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1270 * is defined, and 'int *' otherwise. This is only useful if you
1271 * have select(), of course.
1273 //#define Select_fd_set_t fd_set * /**/
1274 #define Select_fd_set_t int * /**/
1277 * This symbol holds the type used to declare length parameters
1278 * for string functions. It is usually size_t, but may be
1279 * unsigned long, int, etc. It may be necessary to include
1280 * <sys/types.h> to get any typedef'ed information.
1282 #define Size_t size_t /* length paramater for string functions */
1285 * This symbol holds the type used by functions that return
1286 * a count of bytes or an error condition. It must be a signed type.
1287 * It is usually ssize_t, but may be long or int, etc.
1288 * It may be necessary to include <sys/types.h> or <unistd.h>
1289 * to get any typedef'ed information.
1290 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1292 #define SSize_t int /* signed count of bytes */
1295 * This symbol is defined to be the type of char used in stdio.h.
1296 * It has the values "unsigned char" or "char".
1298 #define STDCHAR unsigned char /**/
1301 * This symbol holds the type used to declare user ids in the kernel.
1302 * It can be int, ushort, uid_t, etc... It may be necessary to include
1303 * <sys/types.h> to get any typedef'ed information.
1305 #define Uid_t uid_t /* UID type */
1308 * This symbol, if defined, indicates that the program is running under
1309 * VMS. It is currently only set in conjunction with the EUNICE symbol.
1314 * This symbol holds the complete pathname to the sed program.
1316 #define LOC_SED "/bin/sed" /**/
1319 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1320 * in programs that are not prepared to deal with ~ expansion at run-time.
1322 #define ARCHLIB_EXP "/usr/local/lib/perl5/i86pc-solaris/5.002" /**/
1325 * This symbol defined the name of the OS. in our case WIN32
1326 * (we don't distinguish between NT or 95)
1328 #define OSNAME "MSWin32"
1331 * This symbol hold the hexadecimal constant defined in byteorder,
1332 * i.e. 0x1234 or 0x4321, etc...
1334 #define BYTEORDER 0x1234 /* large digits for MSB */
1337 * This symbol, if defined, indicates that the C-shell exists.
1338 * If defined, contains the full pathname of csh.
1340 #define CSH "/bin/csh" /**/
1342 /* DLSYM_NEEDS_UNDERSCORE:
1343 * This symbol, if defined, indicates that we need to prepend an
1344 * underscore to the symbol name before calling dlsym(). This only
1345 * makes sense if you *have* dlsym, which we will presume is the
1346 * case if you're using dl_dlopen.xs.
1348 /*#define DLSYM_NEEDS_UNDERSCORE /* */
1350 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1351 * This symbol, if defined, indicates that the bug that prevents
1352 * setuid scripts from being secure is not present in this kernel.
1355 * This symbol, if defined, indicates that the C program should
1356 * check the script that it is executing for setuid/setgid bits, and
1357 * attempt to emulate setuid/setgid on systems that have disabled
1358 * setuid #! scripts because the kernel can't do it securely.
1359 * It is up to the package designer to make sure that this emulation
1360 * is done securely. Among other things, it should do an fstat on
1361 * the script it just opened to make sure it really is a setuid/setgid
1362 * script, it should make sure the arguments passed correspond exactly
1363 * to the argument on the #! line, and it should not trust any
1364 * subprocesses to which it must pass the filename rather than the
1365 * file descriptor of the script to be executed.
1367 #define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1368 /*#define DOSUID /**/
1371 * This preprocessor macro is defined to convert a floating point
1372 * number to a string without a trailing decimal point. This
1373 * emulates the behavior of sprintf("%g"), but is sometimes much more
1374 * efficient. If gconvert() is not available, but gcvt() drops the
1375 * trailing decimal point, then gcvt() is used. If all else fails,
1376 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1377 * macro are: value, number of digits, whether trailing zeros should
1378 * be retained, and the output buffer.
1379 * Possible values are:
1380 * d_Gconvert='gconvert((x),(n),(t),(b))'
1381 * d_Gconvert='gcvt((x),(n),(b))'
1382 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1383 * The last two assume trailing zeros should not be kept.
1386 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1389 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1392 * This macro is used in the same way as sigsetjmp(), but will invoke
1393 * traditional setjmp() if sigsetjmp isn't available.
1396 * This macro is used in the same way as siglongjmp(), but will invoke
1397 * traditional longjmp() if siglongjmp isn't available.
1399 /* #define HAS_SIGSETJMP /**/
1401 #ifdef HAS_SIGSETJMP
1402 #define Sigjmp_buf sigjmp_buf
1403 #define Sigsetjmp(buf,save_mask) sigsetjmp(buf,save_mask)
1404 #define Siglongjmp(buf,retval) siglongjmp(buf,retval)
1406 #define Sigjmp_buf jmp_buf
1407 #define Sigsetjmp(buf,save_mask) setjmp(buf)
1408 #define Siglongjmp(buf,retval) longjmp(buf,retval)
1411 /* USE_DYNAMIC_LOADING:
1412 * This symbol, if defined, indicates that dynamic loading of
1413 * some sort is available.
1415 #define USE_DYNAMIC_LOADING /**/
1418 * This symbol, if defined, indicates that <dbm.h> exists and should
1422 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1423 * should be included.
1425 /*#define I_DBM /**/
1426 #define I_RPCSVC_DBM /**/
1429 * This symbol, if defined, indicates to the C program that it should
1430 * include <locale.h>.
1432 #define I_LOCALE /**/
1435 * This symbol, if defined, indicates to the C program that it should
1436 * include <sys/stat.h>.
1438 #define I_SYS_STAT /**/
1441 * This symbol, if defined, indicates that <stdarg.h> exists and should
1445 * This symbol, if defined, indicates to the C program that it should
1446 * include <varargs.h>.
1448 #define I_STDARG /**/
1449 /*#define I_VARARGS /**/
1452 * This symbol contains the size of an int, so that the C preprocessor
1453 * can make decisions based on it.
1455 #define INTSIZE 4 /**/
1458 * This variable contains the return type of free(). It is usually
1459 * void, but occasionally int.
1462 * This symbol is the type of pointer returned by malloc and realloc.
1464 #define Malloc_t void * /**/
1465 #define Free_t void /**/
1468 * This symbol, if defined, indicates that we're using our own malloc.
1470 /*#define MYMALLOC /**/
1473 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1474 * non-blocking I/O for the file descriptor. Note that there is no way
1475 * back, i.e. you cannot turn it blocking again this way. If you wish to
1476 * alternatively switch between blocking and non-blocking, use the
1477 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1480 * This symbol holds the errno error code set by read() when no data was
1481 * present on the non-blocking file descriptor.
1484 * This symbol holds the return code from read() when no data is present
1485 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1486 * not defined, then you can't distinguish between no data and EOF by
1487 * issuing a read(). You'll have to find another way to tell for sure!
1490 * This symbol, if defined, indicates to the C program that a read() on
1491 * a non-blocking file descriptor will return 0 on EOF, and not the value
1492 * held in RD_NODATA (-1 usually, in that case!).
1494 #define VAL_O_NONBLOCK O_NONBLOCK
1495 #define VAL_EAGAIN EAGAIN
1496 #define RD_NODATA -1
1497 #define EOF_NONBLOCK
1500 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1501 * used in programs that are not prepared to deal with ~ expansion at
1504 /*#define OLDARCHLIB_EXP "" /**/
1507 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1508 * in programs that are not prepared to deal with ~ expansion at run-time.
1510 #define PRIVLIB_EXP (win32PerlLibPath()) /**/
1513 * This symbol contains the full pathname to the shell used on this
1514 * on this system to execute Bourne shell scripts. Usually, this will be
1515 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1516 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as D:/bin/sh.
1518 #define SH_PATH "/bin/sh" /**/
1521 * This symbol contains a list of signal names in order of
1522 * signal number. This is intended
1523 * to be used as a static array initialization, like this:
1524 * char *sig_name[] = { SIG_NAME };
1525 * The signals in the list are separated with commas, and each signal
1526 * is surrounded by double quotes. There is no leading SIG in the signal
1527 * name, i.e. SIGQUIT is known as "QUIT".
1528 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1529 * etc., where nn is the actual signal number (e.g. NUM37).
1530 * The signal number for sig_name[i] is stored in sig_num[i].
1531 * The last element is 0 to terminate the list with a NULL. This
1532 * corresponds to the 0 at the end of the sig_num list.
1535 * This symbol contains a list of signal numbers, in the same order as the
1536 * SIG_NAME list. It is suitable for static array initialization, as in:
1537 * int sig_num[] = { SIG_NUM };
1538 * The signals in the list are separated with commas, and the indices
1539 * within that list and the SIG_NAME list match, so it's easy to compute
1540 * the signal name from a number or vice versa at the price of a small
1541 * dynamic linear lookup.
1542 * Duplicates are allowed, but are moved to the end of the list.
1543 * The signal number corresponding to sig_name[i] is sig_number[i].
1544 * if (i < NSIG) then sig_number[i] == i.
1545 * The last element is 0, corresponding to the 0 at the end of
1546 * the sig_name list.
1548 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","USR1","USR2","CHLD","PWR","WINCH","URG","IO","STOP","TSTP","CONT","TTIN","TTOU","VTALRM","PROF","XCPU","XFSZ","WAITING","LWP","FREEZE","THAW","RTMIN","NUM37","NUM38","NUM39","NUM40","NUM41","NUM42","RTMAX","IOT","CLD","POLL",0 /**/
1549 #define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,6,18,22,0 /**/
1552 * This symbol contains the ~name expanded version of SITEARCH, to be used
1553 * in programs that are not prepared to deal with ~ expansion at run-time.
1555 #define SITEARCH_EXP "/usr/local/lib/perl5/site_perl/i86pc-solaris" /**/
1558 * This symbol contains the ~name expanded version of SITELIB, to be used
1559 * in programs that are not prepared to deal with ~ expansion at run-time.
1561 #define SITELIB_EXP "/usr/local/lib/perl5/site_perl" /**/
1564 * This variable contains the string to put in front of a perl
1565 * script to make sure (one hopes) that it runs with perl and not
1568 #define STARTPERL "#!/usr/local/bin/perl" /**/
1571 * This symbol indicates how much support of the void type is given by this
1572 * compiler. What various bits mean:
1574 * 1 = supports declaration of void
1575 * 2 = supports arrays of pointers to functions returning void
1576 * 4 = supports comparisons between pointers to void functions and
1577 * addresses of void functions
1578 * 8 = suports declaration of generic void pointers
1580 * The package designer should define VOIDUSED to indicate the requirements
1581 * of the package. This can be done either by #defining VOIDUSED before
1582 * including config.h, or by defining defvoidused in Myinit.U. If the
1583 * latter approach is taken, only those flags will be tested. If the
1584 * level of void support necessary is not present, defines void to int.
1589 #define VOIDFLAGS 15
1590 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1591 #define void int /* is void to be avoided? */
1592 #define M_VOID /* Xenix strikes again */