There are some old versions of automake that do not define
$(builddir) correctly. Since $(builddir) is "Rigorously equal to
‘.’", we'll set it at the top of the Makefile.am files.

-- 
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
From dd2446d2bc6fda3ba15a57f41efba76b4b1ff492 Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <[email protected]>
Date: Wed, 19 Aug 2009 10:08:14 -0400
Subject: [PATCH] Fix usage of $(builddir) in SSSD
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

There are some old versions of automake that do not define
$(builddir) correctly. Since $(builddir) is "Rigorously equal to
‘.’', we'll set it at the top of the Makefile.am files.
---
 Makefile.am        |    3 +++
 server/Makefile.am |    4 ++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 0ed9c64..04c2215 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,6 +2,9 @@ SUBDIRS = replace common server sss_client
 
 RPMBUILD ?= $(PWD)/rpmbuild
 
+#Some old versions of automake don't define builddir
+builddir ?= .
+
 dist_noinst_DATA = \
     sssd.spec.in \
     BUILD.txt \
diff --git a/server/Makefile.am b/server/Makefile.am
index 7ef7eb7..cb448b6 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -1,5 +1,9 @@
 SUBDIRS = po
 topdir=.
+
+# Some old versions of automake don't define builddir
+builddir ?= .
+
 sssdlibexecdir = $(libexecdir)/sssd
 sssdlibdir = $(libdir)/sssd
 ldblibdir = $(libdir)/ldb
-- 
1.6.2.5

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
sssd-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to