/* xconfig.h.  Generated automatically by configure.  */
/* @(#)xconfig.h.in	1.200 10/08/01 Copyright 1998-2010 J. Schilling */
/*
 *	Dynamic autoconf C-include code.
 *	Do not edit, this file has been created automatically.
 *
 *	Copyright (c) 1998-2010 J. Schilling
 */

/*
 * Header Files
 */
#define PROTOTYPES 1	/* if Compiler supports ANSI C prototypes */
#define HAVE_INLINE 1	/* if Compiler supports "inline" keyword */
#define HAVE_ASSERT_H 1	/* to use stdio.h */
#define HAVE_STDIO_H 1	/* to use stdio.h */
#define HAVE_STDARG_H 1	/* to use stdarg.h, else use varargs.h NOTE: SaberC on a Sun has prototypes but no stdarg.h */
#define HAVE_VARARGS_H 1	/* to use use varargs.h NOTE: The free HP-UX C-compiler has stdarg.h but no PROTOTYPES */
#define HAVE_STDLIB_H 1	/* to use general utility defines (malloc(), size_t ...) and general C library prototypes */
#define HAVE_STDDEF_H 1	/* to use offsetof(), ptrdiff_t, wchar_t, size_t */
#define HAVE_STRING_H 1	/* to get NULL and ANSI C string function prototypes */
#define HAVE_STRINGS_H 1	/* to get BSD string function prototypes */
#define STDC_HEADERS 1	/* if ANSI compliant stdlib.h, stdarg.h, string.h, float.h are present */
#define HAVE_UNISTD_H 1	/* to get POSIX syscall prototypes XXX sys/file.h fcntl.h (unixstd/fctl)XXX*/
#define HAVE_GETOPT_H 1	/* to get getopt() prototype from getopt.h instead of unistd.h */
#define HAVE_LIMITS_H 1	/* to get POSIX numeric limits constants */
/* #undef HAVE_A_OUT_H */	/* if a.out.h is present (may be a system using a.out format) */
/* #undef HAVE_AOUTHDR_H */	/* if aouthdr.h is present. This is a COFF system */
#define HAVE_ELF_H 1	/* if elf.h is present. This is an ELF system */
#define HAVE_FCNTL_H 1	/* to access, O_XXX constants for open(), otherwise use sys/file.h */
#define HAVE_SYS_FILE_H 1	/* to use O_XXX constants for open() and flock() defs */
#define HAVE_INTTYPES_H 1	/* to use UNIX-98 inttypes.h */
#define HAVE_STDINT_H 1	/* to use SUSv3 stdint.h */
#define HAVE_DIRENT_H 1	/* to use POSIX dirent.h */
/* #undef HAVE_SYS_DIR_H */	/* to use BSD sys/dir.h */
/* #undef HAVE_NDIR_H */	/* to use ndir.h */
/* #undef HAVE_SYS_NDIR_H */	/* to use sys/ndir.h */
#define HAVE_ALLOCA_H 1	/* if alloca.h exists */
#define HAVE_MALLOC_H 1	/* if malloc.h exists */
#define HAVE_SGTTY_H 1	/* if sgtty.h exists */
#define HAVE_TERMIOS_H 1	/* to use POSIX termios.h */
#define HAVE_TERMIO_H 1	/* to use SVR4 termio.h */
#define HAVE_PWD_H 1	/* if pwd.h exists */
#define HAVE_GRP_H 1	/* if grp.h exists */
#define HAVE_SIGNAL_H 1	/* if signal.h exists */
#define HAVE_SIGINFO_H 1	/* if siginfo.h exists */
#define HAVE_SYS_SIGINFO_H 1 /* if sys/siginfo.h exists */
#define HAVE_UCONTEXT_H 1	/* if ucontext.h exists */
#define HAVE_SYS_ACL_H 1	/* to use <sys/acl.h> for ACL definitions */
/* #undef HAVE_ACLLIB_H */	/* if HP-UX <acllib.h> is present */
/* #undef HAVE_ACL_LIBACL_H */ /* if Linux <acl/libacl.h> is present */
#define HAVE_SHADOW_H 1	/* if shadow.h exists */
#define HAVE_SYSLOG_H 1	/* if syslog.h exists */
#define HAVE_SYS_TIME_H 1	/* may include sys/time.h for struct timeval */
#define TIME_WITH_SYS_TIME 1	/* may include both time.h and sys/time.h */
#define HAVE_TIMES 1	/* to use times() and sys/times.h */
#define HAVE_SYS_TIMES_H 1	/* may include sys/times.h for struct tms */
#define HAVE_UTIME 1		/* to use AT&T utime() and utimbuf */
#define HAVE_UTIMES 1		/* to use BSD utimes() and sys/time.h */
/* #undef HAVE_FUTIMES */		/* to use BSD futimes() and sys/time.h */
/* #undef HAVE_LUTIMES */		/* to use BSD lutimes() and sys/time.h */
#define HAVE_UTIME_H 1		/* to use utime.h for the utimbuf structure declaration, else declare struct utimbuf yourself */
#define HAVE_SYS_UTIME_H 1		/* to use sys/utime.h if utime.h does not exist */
#define HAVE_SYS_IOCTL_H 1		/* if sys/ioctl.h is present */
#define HAVE_SYS_FILIO_H 1		/* if sys/ioctl.h is present */
#define HAVE_SYS_PARAM_H 1		/* if sys/param.h is present */
/* #undef HAVE_MACH_MACHINE_H */	/* if mach/machine.h is present */
/* #undef HAVE_MNTENT_H */		/* if mntent.h is present */
#define HAVE_SYS_MNTENT_H 1	/* if sys/mntent.h is present */
#define HAVE_SYS_MNTTAB_H 1	/* if sys/mnttab.h is present */
#define HAVE_SYS_MOUNT_H 1		/* if sys/mount.h is present */
#define HAVE_WAIT_H 1		/* to use wait.h for prototypes and union wait */
#define HAVE_SYS_WAIT_H 1		/* else use sys/wait.h */
#define HAVE_SYS_RESOURCE_H 1	/* to use sys/resource.h for rlimit() and wait3() */
#define HAVE_PROCFS_H 1		/* to use procfs.h instead of sys/procfs.h (Solaris forces profcs-2) */
#define HAVE_SYS_PROCFS_H 1	/* to use sys/procfs.h for wait3() emulation */
#define HAVE_SYS_SYSTEMINFO_H 1	/* to use SVr4 sysinfo() */
/* #undef HAVE_SYS_SYSCTL_H */	/* to use BSD sysctl() */
#define HAVE_SYS_UTSNAME_H 1	/* to use uname() */
#define HAVE_SYS_PRIOCNTL_H 1	/* to use SVr4 priocntl() instead of nice()/setpriority() */
#define HAVE_SYS_RTPRIOCNTL_H 1	/* if the system supports SVr4 real time classes */
#define HAVE_SYS_PROCSET_H 1	/* if the system supports SVr4 process sets */
#define HAVE_SYS_SYSCALL_H 1	/* to use syscall() */
#define HAVE_SYS_MTIO_H 1		/* to use mtio definitions from sys/mtio.h */
/* #undef HAVE_SYS_TAPE_H */		/* to use mtio definitions from AIX sys/tape.h */
#define HAVE_SYS_MMAN_H 1		/* to use definitions for mmap()/madvise()... from sys/mman.h */
#define HAVE_SYS_SHM_H 1		/* to use definitions for shmget() ... from sys/shm.h */
#define HAVE_SYS_SEM_H 1		/* to use definitions for semget() ... from sys/sem.h */
#define HAVE_SYS_IPC_H 1		/* to use definitions for ftok() ... from sys/ipc.h */
#define MAJOR_IN_MKDEV 1		/* if we should include sys/mkdev.h to get major()/minor()/makedev() */
/* #undef MAJOR_IN_SYSMACROS */	/* if we should include sys/sysmacros.h to get major()/minor()/makedev() */
#define HAVE_SYS_DKIO_H 1		/* if we may include sys/dkio.h for disk ioctls */
#define HAVE_SYS_DKLABEL_H 1	/* if we may include sys/dklabel.h for disk label */
/* #undef HAVE_SUN_DKIO_H */		/* if we may include sun/dkio.h for disk ioctls */
/* #undef HAVE_SUN_DKLABEL_H */	/* if we may include sun/dklabel.h for disk label */
#define HAVE_SYS_TYPES_H 1		/* if we may include sys/types.h (the standard) */
/* #undef HAVE_SYS_STYPES_H */	/* if we may include sys/stypes.h (JOS) */
/* #undef HAVE_SYS_FILEDESC_H */	/* if we may include sys/filedesc.h (JOS) */
#define HAVE_SYS_STAT_H 1		/* if we may include sys/stat.h (the standard) */
#define HAVE_SYS_ACCT_H 1		/* if we may include sys/acct.h */
/* #undef HAVE_TYPES_H */		/* if we may include types.h (rare cases e.g. ATARI TOS) */
/* #undef HAVE_STAT_H */		/* if we may include stat.h (rare cases e.g. ATARI TOS) */
#define HAVE_POLL_H 1		/* if we may include poll.h to use poll() */
#define HAVE_SYS_POLL_H 1		/* if we may include sys/poll.h to use poll() */
#define HAVE_SYS_SELECT_H 1	/* if we may have sys/select.h nonstandard use for select() on some systems*/
/* #undef NEED_SYS_SELECT_H */	/* if we need sys/select.h to use select() (this is nonstandard) */
#define HAVE_NETDB_H 1		/* if we have netdb.h for get*by*() and rcmd() */
#define HAVE_SYS_SOCKET_H 1	/* if we have sys/socket.h for socket() */
/* #undef NEED_SYS_SOCKET_H */	/* if we need sys/socket.h to use select() (this is nonstandard) */
#define HAVE_NETINET_IN_H 1	/* if we have netinet/in.h */
#define HAVE_STROPTS_H 1		/* if we have stropts.h */
/* #undef HAVE_LINUX_PG_H */		/* if we may include linux/pg.h for PP ATAPI sypport */
/* #undef HAVE_CAMLIB_H */		/* if we may include camlib.h for CAM SCSI transport definitions */
#define HAVE_IEEEFP_H 1		/* if we may include ieeefp.h for finite()/isnand() */
/* #undef HAVE_FP_H */		/* if we may include fp.h for FINITE()/IS_INF()/IS_NAN() */
#define HAVE_VALUES_H 1		/* if we may include values.h for MAXFLOAT */
#define HAVE_FLOAT_H 1		/* if we may include float.h for FLT_MAX */
#define HAVE_MATH_H 1		/* if we may include math.h for e.g. isinf()/isnan() */
#define HAVE__FILBUF 1		/* if we have _filbuf() for USG derived STDIO */
#define HAVE___FILBUF 1		/* if we have __filbuf() for USG derived STDIO */
#define HAVE_USG_STDIO 1		/* if we have USG derived STDIO */
#define HAVE_ERRNO_DEF 1		/* if we have errno definition in <errno.h> */
/* #undef HAVE_ENVIRON_DEF */		/* if we have environ definition in <unistd.h> */
/* #undef HAVE_SYS_SIGLIST_DEF */	/* if we have sys_siglist definition in <signal.h> */
#define HAVE_SYS_FORK_H 1		/* if we should include sys/fork.h for forkx() definitions */
/* #undef HAVE_VFORK_H */		/* if we should include vfork.h for vfork() definitions */
#define HAVE_ARPA_INET_H 1		/* if we have arpa/inet.h (missing on BeOS) */
				/* BeOS has inet_ntoa() in <netdb.h> */
