(LIMITS_H): Deleted.
authorRichard Stallman <rms@gnu.org>
Fri, 31 Jul 1992 06:33:59 +0000 (06:33 +0000)
committerRichard Stallman <rms@gnu.org>
Fri, 31 Jul 1992 06:33:59 +0000 (06:33 +0000)
(install-limits-h): Use glimits.h, not limits.h.

From-SVN: r1729

gcc/Makefile.in

index 596e6e9f7abde07697ef26206e831673cb02c4ec..bd5f830d59bbba56ac53d7e9801cda14ffe21d95 100644 (file)
@@ -219,13 +219,6 @@ GCC_PASSES=xgcc cc1 cpp $(EXTRA_PASSES)
 # to link anything.
 GCC_PARTS=$(GCC_PASSES) libgcc.a $(EXTRA_PROGRAMS) $(USE_COLLECT2) $(EXTRA_PARTS)
 
-# Change this to empty to prevent installing limits.h.
-# Actually, this currently has no effect,
-# and if that causes no problems, it can be deleted.
-# Otherwise, it must be replaced so as to control
-# the actions of install-limits-h.
-LIMITS_H = limits.h
-
 # Directory to link to, when using the target `maketest'.
 DIR = ../gcc
 
@@ -1446,12 +1439,12 @@ install-float-h: float.h install-dir
        chmod a-x $(libsubdir)/include/float.h
 
 # Install limits.h, optionally inheriting from the standard system version.
-install-limits-h: limits.h limitx.h install-dir
+install-limits-h: glimits.h limitx.h install-dir
        -rm -f $(libsubdir)/include/limits.h tmp-limits.h
        if [ -f /usr/include/limits.h ] ; then \
-         cat $(srcdir)/limitx.h $(srcdir)/limits.h $(srcdir)/limity.h > tmp-limits.h; \
+         cat $(srcdir)/limitx.h $(srcdir)/glimits.h $(srcdir)/limity.h > tmp-limits.h; \
        else \
-         cat $(srcdir)/limits.h > tmp-limits.h; \
+         cat $(srcdir)/glimits.h > tmp-limits.h; \
        fi
        $(INSTALL_DATA) tmp-limits.h $(libsubdir)/include/limits.h
        chmod a-x $(libsubdir)/include/limits.h