From: Bernd Kuhls Date: Sat, 3 Jun 2017 17:34:59 +0000 (+0200) Subject: package/gdbm: add optional support for readline X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=782bcf0df7636bad4b8efc35229861ec6d4877cf;p=buildroot.git 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 --- 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))