autogen.sh
author Patrice Mandin <patmandin@gmail.com>
Fri, 26 Aug 2011 14:37:39 +0200
branchSDL-1.2
changeset 5649 02ab15cfa992
parent 4275 b73b5af69f48
child 3377 c8d350c981ff
permissions -rwxr-xr-x
Fix various warnings for uninitialized or unused variables and functions

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

# Regenerate configuration files
cat acinclude/* >aclocal.m4
found=false
for autoconf in autoconf autoconf259 autoconf-2.59
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"