install readline
set the appropriate PATH environment vars to include the dirs from homebrew instead of passing the dep dirs to each --with-foo argument