alloca-norm.h (alloca, GCC case): Don't redefine alloca if it was alr eady defined...
authorJeff Law <law@gcc.gnu.org>
Sun, 22 Feb 1998 16:46:27 +0000 (09:46 -0700)
committerJeff Law <law@gcc.gnu.org>
Sun, 22 Feb 1998 16:46:27 +0000 (09:46 -0700)
        * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
        was alr eady defined previously.
        * Makefile.in (INSTALL): Use ../install-sh, not install.

From-SVN: r18170

libiberty/ChangeLog
libiberty/Makefile.in
libiberty/alloca-norm.h

index c35a1689e5391d920ba80fabca574932bb9bb449..43fe6dd7a96fee7737254ddd16e1629385e3de6a 100644 (file)
@@ -36,6 +36,15 @@ Thu Dec  4 17:25:19 1997  Jeffrey A Law  (law@cygnus.com)
 
        * strsignal.c (sys_nsig): Try NSIG and _NSIG.
 
+Wed Nov 19 13:37:06 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
+       was alr eady defined previously.
+
+Mon Nov 10 12:48:03 1997  Philippe De Muyter  <phdm@macqel.be>
+
+       * Makefile.in (INSTALL): Use ../install-sh, not install.
+
 Tue Oct 28 23:41:15 1997  Judy Goldberg  <jodyg@idt.net>
 
        * Makefile.in (CFILES): Add pexecute.c.
index 71d02a3e5f719eee60b224c4016bf105571ed5a5..b68d1f5f953083fa6d4316a7569b10ea4bd9b4f5 100644 (file)
@@ -59,7 +59,7 @@ MULTISUBDIR =
 MULTIDO = true
 MULTICLEAN = true
 
-INSTALL = install -c
+INSTALL = $(SHELL) $(srcdir)/../install-sh -c
 INSTALL_PROGRAM = $(INSTALL)
 INSTALL_DATA = $(INSTALL)
 
index 394a65332777922278ffbb235e7df2ed77d8aad5..bda4fc049adfe421dc66f21cc546ae696fbcae48 100644 (file)
@@ -1,7 +1,9 @@
 /* "Normal" configuration for alloca.  */
 
 #ifdef __GNUC__
+#ifndef alloca
 #define alloca __builtin_alloca
+#endif
 #else /* ! defined (__GNUC__) */
 #if defined (sparc) && defined (sun)
 #include <alloca.h>