Building gdb without ncursesw?

Simon Marchi simark@simark.ca
Mon Oct 19 14:21:25 GMT 2020


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


More information about the Gdb mailing list