diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-04-17 14:40:03 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-04-17 14:40:03 +0000 |
commit | 01b2995f8b4d98aaf321f532ca9803d034d8cca4 (patch) | |
tree | bd94192e8a7f679387af225250521e5406eb2217 /gcc/fixproto | |
parent | 2ce6dc2f6aa48acf42384a35e3ccc565c0677699 (diff) | |
download | gcc-01b2995f8b4d98aaf321f532ca9803d034d8cca4.tar.gz |
Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
* Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
* fixproto: If fix-header fails, exit with an error.
From-SVN: r33208
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-x | gcc/fixproto | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/fixproto b/gcc/fixproto index 9e022113ea0..c2c82552a4b 100755 --- a/gcc/fixproto +++ b/gcc/fixproto @@ -264,6 +264,7 @@ for code in ALL STD ; do then true else $FIX_HEADER $rel_source_file $abs_source_file $abs_target_file ${DEFINES} $include_path + if test $? != 0 ; then exit 1 ; fi echo "${rel_source_file}" >>fixproto.list fi done @@ -299,6 +300,7 @@ EOF #endif /* __${rel_source_ident} */ EOF ${FIX_HEADER} $rel_source_file tmp.h $abs_target_dir/$rel_source_file ${DEFINES} $include_path + if test $? != 0 ; then exit 1 ; fi rm tmp.h fi done |