summaryrefslogtreecommitdiff
path: root/cpp/examples/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/examples/Makefile.am')
-rw-r--r--cpp/examples/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/examples/Makefile.am b/cpp/examples/Makefile.am
index 6c3cc4c745..8de2137178 100644
--- a/cpp/examples/Makefile.am
+++ b/cpp/examples/Makefile.am
@@ -17,7 +17,10 @@ examples_DATA = README $(MAKEDIST)
EXTRA_DIST = $(examples_DATA) README.verify verify verify_all
+# For older versions of automake
+abs_top_srcdir = @abs_top_srcdir@
+
# Verify the examples in the buid tree.
check-local:
- $(srcdir)/verify_all $(abs_top_srcdir)/.. $(abs_top_builddir)/src/qpidd $(exclude_examples_regexp)
+ $(srcdir)/verify_all $(abs_top_srcdir)/.. $(top_builddir)/src/qpidd $(exclude_examples_regexp)