[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] configure: more resilient Python version cap
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH v2] configure: more resilient Python version capture |
Date: |
Tue, 27 Aug 2019 17:07:59 -0300 |
On Mon, Aug 26, 2019 at 11:58:32AM -0400, Cleber Rosa wrote:
> The current approach to capture the Python version is fragile, as it
> was demonstrated by a very specific build of Python 3 on Fedora 29
> that, under non-interactive shells would print multiline version
> information.
>
> The (badly) stripped version output would be sent to config-host.mak,
> producing bad syntax and rendering the makefiles unusable. Now, the
> Python versions is printed by configure, but only a simple (and better
> controlled variable) indicating whether the build system is using
> Python 2 is kept on config-host.mak.
>
> Signed-off-by: Cleber Rosa <address@hidden>
Queued, thanks!
--
Eduardo