summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-12-08 17:55:19 +0000
committerKevin E Martin <kem@kem.org>2005-12-08 17:55:19 +0000
commit189c9672264c4b62f18f9da9422375b216dc7037 (patch)
treee9aeed52889d643601f5d70abb0524575cf26a7b /src
parentb8c92a26d01b14cb9d27cd30d261e24833d0c728 (diff)
downloadxorg-lib-libXcursor-189c9672264c4b62f18f9da9422375b216dc7037.tar.gz
Add configure options to allow hard-coded paths to be changed.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index aff4521..d52a0f4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,8 +2,12 @@ lib_LTLIBRARIES = libXcursor.la
libXcursor_la_SOURCES = xcursorint.h cursor.c display.c file.c library.c xlib.c
+ICONDIR=@ICONDIR@
+XCURSORPATH=@XCURSORPATH@
+
libXcursor_la_LIBADD = $(XCURSOR_LIBS)
-AM_CFLAGS = $(XCURSOR_CFLAGS)
+AM_CFLAGS = $(XCURSOR_CFLAGS) \
+ -DICONDIR=\"$(ICONDIR)\" -DXCURSORPATH=\"$(XCURSORPATH)\"
INCLUDES = -I$(top_srcdir)/include/X11/Xcursor