aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTambet Ingo <tambet@gmail.com>2008-08-13 10:05:31 +0300
committerTambet Ingo <tambet@gmail.com>2008-08-13 10:05:31 +0300
commita93f08429c142e1be5b1a4b0454d6a6051a7af3c (patch)
treea98111fb93ef6738e87b564e0b6da4362459296e
parentbe059f7a73fceda95bf5504634ed03b5de085ab2 (diff)
Fix distcheck.
-rw-r--r--configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 600dfb0f..cc6cf5e9 100644
--- a/configure.in
+++ b/configure.in
@@ -14,6 +14,15 @@ AC_PROG_LIBTOOL
PKG_CHECK_MODULES(MM, dbus-glib-1 >= 0.75 glib-2.0 >= 2.14 gmodule-2.0 gobject-2.0 hal)
+AC_ARG_WITH(dbus-sys-dir, AS_HELP_STRING([--with-dbus-sys-dir=DIR], [where D-BUS system.d directory is]))
+
+if test -n "$with_dbus_sys_dir" ; then
+ DBUS_SYS_DIR="$with_dbus_sys_dir"
+else
+ DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
+fi
+AC_SUBST(DBUS_SYS_DIR)
+
AC_ARG_WITH(docs, AC_HELP_STRING([--with-docs], [Build ModemManager documentation]))
AM_CONDITIONAL(WITH_DOCS, test "x$with_docs" = "xyes")
case $with_docs in