SDL2/autogen.sh
Sam Lantinga 39b386f90a gcc can't generate dependencies for a file that doesn't exist, so first create SDL_revision.h
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404049
2009-10-11 06:42:20 +00:00

23 lines
555 B
Bash
Executable File

#!/bin/sh
#
echo "Generating build information using autoconf"
echo "This may take a while ..."
# Generate SDL_revision.h
sh build-scripts/updaterev.sh
# 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"