summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPaolo Bonzini2021-10-07 15:08:27 +0200
committerPaolo Bonzini2021-10-14 09:50:57 +0200
commit03a3c0b3c59e93beeb7ca72cba632f78eb060253 (patch)
treea2bf49f6d9694468e3c60dbe3461d89db3bbc544 /configure
parentconfigure: remove deprecated --{enable, disable}-git-update (diff)
downloadqemu-03a3c0b3c59e93beeb7ca72cba632f78eb060253.tar.gz
qemu-03a3c0b3c59e93beeb7ca72cba632f78eb060253.tar.xz
qemu-03a3c0b3c59e93beeb7ca72cba632f78eb060253.zip
configure: accept "internal" for --enable-capstone/slirp/fdt
Options such as "--enable-capstone=git" do not make much sense when building from a tarball. Accept "internal" for consistency with the meson options. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20211007130829.632254-17-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index b12b5f26b0..2ec410378e 100755
--- a/configure
+++ b/configure
@@ -1019,7 +1019,7 @@ for opt do
;;
--enable-slirp=git) slirp="internal"
;;
- --enable-slirp=system) slirp="system"
+ --enable-slirp=*) slirp="$optarg"
;;
--disable-vde) vde="disabled"
;;
@@ -1193,7 +1193,7 @@ for opt do
;;
--enable-fdt=git) fdt="internal"
;;
- --enable-fdt=system) fdt="system"
+ --enable-fdt=*) fdt="$optarg"
;;
--disable-linux-aio) linux_aio="disabled"
;;
@@ -1479,7 +1479,7 @@ for opt do
;;
--enable-capstone=git) capstone="internal"
;;
- --enable-capstone=system) capstone="system"
+ --enable-capstone=*) capstone="$optarg"
;;
--with-git=*) git="$optarg"
;;