summaryrefslogtreecommitdiff
blob: 7a81f244cfb0a79fdfb715ac41cc363e84d6500e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/configure.ac	2011-07-11 22:34:17.000000000 +0300
+++ b/configure.ac	2013-02-28 15:12:24.693841664 +0200
@@ -152,7 +152,8 @@
              [AC_DEFINE(TERMCAP,1,[Define if termcap library is available])
               LIBS="$LIBS -ltermcap"])
 AC_CHECK_LIB(curses,setupterm,LIBS="$LIBS -lcurses",
-             [AC_CHECK_LIB(ncurses,setupterm,LIBS="$LIBS -lncurses")])
+             [AC_CHECK_LIB(ncurses,setupterm,LIBS="$LIBS -lncurses",
+	     	[AC_CHECK_LIB(tinfo,setupterm,LIBS="$LIBS -lncurses")])])
 AC_CHECK_FUNCS(setupterm)
 TELNET_LIBS="$LIBS"
 TELNETD_LIBS="$LIBS"