From 7d5b0f431933f7141082fbffa8e9d2afc6d27137 Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Wed, 9 Nov 2011 02:08:15 +0100
Subject: [PATCH] faccessat: Simplify autoconf macro.

* m4/faccessat.m4 (gl_FUNC_FACCESSAT): Don't require gl_FUNC_OPENAT,
gl_FUNC_EUIDACCESS.
---
 ChangeLog       | 6 ++++++
 m4/faccessat.m4 | 4 +---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 25cc8f56f2..65c96fe684 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-08  Bruno Haible  <bruno@clisp.org>
+
+	faccessat: Simplify autoconf macro.
+	* m4/faccessat.m4 (gl_FUNC_FACCESSAT): Don't require gl_FUNC_OPENAT,
+	gl_FUNC_EUIDACCESS.
+
 2011-11-08  Bruno Haible  <bruno@clisp.org>
 
 	renameat: Fix dependencies.
diff --git a/m4/faccessat.m4 b/m4/faccessat.m4
index d7ba5acfbb..7f679f98b7 100644
--- a/m4/faccessat.m4
+++ b/m4/faccessat.m4
@@ -1,4 +1,4 @@
-# serial 3
+# serial 4
 # See if we need to provide faccessat replacement.
 
 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc.
@@ -10,8 +10,6 @@ dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_FUNC_FACCESSAT],
 [
-  AC_REQUIRE([gl_FUNC_OPENAT])
-  AC_REQUIRE([gl_FUNC_EUIDACCESS])
   AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   AC_CHECK_FUNCS_ONCE([access])
-- 
2.39.5