summaryrefslogtreecommitdiff
blob: 65c0d715837515aee3c46aa417c07b53eb9b38f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/configure.in
+++ b/configure.in
@@ -89,6 +89,7 @@
 	then
 		AC_CHECK_LIB(curses, initscr, NCURSLIB="curses", NCURSLIB="")
 	fi
+	AC_SEARCH_LIBS(stdscr,tinfo)
 fi
 if test "x$NCURSLIB" != "x"
 then
@@ -97,6 +98,7 @@
 	AC_DEFINE(HAVE_NCURSES)
 	LIBS="$LIBS -l$NCURSLIB"
 	umix_CONDOBJS="$umix_CONDOBJS ui_ncurses.o"
+	AC_SEARCH_LIBS(stdscr,tinfo)
 else
 	have_ncurses="no"
 fi