/* #undef HAVE_BSD_DEV_SCSIREG_H */	/* if we have a NeXT Step compatible sg driver */
/* #undef HAVE_LINUX_TYPES_H */	/* if we may include linux/types.h */
/* #undef HAVE_LINUX_GFP_H */		/* if we may include linux/gfp.h */
/* #undef HAVE_ASM_TYPES_H */		/* if we may include asm/types.h */
/* #undef HAVE_SYS_BSDTTY_H */	/* if we have sys/bsdtty.h on HP-UX for TIOCGPGRP */
/* #undef HAVE_OS_H */		/* if we have the BeOS kernel definitions in OS.h */
/* #undef HAVE_OS2_H */		/* if we have the OS/2 definitions in os2.h */
/* #undef HAVE_OS2ME_H */		/* if we have the OS/2 definitions in os2me.h */
/* #undef HAVE_WINDOWS_H */		/* if we have the MS-Win definitions in windows.h */
/* #undef HAVE_EXT2FS_EXT2_FS_H */	/* if we have the Linux moving target ext2fs/ext2_fs.h */
/* #undef HAVE_ATTR_XATTR_H */	/* if we have the Linux Extended File Attr definitions in attr/xattr.h */
/* #undef HAVE_CRT_EXTERNS_H */	/* if we have the Mac OS X env definitions in crt_externs.h */
#define HAVE_FNMATCH_H 1		/* if we may include fnmatch.h */
/* #undef HAVE_DIRECT_H */		/* if we may include direct.h  (MSVC for getcwd()/chdir()/mkdir()/rmdir()) */
#define HAVE_SYSEXITS_H 1		/* if we may include sysexits.h */

#define HAVE_LIBINTL_H 1		/* if we may include libintl.h */
#define HAVE_LOCALE_H 1		/* if we may include locale.h */
#define HAVE_LANGINFO_H 1		/* if we may include langinfo.h */
#define HAVE_NL_TYPES_H 1		/* if we may include nl_types.h */
#define HAVE_CTYPE_H 1		/* if we may include ctype.h */
#define HAVE_WCTYPE_H 1		/* if we may include wctype.h */
#define HAVE_WCHAR_H 1		/* if we may include wchar.h */
#define HAVE_ICONV_H 1		/* if we may include iconv.h */

#define HAVE_PRIV_H 1		/* if we may include priv.h */
#define HAVE_SYS_PRIV_H 1		/* if we may include sys/priv.h */
#define HAVE_EXEC_ATTR_H 1		/* if we may include exec_attr.h */
#define HAVE_SECDB_H 1		/* if we may include secdb.h */
#define HAVE_PTHREAD_H 1		/* if we may include pthread.h */
#define HAVE_THREAD_H 1		/* if we may include thread.h */

#define HAVE_LIBGEN_H 1		/* if we may include libgen.h */
#define HAVE_REGEX_H 1		/* if we may include regex.h */
#define HAVE_REGEXP_H 1		/* if we may include regexp.h */
#define HAVE_REGEXPR_H 1		/* if we may include regexpr.h */

#define HAVE_DLFCN_H 1		/* if we may include dlfcn.h */
#define HAVE_LINK_H 1		/* if we may include linh.h */
/* #undef HAVE_DL_H */		/* if we may include dl.h */

/*
 * Convert to SCHILY name
 */
#ifdef	STDC_HEADERS
#	ifndef	HAVE_STDC_HEADERS
#		define	HAVE_STDC_HEADERS
#	endif
#endif

#ifdef	HAVE_ELF_H
#define	HAVE_ELF			/* This system uses ELF */
#else
#	ifdef	HAVE_AOUTHDR_H
#	define	HAVE_COFF		/* This system uses COFF */
#	else
#		ifdef HAVE_A_OUT_H
#		define HAVE_AOUT	/* This system uses AOUT */
#		endif
#	endif
#endif

/*
 * Function declarations
 */
#define HAVE_DECL_STAT 1		/* Whether <sys/stat.h> defines extern stat(); */
#define HAVE_DECL_LSTAT 1		/* Whether <sys/stat.h> defines extern lstat(); */

