summaryrefslogtreecommitdiff
blob: 3253532a6bc292955abc796565a976c52a9ac147 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/configure.ac
+++ b/configure.ac
@@ -191,7 +191,8 @@
 			AC_CHECK_HEADERS([ncurses.h],,[ncurses_found=no])
 			if test "$ncurses_found" = yes
 			then
-				AC_CHECK_LIB([ncurses],[tputs],,[ncurses_found=no])
+				AC_CHECK_LIB([tinfo],[tputs],,
+					AC_CHECK_LIB([ncurses],[tputs],,[ncurses_found=no]))
 				if test "$ncurses_found" = yes
 				then
 					AC_DEFINE(BLASSIC_CONFIG_USE_NCURSES)