changeset 9194:791410dc2781

Simplify the malloc/realloc/calloc macrology.
author Bruno Haible <bruno@clisp.org>
date Sun, 09 Sep 2007 13:19:42 +0000
parents 8ef947a6a9e0
children 70c7e1dd8d79
files ChangeLog modules/calloc-posix modules/realloc-posix
diffstat 3 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Sep 09 13:07:55 2007 +0000
+++ b/ChangeLog	Sun Sep 09 13:19:42 2007 +0000
@@ -1,3 +1,12 @@
+2007-09-09  Bruno Haible  <bruno@clisp.org>
+
+	* m4/malloc.m4 (gl_CHECK_MALLOC_POSIX): New macro.
+	(gl_FUNC_MALLOC_POSIX): Require it.
+	* m4/realloc.m4 (gl_FUNC_REALLOC_POSIX): Likewise.
+	* m4/calloc.m4 (gl_FUNC_CALLOC_POSIX): Likewise.
+	* modules/realloc (Files): Add m4/malloc.m4.
+	* modules/calloc (Files): Likewise.
+
 2007-09-09  Bruno Haible  <bruno@clisp.org>
 
 	* modules/malloc-posix: New file.
--- a/modules/calloc-posix	Sun Sep 09 13:07:55 2007 +0000
+++ b/modules/calloc-posix	Sun Sep 09 13:19:42 2007 +0000
@@ -4,6 +4,7 @@
 Files:
 lib/calloc.c
 m4/calloc.m4
+m4/malloc.m4
 
 Depends-on:
 stdlib
--- a/modules/realloc-posix	Sun Sep 09 13:07:55 2007 +0000
+++ b/modules/realloc-posix	Sun Sep 09 13:19:42 2007 +0000
@@ -4,6 +4,7 @@
 Files:
 lib/realloc.c
 m4/realloc.m4
+m4/malloc.m4
 
 Depends-on:
 stdlib