ba05d01476
As of readline 8.1, "bracketed paste" is enabled by default. However, the feature causes control characters to appear in captured (telnet) session output. This can throw off pattern matching if the output is to be processed by scripts. Let's keep the previous default of leaving this feature disabled and provide a configuration option for users to enable it. Signed-off-by: Markus Mayer <mmayer@broadcom.com> [yann.morin.1998@free.fr: - explicit enable/disable - no indentation in conditional block - rewrap help text ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
32 lines
1002 B
Makefile
32 lines
1002 B
Makefile
################################################################################
|
|
#
|
|
# readline
|
|
#
|
|
################################################################################
|
|
|
|
READLINE_VERSION = 8.1
|
|
READLINE_SITE = $(BR2_GNU_MIRROR)/readline
|
|
READLINE_INSTALL_STAGING = YES
|
|
READLINE_DEPENDENCIES = ncurses host-autoconf
|
|
HOST_READLINE_DEPENDENCIES = host-ncurses host-autoconf
|
|
READLINE_CONF_ENV = bash_cv_func_sigsetjmp=yes \
|
|
bash_cv_wcwidth_broken=no
|
|
READLINE_CONF_OPTS = --disable-install-examples
|
|
READLINE_LICENSE = GPL-3.0+
|
|
READLINE_LICENSE_FILES = COPYING
|
|
READLINE_CPE_ID_VENDOR = gnu
|
|
|
|
ifeq ($(BR2_PACKAGE_READLINE_BRACKETED_PASTE),y)
|
|
READLINE_CONF_OPTS += --enable-bracketed-paste-default
|
|
else
|
|
READLINE_CONF_OPTS += --disable-bracketed-paste-default
|
|
endif
|
|
|
|
define READLINE_INSTALL_INPUTRC
|
|
$(INSTALL) -D -m 644 package/readline/inputrc $(TARGET_DIR)/etc/inputrc
|
|
endef
|
|
READLINE_POST_INSTALL_TARGET_HOOKS += READLINE_INSTALL_INPUTRC
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|