build: Remove unneeded dependency check for XCursor
This commit is contained in:
parent
24c622d55e
commit
c1271e7ed5
1 changed files with 0 additions and 26 deletions
26
configure.ac
26
configure.ac
|
@ -157,32 +157,6 @@ DISPLAY_CAPPLET_LIBS="$DISPLAY_CAPPLET_LIBS"
|
||||||
CAPPLET_LIBS="$CAPPLET_LIBS $x_libs"
|
CAPPLET_LIBS="$CAPPLET_LIBS $x_libs"
|
||||||
GNOMECC_LIBS="$GNOMECC_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 =============================================
|
||||||
dnl X Input library >= 1.2 with property support
|
dnl X Input library >= 1.2 with property support
|
||||||
dnl =============================================
|
dnl =============================================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue