bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] strndup module and crosscompiling


From: Martin Lambers
Subject: Re: [bug-gnulib] strndup module and crosscompiling
Date: Tue, 4 Jul 2006 21:00:43 +0200
User-agent: Mutt/1.5.11+cvs20060403

On Tue, 04. Jul 2006, 18:31:21 +0200, Bruno Haible wrote:
> Martin Lambers wrote:
> > gnulib/m4/strndup.m4 checks for a deficient strndup() function. When
> > crosscompiling, it assumes that strndup() is broken if the target is AIX
> > and that it is ok otherwise. 
> > 
> > This fails when crosscompiling to a target that has no strndup()
> > function at all, such as MinGW: HAVE_STRNDUP will wrongly be defined to
> > 1.
> 
> Thanks for reporting this. Does this patch work?

Yes, thanks a lot!

Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]