Re: [bug-gnulib] strndup module and crosscompiling

2006-07-05 Thread Bruno Haible
Martin Lambers wrote: > > Does this patch work? > > Yes, thanks a lot! Ok, patch committed. Bruno

Re: [bug-gnulib] strndup module and crosscompiling

2006-07-04 Thread Martin Lambers
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 crosscom

Re: [bug-gnulib] strndup module and crosscompiling

2006-07-04 Thread Bruno Haible
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 Mi

strndup module and crosscompiling

2006-07-03 Thread Martin Lambers
Hi! 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 wrongl