summaryrefslogtreecommitdiff
blob: e8c4585dbcb4e2f2b0eec9590bff49e2c1926a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,7 @@
 
 AC_CHECK_LIB(ncursesw, initscr,
 	[LIBS="$LIBS -lncursesw"
+	AC_SEARCH_LIBS(cbreak, tinfo)
 	if test x$abook_cv_curses = x/usr -a -d /usr/include/ncursesw; then
 		CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
 	fi
@@ -93,6 +94,7 @@
 	ac_widec_possible=no
 	AC_CHECK_LIB(ncurses, initscr,
 		[LIBS="$LIBS -lncurses"
+		AC_SEARCH_LIBS(cbreak, tinfo)
 		if test x$abook_cv_curses = x/usr -a -d /usr/include/ncurses; then
 			CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
 		fi