changeset 17614:278642c39e32

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.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 22 Jan 2014 18:40:47 -0800
parents 4a52ecda755c
children 736140c38a15
files ChangeLog m4/acl.m4
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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 @@
     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