Re: Integration of autoconf and pkg-config

2007-12-19 Thread Baurzhan Ismagulov
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 prom

Re: Integration of autoconf and pkg-config

2007-12-19 Thread Patrick Welche
On Wed, Dec 19, 2007 at 04:37:17PM +0100, Stefano Sabatini wrote: > On date Wednesday 2007-12-19 14:38:31 +, Patrick Welche wrote: > > On Wed, Dec 19, 2007 at 10:31:16AM +0100, Stefano Sabatini wrote: > > > Just another little newbie question, am I supposed to copy the pkg.m4 > > > file contain

Re: Integration of autoconf and pkg-config

2007-12-19 Thread Stefano Sabatini
On date Wednesday 2007-12-19 14:38:31 +, Patrick Welche wrote: > On Wed, Dec 19, 2007 at 10:31:16AM +0100, Stefano Sabatini wrote: > > 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)? > > I d

Re: Integration of autoconf and pkg-config

2007-12-19 Thread Patrick Welche
On Wed, Dec 19, 2007 at 10:31:16AM +0100, Stefano Sabatini wrote: > 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)? I don't know about pkg.m4 specifically, but if there is a macro in it which you ne

Re: Integration of autoconf and pkg-config

2007-12-19 Thread Stefano Sabatini
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 won