title: Homebrew installed to home directory - how to link to libs in autoconf?
body: <p>Not sure if this belongs on here or SuperUser, but here goes:</p>
  
  <p>I have Homebrew installed in my $HOME/opt/homebrew dir (I'm pretty religious about isolation for user accounts - yes, I'm one of THOSE people).  In any case, Homebrew doesn't install to /usr/local/.  It works fine because I added Homebrew to the head of my personal path in .bashrc.</p>
  
  <p>I'm now using autoconf.  I'm a C newb.  I have a configure.ac that checks for Apache Portable Runtime.  It does the --install to generate a ./configure just fine.  When I run ./configure, it doesn't find it - probably because it's not looking where Homebrew installed it.</p>
  
  <p>I assume I have to provide arguments to the ./configure script setting the includedir and libdir.  But it doesn't work.  What is the right way to link to these Homebrew libs?</p>