changeset 14803:ec1d0cf8bdba

linkat: Simplify autoconf macro. * m4/linkat.m4 (gl_FUNC_LINKAT): Don't require gl_FUNC_LINK.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 21:48:33 +0200
parents 79337a00687b
children daac7a35eb6a
files ChangeLog m4/linkat.m4
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	linkat: Simplify autoconf macro.
+	* m4/linkat.m4 (gl_FUNC_LINKAT): Don't require gl_FUNC_LINK.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 	    Eric Blake  <eblake@redhat.com>
 
--- a/m4/linkat.m4
+++ b/m4/linkat.m4
@@ -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])