autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Thu, 13 Apr 2006 13:25:21 +0000
changeset 1623 09375aed0208
parent 1564 4950a25bd91e
child 1659 14717b52abc0
permissions -rwxr-xr-x
Added a delay so the warning message isn't accidentally missed.

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

# Regenerate configuration files
cp acinclude.m4 aclocal.m4
found=false
for autoconf in autoconf autoconf259
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
done
if test x$found = xfalse; then
    echo "Couldn't find autoconf, aborting"
    exit 1
fi
(cd test; sh autogen.sh)

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