Commit 36ad4915 by Richard Stallman

(install-common-headers): Use __eprintf as indicator for GCC's assert.h.

From-SVN: r2310
parent 9fcedbef
...@@ -1486,7 +1486,9 @@ install-common-headers: install-dir $(USER_H) gvarargs.h gstdarg.h gstddef.h ...@@ -1486,7 +1486,9 @@ install-common-headers: install-dir $(USER_H) gvarargs.h gstdarg.h gstddef.h
$(INSTALL_DATA) `basename $$file` $$shelllibsubdir/include/`basename $$file`; \ $(INSTALL_DATA) `basename $$file` $$shelllibsubdir/include/`basename $$file`; \
chmod a-x $$shelllibsubdir/include/`basename $$file`; \ chmod a-x $$shelllibsubdir/include/`basename $$file`; \
done done
if [ -f $(includedir)/assert.h ] && ! grep "This is GCC's version of assert.h." $(includedir)/assert.h; \ # Put assert.h in /usr/local/include, so it won't override GNU libc's assert.h.
# Don't replace the assert.h already there if it is not from GCC.
if [ -f $(includedir)/assert.h ] && ! grep "__eprintf" $(includedir)/assert.h; \
then true; \ then true; \
else \ else \
rm -f $(includedir)/assert.h; \ rm -f $(includedir)/assert.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