34 lines
932 B
Diff
34 lines
932 B
Diff
From 4c7323f69b4fddf928245e9db2d1c9ca9b277ef2 Mon Sep 17 00:00:00 2001
|
|
From: Michael Schroeder <mls@suse.de>
|
|
Date: Wed, 18 Dec 2019 17:42:31 +0100
|
|
Subject: [PATCH] Fix building with no BerkeleyDB support
|
|
|
|
The configure script used to define BDB even if BerkeleyDB has
|
|
been disabled.
|
|
|
|
URL:https://github.com/rpm-software-management/rpm/commit/4c7323f69b4fddf928245e9db2d1c9ca9b277ef2
|
|
---
|
|
configure.ac | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index de6034c..7a90b2f 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -544,11 +544,11 @@ AC_ARG_ENABLE([bdb],
|
|
[enable_bdb="$enableval"],
|
|
[enable_bdb=yes])
|
|
|
|
+have_bdb="no"
|
|
AS_IF([test "x$enable_bdb" != "xno"], [
|
|
if [ test -x db/dist/configure ]; then
|
|
have_bdb="internal"
|
|
else
|
|
- have_bdb="no"
|
|
AC_CHECK_HEADERS([db.h],[
|
|
AC_PREPROC_IFELSE([
|
|
AC_LANG_SOURCE([
|
|
--
|
|
1.8.3.1
|
|
|