Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ncurses: Link against libtinfo as needed
  • Loading branch information
Jeroen Roovers committed Sep 22, 2020
commit 75f84a05438d673aea8ee16a59d4e6d0318afaa4
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ AS_IF([test "x$with_ncurses" = "xyes"],
# (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])
Expand Down