aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-07-14 14:58:55 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-01-11 10:44:35 +0100
commit75cc286485742feeb00f4b446f5682765792323e (patch)
tree162fda001857712d83bc8175e6e9dd06f5fff2a0 /configure
parent3d304620ec6c95f31db17acc132f42f243369299 (diff)
configure: remove backwards-compatibility code
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. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 0 insertions, 10 deletions
diff --git a/configure b/configure
index 643aed7533..9e407ce2e3 100755
--- a/configure
+++ b/configure
@@ -2568,16 +2568,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.