]> Savannah Git Hosting - gnulib.git/commitdiff
file-has-acl: don’t bother setting LIB_HAS_ACL
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 7 Jan 2023 01:25:02 +0000 (17:25 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 7 Jan 2023 01:25:48 +0000 (17:25 -0800)
* m4/acl.m4 (gl_FUNC_ACL, gl_FILE_HAS_ACL): Don’t set LIB_HAS_ACL.
I think only Coreutils and Tar used it, and I’ve updated them.

ChangeLog
NEWS
m4/acl.m4

index b85b8ec5bbbd04be9ca0cdd210ae2e924aaee15e..f531198fbbf722ef8fedc0396c7927604a0fdd0c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2023-01-06  Paul Eggert  <eggert@cs.ucla.edu>
 
+       file-has-acl: don’t bother setting LIB_HAS_ACL
+       * m4/acl.m4 (gl_FUNC_ACL, gl_FILE_HAS_ACL): Don’t set LIB_HAS_ACL.
+       I think only Coreutils and Tar used it, and I’ve updated them.
+
        bootstrap: suppress stray message from --pull
        * build-aux/bootstrap: Regenerate.
        * top/bootstrap-funclib.sh (autopull): Suggest running autogen.sh
diff --git a/NEWS b/NEWS
index 16eac4c7df195033708548d2b171b3b248a87f43..65dcce7590fff168abc0cd1c59d5385f77b2a0e0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -74,6 +74,8 @@ User visible incompatible changes
 
 Date        Modules         Changes
 
+2023-01-06  file-has-acl    Link with $(FILE_HAS_ACL_LIB), not $(LIB_HAS_ACL).
+
 2022-12-25  largefile       configure no longer enables year-2038 support,
                             unless you configure with --enable-year2038
                             or use the year2038 module.  This temporary
index 6c2db7d32030f1c539e107f94985874987abaf0c..e612f1ae34b6f98c61c6971f490c3c71d4735a2d 100644 (file)
--- a/m4/acl.m4
+++ b/m4/acl.m4
@@ -1,5 +1,5 @@
 # acl.m4 - check for access control list (ACL) primitives
-# serial 25
+# serial 26
 
 # Copyright (C) 2002, 2004-2023 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -141,7 +141,6 @@ int type = ACL_TYPE_EXTENDED;]])],
   fi
   if test -n "$gl_need_lib_has_acl"; then
     FILE_HAS_ACL_LIB=$LIB_ACL
-    LIB_HAS_ACL="$FILE_HAS_ACL_LIB"
   fi
   AC_SUBST([LIB_ACL])
   AC_DEFINE_UNQUOTED([USE_ACL], [$use_acl],
@@ -211,7 +210,4 @@ AC_DEFUN([gl_FILE_HAS_ACL],
     FILE_HAS_ACL_LIB=$LIB_ACL
   fi
   AC_SUBST([FILE_HAS_ACL_LIB])
-  dnl For backward compatibility (e.g. coreutils still uses LIB_HAS_ACL).
-  LIB_HAS_ACL="$FILE_HAS_ACL_LIB"
-  AC_SUBST([LIB_HAS_ACL])
 ])