[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 32/32] configure: define "pkg-config" in addition to "pkgconfig"
|
From: |
Paolo Bonzini |
|
Subject: |
[PULL 32/32] configure: define "pkg-config" in addition to "pkgconfig" |
|
Date: |
Wed, 18 Oct 2023 10:27:52 +0200 |
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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 8827a29bf4c..b4ea78c77d8 100755
--- a/configure
+++ b/configure
@@ -1736,6 +1736,7 @@ if test "$skip_meson" = no; then
echo "ar = [$(meson_quote $ar)]" >> $cross
echo "nm = [$(meson_quote $nm)]" >> $cross
echo "pkgconfig = [$(meson_quote $pkg_config)]" >> $cross
+ echo "pkg-config = [$(meson_quote $pkg_config)]" >> $cross
echo "ranlib = [$(meson_quote $ranlib)]" >> $cross
if has $sdl2_config; then
echo "sdl2-config = [$(meson_quote $sdl2_config)]" >> $cross
--
2.41.0
- [PULL 21/32] tests/tcg/arm: move non-SVE tests out of conditional, (continued)
- [PULL 21/32] tests/tcg/arm: move non-SVE tests out of conditional, Paolo Bonzini, 2023/10/18
- [PULL 18/32] configure: clean up handling of CFI option, Paolo Bonzini, 2023/10/18
- [PULL 24/32] configure: clean up PIE option handling, Paolo Bonzini, 2023/10/18
- [PULL 27/32] configure: move environment-specific defaults to config-meson.cross, Paolo Bonzini, 2023/10/18
- [PULL 25/32] configure: remove some dead cruft, Paolo Bonzini, 2023/10/18
- [PULL 29/32] configure, meson: use command line options to configure qemu-ga, Paolo Bonzini, 2023/10/18
- [PULL 23/32] configure: clean up plugin option handling, Paolo Bonzini, 2023/10/18
- [PULL 31/32] meson: add a note on why we use config_host for program paths, Paolo Bonzini, 2023/10/18
- [PULL 28/32] configure: unify handling of several Debian cross containers, Paolo Bonzini, 2023/10/18
- [PULL 30/32] meson-buildoptions: document the data at the top, Paolo Bonzini, 2023/10/18
- [PULL 32/32] configure: define "pkg-config" in addition to "pkgconfig",
Paolo Bonzini <=
- [PULL 26/32] configure: move target-specific defaults to an external machine file, Paolo Bonzini, 2023/10/18
- Re: [PULL 00/32] x86 and build system changes for 2023-10-18, Stefan Hajnoczi, 2023/10/18