From fb90e7b86d02d34b60f1f3e9cafb2ea136c82a86 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 5 May 2013 16:22:44 +0200 Subject: [PATCH] configure: Use the tool specified with --valgrind instead of a hardcoded "valgrind" Signed-off-by: Michael Niedermayer --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index ca30d906bf..5a5cbc2cf2 100755 --- a/configure +++ b/configure @@ -2507,7 +2507,7 @@ case "$toolchain" in add_ldflags -fsanitize=thread -pie ;; valgrind-memcheck) - target_exec_default="valgrind" + target_exec_default=${valgrind:-"valgrind"} target_exec_args="--error-exitcode=1 --malloc-fill=0x2a --track-origins=yes --leak-check=full --gen-suppressions=all --suppressions=$source_path/tests/fate-valgrind.supp" ;; msvc)