From: Tim Kientzle Date: Tue, 11 Aug 2009 15:55:52 +0000 (-0400) Subject: Probe acl_get_link and acl_get_link_np so that ACLs are properly X-Git-Tag: v2.8.0~430 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc68ea326340ca942ea26e87d46f582f642b5cf9;p=thirdparty%2Flibarchive.git Probe acl_get_link and acl_get_link_np so that ACLs are properly read from symlinks. Without this, link-related tests fail for cpio on FreeBSD. (Same as r1357, but for autoconf-generated builds.) SVN-Revision: 1358 --- diff --git a/configure.ac b/configure.ac index 02cee8b23..c5429ea51 100644 --- a/configure.ac +++ b/configure.ac @@ -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 #endif