/*
 * Library Functions
 */
#define HAVE_ACCESS 1		/* access() is present in libc */
/* #undef HAVE_EACCESS */		/* eaccess() is present in libc */
/* #undef HAVE_EUIDACCESS */		/* euidaccess() is present in libc */
#define HAVE_ACCESS_E_OK 1		/* access() implements E_OK (010) for effective UIDs */
#define HAVE_CRYPT 1		/* crypt() is present in libc or libcrypt */
#define HAVE_STRERROR 1		/* strerror() is present in libc */
#define HAVE_MEMCHR 1		/* memchr() is present in libc */
#define HAVE_MEMCPY 1		/* memcpy() is present in libc */
#define HAVE_MEMMOVE 1		/* memmove() is present in libc */
#define HAVE_MEMSET 1		/* memset() is present in libc */
#define HAVE_MADVISE 1		/* madvise() is present in libc */
#define HAVE_MLOCK 1		/* mlock() is present in libc */
#define HAVE_MLOCKALL 1		/* working mlockall() is present in libc */
#define HAVE_MMAP 1		/* working mmap() is present in libc */
/* #undef _MMAP_WITH_SIZEP */		/* mmap() needs address of size parameter */
/* #undef HAVE_FLOCK */		/* *BSD flock() is present in libc */
#define HAVE_LOCKF 1		/* lockf() is present in libc (XOPEN) */
#define HAVE_FCNTL_LOCKF 1		/* file locking via fcntl() is present in libc */
#define HAVE_FCHDIR 1		/* fchdir() is present in libc */
#define HAVE_FDOPENDIR 1		/* fdopendir() is present in libc */
#define HAVE_OPENAT 1		/* openat() is present in libc */
#define HAVE_ATTROPEN 1		/* attropen() is present in libc */
#define HAVE_FSTATAT 1		/* fstatat() is present in libc */
#define HAVE_FCHOWNAT 1		/* fchownat() is present in libc */
#define HAVE_FUTIMESAT 1		/* futimesat() is present in libc */
#define HAVE_RENAMEAT 1		/* renameat() is present in libc */
#define HAVE_UNLINKAT 1		/* unlinkat() is present in libc */
#define HAVE___ACCESSAT 1		/* __accessat() is present in libc */
/* #undef HAVE_ACCESSAT */		/* accessat() is present in libc */
#define HAVE_REALPATH 1		/* realpath() is present in libc */
#define HAVE_RESOLVEPATH 1		/* resolvepath() is present in libc */
/*
 * See e.g. http://www.die.net/doc/linux/man/man2/mkdirat.2.html
 */
