From 8b715b2abcb3991955cb800e07144f6d6b7c6595 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 22 Feb 1998 09:46:27 -0700 Subject: [PATCH] alloca-norm.h (alloca, GCC case): Don't redefine alloca if it was alr eady defined previously. * 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 | 9 +++++++++ libiberty/Makefile.in | 2 +- libiberty/alloca-norm.h | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index c35a1689e53..43fe6dd7a96 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -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 + + * 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 + + * Makefile.in (INSTALL): Use ../install-sh, not install. + Tue Oct 28 23:41:15 1997 Judy Goldberg * Makefile.in (CFILES): Add pexecute.c. diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 71d02a3e5f7..b68d1f5f953 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -59,7 +59,7 @@ MULTISUBDIR = MULTIDO = true MULTICLEAN = true -INSTALL = install -c +INSTALL = $(SHELL) $(srcdir)/../install-sh -c INSTALL_PROGRAM = $(INSTALL) INSTALL_DATA = $(INSTALL) diff --git a/libiberty/alloca-norm.h b/libiberty/alloca-norm.h index 394a6533277..bda4fc049ad 100644 --- a/libiberty/alloca-norm.h +++ b/libiberty/alloca-norm.h @@ -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 -- 2.30.2