summaryrefslogtreecommitdiffstats
path: root/rules/readline.in
blob: d531c7c6a4943dd1344e2b72856f44d40a0e7ac1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## SECTION=system_libraries
menuconfig READLINE
	tristate
	select NCURSES if READLINE_NCURSES
	select TERMCAP if READLINE_TERMCAP
	select GCCLIBS_GCC_S
	prompt "readline                      "
	help
	  Shared libraries for terminal handling

choice
	prompt "termcap library to be used"
	default READLINE_NCURSES
	depends on READLINE

	config READLINE_NOPREFERENCE
		bool
		prompt "no preference"
		help
		  Tries to autodetect what library is present. If ncurses
		  and termcap will be found termcap has precedence over ncurses.

	config READLINE_TERMCAP
		bool
		prompt "termcap"
		help
		  Links the readline library against the termcap library

	config READLINE_NCURSES
		bool
		prompt "ncurses"
		help
		  Links the readline library against the ncurses library

endchoice

config READLINE_ETC_INPUTRC
	depends on READLINE
	bool
	prompt "install /etc/inputrc"
	help
	  If enabled, it installs the "./projectroot/etc/inputrc" file if
	  present, else a generic one from the ptxdist directory.