/* #undef HAVE_MKDIRAT */		/* mkdirat() is present in libc */
/* #undef HAVE_FACCESSAT */		/* faccessat() is present in libc */
/* #undef HAVE_FCHMODAT */		/* fchmodat() is present in libc */
/* #undef HAVE_LINKAT */		/* inkat() is present in libc */
/* #undef HAVE_MKFIFOAT */		/* mkfifoat() is present in libc */
/* #undef HAVE_MKNODKAT */		/* mknodat() is present in libc */
/* #undef HAVE_READLINKAT */		/* readlinkat() is present in libc */
/* #undef HAVE_SYMLINKAT */		/* symlinkat() is present in libc */
/* #undef HAVE_FUTIMENS */		/* futimens() is present in libc */
/* #undef HAVE_UTIMENSAT */		/* utimensat() is present in libc */
#define HAVE_POPEN 1		/* popen() is present in libc */
#define HAVE_PCLOSE 1		/* pclose() is present in libc */
#define HAVE__POPEN 1		/* _popen() is present in libc */
#define HAVE__PCLOSE 1		/* _pclose() is present in libc */
#define HAVE_STATVFS 1		/* statvfs() is present in libc */
/* #undef HAVE_QUOTACTL */		/* quotactl() is present in libc */
#define HAVE_QUOTAIOCTL 1		/* use ioctl(f, Q_QUOTACTL, &q) instead of quotactl() */
#define HAVE_GETPID 1		/* getpid() is present in libc */
#define HAVE_GETPPID 1		/* getppid() is present in libc */
#define HAVE_SETREUID 1		/* setreuid() is present in libc */
/* #undef HAVE_SETRESUID */		/* setresuid() is present in libc */
#define HAVE_SETEUID 1		/* seteuid() is present in libc */
#define HAVE_SETUID 1		/* setuid() is present in libc */
#define HAVE_SETREGID 1		/* setregid() is present in libc */
/* #undef HAVE_SETRESGID */		/* setresgid() is present in libc */
#define HAVE_SETEGID 1		/* setegid() is present in libc */
#define HAVE_SETGID 1		/* setgid() is present in libc */
#define HAVE_GETUID 1		/* getuid() is present in libc */
#define HAVE_GETEUID 1		/* geteuid() is present in libc */
#define HAVE_GETGID 1		/* getgid() is present in libc */
#define HAVE_GETEGID 1		/* getegid() is present in libc */
#define HAVE_GETPGID 1		/* getpgid() is present in libc (POSIX) */
#define HAVE_SETPGID 1		/* setpgid() is present in libc (POSIX) */
#define HAVE_GETPGRP 1		/* getpgrp() is present in libc (ANY) */
#define HAVE_GETSID 1		/* getsid() is present in libc (POSIX) */
#define HAVE_SETSID 1		/* setsid() is present in libc (POSIX) */
#define HAVE_SETPGRP 1		/* setpgrp() is present in libc (ANY) */
/* #undef HAVE_BSD_GETPGRP */		/* getpgrp() in libc is BSD-4.2 compliant */
/* #undef HAVE_BSD_SETPGRP */		/* setpgrp() in libc is BSD-4.2 compliant */
#define HAVE_GETSPNAM 1		/* getspnam() in libc (SVR4 compliant) */
/* #undef HAVE_GETSPWNAM */		/* getspwnam() in libsec.a (HP-UX) */
#define HAVE_SYNC 1		/* sync() is present in libc */
#define HAVE_FSYNC 1		/* fsync() is present in libc */
#define HAVE_TCGETATTR 1		/* tcgetattr() is present in libc */
#define HAVE_TCSETATTR 1		/* tcsetattr() is present in libc */
#define HAVE_TCGETPGRP 1		/* tcgetpgrp() is present in libc */
#define HAVE_TCSETPGRP 1		/* tcsetpgrp() is present in libc */
#define HAVE_WAIT 1		/* wait() is present in libc */
#define HAVE_WAIT3 1		/* working wait3() is present in libc */
#define HAVE_WAIT4 1		/* wait4() is present in libc */
#define HAVE_WAITID 1		/* waitid() is present in libc */
#define HAVE_WAITPID 1		/* waitpid() is present in libc */
#define HAVE_GETHOSTID 1		/* gethostid() is present in libc */
#define HAVE_GETHOSTNAME 1		/* gethostname() is present in libc */
/* #undef HAVE_GETDOMAINNAME */	/* getdomainname() is present in libc */
#define HAVE_GETPAGESIZE 1		/* getpagesize() is present in libc */
#define HAVE_GETDTABLESIZE 1	/* getdtablesize() is present in libc */
#define HAVE_GETRUSAGE 1		/* getrusage() is present in libc */
#define HAVE_GETRLIMIT 1		/* getrlimit() is present in libc */
#define HAVE_SETRLIMIT 1		/* setrlimit() is present in libc */
#define HAVE_ULIMIT 1		/* ulimit() is present in libc */
#define HAVE_GETTIMEOFDAY 1	/* gettimeofday() is present in libc */
#define HAVE_SETTIMEOFDAY 1	/* settimeofday() is present in libc */
#define HAVE_VAR_TIMEZONE 1	/* extern long timezone is present in libc */
#define HAVE_VAR_TIMEZONE_DEF 1	/* extern long timezone is present in time.h */
#define HAVE_TIME 1		/* time() is present in libc */
#define HAVE_GMTIME 1		/* gmtime() is present in libc */
#define HAVE_LOCALTIME 1		/* localtime() is present in libc */
#define HAVE_MKTIME 1		/* mktime() is present in libc */
/* #undef HAVE_TIMEGM */		/* timegm() is present in libc */
/* #undef HAVE_TIMELOCAL */		/* timelocal() is present in libc */
#define HAVE_FTIME 1		/* ftime() is present in libc */
#define HAVE_STIME 1		/* stime() is present in libc */
#define HAVE_TZSET 1		/* tzset() is present in libc */
#define HAVE_CTIME 1		/* ctime() is present in libc */
#define HAVE_CFTIME 1		/* cftime() is present in libc */
#define HAVE_ASCFTIME 1		/* ascftime() is present in libc */
#define HAVE_STRFTIME 1		/* strftime() is present in libc */
#define HAVE_GETHRTIME 1		/* gethrtime() is present in libc */
#define HAVE_POLL 1		/* poll() is present in libc */
#define HAVE_SELECT 1		/* select() is present in libc */
#define HAVE_ISASTREAM 1		/* isastream() is present in libc */
#define HAVE_CHMOD 1		/* chmod() is present in libc */
#define HAVE_FCHMOD 1		/* fchmod() is present in libc */
/* #undef HAVE_LCHMOD */		/* lchmod() is present in libc */
#define HAVE_CHOWN 1		/* chown() is present in libc */
#define HAVE_FCHOWN 1		/* fchown() is present in libc */
#define HAVE_LCHOWN 1		/* lchown() is present in libc */
#define HAVE_TRUNCATE 1		/* truncate() is present in libc */
#define HAVE_FTRUNCATE 1		/* ftruncate() is present in libc */
#define HAVE_BRK 1			/* brk() is present in libc */
#define HAVE_SBRK 1		/* sbrk() is present in libc */
#define HAVE_VA_COPY 1		/* va_copy() is present in varargs.h/stdarg.h */
#define HAVE__VA_COPY 1		/* __va_copy() is present in varargs.h/stdarg.h */
/* #undef HAVE_DTOA */		/* BSD-4.4 __dtoa() is present in libc */
/* #undef HAVE_DTOA_R */		/* BSD-4.4 __dtoa() with result ptr (reentrant) */
#define HAVE_DUP 1			/* dup() is present in libc */
#define HAVE_DUP2 1		/* dup2() is present in libc */
#define HAVE_GETCWD 1		/* POSIX getcwd() is present in libc */
#define HAVE_SMMAP 1		/* may map anonymous memory to get shared mem */
#define HAVE_SHMAT 1		/* shmat() is present in libc */
#define HAVE_SHMGET 1		/* shmget() is present in libc and working */
#define HAVE_SEMGET 1		/* semget() is present in libc */
#define HAVE_LSTAT 1		/* lstat() is present in libc */
#define HAVE_READLINK 1		/* readlink() is present in libc */
#define HAVE_SYMLINK 1		/* symlink() is present in libc */
#define HAVE_LINK 1		/* link() is present in libc */
#define HAVE_HARD_SYMLINKS 1	/* link() allows hard links on symlinks */
#define HAVE_LINK_NOFOLLOW 1	/* link() does not follow symlinks when hard linking symlinks */
#define HAVE_RENAME 1		/* rename() is present in libc */
#define HAVE_MKFIFO 1		/* mkfifo() is present in libc */
#define HAVE_MKNOD 1		/* mknod() is present in libc */
#define HAVE_ECVT 1		/* ecvt() is present in libc */
#define HAVE_FCVT 1		/* fcvt() is present in libc */
#define HAVE_GCVT 1		/* gcvt() is present in libc */
/* #undef HAVE_ECVT_R */		/* ecvt_r() is present in libc */
/* #undef HAVE_FCVT_R */		/* fcvt_r() is present in libc */
/* #undef HAVE_GCVT_R */		/* gcvt_r() is present in libc */
#define HAVE_ECONVERT 1		/* econvert() is present in libc */
#define HAVE_FCONVERT 1		/* fconvert() is present in libc */
#define HAVE_GCONVERT 1		/* gconvert() is present in libc */
/* #undef HAVE_ISINF */		/* isinf() is present in libc */
#define HAVE_ISNAN 1		/* isnan() is present in libc */
#define HAVE_C99_ISINF 1		/* isinf() is present in math.h/libc */
#define HAVE_C99_ISNAN 1		/* isnan() is present in math.h/libc */
#define HAVE_FINITE 1		/* finite() is present in libc/ieeefp.h (SVr4) */
#define HAVE_ISNAND 1		/* isnand() is present in libc/ieeefp.h (SVr4) */
#define HAVE_RAND 1		/* rand() is present in libc */
#define HAVE_DRAND48 1		/* drand48() is present in libc */
#define HAVE_ICONV 1		/* iconv() is present in libiconv */
#define HAVE_ICONV_OPEN 1		/* iconv_open() is present in libiconv */
#define HAVE_ICONV_CLOSE 1		/* iconv_close() is present in libiconc */
/* #undef HAVE_LIBICONV */		/* libiconv() is present in libiconv */
/* #undef HAVE_LIBICONV_OPEN */	/* libiconv_open() is present in liiconv */
/* #undef HAVE_LIBICONV_CLOSE */	/* libiconv_close() is present in libiconv */
#define HAVE_SETPRIORITY 1		/* setpriority() is present in libc */
#define HAVE_NICE 1		/* nice() is present in libc */
/* #undef HAVE_DOSSETPRIORITY */	/* DosSetPriority() is present in libc */
/* #undef HAVE_DOSALLOCSHAREDMEM */	/* DosAllocSharedMem() is present in libc */
#define HAVE_SEEKDIR 1		/* seekdir() is present in libc */
#define HAVE_GETENV 1		/* getenv() is present in libc */
#define HAVE_PUTENV 1		/* putenv() is present in libc (preferred function) */
#define HAVE_SETENV 1		/* setenv() is present in libc (use instead of putenv()) */
#define HAVE_UNSETENV 1		/* unsetenv() is present in libc */
#define HAVE_UNAME 1		/* uname() is present in libc */
#define HAVE_SNPRINTF 1		/* snprintf() is present in libc */
#define HAVE_STRCAT 1		/* strcat() is present in libc */
#define HAVE_STRNCAT 1		/* strncat() is present in libc */
#define HAVE_STRCMP 1		/* strcmp() is present in libc */
#define HAVE_STRNCMP 1		/* strncmp() is present in libc */
#define HAVE_STRCPY 1		/* strcpy() is present in libc */
#define HAVE_STRLCAT 1		/* strlcat() is present in libc */
#define HAVE_STRLCPY 1		/* strlcpy() is present in libc */
#define HAVE_STRNCPY 1		/* strncpy() is present in libc */
#define HAVE_STRDUP 1		/* strdup() is present in libc */
/* #undef HAVE_STRNDUP */		/* strndup() is present in libc */
#define HAVE_STRLEN 1		/* strlen() is present in libc */
#define HAVE_STRNLEN 1		/* strnlen() is present in libc */
#define HAVE_STRCHR 1		/* strchr() is present in libc */
#define HAVE_STRRCHR 1		/* strrchr() is present in libc */
#define HAVE_STRCASECMP 1		/* strcasecmp() is present in libc */
#define HAVE_BASENAME 1		/* basename() is present in libc */
#define HAVE_DIRNAME 1		/* dirname() is present in libc */
#define HAVE_PATHCONF 1		/* pathconf() is present in libc */
#define HAVE_FPATHCONF 1		/* fpathconf() is present in libc */
#define HAVE_STRTOL 1		/* strtol() is present in libc */
#define HAVE_STRTOLL 1		/* strtoll() is present in libc */
#define HAVE_STRTOUL 1		/* strtoul() is present in libc */
#define HAVE_STRTOULL 1		/* strtoull() is present in libc */
#define HAVE_STRTOD 1		/* strtold() is present in libc */
#define HAVE_STRSIGNAL 1		/* strsignal() is present in libc */
#define HAVE_STR2SIG 1		/* str2sig() is present in libc */
#define HAVE_SIG2STR 1		/* sig2str() is present in libc */
#define HAVE_SIGSETJMP 1		/* sigsetjmp() is present in libc */
#define HAVE_SIGLONGJMP 1		/* siglongjmp() is present in libc */
#define HAVE_KILL 1		/* kill() is present in libc */
#define HAVE_KILLPG 1		/* killpg() is present in libc */
#define HAVE_SIGNAL 1		/* signal() is present in libc */
#define HAVE_SIGRELSE 1		/* sigrelse() is present in libc */
#define HAVE_SIGPROCMASK 1		/* sigprocmask() is present in libc (POSIX) */
/* #undef HAVE_SIGSETMASK */		/* sigsetmask() is present in libc (BSD) */
#define HAVE_SIGSET 1		/* sigset() is present in libc (POSIX) */
#define HAVE_SIGALTSTACK 1		/* sigaltstack() is present in libc (POSIX) */
/* #undef HAVE_SYS_SIGLIST */		/* char *sys_siglist[] is present in libc */
#define HAVE_SLEEP 1		/* sleep() is present in libc */
#define HAVE_USLEEP 1		/* usleep() is present in libc */
#define HAVE_FORK 1		/* fork() is present in libc */
#define HAVE_FORKX 1		/* forkx() is present in libc */
#define HAVE_FORKALL 1		/* forkall() is present in libc */
#define HAVE_FORKALLX 1		/* forkallx() is present in libc */
#define HAVE_VFORK 1		/* working vfork() is present in libc */
#define HAVE_VFORKX 1		/* working vforkx() is present in libc */
#define HAVE_EXECL 1		/* execl() is present in libc */
#define HAVE_EXECLE 1		/* execle() is present in libc */
#define HAVE_EXECLP 1		/* execlp() is present in libc */
#define HAVE_EXECV 1		/* execv() is present in libc */
#define HAVE_EXECVE 1		/* execve() is present in libc */
#define HAVE_EXECVP 1		/* execvp() is present in libc */
#define HAVE_GETEXECNAME 1		/* getexecname() is present in libc */
/* #undef HAVE_GETPROGNAME */		/* getprogname() is present in libc */
/* #undef HAVE_SETPROGNAME */		/* setprogname() is present in libc */
#define HAVE_ALLOCA 1		/* alloca() is present (else use malloc())*/
#define HAVE_MALLOC 1		/* malloc() is present in libc */
#define HAVE_CALLOC 1		/* calloc() is present in libc */
#define HAVE_REALLOC 1		/* realloc() is present in libc */
#define HAVE_VALLOC 1		/* valloc() is present in libc (else use malloc())*/
#define HAVE_MEMALIGN 1		/* memalign() is present in libc */
#define HAVE_POSIX_MEMALIGN 1	/* posix_memalign() is present in libc */
/* #undef vfork */
#define HAVE_WCSCAT 1		/* wcscat() is present in libc */
#define HAVE_WCSNCAT 1		/* wcsncat() is present in libc */
#define HAVE_WCSCMP 1		/* wcscmp() is present in libc */
#define HAVE_WCSNCMP 1		/* wcsncmp() is present in libc */
#define HAVE_WCSCPY 1		/* wcscpy() is present in libc */
/* #undef HAVE_WCSLCAT */		/* wcsncat() is present in libc */
/* #undef HAVE_WCSLCPY */		/* wcsncpy() is present in libc */
#define HAVE_WCSNCPY 1		/* wcsncpy() is present in libc */
/* #undef HAVE_WCSDUP */		/* wcsdup() is present in libc */
/* #undef HAVE_WCSNDUP */		/* wcsndup() is present in libc */
#define HAVE_WCSLEN 1		/* wcslen() is present in libc */
/* #undef HAVE_WCSNLEN */		/* wcsnlen() is present in libc */
#define HAVE_WCSCHR 1		/* wcschr() is present in libc */
#define HAVE_WCSRCHR 1		/* wcsrchr() is present in libc */
#define HAVE_WCWIDTH 1		/* wcwidth() is present in libc */
#define HAVE_WCSWIDTH 1		/* wcswidth() is present in libc */
#define HAVE_WCTYPE 1		/* wctype() is present in libc */
#define HAVE_ISWCTYPE 1		/* iswctype() is present in libc */


