/* @(#)xconfig.h.in	1.231 13/09/30 Copyright 1998-2013 J. Schilling */
/*
 *	Dynamic autoconf C-include code.
 *	Do not edit, this file has been created automatically.
 *
 *	Copyright (c) 1998-2013 J. Schilling
 *
 *	The layout for this file is controlled by "configure".
 *	Switch off cstyle(1) checks for now.
 */
#ifndef	__XCONFIG_H
#define	__XCONFIG_H
/* BEGIN CSTYLED */

/*
 * Header Files
 */
#undef PROTOTYPES	/* if Compiler supports ANSI C prototypes */
#undef HAVE_INLINE	/* if Compiler supports "inline" keyword */
#undef HAVE_ASSERT_H	/* to use stdio.h */
#undef HAVE_STDIO_H	/* to use stdio.h */
#undef HAVE_STDARG_H	/* to use stdarg.h, else use varargs.h NOTE: SaberC on a Sun has prototypes but no stdarg.h */
#undef HAVE_VARARGS_H	/* to use use varargs.h NOTE: The free HP-UX C-compiler has stdarg.h but no PROTOTYPES */
#undef HAVE_STDLIB_H	/* to use general utility defines (malloc(), size_t ...) and general C library prototypes */
#undef HAVE_STDDEF_H	/* to use offsetof(), ptrdiff_t, wchar_t, size_t */
#undef HAVE_STRING_H	/* to get NULL and ANSI C string function prototypes */
#undef HAVE_STRINGS_H	/* to get BSD string function prototypes */
#undef STDC_HEADERS	/* if ANSI compliant stdlib.h, stdarg.h, string.h, float.h are present */
#undef HAVE_UNISTD_H	/* to get POSIX syscall prototypes XXX sys/file.h fcntl.h (unixstd/fctl)XXX*/
#undef HAVE_GETOPT_H	/* to get getopt() prototype from getopt.h instead of unistd.h */
#undef HAVE_LIMITS_H	/* 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 */
#undef HAVE_ELF_H	/* if elf.h is present. This is an ELF system */
#undef HAVE_FCNTL_H	/* to access, O_XXX constants for open(), otherwise use sys/file.h */
#undef HAVE_IO_H	/* to access setmode()... from WIN-DOS, OS/2 and similar */
#undef HAVE_CONIO_H	/* to access getch()... from WIN-DOS, OS/2 and similar */
#undef HAVE_SYS_FILE_H	/* to use O_XXX constants for open() and flock() defs */
#undef HAVE_INTTYPES_H	/* to use UNIX-98 inttypes.h */
#undef HAVE_STDINT_H	/* to use SUSv3 stdint.h */
#undef HAVE_DIRENT_H	/* 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 */
#undef HAVE_ALLOCA_H	/* if alloca.h exists */
#undef HAVE_MALLOC_H	/* if malloc.h exists */
#undef HAVE_SGTTY_H	/* if sgtty.h exists */
#undef HAVE_TERMIOS_H	/* to use POSIX termios.h */
#undef HAVE_TERMIO_H	/* to use SVR4 termio.h */
#undef HAVE_PWD_H	/* if pwd.h exists */
#undef HAVE_GRP_H	/* if grp.h exists */
#undef HAVE_SIGNAL_H	/* if signal.h exists */
#undef HAVE_SIGINFO_H	/* if siginfo.h exists */
#undef HAVE_SYS_SIGINFO_H /* if sys/siginfo.h exists */
#undef HAVE_UCONTEXT_H	/* if ucontext.h exists */
#undef HAVE_SYS_ACL_H	/* 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 */
#undef HAVE_SHADOW_H	/* if shadow.h exists */
#undef HAVE_SYSLOG_H	/* if syslog.h exists */
#undef HAVE_SYS_TIME_H	/* may include sys/time.h for struct timeval */
#undef TIME_WITH_SYS_TIME	/* may include both time.h and sys/time.h */
#undef HAVE_TIMES	/* to use times() and sys/times.h */
#undef HAVE_SYS_TIMES_H	/* may include sys/times.h for struct tms */
#undef HAVE_UTIME		/* to use AT&T utime() and utimbuf */
#undef HAVE_UTIMES		/* 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 */
#undef HAVE_UTIME_H		/* to use utime.h for the utimbuf structure declaration, else declare struct utimbuf yourself */
#undef HAVE_SYS_UTIME_H		/* to use sys/utime.h if utime.h does not exist */
#undef HAVE_SYS_IOCTL_H		/* if sys/ioctl.h is present */
#undef HAVE_SYS_FILIO_H		/* if sys/ioctl.h is present */
#undef HAVE_SYS_PARAM_H		/* 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 */
#undef HAVE_SYS_MNTENT_H	/* if sys/mntent.h is present */
#undef HAVE_SYS_MNTTAB_H	/* if sys/mnttab.h is present */
#undef HAVE_SYS_MOUNT_H		/* if sys/mount.h is present */
#undef HAVE_WAIT_H		/* to use wait.h for prototypes and union wait */
#undef HAVE_SYS_WAIT_H		/* else use sys/wait.h */
#undef HAVE_ULIMIT_H		/* to use ulimit() as fallback for getrlimit()  */
#undef HAVE_PROCESS_H		/* to use process.h for spawn*() and cwait() */
#undef HAVE_SYS_RESOURCE_H	/* to use sys/resource.h for rlimit() and wait3() */
#undef HAVE_PROCFS_H		/* to use procfs.h instead of sys/procfs.h (Solaris forces profcs-2) */
#undef HAVE_SYS_PROCFS_H	/* to use sys/procfs.h for wait3() emulation */
#undef HAVE_LIBPROC_H		/* to use libproc.h (Mac OS X) */
#undef HAVE_SYS_SYSTEMINFO_H	/* to use SVr4 sysinfo() */
#undef HAVE_SYS_SYSCTL_H	/* to use BSD sysctl() */
#undef HAVE_SYS_UTSNAME_H	/* to use uname() */
#undef HAVE_SYS_PRIOCNTL_H	/* to use SVr4 priocntl() instead of nice()/setpriority() */
#undef HAVE_SYS_RTPRIOCNTL_H	/* if the system supports SVr4 real time classes */
#undef HAVE_SYS_PROCSET_H	/* if the system supports SVr4 process sets */
#undef HAVE_SYS_SYSCALL_H	/* to use syscall() */
#undef HAVE_SYS_MTIO_H		/* to use mtio definitions from sys/mtio.h */
#undef HAVE_SYS_TAPE_H		/* to use mtio definitions from AIX sys/tape.h */
#undef HAVE_SYS_MMAN_H		/* to use definitions for mmap()/madvise()... from sys/mman.h */
#undef HAVE_SYS_SHM_H		/* to use definitions for shmget() ... from sys/shm.h */
#undef HAVE_SYS_SEM_H		/* to use definitions for semget() ... from sys/sem.h */
#undef HAVE_SYS_IPC_H		/* to use definitions for ftok() ... from sys/ipc.h */
#undef MAJOR_IN_MKDEV		/* 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() */
#undef HAVE_SYS_DKIO_H		/* if we may include sys/dkio.h for disk ioctls */
#undef HAVE_SYS_DKLABEL_H	/* 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 */
#undef HAVE_SYS_TYPES_H		/* 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) */
#undef HAVE_SYS_STAT_H		/* if we may include sys/stat.h (the standard) */
#undef HAVE_SYS_ACCT_H		/* 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) */
#undef HAVE_POLL_H		/* if we may include poll.h to use poll() */
#undef HAVE_SYS_POLL_H		/* if we may include sys/poll.h to use poll() */
#undef HAVE_SYS_SELECT_H	/* 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) */
#undef HAVE_NETDB_H		/* if we have netdb.h for get*by*() and rcmd() */
#undef HAVE_SYS_SOCKET_H	/* 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) */
#undef HAVE_NETINET_IN_H	/* if we have netinet/in.h */
#undef HAVE_STROPTS_H		/* 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 */
#undef HAVE_IEEEFP_H		/* 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() */
#undef HAVE_VALUES_H		/* if we may include values.h for MAXFLOAT */
#undef HAVE_FLOAT_H		/* if we may include float.h for FLT_MAX */
#undef HAVE_MATH_H		/* if we may include math.h for e.g. isinf()/isnan() */
#undef HAVE__FILBUF		/* if we have _filbuf() for USG derived STDIO */
#undef HAVE___FILBUF		/* if we have __filbuf() for USG derived STDIO */
#undef HAVE_USG_STDIO		/* if we have USG derived STDIO */
#undef HAVE_ERRNO_DEF		/* 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> */
#undef HAVE_SYS_FORK_H		/* if we should include sys/fork.h for forkx() definitions */
#undef HAVE_VFORK_H		/* if we should include vfork.h for vfork() definitions */
#undef HAVE_ARPA_INET_H		/* 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_SCSI_SCSI_H		/* if we may include scsi/scsi.h */
#undef HAVE_SCSI_SG_H		/* if we may include scsi/sg.h */
#undef HAVE_LINUX_SCSI_H	/* if we may include linux/scsi.h */
#undef HAVE_LINUX_SG_H		/* if we may include linux/sg.h */
#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_CAPABILITY_H	/* if we may include sys/capability.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 */
#undef HAVE_FNMATCH_H		/* if we may include fnmatch.h */
#undef HAVE_DIRECT_H		/* if we may include direct.h  (MSVC for getcwd()/chdir()/mkdir()/rmdir()) */
#undef HAVE_SYSEXITS_H		/* if we may include sysexits.h */

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

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

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

