bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] qacl: check for fchmod


From: Paul Eggert
Subject: [PATCH] qacl: check for fchmod
Date: Wed, 22 Jan 2014 18:40:47 -0800

* m4/acl.m4 (gl_FUNC_ACL): Check for fchmod, since acl-internal.h
and qset-acl.c both use HAVE_FCHMOD.
---
 ChangeLog | 6 ++++++
 m4/acl.m4 | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index e273b83..b7c3e0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-01-22  Paul Eggert  <address@hidden>
+
+       qacl: check for fchmod
+       * m4/acl.m4 (gl_FUNC_ACL): Check for fchmod, since acl-internal.h
+       and qset-acl.c both use HAVE_FCHMOD.
+
 2014-01-20  Paul Eggert  <address@hidden>
 
        fdopen-tests: port to Tru64
diff --git a/m4/acl.m4 b/m4/acl.m4
index df8290e..f02f69d 100644
--- a/m4/acl.m4
+++ b/m4/acl.m4
@@ -1,5 +1,5 @@
 # acl.m4 - check for access control list (ACL) primitives
-# serial 16
+# serial 17
 
 # Copyright (C) 2002, 2004-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -14,6 +14,7 @@ AC_DEFUN([gl_FUNC_ACL],
     AS_HELP_STRING([--disable-acl], [do not support ACLs]),
     , [enable_acl=auto])
 
+  AC_CHECK_FUNCS_ONCE([fchmod])
   LIB_ACL=
   use_acl=0
   if test "x$enable_acl" != "xno"; then
-- 
1.8.4.2




reply via email to

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