title: How to install Valgrind on macOS Mojave(10.14) with Homebrew?
body: <p>I tried to install Valgrind with <code>brew install Valgrind</code> and got  :</p>
  <pre><code>valgrind: This formula either does not compile or function as expected
  on macOS versions newer than Sierra due to an upstream
  incompatibility. 
  Error: An unsatisfied requirement failed this build.
  </code></pre>
  <p>I tried  <code>brew install --HEAD Valgrind</code>.</p>
  <p>Instead, after successfully installing the dependencies <code>autoconf</code>, <code>automake</code> and <code>libtool</code>, when it tries to install valgrind, I get a configure error:</p>
  <pre><code>Valgrind works on Darwin 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x and
  17.x (Mac OS X 10.6/7/8/9/10/11 and macOS 10.12/13)
  </code></pre>
  <p>My OS is macOS Mojave(10.14), so does it mean that I can't install a functioning Valgrind with Homebrew presently?</p>