summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-12-08 17:55:17 +0000
committerKevin E Martin <kem@kem.org>2005-12-08 17:55:17 +0000
commit9169e024c530c9ef60cd96263a9fe6000578ec0f (patch)
tree96f942f76537e972274ffe12f99d670a60256f93 /Makefile.am
parent5e37a2d4e4b23b6f4d40e5d4f3d2d1520c5cf727 (diff)
Add configure options to allow hard-coded paths to be changed.MODULAR_COPY
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3f2b876..226d448 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,9 +21,11 @@
bin_PROGRAMS = setxkbmap
+XKBCONFIGROOT=@XKBCONFIGROOT@
+
setxkbmap_CFLAGS = $(SETXKBMAP_CFLAGS) \
-D__XKBDEFRULES__='"xorg"' \
- -DDFLT_XKB_CONFIG_ROOT='"$(datadir)/X11/xkb"'
+ -DDFLT_XKB_CONFIG_ROOT=\"$(XKBCONFIGROOT)\"
setxkbmap_LDADD = $(SETXKBMAP_LIBS)
setxkbmap_SOURCES = \