diff options
| author | Richo Healey <richo@psych0tik.net> | 2015-04-27 01:04:22 -0700 |
|---|---|---|
| committer | Richo Healey <richo@psych0tik.net> | 2015-04-27 01:04:22 -0700 |
| commit | b982a751f41c2611dff66c62a03384eafb109ed5 (patch) | |
| tree | c03284b974c9f5a2e983e89aa9d6d56a5053d253 | |
| parent | a8ea78bc35f46743dbb7a371ee372addbf146731 (diff) | |
| download | rust-b982a751f41c2611dff66c62a03384eafb109ed5.tar.gz rust-b982a751f41c2611dff66c62a03384eafb109ed5.zip | |
configure: Disable valgrind-rpass if there's no valgrind
| -rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
