Removed because autoreconf -i is better
This commit is contained in:
parent
ed783bb068
commit
8971aa62ba
@ -1,59 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#set -e
|
|
||||||
|
|
||||||
srcdir=`dirname $0`
|
|
||||||
|
|
||||||
#ACLOCAL_FLAGS="-I ${srcdir}/m4 ${ACLOCAL_FLAGS}"
|
|
||||||
|
|
||||||
fail() {
|
|
||||||
status=$?
|
|
||||||
echo "Last command failed with status $status in directory $(pwd)."
|
|
||||||
echo "Aborting"
|
|
||||||
exit $status
|
|
||||||
}
|
|
||||||
|
|
||||||
# Refresh GNU autotools toolchain: libtool
|
|
||||||
echo "Removing libtool cruft"
|
|
||||||
rm -f ltmain.sh config.guess config.sub
|
|
||||||
|
|
||||||
# Refresh GNU autotools toolchain: aclocal autoheader
|
|
||||||
echo "Removing aclocal cruft"
|
|
||||||
rm -f aclocal.m4
|
|
||||||
echo "Running aclocal $ACLOCAL_FLAGS"
|
|
||||||
aclocal $ACLOCAL_FLAGS || fail
|
|
||||||
echo "Running libtoolize"
|
|
||||||
libtoolize --copy --force || fail
|
|
||||||
echo "Running aclocal $ACLOCAL_FLAGS"
|
|
||||||
aclocal $ACLOCAL_FLAGS || fail
|
|
||||||
echo "Removing autoheader cruft"
|
|
||||||
rm -f config.h.in src/config.h.in
|
|
||||||
echo "Running autoheader"
|
|
||||||
autoheader || fail
|
|
||||||
|
|
||||||
# Refresh GNU autotools toolchain: automake
|
|
||||||
echo "Removing automake cruft"
|
|
||||||
rm -f depcomp install-sh missing mkinstalldirs
|
|
||||||
rm -f stamp-h*
|
|
||||||
echo "Running automake"
|
|
||||||
automake --add-missing --gnu || fail
|
|
||||||
|
|
||||||
# Refresh GNU autotools toolchain: autoconf
|
|
||||||
echo "Removing autoconf cruft"
|
|
||||||
rm -f configure
|
|
||||||
rm -rf autom4te*.cache/
|
|
||||||
echo "Running autoconf"
|
|
||||||
autoconf
|
|
||||||
|
|
||||||
# Autoupdate config.sub and config.guess
|
|
||||||
# from GNU CVS
|
|
||||||
WGET=`which wget`
|
|
||||||
if [ "x$WGET" != "x" ]; then
|
|
||||||
wget -O tmpfile http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
|
|
||||||
mv tmpfile config.guess
|
|
||||||
wget -O tmpfile http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
|
|
||||||
mv tmpfile config.sub
|
|
||||||
else
|
|
||||||
echo "wget not installed - Could not autoupdate config.sub and config.guess"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Finished!"
|
|
Loading…
Reference in New Issue
Block a user