xemacs/ndbm.patch

16 lines
679 B
Diff

Index: xemacs-21.5.29/configure.ac
===================================================================
--- xemacs-21.5.29.orig/configure.ac
+++ xemacs-21.5.29/configure.ac
@@ -5419,8 +5419,8 @@ fi
dnl Check for DBM support in libgdbm.
if test "$enable_database_gdbm" != "no"; then
- AC_CHECK_LIB(gdbm, dbm_open, [
- enable_database_gdbm=yes enable_database_dbm=no libdbm=-lgdbm], [
+ AC_CHECK_LIB(ndbm, dbm_open, [
+ enable_database_gdbm=yes enable_database_dbm=no libdbm=-lndbm], [
AC_CHECK_LIB(gdbm_compat, dbm_open, [
enable_database_gdbm=yes enable_database_dbm=no libdbm="-lgdbm_compat -lgdbm"], [
if test "$enable_database_gdbm" = "yes"; then