aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixproto
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1994-08-31 17:43:07 -0700
committerPer Bothner <bothner@gcc.gnu.org>1994-08-31 17:43:07 -0700
commit1a655ca39b582ef0a30d39d597fdee65fb162992 (patch)
tree7e8c9863ea855bb132b22e620c892dba6787a356 /gcc/fixproto
parentb5d11e41da327b7783b6a7c0a4be1a75c58aec54 (diff)
downloadgcc-1a655ca39b582ef0a30d39d597fdee65fb162992.zip
gcc-1a655ca39b582ef0a30d39d597fdee65fb162992.tar.gz
gcc-1a655ca39b582ef0a30d39d597fdee65fb162992.tar.bz2
fixproto: Define FIX_HEADER (needed by Aug 19 change).
* fixproto: Define FIX_HEADER (needed by Aug 19 change). Use FIX_HEADER instead of $original_dir/fix-header (twice). From-SVN: r8011
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-xgcc/fixproto3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fixproto b/gcc/fixproto
index bb62619..de3ce1a 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