[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Configure breaks by build
From: |
Eric Blake |
Subject: |
Re: Configure breaks by build |
Date: |
Mon, 20 Feb 2017 09:44:17 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 02/19/2017 02:48 PM, Sascha Manns wrote:
> Hello list,
>
> i'm preparing some autotools files for my new project.
>
> I have in my configure.ac:
>
> GDK30_MINIMUM_VERSION=2.99.0
> GTK30_MINIMUM_VERSION=2.99.0
> ATK_MINIMUM_VERSION=2.99.0
>
> PKG_CHECK_MODULES(gdk-3.0 >= $GDK30_MINIMUM_VERSION
> gtk+-3.0 >= $GTK30_MINIMUM_VERSION
> atk >= $ATK_MINIMUM_VERSION)
The autoconf package does not maintain the PKG_CHECK_MODULES() macro, so
your question is probably better asked on the pkg-config development
list. However, it appears to me that you are getting an error because
your usage of the macro is incorrect. Here's an example I picked up
from a package that uses the macro correctly:
PKG_CHECK_MODULES([LIBNL_ROUTE3], [libnl-route-3.0])
which makes it look like you forgot a first argument.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature