]> xenbits.xensource.com Git - libvirt.git/commitdiff
configure: Remove check for pkcheck_supports_uid
authorGuido Günther <agx@sigxcpu.org>
Fri, 5 Jun 2015 10:41:22 +0000 (12:41 +0200)
committerGuido Günther <agx@sigxcpu.org>
Mon, 15 Jun 2015 16:57:07 +0000 (18:57 +0200)
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

index abf4436def70beb2a4f18541aba3d3d3b2834c64..073624bde8ffa6bedbca238091b95eac775d3915 100644 (file)
@@ -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,