[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Autoconf source repository branch, master, updated. v2.67-14-g
From: |
Eric Blake |
Subject: |
[SCM] GNU Autoconf source repository branch, master, updated. v2.67-14-g08b6974 |
Date: |
Thu, 05 Aug 2010 21:02:43 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".
http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=08b6974837c2d042a6d86f77e2300e423d952930
The branch, master has been updated
via 08b6974837c2d042a6d86f77e2300e423d952930 (commit)
from c40eb4bc723e3b0131f0d05d86484d358ab0dd7e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 08b6974837c2d042a6d86f77e2300e423d952930
Author: Bruno Haible <address@hidden>
Date: Thu Aug 5 13:26:40 2010 +0200
AC_FUNC_ALLOCA: modernize
* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Assume that alloca's
return type is 'void *', not 'char *'. Supply C89 prototype.
Reported by Thomas Klausner.
Signed-off-by: Eric Blake <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
lib/autoconf/functions.m4 | 3 ++-
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9ea06cb..3a998af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-08-05 Bruno Haible <address@hidden>
+ and Eric Blake <address@hidden>
+
+ AC_FUNC_ALLOCA: modernize
+ * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Assume that alloca's
+ return type is 'void *', not 'char *'. Supply C89 prototype.
+ Reported by Thomas Klausner.
+
2010-08-04 Ralf Wildenhues <address@hidden>
Fix testsuite failure due to bugs in third-party aclocal macros.
diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4
index d5da206..576de02 100644
--- a/lib/autoconf/functions.m4
+++ b/lib/autoconf/functions.m4
@@ -357,6 +357,7 @@ AC_DEFINE_UNQUOTED(STACK_DIRECTION,
$ac_cv_c_stack_direction)
AN_FUNCTION([alloca], [AC_FUNC_ALLOCA])
AN_HEADER([alloca.h], [AC_FUNC_ALLOCA])
AC_DEFUN([AC_FUNC_ALLOCA],
+[AC_REQUIRE([AC_TYPE_SIZE_T])]dnl
[# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
AC_CACHE_CHECK([for working alloca.h], ac_cv_working_alloca_h,
@@ -388,7 +389,7 @@ AC_CACHE_CHECK([for alloca], ac_cv_func_alloca_works,
#pragma alloca
# else
# ifndef alloca /* predefined by HP cc +Olibcalls */
-char *alloca ();
+void *alloca (size_t);
# endif
# endif
# endif
hooks/post-receive
--
GNU Autoconf source repository
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Autoconf source repository branch, master, updated. v2.67-14-g08b6974,
Eric Blake <=