From c8ff297d3ca1d5a195147c32859b87dba820c281 Mon Sep 17 00:00:00 2001
From: gaoyi <gaoyi15$huawei.com>
Date: Wed, 28 Oct 2020 19:37:25 +0800
Subject: [PATCH] change ndbm to gdbm

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index b9b0f83..7262199 100644
--- a/configure.ac
+++ b/configure.ac
@@ -447,7 +447,7 @@ if test x"$WITH_DB" != xno ; then
               LIBS=$old_libs
         fi
         if test -z "$LIBDB" ; then
-            AC_CHECK_LIB([ndbm],[dbm_store], LIBDB="-lndbm", LIBDB="")
+            AC_CHECK_LIB([gdbm_compat],[dbm_store], LIBDB="-lgdbm_compat", LIBDB="")
             if test -n "$LIBDB" ; then
                 AC_CHECK_HEADERS(ndbm.h)
             fi
-- 
2.33.0

