[glib] Don't enable libmount by default for now
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Don't enable libmount by default for now
- Date: Thu, 28 Jul 2016 18:27:47 +0000 (UTC)
commit fbf72a31b13159cef980f17e711dd7600c08176e
Author: Mario Sanchez Prada <mario endlessm com>
Date: Thu Jul 28 11:56:39 2016 -0600
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 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f704057..7e3aa39 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]