1 diff -ur ocaml-3.04--/otherlibs/dbm/cldbm.c ocaml-3.04/otherlibs/dbm/cldbm.c
2 --- ocaml-3.04--/otherlibs/dbm/cldbm.c Fri Dec 7 14:39:51 2001
3 +++ ocaml-3.04/otherlibs/dbm/cldbm.c Sat Feb 2 02:38:17 2002
9 +#define DB_DBM_HSEARCH 1
15 diff -ur ocaml-3.04/configure ocaml-3.04-/configure
16 --- ocaml-3.04/configure Fri Dec 7 14:23:01 2001
17 +++ ocaml-3.04-/configure Mon Jun 3 15:25:25 2002
18 @@ -1065,38 +1065,11 @@
20 # See if we can compile the dbm library
22 -dbm_include="not found"
24 -for dir in /usr/include /usr/include/db1 /usr/include/gdbm; do
25 - if test -f $dir/ndbm.h; then
27 - if sh ./hasgot dbm_open; then
29 - elif sh ./hasgot -lndbm dbm_open; then
31 - elif sh ./hasgot -ldb1 dbm_open; then
33 - elif sh ./hasgot -lgdbm dbm_open; then
36 - dbm_include="not found"
41 -if test "$dbm_include" = "not found"; then
42 - echo "NDBM not found, the \"dbm\" library will not be supported."
44 - echo "NDBM found (in $dbm_include)"
45 - if test "$dbm_include" = "/usr/include"; then
48 - dbm_include="-I$dbm_include"
50 - echo "DBM_INCLUDES=$dbm_include" >> Makefile
51 - echo "DBM_LINK=$dbm_link" >> Makefile
52 - otherlibraries="$otherlibraries dbm"
56 +echo "DBM_INCLUDES=$dbm_include" >> Makefile
57 +echo "DBM_LINK=$dbm_link" >> Makefile
58 +otherlibraries="$otherlibraries dbm"