summaryrefslogtreecommitdiff
blob: dcab6ec324f4c1b57de1ab3e0f5d85f83d760232 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/configure.in
+++ b/configure.in
@@ -70,6 +70,7 @@
 esac
 
 dnl Checks for libraries.
+PKG_CHECK_MODULES([NCURSES],[ncurses],[LIBS="$LIBS $NCURSES_LIBS"],[AC_MSG_ERROR([ncurses was not found])])
 AC_CHECK_LIB(ncurses, initscr)
 AC_CHECK_LIB(form, new_form)