From: Michael Biebl Date: Mon, 4 Mar 2013 00:39:22 +0000 (+0100) Subject: build-sys: resolve absolute path for the dbus directories X-Git-Tag: v198~97 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=5a37b9476f0e82a3ea0c3bd4cb19eb25cf776af7;hp=25ee45f9953c121fc26a54a85ad7bb3a3180152b build-sys: resolve absolute path for the dbus directories /usr/share/dbus-1/system-services simply looks a lot nicer then /usr/share/dbus-1/services/../system-services --- diff --git a/configure.ac b/configure.ac index 23322c7a8..fab0b91c5 100644 --- a/configure.ac +++ b/configure.ac @@ -806,12 +806,12 @@ AC_ARG_WITH([dbussessionservicedir], AC_ARG_WITH([dbussystemservicedir], AS_HELP_STRING([--with-dbussystemservicedir=DIR], [D-Bus system service directory]), [], - [with_dbussystemservicedir=$($PKG_CONFIG --variable=session_bus_services_dir dbus-1)/../system-services]) + [with_dbussystemservicedir=$(readlink -f $($PKG_CONFIG --variable=session_bus_services_dir dbus-1)/../system-services)]) AC_ARG_WITH([dbusinterfacedir], AS_HELP_STRING([--with-dbusinterfacedir=DIR], [D-Bus interface directory]), [], - [with_dbusinterfacedir=$($PKG_CONFIG --variable=session_bus_services_dir dbus-1)/../interfaces]) + [with_dbusinterfacedir=$(readlink -f $($PKG_CONFIG --variable=session_bus_services_dir dbus-1)/../interfaces)]) AC_ARG_WITH([bashcompletiondir], AS_HELP_STRING([--with-bashcompletiondir=DIR], [Bash completions directory]),