This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
/
autogen.sh
executable file
·22 lines (19 loc) · 555 Bytes
1
2
#!/bin/sh
#
3
echo "Generating build information using autoconf"
4
5
echo "This may take a while ..."
6
7
8
# Generate SDL_revision.h
sh build-scripts/updaterev.sh
9
# Regenerate configuration files
10
cat acinclude/* >aclocal.m4
11
found=false
12
for autoconf in autoconf autoconf259 autoconf-2.59
13
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
14
done
15
16
17
18
if test x$found = xfalse; then
echo "Couldn't find autoconf, aborting"
exit 1
fi
19
(cd test; sh autogen.sh)
20
21
22
# Run configure for this platform
echo "Now you are ready to run ./configure"