Install gsyslimits.h if native limits.h didn't need fixing.

From-SVN: r6026
This commit is contained in:
Noah Friedman 1993-11-06 04:01:28 -05:00
parent 4f4778af07
commit 7d454f0347
1 changed files with 3 additions and 1 deletions

View File

@ -21,9 +21,11 @@ $installed/fixinc.svr4 $installed/include /usr/include $installed
# Make sure fixed native limits.h gets renamed to syslimits.h before gcc's
# limits.h from tmpfoo is moved back.
rm -f syslimits.h
if test -f limits.h ; then
rm -f syslimits.h
mv limits.h syslimits.h
else
cp $installed/gsyslimits.h syslimits.h
fi
chmod a+r syslimits.h