wget 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 && make install
cd ..
wget 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
make && make install
cd ..
wget 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 && make install
cd ..
wget 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 && make install
cd ..
rm -rf autoconf-2.65* &&rm -rf automake-1.11* && rm -rf m4-1.4.13* rm -rf libtool-2.2.6b*
一定要查版本
./configure
make && make install
中文文档
http://www.douban.com/note/151393163/
完整的安装脚本
https://gist.github.com/siraj/1399288
wget 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 && make install cd ..
mac的说明文档
https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html