summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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