Re: [PATCH]: GnuLib cross compilation problem

2009-04-22 Thread Bruno Haible
Yoann Vandoorselaere wrote: > > > Attached is a patch that fixes btowc.m4, mbrtowc.m4, wcrtomb.m4, > > > wcsrtombs.m4, and wctob.m4, so that they don't error out when cross > > > compiling. Thanks. Three more improvements on the patch: - mbsrtowcs.m4 has the same problem. - Before each AC_TRY_

Re: [PATCH]: GnuLib cross compilation problem

2009-04-22 Thread Paolo Bonzini
Yoann Vandoorselaere wrote: > Le mercredi 22 avril 2009 à 09:59 +0200, Paolo Bonzini a écrit : >> Yoann Vandoorselaere wrote: >>> Hi, >>> >>> Attached is a patch that fixes btowc.m4, mbrtowc.m4, wcrtomb.m4, >>> wcsrtombs.m4, and wctob.m4, so that they don't error out when cross >>> compiling. >> Wh

Re: [PATCH]: GnuLib cross compilation problem

2009-04-22 Thread Yoann Vandoorselaere
Le mercredi 22 avril 2009 à 09:59 +0200, Paolo Bonzini a écrit : > Yoann Vandoorselaere wrote: > > Hi, > > > > Attached is a patch that fixes btowc.m4, mbrtowc.m4, wcrtomb.m4, > > wcsrtombs.m4, and wctob.m4, so that they don't error out when cross > > compiling. > > Why don't you instead use the

Re: [PATCH]: GnuLib cross compilation problem

2009-04-22 Thread Paolo Bonzini
Yoann Vandoorselaere wrote: > Hi, > > Attached is a patch that fixes btowc.m4, mbrtowc.m4, wcrtomb.m4, > wcsrtombs.m4, and wctob.m4, so that they don't error out when cross > compiling. Why don't you instead use the last argument to AC_TRY_RUN? Paolo

[PATCH]: GnuLib cross compilation problem

2009-04-21 Thread Yoann Vandoorselaere
Hi, Attached is a patch that fixes btowc.m4, mbrtowc.m4, wcrtomb.m4, wcsrtombs.m4, and wctob.m4, so that they don't error out when cross compiling. Regards, -- Yoann Vandoorselaere PreludeIDS Technologies diff --git a/m4/btowc.m4 b/m4/btowc.m4 index 64ff829..065684e 100644 --- a/m4/btowc.m4 ++