Re: [PATCH 1/2] menuconfig: use config scripts to detect ncurseslibs

From: Justin
Date: Sun Mar 03 2013 - 16:21:00 EST


On 03.03.2013 21:36, Yann E. MORIN wrote:
Hello,
>
> In the light of the different mails on the subject, it appears that the
> ncurses*-config script are unreliable: at least one major distribution
> (Debian) is broken and, for various reasons, is not gonna fix it, and
> all its derivatives (eg. Ubuntu) do suffer from the same deficiency.

Indeed the config scripts come without the necessary build time deps.
But it ends in the same situation as current version of the Makefile.
The user will be asked to install the devel package.
So I don't see any problem here.

>
> I think we should stick to:
> - try with pkg-config;
> - fallback to the legacy heuristic.
>
> Does using pkg-config fix your use-case?

It does, nevertheless I would prefer to include the ncurses*-config
script as well to cover most situation we will find on users system.

Justin

Attachment: signature.asc
Description: OpenPGP digital signature