diff options
Diffstat (limited to 'rules/less.in')
-rw-r--r-- | rules/less.in | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/rules/less.in b/rules/less.in index 3e182f2c0..0f801b3cc 100644 --- a/rules/less.in +++ b/rules/less.in @@ -8,8 +8,6 @@ menuconfig LESS select GCCLIBS_GCC_S depends on !BUSYBOX_LESS || ALLYES 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 help Less is a pager. A pager is a program @@ -45,15 +43,23 @@ config LESS_USE_NCURSES bool prompt "ncurses " -config LESS_USE_NCURSESW - bool - prompt "ncursesw" - config LESS_USE_TERMCAP bool prompt "termcap " endchoice +if LESS_USE_NCURSES + +config LESS_NCURSES + bool + default !NCURSES_WIDE_CHAR + +config LESS_NCURSESW + bool + default NCURSES_WIDE_CHAR + +endif + endif |