[gnome-control-center] build: Remove unneeded dependency check for XCursor



commit c1271e7ed5a6e87b9a8db5e7691bd3c99512a04d
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Sep 29 17:15:39 2010 +0100

    build: Remove unneeded dependency check for XCursor

 configure.ac |   26 --------------------------
 1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5ba46ef..752f497 100644
--- a/configure.ac
+++ b/configure.ac
@@ -157,32 +157,6 @@ DISPLAY_CAPPLET_LIBS="$DISPLAY_CAPPLET_LIBS"
 CAPPLET_LIBS="$CAPPLET_LIBS $x_libs"
 GNOMECC_LIBS="$GNOMECC_LIBS $x_libs"
 
-dnl
-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
-PKG_CHECK_MODULES(XCURSOR, [
-	xcursor
-	],
-	have_xcursor=yes
-	AC_DEFINE(HAVE_XCURSOR, 1, [Define if the Xcursor extension is available]),
-	have_xcursor=no)
-AM_CONDITIONAL(HAVE_XCURSOR, [test $have_xcursor=yes])
-
-if test x$have_xcursor = xyes; then
-  AC_MSG_CHECKING([for XCURSOR cursor location])
-  XCURSOR_ICONDIR=$($PKG_CONFIG --variable=icondir xcursor)
-  if test "x$XCURSOR_ICONDIR" != x; then
-    AC_DEFINE_UNQUOTED(XCURSOR_ICONDIR, "${XCURSOR_ICONDIR}", [Define to the xcursor icon path])
-  else
-    XCURSOR_ICONDIR=none
-  fi
-  AC_MSG_RESULT([${XCURSOR_ICONDIR}])
-fi
-
-CAPPLET_LIBS="$CAPPLET_LIBS $XCURSOR_LIBS"
-
 dnl =============================================
 dnl X Input library >= 1.2 with property support
 dnl =============================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]