#undef HAVE_DLFCN_H		/* if we may include dlfcn.h */
#undef HAVE_LINK_H		/* 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
 */
#undef HAVE_DECL_STAT		/* Whether <sys/stat.h> defines extern stat(); */
#undef HAVE_DECL_LSTAT		/* Whether <sys/stat.h> defines extern lstat(); */

/*
 * Library Functions
 */
#undef HAVE_ACCESS		/* access() is present in libc */
#undef HAVE_EACCESS		/* eaccess() is present in libc */
#undef HAVE_EUIDACCESS		/* euidaccess() is present in libc */
#undef HAVE_ACCESS_E_OK		/* access() implements E_OK (010) for effective UIDs */
#undef HAVE_CRYPT_IN_LIBC	/* whether crypt() is in libc (needs no -lcrypt) */
#undef HAVE_CRYPT		/* crypt() is present in libc or libcrypt */
#undef HAVE_STRERROR		/* strerror() is present in libc */
#undef HAVE_MEMCHR		/* memchr() is present in libc */
#undef HAVE_MEMCMP		/* memcmp() is present in libc */
#undef HAVE_MEMCPY		/* memcpy() is present in libc */
#undef HAVE_MEMCCPY		/* memccpy() is present in libc */
#undef HAVE_MEMMOVE		/* memmove() is present in libc */
#undef HAVE_MEMSET		/* memset() is present in libc */
#undef HAVE_MADVISE		/* madvise() is present in libc */
#undef HAVE_MLOCK		/* mlock() is present in libc */
#undef HAVE_MLOCKALL		/* working mlockall() is present in libc */
#undef HAVE_MMAP		/* 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 */
#undef HAVE_LOCKF		/* lockf() is present in libc (XOPEN) */
#undef HAVE_FCNTL_LOCKF		/* file locking via fcntl() is present in libc */
#undef HAVE_FCHDIR		/* fchdir() is present in libc */
#undef HAVE_FDOPENDIR		/* fdopendir() is present in libc */
#undef HAVE_GETDELIM		/* getdelim() is present in libc */
#undef HAVE_OPENAT		/* openat() is present in libc */
#undef HAVE_ATTROPEN		/* attropen() is present in libc */
#undef HAVE_FSTATAT		/* fstatat() is present in libc */
#undef HAVE_FCHOWNAT		/* fchownat() is present in libc */
#undef HAVE_FUTIMESAT		/* futimesat() is present in libc */
#undef HAVE_RENAMEAT		/* renameat() is present in libc */
#undef HAVE_UNLINKAT		/* unlinkat() is present in libc */
#undef HAVE___ACCESSAT		/* __accessat() is present in libc */
#undef HAVE_ACCESSAT		/* accessat() is present in libc */
#undef HAVE_REALPATH		/* realpath() is present in libc */
#undef HAVE_RESOLVEPATH		/* 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 */
#undef HAVE_IOCTL		/* ioctl() is present in libc */
#undef HAVE_FCNTL		/* fcntl() is present in libc */
#undef HAVE_PIPE		/* pipe() is present in libc */
#undef HAVE__PIPE		/* _pipe() is present in libc */
#undef HAVE_POPEN		/* popen() is present in libc */
#undef HAVE_PCLOSE		/* pclose() is present in libc */
#undef HAVE__POPEN		/* _popen() is present in libc */
#undef HAVE__PCLOSE		/* _pclose() is present in libc */
#undef HAVE_STATVFS		/* statvfs() is present in libc */
#undef HAVE_QUOTACTL		/* quotactl() is present in libc */
#undef HAVE_QUOTAIOCTL		/* use ioctl(f, Q_QUOTACTL, &q) instead of quotactl() */
#undef HAVE_GETPID		/* getpid() is present in libc */
#undef HAVE_GETPPID		/* getppid() is present in libc */
#undef HAVE_SETREUID		/* setreuid() is present in libc */
#undef HAVE_SETRESUID		/* setresuid() is present in libc */
#undef HAVE_SETEUID		/* seteuid() is present in libc */
#undef HAVE_SETUID		/* setuid() is present in libc */
#undef HAVE_SETREGID		/* setregid() is present in libc */
#undef HAVE_SETRESGID		/* setresgid() is present in libc */
#undef HAVE_SETEGID		/* setegid() is present in libc */
#undef HAVE_SETGID		/* setgid() is present in libc */
#undef HAVE_GETUID		/* getuid() is present in libc */
#undef HAVE_GETEUID		/* geteuid() is present in libc */
#undef HAVE_GETGID		/* getgid() is present in libc */
#undef HAVE_GETEGID		/* getegid() is present in libc */
#undef HAVE_GETPGID		/* getpgid() is present in libc (POSIX) */
#undef HAVE_SETPGID		/* setpgid() is present in libc (POSIX) */
#undef HAVE_GETPGRP		/* getpgrp() is present in libc (ANY) */
#undef HAVE_GETSID		/* getsid() is present in libc (POSIX) */
#undef HAVE_SETSID		/* setsid() is present in libc (POSIX) */
#undef HAVE_SETPGRP		/* 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 */
#undef HAVE_GETPWNAM		/* getpwnam() in libc */
#undef HAVE_GETPWENT		/* getpwent() in libc */
#undef HAVE_GETPWUID		/* getpwuid() in libc */
#undef HAVE_SETPWENT		/* setpwent() in libc */
#undef HAVE_ENDPWENT		/* endpwent() in libc */
#undef HAVE_GETGRNAM		/* getgrnam() in libc */
#undef HAVE_GETGRENT		/* getgrent() in libc */
#undef HAVE_GETGRGID		/* getgrgid() in libc */
#undef HAVE_SETGRENT		/* setgrent() in libc */
#undef HAVE_ENDGRENT		/* endgrent() in libc */
#undef HAVE_GETSPNAM		/* getspnam() in libc (SVR4 compliant) */
#undef HAVE_GETSPWNAM		/* getspwnam() in libsec.a (HP-UX) */
#undef HAVE_GETLOGIN		/* getlogin() in libc */
#undef HAVE_SYNC		/* sync() is present in libc */
#undef HAVE_FSYNC		/* fsync() is present in libc */
#undef HAVE_TCGETATTR		/* tcgetattr() is present in libc */
#undef HAVE_TCSETATTR		/* tcsetattr() is present in libc */
#undef HAVE_TCGETPGRP		/* tcgetpgrp() is present in libc */
#undef HAVE_TCSETPGRP		/* tcsetpgrp() is present in libc */
#undef HAVE_WAIT		/* wait() is present in libc */
#undef HAVE_WAIT3		/* working wait3() is present in libc */
#undef HAVE_WAIT4		/* wait4() is present in libc */
#undef HAVE_WAITID		/* waitid() is present in libc */
#undef HAVE_WAITPID		/* waitpid() is present in libc */
#undef HAVE_CWAIT		/* cwait() is present in libc */
#undef HAVE_GETHOSTID		/* gethostid() is present in libc */
#undef HAVE_GETHOSTNAME		/* gethostname() is present in libc */
#undef HAVE_GETDOMAINNAME	/* getdomainname() is present in libc */
#undef HAVE_GETPAGESIZE		/* getpagesize() is present in libc */
#undef HAVE_GETDTABLESIZE	/* getdtablesize() is present in libc */
#undef HAVE_GETRUSAGE		/* getrusage() is present in libc */
#undef HAVE_GETRLIMIT		/* getrlimit() is present in libc */
#undef HAVE_SETRLIMIT		/* setrlimit() is present in libc */
#undef HAVE_ULIMIT		/* ulimit() is present in libc */
#undef HAVE_GETTIMEOFDAY	/* gettimeofday() is present in libc */
#undef HAVE_SETTIMEOFDAY	/* settimeofday() is present in libc */
#undef HAVE_VAR_TIMEZONE	/* extern long timezone is present in libc */
#undef HAVE_VAR_TIMEZONE_DEF	/* extern long timezone is present in time.h */
#undef HAVE_TIME		/* time() is present in libc */
#undef HAVE_GMTIME		/* gmtime() is present in libc */
#undef HAVE_LOCALTIME		/* localtime() is present in libc */
#undef HAVE_MKTIME		/* mktime() is present in libc */
#undef HAVE_TIMEGM		/* timegm() is present in libc */
#undef HAVE_TIMELOCAL		/* timelocal() is present in libc */
#undef HAVE_FTIME		/* ftime() is present in libc */
#undef HAVE_STIME		/* stime() is present in libc */
#undef HAVE_TZSET		/* tzset() is present in libc */
#undef HAVE_CTIME		/* ctime() is present in libc */
#undef HAVE_CFTIME		/* cftime() is present in libc */
#undef HAVE_ASCFTIME		/* ascftime() is present in libc */
#undef HAVE_STRFTIME		/* strftime() is present in libc */
#undef HAVE_GETHRTIME		/* gethrtime() is present in libc */
#undef HAVE_POLL		/* poll() is present in libc */
#undef HAVE_SELECT		/* select() is present in libc */
#undef HAVE_ISASTREAM		/* isastream() is present in libc */
#undef HAVE_CHMOD		/* chmod() is present in libc */
#undef HAVE_FCHMOD		/* fchmod() is present in libc */
#undef HAVE_LCHMOD		/* lchmod() is present in libc */
#undef HAVE_CHOWN		/* chown() is present in libc */
#undef HAVE_FCHOWN		/* fchown() is present in libc */
#undef HAVE_LCHOWN		/* lchown() is present in libc */
#undef HAVE_TRUNCATE		/* truncate() is present in libc */
#undef HAVE_FTRUNCATE		/* ftruncate() is present in libc */
#undef HAVE_BRK			/* brk() is present in libc */
#undef HAVE_SBRK		/* sbrk() is present in libc */
#undef HAVE_VA_COPY		/* va_copy() is present in varargs.h/stdarg.h */
#undef HAVE__VA_COPY		/* __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) */
#undef HAVE_DUP			/* dup() is present in libc */
#undef HAVE_DUP2		/* dup2() is present in libc */
#undef HAVE_GETCWD		/* POSIX getcwd() is present in libc */
#undef HAVE_SMMAP		/* may map anonymous memory to get shared mem */
#undef HAVE_SHMAT		/* shmat() is present in libc */
#undef HAVE_SHMGET		/* shmget() is present in libc and working */
#undef HAVE_SEMGET		/* semget() is present in libc */
#undef HAVE_LSTAT		/* lstat() is present in libc */
#undef HAVE_READLINK		/* readlink() is present in libc */
#undef HAVE_SYMLINK		/* symlink() is present in libc */
#undef HAVE_LINK		/* link() is present in libc */
#undef HAVE_HARD_SYMLINKS	/* link() allows hard links on symlinks */
#undef HAVE_LINK_NOFOLLOW	/* link() does not follow symlinks when hard linking symlinks */
#undef HAVE_RENAME		/* rename() is present in libc */
#undef HAVE_MKFIFO		/* mkfifo() is present in libc */
#undef HAVE_MKNOD		/* mknod() is present in libc */
#undef HAVE_ECVT		/* ecvt() is present in libc */
#undef HAVE_FCVT		/* fcvt() is present in libc */
#undef HAVE_GCVT		/* 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 */
#undef HAVE_QECVT		/* qecvt() is present in libc */
#undef HAVE_QFCVT		/* qfcvt() is present in libc */
#undef HAVE_QGCVT		/* qgcvt() is present in libc */
#undef HAVE__QECVT		/* _qecvt() is present in libc */
#undef HAVE__QFCVT		/* _qfcvt() is present in libc */
#undef HAVE__QGCVT		/* _qgcvt() is present in libc */
#undef HAVE__QECVT_R		/* _qecvt_r() is present in libc */
#undef HAVE__QFCVT_R		/* _qfcvt_r() is present in libc */
#undef HAVE__QGCVT_R		/* _qgcvt_r() is present in libc */
#undef HAVE__LDECVT		/* _ldecvt() is present in libc */
#undef HAVE__LDFCVT		/* _ldfcvt() is present in libc */
#undef HAVE__LDGCVT		/* _ldgcvt() is present in libc */
#undef HAVE__LDECVT_R		/* _ldecvt_r() is present in libc */
#undef HAVE__LDFCVT_R		/* _ldfcvt_r() is present in libc */
#undef HAVE__LDGCVT_R		/* _ldgcvt_r() is present in libc */
#undef HAVE_ECONVERT		/* econvert() is present in libc */
#undef HAVE_FCONVERT		/* fconvert() is present in libc */
#undef HAVE_GCONVERT		/* gconvert() is present in libc */
#undef HAVE_QECONVERT		/* qeconvert() is present in libc */
#undef HAVE_QFCONVERT		/* qfconvert() is present in libc */
#undef HAVE_QGCONVERT		/* qgconvert() is present in libc */
#undef HAVE_ISINF		/* isinf() is present in libc */
#undef HAVE_ISNAN		/* isnan() is present in libc */
#undef HAVE_C99_ISINF		/* isinf() is present in math.h/libc */
#undef HAVE_C99_ISNAN		/* isnan() is present in math.h/libc */
#undef HAVE_FINITE		/* finite() is present in libc/ieeefp.h (SVr4) */
#undef HAVE_ISNAND		/* isnand() is present in libc/ieeefp.h (SVr4) */
#undef HAVE_RAND		/* rand() is present in libc */
#undef HAVE_DRAND48		/* drand48() is present in libc */
#undef HAVE_ICONV_IN_LIBC	/* whether iconv() is in libc (needs no -liconv) */
#undef HAVE_ICONV		/* iconv() is present in libiconv */
#undef HAVE_ICONV_OPEN		/* iconv_open() is present in libiconv */
#undef HAVE_ICONV_CLOSE		/* 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 */
#undef HAVE_SETPRIORITY		/* setpriority() is present in libc */
#undef HAVE_NICE		/* nice() is present in libc */
#undef HAVE_DOSSETPRIORITY	/* DosSetPriority() is present in libc */
#undef HAVE_DOSALLOCSHAREDMEM	/* DosAllocSharedMem() is present in libc */
#undef HAVE_SEEKDIR		/* seekdir() is present in libc */
#undef HAVE_GETENV		/* getenv() is present in libc */
#undef HAVE_PUTENV		/* putenv() is present in libc (preferred function) */
#undef HAVE_SETENV		/* setenv() is present in libc (use instead of putenv()) */
#undef HAVE_UNSETENV		/* unsetenv() is present in libc */
#undef HAVE_UNAME		/* uname() is present in libc */
#undef HAVE_SNPRINTF		/* snprintf() is present in libc */
#undef HAVE_STRCAT		/* strcat() is present in libc */
#undef HAVE_STRNCAT		/* strncat() is present in libc */
#undef HAVE_STRCMP		/* strcmp() is present in libc */
#undef HAVE_STRNCMP		/* strncmp() is present in libc */
#undef HAVE_STRCPY		/* strcpy() is present in libc */
#undef HAVE_STRLCAT		/* strlcat() is present in libc */
#undef HAVE_STRLCPY		/* strlcpy() is present in libc */
#undef HAVE_STRNCPY		/* strncpy() is present in libc */
#undef HAVE_STRDUP		/* strdup() is present in libc */
#undef HAVE_STRNDUP		/* strndup() is present in libc */
#undef HAVE_STRLEN		/* strlen() is present in libc */
#undef HAVE_STRNLEN		/* strnlen() is present in libc */
#undef HAVE_STRCHR		/* strchr() is present in libc */
#undef HAVE_STRRCHR		/* strrchr() is present in libc */
#undef HAVE_STRSTR		/* strstr() is present in libc */
#undef HAVE_STRCASECMP		/* strcasecmp() is present in libc */
#undef HAVE_STRNCASECMP		/* strncasecmp() is present in libc */
#undef HAVE_BASENAME		/* basename() is present in libc */
#undef HAVE_DIRNAME		/* dirname() is present in libc */
#undef HAVE_PATHCONF		/* pathconf() is present in libc */
#undef HAVE_FPATHCONF		/* fpathconf() is present in libc */
#undef HAVE_STRTOL		/* strtol() is present in libc */
#undef HAVE_STRTOLL		/* strtoll() is present in libc */
#undef HAVE_STRTOUL		/* strtoul() is present in libc */
#undef HAVE_STRTOULL		/* strtoull() is present in libc */
#undef HAVE_STRTOD		/* strtold() is present in libc */
#undef HAVE_STRSIGNAL		/* strsignal() is present in libc */
#undef HAVE_STR2SIG		/* str2sig() is present in libc */
#undef HAVE_SIG2STR		/* sig2str() is present in libc */
#undef HAVE_SIGSETJMP		/* sigsetjmp() is present in libc */
#undef HAVE_SIGLONGJMP		/* siglongjmp() is present in libc */
#undef HAVE_KILL		/* kill() is present in libc */
#undef HAVE_KILLPG		/* killpg() is present in libc */
#undef HAVE_SIGNAL		/* signal() is present in libc */
#undef HAVE_SIGHOLD		/* sighold() is present in libc */
#undef HAVE_SIGRELSE		/* sigrelse() is present in libc */
#undef HAVE_SIGIGNORE		/* sigignore() is present in libc */
#undef HAVE_SIGPAUSE		/* sigpause() is present in libc */
#undef HAVE_SIGPROCMASK		/* sigprocmask() is present in libc (POSIX) */
#undef HAVE_SIGSETMASK		/* sigsetmask() is present in libc (BSD) */
#undef HAVE_SIGSET		/* sigset() is present in libc (POSIX) */
#undef HAVE_SIGALTSTACK		/* sigaltstack() is present in libc (POSIX) */
#undef HAVE_SIGBLOCK		/* sigblock() is present in libc (BSD) */
#undef HAVE_SYS_SIGLIST		/* char *sys_siglist[] is present in libc */
#undef HAVE_ALARM		/* alarm() is present in libc */
#undef HAVE_SLEEP		/* sleep() is present in libc */
#undef HAVE_USLEEP		/* usleep() is present in libc */
#undef HAVE_FORK		/* fork() is present in libc */
#undef HAVE_FORKX		/* forkx() is present in libc */
#undef HAVE_FORKALL		/* forkall() is present in libc */
#undef HAVE_FORKALLX		/* forkallx() is present in libc */
#undef HAVE_VFORK		/* working vfork() is present in libc */
#undef HAVE_VFORKX		/* working vforkx() is present in libc */
#undef HAVE_EXECL		/* execl() is present in libc */
#undef HAVE_EXECLE		/* execle() is present in libc */
#undef HAVE_EXECLP		/* execlp() is present in libc */
#undef HAVE_EXECV		/* execv() is present in libc */
#undef HAVE_EXECVE		/* execve() is present in libc */
#undef HAVE_EXECVP		/* execvp() is present in libc */
#undef HAVE_SPAWNL		/* spawnl() is present in libc */
#undef HAVE_SPAWNLE		/* spawnle() is present in libc */
#undef HAVE_SPAWNLP		/* spawnlp() is present in libc */
#undef HAVE_SPAWNLPE		/* spawnlpe() is present in libc */
#undef HAVE_SPAWNV		/* spawnv() is present in libc */
#undef HAVE_SPAWNVE		/* spawnve() is present in libc */
#undef HAVE_SPAWNVP		/* spawnvp() is present in libc */
#undef HAVE_SPAWNVPE		/* spawnvpe() is present in libc */
#undef HAVE_GETEXECNAME		/* getexecname() is present in libc */
#undef HAVE_GETPROGNAME		/* getprogname() is present in libc */
#undef HAVE_SETPROGNAME		/* setprogname() is present in libc */
#undef HAVE_PROC_PIDPATH	/* proc_pidpath() is present in libc */
#undef HAVE_VAR_PROGNAME	/* extern char *__progname is present in libc */
#undef HAVE_VAR_PROGNAME_FULL	/* extern char *__progname_full is present in libc */
#undef HAVE_ALLOCA		/* alloca() is present (else use malloc())*/
#undef HAVE_MALLOC		/* malloc() is present in libc */
#undef HAVE_CALLOC		/* calloc() is present in libc */
#undef HAVE_REALLOC		/* realloc() is present in libc */
#undef HAVE_REALLOC_NULL	/* realloc() implements realloc(NULL, size) */
#undef HAVE_VALLOC		/* valloc() is present in libc (else use malloc())*/
#undef HAVE_MEMALIGN		/* memalign() is present in libc */
#undef HAVE_POSIX_MEMALIGN	/* posix_memalign() is present in libc */
#undef vfork
#undef HAVE_WCSCAT		/* wcscat() is present in libc */
#undef HAVE_WCSNCAT		/* wcsncat() is present in libc */
#undef HAVE_WCSCMP		/* wcscmp() is present in libc */
#undef HAVE_WCSNCMP		/* wcsncmp() is present in libc */
#undef HAVE_WCSCPY		/* wcscpy() is present in libc */
#undef HAVE_WCSLCAT		/* wcsncat() is present in libc */
#undef HAVE_WCSLCPY		/* wcsncpy() is present in libc */
#undef HAVE_WCSNCPY		/* wcsncpy() is present in libc */
#undef HAVE_WCSDUP		/* wcsdup() is present in libc */
#undef HAVE_WCSNDUP		/* wcsndup() is present in libc */
#undef HAVE_WCSLEN		/* wcslen() is present in libc */
#undef HAVE_WCSNLEN		/* wcsnlen() is present in libc */
#undef HAVE_WCSCHR		/* wcschr() is present in libc */
#undef HAVE_WCSRCHR		/* wcsrchr() is present in libc */
#undef HAVE_WCSSTR		/* wcsstr() is present in libc */
#undef HAVE_WCWIDTH		/* wcwidth() is present in libc */
#undef HAVE_WCSWIDTH		/* wcswidth() is present in libc */
#undef HAVE_WCTYPE		/* wctype() is present in libc */
#undef HAVE_ISWCTYPE		/* 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 */

