Bugzilla – Bug 323
waf --valgrind doesn't check for valgrind first
Last modified: 2009-01-24 13:09:43 EST
"waf --valgrind stuff" produces a cryptic python error along the lines of "file not found" when valgrind isn't present on the system. It would be nice if waf configure could check for valgrind, and in the case that it isn't found, "waf --valgrind stuff" could produce an output message like "--valgrind option is disabled since valgrind was not found on this system", and then either fail, or run "stuff" anyway without valgrind. I suspect --doxygen is the same way, but can't verify, and that is a separate bug report anyway.