Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat Create sys/endian.h if it doesn't exist, since ...



details:   https://anonhg.NetBSD.org/src/rev/4673ea3ac1db
branches:  trunk
changeset: 525970:4673ea3ac1db
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Apr 22 19:23:33 2002 +0000

description:
Create sys/endian.h if it doesn't exist, since rmd160.c includes it directly.

diffstat:

 tools/compat/configure    |  4 ++--
 tools/compat/configure.ac |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 02cd0354d977 -r 4673ea3ac1db tools/compat/configure
--- a/tools/compat/configure    Mon Apr 22 18:57:43 2002 +0000
+++ b/tools/compat/configure    Mon Apr 22 19:23:33 2002 +0000
@@ -2467,7 +2467,7 @@
 
 fi
 
-for ac_header in sys/endian.h sys/sysmacros.h sys/syslimits.h \
+for ac_header in sys/sysmacros.h sys/syslimits.h \
        features.h malloc.h stddef.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
@@ -2516,7 +2516,7 @@
 fi
 done
 
-for ac_header in machine/bswap.h sys/cdefs.h sys/featuretest.h \
+for ac_header in machine/bswap.h sys/cdefs.h sys/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 -r 02cd0354d977 -r 4673ea3ac1db tools/compat/configure.ac
--- a/tools/compat/configure.ac Mon Apr 22 18:57:43 2002 +0000
+++ b/tools/compat/configure.ac Mon Apr 22 19:23:33 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: configure.ac,v 1.17 2002/04/19 22:47:11 tv Exp $
+#      $NetBSD: configure.ac,v 1.18 2002/04/22 19:23:33 bjh21 Exp $
 #
 # Autoconf definition file for libnbcompat.
 #
@@ -30,9 +30,9 @@
 
 # Find headers that may not be available.
 AC_HEADER_DIRENT
-AC_CHECK_HEADERS(sys/endian.h sys/sysmacros.h sys/syslimits.h \
+AC_CHECK_HEADERS(sys/sysmacros.h sys/syslimits.h \
        features.h malloc.h stddef.h)
-AC_CHECK_HEADERS(machine/bswap.h sys/cdefs.h sys/featuretest.h \
+AC_CHECK_HEADERS(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 fts.h getopt.h md2.h md4.h md5.h netconfig.h \



Home | Main Index | Thread Index | Old Index