summaryrefslogtreecommitdiff
path: root/get-in-use-of-ndb.patch
blob: 500e40bfd30f6c9163c21ddb7056172cbb61726d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From 8ba0780a26429bbb474e23112627ebbaeb9abfee Mon Sep 17 00:00:00 2001
From: renmingshuai <renmingshuai@huawei.com>
Date: Mon, 29 Nov 2021 10:53:24 +0800
Subject: [PATCH] get in use of ndb

---
 configure.ac | 4 ++--
 macros.in    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6b161dc..ab1c667 100644
--- a/configure.ac
+++ b/configure.ac
@@ -490,9 +490,9 @@ AM_CONDITIONAL([BDB_RO], [test "$enable_bdb_ro" = yes])
 # Check for SQLITE support
 AC_ARG_ENABLE([sqlite],
               [AS_HELP_STRING([--enable-sqlite=@<:@yes/no/auto@:>@)],
-                              [build with sqlite rpm database format support (default=yes)])],
+                              [build with sqlite rpm database format support (default=auto)])],
               [enable_sqlite="$enableval"],
-              [enable_sqlite=yes])
+              [enable_sqlite=auto])
 
 AS_IF([test "x$enable_sqlite" != "xno"], [
   PKG_CHECK_MODULES([SQLITE], [sqlite3 >= 3.22.0], [have_sqlite=yes], [have_sqlite=no])
diff --git a/macros.in b/macros.in
index 22f675c..3e81918 100644
--- a/macros.in
+++ b/macros.in
@@ -602,7 +602,7 @@ package or when debugging this package.\
 # sqlite Sqlite database
 # dummy dummy backend (no actual functionality)
 #
-%_db_backend	      @DB_BACKEND@
+%_db_backend	      ndb
 
 #==============================================================================
 # ---- GPG/PGP/PGP5 signature macros.
-- 
1.8.3.1