summaryrefslogtreecommitdiff
path: root/m4/virt-acl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/virt-acl.m4')
-rw-r--r--m4/virt-acl.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/virt-acl.m4 b/m4/virt-acl.m4
index f7d1c6d0d5..d548729b1d 100644
--- a/m4/virt-acl.m4
+++ b/m4/virt-acl.m4
@@ -23,8 +23,10 @@ AC_DEFUN([LIBVIRT_CHECK_ACL], [
ACL_CFLAGS=""
ACL_LIBS=""
+ with_acl=no
if test "x$ac_cv_header_sys_acl_h:x$with_linux" = "xyes:xyes"; then
ACL_LIBS="-lacl"
+ with_acl=yes
fi
AC_SUBST([ACL_CFLAGS])
AC_SUBST([ACL_LIBS])