]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Probe acl_get_link and acl_get_link_np so that ACLs are properly
authorTim Kientzle <kientzle@gmail.com>
Tue, 11 Aug 2009 15:55:52 +0000 (11:55 -0400)
committerTim Kientzle <kientzle@gmail.com>
Tue, 11 Aug 2009 15:55:52 +0000 (11:55 -0400)
read from symlinks.  Without this, link-related tests fail for cpio
on FreeBSD.  (Same as r1357, but for autoconf-generated builds.)

SVN-Revision: 1358

configure.ac

index 02cee8b23938620f87f422145bc4e7277cddf62f..c5429ea51af4315ed3874c33bb3533211c049cc9 100644 (file)
@@ -413,7 +413,7 @@ if test "x$enable_acl" != "xno"; then
     # test for specific permissions in a permset.)  Linux uses the obvious
     # name, FreeBSD adds _np to mark it as "non-Posix extension."
     # Test for both as a double-check that we really have POSIX-style ACL support.
-    AC_CHECK_FUNCS(acl_get_perm_np acl_get_perm,,,
+    AC_CHECK_FUNCS(acl_get_perm_np acl_get_perm acl_get_link acl_get_link_np,,,
        [#if HAVE_SYS_TYPES_H
        #include <sys/types.h>
        #endif