sqlite3: add config options to disable FTS3 and RTREE

The full-text search engine version 3 (FTS3) and R*Tree (RTREE) modules are
enabled by default in sqlite3; add config options which allow to disable these
sqlite lib modules.
Disabling FTS3 reduces the so file with 475KB while disabling RTREE reduces
the so file with 121KB on x86 architecture.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
This commit is contained in:
Hans Dedecker
2018-01-30 16:06:08 +01:00
parent e81136758d
commit aac84ff03d
2 changed files with 36 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
menu "Configuration"
depends on PACKAGE_libsqlite3
config SQLITE_FTS3
bool
prompt "Enable FTS3"
help
"Enable support for full-text search version 3"
default y
config SQLITE_RTREE
bool
prompt "Enable RTREE"
help
"Enable support for the R*Tree index extension"
default y
endmenu