hush/scripts/kconfig
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
..
lxdialog kconfig/lxdialog: get ncurses CFLAGS with pkg-config 2016-04-03 23:59:15 -04:00
.gitignore add .gitignore files 2009-05-05 09:05:30 -04:00
check.sh *: trailing empty lines removed 2010-07-26 01:49:12 +02:00
conf.c get rid of several "variable 'x' set but not used" warnings 2011-05-01 14:43:53 +02:00
confdata.c fix if(p)/free(p) construct 2015-06-07 18:19:43 +02:00
expr.c whitespace fixes 2007-05-30 00:29:55 +00:00
expr.h
gconf.c Remove 'busybox' word from configuration programs 2008-05-28 11:59:32 +00:00
gconf.glade
images.c
kconfig_load.c whitespace fixes 2007-05-30 00:29:55 +00:00
kxgettext.c
lex.zconf.c_shipped update _shipped file with hurd fix 2010-08-02 02:17:25 +02:00
lkc_proto.h
lkc.h
Makefile build system: fix make gconfig 2013-12-19 04:43:24 +01:00
mconf.c scripts/kconfig/mconf: work on systems w/o SIGWINCH 2012-09-27 15:26:40 +02:00
menu.c *: trailing empty lines removed 2010-07-26 01:49:12 +02:00
POTFILES.in
qconf.cc Remove 'busybox' word from configuration programs 2008-05-28 11:59:32 +00:00
qconf.h
symbol.c
util.c fix if(p)/free(p) construct 2015-06-07 18:19:43 +02:00
zconf.gperf
zconf.hash.c_shipped *: trailing empty lines removed 2010-07-26 01:49:12 +02:00
zconf.l Hurd compat fixes. Mostly dealing with absent PATH_MAX 2010-03-26 19:08:53 +01:00
zconf.tab.c_shipped *: trailing empty lines removed 2010-07-26 01:49:12 +02:00
zconf.y *: s/spaces/tabs/ 2010-07-26 12:47:36 +02:00