kconfig: use pkg-config for ncurses detection master origin/master current
authorBarret Rhoden <brho@cs.berkeley.edu>
Sun, 17 Nov 2019 18:13:00 +0000 (13:13 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sun, 17 Nov 2019 18:13:00 +0000 (13:13 -0500)
commit76e8476bfe8097698d788f01f52ccbe4725eea70
treeff2fa88d792245b2741f583faed95a29a3072ae8
parentf3c9ddf34aa40d4d39f38fe8a0c336ac8a0c457c
kconfig: use pkg-config for ncurses detection

From Linux commits be8af2d54a66 ("kconfig/lxdialog: get ncurses CFLAGS
with pkg-config") and 7285996aa000 ("kconfig: nconfig: fix multi-byte
UTF handling").

Our Kconfig was built off of Linux's back in 2013, and it's showing its
age with more recent toolchains and libraries.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
scripts/kconfig/Makefile
scripts/kconfig/lxdialog/check-lxdialog.sh