Robert Love wrote:
On Fri, 2006-07-07 at 19:42 +0200, Timothée Lecomte wrote:
This is almost always wrong. On most distributions, it should be
/etc/dbus-1/system.d whereas the previous code expands to
$prefix/etc/dbus-1/system.d where $prefix is often /usr, or whatever is
given to ./configure.
Really?
I guess we all build with an explicit --sysconfdir
Well, with this modification you will save a few characters for your
fingers then ;-)
See attached patch.
Looks like you forgot it. (Which I do all the time!)
Sorry about that ! Here it is.
By the way, the same change applies to knetworkmanager. Where should you
I post the patch for it ?
Best regards,
Timothée
diff -Naur old/configure.in new/configure.in
--- old/configure.in 2006-07-07 21:31:57.000000000 +0200
+++ new/configure.in 2006-07-07 21:31:21.000000000 +0200
@@ -223,7 +223,7 @@
if ! test -z "$with_dbus_sys" ; then
DBUS_SYS_DIR="$with_dbus_sys"
else
- DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
+ DBUS_SYS_DIR="`pkg-config --variable=sysconfdir dbus-1`/dbus-1/system.d"
fi
AC_SUBST(DBUS_SYS_DIR)
AC_DEFINE_UNQUOTED(DBUS_SYSTEMD_DIR, "$DBUS_SYS_DIR", [Where system.d dir for
DBUS is])
_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list