blob: c7252b74435e493f9b19237472aec5fda66c44f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- a/configure.ac
+++ b/configure.ac
@@ -101,7 +101,10 @@
# (On Solaris 11.3, ncurses builds and links for us, but curses does not.)
[AC_SEARCH_LIBS(
[initscr], [ncurses curses],
+ [AC_SEARCH_LIBS(
+ [raw], [ncurses curses cursesX tinfo],
[AC_DEFINE([HAVE_CURSES], [1], [Define if a curses library available])],
+ [with_ncurses=no])],
[with_ncurses=no])
])
AM_CONDITIONAL([WITH_CURSES], [test "x$with_ncurses" = xyes])
|