aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTomas Frydrych <tf@linux.intel.com>2008-04-09 08:34:45 +0000
committerTomas Frydrych <tf@linux.intel.com>2008-04-09 08:34:45 +0000
commit8e20bbe32f165afaa535856e8df5c212fc0df72f (patch)
tree65b628e5b3e31f87fe2ba7775704965aa4068d27 /configure.ac
parent2e30be8edc5a00cec5d7f5822d371e3f95b95cb3 (diff)
downloadlibmatchboxwm2-8e20bbe32f165afaa535856e8df5c212fc0df72f.tar.gz
libmatchboxwm2-8e20bbe32f165afaa535856e8df5c212fc0df72f.tar.bz2
libmatchboxwm2-8e20bbe32f165afaa535856e8df5c212fc0df72f.zip
2008-04-09 Tomas Frydrych <tf@o-hand.com>
* configure.ac: When using xfixes and xext, make sure they make it into the .pc file.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3280c94..b081092 100644
--- a/configure.ac
+++ b/configure.ac
@@ -192,7 +192,7 @@ fi
AC_SUBST(USE_GTK)
PKG_CHECK_MODULES(MBWM, $needed_pkgs)
-MBWM2_PKGREQUIRES="$needed_pkgs"
+MBWM2_PKGREQUIRES="$MBWM2_PKGREQUIRES $needed_pkgs"
AC_SUBST(MBWM2_PKGREQUIRES)
COMP_MGR_BACKEND=0
@@ -248,12 +248,14 @@ PKG_CHECK_MODULES(XFIXES, xfixes >= 4.0, have_xfixes=yes, have_xfixes=no)
if test x$have_xfixes = xyes; then
AC_DEFINE(HAVE_XFIXES, [1], [Use XFixes ext to really hide cursor])
+ MBWM2_PKGREQUIRES="$MBWM2_PKGREQUIRES xfixes >= 0.4"
fi
PKG_CHECK_MODULES(XEXT, xext, have_xext=yes, have_xext=no)
if test x$have_xext = xyes; then
AC_DEFINE(HAVE_XEXT, [1], [Use Xext ext])
+ MBWM2_PKGREQUIRES="$MBWM2_PKGREQUIRES xext"
fi
PKG_CHECK_MODULES(XCURSOR, xcursor, have_xcursor=yes, have_xcursor=no)