"Richard W.M. Jones" <rjones(a)redhat.com> wrote:
Jim Meyering wrote:
> Hi,
>
> I tried to configure libvirt from cvs on a just-built rawhide system
> and it failed like this, since I hadn't installed the "check" package,
> which defines PKG_CHECK_EXISTS:
>
> checking for init script flavor... redhat
> checking for iptables... /sbin/iptables
> ./configure: line 12187: syntax error near unexpected token
`libxml-2.0,LIBXML_FOUND=yes'
> ./configure: line 12187: ` PKG_CHECK_EXISTS(libxml-2.0,LIBXML_FOUND=yes)'
>
> Here's a fix:
>
> 2007-10-17 Jim Meyering <meyering(a)redhat.com>
>
> * libvirt.spec.in (BuildRequires): Add "check".
Good catch.
It's clearer now.
I was running my own versions of autoconf/automake/libtool,
and they didn't see /usr/share/aclocal/pkg.m4.
*That* file comes from pkgconfig, which is already
on the BuildRequires list.
So please ignore this report.