summaryrefslogtreecommitdiff
path: root/net-proxy/sqtop/files/sqtop-2015.02.08-ncurses.patch
blob: c12953b75b7561e8826d3d0061d6d8df2e49a397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/configure.ac b/configure.ac
index 9306ef8..829d793 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,7 +60,9 @@ if test x$enable_ui = xtrue; then
             ], [AC_MSG_ERROR([Unable to find the ncurses headers]); break;])
         ])
    AC_CHECK_LIB([ncurses], [initscr], [], [AC_MSG_ERROR([Unable to find the ncurses library]); break;])
-   AC_CHECK_FUNCS([clear refresh endwin mvaddstr mvchgat mvhline getch beep initscr nonl keypad noecho cbreak halfdelay addnstr], [], [AC_MSG_ERROR([Unable to find some ncurses functions]); break;])
+   AC_CHECK_FUNCS([clear refresh endwin mvaddstr mvchgat mvhline getch beep initscr nonl], [], [AC_MSG_ERROR([Unable to find some ncurses functions]); break;])
+   AC_CHECK_LIB([tinfo], [cur_term], [], [AC_MSG_ERROR([Unable to find the tinfo (ncurses) library]); break;])
+   AC_CHECK_FUNCS([keypad noecho cbreak halfdelay addnstr], [], [AC_MSG_ERROR([Unable to find some tinfo (ncurses) functions]); break;])
    test_pthread=yes
 fi