On 12/11/2011 05:32 AM, mi16 wrote:
> But I get an error while trying to build this test using GNU autoconf,
> automake tools:
> 
> $ autoreconf --verbose --force --install
> $ ./configure

> ./configure: line 2958: syntax error near unexpected token `MGTKMM,'
> ./configure: line 2958: `PKG_CHECK_MODULES(MGTKMM, gtkmm-2.4 >= 2.22.0)'
> 
> (If I build test application with GNU autoconf and automake tools, but
> without pkg-config
> everything works fine.)
> 
> Can anybody tell me what I am doing wrong?

You aren't including the correct .m4 files from pkgconfig in your
project, and pkgconfig apparently isn't installed on your windows
machine, so autoconf has no idea how to expand the PKG_CHECK_MODULES m4
macro and instead generated invalid shell code.  You need to make sure
pkg.m4 is available somewhere that aclocal can pick it up.

-- 
Eric Blake   ebl...@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to