Re: [PATCHES v2] New requirement cc for tests needing a C compiler

2010-06-29 Thread Stefano Lattarini
Oookay, I'm about to extend/tweak this patch series again. But I plan to do that in a new thread, since this one has turned into a complete mess (my bad, my bad, I know). Please disregard this thread and all the patches I've posted in it. Thanks for your patience, Stefano

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

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

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

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 stefano.lattar...@gmail.com 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

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 functions

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 ralf.wildenh...@gmx.de 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