This commit is contained in:
mike@arpaia.co 2015-02-03 16:34:42 -08:00
parent 75d2d99239
commit b0398eb745

View File

@ -184,15 +184,15 @@ function install_automake() {
function install_libtool() { function install_libtool() {
if [[ ! -f /usr/bin/libtool ]]; then if [[ ! -f /usr/bin/libtool ]]; then
if [[ ! -f libtool-2.4.2.tar.gz ]]; then if [[ ! -f libtool-2.4.5.tar.gz ]]; then
wget http://mirror.anl.gov/pub/gnu/libtool/libtool-2.4.2.tar.gz wget http://ftpmirror.gnu.org/libtool/libtool-2.4.5.tar.gz
else else
log "libtool is already downloaded. skipping." log "libtool is already downloaded. skipping."
fi fi
if [[ ! -d libtool-2.4.2 ]]; then if [[ ! -d libtool-2.4.5 ]]; then
tar -xf libtool-2.4.2.tar.gz tar -xf libtool-2.4.5.tar.gz
fi fi
pushd libtool-2.4.2 pushd libtool-2.4.5
./configure --prefix=/usr ./configure --prefix=/usr
make make
sudo make install sudo make install