From 558515ba271cc87e3aebfa5a7af14dd02e8a30da Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <fourdan.olivier@wanadoo.fr>
Date: Sat, 8 Oct 2005 19:38:09 +0000
Subject: [PATCH] Check for version 0.2 instead of 1.0 for xcomposite extension
 as suggested by bcowan@gentoo.org in bug #1177

(Old svn revision: 18137)
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index a356b68bf..ef3e3c6a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,7 +117,7 @@ AC_HELP_STRING([--disable-compositor], [disable compositor in xfwm4 (default)]),
 if test x"$enable_compositor" = x"yes"; then
   if test x"$have_render" = x"yes"; then
     if $PKG_CONFIG --exists xcomposite xfixes xdamage xrender 2> /dev/null; then
-      PKG_CHECK_MODULES(COMPOSITOR, xcomposite >= 1.0 xfixes xdamage)
+      PKG_CHECK_MODULES(COMPOSITOR, xcomposite >= 0.2 xfixes xdamage)
       AC_DEFINE([HAVE_COMPOSITOR], [1], [Define to enable compositor])
       ENABLE_COMPOSITOR="--enable-compositor"
     fi
-- 
GitLab