summaryrefslogtreecommitdiff
path: root/configure.ac
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 /configure.ac
parent5e37a2d4e4b23b6f4d40e5d4f3d2d1520c5cf727 (diff)
Add configure options to allow hard-coded paths to be changed.MODULAR_COPY
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4e7052c..7dc1db7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,13 @@ AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_INSTALL
+AC_ARG_WITH(xkb-config-root,
+ AC_HELP_STRING([--with-xkb-config-root=<paths>],
+ [Set default XKB config root (default: ${datadir}/X11/xkb)]),
+ [XKBCONFIGROOT="$withval"],
+ [XKBCONFIGROOT=${datadir}/X11/xkb])
+AC_SUBST([XKBCONFIGROOT])
+
# Checks for pkg-config packages
PKG_CHECK_MODULES(SETXKBMAP, xkbfile x11)
AC_SUBST(SETXKBMAP_CFLAGS)