diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2017-05-15 08:50:08 +0200 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2017-05-15 09:09:30 +0200 |
commit | 9957149fb242ca6b4b8361e948aebb0302066dea (patch) | |
tree | dae448677054db6fad3e0e4ba13e4d1460cc4c2a /configure.ac.in | |
parent | f7fe89ab59a25c6e23db56b94b6243915fd5ecdb (diff) | |
download | xfwm4-9957149fb242ca6b4b8361e948aebb0302066dea.tar.gz |
compositor: update presentproto requirement
Bug: 13257
presentproto headers version 1.1 includes a fix required for libXpresent
so we ought to require that.
Diffstat (limited to 'configure.ac.in')
-rw-r--r-- | configure.ac.in | 3 |
1 files changed, 2 insertions, 1 deletions
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 |