--- configure.in.orig 2004-09-10 14:38:08.812210820 -0700 +++ configure.in 2004-09-10 14:39:26.267741413 -0700 @@ -4421,10 +4421,13 @@ if test "$with_database_gdbm" != "no"; then AC_CHECK_LIB(gdbm, dbm_open, [ with_database_gdbm=yes with_database_dbm=no libdbm=-lgdbm], [ + AC_CHECK_LIB(gdbm_compat, dbm_open, [ + with_database_gdbm=yes with_database_dbm=no libdbm="-lgdbm -lgdbm_compat"], [ if test "$with_database_gdbm" = "yes"; then XE_DIE("Required GNU DBM support cannot be provided.") fi - with_database_gdbm=no]) + with_database_gdbm=no], -lgdbm) + ]) fi dnl Check for DBM support in libc and libdbm.