nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] optional unicode (ncursesw) support


From: Mike Frysinger
Subject: Re: [Nano-devel] optional unicode (ncursesw) support
Date: Thu, 24 Mar 2005 20:09:29 -0500
User-agent: KMail/1.8

On Wednesday 23 March 2005 11:20 pm, David Lawrence Ramsey wrote:
> Sounds good to me.  However, it may be a bit more complicated than just
> checking for ncurses(w), since UTF-8 support also depends on certain
> <snip>

thanks for the pointers, i made the checks for the funcs conditional, but i 
didnt conditionalize any of the header files ...

>  >if this tweak is acceptable, i can send a patch for configure.ac if you
>  >want
>
> It is.  Thanks in advance.

find attached !  i only added logic to the ncurses code because the slang 
stuff is pretty ugly, and i dislike slang intensely :)

logic works like this:
./configure
 - $enable_utf8=auto and current behavior stays the same

./configure --enable-utf8
 - $enable_utf8=yes and if no utf8 support is found, configure will abort

./configure --disable-utf8
 - $enable_utf8=no and no checks are performed for wide ncurses or the 
iswalnum/mblen/etc... functions or the UTF8 warning at the end
-mike

Attachment: utf8-configure.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]