From b982a751f41c2611dff66c62a03384eafb109ed5 Mon Sep 17 00:00:00 2001 From: Richo Healey Date: Mon, 27 Apr 2015 01:04:22 -0700 Subject: [PATCH] configure: Disable valgrind-rpass if there's no valgrind --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index 1de4b42522b..5455f1b3ccf 100755 --- a/configure +++ b/configure @@ -733,6 +733,14 @@ then probe CFG_JAVAC javac fi +# the valgrind rpass tests will fail if you don't have a valgrind, but they're +# only disabled if you opt out. +if [ -z "$CFG_VALGRIND" ] +then + CFG_DISABLE_VALGRIND_RPASS=1 + putvar CFG_DISABLE_VALGRIND_RPASS +fi + if [ ! -z "$CFG_GDB" ] then # Store GDB's version