mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
sqlite3: make cli-editing support selectable
sqlite3 can use libedit, readline or disable command-line editing support altogether. This commit adds a choice to menuselect. The default is changed from readline to libedit, as the latter is upstream's first choice and is also a bit smaller than readline. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
24
libs/sqlite3/Config-cli.in
Normal file
24
libs/sqlite3/Config-cli.in
Normal file
@@ -0,0 +1,24 @@
|
||||
menu "Configuration"
|
||||
depends on PACKAGE_sqlite3-cli
|
||||
|
||||
choice
|
||||
prompt "Select command-line editing support"
|
||||
default SQLITE3_LIBEDIT
|
||||
|
||||
config SQLITE3_LIBEDIT
|
||||
bool "libedit"
|
||||
help
|
||||
Link against libedit. This is the default.
|
||||
|
||||
config SQLITE3_READLINE
|
||||
bool "readline"
|
||||
help
|
||||
Link against GNU readline.
|
||||
|
||||
config SQLITE3_READLINE_NONE
|
||||
bool "none"
|
||||
help
|
||||
Disable command-line editing support.
|
||||
|
||||
endchoice
|
||||
endmenu
|
||||
Reference in New Issue
Block a user