[FFmpeg-cvslog] configure: Use the tool specified with --valgrind instead of a hardcoded " valgrind"

Michael Niedermayer git at videolan.org
Sun May 5 16:27:51 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun May  5 16:22:44 2013 +0200| [fb90e7b86d02d34b60f1f3e9cafb2ea136c82a86] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fb90e7b86d02d34b60f1f3e9cafb2ea136c82a86
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index ca30d90..5a5cbc2 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)



More information about the ffmpeg-cvslog mailing list