There's no -lacl on FreeBSD.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index cb96df73b..de174be02 100644
--- a/configure.ac
+++ b/configure.ac
@@ -320,7 +320,7 @@ AC_CHECK_FUNCS([stat stat64 __xstat __xstat64 lstat lstat64 __lxstat
__lxstat64]
ACL_CFLAGS=""
ACL_LIBS=""
-if test "x$ac_cv_header_sys_acl_h" = "xyes" ; then
+if test "x$ac_cv_header_sys_acl_h:x$with_linux" = "xyes:xyes" ; then
ACL_LIBS="-lacl"
fi
AC_SUBST([ACL_CFLAGS])
--
2.11.0