summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authordogcow <dogcow@NetBSD.org>2006-02-22 00:14:05 +0000
committerdogcow <dogcow@NetBSD.org>2006-02-22 00:14:05 +0000
commit79548d7aef37e8a5e41deaef9372d47cd844cbb5 (patch)
tree68ed6a847c82385a8accd867fef384d962c490d2 /tools
parente209a02f970eac4b8a2f1ef1d9bec193dd2babe4 (diff)
Twiddle configure/configure.ac to check/define/create machine/endian.h; this
should fix PR/32878. Tested on NetBSD-current, FreeBSD4, Solaris8.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/compat/configure2
-rw-r--r--tools/compat/configure.ac6
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/compat/configure b/tools/compat/configure
index 872f49858e6..0575ee88432 100755
--- a/tools/compat/configure
+++ b/tools/compat/configure
@@ -3965,7 +3965,7 @@ done
-for ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h sys/endian.h \
+for ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \
sys/featuretest.h err.h inttypes.h libgen.h paths.h stdint.h util.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
diff --git a/tools/compat/configure.ac b/tools/compat/configure.ac
index 5060470add4..0dc5fffb344 100644
--- a/tools/compat/configure.ac
+++ b/tools/compat/configure.ac
@@ -1,4 +1,4 @@
-# $NetBSD: configure.ac,v 1.56 2006/02/11 10:35:29 wiz Exp $
+# $NetBSD: configure.ac,v 1.57 2006/02/22 00:14:05 dogcow Exp $
#
# Autoconf definition file for libnbcompat.
#
@@ -8,7 +8,7 @@ AC_CONFIG_HEADERS(nbtool_config.h)
AC_CONFIG_FILES(defs.mk)
# Autoheader header and footer
-AH_TOP([/* $NetBSD: configure.ac,v 1.56 2006/02/11 10:35:29 wiz Exp $ */
+AH_TOP([/* $NetBSD: configure.ac,v 1.57 2006/02/22 00:14:05 dogcow Exp $ */
#ifndef __NETBSD_NBTOOL_CONFIG_H__
#define __NETBSD_NBTOOL_CONFIG_H__])
@@ -64,7 +64,7 @@ AC_CHECK_HEADERS(sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
AC_HEADER_DIRENT
AC_CHECK_HEADERS(sys/sysmacros.h sys/syslimits.h \
getopt.h features.h malloc.h sys/poll.h stddef.h)
-AC_CHECK_HEADERS(sys/bswap.h machine/bswap.h sys/cdefs.h sys/endian.h \
+AC_CHECK_HEADERS(sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \
sys/featuretest.h err.h inttypes.h libgen.h paths.h stdint.h util.h,,
[test -f include/$ac_header || touch include/$ac_header])
AC_CHECK_HEADERS(rpc/types.h netconfig.h,,