linux/scripts/kconfig/lxdialog
Bjørn Forsman be8af2d54a kconfig/lxdialog: get ncurses CFLAGS with pkg-config
This makes "make menuconfig" also work on systems where ncurses is not
installed in a standard location (such as on NixOS).

This patch changes ccflags() so that it tries pkg-config first, and only
if pkg-config fails does it go back to the fallback/manual checks. This
is the same algorithm that ldflags() already uses.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2014-09-23 15:47:48 +02:00
..
.gitignore
BIG.FAT.WARNING
check-lxdialog.sh kconfig/lxdialog: get ncurses CFLAGS with pkg-config 2014-09-23 15:47:48 +02:00
checklist.c kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00
dialog.h kconfig: lxdialog: fix spelling 2014-08-22 11:46:49 +02:00
inputbox.c kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00
menubox.c kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00
textbox.c mconf: use function calls instead of ncurses' variables LINES and COLS 2013-06-18 23:58:58 +02:00
util.c kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00
yesno.c mconf: use function calls instead of ncurses' variables LINES and COLS 2013-06-18 23:58:58 +02:00