Commit Diff


commit - b3c59b132f6c5f9e12728cdd6e183ddc6f3cfa2d
commit + 8671caea20ee6eb43a2b4005a0429cddf9266d4a
blob - ea6f0e16aa6543c1cd11b03e7a56657b167c814d
blob + 734736d5102fb46b8da50d9ada97a803119cf7aa
--- configure.ac
+++ configure.ac
@@ -52,6 +52,10 @@ AC_SEARCH_LIBS([initscr], [ncursesw ncurses], [], [
 	AC_MSG_ERROR([requires either ncursesw or ncurses library])
 ])
 
+AC_SEARCH_LIBS([keyname], [ncursesw ncurses tinfow tinfo], [], [
+	AC_MSG_ERROR([requires either ncursesw or ncurses library with terminfo support])
+])
+
 AC_CHECK_LIB(tls, tls_init, [], [
 	AC_MSG_ERROR([requires libtls])
 ])