#undef HAVE_GETTEXT_IN_LIBC	/* whether gettext() is in libc (needs no -lintl) */
#undef HAVE_GETTEXT		/* gettext() is present in -lintl */
#undef HAVE_SETLOCALE		/* setlocale() is present in libc */
#undef HAVE_LOCALECONV		/* localeconv() is present in libc */
#undef HAVE_NL_LANGINFO		/* nl_langinfo() is present in libc */

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

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

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

#undef HAVE_GETPPRIV		/* getppriv() is present in libc */
#undef HAVE_SETPPRIV		/* setppriv() is present in libc */
#undef HAVE_PRIV_SET		/* 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) */

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

#undef HAVE_GMATCH		/* 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 */

#undef HAVE_RES_INIT_IN_LIBC	/* whether res_init() is in libc (needs no -lresolv) */

#undef HAVE_DLOPEN_IN_LIBC	/* whether dlopen() is in libc (needs no -ldl) */
#undef HAVE_DLOPEN		/* dlopen() is present in libc */
#undef HAVE_DLCLOSE		/* dlclose() is present in libc */
#undef HAVE_DLSYM		/* dlsym() is present in libc */
#undef HAVE_DLERROR		/* dlerror() is present in libc */
#undef HAVE_DLINFO		/* dlinfo() 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 */

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

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

