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