title: configure: error: Please reinstall the BZip2 distribution
body: <p>I am trying to compile php from source on mac with the bzip2 extension and I keep getting an error saying </p>
  
  <blockquote>
    <p><strong>checking for BZip2 in default path... not found</strong></p>
  </blockquote>
  
  <p>I've tried setting the LDFLAGS and CPPFLAGS but that doesn't seem to work. </p>
  
  <p>The dylib is in <em>/usr/local/opt/bzip2/lib</em> and the header files are in <em>usr/local/opt/bzip2/include.</em></p>