#undef HAVE_CLOCK_GETTIME_IN_LIBC /* whether clock_gettime() is in libc (needs no -lrt) */
#undef HAVE_CLOCK_GETTIME	/* clock_gettime() is present in librt */
#undef HAVE_CLOCK_SETTIME	/* clock_settime() is present in librt */
#undef HAVE_CLOCK_GETRES	/* clock_getres() is present in librt */
#undef HAVE_SCHED_GETPARAM	/* sched_getparam() is present in librt */
#undef HAVE_SCHED_SETPARAM	/* sched_setparam() is present in librt */
#undef HAVE_SCHED_GETSCHEDULER	/* sched_getscheduler() is present in librt */
#undef HAVE_SCHED_SETSCHEDULER	/* sched_setscheduler() is present in librt */
#undef HAVE_SCHED_YIELD		/* sched_yield() is present in librt */
#undef HAVE_NANOSLEEP		/* nanosleep() is present in librt */

/*
 * The POSIX.1e draft has been withdrawn in 1997.
 * Linux started to implement this outdated concept in 1997.
 */
#undef HAVE_CAP_GET_PROC	/* cap_get_proc() is present in libcap */
#undef HAVE_CAP_SET_PROC	/* cap_set_proc() is present in libcap */
#undef HAVE_CAP_SET_FLAG	/* cap_set_flag() is present in libcap */
#undef HAVE_CAP_CLEAR_FLAG	/* cap_clear_flag() is present in libcap */