/* #undef HAVE_CHFLAGS */		/* chflags() is present in libc */
/* #undef HAVE_FCHFLAGS */		/* fchflags() is present in libc */
/* #undef HAVE_FFLAGSTOSTR */		/* fflagstostr() is present in libc */
/* #undef HAVE_STRTOFFLAGS */		/* strtofflags() is present in libc */

#define HAVE_GETTEXT 1		/* gettext() is present in -lintl */
#define HAVE_SETLOCALE 1		/* setlocale() is present in libc */
#define HAVE_LOCALECONV 1		/* localeconv() is present in libc */
#define HAVE_NL_LANGINFO 1		/* nl_langinfo() is present in libc */

#define HAVE_SETBUF 1		/* setbuf() is present in libc */
#define HAVE_SETVBUF 1		/* setvbuf() is present in libc */

#define HAVE_FNMATCH 1		/* fnmatch() is present in libc */
/* #undef HAVE_FNMATCH_IGNORECASE */	/* fnmatch() implements FNM_IGNORECASE */

#define HAVE_MKTEMP 1		/* mktemp() is present in libc */
#define HAVE_MKSTEMP 1		/* mkstemp() is present in libc */

#define HAVE_GETPPRIV 1		/* getppriv() is present in libc */
#define HAVE_SETPPRIV 1		/* setppriv() is present in libc */
#define HAVE_PRIV_SET 1		/* priv_set() is present in libc */
/* #undef HAVE_GETROLES */		/* getroles() is present in libc (AIX) */
/* #undef HAVE_PRIVBIT_SET */		/* privbit_set() is present in libc (AIX) */

#define HAVE_GETAUTHATTR 1		/* getauthattr() is present in -lsecdb */
#define HAVE_GETUSERATTR 1		/* getuserattr() is present in -lsecdb */
#define HAVE_GETEXECATTR 1		/* getexecattr() is present in -lsecdb */
#define HAVE_GETPROFATTR 1		/* getprofattr() is present in -lsecdb */

#define HAVE_GMATCH 1		/* gmatch() is present in -lgen */

/* #undef HAVE_CLONE_AREA */		/* clone_area() is present in libc */
/* #undef HAVE_CREATE_AREA */		/* create_area() is present in libc */
/* #undef HAVE_DELETE_AREA */		/* delete_area() is present in libc */

#define HAVE_DLOPEN 1		/* dlopen() is present in libc */
#define HAVE_DLCLOSE 1		/* dlclose() is present in libc */
#define HAVE_DLSYM 1		/* dlsym() is present in libc */
#define HAVE_DLERROR 1		/* dlerror() is present in libc */
/* #undef HAVE_SHL_LOAD */		/* shl_load() is present in libc */
/* #undef HAVE_SHL_UNLOAD */		/* shl_unload() is present in libc */
/* #undef HAVE_SHL_GETHANDLE */	/* shl_gethandle() is present in libc */
/* #undef HAVE_LOADLOBRARY */		/* LoadLibrary() as present in libc */
/* #undef HAVE_FREELIBRARY */		/* FreeLibrary() is present in libc */
/* #undef HAVE_GETPROCADDRESS */	/* GetProcAddress() is present in libc */

#define HAVE_YIELD 1		/* yield() is present in libc */
#define HAVE_THR_YIELD 1		/* thr_yield() is present in libc */

