From c9cb84703b016ec6d273d979aee6a6a8763846d9 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 31 Aug 2000 16:11:07 +0000 Subject: Skip Montanaro : 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. --- Modules/bsddbmodule.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Modules/bsddbmodule.c') diff --git a/Modules/bsddbmodule.c b/Modules/bsddbmodule.c index a956ada61a..48c221e7eb 100644 --- a/Modules/bsddbmodule.c +++ b/Modules/bsddbmodule.c @@ -30,8 +30,11 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. #include #include #include -/* If using Berkeley DB 2.0 or newer, change this include to : */ +#ifdef HAVE_DB_185_H +#include +#else #include +#endif /* Please don't include internal header files of the Berkeley db package (it messes up the info required in the Setup file) */ -- cgit v1.2.1