On 13/01/21 11:29, Philippe Mathieu-Daudé wrote:
On 1/13/21 11:09 AM, Gerd Hoffmann wrote:
Hi,
I don't like Perl really, but there's a chicken-and-egg problem between
detecting Python and using it to print the configure help script. For
configure-time tasks, Perl has the advantage that "#! /usr/bin/env perl"
just works.
Assuming perl is actually installed, the world seems to shift to python.
On a minimal fedora install python is present but perl is not ...
On the other hand git depends on perl, so it is probably pretty hard to
find a developer workstation without perl installed, so maybe that
doesn't matter much for the time being.
There is also the new configure-parse-buildoptions.pl script Paolo
wants to add:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg770651.html
Yes, that's what I was referring to. shaderinclude.pl could be
converted easily to Python, and I do support in general moving from Perl
to Python. For configure-parse-buildoptions.pl I viewed Perl as more of
a necessary evil.
In the case of scripts/tap-driver.pl, the plan is to use "meson test"
instead as soon as it becomes featureful enough. I have already
switched my private branch to it, the upstream meson work is tracked at
https://github.com/mesonbuild/meson/issues/7830.
Paolo