Re: [PATCH] Kconfig: lxdialog: Enable UTF8

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

 



On Sat, 16 Jul 2005, Ken Moffat wrote:

> On Sat, 16 Jul 2005, Sam Ravnborg wrote:
>
> > >
> > > OK, I'll bite - non utf8 here, and no libncursesw : a quick google
> > > suggests I can get it if I recompile ncurses with --enable-widec, but
> > > why would I want to do that ?
> > Could you try if specifying both libraries works for you. the 'w'
> > version first. Then we can use the 'w' version when available but
> > fall-back to the normal case if not.
> >
> > 	Sam
> >
>
>  Didn't work, I get the not unexpected "cannot find -lncursesw".  I
> think some sort of pre-test will be needed to see which one exists.
> I'm weak on doing this in a Makefile, but I'll have a look tonight or
> tomorrow.
>

 Hmm, I can repeatedly test by linking against candidate libraries by
converting the current if...else test to nested if..else (adding
-lcurses while I'm at it), but I can't crack setting HOST_LOADLIBES from
that - if the link succeeded, I'm into the shell code to tidy up and
from there I can't set a variable in the Makefile .

 I don't want to attempt to build a configure script in a Makefile -
even if it's possible, I think it would be nasty.  So unless I've
misunderstood your question, no, I can't specify both libraries.

 Note that I originally asked why on a system that doesn't use utf8, I
should rebuild ncurses.  A sufficiently compelling reason would make me
rebuild.

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux