menuconfig: optionally use pkg-config to detect ncurses libs
authorJustin Lecher <jlec@gentoo.org>
Wed, 6 Mar 2013 13:02:01 +0000 (14:02 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 6 Mar 2013 23:20:51 +0000 (00:20 +0100)
commitfc9c6e000f62c2eeda426d4d5f022b3d57729bb0
tree9dca3544f4f65439c636052d1164a4ef78a173e2
parente3900e74f26fc924c8e9e2a922bd40369b0bb517
menuconfig: optionally use pkg-config to detect ncurses libs

When building ncurses with --with-termlib several symbols get moved from
libncurses.so to libtinfo.so. Thus when linking with libncurses.so, one
additionally needs to link with libtinfo.so.

The ncurses pkg-config module will be used to detect the necessary libs for
linking. If not available the old heuristic for detection of the ncurses libs
will be used.

Signed-off-by: Justin Lecher <jlec@gentoo.org>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts/kconfig/lxdialog/check-lxdialog.sh