[libvirt] [PATCH] configure: Remove check for pkcheck_supports_uid

Martin Kletzander mkletzan at redhat.com
Mon Jun 15 09:33:58 UTC 2015


On Fri, Jun 05, 2015 at 01:01:34PM +0200, Guido Günther wrote:
>We're using Polkit's DBus API so no need to check wether this feature is
>supported. We don't use the result or the path to the pkcheck program
>anywhere.
>---
> configure.ac | 9 ---------
> 1 file changed, 9 deletions(-)
>

ACK, this is not needed anymore.

>diff --git a/configure.ac b/configure.ac
>index abf4436..073624b 100644
>--- a/configure.ac
>+++ b/configure.ac
>@@ -1362,15 +1362,6 @@ if test "x$with_polkit" = "xyes" || test "x$with_polkit" = "xcheck"; then
>   dnl Check for new polkit first - just a binary
>   AC_PATH_PROG([PKCHECK_PATH],[pkcheck], [], [/usr/sbin:$PATH])
>   if test "x$PKCHECK_PATH" != "x" ; then
>-    AC_DEFINE_UNQUOTED([PKCHECK_PATH],["$PKCHECK_PATH"],[Location of pkcheck program])
>-    AC_MSG_CHECKING([whether pkcheck supports uid value])
>-    pkcheck_supports_uid=`$PKG_CONFIG --variable pkcheck_supports_uid polkit-gobject-1`
>-    if test "x$pkcheck_supports_uid" = "xtrue"; then
>-      AC_MSG_RESULT([yes])
>-      AC_DEFINE_UNQUOTED([PKCHECK_SUPPORTS_UID], 1, [Pass uid to pkcheck])
>-    else
>-      AC_MSG_RESULT([no])
>-    fi
>     AC_DEFINE_UNQUOTED([WITH_POLKIT], 1,
>         [use PolicyKit for UNIX socket access checks])
>     AC_DEFINE_UNQUOTED([WITH_POLKIT1], 1,
>--
>2.1.4
>
>--
>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: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150615/47c6e6a3/attachment-0001.sig>


More information about the libvir-list mailing list