changeset 934:a09bf67d1dfb

Unicode support depends on having ncursesw
author Mikael Berthe <mikael@lilotux.net>
date Sat, 08 Jul 2006 12:47:54 +0200
parents ede9260be93d
children 97e6a6da2b2c
files mcabber/INSTALL mcabber/src/utf8.h
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/INSTALL	Sat Jul 08 09:43:23 2006 +0200
+++ b/mcabber/INSTALL	Sat Jul 08 12:47:54 2006 +0200
@@ -7,6 +7,7 @@
 the src/ directory after the build procedure)
 
 MCabber needs ncurses and ncurses development packages to build correctly.
+For UTF-8 terminal support, use ncursesw instead.
 If you want SSL support, you will need openssl lib & dev packages as well.
 
 Please have a look at the README file before launching mcabber.
--- a/mcabber/src/utf8.h	Sat Jul 08 09:43:23 2006 +0200
+++ b/mcabber/src/utf8.h	Sat Jul 08 12:47:54 2006 +0200
@@ -21,6 +21,10 @@
 # undef UNICODE
 #endif
 
+#ifndef HAVE_NCURSESW_NCURSES_H
+# undef UNICODE
+#endif
+
 extern int utf8_mode;
 
 char *prev_char(char *str, const char *limit);