From 782bcf0df7636bad4b8efc35229861ec6d4877cf Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 3 Jun 2017 19:34:59 +0200 Subject: [PATCH] package/gdbm: add optional support for readline readline support was added in version 1.13: http://puszcza.gnu.org.ua/forum/forum.php?forum_id=1145 "The gdbmtool utility now offers the usual line-editing facilities (if the package has been compiled with GNU Readline." Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/gdbm/gdbm.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/gdbm/gdbm.mk b/package/gdbm/gdbm.mk index 290e8410ef..4e3ed76e81 100644 --- a/package/gdbm/gdbm.mk +++ b/package/gdbm/gdbm.mk @@ -14,4 +14,11 @@ ifeq ($(BR2_PACKAGE_GETTEXT),y) GDBM_DEPENDENCIES += gettext endif +ifeq ($(BR2_PACKAGE_READLINE),y) +GDBM_CONF_OPTS += --with-readline +GDBM_DEPENDENCIES += readline +else +GDBM_CONF_OPTS += --without-readline +endif + $(eval $(autotools-package)) -- 2.30.2