autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Tue, 21 Mar 2006 06:54:24 +0000
changeset 1563 b054590b967a
parent 1380 d94b080ff6ce
child 1564 4950a25bd91e
permissions -rwxr-xr-x
Fall back to autogen259 if autogen isn't available

#!/bin/sh
#
echo "Generating build information using autoconf"
echo "This may take a while ..."

# Regenerate configuration files
cp acinclude.m4 aclocal.m4
for autoconf in autoconf autoconf259
do if which $autoconf >/dev/null; then $autoconf; break; fi
done
(cd test; sh autogen.sh)

# Run configure for this platform
echo "Now you are ready to run ./configure"