Makefile.in (stmp-fixinc): Do not install assert.h if not desired.
authorJoel Sherrill <joel@OARcorp.com>
Wed, 14 Oct 1998 21:15:42 +0000 (15:15 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 14 Oct 1998 21:15:42 +0000 (15:15 -0600)
H
        * Makefile.in (stmp-fixinc): Do not install assert.h if not desired.
        * config/t-rtems: Do not install assert.h -- use newlib's.

From-SVN: r23096

gcc/Makefile.in
gcc/config/t-rtems

index e1b1413..fdf3ab2 100644 (file)
@@ -2045,9 +2045,12 @@ stmp-fixinc: $(FIXINCLUDES) gsyslimits.h
              $(SHELL) $(srcdir)/$(FIXINCLUDES) include $$dir; \
            else true; fi; \
          done; \
-         rm -f include/assert.h; \
-         cp $(srcdir)/assert.h include/assert.h; \
-         chmod a+r include/assert.h; \
+         if [ x$(INSTALL_ASSERT_H) != x ] ; \
+         then \
+           rm -f include/assert.h; \
+           cp $(srcdir)/assert.h include/assert.h; \
+           chmod a+r include/assert.h; \
+         fi \
        else true; \
        fi
        rm -f include/syslimits.h
index 25dd398..aa0ca66 100644 (file)
@@ -1,2 +1,6 @@
 # RTEMS uses newlib which does not require prototype fixing
 STMP_FIXPROTO =
+
+# Don't install "assert.h" in gcc.  RTEMS uses the one in newlib.
+INSTALL_ASSERT_H =
+