Hello Bruno, * Bruno Haible wrote on Sat, Aug 28, 2010 at 12:56:21PM CEST: > Paolo Bonzini wrote on 2010-06-15: > > > - AC_FUNC_STRNLEN > > > > This maybe falls in the same group as AC_FUNC_MALLOC/AC_FUNC_REALLOC. > > OK, let's leave it in Autoconf. But the cross-compilation guess is too > pessimistic for gnulib habits: we haven't seen the AIX bug on any system > except on AIX. In particular, it's bad to guess "no" for embedded glibc > systems because that increases the size of compiled executables.
But that holds for Autoconf's AC_FUNC_STRNLEN as well. Shouldn't it have a more optimistic cross compilation guess, too? Thanks, Ralf > 2010-08-28 Bruno Haible <br...@clisp.org> > > strnlen: Improve cross-compilation guess. > * m4/strnlen.m4 (gl_FUNC_STRNLEN): Require AC_CANONICAL_HOST. Inline > the definition of AC_FUNC_STRNLEN, with an improved cross-compilation > guess.