From 13f025bb32e7e1f2e59f33ffb39d9049a1e7ff17 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Sat, 12 Oct 2013 16:16:44 -0400 Subject: [PATCH 1/1] use Cogl versioning macros --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.2