summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-12 16:16:44 -0400
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-12 16:17:13 -0400
commit5f8e3b0e2da0a65b77cd8d45f187a9f417ba22c0 (patch)
treedb7fa1c82e42aaa39e3c51ab15d9c076028e749e /configure.ac
parent6d695da35c880ced97ff42e08604d64d13a52869 (diff)
use Cogl versioning macros
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8628c021..97bd2427 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,6 +57,10 @@ AC_DEFINE(TP_VERSION_MAX_ALLOWED, TP_VERSION_0_20, [Prevent post 0.20 APIs])
AC_DEFINE(TP_SEAL_ENABLE, 1, [Prevent to use sealed variables])
AC_DEFINE(TP_DISABLE_SINGLE_INCLUDE, 1, [Disable single include header])
+COGL_REQUIRED=1.14
+AC_DEFINE(COGL_VERSION_MIN_REQUIRED, COGL_VERSION_1_14, [Ignore post 1.14 deprecations])
+AC_DEFINE(COGL_VERSION_MAX_ALLOWED, COGL_VERSION_1_14, [Ignore post 1.14 deprecations])
+
GSTREAMER_REQUIRED=0.10.32
TP_FS_REQUIRED=0.6.0
LIBSECRET_REQUIRED=0.5
@@ -245,7 +249,7 @@ PKG_CHECK_MODULES(EMPATHY_CALL,
gstreamer-1.0
gstreamer-audio-1.0
gstreamer-video-1.0
- cogl-1.0
+ cogl-1.0 >= $COGL_REQUIRED
])
AC_DEFINE(EMPATHY_GOA_PROVIDER, "org.gnome.OnlineAccounts",