From d390ae814ccbb768afc796c56a994e5c5bbebacf Mon Sep 17 00:00:00 2001 From: law Date: Tue, 12 Jun 2018 15:00:43 +0000 Subject: [PATCH] * genfixes: exit 1 when autogen not found. * genfixes: Remove some redundant code. * genfixes: Update URL to autogen source code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261500 138bc75d-0d04-0410-961f-82ee72b054a4 --- fixincludes/ChangeLog | 4 ++++ fixincludes/genfixes | 9 +++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 2bb9f89d10be..e9bdcbdfa6e2 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,5 +1,9 @@ 2018-06-12 Rasmus Villemoes + * 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. diff --git a/fixincludes/genfixes b/fixincludes/genfixes index f0fc5e64f8b0..47aad01289d3 100755 --- a/fixincludes/genfixes +++ b/fixincludes/genfixes @@ -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 -- 2.47.2