Re: Building gdb without ncursesw?

Simon Marchi <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 2020-10-17 6:22 p.m., Paul Smith via Gdb wrote:
> On Sat, 2020-10-17 at 14:35 -0400, Paul Smith via Gdb wrote:
>> There's really no need (that I can see) for ncursesw since we just
>> always uses utf8 all the time for everything.
>
> I should clarify that by this I mean, _I_ (and the folks I work with)
> have no need for it in our environment: I'm not suggesting everyone
> should use utf8 and no one has any need for ncursesw.

Looking at configure.ac, the library is chosen using this line:

  AC_SEARCH_LIBS(waddstr, [ncursesw ncurses cursesX curses])

Then, looking at my config.cache, I see this line:

  ac_cv_search_waddstr=${ac_cv_search_waddstr=-lncursesw}

So I suppose that if you pass ac_cv_search_waddstr=-lncurses to
configure, it will just use that instead of probing.

Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.