summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-12-09 19:29:13 +0000
committerKevin E Martin <kem@kem.org>2005-12-09 19:29:13 +0000
commit13b59109807b4ab636a46834c7e8d39a37225cb7 (patch)
tree84aeb01289a779a48649b1e7d83862c43ec002d1
parent416b5c221c4cbe8697f7f9ca0aa722519f470084 (diff)
Get the cursor install dir from xcursor.pc.MODULAR_COPY
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f648883..c112bbd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-09 Kevin E. Martin <kem-at-freedesktop-dot-org>
+
+ * configure.ac:
+ Get the cursor install dir from xcursor.pc.
+
2005-10-18 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
diff --git a/configure.ac b/configure.ac
index de1e6c0..8c39a7d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,8 @@ if test "x$XCURSORGEN" = xno; then
fi
AC_SUBST([XCURSORGEN])
-cursordir="${datadir}/icons"
+PKG_CHECK_MODULES(ICONDEFS, xcursor)
+cursordir=$(pkg-config --variable=icondir xcursor)
AC_SUBST([cursordir])
AM_CONDITIONAL(WHITEGLASS, true)