summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-09-21 19:11:52 +0900
committerMarcel Holtmann <marcel@holtmann.org>2010-09-21 19:12:57 +0900
commitda34ca7e7ca4a26d01da047caf8a91ab97a26c10 (patch)
treeb7780ec84d20e07ea68d9fea6ac2dd25f2e4aad5 /configure.ac
parent16fccddbbcc32ee30b4136cec9febbfb66f1f10a (diff)
downloadconnman-da34ca7e7ca4a26d01da047caf8a91ab97a26c10.tar.gz
connman-da34ca7e7ca4a26d01da047caf8a91ab97a26c10.tar.bz2
connman-da34ca7e7ca4a26d01da047caf8a91ab97a26c10.zip
Use DBUS_CONFDIR variable instead of DBUS_DATADIR
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index b2dcc80f..6d960666 100644
--- a/configure.ac
+++ b/configure.ac
@@ -288,15 +288,15 @@ AC_CHECK_LIB(dbus-1, dbus_watch_get_unix_fd, dummy=yes,
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)
-AC_ARG_WITH(dbusconf, AC_HELP_STRING([--with-dbusconf=PATH],
+AC_ARG_WITH(dbusconfdir, AC_HELP_STRING([--with-dbusconfdir=PATH],
[path to D-Bus config directory]), [path_dbusconf=${withval}],
[path_dbusconf="`$PKG_CONFIG --variable=sysconfdir dbus-1`"])
if (test -z "${path_dbusconf}"); then
- DBUS_DATADIR="${sysconfdir}/dbus-1/system.d"
+ DBUS_CONFDIR="${sysconfdir}/dbus-1/system.d"
else
- DBUS_DATADIR="${path_dbusconf}/dbus-1/system.d"
+ DBUS_CONFDIR="${path_dbusconf}/dbus-1/system.d"
fi
-AC_SUBST(DBUS_DATADIR)
+AC_SUBST(DBUS_CONFDIR)
AC_ARG_ENABLE(polkit,
AC_HELP_STRING([--enable-polkit], [enable PolicyKit support]),