From 9957149fb242ca6b4b8361e948aebb0302066dea Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Mon, 15 May 2017 08:50:08 +0200 Subject: compositor: update presentproto requirement Bug: 13257 presentproto headers version 1.1 includes a fix required for libXpresent so we ought to require that. --- configure.ac.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.ac.in') diff --git a/configure.ac.in b/configure.ac.in index d007a256c..2d359de7d 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -21,6 +21,7 @@ m4_define([startup_notification_minimum_version], [0.5]) m4_define([intltool_minimum_version], [0.35]) m4_define([libepoxy_minimum_version], [1.0]) m4_define([xpresent_minimum_version], [1.0]) +m4_define([presentproto_minimum_version], [1.1]) dnl init autoconf AC_COPYRIGHT([Copyright (c) 2002-2015 @@ -210,7 +211,7 @@ have_xpresent="no" XPRESENT_LIBS= if test x"$enable_xpresent" = x"yes"; then if $PKG_CONFIG --print-errors --exists xpresent 2>&1; then - PKG_CHECK_MODULES(PRESENT_EXTENSION, xpresent) + PKG_CHECK_MODULES(PRESENT_EXTENSION, presentproto >= [presentproto_minimum_version] xpresent) have_xpresent="yes" AC_DEFINE([HAVE_PRESENT_EXTENSION], [1], [Define to enable xpresent]) fi -- cgit v1.2.1