qacl: check for fchmod
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jan 2014 02:40:47 +0000 (18:40 -0800)
committerIan Beckwith <ianb@erislabs.net>
Mon, 3 Feb 2014 00:41:37 +0000 (00:41 +0000)
* m4/acl.m4 (gl_FUNC_ACL): Check for fchmod, since acl-internal.h
and qset-acl.c both use HAVE_FCHMOD.
(cherry picked from commit 751494621c1d38c012a170d5eb557637ae9179f2)

ChangeLog
NEWS.stable
m4/acl.m4

index 0f15302..7b0846a 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-06  Eric Blake  <eblake@redhat.com>
 
        include_next: port to autoconf 2.63
index 9ea08a8..178c5cc 100644 (file)
@@ -16,6 +16,7 @@ with the following additional commits:
     * [fe3419d]->[cd56634] doc: use ASCII in .texi files where UTF-8 isn't needed
     * [580240a]->[a2d14e0] include_next: port to autoconf 2.63
     * [e446f25]->[c092018] relocatable-shell: Update suggested usage in maintainer documentation.
+    * [7514946]->[] qacl: check for fchmod
 __NEXTCOMMITMARKER__
 
 ----------------------------------------------------------------------
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