summaryrefslogtreecommitdiff
path: root/cursor
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>2012-06-08 11:58:02 +0300
committerKristian Høgsberg <krh@bitplanet.net>2012-06-08 12:50:42 -0400
commitdd8891be36ec208a5e8e5dd32c32426713f16877 (patch)
tree0b8f8b81dec11c6bc279770f9c8c0f991b783a62 /cursor
parentc29020332a7bb56cb9e5c5928ed9a5a2e80b2bef (diff)
wayland-cursor: add an option that changes the cursor theme directory
Some distros (e.g. gentoo) install cursor themes in non-standard directories. Add option --with-icondir to configure.sh that sets the directory in which to look for cursors.
Diffstat (limited to 'cursor')
-rw-r--r--cursor/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/cursor/Makefile.am b/cursor/Makefile.am
index 168f5dc..3efcb17 100644
--- a/cursor/Makefile.am
+++ b/cursor/Makefile.am
@@ -11,4 +11,8 @@ libwayland_cursor_la_LIBADD = $(top_builddir)/src/libwayland-client.la
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = wayland-cursor.pc
-AM_CFLAGS = $(GCC_CFLAGS) -I$(top_builddir)/src -I$(top_srcdir)/src
+AM_CFLAGS = \
+ $(GCC_CFLAGS) \
+ -I$(top_builddir)/src \
+ -I$(top_srcdir)/src \
+ -DICONDIR=\"$(ICONDIR)\"