Subject: CVS commit: [netbsd-4] src/tools/compat
To: None <source-changes@NetBSD.org>
From: Pavel Cahyna <pavel@netbsd.org>
List: source-changes
Date: 08/30/2007 22:37:37
Module Name:	src
Committed By:	pavel
Date:		Thu Aug 30 22:37:37 UTC 2007

Modified Files:
	src/tools/compat [netbsd-4]: Makefile compat_defs.h configure.ac

Log Message:
Pull up following revision(s) (requested by apb in ticket #827):
	tools/compat/Makefile: revision 1.50
	tools/compat/compat_defs.h: revision 1.60
	tools/compat/configure.ac: revision 1.62-1.64
More detailed instructions for what to do when editing configure.ac.
In particular, discourage the use of non-tools versions of
autoconf and autoheader.
Provide definitions for {be,le}{16,32,64}{enc,dec} if necessary.
This is adapted from the very detailed fix provided by
Giles Lean in PR bin/36678.
Only one simplified implementation is provided, instead of the
two implementations conditional on __GNUC_PREREQ__(2,95) that are
provided in NetBSD's <sys/endian.h>.  The use of memcpy instead of
__builtin__memcpy, and the absence of __inline or __unused, should make
it independent of GCC.
Update the instructions to say that regen should be done again
to pick up changed RCS IDs.


To generate a diff of this commit:
cvs rdiff -r1.47 -r1.47.2.1 src/tools/compat/Makefile
cvs rdiff -r1.57 -r1.57.2.1 src/tools/compat/compat_defs.h
cvs rdiff -r1.60 -r1.60.2.1 src/tools/compat/configure.ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.