#define HAVE_PTHREAD_CREATE 1	/* pthread_create() is present in libpthread */
#define HAVE_PTHREAD_KILL 1	/* pthread_kill() is present in libpthread */
#define HAVE_PTHREAD_MUTEX_LOCK 1	/* pthread_mutex_lock() is present in libpthread */
#define HAVE_PTHREAD_COND_WAIT 1	/* pthread_cond_wait() is present in libpthread */
#define HAVE_PTHREAD_SPIN_LOCK 1	/* pthread_spin_lock() is present in libpthread */

#define HAVE_CLOCK_GETTIME 1	/* clock_gettime() is present in librt */
#define HAVE_CLOCK_SETTIME 1	/* clock_settime() is present in librt */
#define HAVE_CLOCK_GETRES 1	/* clock_getres() is present in librt */
#define HAVE_SCHED_GETPARAM 1	/* sched_getparam() is present in librt */
#define HAVE_SCHED_SETPARAM 1	/* sched_setparam() is present in librt */
#define HAVE_SCHED_GETSCHEDULER 1	/* sched_getscheduler() is present in librt */
#define HAVE_SCHED_SETSCHEDULER 1	/* sched_setscheduler() is present in librt */
#define HAVE_SCHED_YIELD 1		/* sched_yield() is present in librt */
#define HAVE_NANOSLEEP 1		/* nanosleep() is present in librt */

#define HAVE_DIRFD 1		/* dirfd() is present in libc */
#define HAVE_ISWPRINT 1		/* iswprint() is present in libc */
#define HAVE_MBSINIT 1		/* mbsinit() is present in libc */
#define HAVE_MBRTOWC 1		/* mbrtowc() is present in libc */
#define HAVE_WCRTOMB 1		/* wcrtomb() is present in libc */

/*
 * Functions that we defined in 1982 but where POSIX.1-2008 defined
 * a POSIX violating incompatible definition.
 * We use AC_RCHECK_FUNCS(), so we get HAVE_RAW_* results as some
 * Linux distros have fexecve() that returns ENOSYS.
 */
/* #undef HAVE_RAW_FEXECL */		/* fexecl() */
/* #undef HAVE_RAW_FEXECLE */		/* fexecle() */
/* #undef HAVE_RAW_FEXECV */		/* fexecv() */
/* #undef HAVE_RAW_FEXECVE */		/* fexecve() */
/* #undef HAVE_RAW_FSPAWNV */		/* fspawnv() */
/* #undef HAVE_RAW_FSPAWNL */		/* fspawnl() */
/* #undef HAVE_RAW_FSPAWNV_NOWAIT */	/* fspawnv_nowait() */
/* #undef HAVE_RAW_GETLINE */		/* getline() */
/* #undef HAVE_RAW_FGETLINE */	/* fgetline() */


/*
 * Misc OS stuff
 */
#define HAVE_DEV_TTY 1		/* /dev/tty present */
#define HAVE_DEV_NULL 1		/* /dev/null present */
#define HAVE_DEV_ZERO 1		/* /dev/zero present */

/*
 * Misc OS programs
 */
/* #undef	SHELL_IS_BASH */		/* sh is bash */
/* #undef	BIN_SHELL_IS_BASH */	/* /bin/sh is bash */
/* #undef	SHELL_CE_IS_BROKEN */	/* sh -ce is broken */
/* #undef	BIN_SHELL_CE_IS_BROKEN */	/* /bin/sh -ce is broken */
/* #undef	BIN_SHELL_BOSH */		/* /bin/bosh is a working Bourne Shell */
/* #undef	OPT_SCHILY_BIN_SHELL_BOSH */ /* /opt/schily/bin/bosh is a working Bourne Shell */

/*
 * OS madness
 */
/* #undef HAVE_BROKEN_LINUX_EXT2_FS_H */	/* whether <linux/ext2_fs.h> is broken */
/* #undef HAVE_BROKEN_SRC_LINUX_EXT2_FS_H */	/* whether /usr/src/linux/include/linux/ext2_fs.h is broken */
/* #undef HAVE_USABLE_LINUX_EXT2_FS_H */	/* whether linux/ext2_fs.h is usable at all */
/* #undef HAVE_BROKEN_SCSI_SCSI_H */		/* whether <scsi/scsi.h> is broken */
/* #undef HAVE_BROKEN_SRC_SCSI_SCSI_H */	/* whether /usr/src/linux/include/scsi/scsi.h is broken */
/* #undef HAVE_BROKEN_SCSI_SG_H */		/* whether <scsi/sg.h> is broken */
/* #undef HAVE_BROKEN_SRC_SCSI_SG_H */	/* whether /usr/src/linux/include/scsi/sg.h is broken */

/*
 * Linux Extended File Attributes
 */
/* #undef HAVE_GETXATTR */		/* getxattr()				*/
/* #undef HAVE_SETXATTR */		/* setxattr()				*/
/* #undef HAVE_LISTXATTR */		/* listxattr()				*/
/* #undef HAVE_LGETXATTR */		/* lgetxattr()				*/
/* #undef HAVE_LSETXATTR */		/* lsetxattr()				*/
/* #undef HAVE_LLISTXATTR */		/* llistxattr()				*/

/*
 * Important:	This must be a result from a check _before_ the Large File test
 *		has been run. It then tells us whether these functions are
 *		available even when not in Large File mode.
 *
 *	Do not run the AC_FUNC_FSEEKO test from the GNU tar Large File test
 *	siute. It will use the same cache names and interfere with our test.
 *	Instead use the tests AC_SMALL_FSEEKO/AC_SMALL/STELLO and make sure
 *	they are placed before the large file tests.
 */
#define HAVE_FSEEKO 1		/* fseeko() is present in default compile mode */
#define HAVE_FTELLO 1		/* ftello() is present in default compile mode */

#define HAVE_RCMD 1		/* rcmd() is present in libc/libsocket */
#define HAVE_SOCKET 1		/* socket() is present in libc/libsocket */
#define HAVE_SOCKETPAIR 1		/* socketpair() is present in libc/libsocket */
#define HAVE_GETSERVBYNAME 1	/* getservbyname() is present in libc/libsocket */
#define HAVE_INET_NTOA 1		/* inet_ntoa() is present in libc/libsocket */
#define HAVE_GETADDRINFO 1		/* getaddrinfo() is present in libc/libsocket */
#define HAVE_GETNAMEINFO 1		/* getnameinfo() is present in libc/libsocket */

#if	defined(HAVE_QUOTACTL) || defined(HAVE_QUOTAIOCTL)
#	define HAVE_QUOTA	/* The system inludes quota */
#endif

/*
 * We need to test for the include files too because Apollo Domain/OS has a
 * libc that includes the functions but the includes files are not visible
 * from the BSD compile environment.
 *
 * ATARI MiNT has a non-working shmget(), so we test for it separately.
 */
#if	defined(HAVE_SHMAT) && defined(HAVE_SHMGET) && \
	defined(HAVE_SYS_SHM_H) && defined(HAVE_SYS_IPC_H)
#	define	HAVE_USGSHM	/* USG shared memory is present */
#endif
#if	defined(HAVE_SEMGET) && defined(HAVE_SYS_SHM_H) && defined(HAVE_SYS_IPC_H)
#	define	HAVE_USGSEM	/* USG semaphores are present */
#endif

#if	defined(HAVE_GETPGRP) && !defined(HAVE_BSD_GETPGRP)
#define	HAVE_POSIX_GETPGRP 1	/* getpgrp() in libc is POSIX compliant */
#endif
#if	defined(HAVE_SETPGRP) && !defined(HAVE_BSD_SETPGRP)
#define	HAVE_POSIX_SETPGRP 1	/* setpgrp() in libc is POSIX compliant */
#endif

/*
 * Structures
 */
