Line
Link Here
|
0 |
-- apr-util-1.5.3/build/dbm.m4 |
0 |
++ apr-util-1.5.3/build/dbm.m4 |
Lines 112-118
Link Here
|
112 |
changequote([,]) |
112 |
changequote([,]) |
113 |
unset $cache_id |
113 |
unset $cache_id |
114 |
AC_CHECK_HEADER([$bdb_header], [ |
114 |
AC_CHECK_HEADER([$bdb_header], [ |
115 |
if test "$1" = "3" -o "$1" = "4" -o "$1" = "5"; then |
115 |
if test "$1" = "3" -o "$1" = "4" -o "$1" = "5" -o "$1" = "6"; then |
116 |
# We generate a separate cache variable for each prefix and libname |
116 |
# We generate a separate cache variable for each prefix and libname |
117 |
# we search under. That way, we avoid caching information that |
117 |
# we search under. That way, we avoid caching information that |
118 |
# changes if the user runs `configure' with a different set of |
118 |
# changes if the user runs `configure' with a different set of |
Lines 455-467
Link Here
|
455 |
]) |
455 |
]) |
456 |
|
456 |
|
457 |
dnl |
457 |
dnl |
458 |
dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 5.X to 1. |
458 |
dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 6.X to 1. |
459 |
dnl |
459 |
dnl |
460 |
AC_DEFUN([APU_CHECK_DB_ALL], [ |
460 |
AC_DEFUN([APU_CHECK_DB_ALL], [ |
461 |
all_places=$1 |
461 |
all_places=$1 |
462 |
|
462 |
|
463 |
# Start version search at version 5.9 |
463 |
# Start version search at version 6.9 |
464 |
db_version=59 |
464 |
db_version=69 |
465 |
while [[ $db_version -ge 40 ]] |
465 |
while [[ $db_version -ge 40 ]] |
466 |
do |
466 |
do |
467 |
db_major=`echo $db_version | sed -e 's/.$//'` |
467 |
db_major=`echo $db_version | sed -e 's/.$//'` |
Lines 511-520
Link Here
|
511 |
apu_db_version=0 |
511 |
apu_db_version=0 |
512 |
|
512 |
|
513 |
# Maximum supported version announced in help string. |
513 |
# Maximum supported version announced in help string. |
514 |
# Although we search for all versions up to 5.9, |
514 |
# Although we search for all versions up to 6.9, |
515 |
# we should only include existing versions in our |
515 |
# we should only include existing versions in our |
516 |
# help string. |
516 |
# help string. |
517 |
db_max_version=53 |
517 |
db_max_version=60 |
518 |
db_min_version=41 |
518 |
db_min_version=41 |
519 |
dbm_list="sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4" |
519 |
dbm_list="sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4" |
520 |
db_version="$db_min_version" |
520 |
db_version="$db_min_version" |