hush/scripts
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
..
2015-05-25 13:46:36 +02:00
2013-10-16 19:18:05 +02:00
2010-11-06 22:17:30 +01:00
2010-07-26 01:49:12 +02:00
2010-07-26 01:49:12 +02:00
2010-10-19 12:49:51 +02:00
2015-10-11 16:27:55 +02:00
2010-07-09 01:25:36 +02:00