--- proftpd-1.3.2e/configure.in~ 2010-08-29 19:11:41.077617756 +0200 +++ proftpd-1.3.2e/configure.in 2010-08-29 19:14:28.683856499 +0200 @@ -1765,7 +1765,7 @@ dnl headers have been found. if test x"$ac_cv_header_curses_h" = xyes; then AC_CHECK_LIB(curses, initscr, - [ CURSES_LIBS="-lcurses" + [ CURSES_LIBS="-lcurses -ltinfo" AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have curses]) ]) fi @@ -1778,19 +1778,19 @@ if test x"$enable_nls" = xyes ; then AC_CHECK_LIB(ncursesw, initscr, - [ CURSES_LIBS="-lncursesw" + [ CURSES_LIBS="-lncursesw -ltinfow" pr_have_ncursesw="yes" AC_DEFINE(HAVE_LIBNCURSESW, 1, [Define if you have ncursesw]) ], [ AC_CHECK_LIB(ncurses, initscr, - [ CURSES_LIBS="-lncurses" + [ CURSES_LIBS="-lncurses -ltinfo" AC_DEFINE(HAVE_LIBNCURSES, 1, [Define if you have ncurses]) ]) ]) else AC_CHECK_LIB(ncurses, initscr, - [ CURSES_LIBS="-lncurses" + [ CURSES_LIBS="-lncurses -ltinfo" AC_DEFINE(HAVE_LIBNCURSES, 1, [Define if you have ncurses]) ]) fi