From 765d578145e31ddc9495adfab8037ade33c6a9cc Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen 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 --- 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