1From cf4d7fd9f7cb6c1ced32ee323b2b5755640051b7 Mon Sep 17 00:00:00 2001
2From: Bernd Kuhls <bernd.kuhls@t-online.de>
3Date: Sat, 11 Apr 2020 22:01:40 +0200
4Subject: [PATCH] Add an option to disable the berkeleydb module
5
6Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
7---
8 configure.ac | 6 ++++++
9 1 file changed, 6 insertions(+)
10
11diff --git a/configure.ac b/configure.ac
12index 4e733f6..1e52f30 100644
13--- a/configure.ac
14+++ b/configure.ac
15@@ -3480,6 +3480,12 @@ if test "$UUID" = "no"; then
16    DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _uuid"
17 fi
18
19+AC_ARG_ENABLE(berkeleydb,
20+	AS_HELP_STRING([--disable-berkeleydb], [disable berkeleydb]),
21+	[ if test "$enableval" = "no"; then
22+	     DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _dbm"
23+	  fi])
24+
25 AC_SUBST(PYDOC)
26
27 AC_ARG_ENABLE(pydoc,
28--
292.30.2
30
31