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