diff options
| author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-19 22:43:38 +0000 |
|---|---|---|
| committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-19 22:43:38 +0000 |
| commit | 144e89a09874f912c7a5e8d4895facd616a65921 (patch) | |
| tree | ecbf0957d6983f784baef91e2678c60d9f0fc0b4 | |
| parent | e89849bde3f946e477d959de786f978fadda6f2e (diff) | |
| download | ppe42-gcc-144e89a09874f912c7a5e8d4895facd616a65921.tar.gz ppe42-gcc-144e89a09874f912c7a5e8d4895facd616a65921.zip | |
Do not use two warnings when one will do
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42323 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rwxr-xr-x | gcc/fixinc/genfixes | 18 |
2 files changed, 9 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e2e2abaada..5998040f16a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-05-19 Bruce Korb <bkorb@gnu.org> + + * fixinc/genfixes: no need for two warnings + 2001-05-19 Mark Mitchell <mark@codesourcery.com> * jump.c (jump_optimize_1): Tidy. diff --git a/gcc/fixinc/genfixes b/gcc/fixinc/genfixes index d556de6a6ff..a47e091db7a 100755 --- a/gcc/fixinc/genfixes +++ b/gcc/fixinc/genfixes @@ -66,25 +66,17 @@ fi AG="autogen $AG" set -e -if [ -z "`${AG} -v | fgrep 'Ver. 5.'`" ] -then - echo "Your AutoGen is either out of date or not available" >&2 - echo "Please get AutoGen5 from ftp.gnu.org/gnu/autogen" >&2 - touch $@ - exit 0 -fi - case "$1" in fixincl.x | */fixincl.x ) - if (${AG} --help > /dev/null 2>&1) + if [ -z "`${AG} -v | fgrep 'Ver. 5.'`" ] then - echo AutoGen-ing fixincl.x - $AG inclhack.def - else - echo "AutoGen does not appear to be correctly installed." + 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" touch fixincl.x + else + echo AutoGen-ing fixincl.x + $AG inclhack.def fi ;; |

