diff options
| author | Cleber Rosa | 2019-08-26 17:58:32 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2019-08-27 21:57:24 +0200 |
| commit | 406ab2f331555cfcf320fe2a77949d7f8af7ab32 (patch) | |
| tree | 05370dee5173e523b58cb2a0e61015722ef16ea0 /include | |
| parent | BootLinuxSshTest: Only use 'test' for unittest.TestCase method names (diff) | |
| download | qemu-406ab2f331555cfcf320fe2a77949d7f8af7ab32.tar.gz qemu-406ab2f331555cfcf320fe2a77949d7f8af7ab32.tar.xz qemu-406ab2f331555cfcf320fe2a77949d7f8af7ab32.zip | |
configure: more resilient Python version capture
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 <crosa@redhat.com>
Message-Id: <20190826155832.17427-1-crosa@redhat.com>
Reviewed-by: Tony Nguyen <tony.nguyen@bt.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
