summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-08-19 10:08:14 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-08-20 12:27:13 -0400
commitdf4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9 (patch)
tree22ca90e3f9ff3d3cc98dc8611df426f728376019
parentf9809a1a289165252fd1400b000b69a48b325336 (diff)
downloadsssd-df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9.tar.gz
sssd-df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9.tar.bz2
sssd-df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9.zip
Fix usage of $(builddir) in SSSD
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.
-rw-r--r--Makefile.am3
-rw-r--r--server/Makefile.am4
2 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 0ed9c640..04c22158 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 6aa6bec7..d42fa5c9 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