mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-01 10:56:18 +08:00
genfixes: exit 1 when autogen not found.
* genfixes: exit 1 when autogen not found. * genfixes: Remove some redundant code. * genfixes: Update URL to autogen source code. From-SVN: r261500
This commit is contained in:
parent
c649ee40c3
commit
764d9a51e6
@ -1,5 +1,9 @@
|
||||
2018-06-12 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
|
||||
|
||||
* genfixes: exit 1 when autogen not found.
|
||||
* genfixes: Remove some redundant code.
|
||||
* genfixes: Update URL to autogen source code.
|
||||
|
||||
* inclhack.def: Fix fixup for assert.h on vxworks.
|
||||
* fixincl.x: Regenerate.
|
||||
|
||||
|
@ -55,19 +55,16 @@ do
|
||||
esac
|
||||
done
|
||||
|
||||
if [ $# -eq 0 ] ; then
|
||||
set -- fixincl.x
|
||||
fi
|
||||
|
||||
AG="autogen $AG"
|
||||
set -e
|
||||
|
||||
if [ -z "`${AG} -v | fgrep ' 5.'`" ]
|
||||
then
|
||||
echo "AutoGen appears to be out of date or not correctly installed."
|
||||
echo "Please download and install:"
|
||||
echo " ftp://gcc.gnu.org/pub/gcc/infrastructure/autogen.tar.gz"
|
||||
echo "Please download and install from:"
|
||||
echo " https://ftp.gnu.org/gnu/autogen/"
|
||||
touch fixincl.x
|
||||
exit 1
|
||||
else
|
||||
echo AutoGen-ing fixincl.x
|
||||
$AG inclhack.def
|
||||
|
Loading…
Reference in New Issue
Block a user