kconfig: fix menuconfig on debian lenny
authorJunio C Hamano <gitster@pobox.com>
Sun, 19 Sep 2010 02:25:32 +0000 (19:25 -0700)
committerMike Frysinger <vapier@gentoo.org>
Mon, 4 Apr 2016 03:59:15 +0000 (23:59 -0400)
commitf48bd92285e20f1f9955bd3b07599beb80ef9ea5
tree32160e1d9055e69f90d7d010cda401c3155bac63
parent993dab78220d9dce42c45c8cecba23706735c860
kconfig: fix menuconfig on debian lenny

In 60f33b8 (kconfig: get rid of stray a.o, support ncursesw, 2006-01-15),
support to link menuconfig with ncursesw library was added.  To compute
the linker command option -l, we check "libncursesw.{so,a,dylib}" to allow
ncursesw to be used as a replacement ncurses.  However, when checking what
header file to include, we do not check /usr/include/ncursesw directory.

Add /usr/include/ncursesw to the list of directories that are checked.
With this patch, on my Debian Lenny box with libncursesw5-dev package but
not libncurses5-dev package, I can say "make menuconfig".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
scripts/kconfig/lxdialog/check-lxdialog.sh