Re: $(DEPDIR)

2010-06-29 Thread Bruce Korb
Hi Ralf, I'm at work now, so not too much play time available. But some. On Mon, Jun 28, 2010 at 10:02 PM, Ralf Wildenhues wrote: >> >  Do you >> > intend to write a patch for Automake, or is this something purely >> > external for one specific project, or to be more generally usable for >> > al

Re: checking for optional dependencies

2010-06-29 Thread Ralf Wildenhues
Hi Wesley, * Wesley Smith wrote on Tue, Jun 29, 2010 at 02:52:38PM CEST: > I'm looking for some sample code on how to best check for an optional > dependencies (like gstreamer or some other lib) and set a compilation > flag like -DMYLIB_HAVE_GSTREAMER. > > I'm not exactly which one of these funct

Re: determining 32 v. 64 bit compilation

2010-06-29 Thread Wesley Smith
no problem. I'll take the Q over there. wes On Tue, Jun 29, 2010 at 8:06 PM, Stefano Lattarini wrote: > At Tuesday 29 June 2010, Wesley Smith wrote: >> ... I'm essentially looking for something in autoconf land ... > I think you should write to the autoconf list (autoc...@gnu.org) for > general

Re: determining 32 v. 64 bit compilation

2010-06-29 Thread Stefano Lattarini
At Tuesday 29 June 2010, Wesley Smith wrote: > ... I'm essentially looking for something in autoconf land ... I think you should write to the autoconf list (autoc...@gnu.org) for general questions regarding autoconf. Regards, Stefano

determining 32 v. 64 bit compilation

2010-06-29 Thread Wesley Smith
What's the appropriate way to determine 32 v. 64 bit compilation? I've looked into using: AC_CANONICAL_BUILD with the $build_cpu $build_vendor $build_os variables, but it doesn't give the right info (in my case i686 pc linux-gnu). I'm essentially looking for something in autoconf land equivalent

checking for optional dependencies

2010-06-29 Thread Wesley Smith
I'm looking for some sample code on how to best check for an optional dependencies (like gstreamer or some other lib) and set a compilation flag like -DMYLIB_HAVE_GSTREAMER. I'm not exactly which one of these functions or how to use them to do this, so any pointers to a sample is much appreciated.