bootstrap
author Ryan C. Gordon <icculus@icculus.org>
Fri, 28 Jun 2002 05:40:52 +0000
changeset 299 a4a50c609021
parent 213 9e3f734586ac
child 357 9c0dd45cb7eb
permissions -rwxr-xr-x
More build system dancing.

#!/bin/sh

set -e
echo "Initial preparation...this can take awhile, so sit tight..."
perl -w -e '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) { rename ("./Makefile.am.oldautomake", "./Makefile.am"); } else { rename ("./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 ..."