[PATCH v2:libXt] Add test framework similar to xserver and use it to test XtAsprintf
Julien Cristau
jcristau at debian.org
Thu Mar 10 01:47:11 PST 2011
On Thu, Mar 10, 2011 at 10:32:37 +0100, Julien Cristau wrote:
> On Wed, Mar 9, 2011 at 20:19:16 -0800, Alan Coopersmith wrote:
>
> > +# Memory checking support
> > +case $host_os in
> > + solaris*)
> > + AC_CHECK_LIB([umem], [umem_alloc],
> > + [MALLOC_DEBUG_ENV='LD_PRELOAD=libumem.so UMEM_DEBUG=default'])
> > + ;;
> > + *bsd*|darwin*)
> > + MALLOC_DEBUG_ENV='MallocPreScribble=1 MallocScribble=1'
> > + ;;
> > + *) # Assume glibc
> > + MALLOC_DEBUG_ENV='MALLOC_PERTURB_=255'
> > + ;;
>
> I think this won't work for gnu/kfreebsd. Maybe use *-gnu for the glibc
> case, and put it before the *bsd* one?
>
Make that *-gnu* so it can handle linux-gnueabi (used on arm)...
Cheers,
Julien
More information about the xorg-devel
mailing list