summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2012-08-27 21:36:43 +0200
committerRay Strode <rstrode@redhat.com>2012-08-27 15:39:48 -0400
commitb558e17960cf44323245a7bad425c2b6ed346a63 (patch)
treedcdfa29d2d151f1355b69891cbd73ac744c436a4 /configure.ac
parent9c727fb7553250b46fe368163bab5156c016bed7 (diff)
downloadgdm-b558e17960cf44323245a7bad425c2b6ed346a63.tar.gz
Add configure option to specify directory of some tools
Add --with-gnome-settings-daemon-directory and --with-consolekit-directory for distributions that do not put gnome-settings-daemon and ck-get-x11-display-device directly in LIBEXECDIR. Closes: bgo#582320
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac18
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 845c3ecd..7a472bab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1101,6 +1101,22 @@ fi
AC_SUBST(GDM_CUSTOM_CONF)
AC_SUBST(GDM_OLD_CONF, '${gdmconfdir}/gdm.conf')
+AC_ARG_WITH(consolekit-directory,
+ [AC_HELP_STRING([--with-consolekit-directory],
+ [Specify the directory of ck-get-x11-display-device @<:@default=libexecdir@:>@])],,
+ [with_consolekit_directory="\${libexecdir}"])
+
+CONSOLEKIT_DIR=$with_consolekit_directory
+AC_SUBST(CONSOLEKIT_DIR)
+
+AC_ARG_WITH(check-accelerated-directory,
+ [AC_HELP_STRING([--with-check-accelerated-directory],
+ [Specify the directory of gnome-session-check-accelerated @<:@default=libexecdir@:>@])],,
+ [with_check_accelerated_directory="\${libexecdir}"])
+
+CHECK_ACCELERATED_DIR=$with_check_accelerated_directory
+AC_SUBST(CHECK_ACCELERATED_DIR)
+
dnl ---------------------------------------------------------------------------
dnl - Check for XEvIE extension support
dnl ---------------------------------------------------------------------------
@@ -1549,6 +1565,8 @@ echo "
dmconfdir: ${dmconfdir}
localstatedir: ${localstatedir}
datadir: ${datadir}
+ consolekit location: ${with_consolekit_directory}
+ gnome-session-check-accel location: ${with_check_accelerated_directory}
source code location: ${srcdir}
compiler: ${CC}
cflags: ${CFLAGS}