]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
Detect tgetent in libtinfo 7/head
authorJustin Lecher <jlec@gentoo.org>
Sun, 5 May 2013 12:51:01 +0000 (14:51 +0200)
committerJustin Lecher <jlec@gentoo.org>
Sun, 5 May 2013 12:51:01 +0000 (14:51 +0200)
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 <jlec@gentoo.org>
configure.ac

index ebcb993cc9aa2240fa35811186dcd77407f2f52d..5bcc5459aa9c61036d366a3341e96ebd1aacb917 100644 (file)
@@ -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, ,