# Prerequisites:
# m4 (>= 1.4.7 is recommended)
# Perl >= 5.6
# configure looks for emacs, but only to see if your shell is running under it
# Get it
cd
test -f installed/autoconf-2.69.tar.xz &&
mv installed/autoconf-2.69.tar.xz .
test ! -f autoconf-2.69.tar.xz &&
wget http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.xz
# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "50f97f4159805e374639a73e2636f22e autoconf-2.69.tar.xz" | md5sum -c
# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "e891c3193029775e83e0534ac0ee0c4c711f6d23 autoconf-2.69.tar.xz" | sha1sum -c
# If you ever want to uninstall autoconf, this should do it:
# ('make uninstall' in the source dir as root should do it, the
# rest is just in case...)
cd
su
test -d src/autoconf-* && ( cd src/autoconf-* ; make uninstall )
( cd /usr/bin ; rm -f autoconf autoheader autom4te autoreconf autoscan autoupdate ifnames )
test -d /usr/info &&
( cd /usr/info ; rm -f autoconf.info standards.info )
( cd /usr/man/man1
rm -f autoconf.1 autoheader.1 autom4te.1 autoreconf.1 autoscan.1 autoupdate.1 config.guess.1 config.sub.1 )
test -d /usr/share/autoconf && rm -r /usr/share/autoconf
test -d /usr/share/emacs/site-lisp &&
( cd /usr/share/emacs/site-lisp ; rm -f autoconf-mode.el autotest-mode.el )
test -d /usr/share/info &&
( cd /usr/share/info ; rm -f autoconf.info standards.info )
test -d /usr/share/man/man1 &&
( cd /usr/share/man/man1 ; rm -f autoconf.1 autoheader.1 autom4te.1 autoreconf.1 autoscan.1 autoupdate.1 config.guess.1 config.sub.1 ifnames.1 )
exit
find ~/src -maxdepth 1 -type d -name "autoconf-*" -exec rm -r {} \;
rm -f ~/installed/autoconf-*.tar.*