summaryrefslogtreecommitdiff
path: root/configure.ac.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac.in')
-rw-r--r--configure.ac.in3
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