diff options
author | Matt Turner <mattst88@gmail.com> | 2021-08-03 12:37:02 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-06 00:17:16 +0000 |
commit | a7aaced13482e1267e40f1338bd22db8fad50f77 (patch) | |
tree | 5c128fe07e43ad7fa1192af2eb6bdcc6830302b2 | |
parent | f81e7fcbc2286660e491ee54ce3f8e6f18425930 (diff) |
Link with libtinfo if available
Bug: https://bugs.gentoo.org/529782
Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 574162b..3de9caa 100644 --- a/configure.ac +++ b/configure.ac @@ -68,6 +68,7 @@ fi # check for ncurses, fall back to curses AC_CHECK_LIB([ncurses], [initscr],,AC_CHECK_LIB([curses], [initscr])) +AC_SEARCH_LIBS([stdscr], [tinfo]) XLIBS_CFLAGS="$CWARNFLAGS $XLIBS_CFLAGS" AC_SUBST(XLIBS_CFLAGS) |