blob: 960aaf8530135ed0917ab97eb10a314d3ebf036f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,8 @@ AC_PROG_CC
# not use it because src/sn_config.h does not define INCLUDE_INTERFACE because
# other conditions are not met. It would be better to move that logic entirely
# to Autoconf and to define (or not) INCLUDE_INTERFACE only here.
-AC_CHECK_LIB(ncurses, initscr)
+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.
|