--- aspell-0.60.6.1/configure.ac.orig 2011-07-04 10:58:29.000000000 +0200 +++ aspell-0.60.6.1/configure.ac 2011-07-14 18:01:22.971002230 +0200 @@ -344,20 +344,20 @@ if test "$enable_wide_curses" != "no" -a -n "$have_mblen" then - LIBS="-lncursesw $ORIG_LIBS" + LIBS="-lncursesw -ltinfow $ORIG_LIBS" AC_TRY_LINK( [#include ], [initscr()], - [CURSES_LIB=-lncursesw + [CURSES_LIB="-lncursesw -ltinfow" AC_DEFINE(CURSES_HEADER, , [Defined to curses header file]) AC_DEFINE(TERM_HEADER, , [Defined to term header file])]) fi if test -z "$CURSES_LIB" then - LIBS="-lncurses $ORIG_LIBS" + LIBS="-lncurses -ltinfo $ORIG_LIBS" AC_TRY_LINK( [#include ], [initscr()], - [CURSES_LIB=-lncurses + [CURSES_LIB="-lncurses -ltinfo" AC_DEFINE(CURSES_HEADER, , [Defined to curses header file]) AC_DEFINE(TERM_HEADER, , [Defined to term header file])], [