--- xine-ui-0.99.6/m4/readline.m4.orig 2009-12-19 00:14:27.000000000 +0100 +++ xine-ui-0.99.6/m4/readline.m4 2011-02-20 07:02:26.886967526 +0100 @@ -63,7 +63,7 @@ if test "$LIBS" = ''; then LIBS='' LDFLAGS="$READLINE_LDFLAGS_TEMP" - AC_CHECK_LIB([ncurses], [cbreak]) + AC_SEARCH_LIBS([cbreak], [tinfow ncursesw tinfo ncurses]) if test "$LIBS" = ''; then AC_MSG_NOTICE([libreadline is not linked against libncurses, and I can't find it - disabling]) have_readline=no