[PATCH 1/2] configure: fixing acl missing variable.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 m4/virt-acl.m4 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/m4/virt-acl.m4 b/m4/virt-acl.m4
index f7d1c6d..d548729 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])
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux