[Spice-devel] [PATCH] common: add backtrace via gstack

Uri Lublin uril at redhat.com
Tue Jul 19 04:22:14 PDT 2011


On 07/18/2011 01:32 PM, Christophe Fergeau wrote:
> On Mon, Jul 18, 2011 at 01:19:05PM +0300, Uri Lublin wrote:
>>> On Mon, Jul 18, 2011 at 11:13:50AM +0200, Christophe Fergeau wrote:
>>>> Or this can be checked for in configure.ac
>>
>> I'm not sure configure.ac is the place to check it.
>
> Why not? If you want to check if a function is available or not on the
> system you're building on before using it, configure.ac is a good place for
> that.

I guess I misunderstood what is suggested to be checked in configure.ac
 From the two options below I meant the second.

Checking that backtrace or backtrace_symbols are available during compile time 
should be done in configure.ac.

Checking /usr/bin/gstack existence should not be done at compile time and not in 
configure.ac, but at run-time in the code itself.


More information about the Spice-devel mailing list