From 937fcec34ba0d7ebfe0fb654c4106cc9c496f106 Mon Sep 17 00:00:00 2001 From: Amadeusz Sławiński Date: Fri, 18 Apr 2014 14:05:56 +0000 Subject: test more libraries for tgetent Signed-off-by: Amadeusz Sławiński --- diff --git a/src/configure.in b/src/configure.in index e9ca223..139bba1 100644 --- a/src/configure.in +++ b/src/configure.in @@ -674,10 +674,16 @@ AC_TRY_LINK(,tgetent((char *)0, (char *)0);,, LIBS="-lncursesw $olibs" AC_CHECKING(libncursesw) AC_TRY_LINK(,tgetent((char *)0, (char *)0);,, +LIBS="-ltinfow $olibs" +AC_CHECKING(libtinfow) +AC_TRY_LINK(,tgetent((char *)0, (char *)0);,, LIBS="-lncurses $olibs" AC_CHECKING(libncurses) AC_TRY_LINK(,tgetent((char *)0, (char *)0);,, -AC_MSG_ERROR(!!! no tgetent - no screen))))))) +LIBS="-ltinfo $olibs" +AC_CHECKING(libtinfo) +AC_TRY_LINK(,tgetent((char *)0, (char *)0);,, +AC_MSG_ERROR(!!! no tgetent - no screen))))))))) AC_TRY_RUN([ main() -- cgit v0.9.0.2