diff -urpN centericq-4.21.0.orig/configure.in centericq-4.21.0/configure.in --- centericq-4.21.0.orig/configure.in 2005-09-02 15:45:50.000000000 +0100 +++ centericq-4.21.0/configure.in 2006-07-01 10:27:53.000000000 +0100 @@ -109,7 +109,7 @@ LIBS="$LIBS $LIBICONV" AC_CHECK_LIB(socket, socket) AC_CHECK_LIB(nsl, gethostbyname) -AC_CHECK_LIB(ncurses, initscr,, +AC_CHECK_LIB(ncursesw, initscr,, [AC_CHECK_LIB(curses, initscr,, AC_MSG_ERROR(The ncurses terminal library is required in order to build the program))]) AC_TRY_COMPILE([