Commit c3226462 by Bruce Korb Committed by Bruce Korb

Do not use two warnings when one will do

From-SVN: r42323
parent 85b94003
2001-05-19 Bruce Korb <bkorb@gnu.org>
* fixinc/genfixes: no need for two warnings
2001-05-19 Mark Mitchell <mark@codesourcery.com> 2001-05-19 Mark Mitchell <mark@codesourcery.com>
* jump.c (jump_optimize_1): Tidy. * jump.c (jump_optimize_1): Tidy.
......
...@@ -66,25 +66,17 @@ fi ...@@ -66,25 +66,17 @@ fi
AG="autogen $AG" AG="autogen $AG"
set -e 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 case "$1" in
fixincl.x | */fixincl.x ) fixincl.x | */fixincl.x )
if (${AG} --help > /dev/null 2>&1) if [ -z "`${AG} -v | fgrep 'Ver. 5.'`" ]
then then
echo AutoGen-ing fixincl.x echo "AutoGen appears to be out of date or not correctly installed."
$AG inclhack.def
else
echo "AutoGen does not appear to be correctly installed."
echo "Please download and install:" echo "Please download and install:"
echo " ftp://gcc.gnu.org/pub/gcc/infrastructure/autogen.tar.gz" echo " ftp://gcc.gnu.org/pub/gcc/infrastructure/autogen.tar.gz"
touch fixincl.x touch fixincl.x
else
echo AutoGen-ing fixincl.x
$AG inclhack.def
fi fi
;; ;;
......
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