[Xfce4-commits] [xfce/xfwm4] 06/08: compositor: update presentproto requirement

noreply at xfce.org noreply at xfce.org
Mon May 15 09:09:50 CEST 2017


This is an automated email from the git hooks/post-receive script.

olivier pushed a commit to branch master
in repository xfce/xfwm4.

commit 9957149fb242ca6b4b8361e948aebb0302066dea
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Mon May 15 08:50:08 2017 +0200

    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(-)

diff --git a/configure.ac.in b/configure.ac.in
index d007a25..2d359de 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list