diff options
author | Mark Wielaard <mark@klomp.org> | 2013-05-14 13:15:53 +0200 |
---|---|---|
committer | Bosdonnat Cedric <cedric.bosdonnat@free.fr> | 2013-05-14 13:39:00 +0000 |
commit | 34cf34d6514b5ab581ec09b2689642b18a2d9cf4 (patch) | |
tree | c46daf78daaff3ff9f9822b014fa23714cf5a7c7 /configure.ac | |
parent | coverity#982969 Resource leak (diff) | |
download | core-34cf34d6514b5ab581ec09b2689642b18a2d9cf4.tar.gz core-34cf34d6514b5ab581ec09b2689642b18a2d9cf4.zip |
Require at least gio 2.26 for the dbus support.
Change-Id: I6276d55081098f567104f61fde896d1b66591522
Reviewed-on: https://gerrit.libreoffice.org/3904
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index dc578d73a4ea..f35d2da7df2a 100644 --- a/configure.ac +++ b/configure.ac @@ -9484,10 +9484,12 @@ if test "$test_gtk" = "yes"; then 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=""]) + if test "$ENABLE_GIO" = "TRUE"; then + AC_DEFINE(ENABLE_GIO) + fi else AC_MSG_RESULT([no]) fi |