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.
40 #define BIN "/usr/local/bin" /**/
43 * This macro catenates 2 tokens together.
46 #define CAT2(a,b)a/**/b
47 #define CAT3(a,b,c)a/**/b/**/c
48 #define CAT4(a,b,c,d)a/**/b/**/c/**/d
49 #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
50 #define STRINGIFY(a)"a"
51 /* If you can get stringification with catify, tell me how! */
54 #define CAT2(a,b)a ## b
55 #define CAT3(a,b,c)a ## b ## c
56 #define CAT4(a,b,c,d)a ## b ## c ## d
57 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
59 #define STRINGIFY(a)StGiFy(a)
60 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
61 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
62 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
63 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
66 #include "Bletch: How does this C preprocessor catenate tokens?"
70 * This symbol contains the first part of the string which will invoke
71 * the C preprocessor on the standard input and produce to standard
72 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
73 * call a wrapper. See CPPRUN.
76 * This symbol contains the second part of the string which will invoke
77 * the C preprocessor on the standard input and produce to standard
78 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
79 * to specify standard input, otherwise the value is "".
81 #define CPPSTDIN "cl -E"
85 * This symbol, if defined, indicates that the alarm routine is
88 #define HAS_ALARM /**/
91 * This symbol indicates the C compiler can check for function attributes,
92 * such as printf formats. This is normally only supported by GNU cc.
94 /*#define HASATTRIBUTE /**/
96 #define __attribute__(_arg_)
100 * This symbol is defined if the bcmp() routine is available to
101 * compare blocks of memory.
103 /*#define HAS_BCMP /**/
106 * This symbol is defined if the bcopy() routine is available to
107 * copy blocks of memory.
109 /*#define HAS_BCOPY /**/
112 * This symbol is defined if the bzero() routine is available to
113 * set a memory block to 0.
115 /*#define HAS_BZERO /**/
118 * This symbol is defined if the C compiler can cast negative
119 * or large floating point numbers to 32-bit ints.
124 * This symbol is defined if the C compiler can cast negative
125 * numbers to unsigned longs, ints and shorts.
128 * This symbol contains flags that say what difficulties the compiler
129 * has casting odd floating values to unsigned long:
131 * 1 = couldn't cast < 0
132 * 2 = couldn't cast >= 0x80000000
133 * 4 = couldn't cast in argument expression list
135 #define CASTNEGFLOAT /**/
136 #define CASTFLAGS 0 /**/
139 * This symbol, if defined, indicates that the chown routine is
142 /* #define HAS_CHOWN /**/
145 * This symbol, if defined, indicates that the chroot routine is
148 /* #define HAS_CHROOT /**/
151 * This symbol, if defined, indicates that the chsize routine is available
152 * to truncate files. You might need a -lx to get this routine.
154 #define HAS_CHSIZE /**/
157 * This symbol, if defined, indicates that the closedir() routine
158 * does not return a value.
160 /*#define VOID_CLOSEDIR /**/
163 * This symbol, if defined, indicates that this C compiler knows about
164 * the const type. There is no need to actually test for that symbol
165 * within your programs. The mere use of the "const" keyword will
166 * trigger the necessary tests.
168 #define HASCONST /**/
174 * This symbol, if defined, indicates that the crypt routine is available
175 * to encrypt passwords and the like.
177 /* #define HAS_CRYPT /**/
180 * This symbol, if defined, indicates that the cuserid routine is
181 * available to get character login names.
183 /* #define HAS_CUSERID /**/
186 * This symbol, if defined, indicates that this system's <float.h>
187 * or <limits.h> defines the symbol DBL_DIG, which is the number
188 * of significant digits in a double precision number. If this
189 * symbol is not defined, a guess of 15 is usually pretty good.
191 #define HAS_DBL_DIG /* */
194 * This symbol, if defined, indicates that the difftime routine is
197 #define HAS_DIFFTIME /**/
200 * This symbol, if defined, indicates that the dlerror routine is
201 * available to return a string describing the last error that
202 * occurred from a call to dlopen(), dlclose() or dlsym().
204 #define HAS_DLERROR /**/
207 * This symbol, if defined, indicates that the dup2 routine is
208 * available to duplicate file descriptors.
210 #define HAS_DUP2 /**/
213 * This symbol, if defined, indicates that the fchmod routine is available
214 * to change mode of opened files. If unavailable, use chmod().
216 /*#define HAS_FCHMOD /**/
219 * This symbol, if defined, indicates that the fchown routine is available
220 * to change ownership of opened files. If unavailable, use chown().
222 /*#define HAS_FCHOWN /**/
225 * This symbol, if defined, indicates to the C program that
226 * the fcntl() function exists.
228 /*#define HAS_FCNTL /**/
231 * This symbol, if defined, indicates that the fgetpos routine is
232 * available to get the file position indicator, similar to ftell().
234 #define HAS_FGETPOS /**/
237 * This symbol, if defined, indicates that the system supports filenames
238 * longer than 14 characters.
240 #define FLEXFILENAMES /**/
243 * This symbol, if defined, indicates that the flock routine is
244 * available to do file locking.
246 /*#define HAS_FLOCK /**/
249 * This symbol, if defined, indicates that the fork routine is
252 /*#define HAS_FORK /**/
255 * This symbol, if defined, indicates that the fsetpos routine is
256 * available to set the file position indicator, similar to fseek().
258 #define HAS_FSETPOS /**/
261 * This symbol, if defined, indicates that the getgroups() routine is
262 * available to get the list of process groups. If unavailable, multiple
263 * groups are probably not supported.
265 /*#define HAS_GETGROUPS /**/
268 * This symbol, if defined, indicates that the gethostent routine is
269 * available to lookup host names in some data base or other.
271 /*#define HAS_GETHOSTENT /**/
274 * This symbol, if defined, indicates that the C program may use the
275 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
278 /*#define HAS_UNAME /**/
281 * This symbol, if defined, indicates that the getlogin routine is
282 * available to get the login name.
284 /*#define HAS_GETLOGIN /**/
287 * This symbol, if defined, indicates that the getpgrp routine is
288 * available to get the current process group.
290 /*#define HAS_GETPGRP /**/
293 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
294 * routine is available to get the current process group.
296 /*#define HAS_GETPGRP2 /**/
299 * This symbol, if defined, indicates that the getppid routine is
300 * available to get the parent process ID.
302 /*#define HAS_GETPPID /**/
305 * This symbol, if defined, indicates that the getpriority routine is
306 * available to get a process's priority.
308 /*#define HAS_GETPRIORITY /**/
311 * This symbol, if defined, indicates that the htonl() routine (and
312 * friends htons() ntohl() ntohs()) are available to do network
313 * order byte swapping.
316 * This symbol, if defined, indicates that the htons() routine (and
317 * friends htonl() ntohl() ntohs()) are available to do network
318 * order byte swapping.
321 * This symbol, if defined, indicates that the ntohl() routine (and
322 * friends htonl() htons() ntohs()) are available to do network
323 * order byte swapping.
326 * This symbol, if defined, indicates that the ntohs() routine (and
327 * friends htonl() htons() ntohl()) are available to do network
328 * order byte swapping.
330 #define HAS_HTONL /**/
331 #define HAS_HTONS /**/
332 #define HAS_NTOHL /**/
333 #define HAS_NTOHS /**/
336 * This manifest constant lets the C program know that isascii
339 #define HAS_ISASCII /**/
342 * This symbol, if defined, indicates that the killpg routine is available
343 * to kill process groups. If unavailable, you probably should use kill
344 * with a negative process number.
346 /*#define HAS_KILLPG /**/
349 * This symbol, if defined, indicates that the link routine is
350 * available to create hard links.
352 /*#define HAS_LINK /**/
355 * This symbol, if defined, indicates that the localeconv routine is
356 * available for numeric and monetary formatting conventions.
358 #define HAS_LOCALECONV /**/
361 * This symbol, if defined, indicates that the lockf routine is
362 * available to do file locking.
364 /*#define HAS_LOCKF /**/
367 * This symbol, if defined, indicates that the lstat routine is
368 * available to do file stats on symbolic links.
370 /*#define HAS_LSTAT /**/
373 * This symbol, if defined, indicates that the mblen routine is available
374 * to find the number of bytes in a multibye character.
376 #define HAS_MBLEN /**/
379 * This symbol, if defined, indicates that the mbstowcs routine is
380 * available to covert a multibyte string into a wide character string.
382 #define HAS_MBSTOWCS /**/
385 * This symbol, if defined, indicates that the mbtowc routine is available
386 * to covert a multibyte to a wide character.
388 #define HAS_MBTOWC /**/
391 * This symbol, if defined, indicates that the memcmp routine is available
392 * to compare blocks of memory.
394 #define HAS_MEMCMP /**/
397 * This symbol, if defined, indicates that the memcpy routine is available
398 * to copy blocks of memory.
400 #define HAS_MEMCPY /**/
403 * This symbol, if defined, indicates that the memmove routine is available
404 * to copy potentially overlapping blocks of memory. This should be used
405 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
408 #define HAS_MEMMOVE /**/
411 * This symbol, if defined, indicates that the memset routine is available
412 * to set blocks of memory.
414 #define HAS_MEMSET /**/
417 * This symbol, if defined, indicates that the mkdir routine is available
418 * to create directories. Otherwise you should fork off a new process to
421 #define HAS_MKDIR /**/
424 * This symbol, if defined, indicates that the mkfifo routine is
425 * available to create FIFOs. Otherwise, mknod should be able to
426 * do it for you. However, if mkfifo is there, mknod might require
427 * super-user privileges which mkfifo will not.
429 /*#define HAS_MKFIFO /**/
432 * This symbol, if defined, indicates that the mktime routine is
435 #define HAS_MKTIME /**/
438 * This symbol, if defined, indicates that the entire msg*(2) library is
439 * supported (IPC mechanism based on message queues).
441 /*#define HAS_MSG /**/
444 * This symbol, if defined, indicates that the nice routine is
447 /*#define HAS_NICE /**/
450 * This manifest constant lets the C program know that the three
451 * argument form of open(2) is available.
453 /*#define HAS_OPEN3 /**/
456 * This symbol, if defined, indicates that pathconf() is available
457 * to determine file-system related limits and options associated
458 * with a given filename.
461 * This symbol, if defined, indicates that pathconf() is available
462 * to determine file-system related limits and options associated
463 * with a given open file descriptor.
465 /* #define HAS_PATHCONF /**/
466 /* #define HAS_FPATHCONF /**/
469 * This symbol, if defined, indicates that the pause routine is
470 * available to suspend a process until a signal is received.
472 #define HAS_PAUSE /**/
475 * This symbol, if defined, indicates that the pipe routine is
476 * available to create an inter-process channel.
478 #define HAS_PIPE /**/
481 * This symbol, if defined, indicates that the poll routine is
482 * available to poll active file descriptors.
484 /* #define HAS_POLL /**/
487 * This symbol, if defined, indicates that the readdir routine is
488 * available to read directory entries. You may have to include
489 * <dirent.h>. See I_DIRENT.
491 #define HAS_READDIR /**/
494 * This symbol, if defined, indicates that the seekdir routine is
495 * available. You may have to include <dirent.h>. See I_DIRENT.
497 #define HAS_SEEKDIR /**/
500 * This symbol, if defined, indicates that the telldir routine is
501 * available. You may have to include <dirent.h>. See I_DIRENT.
503 #define HAS_TELLDIR /**/
506 * This symbol, if defined, indicates that the rewinddir routine is
507 * available. You may have to include <dirent.h>. See I_DIRENT.
509 #define HAS_REWINDDIR /**/
512 * This symbol, if defined, indicates that the readlink routine is
513 * available to read the value of a symbolic link.
515 /* #define HAS_READLINK /**/
518 * This symbol, if defined, indicates that the rename routine is available
519 * to rename files. Otherwise you should do the unlink(), link(), unlink()
522 #define HAS_RENAME /**/
525 * This symbol, if defined, indicates that the rmdir routine is
526 * available to remove directories. Otherwise you should fork off a
527 * new process to exec /bin/rmdir.
529 #define HAS_RMDIR /**/
532 * This symbol, if defined, indicates that the bcopy routine is available
533 * to copy potentially overlapping memory blocks. Otherwise you should
534 * probably use memmove() or memcpy(). If neither is defined, roll your
537 /*#define HAS_SAFE_BCOPY /**/
540 * This symbol, if defined, indicates that the memcpy routine is available
541 * to copy potentially overlapping memory blocks. Otherwise you should
542 * probably use memmove() or memcpy(). If neither is defined, roll your
545 /*#define HAS_SAFE_MEMCPY /**/
548 * This symbol, if defined, indicates that the select routine is
549 * available to select active file descriptors. If the timeout field
550 * is used, <sys/time.h> may need to be included.
552 #define HAS_SELECT /**/
555 * This symbol, if defined, indicates that the entire sem*(2) library is
558 /* #define HAS_SEM /**/
561 * This symbol, if defined, indicates that the setegid routine is available
562 * to change the effective gid of the current program.
564 /* #define HAS_SETEGID /**/
567 * This symbol, if defined, indicates that the seteuid routine is available
568 * to change the effective uid of the current program.
570 /* #define HAS_SETEUID /**/
573 * This symbol, if defined, indicates that the setlinebuf routine is
574 * available to change stderr or stdout from block-buffered or unbuffered
575 * to a line-buffered mode.
577 /*#define HAS_SETLINEBUF /**/
580 * This symbol, if defined, indicates that the setlocale routine is
581 * available to handle locale-specific ctype implementations.
583 #define HAS_SETLOCALE /**/
586 * This symbol, if defined, indicates that the setpgid routine is
587 * available to set process group ID.
589 /* #define HAS_SETPGID /**/
592 * This symbol, if defined, indicates that the setpgrp routine is
593 * available to set the current process group.
596 * This symbol, if defined, indicates that the BSD notion of process
597 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
598 * instead of the USG setpgrp().
600 /* #define HAS_SETPGRP /**/
601 /*#define USE_BSDPGRP /**/
604 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
605 * routine is available to set the current process group.
607 /*#define HAS_SETPGRP2 /**/
610 * This symbol, if defined, indicates that the setpriority routine is
611 * available to set a process's priority.
613 /*#define HAS_SETPRIORITY /**/
616 * This symbol, if defined, indicates that the setregid routine is
617 * available to change the real and effective gid of the current
621 * This symbol, if defined, indicates that the setresgid routine is
622 * available to change the real, effective and saved gid of the current
625 /*#define HAS_SETREGID /**/
626 /*#define HAS_SETRESGID /**/
629 * This symbol, if defined, indicates that the setreuid routine is
630 * available to change the real and effective uid of the current
634 * This symbol, if defined, indicates that the setresuid routine is
635 * available to change the real, effective and saved uid of the current
638 /*#define HAS_SETREUID /**/
639 /*#define HAS_SETRESUID /**/
642 * This symbol, if defined, indicates that the setrgid routine is available
643 * to change the real gid of the current program.
645 /*#define HAS_SETRGID /**/
648 * This symbol, if defined, indicates that the setruid routine is available
649 * to change the real uid of the current program.
651 /*#define HAS_SETRUID /**/
654 * This symbol, if defined, indicates that the setsid routine is
655 * available to set the process group ID.
657 /* #define HAS_SETSID /**/
660 * This symbol, if defined, indicates that the entire shm*(2) library is
663 /* #define HAS_SHM /**/
666 * This symbol holds the return type of the shmat() system call.
667 * Usually set to 'void *' or 'char *'.
669 /* HAS_SHMAT_PROTOTYPE:
670 * This symbol, if defined, indicates that the sys/shm.h includes
671 * a prototype for shmat(). Otherwise, it is up to the program to
672 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
673 * but not always right so it should be emitted by the program only
674 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
676 /* #define Shmat_t void * /**/
677 /* #define HAS_SHMAT_PROTOTYPE /**/
680 * This symbol, if defined, indicates that Vr4's sigaction() routine
683 /* #define HAS_SIGACTION /**/
686 * This symbol, if defined, indicates that the BSD socket interface is
690 * This symbol, if defined, indicates that the BSD socketpair() call is
693 #define HAS_SOCKET /**/
694 /* #define HAS_SOCKETPAIR /**/
697 * This symbol is defined if this system has a stat structure declaring
698 * st_blksize and st_blocks.
700 /* #define USE_STAT_BLOCKS /**/
703 * This symbol is defined if the _ptr and _cnt fields (or similar)
704 * of the stdio FILE structure can be used to access the stdio buffer
705 * for a file handle. If this is defined, then the FILE_ptr(fp)
706 * and FILE_cnt(fp) macros will also be defined and should be used
707 * to access these fields.
710 * This symbol is defined if the _base field (or similar) of the
711 * stdio FILE structure can be used to access the stdio buffer for
712 * a file handle. If this is defined, then the FILE_base(fp) macro
713 * will also be defined and should be used to access this field.
714 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
715 * to determine the number of bytes in the buffer. USE_STDIO_BASE
716 * will never be defined unless USE_STDIO_PTR is.
718 #define USE_STDIO_PTR /**/
719 #define USE_STDIO_BASE /**/
722 * This macro is used to access the _ptr field (or equivalent) of the
723 * FILE structure pointed to by its argument. This macro will always be
724 * defined if USE_STDIO_PTR is defined.
727 * This symbol is defined if the FILE_ptr macro can be used as an
731 * This macro is used to access the _cnt field (or equivalent) of the
732 * FILE structure pointed to by its argument. This macro will always be
733 * defined if USE_STDIO_PTR is defined.
736 * This symbol is defined if the FILE_cnt macro can be used as an
740 #define FILE_ptr(fp) ((fp)->_ptr)
741 #define STDIO_PTR_LVALUE /**/
742 #define FILE_cnt(fp) ((fp)->_cnt)
743 #define STDIO_CNT_LVALUE /**/
747 * This macro is used to access the _base field (or equivalent) of the
748 * FILE structure pointed to by its argument. This macro will always be
749 * defined if USE_STDIO_BASE is defined.
752 * This macro is used to determine the number of bytes in the I/O
753 * buffer pointed to by _base field (or equivalent) of the FILE
754 * structure pointed to its argument. This macro will always be defined
755 * if USE_STDIO_BASE is defined.
757 #ifdef USE_STDIO_BASE
758 #define FILE_base(fp) ((fp)->_base)
759 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
763 * This symbol is defined to indicate that the strchr()/strrchr()
764 * functions are available for string searching. If not, try the
765 * index()/rindex() pair.
768 * This symbol is defined to indicate that the index()/rindex()
769 * functions are available for string searching.
771 #define HAS_STRCHR /**/
772 /*#define HAS_INDEX /**/
775 * This symbol, if defined, indicates that the strcoll routine is
776 * available to compare strings using collating information.
778 #define HAS_STRCOLL /**/
781 * This symbol, if defined, indicates that this C compiler knows how
782 * to copy structures. If undefined, you'll need to use a block copy
783 * routine of some sort instead.
785 #define USE_STRUCT_COPY /**/
788 * This symbol, if defined, indicates that the strerror routine is
789 * available to translate error numbers to strings. See the writeup
790 * of Strerror() in this file before you try to define your own.
793 * This symbol, if defined, indicates that the sys_errlist array is
794 * available to translate error numbers to strings. The extern int
795 * sys_nerr gives the size of that table.
798 * This preprocessor symbol is defined as a macro if strerror() is
799 * not available to translate error numbers to strings but sys_errlist[]
802 #define HAS_STRERROR /**/
803 #define HAS_SYS_ERRLIST /**/
804 #define Strerror(e) strerror(e)
807 * This symbol, if defined, indicates that the strxfrm() routine is
808 * available to transform strings.
810 #define HAS_STRXFRM /**/
813 * This symbol, if defined, indicates that the symlink routine is available
814 * to create symbolic links.
816 /* #define HAS_SYMLINK /**/
819 * This symbol, if defined, indicates that the syscall routine is
820 * available to call arbitrary system calls. If undefined, that's tough.
822 /* #define HAS_SYSCALL /**/
825 * This symbol, if defined, indicates that sysconf() is available
826 * to determine system related limits and options.
828 /* #define HAS_SYSCONF /**/
831 * This symbol, if defined, indicates that the system routine is
832 * available to issue a shell command.
834 #define HAS_SYSTEM /**/
837 * This symbol, if defined, indicates that the tcgetpgrp routine is
838 * available to get foreground process group ID.
840 /* #define HAS_TCGETPGRP /**/
843 * This symbol, if defined, indicates that the tcsetpgrp routine is
844 * available to set foreground process group ID.
846 /* #define HAS_TCSETPGRP /**/
849 * This symbol holds the type returned by time(). It can be long,
850 * or time_t on BSD sites (in which case <sys/types.h> should be
853 #define Time_t time_t /* Time type */
856 * This symbol, if defined, indicates that the times() routine exists.
857 * Note that this became obsolete on some systems (SUNOS), which now
858 * use getrusage(). It may be necessary to include <sys/times.h>.
860 #define HAS_TIMES /**/
863 * This symbol, if defined, indicates that the truncate routine is
864 * available to truncate files.
866 /* #define HAS_TRUNCATE /**/
869 * This symbol, if defined, indicates that the tzname[] array is
870 * available to access timezone names.
872 #define HAS_TZNAME /**/
875 * This symbol, if defined, indicates that the umask routine is
876 * available to set and get the value of the file creation mask.
878 #define HAS_UMASK /**/
881 * This symbol, if defined, indicates that vfork() exists.
883 /*#define HAS_VFORK /**/
886 * This symbol's value is either "void" or "int", corresponding to the
887 * appropriate return type of a signal handler. Thus, you can declare
888 * a signal handler using "Signal_t (*handler)()", and define the
889 * handler using "Signal_t handler(sig)".
891 #define Signal_t void /* Signal handler's return type */
894 * This symbol, if defined, indicates that this C compiler knows about
895 * the volatile declaration.
897 #define HASVOLATILE /**/
903 * This symbol, if defined, indicates that the vprintf routine is available
904 * to printf with a pointer to an argument list. If unavailable, you
905 * may need to write your own, probably in terms of _doprnt().
907 /* USE_CHAR_VSPRINTF:
908 * This symbol is defined if this system has vsprintf() returning type
909 * (char*). The trend seems to be to declare it as "int vsprintf()". It
910 * is up to the package author to declare vsprintf correctly based on the
913 #define HAS_VPRINTF /**/
914 /*#define USE_CHAR_VSPRINTF /**/
917 * This symbol, if defined, indicates that wait4() exists.
919 /*#define HAS_WAIT4 /**/
922 * This symbol, if defined, indicates that the waitpid routine is
923 * available to wait for child process.
925 /* #define HAS_WAITPID /**/
928 * This symbol, if defined, indicates that the wcstombs routine is
929 * available to convert wide character strings to multibyte strings.
931 #define HAS_WCSTOMBS /**/
934 * This symbol, if defined, indicates that the wctomb routine is available
935 * to covert a wide character to a multibyte.
937 #define HAS_WCTOMB /**/
940 * This symbol holds the type used to declare file positions in libc.
941 * It can be fpos_t, long, uint, etc... It may be necessary to include
942 * <sys/types.h> to get any typedef'ed information.
944 #define Fpos_t fpos_t /* File position type */
947 * This symbol holds the return type of getgid() and the type of
948 * argument to setrgid() and related functions. Typically,
949 * it is the type of group ids in the kernel. It can be int, ushort,
950 * uid_t, etc... It may be necessary to include <sys/types.h> to get
951 * any typedef'ed information.
953 #define Gid_t gid_t /* Type for getgid(), etc... */
956 * This symbol holds the type used for the second argument to
957 * getgroups(). Usually, this is the same of gidtype, but
958 * sometimes it isn't. It can be int, ushort, uid_t, etc...
959 * It may be necessary to include <sys/types.h> to get any
960 * typedef'ed information. This is only required if you have
964 #define Groups_t gid_t /* Type for 2nd arg to getgroups() */
968 * This symbol contains the type of the prefix structure element
969 * in the <db.h> header file. In older versions of DB, it was
970 * int, while in newer ones it is u_int32_t.
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 size_t.
977 #define DB_Hash_t int /**/
978 #define DB_Prefix_t int /**/
981 * This symbol, if defined, indicates to the C program that it should
982 * include <dirent.h>. Using this symbol also triggers the definition
983 * of the Direntry_t define which ends up being 'struct dirent' or
984 * 'struct direct' depending on the availability of <dirent.h>.
987 * This symbol, if defined, indicates to the C program that the length
988 * of directory entry names is provided by a d_namlen field. Otherwise
989 * you need to do strlen() on the d_name field.
992 * This symbol is set to 'struct direct' or 'struct dirent' depending on
993 * whether dirent is available or not. You should use this pseudo type to
994 * portably declare your directory entries.
996 #define I_DIRENT /**/
997 #define DIRNAMLEN /**/
998 #define Direntry_t struct direct
1001 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1004 #define I_DLFCN /**/
1007 * This manifest constant tells the C program to include <fcntl.h>.
1009 #define I_FCNTL /**/
1012 * This symbol, if defined, indicates to the C program that it should
1013 * include <float.h> to get definition of symbols like DBL_MAX or
1014 * DBL_MIN, i.e. machine dependent floating point values.
1016 #define I_FLOAT /**/
1019 * This symbol, if defined, indicates to the C program that it should
1025 * This symbol, if defined, indicates to the C program that it should
1026 * include <limits.h> to get definition of symbols like WORD_BIT or
1027 * LONG_MAX, i.e. machine dependant limitations.
1029 #define I_LIMITS /**/
1032 * This symbol, if defined, indicates to the C program that it should
1038 * This symbol, if defined, indicates to the C program that it should
1039 * include <memory.h>.
1041 /*#define I_MEMORY /**/
1044 * This symbol, if defined, indicates that <ndbm.h> exists and should
1050 * This symbol, if defined, indicates that <net/errno.h> exists and
1051 * should be included.
1053 /*#define I_NET_ERRNO /**/
1056 * This symbol, if defined, indicates to the C program that it should
1057 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1059 /*#define I_NETINET_IN /**/
1062 * This symbol, if defined, indicates to the C program that it should
1066 * This symbol, if defined, indicates to the C program that struct passwd
1067 * contains pw_quota.
1070 * This symbol, if defined, indicates to the C program that struct passwd
1074 * This symbol, if defined, indicates to the C program that struct passwd
1075 * contains pw_change.
1078 * This symbol, if defined, indicates to the C program that struct passwd
1079 * contains pw_class.
1082 * This symbol, if defined, indicates to the C program that struct passwd
1083 * contains pw_expire.
1086 * This symbol, if defined, indicates to the C program that struct passwd
1087 * contains pw_comment.
1089 /*#define I_PWD /**/
1090 /*#define PWQUOTA /**/
1091 /*#define PWAGE /**/
1092 /*#define PWCHANGE /**/
1093 /*#define PWCLASS /**/
1094 /*#define PWEXPIRE /**/
1095 /*#define PWCOMMENT /**/
1098 * This symbol, if defined, indicates that <stddef.h> exists and should
1101 #define I_STDDEF /**/
1104 * This symbol, if defined, indicates that <stdlib.h> exists and should
1107 #define I_STDLIB /**/
1110 * This symbol, if defined, indicates to the C program that it should
1111 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1113 #define I_STRING /**/
1116 * This symbol, if defined, indicates to the C program that it should
1117 * include <sys/dir.h>.
1119 /*#define I_SYS_DIR /**/
1122 * This symbol, if defined, indicates to the C program that it should
1123 * include <sys/file.h> to get definition of R_OK and friends.
1125 /*#define I_SYS_FILE /**/
1128 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1129 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1131 /*#define I_SYS_IOCTL /**/
1134 * This symbol, if defined, indicates to the C program that it should
1135 * include <sys/ndir.h>.
1137 /*#define I_SYS_NDIR /**/
1140 * This symbol, if defined, indicates to the C program that it should
1141 * include <sys/param.h>.
1143 /*#define I_SYS_PARAM /**/
1146 * This symbol, if defined, indicates to the C program that it should
1147 * include <sys/select.h> in order to get definition of struct timeval.
1149 /* #define I_SYS_SELECT /**/
1152 * This symbol, if defined, indicates to the C program that it should
1153 * include <sys/times.h>.
1155 /*#define I_SYS_TIMES /**/
1158 * This symbol, if defined, indicates to the C program that it should
1159 * include <sys/types.h>.
1161 #define I_SYS_TYPES /**/
1164 * This symbol, if defined, indicates to the C program that it should
1165 * include <sys/un.h> to get UNIX domain socket definitions.
1167 /*#define I_SYS_UN /**/
1170 * This symbol, if defined, indicates that the program should include
1171 * <termio.h> rather than <sgtty.h>. There are also differences in
1172 * the ioctl() calls that depend on the value of this symbol.
1175 * This symbol, if defined, indicates that the program should include
1176 * the POSIX termios.h rather than sgtty.h or termio.h.
1177 * There are also differences in the ioctl() calls that depend on the
1178 * value of this symbol.
1181 * This symbol, if defined, indicates that the program should include
1182 * <sgtty.h> rather than <termio.h>. There are also differences in
1183 * the ioctl() calls that depend on the value of this symbol.
1185 /*#define I_TERMIO /**/
1186 /*#define I_TERMIOS /**/
1187 /*#define I_SGTTY /**/
1190 * This symbol, if defined, indicates to the C program that it should
1194 * This symbol, if defined, indicates to the C program that it should
1195 * include <sys/time.h>.
1197 /* I_SYS_TIME_KERNEL:
1198 * This symbol, if defined, indicates to the C program that it should
1199 * include <sys/time.h> with KERNEL defined.
1202 /*#define I_SYS_TIME /**/
1203 /*#define I_SYS_TIME_KERNEL /**/
1206 * This symbol, if defined, indicates to the C program that it should
1207 * include <unistd.h>.
1209 /*#define I_UNISTD /**/
1212 * This symbol, if defined, indicates to the C program that it should
1213 * include <utime.h>.
1215 /*#define I_UTIME /**/
1218 * This symbol, if defined, indicates to the C program that it should
1221 /*#define I_VFORK /**/
1224 * This symbol holds the type used to declare offsets in the kernel.
1225 * It can be int, long, off_t, etc... It may be necessary to include
1226 * <sys/types.h> to get any typedef'ed information.
1228 #define Off_t off_t /* <offset> type */
1231 * This symbol holds the type used to declare file modes
1232 * for systems calls. It is usually mode_t, but may be
1233 * int or unsigned short. It may be necessary to include <sys/types.h>
1234 * to get any typedef'ed information.
1236 #define Mode_t mode_t /* file mode parameter for system calls */
1239 * If defined, this macro indicates that the C compiler can handle
1240 * function prototypes.
1243 * This macro is used to declare function parameters for folks who want
1244 * to make declarations with prototypes using a different style than
1245 * the above macros. Use double parentheses. For example:
1247 * int main _((int argc, char *argv[]));
1249 #define CAN_PROTOTYPE /**/
1250 #ifdef CAN_PROTOTYPE
1251 #define _(args) args
1257 * This symbol contains the number of bits of random number the rand()
1258 * function produces. Usual values are 15, 16, and 31.
1260 #define RANDBITS 15 /**/
1263 * This symbol holds the name of the directory in which the user wants
1264 * to put publicly executable scripts for the package in question. It
1265 * is often a directory that is mounted across diverse architectures.
1266 * Programs must be prepared to deal with ~name expansion.
1268 #define SCRIPTDIR "/usr/local/script" /**/
1271 * This symbol holds the type used for the 2nd, 3rd, and 4th
1272 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1273 * is defined, and 'int *' otherwise. This is only useful if you
1274 * have select(), of course.
1276 //#define Select_fd_set_t fd_set * /**/
1277 #define Select_fd_set_t int * /**/
1280 * This symbol holds the type used to declare length parameters
1281 * for string functions. It is usually size_t, but may be
1282 * unsigned long, int, etc. It may be necessary to include
1283 * <sys/types.h> to get any typedef'ed information.
1285 #define Size_t size_t /* length paramater for string functions */
1288 * This symbol holds the type used by functions that return
1289 * a count of bytes or an error condition. It must be a signed type.
1290 * It is usually ssize_t, but may be long or int, etc.
1291 * It may be necessary to include <sys/types.h> or <unistd.h>
1292 * to get any typedef'ed information.
1293 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1295 #define SSize_t int /* signed count of bytes */
1298 * This symbol is defined to be the type of char used in stdio.h.
1299 * It has the values "unsigned char" or "char".
1301 #define STDCHAR unsigned char /**/
1304 * This symbol holds the type used to declare user ids in the kernel.
1305 * It can be int, ushort, uid_t, etc... It may be necessary to include
1306 * <sys/types.h> to get any typedef'ed information.
1308 #define Uid_t uid_t /* UID type */
1311 * This symbol, if defined, indicates that the program is running under
1312 * VMS. It is currently only set in conjunction with the EUNICE symbol.
1317 * This symbol holds the complete pathname to the sed program.
1319 #define LOC_SED "/bin/sed" /**/
1322 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1323 * in programs that are not prepared to deal with ~ expansion at run-time.
1325 #define ARCHLIB_EXP "/usr/local/lib/perl5/i86pc-solaris/5.002" /**/
1328 * This symbol defined the name of the OS. in our case WIN32
1329 * (we don't distinguish between NT or 95)
1331 #define OSNAME "MSWin32"
1334 * This symbol hold the hexadecimal constant defined in byteorder,
1335 * i.e. 0x1234 or 0x4321, etc...
1337 #define BYTEORDER 0x1234 /* large digits for MSB */
1340 * This symbol, if defined, indicates that the C-shell exists.
1341 * If defined, contains the full pathname of csh.
1343 #define CSH "/bin/csh" /**/
1345 /* DLSYM_NEEDS_UNDERSCORE:
1346 * This symbol, if defined, indicates that we need to prepend an
1347 * underscore to the symbol name before calling dlsym(). This only
1348 * makes sense if you *have* dlsym, which we will presume is the
1349 * case if you're using dl_dlopen.xs.
1351 /*#define DLSYM_NEEDS_UNDERSCORE /* */
1353 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1354 * This symbol, if defined, indicates that the bug that prevents
1355 * setuid scripts from being secure is not present in this kernel.
1358 * This symbol, if defined, indicates that the C program should
1359 * check the script that it is executing for setuid/setgid bits, and
1360 * attempt to emulate setuid/setgid on systems that have disabled
1361 * setuid #! scripts because the kernel can't do it securely.
1362 * It is up to the package designer to make sure that this emulation
1363 * is done securely. Among other things, it should do an fstat on
1364 * the script it just opened to make sure it really is a setuid/setgid
1365 * script, it should make sure the arguments passed correspond exactly
1366 * to the argument on the #! line, and it should not trust any
1367 * subprocesses to which it must pass the filename rather than the
1368 * file descriptor of the script to be executed.
1370 #define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1371 /*#define DOSUID /**/
1374 * This preprocessor macro is defined to convert a floating point
1375 * number to a string without a trailing decimal point. This
1376 * emulates the behavior of sprintf("%g"), but is sometimes much more
1377 * efficient. If gconvert() is not available, but gcvt() drops the
1378 * trailing decimal point, then gcvt() is used. If all else fails,
1379 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1380 * macro are: value, number of digits, whether trailing zeros should
1381 * be retained, and the output buffer.
1382 * Possible values are:
1383 * d_Gconvert='gconvert((x),(n),(t),(b))'
1384 * d_Gconvert='gcvt((x),(n),(b))'
1385 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1386 * The last two assume trailing zeros should not be kept.
1389 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1392 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1395 * This macro is used in the same way as sigsetjmp(), but will invoke
1396 * traditional setjmp() if sigsetjmp isn't available.
1399 * This macro is used in the same way as siglongjmp(), but will invoke
1400 * traditional longjmp() if siglongjmp isn't available.
1402 /* #define HAS_SIGSETJMP /**/
1404 #ifdef HAS_SIGSETJMP
1405 #define Sigjmp_buf sigjmp_buf
1406 #define Sigsetjmp(buf,save_mask) sigsetjmp(buf,save_mask)
1407 #define Siglongjmp(buf,retval) siglongjmp(buf,retval)
1409 #define Sigjmp_buf jmp_buf
1410 #define Sigsetjmp(buf,save_mask) setjmp(buf)
1411 #define Siglongjmp(buf,retval) longjmp(buf,retval)
1414 /* USE_DYNAMIC_LOADING:
1415 * This symbol, if defined, indicates that dynamic loading of
1416 * some sort is available.
1418 #define USE_DYNAMIC_LOADING /**/
1421 * This symbol, if defined, indicates that <dbm.h> exists and should
1425 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1426 * should be included.
1428 /*#define I_DBM /**/
1429 #define I_RPCSVC_DBM /**/
1432 * This symbol, if defined, indicates to the C program that it should
1433 * include <locale.h>.
1435 #define I_LOCALE /**/
1438 * This symbol, if defined, indicates to the C program that it should
1439 * include <sys/stat.h>.
1441 #define I_SYS_STAT /**/
1444 * This symbol, if defined, indicates that <stdarg.h> exists and should
1448 * This symbol, if defined, indicates to the C program that it should
1449 * include <varargs.h>.
1451 #define I_STDARG /**/
1452 /*#define I_VARARGS /**/
1455 * This symbol contains the size of an int, so that the C preprocessor
1456 * can make decisions based on it.
1458 #define INTSIZE 4 /**/
1461 * This variable contains the return type of free(). It is usually
1462 * void, but occasionally int.
1465 * This symbol is the type of pointer returned by malloc and realloc.
1467 #define Malloc_t void * /**/
1468 #define Free_t void /**/
1471 * This symbol, if defined, indicates that we're using our own malloc.
1473 /*#define MYMALLOC /**/
1476 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1477 * non-blocking I/O for the file descriptor. Note that there is no way
1478 * back, i.e. you cannot turn it blocking again this way. If you wish to
1479 * alternatively switch between blocking and non-blocking, use the
1480 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1483 * This symbol holds the errno error code set by read() when no data was
1484 * present on the non-blocking file descriptor.
1487 * This symbol holds the return code from read() when no data is present
1488 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1489 * not defined, then you can't distinguish between no data and EOF by
1490 * issuing a read(). You'll have to find another way to tell for sure!
1493 * This symbol, if defined, indicates to the C program that a read() on
1494 * a non-blocking file descriptor will return 0 on EOF, and not the value
1495 * held in RD_NODATA (-1 usually, in that case!).
1497 #define VAL_O_NONBLOCK O_NONBLOCK
1498 #define VAL_EAGAIN EAGAIN
1499 #define RD_NODATA -1
1500 #define EOF_NONBLOCK
1503 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1504 * used in programs that are not prepared to deal with ~ expansion at
1507 /*#define OLDARCHLIB_EXP "" /**/
1510 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1511 * in programs that are not prepared to deal with ~ expansion at run-time.
1513 #define PRIVLIB_EXP (win32PerlLibPath()) /**/
1516 * This symbol contains the full pathname to the shell used on this
1517 * on this system to execute Bourne shell scripts. Usually, this will be
1518 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1519 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as D:/bin/sh.
1521 #define SH_PATH "/bin/sh" /**/
1524 * This symbol contains a list of signal names in order of
1525 * signal number. This is intended
1526 * to be used as a static array initialization, like this:
1527 * char *sig_name[] = { SIG_NAME };
1528 * The signals in the list are separated with commas, and each signal
1529 * is surrounded by double quotes. There is no leading SIG in the signal
1530 * name, i.e. SIGQUIT is known as "QUIT".
1531 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1532 * etc., where nn is the actual signal number (e.g. NUM37).
1533 * The signal number for sig_name[i] is stored in sig_num[i].
1534 * The last element is 0 to terminate the list with a NULL. This
1535 * corresponds to the 0 at the end of the sig_num list.
1538 * This symbol contains a list of signal numbers, in the same order as the
1539 * SIG_NAME list. It is suitable for static array initialization, as in:
1540 * int sig_num[] = { SIG_NUM };
1541 * The signals in the list are separated with commas, and the indices
1542 * within that list and the SIG_NAME list match, so it's easy to compute
1543 * the signal name from a number or vice versa at the price of a small
1544 * dynamic linear lookup.
1545 * Duplicates are allowed, but are moved to the end of the list.
1546 * The signal number corresponding to sig_name[i] is sig_number[i].
1547 * if (i < NSIG) then sig_number[i] == i.
1548 * The last element is 0, corresponding to the 0 at the end of
1549 * the sig_name list.
1551 #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 /**/
1552 #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 /**/
1555 * This symbol contains the ~name expanded version of SITEARCH, to be used
1556 * in programs that are not prepared to deal with ~ expansion at run-time.
1558 #define SITEARCH_EXP "/usr/local/lib/perl5/site_perl/i86pc-solaris" /**/
1561 * This symbol contains the ~name expanded version of SITELIB, to be used
1562 * in programs that are not prepared to deal with ~ expansion at run-time.
1564 #define SITELIB_EXP "/usr/local/lib/perl5/site_perl" /**/
1567 * This variable contains the string to put in front of a perl
1568 * script to make sure (one hopes) that it runs with perl and not
1571 #define STARTPERL "#!/usr/local/bin/perl" /**/
1574 * This symbol indicates how much support of the void type is given by this
1575 * compiler. What various bits mean:
1577 * 1 = supports declaration of void
1578 * 2 = supports arrays of pointers to functions returning void
1579 * 4 = supports comparisons between pointers to void functions and
1580 * addresses of void functions
1581 * 8 = suports declaration of generic void pointers
1583 * The package designer should define VOIDUSED to indicate the requirements
1584 * of the package. This can be done either by #defining VOIDUSED before
1585 * including config.h, or by defining defvoidused in Myinit.U. If the
1586 * latter approach is taken, only those flags will be tested. If the
1587 * level of void support necessary is not present, defines void to int.
1592 #define VOIDFLAGS 15
1593 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1594 #define void int /* is void to be avoided? */
1595 #define M_VOID /* Xenix strikes again */