configure: Disable valgrind-rpass if there's no valgrind

This commit is contained in:
Richo Healey 2015-04-27 01:04:22 -07:00
parent a8ea78bc35
commit b982a751f4

8
configure vendored
View File

@ -733,6 +733,14 @@ then
probe CFG_JAVAC javac probe CFG_JAVAC javac
fi 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" ] if [ ! -z "$CFG_GDB" ]
then then
# Store GDB's version # Store GDB's version