machine/soundcard.h \
mntent.h \
ncurses.h \
+ ncursesw/ncurses.h \
netdb.h \
netinet/in.h \
netinet/in_systm.h \
dnl **** Check which curses lib to use ***
CURSESLIBS=""
-if test "$ac_cv_header_ncurses_h" = "yes"
+if test "$ac_cv_header_ncursesw_ncurses_h" = "yes"
+then
+ WINE_CHECK_SONAME(ncursesw,waddnwstr,
+ [AC_DEFINE(HAVE_LIBNCURSESW, 1, [Define if you have the ncursesw library (-lncursesw)])
+ CURSESLIBS="-lncursesw"])
+elif test "$ac_cv_header_ncurses_h" = "yes"
then
WINE_CHECK_SONAME(ncurses,waddch,[CURSESLIBS="-lncurses"])
elif test "$ac_cv_header_curses_h" = "yes"
LIBS="$LIBS $CURSESLIBS"
AC_CHECK_FUNCS(mousemask)
LIBS="$ac_save_LIBS"
-WINE_NOTICE_WITH(curses,[test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"],
+WINE_NOTICE_WITH(curses,[test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses$ac_cv_lib_soname_ncursesw" = "x"],
[lib(n)curses development files not found, curses won't be supported.])
dnl **** Check for SANE ****