[libvirt] [PATCH] m4: fix pkgcheck detection

Ján Tomko jtomko at redhat.com
Wed Mar 7 08:56:04 UTC 2018


On Tue, Mar 06, 2018 at 07:53:03PM +0100, Olaf Hering wrote:
>AC_PATH_PROG searches either for a binary [pkcheck], or it uses the
>user provided absolute path in the variable PKCHECK_PATH.
>Since virt-polkit.m4 wipes the variable PKCHECK_PATH from environment
>the user decision is never used.
>

All that we need to compile in polkit suport is libdbus,
we should not be checking for this binary at all.

I'm working on a patch.

Jan

>Signed-off-by: Olaf Hering <olaf at aepfle.de>
>
>--- a/m4/virt-polkit.m4
>+++ b/m4/virt-polkit.m4
>@@ -28,7 +28,6 @@ AC_DEFUN([LIBVIRT_CHECK_POLKIT], [
>   POLKIT_REQUIRED="0.6"
>   POLKIT_CFLAGS=
>   POLKIT_LIBS=
>-  PKCHECK_PATH=
>
>   with_polkit0=no
>   with_polkit1=no
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180307/77d9a319/attachment-0001.sig>


More information about the libvir-list mailing list