[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 13/30] configure: remove backwards-compatibility code
From: |
Paolo Bonzini |
Subject: |
[PATCH 13/30] configure: remove backwards-compatibility code |
Date: |
Fri, 9 Dec 2022 12:23:52 +0100 |
The cmd_line.txt mangling is only needed when rebuilding from very old
trees and is kept mostly as an example of how to extend it. However,
Meson 0.63 introduces a deprecation mechanism for meson_options.txt
that can be used instead, so get rid of our home-grown hack.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/configure b/configure
index 6efc2055ce09..113db838a16f 100755
--- a/configure
+++ b/configure
@@ -2556,16 +2556,6 @@ if test "$skip_meson" = no; then
if test "$?" -ne 0 ; then
error_exit "meson setup failed"
fi
-else
- if test -f meson-private/cmd_line.txt; then
- # Adjust old command line options whose type was changed
- # Avoids having to use "setup --wipe" when Meson is upgraded
- perl -i -ne '
- s/^gettext = true$/gettext = auto/;
- s/^gettext = false$/gettext = disabled/;
- /^b_staticpic/ && next;
- print;' meson-private/cmd_line.txt
- fi
fi
# Save the configure command line for later reuse.
--
2.38.1
- [PATCH 04/30] configure: preserve qemu-ga variables, (continued)
- [PATCH 04/30] configure: preserve qemu-ga variables, Paolo Bonzini, 2022/12/09
- [PATCH 03/30] configure: remove useless test, Paolo Bonzini, 2022/12/09
- [PATCH 05/30] configure: remove backwards-compatibility and obsolete options, Paolo Bonzini, 2022/12/09
- [PATCH 13/30] configure: remove backwards-compatibility code,
Paolo Bonzini <=
- [PATCH 10/30] meson: remove static_kwargs, Paolo Bonzini, 2022/12/09
- [PATCH 15/30] meson: cleanup compiler detection, Paolo Bonzini, 2022/12/09
- [PATCH 08/30] meson: require 0.63.0, Paolo Bonzini, 2022/12/09
- [PATCH 01/30] configure: remove useless write_c_skeleton, Paolo Bonzini, 2022/12/09