Re: Final versions of ncurses libs detection patches

From: Yann E. MORIN
Date: Wed Mar 06 2013 - 16:23:33 EST


Justin, All,

On Wednesday 06 March 2013 jlec@xxxxxxxxxx wrote:
> I am sorry for the long delay.
> Final versions of the patches which are reduced to the usage of pkg-config. And
> if unavailable we use the old code.

On Ubuntu Quantal, ncurses is indeed compiled with tinfo as a separate
lib, but these two patches are not needed, because libncurses has proper
(NEEDED) on libtinfo:

$ readelf -d /lib/x86_64-linux-gnu/libncurses.so.5.9 |grep tinfo
0x0000000000000001 (NEEDED) Shared library: [libtinfo.so.5]

If I just configure ncurses with:
$ ./configure --with-termlib --with-shared --without-normal && make
$ readelf -d lib/libncurses.so.5.9 |grep tinfo
0x0000000000000001 (NEEDED) Shared library: [libtinfo.so.5]

I wonder how you configured your ncurses.

But anyway, even in that cse, using pkg-config when available is better
than using our previous legacy checks.

I'm still doing a few more tests on my side before queuing.

> Thanks for all suggestions,

Thanks for staying around during the iterations.

Regards,
Yann E. MORIN.

--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/