diff options
author | Clemens Gruber <clemens.gruber@pqgruber.com> | 2017-11-06 16:26:06 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-11-16 18:03:27 +0100 |
commit | b8949549ff98b54cd390901aba0ede18b1223f10 (patch) | |
tree | 0ef933f9eb4837ff83eb75dd4e329fa91fd3ef0d /Makefile.in | |
parent | 18734536e8af28c10debc93d4cf45913cd1d3d69 (diff) | |
download | ptxdist-b8949549ff98b54cd390901aba0ede18b1223f10.tar.gz ptxdist-b8949549ff98b54cd390901aba0ede18b1223f10.tar.xz |
ptxdist: Use pkg-config for ncurses detection
Use pkg-config to detect ncurses instead of AC_SEARCH_LIBS.
We still have a --with-ncurses option to prepend the search path of the
ncurses headers. The CFLAGS from pkg-config are always appended, as they
not only contain -I but also -D flags.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index f454cbd1a..40c676c2b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -36,6 +36,7 @@ kconfig: $(MAKE) -C "$(abs_srcdir)/scripts/kconfig" \ CONF_LIBS="@CONF_LIBS@" \ MCONF_LIBS="@MCONF_LIBS@" \ + NCONF_LIBS="@NCONF_LIBS@" \ CURSES_LOC="@CURSES_LOC@" \ conf mconf $(NCONF) @echo "done." |