From 62786e4407546d47accb46c4f13eaeb82022c366 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sun, 15 Oct 2006 08:35:09 +0000 Subject: [PATCH] Define VALGRIND1 as an invocation of valgrind that could be used for VALGRIND git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18708 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/pre.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/config/pre.in b/src/config/pre.in index 2c4c0298d..b99fa7d34 100644 --- a/src/config/pre.in +++ b/src/config/pre.in @@ -550,7 +550,11 @@ PROFFLAGS=@PROFFLAGS@ # platform-dependent temporary files that should get cleaned up EXTRA_FILES=@EXTRA_FILES@ -VALGRIND= # valgrind --tool=memcheck --log-file=$(BUILDTOP)/valgrind.out --trace-children=yes -v --leak-check=yes +VALGRIND= +# Need absolute paths here because under kshd or ftpd we may run programs +# while in other directories. +VALGRIND_LOGDIR = `cd $(BUILDTOP)&&pwd` +VALGRIND1 = valgrind --tool=memcheck --log-file=$(SAMPLE_VALGRIND_LOGDIR)/vg --trace-children=yes -v --leak-check=yes --suppressions=`cd $(SRCTOP)&&pwd`/util/valgrind-suppressions # AUTOCONF_HEADER=$(SRCTOP)/include/autoconf.h.in -- 2.26.2