---- amanda-2.5.1p3/tape-src/Makefile.am.orig 2007-04-01 19:13:41.000000000 +0000
-+++ amanda-2.5.1p3/tape-src/Makefile.am 2007-04-01 19:16:05.000000000 +0000
-@@ -18,6 +18,7 @@
- tapeio.c
+--- amanda-2.6.0/config/amanda/readline.m4~ 2008-03-25 21:23:05.000000000 +0100
++++ amanda-2.6.0/config/amanda/readline.m4 2008-05-07 13:30:33.000000000 +0200
+@@ -38,9 +38,9 @@
+ proceed="true"
+ ], [
+ AC_CHECK_LIB(ncurses, tgetent, [
+- READLINE_LIBS="-lncurses"
++ READLINE_LIBS="-lncurses -ltinfo"
+ proceed="true"
+- ])
++ ], [], [-ltinfo])
+ ])
+ ])
- libamtape_la_LDFLAGS = -release $(VERSION)
-+libamtape_la_LIBADD = ../common-src/libamanda.$(LIB_EXTENSION)
-
- ###
- # Because libamanda includes routines (e.g. regex) provided by some system
---- amanda-2.5.1p3/server-src/Makefile.am.orig 2007-04-01 19:20:04.000000000 +0000
-+++ amanda-2.5.1p3/server-src/Makefile.am 2007-04-01 19:21:06.000000000 +0000
-@@ -34,6 +34,7 @@
- taperscan.c
-
- libamserver_la_LDFLAGS= -release $(VERSION)
-+libamserver_la_LIBADD = ../tape-src/libamtape.$(LIB_EXTENSION)
-
- ###
- # Because libamanda includes routines (e.g. regex) provided by some system