summaryrefslogtreecommitdiff
blob: 958685cb5c1275e15dc180dd1db0dd23b6222206 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,8 @@
 AC_HEADER_STDC
 AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/sockio.h])
 
+PKG_CHECK_MODULES(ncurses,ncurses,[LIBS="$LIBS $ncurses_LIBS"],)
+
 # with definitions
 AC_ARG_WITH([ncurses],
 	AC_HELP_STRING([--without-ncurses], [don't use ncurses, default is YES when available]),