summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2005-04-23 18:41:28 +0000
committerkientzle <kientzle@FreeBSD.org>2005-04-23 18:41:28 +0000
commitc4cef244d67c25b155e750301dae893bf146acc1 (patch)
tree3d56c05a16e8ea708a5951b89dbeeb06bff79e41
parent2fe0aef3f15e63074c9daa39a2e03a5d1b0db8a3 (diff)
downloadFreeBSD-src-c4cef244d67c25b155e750301dae893bf146acc1.zip
FreeBSD-src-c4cef244d67c25b155e750301dae893bf146acc1.tar.gz
Minor fix to the configure logic to properly detect ACL support.
-rw-r--r--usr.bin/tar/configure.ac.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tar/configure.ac.in b/usr.bin/tar/configure.ac.in
index 83a0e83..249fa7b 100644
--- a/usr.bin/tar/configure.ac.in
+++ b/usr.bin/tar/configure.ac.in
@@ -57,6 +57,7 @@ AC_CHECK_MEMBER(struct dirent.d_namlen,,,
# Check for ACL support
AC_CHECK_HEADERS([sys/acl.h])
+AC_CHECK_LIB([acl],[acl_get_file])
AC_CHECK_TYPES(acl_permset_t,,,
[#if HAVE_SYS_TYPES_H
@@ -81,8 +82,6 @@ AC_CHECK_FUNCS(acl_get_perm_np acl_get_perm,,,
#endif
])
-AC_CHECK_LIB(acl,acl_get_file)
-
# Checks for library functions.
AC_PROG_GCC_TRADITIONAL
AC_FUNC_LSTAT
OpenPOWER on IntegriCloud