On Sat, Apr 03, 2010 at 04:27:08PM -0700, Arun Sharma wrote: > On Sat, Apr 3, 2010 at 1:54 PM, Konstantin Belousov > <[email protected]>wrote: > > > > AC_CHECK_DECLS: Is there is a simpler solution to the problem? > > We can assume that presence of one of PTRACE_* or PT_* symbol > > implies presence of all others, as example. I did this that way > > to possibly aid in portability to other BSD variants/Mac OS X, > > that could define only part of the PT_* symbols. > > > > Or, we can define autoconf macro to simplify configure.in. > > > > autoconf macro sounds like a good idea. Done with AC_CHECK_PTRACE_DECL macro.
> > > > > I think the best would be to require libexecinfo on freebsd for test > > run. It will be noted in documentation, but no check is needed. > > What is your opinion ? > > > > > Documentation is fine. Done. > > > > > - Gtest-dyn1.c: FreeBSD doesn't like malloc.h > > Fixed by checking for malloc.h. On the other hand, is malloc.h needed > > there at all ? > > > > Getting rid of malloc.h does't break the Linux build. Lets go with this fix > for now. Done.
pgpe4isgSHhGi.pgp
Description: PGP signature
_______________________________________________ Libunwind-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/libunwind-devel
