--- configure.orig	Wed Nov  3 08:42:56 1999
+++ configure	Mon Dec  6 00:03:25 1999
@@ -1038,6 +1038,7 @@
 
 case "$canonical" in
   *-*-linux*    ) opsys=linux ;;
+  *-*-freebsd* ) opsys=freebsd ;;
   *-*-netbsd*   ) opsys=netbsd ;;
   *-*-openbsd*	) opsys=openbsd ;;
   *-*-nextstep* ) opsys=nextstep ;;
@@ -11178,7 +11179,7 @@
 if test "$with_database_berkdb" != "no"; then
   echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
 echo "configure:11181: checking for Berkeley db.h" >&5
-  for path in "db/db.h" "db.h"; do
+  for path in "/usr/include/db.h" "db/db.h" "db.h"; do
     cat > conftest.$ac_ext <<EOF
 #line 11184 "configure"
 #include "confdefs.h"
