Look for ncurses with PKG_CONFIG, and remove libtinfo because it just causes

confusion.
This commit is contained in:
Nicholas Marriott
2015-12-11 19:58:09 +00:00
parent 2a3456cd3b
commit 38cc1a1843
2 changed files with 19 additions and 9 deletions

View File

@ -18,9 +18,9 @@
#include <sys/types.h>
#ifdef HAVE_CURSES_H
#if defined(HAVE_CURSES_H)
#include <curses.h>
#else
#elif defined(HAVE_NCURSES_H)
#include <ncurses.h>
#endif
#include <fnmatch.h>