提交 424a21a9 编写于 作者: J Julio Faracco 提交者: Martin Kletzander

m4: Fix missing with_acl variable

This commit fixes an acl missing variable. The virt-acl.m4 inside the
macro directory does not contain the variable 'with_acl'. So, it is
being set as an empty string "with_acl=''". This is causing a missing
option during the configuration, even if you have acl libs installed.
Signed-off-by: NJulio Faracco <jcfaracco@gmail.com>
上级 381e638d
......@@ -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])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册