Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
AC_FUNC_ALLOCA should never define a prototype on the BSDs. Bump revi…
…sion.
- Loading branch information
Showing
3 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| $NetBSD: distinfo,v 1.23 2010/07/24 20:46:16 tron Exp $ | ||
| $NetBSD: distinfo,v 1.24 2010/07/29 15:49:36 joerg Exp $ | ||
|
|
||
| SHA1 (autoconf-2.65.tar.gz) = ae9e1ab046822007f25c88e1d8f2166e065da8c2 | ||
| RMD160 (autoconf-2.65.tar.gz) = 67cf709b61290b47255ccdb2c3113bcd04c42ecd | ||
| Size (autoconf-2.65.tar.gz) = 1738880 bytes | ||
| SHA1 (patch-aa) = 481aec3f9d8c4b523ff27db50fccf6d219f36ffe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| $NetBSD: patch-aa,v 1.11 2010/07/29 15:49:36 joerg Exp $ | ||
|
|
||
| Do not fall through to the implicit prototype as it conflicts with | ||
| stdlib.h. | ||
|
|
||
| --- lib/autoconf/functions.m4.orig 2010-07-29 15:21:52.000000000 +0000 | ||
| +++ lib/autoconf/functions.m4 | ||
| @@ -369,6 +369,8 @@ AC_CACHE_CHECK([for alloca], ac_cv_func_ | ||
| # ifdef _MSC_VER | ||
| # include <malloc.h> | ||
| # define alloca _alloca | ||
| +# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) | ||
| +# include <stdlib.h> | ||
| # else | ||
| # ifdef HAVE_ALLOCA_H | ||
| # include <alloca.h> |