Hi Eric, I see nothing in m4/linkat.c that requires prior use of gl_FUNC_LINK. The dependency from 'linkat' to 'link' is a normal module dependency. Objections to this patch?
2011-05-21 Bruno Haible <br...@clisp.org> linkat: Simplify autoconf macro. * m4/linkat.m4 (gl_FUNC_LINKAT): Don't require gl_FUNC_LINK. --- m4/linkat.m4.orig Sat May 21 13:36:53 2011 +++ m4/linkat.m4 Sat May 21 13:36:00 2011 @@ -1,4 +1,4 @@ -# serial 4 +# serial 5 # See if we need to provide linkat replacement. dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. @@ -11,7 +11,6 @@ AC_DEFUN([gl_FUNC_LINKAT], [ AC_REQUIRE([gl_FUNC_OPENAT]) - AC_REQUIRE([gl_FUNC_LINK]) AC_REQUIRE([gl_FUNC_LINK_FOLLOWS_SYMLINK]) AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) -- In memoriam Alfred Grünberg <http://en.wikipedia.org/wiki/Alfred_Grünberg>