Commit 764d9a51 by Rasmus Villemoes Committed by Jeff Law

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
parent c649ee40
2018-06-12 Rasmus Villemoes <rasmus.villemoes@prevas.dk> 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. * inclhack.def: Fix fixup for assert.h on vxworks.
* fixincl.x: Regenerate. * fixincl.x: Regenerate.
......
...@@ -55,19 +55,16 @@ do ...@@ -55,19 +55,16 @@ do
esac esac
done done
if [ $# -eq 0 ] ; then
set -- fixincl.x
fi
AG="autogen $AG" AG="autogen $AG"
set -e set -e
if [ -z "`${AG} -v | fgrep ' 5.'`" ] if [ -z "`${AG} -v | fgrep ' 5.'`" ]
then then
echo "AutoGen appears to be out of date or not correctly installed." echo "AutoGen appears to be out of date or not correctly installed."
echo "Please download and install:" echo "Please download and install from:"
echo " ftp://gcc.gnu.org/pub/gcc/infrastructure/autogen.tar.gz" echo " https://ftp.gnu.org/gnu/autogen/"
touch fixincl.x touch fixincl.x
exit 1
else else
echo AutoGen-ing fixincl.x echo AutoGen-ing fixincl.x
$AG inclhack.def $AG inclhack.def
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment