1 --- apr-util-1.2.2/build/dbm.m4.orig 2005-02-24 11:23:34.000000000 +0100
2 +++ apr-util-1.2.2/build/dbm.m4 2005-12-22 23:24:11.199447808 +0100
8 +dnl APU_CHECK_DB44: is DB4.4 present?
10 +dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version
12 +AC_DEFUN([APU_CHECK_DB44], [
14 + if test -z "$places"; then
15 + places="std /usr/local/BerkeleyDB.4.4 /boot/home/config"
17 + APU_CHECK_BERKELEY_DB("4", "4", "-1",
19 + "db44/db.h db4/db.h db.h",
20 + "db-4.4 db4-4.4 db44 db4 db"
22 + if test "$apu_have_db" = "1"; then
28 AC_DEFUN([APU_CHECK_DB], [
30 AC_MSG_ERROR(Berkeley db4 not found)
34 + APU_CHECK_DB44("$check_places")
35 + if test "$apu_db_version" != "4"; then
36 + AC_MSG_ERROR(Berkeley db4 not found)
40 APU_CHECK_DB_ALL("$check_places")
46 -dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 4.3 to 1.
47 +dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 4.4 to 1.
49 AC_DEFUN([APU_CHECK_DB_ALL], [
52 + APU_CHECK_DB44("$all_places")
53 + if test "$apu_db_version" != "4"; then
54 APU_CHECK_DB43("$all_places")
55 if test "$apu_db_version" != "4"; then
56 APU_CHECK_DB42("$all_places")
62 AC_MSG_CHECKING(for Berkeley DB)
63 if test "$apu_have_db" = "1"; then
64 AC_MSG_RESULT(found db$apu_db_version)