diff options
author | Kevin E Martin <kem@kem.org> | 2005-12-09 19:29:13 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2005-12-09 19:29:13 +0000 |
commit | 13b59109807b4ab636a46834c7e8d39a37225cb7 (patch) | |
tree | 84aeb01289a779a48649b1e7d83862c43ec002d1 | |
parent | 416b5c221c4cbe8697f7f9ca0aa722519f470084 (diff) |
Get the cursor install dir from xcursor.pc.MODULAR_COPY
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -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) |