summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/less.in51
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