diff options
author | merrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-06-18 21:51:42 +0000 |
---|---|---|
committer | merrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-06-18 21:51:42 +0000 |
commit | d2e33c041d2f835f99cf39a03c567cb4faefb031 (patch) | |
tree | 860f64af2e846149c542e777559eb30a386877cb /gcc/fixproto | |
parent | 2e13289c7153947427fc19b99c7f3230b38104de (diff) | |
download | gcc-d2e33c041d2f835f99cf39a03c567cb4faefb031.tar.gz |
Lose assert.h hacking
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7523 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-x | gcc/fixproto | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/fixproto b/gcc/fixproto index 4e0b50f9c50..054fd8c5905 100755 --- a/gcc/fixproto +++ b/gcc/fixproto @@ -329,30 +329,6 @@ for code in ALL STD ; do done rm -f fixtmp.c fixtmp.i done - # check for broken assert.h that needs stdio.h - if test -f $abs_source_dir/assert.h -a \! -f $abs_target_dir/assert.h; then - if grep 'stderr' $abs_source_dir/assert.h >/dev/null ; then - if grep 'include.*stdio.h' $abs_source_dir/assert.h >/dev/null ; then - true - else - echo 'Fixing broken assert.h (needs stdio.h)' - cat $abs_source_dir/assert.h >$abs_target_dir/assert.h - echo '#include <stdio.h>' >>$abs_target_dir/assert.h - fi - fi - if grep 'exit *(' $abs_source_dir/assert.h >/dev/null || - grep 'abort *(' $abs_source_dir/assert.h >/dev/null ; then - if grep 'include.*stdlib.h' $abs_source_dir/assert.h >/dev/null ; then - true - else - echo 'Fixing broken assert.h (needs stdlib.h)' - if test ! -f $abs_target_dir/assert.h ; then - cat $abs_source_dir/assert.h >$abs_target_dir/assert.h - fi - echo '#include <stdlib.h>' >>$abs_target_dir/assert.h - fi - fi - fi done_dirs="$done_dir $rel_source_dir" done |