mirror of
https://github.com/encounter/SDL.git
synced 2025-07-06 05:05:56 +00:00
Simplified autogen.sh, thanks to @smcv for the tip
This commit is contained in:
parent
db36664f26
commit
fa50597055
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
echo "Generating build information using autoconf"
|
echo "Generating build information using autoconf"
|
||||||
echo "This may take a while ..."
|
echo "This may take a while ..."
|
||||||
|
|
||||||
@ -10,11 +12,7 @@ cd "$srcdir"
|
|||||||
# Regenerate configuration files
|
# Regenerate configuration files
|
||||||
cat acinclude/* >aclocal.m4
|
cat acinclude/* >aclocal.m4
|
||||||
|
|
||||||
if test "$AUTOCONF"x = x; then
|
"${AUTOCONF:-autoconf}"
|
||||||
AUTOCONF=autoconf
|
|
||||||
fi
|
|
||||||
|
|
||||||
$AUTOCONF || exit 1
|
|
||||||
rm aclocal.m4
|
rm aclocal.m4
|
||||||
rm -rf autom4te.cache
|
rm -rf autom4te.cache
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user