--- xemacs-21.4.12/configure.in 2003-01-07 03:57:03.000000000 +0000 +++ xemacs-21.4.12-mod/configure.in 2004-08-14 11:57:18.295889664 +0100 @@ -4347,9 +4347,9 @@ if test "$with_database_gdbm" != "no"; then AC_CHECK_LIB(gdbm, dbm_open, [ - with_database_gdbm=yes with_database_dbm=no libdbm=-lgdbm], [ + with_database_gdbm=yes with_database_dbm=no libdbm="-lgdbm_compat -lgdbm"], [ 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_compat) fi