regression in meson build, AC_PATH_PROG lost

Olaf Hering olaf at aepfle.de
Thu Nov 12 21:40:02 UTC 2020


autoconf allows to specify the path to a runtime binary that is not required during build via an environment variable:
AC_PATH_PROG([PARTED], [parted], [], [$LIBVIRT_SBIN_PATH])

meson lacks such essential feature. As a result the package build environment needs to have more packages than necessary installed. This excessive list also pushes libvirt closer to the end of the build dependency chain.

Was this considered while the buildsystem was switched to meson?

Since meson does not support environment variables it seems the only way to address this is to introduce an option in meson_options.txt for each runtime executable.

Will such change be accepted?


Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201112/0a5c5621/attachment-0001.sig>


More information about the libvir-list mailing list