aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch
blob: 608523272ad0521dfef4705ff13357700823a435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 765d578145e31ddc9495adfab8037ade33c6a9cc Mon Sep 17 00:00:00 2001
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date: Wed, 4 May 2016 10:59:36 +0300
Subject: [PATCH] Disable check for polkit for UI

The check is not technically required: sysprof just needs
to be able to access system perf counters at runtime.

Upstream-Status: Pending
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8559597..ecf93ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -131,8 +131,8 @@ AS_IF([test "$enable_gtk" = auto],[
 	AS_IF([test "$have_gtk" = "yes" && test "$have_polkit" = "yes"],[enable_gtk=yes],[enable_gtk=no])
 ])
 AS_IF([test "$enable_gtk" = "yes"],[
-	AS_IF([test "$have_gtk" = "yes" && test "$have_polkit" = "yes"],[],[
-		AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 >= gtk_required_version and polkit-gobject-1])
+	AS_IF([test "$have_gtk" = "yes"],[],[
+		AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 >= gtk_required_version])
 	])
 ])
 AM_CONDITIONAL(ENABLE_GTK, test "$enable_gtk" = "yes")
-- 
2.8.1