1 diff -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
5 if test x$libreadline = xtrue; then
6 dnl Debian's readline is already linked to ncurses. It is not the case for
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))))))
18 dnl Check for readline