configure: add ncursesw detecting

Vitaly Lipatov lav at etersoft.ru
Wed Dec 13 13:11:54 CST 2006


In order to build wineconsole run properly in utf8 locale, we use ncursesw, 
which can handle wchar strings.
For first step, this patch add ncursesw detecting code to configure.ac.

Example of defines when ncursesw present:
$ grep CURS config.h
#define HAVE_CURSES_H 1
/* #undef HAVE_LIBCURSES */
#define HAVE_LIBNCURSES 1
#define HAVE_LIBNCURSESW 1
#define HAVE_NCURSES_H 1
#define SONAME_LIBCURSES "libcurses.so"
#define SONAME_LIBNCURSES "libncurses.so.5"
#define SONAME_LIBNCURSESW "libncursesw.so.5"
We will use HAVE_LIBNCURSESW in future patches against wineconsole problems.

Changelog:
- add ncursesw detecting
-- 
Vitaly Lipatov, ALT Linux Team
Russia, Saint-Petersburg, www.etersoft.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure_ncursesw.patch
Type: text/x-diff
Size: 1078 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061213/80aa0477/configure_ncursesw.bin


More information about the wine-patches mailing list