rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 535d086f6efb24eeaf9a0b2d8269e97a88c12f29
parent aea3b917a8b6668126a3f3df41d4207fcfb38d99
Author: Toby Goodwin <toby@paccrat.org>
Date:   Tue,  7 Apr 2015 22:29:49 +0100

tgetent can be in -ltinfo

Diffstat:
Macinclude.m4 | 13++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/acinclude.m4 b/acinclude.m4 @@ -197,11 +197,14 @@ main() { dnl Where is tgetent()? AC_DEFUN([RC_LIB_TGETENT], [ - AC_CHECK_LIB(termcap, tgetent, - rc_lib_tgetent=-ltermcap, - AC_CHECK_LIB(ncurses, tgetent, - rc_lib_tgetent=-lncurses, - AC_MSG_ERROR(tgetent not found) + AC_CHECK_LIB(tinfo, tgetent, + rc_lib_tgetent=-ltinfo, + AC_CHECK_LIB(termcap, tgetent, + rc_lib_tgetent=-ltermcap, + AC_CHECK_LIB(ncurses, tgetent, + rc_lib_tgetent=-lncurses, + AC_MSG_ERROR(tgetent not found) + ) ) ) ])