From fbf72a31b13159cef980f17e711dd7600c08176e Mon Sep 17 00:00:00 2001 From: Mario Sanchez Prada Date: Thu, 28 Jul 2016 11:56:39 -0600 Subject: [PATCH] Don't enable libmount by default for now This is causing trouble with flatpaks because the org.gnome.Platform runtime does not bundle libmount, while the org.gnome.Sdk does it. As this probably requires a change in the freedesktop.org Yocto base, we disable this support by default for now as a temporary measure until it can be properly reviewed by someone who knows those bits better, probably Alex Larsson. https://bugzilla.gnome.org/show_bug.cgi?id=769284 --- configure.ac | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index f704057ad..7e3aa39d5 100644 --- a/configure.ac +++ b/configure.ac @@ -1733,9 +1733,12 @@ fi dnl ************************ dnl *** check for libmount *** dnl ************************ -AC_ARG_ENABLE(mount, - AS_HELP_STRING([--disable-libmount], [build without libmount support])) -AS_IF([ test "x$enable_libmount" != "xno"],[ +AC_ARG_ENABLE(libmount, + [AS_HELP_STRING([--enable-libmount], + [build with libmount support [default=no]])],, + [enable_libmount=no]) + +AS_IF([ test "x$enable_libmount" = "xyes"],[ PKG_CHECK_MODULES([LIBMOUNT], [mount >= 2.28], [have_libmount=yes], [have_libmount=maybe]) AS_IF([ test $have_libmount = maybe ], [ glib_save_LIBS=$LIBS