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: Mon Mar 18 23:11:24 EST 1996
18 * Configured by: bailey
19 * Target system: sunos agave.humgen.upenn.edu 5.4 generic_101945-13 sun4m sparc
26 * This symbol contains the number of bytes required to align a
27 * double. Usual values are 2, 4 and 8.
29 #define MEM_ALIGNBYTES 4 /**/
32 * This symbol holds the path of the bin directory where the package will
33 * be installed. Program must be prepared to deal with ~name substitution.
35 #define BIN "/usr/local/bin" /**/
38 * This macro catenates 2 tokens together.
41 #define CAT2(a,b)a/**/b
42 #define CAT3(a,b,c)a/**/b/**/c
43 #define CAT4(a,b,c,d)a/**/b/**/c/**/d
44 #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
45 #define STRINGIFY(a)"a"
46 /* If you can get stringification with catify, tell me how! */
49 #define CAT2(a,b)a ## b
50 #define CAT3(a,b,c)a ## b ## c
51 #define CAT4(a,b,c,d)a ## b ## c ## d
52 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
54 #define STRINGIFY(a)StGiFy(a)
55 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
56 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
57 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
58 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
61 #include "Bletch: How does this C preprocessor catenate tokens?"
65 * This symbol contains the first part of the string which will invoke
66 * the C preprocessor on the standard input and produce to standard
67 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
68 * call a wrapper. See CPPRUN.
71 * This symbol contains the second part of the string which will invoke
72 * the C preprocessor on the standard input and produce to standard
73 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
74 * to specify standard input, otherwise the value is "".
76 #define CPPSTDIN "cc -E"
80 * This symbol, if defined, indicates that the alarm routine is
83 #define HAS_ALARM /**/
86 * This symbol indicates the C compiler can check for function attributes,
87 * such as printf formats. This is normally only supported by GNU cc.
89 /*#define HASATTRIBUTE /**/
91 #define __attribute__(_arg_)
95 * This symbol is defined if the bcmp() routine is available to
96 * compare blocks of memory.
98 /*#define HAS_BCMP /**/
101 * This symbol is defined if the bcopy() routine is available to
102 * copy blocks of memory.
104 /*#define HAS_BCOPY /**/
107 * This symbol is defined if the bzero() routine is available to
108 * set a memory block to 0.
110 /*#define HAS_BZERO /**/
113 * This symbol is defined if the C compiler can cast negative
114 * or large floating point numbers to 32-bit ints.
119 * This symbol is defined if the C compiler can cast negative
120 * numbers to unsigned longs, ints and shorts.
123 * This symbol contains flags that say what difficulties the compiler
124 * has casting odd floating values to unsigned long:
126 * 1 = couldn't cast < 0
127 * 2 = couldn't cast >= 0x80000000
128 * 4 = couldn't cast in argument expression list
130 #define CASTNEGFLOAT /**/
131 #define CASTFLAGS 0 /**/
134 * This symbol, if defined, indicates that the chown routine is
137 #define HAS_CHOWN /**/
140 * This symbol, if defined, indicates that the chroot routine is
143 #define HAS_CHROOT /**/
146 * This symbol, if defined, indicates that the chsize routine is available
147 * to truncate files. You might need a -lx to get this routine.
149 /*#define HAS_CHSIZE /**/
152 * This symbol, if defined, indicates that the closedir() routine
153 * does not return a value.
155 /*#define VOID_CLOSEDIR /**/
158 * This symbol, if defined, indicates that this C compiler knows about
159 * the const type. There is no need to actually test for that symbol
160 * within your programs. The mere use of the "const" keyword will
161 * trigger the necessary tests.
163 #define HASCONST /**/
169 * This symbol, if defined, indicates that the crypt routine is available
170 * to encrypt passwords and the like.
172 #define HAS_CRYPT /**/
175 * This symbol, if defined, indicates that the cuserid routine is
176 * available to get character login names.
178 #define HAS_CUSERID /**/
181 * This symbol, if defined, indicates that this system's <float.h>
182 * or <limits.h> defines the symbol DBL_DIG, which is the number
183 * of significant digits in a double precision number. If this
184 * symbol is not defined, a guess of 15 is usually pretty good.
186 #define HAS_DBL_DIG /* */
189 * This symbol, if defined, indicates that the difftime routine is
192 #define HAS_DIFFTIME /**/
195 * This symbol, if defined, indicates that the dlerror routine is
196 * available to return a string describing the last error that
197 * occurred from a call to dlopen(), dlclose() or dlsym().
199 #define HAS_DLERROR /**/
202 * This symbol, if defined, indicates that the dup2 routine is
203 * available to duplicate file descriptors.
205 #define HAS_DUP2 /**/
208 * This symbol, if defined, indicates that the fchmod routine is available
209 * to change mode of opened files. If unavailable, use chmod().
211 #define HAS_FCHMOD /**/
214 * This symbol, if defined, indicates that the fchown routine is available
215 * to change ownership of opened files. If unavailable, use chown().
217 #define HAS_FCHOWN /**/
220 * This symbol, if defined, indicates to the C program that
221 * the fcntl() function exists.
223 #define HAS_FCNTL /**/
226 * This symbol, if defined, indicates that the fgetpos routine is
227 * available to get the file position indicator, similar to ftell().
229 #define HAS_FGETPOS /**/
232 * This symbol, if defined, indicates that the system supports filenames
233 * longer than 14 characters.
235 #define FLEXFILENAMES /**/
238 * This symbol, if defined, indicates that the flock routine is
239 * available to do file locking.
241 /*#define HAS_FLOCK /**/
244 * This symbol, if defined, indicates that the fork routine is
247 #define HAS_FORK /**/
250 * This symbol, if defined, indicates that the fsetpos routine is
251 * available to set the file position indicator, similar to fseek().
253 #define HAS_FSETPOS /**/
256 * This symbol, if defined, indicates that the getgroups() routine is
257 * available to get the list of process groups. If unavailable, multiple
258 * groups are probably not supported.
260 #define HAS_GETGROUPS /**/
263 * This symbol, if defined, indicates that the gethostent routine is
264 * available to lookup host names in some data base or other.
266 #define HAS_GETHOSTENT /**/
269 * This symbol, if defined, indicates that the C program may use the
270 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
273 #define HAS_UNAME /**/
276 * This symbol, if defined, indicates that the getlogin routine is
277 * available to get the login name.
279 #define HAS_GETLOGIN /**/
282 * This symbol, if defined, indicates that the getpgrp routine is
283 * available to get the current process group.
285 #define HAS_GETPGRP /**/
288 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
289 * routine is available to get the current process group.
291 /*#define HAS_GETPGRP2 /**/
294 * This symbol, if defined, indicates that the getppid routine is
295 * available to get the parent process ID.
297 #define HAS_GETPPID /**/
300 * This symbol, if defined, indicates that the getpriority routine is
301 * available to get a process's priority.
303 /*#define HAS_GETPRIORITY /**/
306 * This symbol, if defined, indicates that the htonl() routine (and
307 * friends htons() ntohl() ntohs()) are available to do network
308 * order byte swapping.
311 * This symbol, if defined, indicates that the htons() routine (and
312 * friends htonl() ntohl() ntohs()) are available to do network
313 * order byte swapping.
316 * This symbol, if defined, indicates that the ntohl() routine (and
317 * friends htonl() htons() ntohs()) are available to do network
318 * order byte swapping.
321 * This symbol, if defined, indicates that the ntohs() routine (and
322 * friends htonl() htons() ntohl()) are available to do network
323 * order byte swapping.
325 #define HAS_HTONL /**/
326 #define HAS_HTONS /**/
327 #define HAS_NTOHL /**/
328 #define HAS_NTOHS /**/
331 * This manifest constant lets the C program know that isascii
334 #define HAS_ISASCII /**/
337 * This symbol, if defined, indicates that the killpg routine is available
338 * to kill process groups. If unavailable, you probably should use kill
339 * with a negative process number.
341 /*#define HAS_KILLPG /**/
344 * This symbol, if defined, indicates that the link routine is
345 * available to create hard links.
347 #define HAS_LINK /**/
350 * This symbol, if defined, indicates that the localeconv routine is
351 * available for numeric and monetary formatting conventions.
353 #define HAS_LOCALECONV /**/
356 * This symbol, if defined, indicates that the lockf routine is
357 * available to do file locking.
359 #define HAS_LOCKF /**/
362 * This symbol, if defined, indicates that the lstat routine is
363 * available to do file stats on symbolic links.
365 #define HAS_LSTAT /**/
368 * This symbol, if defined, indicates that the mblen routine is available
369 * to find the number of bytes in a multibye character.
371 #define HAS_MBLEN /**/
374 * This symbol, if defined, indicates that the mbstowcs routine is
375 * available to covert a multibyte string into a wide character string.
377 #define HAS_MBSTOWCS /**/
380 * This symbol, if defined, indicates that the mbtowc routine is available
381 * to covert a multibyte to a wide character.
383 #define HAS_MBTOWC /**/
386 * This symbol, if defined, indicates that the memcmp routine is available
387 * to compare blocks of memory.
389 #define HAS_MEMCMP /**/
392 * This symbol, if defined, indicates that the memcpy routine is available
393 * to copy blocks of memory.
395 #define HAS_MEMCPY /**/
398 * This symbol, if defined, indicates that the memmove routine is available
399 * to copy potentially overlapping blocks of memory. This should be used
400 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
403 #define HAS_MEMMOVE /**/
406 * This symbol, if defined, indicates that the memset routine is available
407 * to set blocks of memory.
409 #define HAS_MEMSET /**/
412 * This symbol, if defined, indicates that the mkdir routine is available
413 * to create directories. Otherwise you should fork off a new process to
416 #define HAS_MKDIR /**/
419 * This symbol, if defined, indicates that the mkfifo routine is
420 * available to create FIFOs. Otherwise, mknod should be able to
421 * do it for you. However, if mkfifo is there, mknod might require
422 * super-user privileges which mkfifo will not.
424 #define HAS_MKFIFO /**/
427 * This symbol, if defined, indicates that the mktime routine is
430 #define HAS_MKTIME /**/
433 * This symbol, if defined, indicates that the entire msg*(2) library is
434 * supported (IPC mechanism based on message queues).
439 * This symbol, if defined, indicates that the nice routine is
442 #define HAS_NICE /**/
445 * This manifest constant lets the C program know that the three
446 * argument form of open(2) is available.
448 #define HAS_OPEN3 /**/
451 * This symbol, if defined, indicates that pathconf() is available
452 * to determine file-system related limits and options associated
453 * with a given filename.
456 * This symbol, if defined, indicates that pathconf() is available
457 * to determine file-system related limits and options associated
458 * with a given open file descriptor.
460 #define HAS_PATHCONF /**/
461 #define HAS_FPATHCONF /**/
464 * This symbol, if defined, indicates that the pause routine is
465 * available to suspend a process until a signal is received.
467 #define HAS_PAUSE /**/
470 * This symbol, if defined, indicates that the pipe routine is
471 * available to create an inter-process channel.
473 #define HAS_PIPE /**/
476 * This symbol, if defined, indicates that the poll routine is
477 * available to poll active file descriptors.
479 #define HAS_POLL /**/
482 * This symbol, if defined, indicates that the readdir routine is
483 * available to read directory entries. You may have to include
484 * <dirent.h>. See I_DIRENT.
486 #define HAS_READDIR /**/
489 * This symbol, if defined, indicates that the seekdir routine is
490 * available. You may have to include <dirent.h>. See I_DIRENT.
492 #define HAS_SEEKDIR /**/
495 * This symbol, if defined, indicates that the telldir routine is
496 * available. You may have to include <dirent.h>. See I_DIRENT.
498 #define HAS_TELLDIR /**/
501 * This symbol, if defined, indicates that the rewinddir routine is
502 * available. You may have to include <dirent.h>. See I_DIRENT.
504 #define HAS_REWINDDIR /**/
507 * This symbol, if defined, indicates that the readlink routine is
508 * available to read the value of a symbolic link.
510 #define HAS_READLINK /**/
513 * This symbol, if defined, indicates that the rename routine is available
514 * to rename files. Otherwise you should do the unlink(), link(), unlink()
517 #define HAS_RENAME /**/
520 * This symbol, if defined, indicates that the rmdir routine is
521 * available to remove directories. Otherwise you should fork off a
522 * new process to exec /bin/rmdir.
524 #define HAS_RMDIR /**/
527 * This symbol, if defined, indicates that the bcopy routine is available
528 * to copy potentially overlapping memory blocks. Otherwise you should
529 * probably use memmove() or memcpy(). If neither is defined, roll your
532 /*#define HAS_SAFE_BCOPY /**/
535 * This symbol, if defined, indicates that the memcpy routine is available
536 * to copy potentially overlapping memory blocks. Otherwise you should
537 * probably use memmove() or memcpy(). If neither is defined, roll your
540 /*#define HAS_SAFE_MEMCPY /**/
543 * This symbol, if defined, indicates that the select routine is
544 * available to select active file descriptors. If the timeout field
545 * is used, <sys/time.h> may need to be included.
547 #define HAS_SELECT /**/
550 * This symbol, if defined, indicates that the entire sem*(2) library is
556 * This symbol, if defined, indicates that the setegid routine is available
557 * to change the effective gid of the current program.
559 #define HAS_SETEGID /**/
562 * This symbol, if defined, indicates that the seteuid routine is available
563 * to change the effective uid of the current program.
565 #define HAS_SETEUID /**/
568 * This symbol, if defined, indicates that the setlinebuf routine is
569 * available to change stderr or stdout from block-buffered or unbuffered
570 * to a line-buffered mode.
572 /*#define HAS_SETLINEBUF /**/
575 * This symbol, if defined, indicates that the setlocale routine is
576 * available to handle locale-specific ctype implementations.
578 #define HAS_SETLOCALE /**/
581 * This symbol, if defined, indicates that the setpgid routine is
582 * available to set process group ID.
584 #define HAS_SETPGID /**/
587 * This symbol, if defined, indicates that the setpgrp routine is
588 * available to set the current process group.
591 * This symbol, if defined, indicates that the BSD notion of process
592 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
593 * instead of the USG setpgrp().
595 #define HAS_SETPGRP /**/
596 /*#define USE_BSDPGRP /**/
599 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
600 * routine is available to set the current process group.
602 /*#define HAS_SETPGRP2 /**/
605 * This symbol, if defined, indicates that the setpriority routine is
606 * available to set a process's priority.
608 /*#define HAS_SETPRIORITY /**/
611 * This symbol, if defined, indicates that the setregid routine is
612 * available to change the real and effective gid of the current
616 * This symbol, if defined, indicates that the setresgid routine is
617 * available to change the real, effective and saved gid of the current
620 /*#define HAS_SETREGID /**/
621 /*#define HAS_SETRESGID /**/
624 * This symbol, if defined, indicates that the setreuid routine is
625 * available to change the real and effective uid of the current
629 * This symbol, if defined, indicates that the setresuid routine is
630 * available to change the real, effective and saved uid of the current
633 /*#define HAS_SETREUID /**/
634 /*#define HAS_SETRESUID /**/
637 * This symbol, if defined, indicates that the setrgid routine is available
638 * to change the real gid of the current program.
640 /*#define HAS_SETRGID /**/
643 * This symbol, if defined, indicates that the setruid routine is available
644 * to change the real uid of the current program.
646 /*#define HAS_SETRUID /**/
649 * This symbol, if defined, indicates that the setsid routine is
650 * available to set the process group ID.
652 #define HAS_SETSID /**/
655 * This symbol, if defined, indicates that the entire shm*(2) library is
661 * This symbol holds the return type of the shmat() system call.
662 * Usually set to 'void *' or 'char *'.
664 /* HAS_SHMAT_PROTOTYPE:
665 * This symbol, if defined, indicates that the sys/shm.h includes
666 * a prototype for shmat(). Otherwise, it is up to the program to
667 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
668 * but not always right so it should be emitted by the program only
669 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
671 #define Shmat_t void * /**/
672 #define HAS_SHMAT_PROTOTYPE /**/
675 * This symbol, if defined, indicates that Vr4's sigaction() routine
678 #define HAS_SIGACTION /**/
681 * This symbol, if defined, indicates that the BSD socket interface is
685 * This symbol, if defined, indicates that the BSD socketpair() call is
688 #define HAS_SOCKET /**/
689 #define HAS_SOCKETPAIR /**/
692 * This symbol is defined if this system has a stat structure declaring
693 * st_blksize and st_blocks.
695 #define USE_STAT_BLOCKS /**/
698 * This symbol is defined if the _ptr and _cnt fields (or similar)
699 * of the stdio FILE structure can be used to access the stdio buffer
700 * for a file handle. If this is defined, then the FILE_ptr(fp)
701 * and FILE_cnt(fp) macros will also be defined and should be used
702 * to access these fields.
705 * This symbol is defined if the _base field (or similar) of the
706 * stdio FILE structure can be used to access the stdio buffer for
707 * a file handle. If this is defined, then the FILE_base(fp) macro
708 * will also be defined and should be used to access this field.
709 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
710 * to determine the number of bytes in the buffer. USE_STDIO_BASE
711 * will never be defined unless USE_STDIO_PTR is.
713 #define USE_STDIO_PTR /**/
714 #define USE_STDIO_BASE /**/
717 * This macro is used to access the _ptr field (or equivalent) of the
718 * FILE structure pointed to by its argument. This macro will always be
719 * defined if USE_STDIO_PTR is defined.
722 * This symbol is defined if the FILE_ptr macro can be used as an
726 * This macro is used to access the _cnt field (or equivalent) of the
727 * FILE structure pointed to by its argument. This macro will always be
728 * defined if USE_STDIO_PTR is defined.
731 * This symbol is defined if the FILE_cnt macro can be used as an
735 #define FILE_ptr(fp) ((fp)->_ptr)
736 #define STDIO_PTR_LVALUE /**/
737 #define FILE_cnt(fp) ((fp)->_cnt)
738 #define STDIO_CNT_LVALUE /**/
742 * This macro is used to access the _base field (or equivalent) of the
743 * FILE structure pointed to by its argument. This macro will always be
744 * defined if USE_STDIO_BASE is defined.
747 * This macro is used to determine the number of bytes in the I/O
748 * buffer pointed to by _base field (or equivalent) of the FILE
749 * structure pointed to its argument. This macro will always be defined
750 * if USE_STDIO_BASE is defined.
752 #ifdef USE_STDIO_BASE
753 #define FILE_base(fp) ((fp)->_base)
754 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
758 * This symbol is defined to indicate that the strchr()/strrchr()
759 * functions are available for string searching. If not, try the
760 * index()/rindex() pair.
763 * This symbol is defined to indicate that the index()/rindex()
764 * functions are available for string searching.
766 #define HAS_STRCHR /**/
767 /*#define HAS_INDEX /**/
770 * This symbol, if defined, indicates that the strcoll routine is
771 * available to compare strings using collating information.
773 #define HAS_STRCOLL /**/
776 * This symbol, if defined, indicates that this C compiler knows how
777 * to copy structures. If undefined, you'll need to use a block copy
778 * routine of some sort instead.
780 #define USE_STRUCT_COPY /**/
783 * This symbol, if defined, indicates that the strerror routine is
784 * available to translate error numbers to strings. See the writeup
785 * of Strerror() in this file before you try to define your own.
788 * This symbol, if defined, indicates that the sys_errlist array is
789 * available to translate error numbers to strings. The extern int
790 * sys_nerr gives the size of that table.
793 * This preprocessor symbol is defined as a macro if strerror() is
794 * not available to translate error numbers to strings but sys_errlist[]
797 #define HAS_STRERROR /**/
798 #define HAS_SYS_ERRLIST /**/
799 #define Strerror(e) strerror(e)
802 * This symbol, if defined, indicates that the strxfrm() routine is
803 * available to transform strings.
805 #define HAS_STRXFRM /**/
808 * This symbol, if defined, indicates that the symlink routine is available
809 * to create symbolic links.
811 #define HAS_SYMLINK /**/
814 * This symbol, if defined, indicates that the syscall routine is
815 * available to call arbitrary system calls. If undefined, that's tough.
817 #define HAS_SYSCALL /**/
820 * This symbol, if defined, indicates that sysconf() is available
821 * to determine system related limits and options.
823 #define HAS_SYSCONF /**/
826 * This symbol, if defined, indicates that the system routine is
827 * available to issue a shell command.
829 #define HAS_SYSTEM /**/
832 * This symbol, if defined, indicates that the tcgetpgrp routine is
833 * available to get foreground process group ID.
835 #define HAS_TCGETPGRP /**/
838 * This symbol, if defined, indicates that the tcsetpgrp routine is
839 * available to set foreground process group ID.
841 #define HAS_TCSETPGRP /**/
844 * This symbol holds the type returned by time(). It can be long,
845 * or time_t on BSD sites (in which case <sys/types.h> should be
848 #define Time_t time_t /* Time type */
851 * This symbol, if defined, indicates that the times() routine exists.
852 * Note that this became obsolete on some systems (SUNOS), which now
853 * use getrusage(). It may be necessary to include <sys/times.h>.
855 #define HAS_TIMES /**/
858 * This symbol, if defined, indicates that the truncate routine is
859 * available to truncate files.
861 #define HAS_TRUNCATE /**/
864 * This symbol, if defined, indicates that the tzname[] array is
865 * available to access timezone names.
867 #define HAS_TZNAME /**/
870 * This symbol, if defined, indicates that the umask routine is
871 * available to set and get the value of the file creation mask.
873 #define HAS_UMASK /**/
876 * This symbol, if defined, indicates that vfork() exists.
878 /*#define HAS_VFORK /**/
881 * This symbol's value is either "void" or "int", corresponding to the
882 * appropriate return type of a signal handler. Thus, you can declare
883 * a signal handler using "Signal_t (*handler)()", and define the
884 * handler using "Signal_t handler(sig)".
886 #define Signal_t void /* Signal handler's return type */
889 * This symbol, if defined, indicates that this C compiler knows about
890 * the volatile declaration.
892 #define HASVOLATILE /**/
898 * This symbol, if defined, indicates that the vprintf routine is available
899 * to printf with a pointer to an argument list. If unavailable, you
900 * may need to write your own, probably in terms of _doprnt().
902 /* USE_CHAR_VSPRINTF:
903 * This symbol is defined if this system has vsprintf() returning type
904 * (char*). The trend seems to be to declare it as "int vsprintf()". It
905 * is up to the package author to declare vsprintf correctly based on the
908 #define HAS_VPRINTF /**/
909 /*#define USE_CHAR_VSPRINTF /**/
912 * This symbol, if defined, indicates that wait4() exists.
914 /*#define HAS_WAIT4 /**/
917 * This symbol, if defined, indicates that the waitpid routine is
918 * available to wait for child process.
920 #define HAS_WAITPID /**/
923 * This symbol, if defined, indicates that the wcstombs routine is
924 * available to convert wide character strings to multibyte strings.
926 #define HAS_WCSTOMBS /**/
929 * This symbol, if defined, indicates that the wctomb routine is available
930 * to covert a wide character to a multibyte.
932 #define HAS_WCTOMB /**/
935 * This symbol holds the type used to declare file positions in libc.
936 * It can be fpos_t, long, uint, etc... It may be necessary to include
937 * <sys/types.h> to get any typedef'ed information.
939 #define Fpos_t fpos_t /* File position type */
942 * This symbol holds the return type of getgid() and the type of
943 * argument to setrgid() and related functions. Typically,
944 * it is the type of group ids in the kernel. It can be int, ushort,
945 * uid_t, etc... It may be necessary to include <sys/types.h> to get
946 * any typedef'ed information.
948 #define Gid_t gid_t /* Type for getgid(), etc... */
951 * This symbol holds the type used for the second argument to
952 * getgroups(). Usually, this is the same of gidtype, but
953 * sometimes it isn't. It can be int, ushort, uid_t, etc...
954 * It may be necessary to include <sys/types.h> to get any
955 * typedef'ed information. This is only required if you have
959 #define Groups_t gid_t /* Type for 2nd arg to getgroups() */
963 * This symbol contains the type of the prefix structure element
964 * in the <db.h> header file. In older versions of DB, it was
965 * int, while in newer ones it is u_int32_t.
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 size_t.
972 #define DB_Hash_t int /**/
973 #define DB_Prefix_t int /**/
976 * This symbol, if defined, indicates to the C program that it should
977 * include <dirent.h>. Using this symbol also triggers the definition
978 * of the Direntry_t define which ends up being 'struct dirent' or
979 * 'struct direct' depending on the availability of <dirent.h>.
982 * This symbol, if defined, indicates to the C program that the length
983 * of directory entry names is provided by a d_namlen field. Otherwise
984 * you need to do strlen() on the d_name field.
987 * This symbol is set to 'struct direct' or 'struct dirent' depending on
988 * whether dirent is available or not. You should use this pseudo type to
989 * portably declare your directory entries.
991 #define I_DIRENT /**/
992 /*#define DIRNAMLEN /**/
993 #define Direntry_t struct dirent
996 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1002 * This manifest constant tells the C program to include <fcntl.h>.
1004 #define I_FCNTL /**/
1007 * This symbol, if defined, indicates to the C program that it should
1008 * include <float.h> to get definition of symbols like DBL_MAX or
1009 * DBL_MIN, i.e. machine dependent floating point values.
1011 #define I_FLOAT /**/
1014 * This symbol, if defined, indicates to the C program that it should
1020 * This symbol, if defined, indicates to the C program that it should
1021 * include <limits.h> to get definition of symbols like WORD_BIT or
1022 * LONG_MAX, i.e. machine dependant limitations.
1024 #define I_LIMITS /**/
1027 * This symbol, if defined, indicates to the C program that it should
1033 * This symbol, if defined, indicates to the C program that it should
1034 * include <memory.h>.
1036 /*#define I_MEMORY /**/
1039 * This symbol, if defined, indicates that <ndbm.h> exists and should
1045 * This symbol, if defined, indicates that <net/errno.h> exists and
1046 * should be included.
1048 /*#define I_NET_ERRNO /**/
1051 * This symbol, if defined, indicates to the C program that it should
1052 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1054 #define I_NETINET_IN /**/
1057 * This symbol, if defined, indicates to the C program that it should
1061 * This symbol, if defined, indicates to the C program that struct passwd
1062 * contains pw_quota.
1065 * This symbol, if defined, indicates to the C program that struct passwd
1069 * This symbol, if defined, indicates to the C program that struct passwd
1070 * contains pw_change.
1073 * This symbol, if defined, indicates to the C program that struct passwd
1074 * contains pw_class.
1077 * This symbol, if defined, indicates to the C program that struct passwd
1078 * contains pw_expire.
1081 * This symbol, if defined, indicates to the C program that struct passwd
1082 * contains pw_comment.
1085 /*#define PWQUOTA /**/
1087 /*#define PWCHANGE /**/
1088 /*#define PWCLASS /**/
1089 /*#define PWEXPIRE /**/
1090 #define PWCOMMENT /**/
1093 * This symbol, if defined, indicates that <stddef.h> exists and should
1096 #define I_STDDEF /**/
1099 * This symbol, if defined, indicates that <stdlib.h> exists and should
1102 #define I_STDLIB /**/
1105 * This symbol, if defined, indicates to the C program that it should
1106 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1108 #define I_STRING /**/
1111 * This symbol, if defined, indicates to the C program that it should
1112 * include <sys/dir.h>.
1114 /*#define I_SYS_DIR /**/
1117 * This symbol, if defined, indicates to the C program that it should
1118 * include <sys/file.h> to get definition of R_OK and friends.
1120 /*#define I_SYS_FILE /**/
1123 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1124 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1126 #define I_SYS_IOCTL /**/
1129 * This symbol, if defined, indicates to the C program that it should
1130 * include <sys/ndir.h>.
1132 /*#define I_SYS_NDIR /**/
1135 * This symbol, if defined, indicates to the C program that it should
1136 * include <sys/param.h>.
1138 #define I_SYS_PARAM /**/
1141 * This symbol, if defined, indicates to the C program that it should
1142 * include <sys/select.h> in order to get definition of struct timeval.
1144 #define I_SYS_SELECT /**/
1147 * This symbol, if defined, indicates to the C program that it should
1148 * include <sys/times.h>.
1150 #define I_SYS_TIMES /**/
1153 * This symbol, if defined, indicates to the C program that it should
1154 * include <sys/types.h>.
1156 #define I_SYS_TYPES /**/
1159 * This symbol, if defined, indicates to the C program that it should
1160 * include <sys/un.h> to get UNIX domain socket definitions.
1162 #define I_SYS_UN /**/
1165 * This symbol, if defined, indicates that the program should include
1166 * <termio.h> rather than <sgtty.h>. There are also differences in
1167 * the ioctl() calls that depend on the value of this symbol.
1170 * This symbol, if defined, indicates that the program should include
1171 * the POSIX termios.h rather than sgtty.h or termio.h.
1172 * There are also differences in the ioctl() calls that depend on the
1173 * value of this symbol.
1176 * This symbol, if defined, indicates that the program should include
1177 * <sgtty.h> rather than <termio.h>. There are also differences in
1178 * the ioctl() calls that depend on the value of this symbol.
1180 /*#define I_TERMIO /**/
1181 #define I_TERMIOS /**/
1182 /*#define I_SGTTY /**/
1185 * This symbol, if defined, indicates to the C program that it should
1189 * This symbol, if defined, indicates to the C program that it should
1190 * include <sys/time.h>.
1192 /* I_SYS_TIME_KERNEL:
1193 * This symbol, if defined, indicates to the C program that it should
1194 * include <sys/time.h> with KERNEL defined.
1196 /*#define I_TIME /**/
1197 #define I_SYS_TIME /**/
1198 /*#define I_SYS_TIME_KERNEL /**/
1201 * This symbol, if defined, indicates to the C program that it should
1202 * include <unistd.h>.
1204 #define I_UNISTD /**/
1207 * This symbol, if defined, indicates to the C program that it should
1208 * include <utime.h>.
1210 #define I_UTIME /**/
1213 * This symbol, if defined, indicates to the C program that it should
1216 /*#define I_VFORK /**/
1219 * This symbol holds the type used to declare offsets in the kernel.
1220 * It can be int, long, off_t, etc... It may be necessary to include
1221 * <sys/types.h> to get any typedef'ed information.
1223 #define Off_t off_t /* <offset> type */
1226 * This symbol holds the type used to declare file modes
1227 * for systems calls. It is usually mode_t, but may be
1228 * int or unsigned short. It may be necessary to include <sys/types.h>
1229 * to get any typedef'ed information.
1231 #define Mode_t mode_t /* file mode parameter for system calls */
1234 * If defined, this macro indicates that the C compiler can handle
1235 * function prototypes.
1238 * This macro is used to declare function parameters for folks who want
1239 * to make declarations with prototypes using a different style than
1240 * the above macros. Use double parentheses. For example:
1242 * int main _((int argc, char *argv[]));
1244 #define CAN_PROTOTYPE /**/
1245 #ifdef CAN_PROTOTYPE
1246 #define _(args) args
1252 * This symbol contains the number of bits of random number the rand()
1253 * function produces. Usual values are 15, 16, and 31.
1255 #define RANDBITS 15 /**/
1258 * This symbol holds the name of the directory in which the user wants
1259 * to put publicly executable scripts for the package in question. It
1260 * is often a directory that is mounted across diverse architectures.
1261 * Programs must be prepared to deal with ~name expansion.
1263 #define SCRIPTDIR "/usr/local/script" /**/
1266 * This symbol holds the type used for the 2nd, 3rd, and 4th
1267 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1268 * is defined, and 'int *' otherwise. This is only useful if you
1269 * have select(), of course.
1271 #define Select_fd_set_t fd_set * /**/
1274 * This symbol holds the type used to declare length parameters
1275 * for string functions. It is usually size_t, but may be
1276 * unsigned long, int, etc. It may be necessary to include
1277 * <sys/types.h> to get any typedef'ed information.
1279 #define Size_t size_t /* length paramater for string functions */
1282 * This symbol holds the type used by functions that return
1283 * a count of bytes or an error condition. It must be a signed type.
1284 * It is usually ssize_t, but may be long or int, etc.
1285 * It may be necessary to include <sys/types.h> or <unistd.h>
1286 * to get any typedef'ed information.
1287 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1289 #define SSize_t ssize_t /* signed count of bytes */
1292 * This symbol is defined to be the type of char used in stdio.h.
1293 * It has the values "unsigned char" or "char".
1295 #define STDCHAR unsigned char /**/
1298 * This symbol holds the type used to declare user ids in the kernel.
1299 * It can be int, ushort, uid_t, etc... It may be necessary to include
1300 * <sys/types.h> to get any typedef'ed information.
1302 #define Uid_t uid_t /* UID type */
1305 * This symbol, if defined, indicates that the program is running under
1306 * VMS. It is currently only set in conjunction with the EUNICE symbol.
1311 * This symbol holds the complete pathname to the sed program.
1313 #define LOC_SED "/bin/sed" /**/
1316 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1317 * in programs that are not prepared to deal with ~ expansion at run-time.
1319 #define ARCHLIB_EXP "/usr/local/lib/perl5/i86pc-solaris/5.002" /**/
1322 * This symbol contains the name of the operating system, as determined
1325 #define OSNAME "solaris" /**/
1328 * This symbol hold the hexadecimal constant defined in byteorder,
1329 * i.e. 0x1234 or 0x4321, etc...
1331 #define BYTEORDER 0x1234 /* large digits for MSB */
1334 * This symbol, if defined, indicates that the C-shell exists.
1335 * If defined, contains the full pathname of csh.
1337 #define CSH "/bin/csh" /**/
1339 /* DLSYM_NEEDS_UNDERSCORE:
1340 * This symbol, if defined, indicates that we need to prepend an
1341 * underscore to the symbol name before calling dlsym(). This only
1342 * makes sense if you *have* dlsym, which we will presume is the
1343 * case if you're using dl_dlopen.xs.
1345 /*#define DLSYM_NEEDS_UNDERSCORE /* */
1347 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1348 * This symbol, if defined, indicates that the bug that prevents
1349 * setuid scripts from being secure is not present in this kernel.
1352 * This symbol, if defined, indicates that the C program should
1353 * check the script that it is executing for setuid/setgid bits, and
1354 * attempt to emulate setuid/setgid on systems that have disabled
1355 * setuid #! scripts because the kernel can't do it securely.
1356 * It is up to the package designer to make sure that this emulation
1357 * is done securely. Among other things, it should do an fstat on
1358 * the script it just opened to make sure it really is a setuid/setgid
1359 * script, it should make sure the arguments passed correspond exactly
1360 * to the argument on the #! line, and it should not trust any
1361 * subprocesses to which it must pass the filename rather than the
1362 * file descriptor of the script to be executed.
1364 #define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1365 /*#define DOSUID /**/
1368 * This preprocessor macro is defined to convert a floating point
1369 * number to a string without a trailing decimal point. This
1370 * emulates the behavior of sprintf("%g"), but is sometimes much more
1371 * efficient. If gconvert() is not available, but gcvt() drops the
1372 * trailing decimal point, then gcvt() is used. If all else fails,
1373 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1374 * macro are: value, number of digits, whether trailing zeros should
1375 * be retained, and the output buffer.
1376 * Possible values are:
1377 * d_Gconvert='gconvert((x),(n),(t),(b))'
1378 * d_Gconvert='gcvt((x),(n),(b))'
1379 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1380 * The last two assume trailing zeros should not be kept.
1382 #define Gconvert(x,n,t,b) gconvert((x),(n),(t),(b))
1385 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1388 * This macro is used in the same way as sigsetjmp(), but will invoke
1389 * traditional setjmp() if sigsetjmp isn't available.
1392 * This macro is used in the same way as siglongjmp(), but will invoke
1393 * traditional longjmp() if siglongjmp isn't available.
1395 #define HAS_SIGSETJMP /**/
1396 #ifdef HAS_SIGSETJMP
1397 #define Sigjmp_buf sigjmp_buf
1398 #define Sigsetjmp(buf,save_mask) sigsetjmp(buf,save_mask)
1399 #define Siglongjmp(buf,retval) siglongjmp(buf,retval)
1401 #define Sigjmp_buf jmp_buf
1402 #define Sigsetjmp(buf,save_mask) setjmp(buf)
1403 #define Siglongjmp(buf,retval) longjmp(buf,retval)
1406 /* USE_DYNAMIC_LOADING:
1407 * This symbol, if defined, indicates that dynamic loading of
1408 * some sort is available.
1410 #define USE_DYNAMIC_LOADING /**/
1413 * This symbol, if defined, indicates that <dbm.h> exists and should
1417 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1418 * should be included.
1420 /*#define I_DBM /**/
1421 #define I_RPCSVC_DBM /**/
1424 * This symbol, if defined, indicates to the C program that it should
1425 * include <locale.h>.
1427 #define I_LOCALE /**/
1430 * This symbol, if defined, indicates to the C program that it should
1431 * include <sys/stat.h>.
1433 #define I_SYS_STAT /**/
1436 * This symbol, if defined, indicates that <stdarg.h> exists and should
1440 * This symbol, if defined, indicates to the C program that it should
1441 * include <varargs.h>.
1443 #define I_STDARG /**/
1444 /*#define I_VARARGS /**/
1447 * This symbol contains the size of an int, so that the C preprocessor
1448 * can make decisions based on it.
1450 #define INTSIZE 4 /**/
1453 * This variable contains the return type of free(). It is usually
1454 * void, but occasionally int.
1457 * This symbol is the type of pointer returned by malloc and realloc.
1459 #define Malloc_t void * /**/
1460 #define Free_t void /**/
1463 * This symbol, if defined, indicates that we're using our own malloc.
1465 #define MYMALLOC /**/
1468 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1469 * non-blocking I/O for the file descriptor. Note that there is no way
1470 * back, i.e. you cannot turn it blocking again this way. If you wish to
1471 * alternatively switch between blocking and non-blocking, use the
1472 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1475 * This symbol holds the errno error code set by read() when no data was
1476 * present on the non-blocking file descriptor.
1479 * This symbol holds the return code from read() when no data is present
1480 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1481 * not defined, then you can't distinguish between no data and EOF by
1482 * issuing a read(). You'll have to find another way to tell for sure!
1485 * This symbol, if defined, indicates to the C program that a read() on
1486 * a non-blocking file descriptor will return 0 on EOF, and not the value
1487 * held in RD_NODATA (-1 usually, in that case!).
1489 #define VAL_O_NONBLOCK O_NONBLOCK
1490 #define VAL_EAGAIN EAGAIN
1491 #define RD_NODATA -1
1492 #define EOF_NONBLOCK
1495 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1496 * used in programs that are not prepared to deal with ~ expansion at
1499 /*#define OLDARCHLIB_EXP "" /**/
1502 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1503 * in programs that are not prepared to deal with ~ expansion at run-time.
1505 #define PRIVLIB_EXP "/usr/local/lib/perl5" /**/
1508 * This symbol contains a list of signal names in order of
1509 * signal number. This is intended
1510 * to be used as a static array initialization, like this:
1511 * char *sig_name[] = { SIG_NAME };
1512 * The signals in the list are separated with commas, and each signal
1513 * is surrounded by double quotes. There is no leading SIG in the signal
1514 * name, i.e. SIGQUIT is known as "QUIT".
1515 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1516 * etc., where nn is the actual signal number (e.g. NUM37).
1517 * The signal number for sig_name[i] is stored in sig_num[i].
1518 * The last element is 0 to terminate the list with a NULL. This
1519 * corresponds to the 0 at the end of the sig_num list.
1522 * This symbol contains a list of signal numbers, in the same order as the
1523 * SIG_NAME list. It is suitable for static array initialization, as in:
1524 * int sig_num[] = { SIG_NUM };
1525 * The signals in the list are separated with commas, and the indices
1526 * within that list and the SIG_NAME list match, so it's easy to compute
1527 * the signal name from a number or vice versa at the price of a small
1528 * dynamic linear lookup.
1529 * Duplicates are allowed, but are moved to the end of the list.
1530 * The signal number corresponding to sig_name[i] is sig_number[i].
1531 * if (i < NSIG) then sig_number[i] == i.
1532 * The last element is 0, corresponding to the 0 at the end of
1533 * the sig_name list.
1535 #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 /**/
1536 #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 /**/
1539 * This symbol contains the ~name expanded version of SITEARCH, to be used
1540 * in programs that are not prepared to deal with ~ expansion at run-time.
1542 #define SITEARCH_EXP "/usr/local/lib/perl5/site_perl/i86pc-solaris" /**/
1545 * This symbol contains the ~name expanded version of SITELIB, to be used
1546 * in programs that are not prepared to deal with ~ expansion at run-time.
1548 #define SITELIB_EXP "/usr/local/lib/perl5/site_perl" /**/
1551 * This variable contains the string to put in front of a perl
1552 * script to make sure (one hopes) that it runs with perl and not
1555 #define STARTPERL "#!/usr/local/bin/perl" /**/
1558 * This symbol indicates how much support of the void type is given by this
1559 * compiler. What various bits mean:
1561 * 1 = supports declaration of void
1562 * 2 = supports arrays of pointers to functions returning void
1563 * 4 = supports comparisons between pointers to void functions and
1564 * addresses of void functions
1565 * 8 = suports declaration of generic void pointers
1567 * The package designer should define VOIDUSED to indicate the requirements
1568 * of the package. This can be done either by #defining VOIDUSED before
1569 * including config.h, or by defining defvoidused in Myinit.U. If the
1570 * latter approach is taken, only those flags will be tested. If the
1571 * level of void support necessary is not present, defines void to int.
1576 #define VOIDFLAGS 15
1577 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1578 #define void int /* is void to be avoided? */
1579 #define M_VOID /* Xenix strikes again */