[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Unknown option --exist" message when building qemu

From: Guenter Roeck
Subject: Re: "Unknown option --exist" message when building qemu
Date: Tue, 10 Mar 2020 13:23:18 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 3/10/20 11:45 AM, Juan Quintela wrote:
> Guenter Roeck <address@hidden> wrote:
>> Hi,
>> when building qemu, I keep seeing the following message.
>> Unknown option --exist
>> This was introduced with commit 3a67848134d0 ("configure: Enable test
>> and libs for zstd").
>> If I replace "--exist" with "--exists", on a system with libzstd-dev
>> installed, I get
>> a number of error messages.
> Patch is on the line already.  You need to change the test to:
>  if test "$zstd" != "no" ; then
> -    if $pkg_config --exist libzstd ; then
> +    libzstd_minver="1.4.0"
> +    if $pkg_config --atleast-version=$libzstd_minver libzstd ; then
>          zstd_cflags="$($pkg_config --cflags libzstd)"
> It is not enough with having zstd installed, you need to have version
> 1.4.0 for it to work.
> > Sorry, Juan.

No problem; I can live with the message. I just wanted to make sure that
it gets fixed if there was a problem.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]