]> git.openfabrics.org - ~emulex/infiniband.git/commit
menuconfig: fix extended colors ncurses support
authorKrzysztof Mazur <krzysiek@podlesie.net>
Mon, 8 Oct 2012 16:18:22 +0000 (18:18 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 20 Nov 2012 09:52:36 +0000 (10:52 +0100)
commit7d5bb966290d71d9dfe69a3ed0c31b26bf9afc63
tree05951086d10943fa183f72805429b633a7ace95a
parentddffeb8c4d0331609ef2581d84de4d763607bd37
menuconfig: fix extended colors ncurses support

The ncurses library allows for extended colors. The support for extended
colors support depends on wide-character support. ncurses headers
enable extended colors (NCURSES_EXT_COLORS) only when wide-character
support is enabled (NCURSES_WIDECHAR).

The "make menuconfig" uses wide-character ncursesw library, which can be
compiled with wide-character support, but does not define NCURSES_WIDECHAR
and it's using headers without wide-character (and extended colors) support.

This fixes problems with colors on systems with enabled extended colors
(like PLD Linux). Without this patch "make menuconfig" is hard to use.

Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/lxdialog/check-lxdialog.sh