summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-01-28 10:05:23 +0100
committerraveit65 <[email protected]>2018-01-30 15:19:32 +0100
commitbcd9924b5e561b2af08ec91e5ecbb9ecaf26c13c (patch)
treeb26f65de6e7e28e62fb5af6343f04028b5907d56
parent117ac9b05c0a30cbcf2a2797916596acf336fcd9 (diff)
downloadmate-sensors-applet-bcd9924b5e561b2af08ec91e5ecbb9ecaf26c13c.tar.bz2
mate-sensors-applet-bcd9924b5e561b2af08ec91e5ecbb9ecaf26c13c.tar.xz
build: enable udisk2 plugin again
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 017c3de..65f71d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,6 +70,12 @@ AC_SUBST(CAIRO_CFLAGS)
AC_SUBST(CAIRO_LIBS)
+# enable support for udisks2 (via dbus) by default if its available
+AC_ARG_ENABLE(udisks2,
+ AS_HELP_STRING([--disable-udisks2],
+ [Disable support for udisks2 sensor readings via DBUS.]),
+ enable_udisks2=$enableval, enable_udisks2="yes")
+
if test "x$enable_udisks2" = "xno" ; then
echo "Disabling udisks2 support"
fi