configure: add ncursesw detecting [try 2]

Vitaly Lipatov lav at etersoft.ru
Thu Dec 14 12:07:35 CST 2006


Try 2, with ncursesw/ncurses detecting
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 */
/* #undef HAVE_LIBNCURSES */
#define HAVE_LIBNCURSESW 1
#define HAVE_NCURSESW_NCURSES_H 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: 1816 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061214/1748f815/configure_ncursesw.bin


More information about the wine-patches mailing list