Thread (30 messages) flat view 30 messages, 5 authors, 2016-06-15

Re: [PATCH 17/19] Portable alloca for Git

From: Thomas Schwinge <hidden>
Date: 2016-06-15 23:00:06

Hi!

On Mon, 24 Feb 2014 20:21:49 +0400, Kirill Smelkov [off-list ref] wrote:
Both autoconf and config.mak.uname configurations were updated. For
autoconf, we are not bothering considering cases, when no alloca.h is
available, but alloca() works some other way - its simply alloca.h is
available and works or not, everything else is deep legacy.
Sounds good for GNU Hurd, or any system using glibc (but have not
explicitly tested your patch).
For config.mak.uname, I've tried to make my almost-sure guess for where
alloca() is available, but since I only have access to Linux it is the
only change I can be sure about myself, with relevant to other changed
systems people Cc'ed.
quoted hunk ↗ jump to hunk
diff --git a/config.mak.uname b/config.mak.uname
index 7d31fad..71602ee 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -239,6 +243,7 @@ ifeq ($(uname_S),AIX)
 endif
 ifeq ($(uname_S),GNU)
 	# GNU/Hurd
+	HAVE_ALLOCA_H = YesPlease
 	NO_STRLCPY = YesPlease
 	NO_MKSTEMPS = YesPlease
 	HAVE_PATHS_H = YesPlease
Acked-by: Thomas Schwinge <redacted> (GNU Hurd changes)


Grüße,
 Thomas

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help