From 712ad5628516b6272a12ce39a65f7740cb5eb12d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 27 Jun 2007 12:32:56 +0000 Subject: [PATCH] Find out the absolute path to top_builddir before we might starting to recurse down into the subtrees. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21371 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/Makefile.am.common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cf/Makefile.am.common b/cf/Makefile.am.common index fe20975a8..670268cbb 100644 --- a/cf/Makefile.am.common +++ b/cf/Makefile.am.common @@ -239,7 +239,8 @@ endif # check-valgrind: - env TESTS_ENVIRONMENT="$(top_builddir)/libtool --mode execute valgrind --leak-check=full --trace-children=yes --quiet -q --num-callers=30 --suppressions=$(top_srcdir)/cf/valgrind-suppressions" make check + topdir=`cd $(top_builddir) && pwd` ; \ + env TESTS_ENVIRONMENT="${topdir}/libtool --mode execute valgrind --leak-check=full --trace-children=yes --quiet -q --num-callers=30 --suppressions=$(top_srcdir)/cf/valgrind-suppressions" make check # # Target to please samba build farm, builds distfiles in-tree.