--- configure.in.orig Wed Dec 20 10:31:21 2000 +++ configure.in Mon Aug 26 11:05:43 2002 @@ -138,7 +138,19 @@ fi done if test "x$have_db" = "x"; then - if test -f /usr/include/db2/db_185.h; then + if test -f /usr/include/db3/db_185.h -a \ + -f /usr/lib/libdb-3.2.a; then + AC_DEFINE(HAVE_DB_185_H) + DBINC="-I/usr/include/db3" + DBLIB="-ldb-3.2" + have_db=yes + elif test -f /usr/include/db3/db_185.h -a \ + -f /usr/lib/libdb-3.1.a; then + AC_DEFINE(HAVE_DB_185_H) + DBINC="-I/usr/include/db3" + DBLIB="-ldb-3.1" + have_db=yes + elif test -f /usr/include/db2/db_185.h; then AC_DEFINE(HAVE_DB_185_H) DBINC="-I/usr/include/db2" DBLIB="-ldb2" @@ -147,6 +159,12 @@ AC_DEFINE(HAVE_DB_185_H) DBLIB="-ldb" have_db=yes + elif test -f /usr/include/db1/db.h -a \ + -f /usr/lib/libdb1.a; then + AC_DEFINE(HAVE_DB_H) + DBINC="-I/usr/include/db1" + DBLIB="-ldb1" + have_db=yes elif test -f /usr/include/db.h; then AC_DEFINE(HAVE_DB_H) have_db=yes