--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,7 @@
 
 AC_CHECK_LIB(ncursesw, initscr,
 	[LIBS="$LIBS -lncursesw"
+	AC_SEARCH_LIBS(cbreak, tinfow, LIBS="$LIBS -ltinfow")
 	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, LIBS="$LIBS -ltinfo")
 		if test x$abook_cv_curses = x/usr -a -d /usr/include/ncurses; then
 			CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
 		fi
