From 5377441d7a846461c2d9a7a870cea711360a529a Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Tue, 17 Jun 2014 11:59:47 +0300 Subject: build: Augment systemdconfdir at configure stage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add "/sssd.service.d" to systemdconfdir at configure stage, instead of the make stage. This way, if systemd is not used, systemdconfdir variable stays empty. That in turn, works around the attempt by older versions of Automake to create the installation directory even though no files are installed there [1]. This fixes installation and distcheck target on RHEL6, where an "/sssd.service.d" directory creation would otherwise be attempted. [1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11030 Reviewed-by: Lukáš Slebodník --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 91142b396..2dc4097bf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -58,7 +58,7 @@ pipepath = @pipepath@ mcpath = @mcpath@ initdir = @initdir@ systemdunitdir = @systemdunitdir@ -systemdconfdir = @systemdconfdir@/sssd.service.d +systemdconfdir = @systemdconfdir@ logpath = @logpath@ pubconfpath = @pubconfpath@ pkgconfigdir = $(libdir)/pkgconfig -- cgit