]> Savannah Git Hosting - gnulib.git/commitdiff
qcopy-acl: Make last patch more robust.
authorBruno Haible <bruno@clisp.org>
Fri, 13 Jan 2023 08:37:40 +0000 (09:37 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 13 Jan 2023 08:37:40 +0000 (09:37 +0100)
* m4/acl.m4 (gl_FUNC_ACL): Define through AC_DEFUN_ONCE.
* modules/qcopy-acl (configure.ac): Require gl_FUNC_ACL.

ChangeLog
m4/acl.m4
modules/qcopy-acl

index 11334b1afa60a8601087496b610cbadc7f304858..973596ac7535db237fb89578292f17db0ca822fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2023-01-13  Bruno Haible  <bruno@clisp.org>
 
+       qcopy-acl: Make last patch more robust.
+       * m4/acl.m4 (gl_FUNC_ACL): Define through AC_DEFUN_ONCE.
+       * modules/qcopy-acl (configure.ac): Require gl_FUNC_ACL.
+
        qcopy-acl: Adjust link dependencies.
        * modules/qcopy-acl (Depends-on): Add condition.
        (configure.ac): Set QCOPY_ACL_LIB.
index e612f1ae34b6f98c61c6971f490c3c71d4735a2d..dc9853a156d6b3c165fa884632eb01fa95b50638 100644 (file)
--- a/m4/acl.m4
+++ b/m4/acl.m4
@@ -1,5 +1,5 @@
 # acl.m4 - check for access control list (ACL) primitives
-# serial 26
+# serial 27
 
 # Copyright (C) 2002, 2004-2023 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -17,7 +17,7 @@ AC_DEFUN([gl_FUNC_ACL_ARG],
 ])
 
 
-AC_DEFUN([gl_FUNC_ACL],
+AC_DEFUN_ONCE([gl_FUNC_ACL],
 [
   AC_REQUIRE([gl_FUNC_ACL_ARG])
   AC_CHECK_FUNCS_ONCE([fchmod])
index 8dd147927d4b90e344d40221be8b497054fd3685..b89d8ecab6897bd3055661cc884a7ffd1ff156d0 100644 (file)
@@ -10,6 +10,7 @@ acl-permissions [test "$use_xattr" != yes]
 
 configure.ac:
 gl_FUNC_XATTR
+AC_REQUIRE([gl_FUNC_ACL])
 if test "$use_xattr" = yes; then
   QCOPY_ACL_LIB="$LIB_XATTR"
 else