bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

linkat: simplify autoconf macro


From: Bruno Haible
Subject: linkat: simplify autoconf macro
Date: Sat, 21 May 2011 13:39:44 +0200
User-agent: KMail/1.9.9

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  <address@hidden>

        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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]