summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-05-12 09:06:18 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-05-12 09:06:18 +0000
commit56065302d83f8cf6284d72016ca428fdd4e72b10 (patch)
tree7b9f1afe30c8394e306da8a811b4d870a199a62e /configure.in
parent6c4f3ff463df27373e0c9349dd8490bf642fe734 (diff)
downloadnavit-56065302d83f8cf6284d72016ca428fdd4e72b10.tar.gz
Add:binding_dbus:Configure option to use system bus
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3237 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 7ef526a51..194613f4e 100644
--- a/configure.in
+++ b/configure.in
@@ -37,6 +37,7 @@ plugins=yes; plugins_reason=default
postgresql=yes; postgresql_reason=default
samplemap=yes; samplemap_reason=default
binding_dbus=yes; binding_dbus_reason=default
+binding_dbus_use_system_bus=no
binding_python=yes; binding_python_reason=default
font_freetype=yes; font_freetype_reason=default
fontconfig=yes; fontconfig_reason=default
@@ -564,6 +565,7 @@ AM_CONDITIONAL(BINDING_PYTHON, test "x${binding_python}" = "xyes")
# dbus
AC_ARG_ENABLE(binding-dbus, [ --disable-binding-dbus don't create binding dbus], binding_dbus=$enableval;binding_dbus_reason="configure parameter")
+AC_ARG_ENABLE(binding-dbus-use-system-bus, [ --enable-binding-dbus-use-system-bus use system bus for dbus binding], binding_dbus_use_system_bus=$enableval)
if test "x${binding_dbus}" = "xyes" ; then
PKG_CHECK_MODULES(DBUS, [dbus-glib-1], ,binding_dbus=no)
fi
@@ -574,6 +576,9 @@ if test "x${binding_dbus}" = "xyes" ; then
speech_dbus="yes"
speech_dbus_reason="dbus binding present"
fi
+if text "x${binding_bus_use_system_bus}" = "xyes" ; then
+ AC_DEFINE(DBUS_USE_SYSTEM_BUS, 1, [Use system bus instead of session bus for binding dbus])
+fi
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)
AM_CONDITIONAL(BINDING_DBUS, test "x${binding_dbus}" = "xyes")