#undef HAVE_DIRFD		/* dirfd() is present in libc */
#undef HAVE_ISWPRINT		/* iswprint() is present in libc */
#undef HAVE_MBSINIT		/* mbsinit() is present in libc */
#undef HAVE_MBTOWC		/* mbtowc() is present in libc */
#undef HAVE_WCTOMB		/* wctomb() is present in libc */
#undef HAVE_MBRTOWC		/* mbrtowc() is present in libc */
#undef HAVE_WCRTOMB		/* wcrtomb() is present in libc */

#undef HAVE_PRINTF_J		/* *printf() in libc supports %jd */
#undef HAVE_PRINTF_LL		/* *printf() in libc supports %lld */

/*
 * 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
 */
#ifndef	_MSC_VER		/* Dirty hack, better use C program not test */
#undef HAVE__DEV_TTY		/* /dev/tty present */
#undef HAVE__DEV_NULL		/* /dev/null present */
#undef HAVE__DEV_ZERO		/* /dev/zero present */
#undef HAVE__DEV_STDIN		/* /dev/stdin present */
#undef HAVE__DEV_STDOUT		/* /dev/stdout present */
#undef HAVE__DEV_STDERR		/* /dev/stderr present */
#undef HAVE__DEV_FD_0		/* /dev/fd/0 present */
#undef HAVE__DEV_FD_1		/* /dev/fd/1 present */
#undef HAVE__DEV_FD_2		/* /dev/fd/2 present */
#undef HAVE__USR_SRC_LINUX_INCLUDE	/* /usr/src/linux/include present */
#endif

