From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/4] package/sqlite: add optional support for libedit
Date: Sat, 23 Jan 2016 14:10:30 +0100 [thread overview]
Message-ID: <87oaccqw55.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20160123131048.579f660b@free-electrons.com> (Thomas Petazzoni's message of "Sat, 23 Jan 2016 13:10:48 +0100")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> Dear Bernd Kuhls,
> On Sat, 23 Jan 2016 11:23:45 +0100, Bernd Kuhls wrote:
>> diff --git a/package/sqlite/Config.in b/package/sqlite/Config.in
>> index 7ea9eb1..31add17 100644
>> --- a/package/sqlite/Config.in
>> +++ b/package/sqlite/Config.in
>> @@ -8,13 +8,25 @@ config BR2_PACKAGE_SQLITE
>>
>> if BR2_PACKAGE_SQLITE
>>
>> +choice
>> + prompt "Command-line editing"
>> + default BR2_PACKAGE_SQLITE_READLINE
>> + help
>> + Enable command-line editing.
>> +
>> +config BR2_PACKAGE_SQLITE_LIBEDIT
>> + bool "libedit"
>> + select BR2_PACKAGE_LIBEDIT
>> +
>> config BR2_PACKAGE_SQLITE_READLINE
>> - bool "Command-line editing"
>> + bool "readline"
>> select BR2_PACKAGE_NCURSES
>> select BR2_PACKAGE_READLINE
>> help
>> Enable command-line editing. This requires ncurses and readline.
> I am not sure I like adding a choice for such a simple thing.
> Config.in choices are not randomized in our build testing.
> What about instead dropping the BR2_PACKAGE_SQLITE_READLINE option, and
> automatically enable readline/libedit support in sqlite when the
> corresponding packages are enabled ?
> Peter, what do you think ?
Yes, I also think that would be nicer. The situation with readline is
imho quite like openssl, E.G. we should just enable support for it in
packages if it is present.
--
Venlig hilsen,
Peter Korsgaard
next prev parent reply other threads:[~2016-01-23 13:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-23 10:23 [Buildroot] [PATCH 1/4] package/sqlite: Disable autoreconf Bernd Kuhls
2016-01-23 10:23 ` [Buildroot] [PATCH 2/4] package/sqlite: Dynamically link libsqlite.so to bin/sqlite3 Bernd Kuhls
2016-01-23 10:23 ` [Buildroot] [PATCH 3/4] package/sqlite: Fix readline support Bernd Kuhls
2016-01-23 10:23 ` [Buildroot] [PATCH 4/4] package/sqlite: add optional support for libedit Bernd Kuhls
2016-01-23 12:10 ` Thomas Petazzoni
2016-01-23 13:10 ` Peter Korsgaard [this message]
2016-01-23 12:09 ` [Buildroot] [PATCH 1/4] package/sqlite: Disable autoreconf Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oaccqw55.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox