[systemd-commits] configure.ac
Michael Biebl
mbiebl at kemper.freedesktop.org
Sun Mar 3 17:15:48 PST 2013
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 03c149144d374cffd40a17ffb067837e3e220933
Author: Michael Biebl <biebl at debian.org>
Date: Mon Mar 4 02:13:34 2013 +0100
build-sys: be more tolerant if dbus directories do not exist
use readlink -m instead of -f since we might be building in a minimal
chroot where those directories do not actually exist and readlink -f
would return an empty string.
diff --git a/configure.ac b/configure.ac
index fab0b91..43b8225 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=$(readlink -f $($PKG_CONFIG --variable=session_bus_services_dir dbus-1)/../system-services)])
+ [with_dbussystemservicedir=$(readlink -m $($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=$(readlink -f $($PKG_CONFIG --variable=session_bus_services_dir dbus-1)/../interfaces)])
+ [with_dbusinterfacedir=$(readlink -m $($PKG_CONFIG --variable=session_bus_services_dir dbus-1)/../interfaces)])
AC_ARG_WITH([bashcompletiondir],
AS_HELP_STRING([--with-bashcompletiondir=DIR], [Bash completions directory]),
More information about the systemd-commits
mailing list