configure: Use the tool specified with --valgrind instead of a hardcoded "valgrind"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-05-05 16:22:44 +02:00
parent 54021aea57
commit fb90e7b86d

2
configure vendored
View File

@ -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)