Re: Integration of autoconf and pkg-config

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

 



On date Tuesday 2007-12-18 18:28:30 +0100, Baurzhan Ismagulov wrote:
> Hello Stefano,
> 
> On Tue, Dec 18, 2007 at 02:40:31PM +0100, Stefano Sabatini wrote:
> > A solution could be then to write a little test program to run during
> > configuration which uses the flags provided by pkg-config (I wonder if
> > there is already some macro which can do it in autoconf).
> 
> Do you mean calling PKG_CHECK_MODULES(LIBAVFORMAT, libavformat) in
> configure.ac and using LIBAVFORMAT_CFLAGS and LIBAVFORMAT_LIBS in
> Makefile.am? Not sure about atleast-version, though.

Hi Baurzhan, yes it seems promising. After some search I find out that
macro is part of the pkg-config package.

Just another little newbie question, am I supposed to copy the pkg.m4
file containing the macro somewhere into my package (e.g. in
aclocal.m4)?

Many thanks in advance.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


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

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux