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
This commit is contained in:
Mario Sanchez Prada 2016-07-28 11:56:39 -06:00
parent ed75b1623d
commit fbf72a31b1

View File

@ -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