]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: define "pkg-config" in addition to "pkgconfig"
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Oct 2023 15:32:50 +0000 (17:32 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Oct 2023 08:01:02 +0000 (10:01 +0200)
commit528148980adb78bc368a5254204e2ea98e4f6b6c
treedea1fc647119989f334dc93d3a96b8a1bfaac232
parentb4d61d3d816fcde0aa560d16a44f4790d7c8de3f
configure: define "pkg-config" in addition to "pkgconfig"

Meson used to allow both "pkgconfig" and "pkg-config" entries in machine
files; the former was used for dependency lookup and the latter
was used as return value for "find_program('pkg-config')", which is a less
common use-case and one that QEMU does not need.

This inconsistency is going to be fixed by Meson 1.3, which will deprecate
"pkgconfig" in favor of "pkg-config" (the less common one, but it makes
sense because it matches the name of the binary). For backward
compatibility it is still allowed to define both, so do that in the
configure-generated machine file.

Related: https://github.com/mesonbuild/meson/pull/12385
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure