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>
This commit is contained in:
committed by
Bosdonnat Cedric
parent
e5b2edfb93
commit
34cf34d651
10
configure.ac
10
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
|
||||
|
Reference in New Issue
Block a user