Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Latest commit

 

History

History
executable file
·
22 lines (19 loc) · 555 Bytes

autogen.sh

File metadata and controls

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