summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJulio Faracco <jcfaracco@gmail.com>2017-05-25 19:27:25 -0300
committerMartin Kletzander <mkletzan@redhat.com>2017-05-26 11:37:44 +0200
commit424a21a9c822b6a4013f3a7e95bcaa15a33e1ec7 (patch)
treec9e2a8e6f7cc3ea6ecebc71ecd1d80cc0d2b4b62 /m4
parent381e638d81fd13475112ec9ae2cc4fdbe546ed4d (diff)
downloadlibvirt-424a21a9c822b6a4013f3a7e95bcaa15a33e1ec7.tar.gz
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: Julio Faracco <jcfaracco@gmail.com>
Diffstat (limited to '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])