]> git.pld-linux.org Git - packages/atftp.git/blame - atftp-tinfo.patch
- updated to 0.8.0; added patch to remove unnecessary -lnsl
[packages/atftp.git] / atftp-tinfo.patch
CommitLineData
e00b5ea6
AM
1diff -urN atftp-0.7.org/configure.ac atftp-0.7/configure.ac
2--- atftp-0.7.org/configure.ac 2004-03-16 02:51:40.000000000 +0100
3+++ atftp-0.7/configure.ac 2007-01-12 17:28:51.708908250 +0100
4@@ -107,11 +107,12 @@
5 if test x$libreadline = xtrue; then
6 dnl Debian's readline is already linked to ncurses. It is not the case for
7 dnl all other systems.
8- AC_CHECK_LIB(readline, tgetent, LIBTERMCAP="",
9+ AC_CHECK_LIB(tinfo, tgetent, LIBTERMCAP=-ltinfo,
10+ AC_CHECK_LIB(readline, tgetent, LIBTERMCAP="",
11 AC_CHECK_LIB(ncurses, tgetent, LIBTERMCAP=-lncurses,
12 AC_CHECK_LIB(curses, tgetent, LIBTERMCAP=-lcurses,
13 AC_CHECK_LIB(termcap, tgetent, LIBTERMCAP=-ltermcap,
14- AC_MSG_RESULT(no)))))
15+ AC_MSG_RESULT(no))))))
16 AC_SUBST(LIBTERMCAP)
17
18 dnl Check for readline
This page took 0.120621 seconds and 4 git commands to generate.