[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] configure: eliminate Python dependency for -
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2] configure: eliminate Python dependency for --help |
Date: |
Wed, 29 Mar 2017 11:30:22 +0100 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Tue, Mar 28, 2017 at 02:44:18PM +0100, Stefan Hajnoczi wrote:
> The ./configure script should produce --help output even if Python is
> not installed.
>
> Listing trace backends is simple: show the names of all Python modules
> in scripts/tracetool/backend/ whose source code contains 'PUBLIC =
> True'.
>
> Perform the backend enumeration in shell instead of Python so that we
> can move the Python check until after ./configure --help.
>
> Reported-by: Peter Maydell <address@hidden>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
> v2:
> * Make grep regex portable [Peter]
> * Enumerate trace backends outside help text [Peter]
>
> configure | 35 +++++++++++++++++++----------------
> 1 file changed, 19 insertions(+), 16 deletions(-)
Thanks, applied to my tracing-next tree for QEMU 2.10:
https://github.com/stefanha/qemu/commits/tracing-next
Stefan
signature.asc
Description: PGP signature