--- config.m4.orig 2010-07-26 00:28:32.111202104 +0200 +++ config.m4 2010-07-26 00:28:35.656577336 +0200 @@ -280,6 +280,38 @@ THIS_PREFIX=$i THIS_INCLUDE=$i/db4/db.h break + elif test -f "$i/include/db48/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db48/db.h + break + elif test -f "$i/include/db47/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db47/db.h + break + elif test -f "$i/include/db46/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db46/db.h + break + elif test -f "$i/include/db45/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db45/db.h + break + elif test -f "$i/include/db44/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db44/db.h + break + elif test -f "$i/include/db43/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db43/db.h + break + elif test -f "$i/include/db42/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db42/db.h + break + elif test -f "$i/include/db41/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db41/db.h + break elif test -f "$i/include/db4.8/db.h"; then THIS_PREFIX=$i THIS_INCLUDE=$i/include/db4.8/db.h