diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-06-30 22:30:54 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-06-30 22:30:54 +0000 |
commit | eb7135adb5b557b01ae7d186d58bc0586a09d701 (patch) | |
tree | 1bfb531046fba012078f9e7b1362133518e83929 /configure.in | |
parent | 33902a67f04523e1642185e6617ac469d29100b4 (diff) | |
download | gtk+-eb7135adb5b557b01ae7d186d58bc0586a09d701.tar.gz |
Check for Xcursor.
2003-07-01 Matthias Clasen <maclas@gmx.de>
* configure.in: Check for Xcursor.
* gdk/x11/gdkcursor-x11.c:
* gdk/gdkdisplay.h:
* gdk/gdkcursor.h: RGBA cursor support based on Xcursor. New functions:
gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(),
gdk_display_supports_cursor_color(), gdk_display_get_default_cursor_size() and
gdk_display_get_maximal_cursor_size(). (#69436)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index a28660a6cb..76b7dffc9c 100644 --- a/configure.in +++ b/configure.in @@ -1230,6 +1230,15 @@ if test "x$gdktarget" = "xx11"; then :, [#include <X11/Xlib.h>])], : , $X_LIBS -lXrandr -lXrender -lX11 $X_EXTRA_LIBS) + # Checks for Xcursor library + have_xcursor=false + PKG_CHECK_MODULES(XCURSOR, xcursor, have_xcursor=true, :) + + if $have_xcursor ; then + AC_DEFINE(HAVE_XCURSOR, 1, Have the Xcursor library) + GDK_EXTRA_LIBS="$XCURSOR_LIBS $GDK_EXTRA_LIBS"; + fi + # Xshm checks if test "x$enable_shm" = "xyes"; then |