summaryrefslogtreecommitdiff
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 17:35:23 -0400
commit13f025bb32e7e1f2e59f33ffb39d9049a1e7ff17 (patch)
treed2f4b4942ed15b9d7739da9a57290cf4d286a1d6
parentb5e7595dbc7982029cccccd4037f3bcc0a667c4c (diff)
use Cogl versioning macros
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c22b3436..67206478 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,10 @@ LIBACCOUNTS_REQUIRED=1.4
LIBSIGNON_REQUIRED=1.8
MC_PLUGINS_REQUIRED=5.13.1
+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])
+
# Use --enable-maintainer-mode to disable deprecated symbols,
# disable single include and enable GSEAL. If this is not a released empathy,
# maintainer mode is forced
@@ -254,7 +258,7 @@ if test "x$enable_gst1" != "xno"; then
gstreamer-1.0
gstreamer-audio-1.0
gstreamer-video-1.0
- cogl-1.0
+ cogl-1.0 >= $COGL_REQUIRED
], have_gst1="yes", have_gst1="no")
if test "x$have_gst1" = "xyes"; then