diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-09-01 00:43:07 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-09-01 00:43:07 +0000 |
commit | 12dacd860314add1f8fa97c4fa969b854bc5a866 (patch) | |
tree | 7e8c9863ea855bb132b22e620c892dba6787a356 /gcc/fixproto | |
parent | 1ea2ef6cad6e27dcd8c9e29f937c910571366fc3 (diff) | |
download | gcc-12dacd860314add1f8fa97c4fa969b854bc5a866.tar.gz |
* fixproto: Define FIX_HEADER (needed by Aug 19 change).
Use FIX_HEADER instead of $original_dir/fix-header (twice).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8011 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-x | gcc/fixproto | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fixproto b/gcc/fixproto index bb626191a91..de3ce1ae8c6 100755 --- a/gcc/fixproto +++ b/gcc/fixproto @@ -57,6 +57,7 @@ progname=$0 progname=`basename $progname` original_dir=`pwd` CPP=${CPP-./cpp} +FIX_HEADER=${FIX_HEADER-$original_dir/fix-header} DEFINES="-D__STDC__=0 -D__cplusplus ${FIXPROTO_DEFINES}" if [ `echo $1 | wc -w` = 0 ] ; then @@ -320,7 +321,7 @@ for code in ALL STD ; do done if ${CPP} ${DEFINES} $include_path fixtmp.c >fixtmp.i 2>/dev/null then - $original_dir/fix-header $rel_source_file $abs_source_file $abs_target_file "$required_list" <fixtmp.i + $FIX_HEADER $rel_source_file $abs_source_file $abs_target_file "$required_list" <fixtmp.i else echo "${progname}: cpp could not parse ${abs_source_file} (ignored)" fi |