qemu-devel
[Top][All Lists]
Advanced

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

RE: [PATCH] configure: Fix configure error.


From: Zhang, Chen
Subject: RE: [PATCH] configure: Fix configure error.
Date: Fri, 13 Mar 2020 08:51:21 +0000


> -----Original Message-----
> From: Laurent Vivier <address@hidden>
> Sent: Friday, March 13, 2020 4:18 PM
> To: Zhang, Chen <address@hidden>; qemu-dev <qemu-
> address@hidden>
> Cc: Zhang Chen <address@hidden>; Dr . David Alan Gilbert
> <address@hidden>; Juan Quintela <address@hidden>
> Subject: Re: [PATCH] configure: Fix configure error.
> 
> Le 13/03/2020 à 07:55, Zhang Chen a écrit :
> > From: Zhang Chen <address@hidden>
> >
> > When run the ./configure will always get this error:
> > Unknown option --exist
> >
> > It caused by this patch:
> > commit 3a67848134d0c07da49033f9ed08bf0ddeec0c6d
> > Author: Juan Quintela <address@hidden>
> > Date:   Tue Dec 17 21:15:24 2019 +0100
> >
> >     configure: Enable test and libs for zstd
> >
> >     Add it to several build systems to make testing good.
> >
> > Signed-off-by: Zhang Chen <address@hidden>
> > ---
> >  configure | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/configure b/configure
> > index 3c7470096f..305591f7e0 100755
> > --- a/configure
> > +++ b/configure
> > @@ -2475,7 +2475,7 @@ fi
> >  # zstd check
> >
> >  if test "$zstd" != "no" ; then
> > -    if $pkg_config --exist libzstd ; then
> > +    if $pkg_config --exists libzstd ; then
> >          zstd_cflags="$($pkg_config --cflags libzstd)"
> >          zstd_libs="$($pkg_config --libs libzstd)"
> >          LIBS="$zstd_libs $LIBS"
> >
> 
> Juan already sent a patch to fix that:
> 
> [PATCH v2] configure: Improve zstd test
> https://patchew.org/QEMU/20200310111431.173151-1-
> address@hidden/

OK, Looks haven't merged to upstream.

Thanks
Zhang Chen

> 
> Thanks,
> Laurent

reply via email to

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