The test in link.m4 needs to include <stdio.h> to provide a declaration
for the rename function. The test fails if building with GCC's
-Werror=implicit-function-declaration option.
This was reported as part of a bug with building Octave on Fedora, which
now uses -Werror=implicit-function-declaration by default.
* m4/link.m4 (gl_FUNC_LINK): Include <stdio.h>.
https://savannah.gnu.org/bugs/?49782
+2016-12-13 John W. Eaton <gnu@jweaton.org>
+
+ link: fix test to declare use of rename()
+ * m4/link.m4 (gl_FUNC_LINK): Include <stdio.h> needed with
+ -Werror=implicit-function-declaration
+
2016-12-12 Bruno Haible <bruno@clisp.org>
fpending: Port to native Windows with MSVC.
AC_RUN_IFELSE(
[AC_LANG_PROGRAM(
[[#include <unistd.h>
+ #include <stdio.h>
]],
[[int result = 0;
if (!link ("conftest.a", "conftest.b/"))