summaryrefslogtreecommitdiff
blob: 8a01eeb2560b365e3d58c77e414148029364b81c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/configure.ac
+++ b/configure.ac
@@ -74,6 +74,10 @@
 	AC_CHECK_LIB([menuw], [new_item], [], [
 	    AC_MSG_ERROR([ You need to have ncurses menuw library installed to compile sngrep.])
 	])
+
+	AC_SEARCH_LIBS([keyname], [tinfow], [], [
+	    AC_MSG_ERROR([ You need to have ncurses tinfow library installed to compile sngrep.])
+	])
 	], [
 
 	# Ncurses without wide-character support
@@ -96,6 +100,10 @@
 	AC_CHECK_LIB([menu], [new_item], [], [
 	    AC_MSG_ERROR([ You need to have ncurses menu library installed to compile sngrep.])
 	])
+
+	AC_SEARCH_LIBS([keyname], [tinfo], [], [
+	    AC_MSG_ERROR([ You need to have ncurses tinfo library installed to compile sngrep.])
+	])
 ])
 
 ####