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 br...@clisp.org Port to uClibc. ... Oops, that patch and its ChangeLog entry were incomplete. Here is the corrected ChangeLog: 2010-11-20 Bruno Haible br...@clisp.org Port to uClibc. *

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

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-11-20 Thread Bruno Haible
on this platform. ... I'll review all uses of __GLIBC__ in gnulib tomorrow. Mike Frysinger writes: uclibc defines __GLIBC__ More exactly, uClibc *usually* defines __GLIBC__, but not always. Most of the good features of glibc are not contained in uClibc, or can be turned off during

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
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 way

Re: __GLIBC__ and uClibc

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