summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-25 16:56:47 +0000
committerDana Jansens <danakj@orodu.net>2007-03-25 16:56:47 +0000
commitc567f5937b09708848c6b83c29f808f3d44145cc (patch)
tree41b15f9fe65e093fc561a2e1ad416656d816d6ff /configure.ac
parent59c5d1cc4e9d149510c62af16354ebd172452f48 (diff)
add support for the X Cursor library. this means a nicer cursor for startup notification.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1dd2669f..4b85d807 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,6 +107,18 @@ else
sn_found=no
fi
+PKG_CHECK_MODULES(XCURSOR, [xcursor],
+ [
+ AC_DEFINE(USE_XCURSOR, [1], [Use X Cursor library])
+ AC_SUBST(XCURSOR_CFLAGS)
+ AC_SUBST(XCURSOR_LIBS)
+ xcursor_found=yes
+ ],
+ [
+ xcursor_found=no
+ ]
+)
+
dnl Check for session management
X11_SM
@@ -133,6 +145,7 @@ AC_OUTPUT
AC_MSG_RESULT
AC_MSG_RESULT([Compiling with these options:
Startup Notification... $sn_found
+ X Cursor Library... $xcursor_found
Session Management... $SM
])
AC_MSG_RESULT([configure complete, now type "make"])