From 751494621c1d38c012a170d5eb557637ae9179f2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 22 Jan 2014 18:40:47 -0800 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ m4/acl.m4 | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e273b83a7..b7c3e0fc2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-01-22 Paul Eggert + + 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 fdopen-tests: port to Tru64 diff --git a/m4/acl.m4 b/m4/acl.m4 index df8290e5d..f02f69d22 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 -- 2.11.0