#define HAVE_MTGET_TYPE 1		/* if struct mtget contains mt_type (drive type) */
/* #undef HAVE_MTGET_MODEL */		/* if struct mtget contains mt_model (drive type) */
#define HAVE_MTGET_DSREG 1		/* if struct mtget contains mt_dsreg (drive status) */
/* #undef HAVE_MTGET_DSREG1 */	/* if struct mtget contains mt_dsreg1 (drive status msb) */
/* #undef HAVE_MTGET_DSREG2 */	/* if struct mtget contains mt_dsreg2 (drive status lsb) */
/* #undef HAVE_MTGET_GSTAT */		/* if struct mtget contains mt_gstat (generic status) */
#define HAVE_MTGET_ERREG 1		/* if struct mtget contains mt_erreg (error register) */
#define HAVE_MTGET_RESID 1		/* if struct mtget contains mt_resid (residual count) */
#define HAVE_MTGET_FILENO 1	/* if struct mtget contains mt_fileno (file #) */
#define HAVE_MTGET_BLKNO 1		/* if struct mtget contains mt_blkno (block #) */
#define HAVE_MTGET_FLAGS 1		/* if struct mtget contains mt_flags (flags) */
#define HAVE_MTGET_BF 1		/* if struct mtget contains mt_bf (optimum blocking factor) */
#define HAVE_STRUCT_TIMEVAL 1	/* have struct timeval in time.h or sys/time.h */
#define HAVE_STRUCT_TIMEZONE 1	/* have struct timezone in time.h or sys/time.h */
#define HAVE_STRUCT_RUSAGE 1	/* have struct rusage in sys/resource.h */
#define HAVE_SI_UTIME 1		/* if struct siginfo contains si_utime */
/* #undef HAVE_UNION_SEMUN */		/* have an illegal definition for union semun in sys/sem.h */
/* #undef HAVE_UNION_WAIT */		/* have union wait in wait.h */
/* #undef USE_UNION_WAIT */		/* union wait in wait.h is used by default */
#define HAVE_DIRENT_D_INO 1	/* have d_ino in struct dirent */
#define HAVE_DIR_DD_FD 1		/* have dd_fd in DIR * */
/*
 * SCO UnixWare has st_atim.st__tim.tv_nsec but the st_atim.tv_nsec tests also
 * succeeds. If you use st_atim.tv_nsec on UnixWare, you get a warning about
 * illegal structure usage. For this reason, your code needs to have
 * #ifdef HAVE_ST__TIM before #ifdef HAVE_ST_NSEC.
 */
/* #undef HAVE_ST_SPARE1 */		/* if struct stat contains st_spare1 (usecs) */
/* #undef HAVE_ST_ATIMENSEC */	/* if struct stat contains st_atimensec (nanosecs) */
/* #undef HAVE_ST_ATIME_N */		/* if struct stat contains st_atime_n (nanosecs) */
#define HAVE_ST_NSEC 1		/* if struct stat contains st_atim.tv_nsec (nanosecs) */
/* #undef HAVE_ST__TIM */		/* if struct stat contains st_atim.st__tim.tv_nsec (nanosecs) */
/* #undef HAVE_ST_ATIMESPEC */	/* if struct stat contains st_atimespec.tv_nsec (nanosecs) */
#define HAVE_ST_BLKSIZE 1		/* if struct stat contains st_blksize */
#define HAVE_ST_BLOCKS 1		/* if struct stat contains st_blocks */
#define HAVE_ST_FSTYPE 1		/* if struct stat contains st_fstype */
/* #undef HAVE_ST_ACLCNT */		/* if struct stat contains st_aclcnt */
#define HAVE_ST_RDEV 1		/* if struct stat contains st_rdev */
/* #undef HAVE_ST_FLAG */		/* if struct stat contains st_flag */
/* #undef HAVE_ST_FLAGS */		/* if struct stat contains st_flags */
/* #undef STAT_MACROS_BROKEN */	/* if the macros S_ISDIR, S_ISREG .. don't work */

/* #undef HAVE_UTSNAME_ARCH */	/* if struct utsname contains processor as arch */
/* #undef HAVE_UTSNAME_PROCESSOR */	/* if struct utsname contains processor */
/* #undef HAVE_UTSNAME_SYSNAME_HOST */ /* if struct utsname contains sysname_host */
/* #undef HAVE_UTSNAME_RELEASE_HOST */ /* if struct utsname contains release_host */
/* #undef HAVE_UTSNAME_VERSION_HOST */ /* if struct utsname contains version_host */

#define DEV_MINOR_BITS 18		/* # if bits needed to hold minor device number */
/* #undef DEV_MINOR_NONCONTIG */	/* if bits in minor device number are noncontiguous */

#define HAVE_SOCKADDR_STORAGE 1	/* if socket.h defines struct sockaddr_storage */


/*
 * Byteorder/Bitorder
 */
#define	HAVE_C_BIGENDIAN	/* Flag that WORDS_BIGENDIAN test was done */
#define WORDS_BIGENDIAN 1		/* If using network byte order             */
#define	HAVE_C_BITFIELDS	/* Flag that BITFIELDS_HTOL test was done  */
#define BITFIELDS_HTOL 1		/* If high bits come first in structures   */

/*
 * Types/Keywords
 */
#define SIZEOF_CHAR 1
#define SIZEOF_SHORT_INT 2
#define SIZEOF_INT 4
#define SIZEOF_LONG_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF___INT64 0
#define SIZEOF_CHAR_P 4
#define SIZEOF_UNSIGNED_CHAR 1
#define SIZEOF_UNSIGNED_SHORT_INT 2
#define SIZEOF_UNSIGNED_INT 4
#define SIZEOF_UNSIGNED_LONG_INT 4
#define SIZEOF_UNSIGNED_LONG_LONG 8
#define SIZEOF_UNSIGNED___INT64 0
#define SIZEOF_UNSIGNED_CHAR_P 4
#define SIZEOF_FLOAT 4
#define SIZEOF_DOUBLE 8
#define SIZEOF_LONG_DOUBLE 16

#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_PTRDIFF_T 4

#define SIZEOF_TIME_T 4
#define SIZEOF_WCHAR 4		/* sizeof (L'a')	*/
#define SIZEOF_WCHAR_T 4		/* sizeof (wchar_t)	*/

#define HAVE_LONGLONG 1		/* Compiler defines long long type */
/* #undef HAVE___INT64 */		/* Compiler defines __int64 type */
#define HAVE_LONGDOUBLE 1		/* Compiler defines long double type */
/* #undef CHAR_IS_UNSIGNED */		/* Compiler defines char to be unsigned */

/* #undef const */			/* Define to empty if const doesn't work */
/* #undef uid_t */			/* To be used if uid_t is not present  */
/* #undef gid_t */			/* To be used if gid_t is not present  */
/* #undef size_t */			/* To be used if size_t is not present */
/* #undef ssize_t */			/* To be used if ssize_t is not present */
/* #undef ptrdiff_t */		/* To be used if ptrdiff_t is not present */
/* #undef pid_t */			/* To be used if pid_t is not present  */
/* #undef off_t */			/* To be used if off_t is not present  */
/* #undef mode_t */			/* To be used if mode_t is not present */
/* #undef time_t */			/* To be used if time_t is not present */
/* #undef caddr_t */			/* To be used if caddr_t is not present */
/* #undef daddr_t */			/* To be used if daddr_t is not present */
/* #undef dev_t */			/* To be used if dev_t is not present */
/* #undef major_t */			/* To be used if major_t is not present */
/* #undef minor_t */			/* To be used if minor_t is not present */
/* #undef ino_t */			/* To be used if ino_t is not present */
/* #undef nlink_t */			/* To be used if nlink_t is not present */
/* #undef blksize_t */		/* To be used if blksize_t is not present */
/* #undef blkcnt_t */			/* To be used if blkcnt_t is not present */

#define	HAVE_TYPE_INTMAX_T 1	/* if <stdint.h> defines intmax_t */
#define	HAVE_TYPE_UINTMAX_T 1	/* if <stdint.h> defines uintmax_t */

