Module Name:src
Committed By: riz
Date: Wed Nov 2 19:43:03 UTC 2011
Modified Files:
src/tools/compat [netbsd-5]: configure configure.ac nbtool_config.h.in
Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #1676):
tools/compat/configure.ac: revision 1.71
tools/compat/configure: revision 1.71
tools/compat/nbtool_config.h.in: revision 1.24
Test for and provide HAVE_SYS_ENDIAN_H.
Fixes FreeBSD hosted builds (PR 42440 and PR 42470).
Approved by .
Regenerate.
To generate a diff of this commit:
cvs rdiff -u -r1.67.2.2 -r1.67.2.3 src/tools/compat/configure \
src/tools/compat/configure.ac
cvs rdiff -u -r1.21.2.1 -r1.21.2.2 src/tools/compat/nbtool_config.h.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/compat/configure
diff -u src/tools/compat/configure:1.67.2.2 src/tools/compat/configure:1.67.2.3
--- src/tools/compat/configure:1.67.2.2 Sat Oct 3 21:28:00 2009
+++ src/tools/compat/configure Wed Nov 2 19:43:02 2011
@@ -2600,7 +2600,7 @@ EOF
fi
done
-for ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \
+for ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h sys/endian.h \
sys/featuretest.h err.h inttypes.h libgen.h paths.h stdint.h util.h \
resolv.h arpa/nameser.h
do
Index: src/tools/compat/configure.ac
diff -u src/tools/compat/configure.ac:1.67.2.2 src/tools/compat/configure.ac:1.67.2.3
--- src/tools/compat/configure.ac:1.67.2.2 Sat Oct 3 21:28:00 2009
+++ src/tools/compat/configure.ac Wed Nov 2 19:43:02 2011
@@ -1,4 +1,4 @@
-# $NetBSD: configure.ac,v 1.67.2.2 2009/10/03 21:28:00 snj Exp $
+# $NetBSD: configure.ac,v 1.67.2.3 2011/11/02 19:43:02 riz Exp $
#
# Autoconf definition file for libnbcompat.
#
@@ -24,7 +24,7 @@ AC_CONFIG_HEADERS(nbtool_config.h)
AC_CONFIG_FILES(defs.mk)
# Autoheader header and footer
-AH_TOP([/* $NetBSD: configure.ac,v 1.67.2.2 2009/10/03 21:28:00 snj Exp $*/
+AH_TOP([/* $NetBSD: configure.ac,v 1.67.2.3 2011/11/02 19:43:02 riz Exp $*/
#ifndef __NETBSD_NBTOOL_CONFIG_H__
#define __NETBSD_NBTOOL_CONFIG_H__])
@@ -80,7 +80,7 @@ AC_CHECK_HEADERS(sys/ioctl.h sys/mman.h
AC_HEADER_DIRENT
AC_CHECK_HEADERS(sys/mtio.h 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 machine/endian.h \
+AC_CHECK_HEADERS(sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h sys/endian.h \
sys/featuretest.h err.h inttypes.h libgen.h paths.h stdint.h util.h \
resolv.h arpa/nameser.h,,
[test -f include/$ac_header || touch include/$ac_header])
Index: src/tools/compat/nbtool_config.h.in
diff -u src/tools/compat/nbtool_config.h.in:1.21.2.1 src/tools/compat/nbtool_config.h.in:1.21.2.2
--- src/tools/compat/nbtool_config.h.in:1.21.2.1 Thu Jan 15 04:30:19 2009
+++ src/tools/compat/nbtool_config.h.in Wed Nov 2 19:43:03 2011
@@ -1,6 +1,6 @@
/* nbtool_config.h.in. Generated automatically from configure.ac by autoheader. */
-/* $NetBSD: nbtool_config.h.in,v 1.21.2.1 2009/01/15 04:30:19 snj Exp $*/
+/* $NetBSD: nbtool_config.h.in,v 1.21.2.2 2011/11/02 19:43:03 riz Exp $*/
#ifndef __NETBSD_NBTOOL_CONFIG_H__
#define __NETBSD_NBTOOL_CONFIG_H__
@@ -333,6 +333,9 @@
/* Define if you have the header file. */
#undef HAVE_MACHINE_ENDIAN_H
+/* Define if you have the header file. */
+#undef HAVE_SYS_ENDIAN_H
+
/* Define if you have the header file. */
#undef HAVE_MALLOC_H