]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
m4: Fix missing with_acl variable
authorJulio Faracco <jcfaracco@gmail.com>
Thu, 25 May 2017 22:27:25 +0000 (19:27 -0300)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 26 May 2017 09:37:44 +0000 (11:37 +0200)
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>
m4/virt-acl.m4

index f7d1c6d0d5fe37f618cd0bb9d4fdc868af86326e..d548729b1ddb161e5b29e1d9394d8c87c899d0a8 100644 (file)
@@ -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])