sed -i -e 's/^AM_PROG_AR/#AM_PROG_AR/' configure.ac
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
make
sudo make install