bootstrap
author Ryan C. Gordon <icculus@icculus.org>
Wed, 28 Aug 2002 08:58:39 +0000
changeset 480 2cf0b6edd200
parent 357 9c0dd45cb7eb
child 625 60b5f566a258
permissions -rwxr-xr-x
Cleaned up some stuff, reduced some unnecessary 64-bit ints to 32.

#!/bin/sh

set -e
echo "Initial preparation...this can take awhile, so sit tight..."
perl -w -e 'use File::Copy; exit 0 if (-f "Makefile.am"); my $x = `automake --version |head -n 1`; chomp($x); $x = 0.0 if ($x !~ s/\A.*?(\d+\.\d+).*\Z/$1/); if ($x < 1.5) { copy("./Makefile.am.oldautomake", "./Makefile.am"); } else { copy("./Makefile.am.newautomake", "./Makefile.am"); }'
aclocal
libtoolize --automake --copy --force
autoheader
automake --foreign --add-missing --copy
autoconf

echo "You are now ready to run ./configure ..."