/* #undef	HAVE_TYPE_GREG_T */	/* if <sys/frame.h> defines greg_t */

#define	HAVE_STACK_T 1		/* if <signal.h> defines stack_t */
#define	HAVE_SIGINFO_T 1		/* if <signal.h> defines siginfo_t */

/*
 * Important:	Next Step needs time.h for clock_t (because of a bug)
 */
/* #undef clock_t */			/* To be used if clock_t is not present */
/* #undef socklen_t */		/* To be used if socklen_t is not present */

/*
 * These types are present on all UNIX systems but should be avoided
 * for portability.
 * On Apollo/Domain OS we don't have them....
 *
 * Better include <schily/utypes.h> and use Uchar, Uint & Ulong
 */
/* #undef u_char */			/* To be used if u_char is not present	*/
/* #undef u_short */			/* To be used if u_short is not present	*/
/* #undef u_int */			/* To be used if u_int is not present	*/
/* #undef u_long */			/* To be used if u_long is not present	*/

/* #undef wctype_t */			/* To be used if wctype_t is not in wchar.h */
/* #undef mbstate_t */		/* To be used if mbstate_t is not in wchar.h */

/*#undef HAVE_SIZE_T*/
/*#undef NO_SIZE_T*/
/* #undef VA_LIST_IS_ARRAY */		/* va_list is an array */
#define GETGROUPS_T gid_t
#define GID_T		GETGROUPS_T

/*
 * Define as the return type of signal handlers (int or void).
 */
#define RETSIGTYPE void

/*
 * Defined in case that we have iconv(iconv_t, const char **, site_t *, ...)
 */
#define HAVE_ICONV_CONST 1

/*
 * Defines needed to get large file support.
 */
#ifdef	USE_LARGEFILES

#define	HAVE_LARGEFILES 1

#ifdef	HAVE_LARGEFILES		/* If we have working largefiles at all	   */
				/* This is not defined with glibc-2.1.3	   */

#define _FILE_OFFSET_BITS 64	/* # of bits in off_t if settable	   */
/* #undef _LARGEFILE_SOURCE */	/* To make ftello() visible (HP-UX 10.20). */
/* #undef _LARGE_FILES */		/* Large file defined on AIX-style hosts.  */
/* #undef _XOPEN_SOURCE */		/* To make ftello() visible (glibc 2.1.3). */
				/* XXX We don't use this because glibc2.1.3*/
				/* XXX is bad anyway. If we define	   */
				/* XXX _XOPEN_SOURCE we will loose caddr_t */

#define HAVE_FSEEKO 1		/* Do we need this? If HAVE_LARGEFILES is  */
				/* defined, we have fseeko()		   */

#endif	/* HAVE_LARGEFILES */
#endif	/* USE_LARGEFILES */

#ifdef USE_ACL			/* Enable/disable ACL support */
/*
 * POSIX ACL support
 */
/* #undef HAVE_ACL_GET_FILE */	/* acl_get_file() function */
/* #undef HAVE_ACL_SET_FILE */	/* acl_set_file() function */
/* #undef HAVE_ACL_GET_ENTRY */	/* acl_get_entry() function */
/* #undef HAVE_ACL_FROM_TEXT */	/* acl_from_text() function */
/* #undef HAVE_ACL_TO_TEXT */		/* acl_to_text() function */
/* #undef HAVE_ACL_FREE */		/* acl_free() function */
/* #undef HAVE_ACL_DELETE_DEF_FILE */	/* acl_delete_def_file() function */
/* #undef HAVE_ACL_EXTENDED_FILE */	/* acl_extended_file() function (Linux only)*/

#if defined(HAVE_ACL_GET_FILE) && defined(HAVE_ACL_SET_FILE) && \
    defined(HAVE_ACL_FROM_TEXT) && defined(HAVE_ACL_TO_TEXT) && \
    defined(HAVE_ACL_FREE)
#	define	HAVE_POSIX_ACL	1 /* POSIX ACL's present */
#endif

/*
 * Sun ACL support.
 * Note: unfortunately, HP-UX has an (undocumented) acl() function in libc.
 */
#define HAVE_ACL 1			/* acl() function */
#define HAVE_FACL 1		/* facl() function */
#define HAVE_ACLFROMTEXT 1		/* aclfromtext() function */
#define HAVE_ACLTOTEXT 1		/* acltotext() function */

#if defined(HAVE_ACL) && defined(HAVE_FACL) && \
    defined(HAVE_ACLFROMTEXT) && defined(HAVE_ACLTOTEXT)
#	define	HAVE_SUN_ACL	1 /* Sun ACL's present */
#endif

/*
 * HP-UX ACL support.
 * Note: unfortunately, HP-UX has an (undocumented) acl() function in libc.
 */
/* #undef HAVE_GETACL */		/* getacl() function */
/* #undef HAVE_FGETACL */		/* fgetacl() function */
/* #undef HAVE_SETACL */		/* setacl() function */
/* #undef HAVE_FSETACL */		/* fsetacl() function */
/* #undef HAVE_STRTOACL */		/* strtoacl() function */
/* #undef HAVE_ACLTOSTR */		/* acltostr() function */
/* #undef HAVE_CPACL */		/* cpacl() function */
/* #undef HAVE_FCPACL */		/* fcpacl() function */
/* #undef HAVE_CHOWNACL */		/* chownacl() function */
/* #undef HAVE_SETACLENTRY */		/* setaclentry() function */
/* #undef HAVE_FSETACLENTRY */	/* fsetaclentry() function */

#if defined(HAVE_GETACL) && defined(HAVE_FGETACL) && \
    defined(HAVE_SETACL) && defined(HAVE_FSETACL) && \
    defined(HAVE_STRTOACL) && defined(HAVE_ACLTOTEXT)
#	define	HAVE_HP_ACL	1 /* HP-UX ACL's present */
#endif

/*
 * Global definition whether ACL support is present.
 * As HP-UX differs too much from other implementations, HAVE_HP_ACL is not
 * included in HAVE_ANY_ACL.
 */
#if defined(HAVE_POSIX_ACL) || defined(HAVE_SUN_ACL)
#	define	HAVE_ANY_ACL	1 /* Any ACL implementation present */
#endif

#endif	/* USE_ACL */

/*
 * Misc CC / LD related stuff
 */
/* #undef NO_USER_MALLOC */		/* If we cannot define our own malloc()	*/
/* #undef NO_USER_XCVT */		/* If we cannot define our own ecvt()/fcvt()/gcvt() */
#define HAVE_DYN_ARRAYS 1		/* If the compiler allows dynamic sized arrays */
#define HAVE_PRAGMA_WEAK 1		/* If the compiler allows #pragma weak */
#define HAVE_STRINGIZE 1		/* If the cpp supports ANSI C stringize */
/* #undef inline */

/*
 * Strings that help to maintain OS/platform id's in C-programs
 */
#define HOST_ALIAS "sparc-sun-solaris2.11"		/* Output from config.guess (orig)	*/
#define HOST_SUB "sparc-sun-solaris2.11"			/* Output from config.sub (modified)	*/
#define HOST_CPU "sparc"			/* CPU part from HOST_SUB		*/
#define HOST_VENDOR "sun"		/* VENDOR part from HOST_SUB		*/
#define HOST_OS "solaris2.11"			/* CPU part from HOST_SUB		*/


/*
 * Begin restricted code for quality assurance.
 *
 * Warning: you are not allowed to include the #define below if you are not
 * using the Schily makefile system or if you modified the autoconfiguration
 * tests.
 *
 * If you only added other tests you are allowed to keep this #define.
 *
 * This restiction is introduced because this way, I hope that people
 * contribute to the project instead of creating branches.
 */
#define	IS_SCHILY_XCONFIG
/*
 * End restricted code for quality assurance.
 */
