Auto configure for Berkeley db.1.85.  You are hereby granted license
to use this software consistent with the license for db.1.85.
No warranty is expressed or implied by NeoSoft or Randy Kunkee
for the stuitability of this software for any purpose.

This directory contains the NeoSoft autoconf version of the db.1.85.
If you are beginning with the db.1.85 directly from cs.ftp.berkeley.edu,
apply any "OTHER_PATCHES" in the PORT subdirectory that you might want
to build for.  They all have conditional compile code in them anyway
(ie. #if sgi).  If you retrieved this distribution directly from NeoSoft,
the patches have already been applied.

Load this package under the "PORT" subdirectory as "auto".  Run "configure"
and then "make".  Then cd ../../test and type "make" then "run.test".
On some systems, you may need to execute this script with ksh or bash;
some older Bourne shells can't make it through the test script.

[ This is intended to work some day but is not implemented at the moment:
If you have Tcl built on your system (which is what we use DB with), use
the configure option --enable-shared=<path to tclConfig.sh>.  It does not
need Tcl, just the configure information on how to create a shared library.
If not specified, it will search a predefined set of directories for it.]

Build idiosyncracies:

freebsd 2.1.5-RELEASE: rm include/cdefs.h before building.
Digital Unix: the test suite fails in test 20.
Solaris X86 2.5 (and maybe others): several pointer/int, pointer/pointer
error messages.

The following systems passed all tests:

i386-sun-solaris 2.5.0
sparc-sun-solaris 2.5.0
irix 6.2
freebsd 2.1.5

One major change from the normal build is that there are no symbolic
links in the `auto' directory tree.  This is important to us because
we use CVS, and CVS does not remember symbolic links (or I don't know
how to get it to).  Another major change is that there is no cdefs.h.
On systems that have it, db.h will include it, but it has been eliminated
from this DB build.  It was a pain.  Another thing worth noting perhaps
is that configure checks for many things that don't ever get used.
This is due to the fact that it is borrowed from DB2.0, which does use
configure, but is not yet released.  I did not try to clean out everything,
just added extra stuff I needed.

I have reason to believe this will work on most machines.  Most of the
actual platform differences were trivial.  Some platforms promise more
trouble: sunos.4.1.1, ptx, and ultrix.4.2, but who knows, they might
work.

Sunos.5.2 had a very strange define in it which I removed.  If anyone
knows why it should be in there, please let me know.

	#define write _write

Thanks to Keith Bostic, who provided some (especially configure.in) to
help get me started, as well as some helpful hints along the way.

Randy Kunkee, kunkee@Neosoft.com


