You need to install a lot of things, please install in the following order:
The installed version package also cannot be wrong:
curl-o http://mirrors.kernel.org/gnu/m4/m4-1.4.13.tar.gz
TAR-XZVF m4-1.4.13.tar.gz
CD m4-1.4.13
./configure--prefix=/usr/local
Make
sudo make install
CD.
curl-o http://mirrors.kernel.org/gnu/autoconf/autoconf-2.65.tar.gz
TAR-XZVF autoconf-2.65.tar.gz
CD autoconf-2.65
./configure--prefix=/usr/local # Ironic, isn ' t it?
Make
sudo make install
CD ...
# Here's might want to restart your terminal session, to ensure the new autoconf are picked up and used in the rest O f the script
Curl-o http://mirrors.kernel.org/gnu/automake/automake-1.11.tar.gz
Tar xzvf automake-1.11.tar.gz
CD automake-1.11
./configure--prefix=/usr/local
Make
sudo make install
CD.
curl-o http://mirrors.kernel.org/gnu/libtool/libtool-2.2.6b.tar.gz
Tar xzvf libtool-2.2.6b.tar.gz
CD libtool-2.2.6b
./configure--prefix=/usr/local
Make
sudo make install
Okay, now go find automake management makefile The source code can be easily used
Transferred from: http://blog.csdn.net/x32sky/article/details/42710063
Installing autoconf and Automake in Mac OS