kconfig: check ncursesw headers first in check-lxdialog
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Wed, 13 Jun 2012 00:05:02 +0000 (19:05 -0500)
committerMichal Marek <mmarek@suse.cz>
Wed, 4 Jul 2012 16:26:35 +0000 (18:26 +0200)
commit84354256bff5e95ed3dd8d42b4d7322044c979d7
tree351a8973ae6bc494ba7462010978e857e6a15418
parentd7c67a2e93334f7d290ba5fc2b2129b9d8ecd84f
kconfig: check ncursesw headers first in check-lxdialog

Commit 8c41e5e363db55d91aa3b1cdce4ab02ad9821de7 added a check for
ncursesw/curses.h for the case where ncurses and ncursesw are build
separately but only one is installed.  But if both are installed,
the headers ncurses/curses.h and ncursesw/curses.h differ, and since
libncursesw will be found first, so should ncursesw/curses.h.

Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/lxdialog/check-lxdialog.sh