diff --git a/ChangeLog b/ChangeLog index dc6b79fd0..5842de165 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-07-17 Sven Herzberg + + * configure.in: use pkg-config to check for xcursor + 2005-07-13 Sebastien Bacher * configure.in: update to 2.11.7. diff --git a/configure.in b/configure.in index 50b2d5285..d8e92f7d1 100644 --- a/configure.in +++ b/configure.in @@ -151,11 +151,15 @@ dnl Check for XCursor support. If it exists, then we compile the dnl mouse capplet with support for it turned on dnl have_xcursor=no -AC_CHECK_HEADER(X11/Xcursor/Xcursor.h, have_xcursor=yes - AC_DEFINE(HAVE_XCURSOR, 1, Have the Xcursor extension), - :, [#include ]) +PKG_CHECK_MODULES(XCURSOR, [ + xcursor + ], + have_xcursor=yes + AC_DEFINE(HAVE_XCURSOR, 1, Have the Xcursor extension)) AM_CONDITIONAL(HAVE_XCURSOR, [test $have_xcursor=yes]) +CAPPLET_LIBS="$CAPPLET_LIBS $XCURSOR_LIBS" + dnl dnl Check for gtk+ with multihead support dnl