touch an empty sys/bswap.h if detected as missing by configure

this fixes cross compile problems from recent changes to
convert machine/bswap.h to sys/bswap.h
This commit is contained in:
dbj 2006-02-02 04:15:03 +00:00
parent 8e18deb784
commit a3ecf0b346
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: configure.ac,v 1.50 2005/03/02 18:08:44 wiz Exp $
# $NetBSD: configure.ac,v 1.51 2006/02/02 04:15:03 dbj Exp $
#
# Autoconf definition file for libnbcompat.
#
@ -53,7 +53,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(machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \
AC_CHECK_HEADERS(sys/bswap.h machine/bswap.h sys/cdefs.h sys/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,,