/*
 * 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.
 */
#undef HAVE_FSEEKO		/* fseeko() is present in default compile mode */
#undef HAVE_FTELLO		/* ftello() is present in default compile mode */

#undef HAVE_RCMD		/* rcmd() is present in libc/libsocket */
#undef HAVE_SOCKET		/* socket() is present in libc/libsocket */
#undef HAVE_SOCKETPAIR		/* socketpair() is present in libc/libsocket */
#undef HAVE_GETSERVBYNAME	/* getservbyname() is present in libc/libsocket */
#undef HAVE_INET_NTOA		/* inet_ntoa() is present in libc/libsocket */
#undef HAVE_GETADDRINFO		/* getaddrinfo() is present in libc/libsocket */
#undef HAVE_GETNAMEINFO		/* 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
 */
#undef HAVE_FILE__FLAGS		/* if FILE * contains _flags */
#undef HAVE_FILE__IO_BUF_BASE	/* if FILE * contains _IO_buf_base */

#undef HAVE_MTGET_TYPE		/* if struct mtget contains mt_type (drive type) */
#undef HAVE_MTGET_MODEL		/* if struct mtget contains mt_model (drive type) */
#undef HAVE_MTGET_DSREG		/* 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) */
#undef HAVE_MTGET_ERREG		/* if struct mtget contains mt_erreg (error register) */
#undef HAVE_MTGET_RESID		/* if struct mtget contains mt_resid (residual count) */
#undef HAVE_MTGET_FILENO	/* if struct mtget contains mt_fileno (file #) */
#undef HAVE_MTGET_BLKNO		/* if struct mtget contains mt_blkno (block #) */
#undef HAVE_MTGET_FLAGS		/* if struct mtget contains mt_flags (flags) */
#undef HAVE_MTGET_BF		/* if struct mtget contains mt_bf (optimum blocking factor) */
#undef HAVE_STRUCT_TIMEVAL	/* have struct timeval in time.h or sys/time.h */
#undef HAVE_STRUCT_TIMEZONE	/* have struct timezone in time.h or sys/time.h */
#undef HAVE_STRUCT_TIMESPEC	/* have struct timespec in time.h or sys/time.h */
#undef HAVE_STRUCT_RUSAGE	/* have struct rusage in sys/resource.h */
#undef HAVE_SI_UTIME		/* 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 */
#undef HAVE_DIRENT_D_INO	/* have d_ino in struct dirent */
#undef HAVE_DIR_DD_FD		/* 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) */
#undef HAVE_ST_NSEC		/* 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) */
#undef HAVE_ST_BLKSIZE		/* if struct stat contains st_blksize */
#undef HAVE_ST_BLOCKS		/* if struct stat contains st_blocks */
#undef HAVE_ST_FSTYPE		/* if struct stat contains st_fstype */
#undef HAVE_ST_ACLCNT		/* if struct stat contains st_aclcnt */
#undef HAVE_ST_RDEV		/* 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 */

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

