From 9169e024c530c9ef60cd96263a9fe6000578ec0f Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Thu, 8 Dec 2005 17:55:17 +0000 Subject: Add configure options to allow hard-coded paths to be changed. --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.ac') 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=], + [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) -- cgit v1.2.3