On Thu, Oct 7, 2021 at 5:25 PM Paolo Bonzini <pbonz...@redhat.com> wrote:

> Options such as "--enable-capstone=git" do not make much sense when
> building
> from a tarball.  Accept "internal" for consistency with the meson options.
>
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
>

Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com>


> ---
>  configure | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/configure b/configure
> index d00ba0cbd2..d2f754d5d1 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"
>    ;;
> --
> 2.31.1
>
>
>
>

-- 
Marc-André Lureau

Reply via email to