#undef HAVE_SOCKADDR_STORAGE	/* if socket.h defines struct sockaddr_storage */


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

/*
 * Types/Keywords
 */
#undef SIZEOF_CHAR
#undef SIZEOF_SHORT_INT
#undef SIZEOF_INT
#undef SIZEOF_LONG_INT
#undef SIZEOF_LONG_LONG
#undef SIZEOF___INT64
#undef SIZEOF_CHAR_P
#undef SIZEOF_UNSIGNED_CHAR
#undef SIZEOF_UNSIGNED_SHORT_INT
#undef SIZEOF_UNSIGNED_INT
#undef SIZEOF_UNSIGNED_LONG_INT
#undef SIZEOF_UNSIGNED_LONG_LONG
#undef SIZEOF_UNSIGNED___INT64
#undef SIZEOF_UNSIGNED_CHAR_P
#undef SIZEOF_FLOAT
#undef SIZEOF_DOUBLE
#undef SIZEOF_LONG_DOUBLE

#undef SIZEOF_SIZE_T
#undef SIZEOF_SSIZE_T
#undef SIZEOF_PTRDIFF_T

#undef SIZEOF_MODE_T
#undef SIZEOF_UID_T
#undef SIZEOF_GID_T
#undef SIZEOF_PID_T

/*
 * If sizeof (mode_t) is < sizeof (int) and used with va_arg(),
 * GCC4 will abort the code. So we need to use the promoted size.
 */
