mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-19 05:54:01 +08:00
fixproto: Correctly install synthesised unistd.h and stdlib.h when they didn't need fixing.
* fixproto: Correctly install synthesised unistd.h and stdlib.h when they didn't need fixing. From-SVN: r39304
This commit is contained in:
parent
70305f2b94
commit
825ac70419
@ -1,3 +1,8 @@
|
||||
2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>
|
||||
|
||||
* fixproto: Correctly install synthesised unistd.h and stdlib.h when
|
||||
they didn't need fixing.
|
||||
|
||||
2001-01-27 Janis Johnson <janis@us.ibm.com>
|
||||
|
||||
* config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
|
||||
|
@ -310,7 +310,12 @@ EOF
|
||||
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
|
||||
if test -f $abs_target_dir/$rel_source_file
|
||||
then
|
||||
rm tmp.h
|
||||
else
|
||||
mv tmp.h $abs_target_dir/$rel_source_file
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user