[PATCH] Require at least gio 2.26 for the dbus support.

Mark Wielaard (via Code Review) gerrit at gerrit.libreoffice.org
Tue May 14 05:13:46 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3904

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/04/3904/1

Require at least gio 2.26 for the dbus support.

Change-Id: I6276d55081098f567104f61fde896d1b66591522
---
M configure.ac
1 file changed, 3 insertions(+), 4 deletions(-)



diff --git a/configure.ac b/configure.ac
index dc578d7..30944ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9484,10 +9484,9 @@
             if test "$ENABLE_GNOMEVFS" = "TRUE"; then
                 AC_MSG_ERROR([please use --enable-gio only together with --disable-gnome-vfs.])
             fi
-            ENABLE_GIO="TRUE"
-            AC_MSG_RESULT([yes])
-            PKG_CHECK_MODULES( GIO, gio-2.0 )
-            AC_DEFINE(ENABLE_GIO)
+            dnl Need at least 2.26 for the dbus support.
+            PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.26],
+                              [ENABLE_GIO="TRUE"], [ENABLE_GIO=""])
         else
             AC_MSG_RESULT([no])
         fi

-- 
To view, visit https://gerrit.libreoffice.org/3904
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6276d55081098f567104f61fde896d1b66591522
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Mark Wielaard <mark at klomp.org>



More information about the LibreOffice mailing list