[Rpm-maint] [rpm-software-management/rpm] Berkeley DB not disabled with --disable-bdb (#983)
stefanbidi
notifications at github.com
Sat Dec 21 16:31:10 UTC 2019
The problem is fairly trivial: `lib/backend/db3.c` gets included in the build even when `--disable-bdb` is used. I'm trying to build with lmdb only.
The fix is equally trivial: `have_bdb="no"` needs to be moved outside of the AS_IF statement in configure.ac.
--- configure.ac.orig 2019-12-21 11:05:18.388254060 -0500
+++ configure.ac 2019-12-21 11:05:46.143625687 -0500
@@ -537,11 +537,11 @@
[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([
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/983
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191221/f81f4334/attachment.html>
More information about the Rpm-maint
mailing list