Skip to content

Instantly share code, notes, and snippets.

@dylanholmes
Forked from jellybeansoup/cltools.sh
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dylanholmes/9261829 to your computer and use it in GitHub Desktop.
Save dylanholmes/9261829 to your computer and use it in GitHub Desktop.
#!/bin/sh
##
# Install autoconf, automake and libtool smoothly on Mac OS X.
# Newer versions of these libraries are available and may work better on OS X
#
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
#
export build=~/devtools # or wherever you'd like to build
mkdir -p $build
##
# Autoconf
# http://ftpmirror.gnu.org/autoconf
cd $build
curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-latest.tar.gz
tar xzf autoconf-latest.tar.gz
cd autoconf-*
./configure --prefix=/usr/local
make
sudo make install
cd ..
rm -r autconf-*
##
# Automake
# http://ftpmirror.gnu.org/automake
cd $build
curl -OL http://ftpmirror.gnu.org/automake/automake-latest.tar.gz
tar xzf automake-latest.tar.gz
cd automake-*
./configure --prefix=/usr/local
make
sudo make install
cd ..
rm -r automake-*
##
# Libtool
# http://ftpmirror.gnu.org/libtool
cd $build
curl -OL http://ftpmirror.gnu.org/libtool/libtool-latest.tar.gz
tar xzf libtool-latest.tar.gz
cd libtool-*
./configure --prefix=/usr/local
make
sudo make install
cd ..
rm -r libtool-*
echo "Installation complete."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment