Forgotten configure changes for the cursor theme changes.

This commit is contained in:
Matthias Clasen 2005-07-18 04:13:12 +00:00
parent 10ee3e89dc
commit b6fa0deff3
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-07-18 Matthias Clasen <mclasen@redhat.com>
* configure.in: Add checks for Xcursor, to make the changes
done on 2005-07-11 effective.
2005-07-14 Elijah Newren <newren@gmail.com> 2005-07-14 Elijah Newren <newren@gmail.com>
Patch from Ken Harris to provide a more lenient threshold for Patch from Ken Harris to provide a more lenient threshold for

View File

@ -258,6 +258,20 @@ if test x$have_xrender = xyes; then
AC_DEFINE(HAVE_RENDER, , [Building with Render extension support]) AC_DEFINE(HAVE_RENDER, , [Building with Render extension support])
fi 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) PKG_CHECK_MODULES(METACITY, $METACITY_PC_MODULES)
AC_PATH_XTRA AC_PATH_XTRA
@ -498,6 +512,7 @@ metacity-$VERSION:
Resize-and-rotate: ${found_randr} Resize-and-rotate: ${found_randr}
Xsync: ${found_xsync} Xsync: ${found_xsync}
Render: ${have_xrender} Render: ${have_xrender}
Xcursor: ${have_xcursor}
" "
echo "This is the UNSTABLE branch of metacity" echo "This is the UNSTABLE branch of metacity"
echo "Use 2.10.x for stable (gnome-2-10 branch in CVS)" echo "Use 2.10.x for stable (gnome-2-10 branch in CVS)"