Skip Montanaro <skip@mojam.com>:

Update the build structures to automatically detect the presence of BSD db,
including the proper name of the header file to include.  Has all the
expected niceties associated with yet-more-configure-options.  ;)

This checkin includes changes for non-generated files only; subsequent
checkin will catch those.

This is part of SourceForge patch #101272.
This commit is contained in:
Fred Drake 2000-08-31 16:11:07 +00:00
parent 6102e29df2
commit c9cb84703b
5 changed files with 44 additions and 2 deletions

View file

@ -30,8 +30,11 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
/* If using Berkeley DB 2.0 or newer, change this include to <db_185.h>: */
#ifdef HAVE_DB_185_H
#include <db_185.h>
#else
#include <db.h>
#endif
/* Please don't include internal header files of the Berkeley db package
(it messes up the info required in the Setup file) */