#if	SIZEOF_MODE_T < SIZEOF_INT
#define	PROMOTED_MODE_T	int
#else
#define	PROMOTED_MODE_T	mode_t
#endif

#undef SIZEOF_DEV_T
#undef SIZEOF_MAJOR_T
#undef SIZEOF_MINOR_T

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

#undef HAVE_LONGLONG		/* Compiler defines long long type */
#undef HAVE___INT64		/* Compiler defines __int64 type */
#undef HAVE_LONGDOUBLE		/* 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 */

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

#undef int8_t			/* To be used if int8_t is not present */
#undef int16_t			/* To be used if int16_t is not present */
#undef int32_t			/* To be used if int32_t is not present */
#if	defined(HAVE_LONGLONG) || defined(HAVE___INT64)
#undef int64_t			/* To be used if int64_t is not present */
#endif
#undef intmax_t			/* To be used if intmax_t is not present */
#undef uint8_t			/* To be used if uint8_t is not present */
#undef uint16_t			/* To be used if uint16_t is not present */
#undef uint32_t			/* To be used if uint32_t is not present */
#if	defined(HAVE_LONGLONG) || defined(HAVE___INT64)
#undef uint64_t			/* To be used if uint64_t is not present */
#endif
#undef uintmax_t		/* To be used if uintmax_t is not present */

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

#undef	HAVE_STACK_T		/* if <signal.h> defines stack_t */
#undef	HAVE_SIGINFO_T		/* 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 */
#undef GETGROUPS_T
#define GID_T		GETGROUPS_T

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

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

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

#undef	HAVE_LARGEFILES

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

#undef _FILE_OFFSET_BITS	/* # 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 */

#undef HAVE_FSEEKO		/* 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.
 */
#undef HAVE_ACL			/* acl() function */
#undef HAVE_FACL		/* facl() function */
#undef HAVE_ACLFROMTEXT		/* aclfromtext() function */
#undef HAVE_ACLTOTEXT		/* 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() */
#undef HAVE_DYN_ARRAYS		/* If the compiler allows dynamic sized arrays */
#undef HAVE_PRAGMA_WEAK		/* If the compiler allows #pragma weak */
#undef HAVE_STRINGIZE		/* If the cpp supports ANSI C stringize */
#undef inline

/*
 * Strings that help to maintain OS/platform id's in C-programs
 */
#undef HOST_ALIAS		/* Output from config.guess (orig)	*/
#undef HOST_SUB			/* Output from config.sub (modified)	*/
#undef HOST_CPU			/* CPU part from HOST_SUB		*/
#undef HOST_VENDOR		/* VENDOR part from HOST_SUB		*/
#undef HOST_OS			/* 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.
 */

#endif	/* __XCONFIG_H */
