3 if test -f config.sh; then TOP=.;
4 elif test -f ../config.sh; then TOP=..;
5 elif test -f ../../config.sh; then TOP=../..;
6 elif test -f ../../../config.sh; then TOP=../../..;
7 elif test -f ../../../../config.sh; then TOP=../../../..;
9 echo "Can't find config.sh."; exit 1
15 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
17 echo "Extracting config.h (with variable substitutions)"
18 sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#define!' -e 's!^#un-def!#undef!'
20 * This file was produced by running the config_h.SH script, which
21 * gets its values from config.sh, which is generally produced by
24 * Feel free to modify any of this as the need arises. Note, however,
25 * that running config.h.SH again will wipe out any changes you've made.
26 * For a more permanent change edit config.sh and rerun config.h.SH.
28 * \$Id: Config_h.U,v 3.0.1.2 1993/08/24 12:13:20 ram Exp $
31 /* Configuration time: $cf_time
32 * Configured by: $cf_by
33 * Target system: $myuname
40 * This symbol, if defined, indicates that the program is being compiled
41 * under the EUNICE package under VMS. The program will need to handle
42 * things like files that don't go away the first time you unlink them,
43 * due to version numbering. It will also need to compensate for lack
44 * of a respectable link() command.
47 * This symbol, if defined, indicates that the program is running under
48 * VMS. It is currently only set in conjunction with the EUNICE symbol.
51 * This symbol, if defined, indicates that the program is running under
54 #$d_eunice EUNICE /**/
59 * This symbol contains the number of bytes required to align a
60 * double. Usual values are 2, 4 and 8.
62 #define ALIGNBYTES $alignbytes /**/
65 * This symbol holds the path of the bin directory where the package will
66 * be installed. Program must be prepared to deal with ~name substitution.
68 #define BIN "$bin" /**/
71 * This symbol hold the hexadecimal constant defined in byteorder,
72 * i.e. 0x1234 or 0x4321, etc...
74 #define BYTEORDER 0x$byteorder /* large digits for MSB */
77 * This symbol contains the first part of the string which will invoke
78 * the C preprocessor on the standard input and produce to standard
79 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
80 * call a wrapper. See CPPRUN.
83 * This symbol contains the second part of the string which will invoke
84 * the C preprocessor on the standard input and produce to standard
85 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
86 * to specify standard input, otherwise the value is "".
88 #define CPPSTDIN "$cppstdin"
89 #define CPPMINUS "$cppminus"
92 * This symbol is defined if the bcmp() routine is available to
93 * compare blocks of memory.
95 #$d_bcmp HAS_BCMP /**/
98 * This symbol is defined if the bcopy() routine is available to
99 * copy blocks of memory.
101 #$d_bcopy HAS_BCOPY /**/
104 * This symbol is defined if the bzero() routine is available to
105 * set a memory block to 0.
107 #$d_bzero HAS_BZERO /**/
110 * This symbol is defined if the C compiler can cast negative
111 * numbers to unsigned longs, ints and shorts.
114 * This symbol contains flags that say what difficulties the compiler
115 * has casting odd floating values to unsigned long:
117 * 1 = couldn't cast < 0
118 * 2 = couldn't cast >= 0x80000000
120 #$d_castneg CASTNEGFLOAT /**/
121 #define CASTFLAGS $castflags /**/
124 * This symbol is defined if this system declares "char *sprintf()" in
125 * stdio.h. The trend seems to be to declare it as "int sprintf()". It
126 * is up to the package author to declare sprintf correctly based on the
129 #$d_charsprf CHARSPRINTF /**/
132 * This symbol, if defined, indicates that the chsize routine is available
133 * to truncate files. You might need a -lx to get this routine.
135 #$d_chsize HAS_CHSIZE /**/
138 * This symbol, if defined, indicates that this C compiler knows about
139 * the const type. There is no need to actually test for that symbol
140 * within your programs. The mere use of the "const" keyword will
141 * trigger the necessary tests.
143 #$d_const HASCONST /**/
149 * This symbol, if defined, indicates that the crypt routine is available
150 * to encrypt passwords and the like.
152 #$d_crypt HAS_CRYPT /**/
155 * This symbol, if defined, indicates that the C-shell exists.
156 * If defined, contains the full pathname of csh.
158 #$d_csh CSH "$csh" /**/
161 * This symbol, if defined, indicates that the C program should
162 * check the script that it is executing for setuid/setgid bits, and
163 * attempt to emulate setuid/setgid on systems that have disabled
164 * setuid #! scripts because the kernel can't do it securely.
165 * It is up to the package designer to make sure that this emulation
166 * is done securely. Among other things, it should do an fstat on
167 * the script it just opened to make sure it really is a setuid/setgid
168 * script, it should make sure the arguments passed correspond exactly
169 * to the argument on the #! line, and it should not trust any
170 * subprocesses to which it must pass the filename rather than the
171 * file descriptor of the script to be executed.
173 #$d_dosuid DOSUID /**/
176 * This symbol, if defined, indicates that the dup2 routine is
177 * available to duplicate file descriptors.
179 #$d_dup2 HAS_DUP2 /**/
182 * This symbol, if defined, indicates that the fchmod routine is available
183 * to change mode of opened files. If unavailable, use chmod().
185 #$d_fchmod HAS_FCHMOD /**/
188 * This symbol, if defined, indicates that the fchown routine is available
189 * to change ownership of opened files. If unavailable, use chown().
191 #$d_fchown HAS_FCHOWN /**/
194 * This symbol, if defined, indicates to the C program that
195 * the fcntl() function exists.
197 #$d_fcntl HAS_FCNTL /**/
200 * This symbol, if defined, indicates that the system supports filenames
201 * longer than 14 characters.
203 #$d_flexfnam FLEXFILENAMES /**/
206 * This symbol, if defined, indicates that the flock routine is
207 * available to do file locking.
209 #$d_flock HAS_FLOCK /**/
212 * This symbol, if defined, indicates that the getgroups() routine is
213 * available to get the list of process groups. If unavailable, multiple
214 * groups are probably not supported.
216 #$d_getgrps HAS_GETGROUPS /**/
219 * This symbol, if defined, indicates that the gethostent routine is
220 * available to lookup host names in some data base or other.
222 #$d_gethent HAS_GETHOSTENT /**/
225 * This symbol, if defined, indicates that the C program may use the
226 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
229 #$d_uname HAS_UNAME /**/
232 * This symbol, if defined, indicates that the getpgrp routine is
233 * available to get the current process group.
235 #$d_getpgrp HAS_GETPGRP /**/
238 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
239 * routine is available to get the current process group.
241 #$d_getpgrp2 HAS_GETPGRP2 /**/
244 * This symbol, if defined, indicates that the getpriority routine is
245 * available to get a process's priority.
247 #$d_getprior HAS_GETPRIORITY /**/
250 * This symbol, if defined, indicates that the htonl() routine (and
251 * friends htons() ntohl() ntohs()) are available to do network
252 * order byte swapping.
255 * This symbol, if defined, indicates that the htons() routine (and
256 * friends htonl() ntohl() ntohs()) are available to do network
257 * order byte swapping.
260 * This symbol, if defined, indicates that the ntohl() routine (and
261 * friends htonl() htons() ntohs()) are available to do network
262 * order byte swapping.
265 * This symbol, if defined, indicates that the ntohs() routine (and
266 * friends htonl() htons() ntohl()) are available to do network
267 * order byte swapping.
269 #$d_htonl HAS_HTONL /**/
270 #$d_htonl HAS_HTONS /**/
271 #$d_htonl HAS_NTOHL /**/
272 #$d_htonl HAS_NTOHS /**/
275 * This symbol, if defined, indicates that the killpg routine is available
276 * to kill process groups. If unavailable, you probably should use kill
277 * with a negative process number.
279 #$d_killpg HAS_KILLPG /**/
282 * This symbol, if defined, indicates that the link routine is
283 * available to create hard links.
285 #$d_link HAS_LINK /**/
288 * This symbol, if defined, indicates that the lstat routine is
289 * available to do file stats on symbolic links.
291 #$d_lstat HAS_LSTAT /**/
294 * This symbol, if defined, indicates that the memcmp routine is available
295 * to compare blocks of memory.
297 #$d_memcmp HAS_MEMCMP /**/
300 * This symbol, if defined, indicates that the memcpy routine is available
301 * to copy blocks of memory.
303 #$d_memcpy HAS_MEMCPY /**/
306 * This symbol, if defined, indicates that the memmove routine is available
307 * to copy potentially overlapping blocks of memory. This should be used
308 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
311 #$d_memmove HAS_MEMMOVE /**/
314 * This symbol, if defined, indicates that the memset routine is available
315 * to set blocks of memory.
317 #$d_memset HAS_MEMSET /**/
320 * This symbol, if defined, indicates that the mkdir routine is available
321 * to create directories. Otherwise you should fork off a new process to
324 #$d_mkdir HAS_MKDIR /**/
327 * This symbol, if defined, indicates that the entire msg*(2) library is
328 * supported (IPC mechanism based on message queues).
333 * This symbol, if defined, indicates that the msgctl() routine is
334 * available to perform message control operations.
336 #$d_msgctl HAS_MSGCTL /**/
339 * This symbol, if defined, indicates that the msgget() routine is
340 * available to get a new message queue.
342 #$d_msgget HAS_MSGGET /**/
345 * This symbol, if defined, indicates that the msgrcv() routine is
346 * available to extract a message from the message queue.
348 #$d_msgrcv HAS_MSGRCV /**/
351 * This symbol, if defined, indicates that the msgsnd() routine is
352 * available to send a message into the message queue.
354 #$d_msgsnd HAS_MSGSND /**/
357 * This manifest constant lets the C program know that the three
358 * argument form of open(2) is available.
360 #$d_open3 HAS_OPEN3 /**/
363 * This symbol, if defined, indicates that the readdir routine is
364 * available to read directory entries. You may have to include
365 * <dirent.h>. See I_DIRENT.
367 #$d_readdir HAS_READDIR /**/
370 * This symbol, if defined, indicates that the rename routine is available
371 * to rename files. Otherwise you should do the unlink(), link(), unlink()
374 #$d_rename HAS_RENAME /**/
377 * This symbol, if defined, indicates that the rmdir routine is
378 * available to remove directories. Otherwise you should fork off a
379 * new process to exec /bin/rmdir.
381 #$d_rmdir HAS_RMDIR /**/
384 * This symbol, if defined, indicates that the bcopy routine is available
385 * to copy potentially overlapping memory blocks. Otherwise you should
386 * probably use memmove() or memcpy(). If neither is defined, roll your
389 #$d_safebcpy HAS_SAFE_BCOPY /**/
392 * This symbol, if defined, indicates that the memcpy routine is available
393 * to copy potentially overlapping memory blocks. Otherwise you should
394 * probably use memmove() or memcpy(). If neither is defined, roll your
397 #$d_safemcpy HAS_SAFE_MEMCPY /**/
400 * This symbol, if defined, indicates that the select routine is
401 * available to select active file descriptors. If the timeout field
402 * is used, <sys/time.h> may need to be included.
404 #$d_select HAS_SELECT /**/
407 * This symbol, if defined, indicates that the entire sem*(2) library is
413 * This symbol, if defined, indicates that the semctl() routine is
414 * available to perform semaphore control operations.
416 #$d_semctl HAS_SEMCTL /**/
419 * This symbol, if defined, indicates that the semget() routine is
420 * available to get a set of semaphores.
422 #$d_semget HAS_SEMGET /**/
425 * This symbol, if defined, indicates that the semop() routine is
426 * available to execute semaphore operations.
428 #$d_semop HAS_SEMOP /**/
431 * This symbol, if defined, indicates that the setegid routine is available
432 * to change the effective gid of the current program.
434 #$d_setegid HAS_SETEGID /**/
437 * This symbol, if defined, indicates that the seteuid routine is available
438 * to change the effective uid of the current program.
440 #$d_seteuid HAS_SETEUID /**/
443 * This symbol, if defined, indicates that the setpgid routine is
444 * available to set process group ID.
446 #$d_setpgid HAS_SETPGID /**/
449 * This symbol, if defined, indicates that the setpgrp routine is
450 * available to set the current process group.
452 #$d_setpgrp HAS_SETPGRP /**/
455 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
456 * routine is available to set the current process group.
458 #$d_setpgrp2 HAS_SETPGRP2 /**/
461 * This symbol, if defined, indicates that the setpriority routine is
462 * available to set a process's priority.
464 #$d_setprior HAS_SETPRIORITY /**/
467 * This symbol, if defined, indicates that the setregid routine is
468 * available to change the real and effective gid of the current
472 * This symbol, if defined, indicates that the setresgid routine is
473 * available to change the real, effective and saved gid of the current
476 #$d_setregid HAS_SETREGID /**/
477 #$d_setresgid HAS_SETRESGID /**/
480 * This symbol, if defined, indicates that the setreuid routine is
481 * available to change the real and effective uid of the current
485 * This symbol, if defined, indicates that the setresuid routine is
486 * available to change the real, effective and saved uid of the current
489 #$d_setreuid HAS_SETREUID /**/
490 #$d_setresuid HAS_SETRESUID /**/
493 * This symbol, if defined, indicates that the setrgid routine is available
494 * to change the real gid of the current program.
496 #$d_setrgid HAS_SETRGID /**/
499 * This symbol, if defined, indicates that the setruid routine is available
500 * to change the real uid of the current program.
502 #$d_setruid HAS_SETRUID /**/
505 * This symbol, if defined, indicates that the setsid routine is
506 * available to set the process group ID.
508 #$d_setsid HAS_SETSID /**/
511 * This symbol, if defined, indicates that the entire shm*(2) library is
517 * This symbol, if defined, indicates that the shmat() routine is
518 * available to attach a shared memory segment to the process space.
520 #$d_shmat HAS_SHMAT /**/
523 * This symbol, if defined, indicates that the shmctl() routine is
524 * available to perform shared memory control operations.
526 #$d_shmctl HAS_SHMCTL /**/
529 * This symbol, if defined, indicates that the shmdt() routine is
530 * available to detach a shared memory segment from the process space.
532 #$d_shmdt HAS_SHMDT /**/
535 * This symbol, if defined, indicates that the shmget() routine is
536 * available to request a shared memory segment from the kernel.
538 #$d_shmget HAS_SHMGET /**/
541 * This symbol, if defined, indicates that the BSD socket interface is
545 * This symbol, if defined, indicates that the BSD socketpair() call is
549 * This symbol, if defined, indicates that the 4.1c BSD socket interface
550 * is supported instead of the 4.2/4.3 BSD socket interface. For instance,
551 * there is no setsockopt() call.
553 #$d_socket HAS_SOCKET /**/
554 #$d_sockpair HAS_SOCKETPAIR /**/
555 #$d_oldsock USE_OLDSOCKET /**/
558 * This symbol is defined if this system has a stat structure declaring
559 * st_blksize and st_blocks.
561 #$d_statblks USE_STAT_BLOCKS /**/
564 * This symbol is defined if this system has a FILE structure declaring
565 * _ptr and _cnt in stdio.h.
567 #$d_stdstdio USE_STD_STDIO /**/
570 * This symbol, if defined, indicates that this C compiler knows how
571 * to copy structures. If undefined, you'll need to use a block copy
572 * routine of some sort instead.
574 #$d_strctcpy USE_STRUCT_COPY /**/
577 * This symbol, if defined, indicates that the symlink routine is available
578 * to create symbolic links.
580 #$d_symlink HAS_SYMLINK /**/
583 * This symbol, if defined, indicates that the syscall routine is
584 * available to call arbitrary system calls. If undefined, that's tough.
586 #$d_syscall HAS_SYSCALL /**/
589 * This symbol, if defined, indicates that the system routine is
590 * available to issue a shell command.
592 #$d_system HAS_SYSTEM /**/
595 * This symbol, if defined, indicates that the times() routine exists.
596 * Note that this became obsolete on some systems (SUNOS), which now
597 * use getrusage(). It may be necessary to include <sys/times.h>.
599 #$d_times HAS_TIMES /**/
602 * This symbol, if defined, indicates that the truncate routine is
603 * available to truncate files.
605 #$d_truncate HAS_TRUNCATE /**/
608 * This symbol, if defined, indicates that the program should include the
609 * system's version of ndir.h, rather than the one with this package.
614 * This symbol, if defined, indicates that vfork() exists.
616 #$d_vfork HAS_VFORK /**/
619 * This symbol is defined if this system declares "void (*signal(...))()" in
620 * signal.h. The old way was to declare it as "int (*signal(...))()". It
621 * is up to the package author to declare things correctly based on the
624 #$d_voidsig VOIDSIG /**/
627 * This symbol, if defined, indicates that this C compiler knows about
628 * the volatile declaration.
630 #$d_volatile HASVOLATILE /**/
636 * This symbol, if defined, indicates that the vprintf routine is available
637 * to printf with a pointer to an argument list. If unavailable, you
638 * may need to write your own, probably in terms of _doprnt().
640 /* USE_CHAR_VSPRINTF:
641 * This symbol is defined if this system has vsprintf() returning type
642 * (char*). The trend seems to be to declare it as "int vsprintf()". It
643 * is up to the package author to declare vsprintf correctly based on the
646 #$d_vprintf HAS_VPRINTF /**/
647 #$d_charvspr USE_CHAR_VSPRINTF /**/
650 * This symbol, if defined, indicates that wait4() exists.
652 #$d_wait4 HAS_WAIT4 /**/
655 * This symbol, if defined, indicates that the waitpid routine is
656 * available to wait for child process.
658 #$d_waitpid HAS_WAITPID /**/
661 * This symbol, if defined, indicates to the C program that it should
667 * This symbol, if defined, indicates to the C program that it should
668 * include <dirent.h>. Using this symbol also triggers the definition
669 * of the Direntry_t define which ends up being 'struct dirent' or
670 * 'struct direct' depending on the availability of <dirent.h>.
673 * This symbol, if defined, indicates to the C program that the length
674 * of directory entry names is provided by a d_namlen field. Otherwise
675 * you need to do strlen() on the d_name field.
677 #$i_dirent I_DIRENT /**/
678 #$d_dirnamlen DIRNAMLEN /**/
680 #define Direntry_t struct dirent
682 #define Direntry_t struct direct
686 * This manifest constant tells the C program to include <fcntl.h>.
688 #$i_fcntl I_FCNTL /**/
691 * This symbol, if defined, indicates that gdbm.h exists and should
697 * This symbol, if defined, indicates to the C program that it should
703 * This symbol, if defined, indicates that ndbm.h exists and should
709 * This symbol, if defined, indicates to the C program that it should
710 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
713 * This symbol, if defined, indicates to the C program that it should
714 * include <sys/in.h> instead of <netinet/in.h>.
716 #$i_niin I_NETINET_IN /**/
717 #$i_sysin I_SYS_IN /**/
720 * This symbol, if defined, indicates to the C program that it should
724 * This symbol, if defined, indicates to the C program that struct passwd
728 * This symbol, if defined, indicates to the C program that struct passwd
732 * This symbol, if defined, indicates to the C program that struct passwd
733 * contains pw_change.
736 * This symbol, if defined, indicates to the C program that struct passwd
740 * This symbol, if defined, indicates to the C program that struct passwd
741 * contains pw_expire.
744 * This symbol, if defined, indicates to the C program that struct passwd
745 * contains pw_comment.
748 #$d_pwquota PWQUOTA /**/
750 #$d_pwchange PWCHANGE /**/
751 #$d_pwclass PWCLASS /**/
752 #$d_pwexpire PWEXPIRE /**/
753 #$d_pwcomment PWCOMMENT /**/
756 * This symbol, if defined, indicates that <stdarg.h> exists and should
759 #$i_stdarg I_STDARG /**/
762 * This symbol, if defined, indicates that <stddef.h> exists and should
765 #$i_stddef I_STDDEF /**/
768 * This symbol, if defined, indicates to the C program that it should
769 * include <sys/dir.h>.
771 #$i_sysdir I_SYS_DIR /**/
774 * This symbol, if defined, indicates to the C program that it should
775 * include <sys/file.h> to get definition of R_OK and friends.
777 #$i_sysfile I_SYS_FILE /**/
780 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
781 * be included. Otherwise, include <sgtty.h> or <termio.h>.
783 #$i_sysioctl I_SYS_IOCTL /**/
786 * This symbol, if defined, indicates to the C program that it should
787 * include <sys/ndir.h>.
789 #$i_sysndir I_SYS_NDIR /**/
792 * This symbol, if defined, indicates to the C program that it should
793 * include <sys/select.h> in order to get definition of struct timeval.
795 #$i_sysselct I_SYS_SELECT /**/
798 * This symbol, if defined, indicates to the C program that it should
802 * This symbol, if defined, indicates to the C program that it should
803 * include <sys/time.h>.
806 #$i_systime I_SYS_TIME /**/
809 * This symbol, if defined, indicates to the C program that it should
812 #$i_utime I_UTIME /**/
815 * This symbol, if defined, indicates to the C program that it should
816 * include <varargs.h>.
818 #$i_varargs I_VARARGS /**/
821 * This symbol, if defined, indicates to the C program that it should
824 #$i_vfork I_VFORK /**/
827 * This symbol contains the size of an int, so that the C preprocessor
828 * can make decisions based on it.
830 #define INTSIZE $intsize /**/
833 * This symbol contains the name of the private library for this package.
834 * The library is private in the sense that it needn't be in anyone's
835 * execution path, but it should be accessible by the world. The program
836 * should be prepared to do ~ expansion.
838 #define PRIVLIB "$privlib" /**/
841 * This symbol contains the number of bits of random number the rand()
842 * function produces. Usual values are 15, 16, and 31.
844 #define RANDBITS $randbits /**/
847 * This symbol holds the name of the directory in which the user wants
848 * to put publicly executable scripts for the package in question. It
849 * is often a directory that is mounted across diverse architectures.
850 * Programs must be prepared to deal with ~name expansion.
852 #define SCRIPTDIR "$scriptdir" /**/
855 * This symbol contains a list of signal names in order. This is intended
856 * to be used as a static array initialization, like this:
857 * char *sig_name[] = { SIG_NAME };
858 * The signals in the list are separated with commas, and each signal
859 * is surrounded by double quotes. There is no leading SIG in the signal
860 * name, i.e. SIGQUIT is known as "QUIT".
862 #define SIG_NAME "`echo $sig_name | sed 's/ /","/g'`" /**/
865 * This symbol is defined to be the type of char used in stdio.h.
866 * It has the values "unsigned char" or "char".
868 #define STDCHAR $stdchar /**/
871 * This symbol holds the type used to declare user ids in the kernel.
872 * It can be int, ushort, uid_t, etc... It may be necessary to include
873 * <sys/types.h> to get any typedef'ed information.
875 #define Uid_t $uidtype /* UID type */
878 * This symbol is defined if the C compiler can cast negative
879 * or large floating point numbers to 32-bit ints.
881 #$d_casti32 CASTI32 /**/
884 * This manifest constant lets the C program know that the
885 * isascii is available.
887 #$d_isascii HAS_ISASCII /**/
890 * This symbol, if defined, indicates that the setlocale routine is
891 * available to handle locale-specific ctype implementations.
893 #$d_setlocale HAS_SETLOCALE /**/
896 * This symbol, if defined, indicates that the strerror routine is
897 * available to translate error numbers to strings. See the writeup
898 * of Strerror() in this file before you try to define your own.
901 * This symbol, if defined, indicates that the sys_errlist array is
902 * available to translate error numbers to strings. The extern int
903 * sys_nerr gives the size of that table.
906 * This preprocessor symbol is defined as a macro if strerror() is
907 * not available to translate error numbers to strings but sys_errlist[]
910 #$d_strerror HAS_STRERROR /**/
911 #$d_syserrlst HAS_SYS_ERRLIST /**/
913 # define Strerror strerror
915 #$d_strerrm Strerror(e) ((e)<0||(e)>=sys_nerr?"unknown":sys_errlist[e]) /**/
918 /* USE_DYNAMIC_LOADING:
919 * This symbol, if defined, indicates that dynamic loading of
920 * some sort is available.
922 #$usedl USE_DYNAMIC_LOADING /**/
925 * This symbol holds the return type of getgid() and the type of
926 * argument to setrgid() and related functions. Typically,
927 * it is the type of group ids in the kernel.
928 * It can be int, ushort, uid_t, etc... It may be necessary to include
929 * <sys/types.h> to get any typedef'ed information.
931 #define Gid_t $gidtype /* Type for getgid(), etc... */
934 * This symbol holds the type used for the second argument to
935 * getgroups(). Usually, this is the same of gidtype, but
936 * sometimes it isn't. It can be int, ushort, uid_t, etc...
937 * It may be necessary to include <sys/types.h> to get any
938 * typedef'ed information. This is only required if you have
942 #define GROUPSTYPE $groupstype /* Type for 2nd arg to getgroups() */
946 * This symbol is the type of pointer returned by malloc and realloc.
948 #define Malloc_t $malloctype /**/
951 * If defined, this macro indicates that the C compiler can handle
952 * function prototypes.
954 #$prototype CAN_PROTOTYPE /**/
960 * This symbol indicates how much support of the void type is given by this
961 * compiler. What various bits mean:
963 * 1 = supports declaration of void
964 * 2 = supports arrays of pointers to functions returning void
965 * 4 = supports comparisons between pointers to void functions and
966 * addresses of void functions
967 * 8 = suports declaration of generic void pointers
969 * The package designer should define VOIDUSED to indicate the requirements
970 * of the package. This can be done either by #defining VOIDUSED before
971 * including config.h, or by defining defvoidused in Myinit.U. If the
972 * latter approach is taken, only those flags will be tested. If the
973 * level of void support necessary is not present, defines void to int.
977 # define VOIDUSED VOIDWANT
979 # define VOIDUSED $defvoidused
982 #define VOIDFLAGS $voidflags
983 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
984 # define void int /* is void to be avoided? */
985 # define M_VOID /* Xenix strikes again */
992 * The following symbols are obsolete. They are mapped to the the new
993 * symbols only to ease the transition process. The sources should be
994 * updated so as to use the new symbols only, as the support for these
995 * obsolete symbols may end without notice.
998 #ifdef USE_CHAR_VSPRINTF
999 #define CHARVSPRINTF USE_CHAR_VSPRINTF
1003 #define GIDTYPE Gid_t
1007 #define HAS_GDBM I_GDBM
1010 #ifdef HAS_SAFE_BCOPY
1011 #define SAFE_BCOPY HAS_SAFE_BCOPY
1014 #ifdef USE_STAT_BLOCKS
1015 #define STATBLOCKS USE_STAT_BLOCKS
1018 #ifdef USE_STD_STDIO
1019 #define STDSTDIO USE_STD_STDIO
1023 #define UIDTYPE Uid_t