There was a small mistake in this new module. Fixed like this:
2010-11-30 Bruno Haible <[email protected]> strerror_r-posix: Fix autoconf test. * m4/strerror_r.m4 (gl_FUNC_STRERROR_R): Fix typo. --- m4/strerror_r.m4.orig Tue Nov 30 21:41:37 2010 +++ m4/strerror_r.m4 Tue Nov 30 21:41:36 2010 @@ -1,4 +1,4 @@ -# strerror_r.m4 serial 1 +# strerror_r.m4 serial 2 dnl Copyright (C) 2002, 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -50,7 +50,7 @@ int strerror_r (int, char *, size_t); ]], [[char buf[79]; - return strerror (EACCES, buf, 0) < 0 + return strerror_r (EACCES, buf, 0) < 0 || strerror_r (EACCES, buf, sizeof (buf)) != 0; ]])], [gl_cv_func_strerror_r_works=yes],
