packages/libs/sqlite3/Config-lib.in
Sebastian Kemper 0b6d2678c1 sqlite3: add configure switches to menuselect
Adds (most) configure switches to menuselect. The defaults are _not_
changed, meaning the default configuration itself remains the same.

This enables changing the configuration through menuselect and adds
flags that other packages may use.

Config.in is renamed to Config-lib.in in anticipation of a future commit
where the cli tool package also gets a file to source.

The variables also get a prefix change from SQLITE to SQLITE3 in case
there will be a new major release in the future that may coexist with
sqlite3.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-27 11:10:31 +01:00

53 lines
860 B
Text

menu "Configuration"
depends on PACKAGE_libsqlite3
config SQLITE3_DYNAMIC_EXTENSIONS
bool "Dynamic extensions"
default y
help
Enable loadable extensions.
config SQLITE3_FTS3
bool "FTS3 support"
default y
help
Enable FTS3 support.
config SQLITE3_FTS4
bool "FTS4 support"
depends on SQLITE3_FTS3
default y
help
Enable FTS4 support.
config SQLITE3_FTS5
bool "FTS5 support"
default y
help
Enable FTS5 support.
config SQLITE3_JSON1
bool "JSON1 extension"
default y
help
Include JSON1 support. This is the default.
config SQLITE3_RTREE
bool "R-Tree support"
default y
help
Enable R-Tree support.
config SQLITE3_SESSION
bool "Session extension"
default n
help
Enable the session extension (default no).
config SQLITE3_THREADSAFE
bool "Thread-safe library"
default y
help
Build a thread-safe library.
endmenu