https://github.com/traviscross/mtr/pull/368 --- 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])