diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-05-12 09:11:06 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-05-17 08:16:19 +0200 |
commit | 6c63688d60d7eb53cb4211bce6dab4cc2d10d20b (patch) | |
tree | a8b2f2bbdb851d16541a35800e5485251d7b47d6 /rules/less.in | |
parent | 7c1401da7d3968501f6ef3a420d4428d3e22994f (diff) | |
download | ptxdist-6c63688d60d7eb53cb4211bce6dab4cc2d10d20b.tar.gz ptxdist-6c63688d60d7eb53cb4211bce6dab4cc2d10d20b.tar.xz |
less: exactly one terminal library must be selected
Cleanup while at it.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/less.in')
-rw-r--r-- | rules/less.in | 51 |
1 files changed, 9 insertions, 42 deletions
diff --git a/rules/less.in b/rules/less.in index d2f5d5be2..3e182f2c0 100644 --- a/rules/less.in +++ b/rules/less.in @@ -7,17 +7,10 @@ menuconfig LESS prompt "less " select GCCLIBS_GCC_S depends on !BUSYBOX_LESS || ALLYES -# select LIBPW if LESS_USE_PW -# select CURSES if LESS_USE_CURSES -# select TINFO if LESS_USE_TINFO -# select XCURSES if LESS_USE_XCURSES select NCURSES if LESS_USE_NCURSES select NCURSES if LESS_USE_NCURSESW select NCURSES_WIDE_CHAR if LESS_USE_NCURSESW select TERMCAP if LESS_USE_TERMCAP -# select TERMLIB if LESS_USE_TERMLIB -# select GEN if LESS_USE_GEN -# select INTL if LESS_USE_INTL help Less is a pager. A pager is a program that displays text files. More info: @@ -29,64 +22,38 @@ if LESS config LESS_BIN bool default y - prompt "install less pager " + prompt "install less pager" help less - a pager config LESS_KEY bool - prompt "install lesskey " + prompt "install lesskey" help lesskey - specify key bindings for less config LESS_ECHO bool - prompt "install lessecho " + prompt "install lessecho" help lessecho - expand metacharacters - -# library dependencies - -config LESS_USE_PW - bool -# prompt "use libPW" - -config LESS_USE_CURSES - bool -# prompt "use curses" - -config LESS_USE_TINFO - bool -# prompt "use tinfo" - -config LESS_USE_XCURSES - bool -# prompt "use xcurses" +choice + prompt "terminal library " config LESS_USE_NCURSES bool - prompt "use ncurses" + prompt "ncurses " config LESS_USE_NCURSESW bool - prompt "use ncursesw" + prompt "ncursesw" config LESS_USE_TERMCAP bool - prompt "use termcap" - -config LESS_USE_TERMLIB - bool -# prompt "use termlib" + prompt "termcap " -config LESS_USE_GEN - bool -# prompt "use libgen" - -config LESS_USE_INTL - bool -# prompt "use libintl" +endchoice endif |