[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Integration of autoconf and pkg-config
From: |
Baurzhan Ismagulov |
Subject: |
Re: Integration of autoconf and pkg-config |
Date: |
Thu, 20 Dec 2007 00:24:48 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Wed, Dec 19, 2007 at 10:31:16AM +0100, Stefano Sabatini wrote:
> > 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)?
On my Debian system, I didn't have to do anything except
PKG_CHECK_MODULES -- so, just try that. Of course, YMMV.
With kind regards,
--
Baurzhan Ismagulov
http://www.kz-easy.com/