summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-06-03 19:34:59 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-04 09:51:34 +0200
commit782bcf0df7636bad4b8efc35229861ec6d4877cf (patch)
treedfaa34d209ecf662608df52ebdd14f821a23151a
parent9a91a43a7e84e95afb777f831513b0774ff2cc17 (diff)
downloadbuildroot-782bcf0df7636bad4b8efc35229861ec6d4877cf.tar.gz
buildroot-782bcf0df7636bad4b8efc35229861ec6d4877cf.zip
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 <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gdbm/gdbm.mk7
1 files changed, 7 insertions, 0 deletions
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))
OpenPOWER on IntegriCloud