busybox/scripts/kconfig/lxdialog
Bjørn Forsman d63d77a7f0 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>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2016-04-03 23:59:15 -04:00
..
.gitignore add .gitignore files 2009-05-05 09:05:30 -04:00
BIG.FAT.WARNING
check-lxdialog.sh kconfig/lxdialog: get ncurses CFLAGS with pkg-config 2016-04-03 23:59:15 -04:00
checklist.c
colors.h
dialog.h
inputbox.c
lxdialog.c
Makefile
menubox.c
msgbox.c
textbox.c get rid of several "variable 'x' set but not used" warnings 2011-05-01 14:43:53 +02:00
util.c
yesno.c