$NetBSD: patch-aa,v 1.1.1.1 2005/01/18 17:46:31 peter Exp $ --- configure.orig 2003-05-18 03:50:55.000000000 +0200 +++ configure 2004-06-11 23:51:00.000000000 +0200 @@ -2669,6 +2669,14 @@ DBINC="-I/usr/include/db2" DBLIB="-ldb2" have_db=yes + elif test -f /usr/include/db1/db.h; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_DB1_H 1 +_ACEOF + + DBLIB="-ldb" + have_db=yes elif test -f /usr/include/db_185.h; then cat >>confdefs.h <<\_ACEOF