package/sqlite: add optional support for libedit
PATCH v4 1/1 package/sqlite: add optional support for libedit
Signed-off-by Bernd Kuhls <[email protected]>
---
v4: rebased
v3: rebased
v2: removed BR2_PACKAGE_SQLITE_READLINE (Thomas, Peter)
Config.in.legacy | 11 +++++++++++ package/sqlite/Config.in | 7 ------- package/sqlite/sqlite.mk | 9 ++++++--- 3 files changed, 17 insertions(+), 10 deletions(-)
Config.in.legacy +11 -0
@@ -145,6 +145,17 @@ endif ############################################################################### comment "Legacy options removed in 2016.02" +config BR2_PACKAGE_SQLITE_READLINE + bool "command-line editing support was updated" + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_READLINE + select BR2_LEGACY + help + This option was removed in favour of the sqlite package + deciding itself depending on the enabled packages whether + command-line editing should be enabled, it also also takes + libedit into account. + config BR2_PACKAGE_OPENPOWERLINK_DEBUG_LEVEL bool "openpowerlink debug option has been removed" select BR2_LEGACY
package/sqlite/Config.in +0 -7
@@ -8,13 +8,6 @@ config BR2_PACKAGE_SQLITE if BR2_PACKAGE_SQLITE -config BR2_PACKAGE_SQLITE_READLINE - bool "Command-line editing" - select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_READLINE - help - Enable command-line editing. This requires ncurses and readline. - config BR2_PACKAGE_SQLITE_STAT3 bool "Additional query optimizations (stat3)" help
package/sqlite/sqlite.mk +6 -3
@@ -45,11 +45,14 @@ else SQLITE_CONF_OPTS += --disable-threadsafe endif -ifeq ($(BR2_PACKAGE_SQLITE_READLINE),y) +ifeq ($(BR2_PACKAGE_READLINE),y) SQLITE_DEPENDENCIES += ncurses readline -SQLITE_CONF_OPTS += --enable-readline +SQLITE_CONF_OPTS += --disable-editline --enable-readline +else ifeq ($(BR2_PACKAGE_LIBEDIT),y) +SQLITE_DEPENDENCIES += libedit +SQLITE_CONF_OPTS += --enable-editline --disable-readline else -SQLITE_CONF_OPTS += --disable-readline +SQLITE_CONF_OPTS += --disable-editline --disable-readline endif $(eval $(autotools-package))
Signature · 1 line
2.7.0
PATCH v4 1/1 package/sqlite: add optional support for libedit
Bernd, All,
On 2016-02-08 18:04 +0100, Bernd Kuhls spake thusly:
Quoted 56 lines
Signed-off-by Bernd Kuhls <[email protected]>---
v4: rebased
v3: rebased
v2: removedBR2_PACKAGE_SQLITE_READLINE(Thomas, Peter)Config.in.legacy | 11 +++++++++++ package/sqlite/Config.in | 7 ------- package/sqlite/sqlite.mk | 9 ++++++--- 3 files changed, 17 insertions(+), 10 deletions(-)Config.in.legacy +11
-0@@ -145,6 +145,17 @@ endif ############################################################################### comment "Legacy options removed in 2016.02" +config BR2_PACKAGE_SQLITE_READLINE + bool "command-line editing support was updated" + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_READLINE + select BR2_LEGACY + help + This option was removed in favour of the sqlite package + deciding itself depending on the enabled packages whether + command-line editing should be enabled, it also also takes + libedit into account. + config BR2_PACKAGE_OPENPOWERLINK_DEBUG_LEVEL bool "openpowerlink debug option has been removed" select BR2_LEGACYpackage/sqlite/Config.in +0
-7@@ -8,13 +8,6 @@ config BR2_PACKAGE_SQLITE if BR2_PACKAGE_SQLITE -config BR2_PACKAGE_SQLITE_READLINE - bool "Command-line editing" - select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_READLINE - help - Enable command-line editing. This requires ncurses and readline. - config BR2_PACKAGE_SQLITE_STAT3 bool "Additional query optimizations (stat3)" helppackage/sqlite/sqlite.mk +0
-0
package/sqlite/sqlite.mk else · line 49
Quoted 6 lines
package/sqlite/sqlite.mk +1
-1@@ -45,11 +45,14 @@ else SQLITE_CONF_OPTS += --disable-threadsafe endif -ifeq ($(BR2_PACKAGE_SQLITE_READLINE),y) +ifeq ($(BR2_PACKAGE_READLINE),y) SQLITE_DEPENDENCIES += ncurses readline
If you /etc/profile.d/sendfileneed both ncurses and readline, then the condition should be something like:
ifeq ($(BR2_PACKAGE_NCURSES)$(BR2_PACKAGE_READLINE),yy)
Yes, I know that readline forcibly depends on ncurses. Still, it is best to match the condition to the packages you actually depend on .
Otherwise, looks OK.
When you fix that, you can add my:
Reviewed-by: "Yann E. MORIN" <[email protected]>
Regards,
Yann E. MORIN.
Quoted 18 lines
package/sqlite/sqlite.mk +5
-2-SQLITE_CONF_OPTS += --enable-readline +SQLITE_CONF_OPTS += --disable-editline --enable-readline +else ifeq ($(BR2_PACKAGE_LIBEDIT),y) +SQLITE_DEPENDENCIES += libedit +SQLITE_CONF_OPTS += --enable-editline --disable-readline else -SQLITE_CONF_OPTS += --disable-readline +SQLITE_CONF_OPTS += --disable-editline --disable-readline endif $(eval $(autotools-package))Signature · 6 lines
2.7.0 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'