Commit ff852b45 by Ian Lance Taylor

Avoid problems with relative $(srcdir) when installing syslimits.h.

From-SVN: r3251
parent a2468e45
......@@ -1268,12 +1268,11 @@ stmp-headers: stmp-fixincludes $(USER_H) gvarargs.h gstdarg.h gstddef.h gsyslimi
cp $$realfile $$objdir/include; \
chmod a+r $$objdir/include/$$realfile; \
done
-cd include; \
if [ -f limits.h ]; then \
rm -f syslimits.h; \
mv limits.h syslimits.h; \
if [ -f include/limits.h ]; then \
rm -f include/syslimits.h; \
mv include/limits.h include/syslimits.h; \
else \
cp $(srcdir)/gsyslimits.h syslimits.h; \
cp $(srcdir)/gsyslimits.h include/syslimits.h; \
fi
chmod a+r include/syslimits.h
cp $(srcdir)/gvarargs.h include/varargs.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment