diff options
author | Bruce Korb <bkorb@gnu.org> | 2000-05-08 13:06:47 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 2000-05-08 13:06:47 +0000 |
commit | e89c8502db3519ac2e2d4e10f645e792c4fd5240 (patch) | |
tree | f3006ce0e91dd66224bb7279520188dc0c4b975e /gcc/fixinc/genfixes | |
parent | 4615e15d98c9535640187a85442ddbb8cc0259b8 (diff) | |
download | gcc-e89c8502db3519ac2e2d4e10f645e792c4fd5240.zip gcc-e89c8502db3519ac2e2d4e10f645e792c4fd5240.tar.gz gcc-e89c8502db3519ac2e2d4e10f645e792c4fd5240.tar.bz2 |
code generation reduction & sco script removal
From-SVN: r33766
Diffstat (limited to 'gcc/fixinc/genfixes')
-rwxr-xr-x | gcc/fixinc/genfixes | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/gcc/fixinc/genfixes b/gcc/fixinc/genfixes index e9fa5ac..2a4f6cc 100755 --- a/gcc/fixinc/genfixes +++ b/gcc/fixinc/genfixes @@ -48,7 +48,7 @@ do echo "USAGE: gendefs [ -D<def-name> ... ] [ <output-name> ]" echo "WHERE: '<def-name>' specifies a #define test name from inclhack.def" echo " and '<output-name>' is one of:" - echo " inclhack.sh fixincl.x fixincl.sh machine.h" + echo " fixincl.x machine.h" echo "The default is to produce the first three outputs." exit 0 ;; @@ -60,31 +60,15 @@ do done if [ $# -eq 0 ] ; then - ${SHELL} $0 $AG inclhack.sh || exit 1 - ${SHELL} $0 $AG fixincl.x || exit 1 - ${SHELL} $0 $AG fixincl.sh || exit 1 - exit 0 + set -- fixincl.x fi AG="autogen $AG" set -e case "$1" in -inclhack.sh | */inclhack.sh ) - if (autogen --help > /dev/null 2>&1) - then - echo AutoGen-ing inclhack.sh - $AG inclhack.def - else - echo "AutoGen does not appear to be correctly installed." - echo "Please download and install:" - echo " ftp://sourceware.cygnus.com/pub/egcs/infrastructure/autogen.tar.gz" - touch inclhack.sh - fi - ;; - fixincl.x | */fixincl.x ) - if (autogen --help > /dev/null 2>&1) + if (${AG} --help > /dev/null 2>&1) then echo AutoGen-ing fixincl.x $AG -T fixincl.tpl -b fixincl inclhack.def @@ -96,19 +80,6 @@ fixincl.x | */fixincl.x ) fi ;; -fixincl.sh | */fixincl.sh ) - if (autogen --help > /dev/null 2>&1) - then - echo AutoGen-ing fixincl.sh - $AG -DPROGRAM=1 -b fixincl inclhack.def - else - echo "AutoGen does not appear to be correctly installed." - echo "Please download and install:" - echo " ftp://sourceware.cygnus.com/pub/egcs/infrastructure/autogen.tar.gz" - touch fixincl.sh - fi - ;; - machname.h | */machname.h ) # This script extracts from the specs file all the predefined macros # that are not in the C89 reserved namespace (the reserved namespace |