]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: eliminate Python dependency for --help
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 28 Mar 2017 13:44:18 +0000 (14:44 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 21 Apr 2017 09:45:34 +0000 (10:45 +0100)
commitc53eeaf75a04782e15a0cc931eda0b9e3143cfd0
tree7ab691520d29fe02645b8e82a28fd18230197235
parentfa54abb8c298f892639ffc4bc2f61448ac3be4a1
configure: eliminate Python dependency for --help

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 <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20170328134418.3426-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
configure