Eric Blake wrote:
> @@ -48,7 +48,6 @@ AC_DEFUN([gl_FUNC_STRERROR_R],
>               [AC_LANG_PROGRAM(
>                  [[#include <errno.h>
>                    #include <string.h>
> -                  int strerror_r (int, char *, size_t);
>                  ]],
>                  [[int result = 0;
>                    char buf[79];

This part doesn't look good to me. The line was meant to provide a declaration
if the system's <string.h> doesn't.

  @item
  This function is sometimes not declared in @code{<string.h>} on some 
platforms:
  glibc 2.8, OSF/1 5.1.

We don't care if gcc makes warnings about duplicate declarations during
configure tests. "-Werror" is not supported at configure-time.

Bruno
-- 
In memoriam Alfred Grünberg <http://en.wikipedia.org/wiki/Alfred_Grünberg>

Reply via email to