[krbdev.mit.edu #2551] CVS Commit
Ken Raeburn via RT
rt-comment at krbdev.mit.edu
Wed May 5 21:34:12 EDT 2004
Since the AES code builds, and doesn't do any configure-time byte order checks
that I noticed, something similar ought to work for the DB code. This is the
first cut; nightly testing builds should tell us if it's sufficient on most of
the platforms we work on.
* include/db-int.h: Include stdlib.h, and endian.h if available.
(LITTLE_ENDIAN, BIG_ENDIAN, BYTE_ORDER): If not defined, and if versions with
one or two leading underscores are defined, define the no-underscore form in
terms of the with-underscore one.
(DB_BYTE_ORDER): Define by checking LITTLE_ENDIAN, BIG_ENDIAN, and BYTE_ORDER;
report an error if that doesn't work. Don't check WORDS_BIGENDIAN.
* Makefile.in (all-prerecurse): Make sure headers generated by config.status
are up to date.
(include/config.h, $(srcdir)/include/config.h.in, include/db-config.h): New
rules.
* configure.in: Don't check byte order here. Check for endian.h.
To generate a diff of this commit:
cvs diff -r1.43 -r1.44 krb5/src/util/db2/ChangeLog
cvs diff -r1.13 -r1.14 krb5/src/util/db2/Makefile.in
cvs diff -r1.12 -r1.13 krb5/src/util/db2/configure.in
cvs diff -r1.9 -r1.10 krb5/src/util/db2/include/ChangeLog
cvs diff -r1.8 -r1.9 krb5/src/util/db2/include/db-int.h
More information about the krb5-bugs
mailing list