diff -Naur centericq-4.21.0.org/configure centericq-4.21.0-wide/configure --- centericq-4.21.0.org/configure 2005-10-04 13:08:12.000000000 +0200 +++ centericq-4.21.0-wide/configure 2005-10-04 15:19:24.000000000 +0200 @@ -5879,13 +5879,13 @@ -echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5 -echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6 -if test "${ac_cv_lib_ncurses_initscr+set}" = set; then +echo "$as_me:$LINENO: checking for initscr in -lncursesw" >&5 +echo $ECHO_N "checking for initscr in -lncursesw... $ECHO_C" >&6 +if test "${ac_cv_lib_ncursesw_initscr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lncurses $LIBS" +LIBS="-lncursesw $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -5930,25 +5930,25 @@ ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_lib_ncurses_initscr=yes + ac_cv_lib_ncursesw_initscr=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_ncurses_initscr=no +ac_cv_lib_ncursesw_initscr=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5 -echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6 -if test $ac_cv_lib_ncurses_initscr = yes; then +echo "$as_me:$LINENO: result: $ac_cv_lib_ncursesw_initscr" >&5 +echo "${ECHO_T}$ac_cv_lib_ncursesw_initscr" >&6 +if test $ac_cv_lib_ncursesw_initscr = yes; then cat >>confdefs.h <<_ACEOF -#define HAVE_LIBNCURSES 1 +#define HAVE_LIBNCURSESW 1 _ACEOF - LIBS="-lncurses $LIBS" + LIBS="-lncursesw $LIBS" else @@ -6024,8 +6024,8 @@ LIBS="-lcurses $LIBS" else - { { echo "$as_me:$LINENO: error: The ncurses terminal library is required in order to build the program" >&5 -echo "$as_me: error: The ncurses terminal library is required in order to build the program" >&2;} + { { echo "$as_me:$LINENO: error: The ncursesw terminal library is required in order to build the program" >&5 +echo "$as_me: error: The ncursesw terminal library is required in order to build the program" >&2;} { (exit 1); exit 1; }; } fi diff -Naur centericq-4.21.0.org/configure.in centericq-4.21.0-wide/configure.in --- centericq-4.21.0.org/configure.in 2005-10-04 13:08:12.000000000 +0200 +++ centericq-4.21.0-wide/configure.in 2005-10-04 15:18:52.000000000 +0200 @@ -109,8 +109,8 @@ AC_CHECK_LIB(socket, socket) AC_CHECK_LIB(nsl, gethostbyname) -AC_CHECK_LIB(ncurses, initscr,, - [AC_CHECK_LIB(curses, initscr,, AC_MSG_ERROR(The ncurses terminal library is required in order to build the program))]) +AC_CHECK_LIB(ncursesw, initscr,, + [AC_CHECK_LIB(curses, initscr,, AC_MSG_ERROR(The ncursesw terminal library is required in order to build the program))]) AC_TRY_COMPILE([ #include diff -Naur centericq-4.21.0.org/kkconsui-0.1/include/conscommon.h centericq-4.21.0-wide/kkconsui-0.1/include/conscommon.h --- centericq-4.21.0.org/kkconsui-0.1/include/conscommon.h 2005-10-04 13:08:12.000000000 +0200 +++ centericq-4.21.0-wide/kkconsui-0.1/include/conscommon.h 2005-10-04 15:22:37.000000000 +0200 @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #ifdef __sun__