NetBSD/tools/compat/config.h.in
tv 9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00

88 lines
1.8 KiB
C

/* $NetBSD: config.h.in,v 1.9 2002/01/31 22:43:47 tv Exp $ */
#ifndef __NETBSD_COMPAT_CONFIG_H__
#define __NETBSD_COMPAT_CONFIG_H__
/* Values set by "configure" based on available functions in the host. */
#undef HAVE_DIRENT_H
#undef HAVE_ERR_H
#undef HAVE_FEATURES_H
#undef HAVE_FTS_H
#undef HAVE_INTTYPES_H
#undef HAVE_LIBGEN_H
#undef HAVE_NDIR_H
#undef HAVE_NETDB_H
#undef HAVE_MACHINE_BSWAP_H
#undef HAVE_MALLOC_H
#undef HAVE_STDDEF_H
#undef HAVE_STRING_H
#undef HAVE_SYS_DIR_H
#undef HAVE_SYS_NDIR_H
#undef HAVE_SYS_SYSMACROS_H
#undef HAVE_SYS_TYPES_H
#undef HAVE_UNISTD_H
#undef HAVE_VIS_H
#undef STDC_HEADERS
#undef HAVE_ID_T
#undef HAVE_LONG_LONG
#undef HAVE_U_QUAD_T
#undef HAVE_DIR_DD_FD
#undef HAVE_STRUCT_STAT_ST_FLAGS
#undef HAVE_STRUCT_STAT_ST_GEN
#undef HAVE_STRUCT_STAT_ST_MTIMENSEC
#undef HAVE_STRUCT_STATFS_F_IOSIZE
#undef HAVE_DECL_OPTIND
#undef HAVE_DECL_OPTRESET
#undef HAVE_DECL_SYS_SIGNAME
#undef HAVE_ASPRINTF
#undef HAVE_ASNPRINTF
#undef HAVE_BASENAME
#undef HAVE_CGETNEXT
#undef HAVE_DIRFD
#undef HAVE_DIRNAME
#undef HAVE_FGETLN
#undef HAVE_FLOCK
#undef HAVE_FPARSELN
#undef HAVE_FUTIMES
#undef HAVE_GETOPT
#undef HAVE_GETOPT_LONG
#undef HAVE_ISBLANK
#undef HAVE_LCHMOD
#undef HAVE_LCHOWN
#undef HAVE_LUTIMES
#undef HAVE_PREAD
#undef HAVE_PWCACHE_USERDB
#undef HAVE_PWRITE
#undef HAVE_SETENV
#undef HAVE_SETGROUPENT
#undef HAVE_SETPASSENT
#undef HAVE_SETPROGNAME
#undef HAVE_SNPRINTF
#undef HAVE_STRLCAT
#undef HAVE_STRLCPY
#undef HAVE_STRSEP
#undef HAVE_VASPRINTF
#undef HAVE_VASNPRINTF
#undef HAVE_VSNPRINTF
#undef WORDS_BIGENDIAN
/* Typedefs that might be missing. */
#undef size_t
#undef u_int8_t
#undef u_int16_t
#undef u_int32_t
#undef u_int64_t
/* Now pull in the compatibility definitions. */
#include "compat_defs.h"
#endif /* !__NETBSD_COMPAT_CONFIG_H__ */