diff --git a/ChangeLog b/ChangeLog index 899291e87..bfb1dcbc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-18 Matthias Clasen + + * configure.in: Add checks for Xcursor, to make the changes + done on 2005-07-11 effective. + 2005-07-14 Elijah Newren Patch from Ken Harris to provide a more lenient threshold for diff --git a/configure.in b/configure.in index 4ea0ac822..6c3814c04 100644 --- a/configure.in +++ b/configure.in @@ -258,6 +258,20 @@ if test x$have_xrender = xyes; then AC_DEFINE(HAVE_RENDER, , [Building with Render extension support]) fi +AC_MSG_CHECKING([Xcursor]) +if $PKG_CONFIG xcursor; then + have_xcursor=yes + else + have_xcursor=no + fi + AC_MSG_RESULT($have_xcursor) + +if test x$have_xcursor = xyes; then + echo "Building with Xcursor" + METACITY_PC_MODULES="$METACITY_PC_MODULES xcursor" + AC_DEFINE(HAVE_XCURSOR, , [Building with Xcursor support]) +fi + PKG_CHECK_MODULES(METACITY, $METACITY_PC_MODULES) AC_PATH_XTRA @@ -498,6 +512,7 @@ metacity-$VERSION: Resize-and-rotate: ${found_randr} Xsync: ${found_xsync} Render: ${have_xrender} + Xcursor: ${have_xcursor} " echo "This is the UNSTABLE branch of metacity" echo "Use 2.10.x for stable (gnome-2-10 branch in CVS)"