From 2c2537f40b59e27afc1135453818c9d722faec59 Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Thu, 26 Apr 2018 17:09:06 +0200 Subject: [PATCH] Build and install the demo agent by default Most desktops don't have an agent. As a result, now that GeoClue refuses access without an agent, apps won't be able to obtain the location on those desktops. Installing the demo agent, as long as they start it, keeps things working just the same for those desktops: all accesses will continue being granted. https://bugs.freedesktop.org/show_bug.cgi?id=106236 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 3c0467a..c46b02f 100644 --- a/configure.ac +++ b/configure.ac @@ -164,9 +164,9 @@ AM_CONDITIONAL([BUILD_BACKEND], [test "x$build_backend" = "xyes"]) # Demo agent AC_ARG_ENABLE(demo-agent, AS_HELP_STRING([--enable-demo-agent=yes|no], - [Build demo agent (default=no)]), + [Build demo agent (default=yes)]), [enable_demo_agent=$enableval], - [enable_demo_agent=no]) + [enable_demo_agent=yes]) if test "x$enable_demo_agent" = "xyes"; then PKG_CHECK_MODULES(DEMO_AGENT, [ glib-2.0 >= $GLIB_MIN_VERSION -- 2.17.0