-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add script to build autoconf, automake and libtool locally
- Loading branch information
1 parent
73db19e
commit 330e3e6
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/bin/sh | ||
# From https://gist.github.com/GraemeConradie/49d2f5962fa72952bc6c64ac093db2d5 | ||
|
||
## | ||
# Install autoconf, automake and libtool smoothly on Mac OS X. | ||
# Newer versions of these libraries are available and may work better on OS X | ||
## | ||
|
||
export build=`pwd`/temp # or wherever you'd like to build | ||
export install=`pwd`/tools | ||
mkdir -p $build | ||
|
||
## | ||
# Autoconf | ||
# http://ftpmirror.gnu.org/autoconf | ||
|
||
cd $build | ||
curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz | ||
tar xzf autoconf-2.69.tar.gz | ||
cd autoconf-2.69 | ||
./configure --prefix=$install | ||
make | ||
make install | ||
# export PATH=$PATH:$install | ||
|
||
## | ||
# Automake | ||
# http://ftpmirror.gnu.org/automake | ||
|
||
cd $build | ||
curl -OL http://ftpmirror.gnu.org/automake/automake-1.15.tar.gz | ||
tar xzf automake-1.15.tar.gz | ||
cd automake-1.15 | ||
./configure --prefix=$install | ||
make | ||
make install | ||
|
||
## | ||
# Libtool | ||
# http://ftpmirror.gnu.org/libtool | ||
|
||
cd $build | ||
curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz | ||
tar xzf libtool-2.4.6.tar.gz | ||
cd libtool-2.4.6 | ||
./configure --prefix=$install | ||
make | ||
make install | ||
|
||
echo "Installation complete." |