summaryrefslogtreecommitdiff
path: root/net-misc/tn5250/files/tn5250-0.17.4-tinfo.patch
blob: 46469c4def8ef7c6943207ae261e7d3f403d4b2a (plain)
1
2
3
4
5
6
7
8
9
10
--- a/configure.ac
+++ b/configure.ac
@@ -64,6 +64,7 @@
 			AC_MSG_ERROR([** You need a curses-compatible library installed.])
 		fi
 	fi
+	AC_SEARCH_LIBS(stdscr, tinfo, [CURSES_LIB="$CURSES_LIB -ltinfo"])
 	AC_SUBST([CURSES_LIB])
         if test "$ac_cv_use_old_keys" != "yes";
         then