Automatically attempt to update config.guess and config.sub if wget is installed
This commit is contained in:
parent
09f55d8fef
commit
e6d4c7167a
@ -48,17 +48,12 @@ autoconf
|
|||||||
# from GNU CVS
|
# from GNU CVS
|
||||||
WGET=`which wget`
|
WGET=`which wget`
|
||||||
if [ "x$WGET" != "x" ]; then
|
if [ "x$WGET" != "x" ]; then
|
||||||
echo "Autoupdate config.sub and config.guess (y/n)?"
|
|
||||||
read IN
|
|
||||||
if [ "$IN" = "y" ] || [ "$IN" = "Y" ]; then
|
|
||||||
wget -O tmpfile http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
|
wget -O tmpfile http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
|
||||||
mv tmpfile config.guess
|
mv tmpfile config.guess
|
||||||
wget -O tmpfile http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
|
wget -O tmpfile http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
|
||||||
mv tmpfile config.sub
|
mv tmpfile config.sub
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
echo "Could not autoupdate config.sub and config.guess"
|
echo "wget not installed - Could not autoupdate config.sub and config.guess"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Finished!"
|
echo "Finished!"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user