25 lines
759 B
Diff
25 lines
759 B
Diff
|
|
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 d537907..ecbaa2d 100644
|
||
|
|
--- a/configure.ac
|
||
|
|
+++ b/configure.ac
|
||
|
|
@@ -435,7 +435,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.23.0
|