Detect curses via pkg-config
commit1a008e1a2b771b1decc82db2f641e821096ba0b8
authorFelix Janda <felix.janda@posteo.de>
Mon, 19 Sep 2016 00:21:26 +0000 (18 20:21 -0400)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 7 Oct 2016 06:46:06 +0000 (7 08:46 +0200)
tree162c064ca29787131f7d98a90d08e10e1182f6cf
parent788bfe6049748d20991c721417e904ea8ef60495
Detect curses via pkg-config

When available, use pkg-config to detect CFLAGS and LIBS for curses.
This fixes compilation for example on systems where programs using
ncurses usually need to be linked with '-lncurses -ltinfo'.

Signed-off-by: Felix Janda <felix.janda@posteo.de>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
dist/configure.ac