autoconf - Generate configuration scripts ChangeLog

HOWTO


# GNU autoconf 2.69
# =================
# Slackware 11.0: autoconf 2.60
# Slackware 12.0, 12.1: autoconf 2.61
# Slackware 12.2, 13.0: autoconf 2.63
# Slackware 13.1: autoconf 2.65
# Slackware 13.37: autoconf 2.68

# If the download site used below is busy, try one of these:
# http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/autoconf/
# http://ftp.gnu.org/gnu/autoconf/

# 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

# Verify tarball w/ gpg:
( gpg --list-keys 2527436A > /dev/null 2>&1 || gpg --recv-keys 2527436A ) &&
wget -nc http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.xz.sig &&
  gpg --verify autoconf-2.69.tar.xz.sig && rm autoconf-2.69.tar.xz.sig

# Extract it
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "autoconf-*" -exec rm -r {} \;
tar xJvf ~/autoconf-2.69.tar.xz
cd autoconf-2.69
test $UID = 0 && chown -R root:root .

# Configure and build it
./configure --prefix=/usr --infodir=/usr/info --mandir=/usr/man
make

# Become root to install it
su

# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg autoconf

# Install it
make install

# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/autoconf-*.tar.*
mv autoconf-2.69.tar.xz installed/


# 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.*

List of HOWTOs

Last updated: 2023-09-09 10:40pm EDT(-0400)
Copyright © 2001-2023 Jason Englander. All Rights reserved.
[HTML5]