--- pinentry-0.7.3/m4/curses.m4~ 2005-09-03 14:55:13 +0400 +++ pinentry-0.7.3/m4/curses.m4 2007-08-10 17:28:19 +0400 @@ -28,7 +28,7 @@ AC_DEFUN([IU_LIB_NCURSES], [ AC_ARG_ENABLE(ncurses, [ --disable-ncurses don't prefer -lncurses over -lcurses], , enable_ncurses=yes) if test "$enable_ncurses" = yes; then - AC_CHECK_LIB(ncurses, initscr, LIBNCURSES="-lncurses") + AC_CHECK_LIB(ncurses, initscr, LIBNCURSES="-lncursesw") if test "$LIBNCURSES"; then # Use ncurses header files instead of the ordinary ones, if possible; # is there a better way of doing this, that avoids looking in specific