From: Justin Lecher Date: Sun, 5 May 2013 12:51:01 +0000 (+0200) Subject: Detect tgetent in libtinfo X-Git-Tag: v0.85~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7%2Fhead;p=thirdparty%2Fmtr.git Detect tgetent in libtinfo For linux when build ncurses with --with-termlib you get libtinfo.so by default. This patch extends detection of tgetent to libtinfo Signed-off-by: Justin Lecher --- diff --git a/configure.ac b/configure.ac index ebcb993..5bcc545 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,7 @@ AC_CHECK_HEADERS(socket.h sys/socket.h sys/xti.h arpa/nameser_compat.h) # We have to trust the linker not to mess things up... (It should not # pull in anything if we don't refer to anything in the lib). AC_CHECK_LIB(termcap, tgetent) +AC_CHECK_LIB(tinfo, tgetent) AC_CHECK_FUNC(initscr, , AC_CHECK_LIB(ncurses, initscr, ,