kumquat-buildroot/package/rlwrap/Config.in
Fabrice Fontaine 6e0826d067 package/rlwrap: needs MMU
Fix the following build failure raised since the addition of the package
in commit 0a1f2fce04:

/home/autobuild/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/bin/ld.real: pty.o: in function `my_pty_fork':
pty.c:(.text+0x68): undefined reference to `fork'
/home/autobuild/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/bin/ld.real: filter.o: in function `.L0 ':
filter.c:(.text+0x134): undefined reference to `fork'

Fixes:
 - http://autobuild.buildroot.org/results/0a3a68cfb181bc67a7dbf1d44f64b0a29df75987

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-02-11 16:32:33 +01:00

44 lines
1.3 KiB
Plaintext

config BR2_PACKAGE_RLWRAP
bool "rlwrap"
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_READLINE
help
rlwrap is a 'readline wrapper', a small utility that uses the
GNU Readline library to allow the editing of keyboard input
for any command.
https://github.com/hanslub42/rlwrap
if BR2_PACKAGE_RLWRAP
config BR2_PACKAGE_RLWRAP_SPY_ON_READLINE
bool "spy on readline"
default y
help
If we want to keep the display tidy when re-sizing the
terminal window or printing multi-line prompts, we have to
know whether or not readline is in horizontal-scroll-mode
(i.e. wheter long lines are scrolled or wrapped). At present,
this involves a look at a private readline variable - if you
feel guilty about that, disable this option
config BR2_PACKAGE_RLWRAP_HOMEGROWN_REDISPLAY
bool "homegrown redisplay"
help
Some people report double echoing of user input. Enabling this
option will cure the problem - though the display will then
flicker over slow connections (cf. BUGS)
config BR2_PACKAGE_RLWRAP_MULTIBYTE_AWARE
bool "multibyte awareness"
default y
depends on BR2_USE_WCHAR
help
Prevent rlwrap from seeing multibyte characters as multiple
characters
comment "rlwrap multibyte awareness needs a toolchain w/ wchar"
depends on !BR2_USE_WCHAR
endif