summaryrefslogtreecommitdiff
path: root/net-analyzer/sniffit/files/sniffit-0.4.0-tinfo.patch
blob: 85e266fb5d13fff4bb8a4c36931d54b4ad3fcf59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/configure.ac
+++ b/configure.ac
@@ -12,7 +12,8 @@
 AC_PROG_CC
 
 # Checks for libraries.
-AC_CHECK_LIB(ncurses, main, , [AC_MSG_ERROR([Couldn't find libncurses])])
+AC_CHECK_LIB(ncurses, initscr, , [AC_MSG_ERROR([Couldn't find libncurses])])
+AC_SEARCH_LIBS(keypad, tinfo, , [AC_MSG_ERROR([Couldn't find libncurses])])
 AC_CHECK_LIB(pcap, pcap_open_live, , [AC_MSG_ERROR([Couldn't find libpcap])])
 
 # Checks for header files.