--- dsniff-2.4/configure.in.orig Wed Dec 20 11:31:21 2000 +++ dsniff-2.4/configure.in Sat Jun 23 19:05:46 2001 @@ -138,7 +138,13 @@ 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.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"