Skip to content

Instantly share code, notes, and snippets.

@nkigen
Created August 27, 2015 14:10
Show Gist options
  • Select an option

  • Save nkigen/6bfdde8c2e33fb90cdf8 to your computer and use it in GitHub Desktop.

Select an option

Save nkigen/6bfdde8c2e33fb90cdf8 to your computer and use it in GitHub Desktop.

Revisions

  1. nkigen created this gist Aug 27, 2015.
    17 changes: 17 additions & 0 deletions autotools.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    myprefix=YOUR_CUSTOM_LOCATION
    wget http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz
    wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
    wget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz
    wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz
    gzip -dc m4-1.4.17.tar.gz | tar xvf -
    gzip -dc autoconf-2.69.tar.gz | tar xvf -
    gzip -dc automake-1.15.tar.gz | tar xvf -
    gzip -dc libtool-2.4.6.tar.gz | tar xvf -
    cd m4-1.4.17
    ./configure -C --prefix=$myprefix && make && make install
    cd ../autoconf-2.69
    ./configure -C --prefix=$myprefix && make && make install
    cd ../automake-1.15
    ./configure -C --prefix=$myprefix && make && make install
    cd ../libtool-2.4.6
    ./configure -C --prefix=$myprefix && make && make install