-From ce41cfc39129ee2be67667f2d9b78cc7f7d24dca Mon Sep 17 00:00:00 2001
+From b9a07b1ff100d5efeb5698d0ffe1c56935c681b8 Mon Sep 17 00:00:00 2001
From: zimous <zimous@matfyz.cz>
Date: Mon, 2 Sep 2019 12:46:53 +0200
Subject: [PATCH] Fix build against ncurses with separate tinfo lib
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
-index 9426a94..bc5e39d 100644
+index 9426a94..958375f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,11 +52,23 @@ AC_ARG_WITH(
+ ])
],[AC_CHECK_LIB([curses],[tparm],[
CURSESLIB=-lcurses
-+ AC_CHECK_LIB([tinfow],[tgetent], [
++ AC_CHECK_LIB([tinfo],[tgetent], [
+ CURSESLIB="$CURSESLIB -ltinfo"
+ ])
],[AC_CHECK_LIB([ncurses],[tparm],[
CURSESLIB=-lncurses
- ])])])
-+ AC_CHECK_LIB([tinfow],[tgetent], [
++ AC_CHECK_LIB([tinfo],[tgetent], [
+ CURSESLIB="$CURSESLIB -ltinfo"
+ ])
+ ],
LDFLAGS="$LDFLAGS $TERMLIB"
AC_CHECK_LIB([readline],[readline],[
--
-2.23.0
+2.24.1