qacl: check for fchmod
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jan 2014 02:40:47 +0000 (18:40 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jan 2014 02:41:14 +0000 (18:41 -0800)
* m4/acl.m4 (gl_FUNC_ACL): Check for fchmod, since acl-internal.h
and qset-acl.c both use HAVE_FCHMOD.

ChangeLog
m4/acl.m4

index e273b83..b7c3e0f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-01-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <eggert@cs.ucla.edu>
 
        fdopen-tests: port to Tru64
index df8290e..f02f69d 100644 (file)
--- 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