Re: __GLIBC__ and uClibc

2010-12-15 Thread Bruno Haible
Hi Pádraig, > > * lib/freading.h: Treat uClibc like a non-glibc platform. > > ... > > * m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE, gl_FUNC_MEMMEM): Likewise. > > * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Likewise. > > * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE, gl_FUNC_STRCASESTR):

Re: __GLIBC__ and uClibc

2010-12-15 Thread Eric Blake
On 12/15/2010 10:30 AM, Pádraig Brady wrote: > On 21/11/10 01:31, Bruno Haible wrote: > > I noticed a slight issue with this on code inspection. > When cross-compiling for uClibc, memmem, printf, strcasestr and strstr > would be replaced, which was a change from the original. > OK to apply the att

Re: __GLIBC__ and uClibc

2010-12-15 Thread Pádraig Brady
On 21/11/10 01:31, Bruno Haible wrote: >> 2010-11-20 Bruno Haible >> >> Port to uClibc. >> ... > > Oops, that patch and its ChangeLog entry were incomplete. > > Here is the corrected ChangeLog: > > 2010-11-20 Bruno Haible > > Port to uClibc. > * build-aux/link-warning.h (

Re: __GLIBC__ and uClibc

2010-11-20 Thread Bruno Haible
> 2010-11-20 Bruno Haible > > Port to uClibc. > ... Oops, that patch and its ChangeLog entry were incomplete. Here is the corrected ChangeLog: 2010-11-20 Bruno Haible Port to uClibc. * build-aux/link-warning.h (GL_LINK_WARNING): Treat uClibc like glibc. * li

Re: __GLIBC__ and uClibc

2010-11-20 Thread Bruno Haible
Mike Frysinger wrote: > On Saturday, November 20, 2010 13:15:48 Bruno Haible wrote: > > Mike Frysinger writes: > > > uclibc defines __GLIBC__ > > > > More exactly, uClibc *usually* defines __GLIBC__, but not always. > > you can say the same exact thing about glibc. uClibc defines it in the same

Re: __GLIBC__ and uClibc

2010-11-20 Thread Mike Frysinger
On Saturday, November 20, 2010 13:15:48 Bruno Haible wrote: > Mike Frysinger writes: > > uclibc defines __GLIBC__ > > More exactly, uClibc *usually* defines __GLIBC__, but not always. you can say the same exact thing about glibc. uClibc defines it in the same way -- via features.h. as for how

Re: __GLIBC__ and uClibc

2010-11-20 Thread Bruno Haible
Yesterday I wrote: > Oh, you're talking about uClibc, not glibc! That's a different platform than > glibc. > - It has a very different FILE structure in . > - It sometimes has no , depending how it was configured. > - Its file sometimes defines __GLIBC__ and sometimes doesn't, > dependin